Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .github/workflows/example-screenshots-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Example screenshots PR

# rnmapbox/maps force-pushes this branch from its nightly doc screenshot capture, with a
# deploy key that can't open PRs.
on:
push:
branches:
- test/auto-example-screenshots

permissions:
contents: read
pull-requests: write

concurrency:
group: example-screenshots-pr

jobs:
pr:
name: Open or update the example screenshots PR
runs-on: ubuntu-latest
steps:
- name: Open or update the PR
env:
GH_TOKEN: ${{ github.token }}
GH_REPO: ${{ github.repository }}
BRANCH: ${{ github.ref_name }}
MESSAGE: ${{ github.event.head_commit.message }}
run: |
TITLE=$(printf '%s\n' "$MESSAGE" | head -n 1)
{
echo "Example screenshots from the nightly capture in rnmapbox/maps that differ from main. This branch is rebuilt on top of main every night; the example pages use merged screenshots after the next docs update from rnmapbox/maps."
printf '%s\n' "$MESSAGE" | tail -n +2
} > "$RUNNER_TEMP/body.md"
PR=$(gh pr list --head "$BRANCH" --base main --state open --json number --jq '.[0].number')
if [ -n "$PR" ]; then
gh pr edit "$PR" --title "$TITLE" --body-file "$RUNNER_TEMP/body.md"
else
gh pr create --head "$BRANCH" --base main --title "$TITLE" --body-file "$RUNNER_TEMP/body.md"
fi
Binary file modified examples-screenshots/Annotations/CustomCallout.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples-screenshots/Annotations/Heatmap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples-screenshots/Annotations/MarkerView.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples-screenshots/Annotations/PointAnnotationAnchors.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples-screenshots/Annotations/ShowPointAnnotation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples-screenshots/CacheOffline/CacheManagement.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples-screenshots/CacheOffline/CreateOfflineRegion.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples-screenshots/CacheOffline/OfflineExample.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples-screenshots/CacheOffline/OfflineTilesets.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples-screenshots/Camera/Fit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples-screenshots/Camera/FlyTo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples-screenshots/Camera/GetCenter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples-screenshots/FillRasterLayer/CustomVectorSource.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples-screenshots/FillRasterLayer/GeoJSONSource.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples-screenshots/FillRasterLayer/ImageOverlay.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples-screenshots/FillRasterLayer/IndoorBuilding.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples-screenshots/FillRasterLayer/QueryAtPoint.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples-screenshots/FillRasterLayer/QuerySourceFeatures.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples-screenshots/FillRasterLayer/QueryWithRect.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples-screenshots/FillRasterLayer/RasterSource.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples-screenshots/FillRasterLayer/WatercolorRasterTiles.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified examples-screenshots/LineLayer/DrawPolyline.png
Binary file modified examples-screenshots/LineLayer/GradientLine.png
Binary file modified examples-screenshots/LineLayer/ThirdPartyVectorSource.png
Binary file modified examples-screenshots/Map/ChangeLayerColor.png
Binary file removed examples-screenshots/Map/CreateOfflineRegion.png
Diff not rendered.
Binary file modified examples-screenshots/Map/DynamicUrl.png
Binary file modified examples-screenshots/Map/LocalizeLabels.png
Binary file modified examples-screenshots/Map/MapAndRNNavigation.png
Binary file modified examples-screenshots/Map/MapFps.png
Binary file modified examples-screenshots/Map/MapUnMount.png
Binary file removed examples-screenshots/Map/OfflineExample.png
Diff not rendered.
Binary file modified examples-screenshots/Map/Ornaments.png
Binary file modified examples-screenshots/Map/PointInMapView.png
Binary file added examples-screenshots/Map/ScreenCoordinates.png
Binary file added examples-screenshots/Map/SetLanguage.png
Binary file modified examples-screenshots/Map/ShowAndHideLayer.png
Binary file modified examples-screenshots/Map/ShowClick.png
Binary file modified examples-screenshots/Map/ShowMap.png
Binary file modified examples-screenshots/Map/ShowMapLocalStyle.png
Binary file modified examples-screenshots/Map/ShowRegionDidChange.png
Binary file modified examples-screenshots/Map/SourceLayerVisibility.png
Binary file modified examples-screenshots/Map/StyleJson.png
Binary file added examples-screenshots/Map/TransparentMap.png
Binary file modified examples-screenshots/Map/TwoByTwo.png
Binary file modified examples-screenshots/SymbolCircleLayer/CustomIcon.png
Binary file modified examples-screenshots/SymbolCircleLayer/Earthquakes.png
Binary file modified examples-screenshots/SymbolCircleLayer/ScalableImages.png
Binary file modified examples-screenshots/SymbolCircleLayer/ShapeSourceIcon.png
Binary file modified examples-screenshots/UserLocation/CustomNativeUserLocation.png
Binary file modified examples-screenshots/UserLocation/SetDisplacement.png
Binary file modified examples-screenshots/UserLocation/SetTintColor.png
Binary file modified examples-screenshots/UserLocation/UserLocationPadding.png
Binary file modified examples-screenshots/UserLocation/UserLocationRenderMode.png
Binary file modified examples-screenshots/UserLocation/UserLocationUpdates.png
Binary file modified examples-screenshots/V10/CameraAnimation.png
Binary file modified examples-screenshots/V10/FeatureState.png
Binary file modified examples-screenshots/V10/GlobeProjection.png
Binary file modified examples-screenshots/V10/MapHandlers.png
Binary file modified examples-screenshots/V10/Markers.png
Binary file modified examples-screenshots/V10/QueryTerrainElevation.png
Binary file modified examples-screenshots/V10/SimpleModelLayer.png
Binary file modified examples-screenshots/V10/TerrainSkyAtmosphere.png
2 changes: 1 addition & 1 deletion examples-screenshots/screenshots.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"CacheOffline":{"CacheManagement":{"images":["examples-screenshots/CacheOffline/CacheManagement.png"]},"CreateOfflineRegion":{"images":["examples-screenshots/CacheOffline/CreateOfflineRegion.png"]},"OfflineExample":{"images":["examples-screenshots/CacheOffline/OfflineExample.png"]},"OfflineTilesets":{"images":["examples-screenshots/CacheOffline/OfflineTilesets.png"]}},"SymbolCircleLayer":{"CustomIcon":{"images":["examples-screenshots/SymbolCircleLayer/CustomIcon.png"]},"CustomIconNativeAsset":{"images":["examples-screenshots/SymbolCircleLayer/CustomIconNativeAsset.png"]},"DataDrivenCircleColors":{"images":["examples-screenshots/SymbolCircleLayer/DataDrivenCircleColors.png"]},"Earthquakes":{"images":["examples-screenshots/SymbolCircleLayer/Earthquakes.png"]},"ScalableImages":{"images":["examples-screenshots/SymbolCircleLayer/ScalableImages.png"]},"ShapeSourceIcon":{"images":["examples-screenshots/SymbolCircleLayer/ShapeSourceIcon.png"]}},"UserLocation":{"CustomNativeUserLocation":{"images":["examples-screenshots/UserLocation/CustomNativeUserLocation.png"]},"SetDisplacement":{"images":["examples-screenshots/UserLocation/SetDisplacement.png"]},"UserLocationPadding":{"images":["examples-screenshots/UserLocation/UserLocationPadding.png"]},"UserLocationRenderMode":{"images":["examples-screenshots/UserLocation/UserLocationRenderMode.png"]},"UserLocationUpdates":{"images":["examples-screenshots/UserLocation/UserLocationUpdates.png"]}},"Map":{"ChangeLayerColor":{"images":["examples-screenshots/Map/ChangeLayerColor.png"]},"DynamicUrl":{"images":["examples-screenshots/Map/DynamicUrl.png"]},"LocalizeLabels":{"images":["examples-screenshots/Map/LocalizeLabels.png"]},"MapAndRNNavigation":{"images":["examples-screenshots/Map/MapAndRNNavigation.png"]},"MapFps":{"images":["examples-screenshots/Map/MapFps.png"]},"MapUnMount":{"images":["examples-screenshots/Map/MapUnMount.png"]},"Ornaments":{"images":["examples-screenshots/Map/Ornaments.png"]},"PointInMapView":{"images":["examples-screenshots/Map/PointInMapView.png"]},"ShowAndHideLayer":{"images":["examples-screenshots/Map/ShowAndHideLayer.png"]},"ShowClick":{"images":["examples-screenshots/Map/ShowClick.png"]},"ShowMap":{"images":["examples-screenshots/Map/ShowMap.png"]},"ShowMapLocalStyle":{"images":["examples-screenshots/Map/ShowMapLocalStyle.png"]},"ShowRegionDidChange":{"images":["examples-screenshots/Map/ShowRegionDidChange.png"]},"SourceLayerVisibility":{"images":["examples-screenshots/Map/SourceLayerVisibility.png"]},"StyleJson":{"images":["examples-screenshots/Map/StyleJson.png"]},"TwoByTwo":{"images":["examples-screenshots/Map/TwoByTwo.png"]}},"V10":{"CameraAnimation":{"images":["examples-screenshots/V10/CameraAnimation.png"]},"FeatureState":{"images":["examples-screenshots/V10/FeatureState.png"]},"GlobeProjection":{"images":["examples-screenshots/V10/GlobeProjection.png"]},"MapHandlers":{"images":["examples-screenshots/V10/MapHandlers.png"]},"Markers":{"images":["examples-screenshots/V10/Markers.png"]},"QueryTerrainElevation":{"images":["examples-screenshots/V10/QueryTerrainElevation.png"]},"SimpleModelLayer":{"images":["examples-screenshots/V10/SimpleModelLayer.png"]},"TerrainSkyAtmosphere":{"images":["examples-screenshots/V10/TerrainSkyAtmosphere.png"]}},"Annotations":{"CustomCallout":{"images":["examples-screenshots/Annotations/CustomCallout.png"]},"Heatmap":{"images":["examples-screenshots/Annotations/Heatmap.png"]},"MarkerView":{"images":["examples-screenshots/Annotations/MarkerView.png"]},"PointAnnotationAnchors":{"images":["examples-screenshots/Annotations/PointAnnotationAnchors.png"]},"ShowPointAnnotation":{"images":["examples-screenshots/Annotations/ShowPointAnnotation.png"]}},"FillRasterLayer":{"ChoroplethLayerByZoomLevel":{"images":["examples-screenshots/FillRasterLayer/ChoroplethLayerByZoomLevel.png"]},"CustomVectorSource":{"images":["examples-screenshots/FillRasterLayer/CustomVectorSource.png"]},"GeoJSONSource":{"images":["examples-screenshots/FillRasterLayer/GeoJSONSource.png"]},"IndoorBuilding":{"images":["examples-screenshots/FillRasterLayer/IndoorBuilding.png"]},"QueryAtPoint":{"images":["examples-screenshots/FillRasterLayer/QueryAtPoint.png"]},"QuerySourceFeatures":{"images":["examples-screenshots/FillRasterLayer/QuerySourceFeatures.png"]},"QueryWithRect":{"images":["examples-screenshots/FillRasterLayer/QueryWithRect.png"]},"RasterSource":{"images":["examples-screenshots/FillRasterLayer/RasterSource.png"]},"WatercolorRasterTiles":{"images":["examples-screenshots/FillRasterLayer/WatercolorRasterTiles.png"]}},"LineLayer":{"DrawPolyline":{"images":["examples-screenshots/LineLayer/DrawPolyline.png"]},"GradientLine":{"images":["examples-screenshots/LineLayer/GradientLine.png"]},"ThirdPartyVectorSource":{"images":["examples-screenshots/LineLayer/ThirdPartyVectorSource.png"]}},"Camera":{"Fit":{"images":["examples-screenshots/Camera/Fit.png"]},"FlyTo":{"images":["examples-screenshots/Camera/FlyTo.png"]},"GetCenter":{"images":["examples-screenshots/Camera/GetCenter.png"]},"GetZoom":{"images":["examples-screenshots/Camera/GetZoom.png"]}}}
{"CacheOffline":{"CacheManagement":{"images":["examples-screenshots/CacheOffline/CacheManagement.png"]},"CreateOfflineRegion":{"images":["examples-screenshots/CacheOffline/CreateOfflineRegion.png"]},"OfflineExample":{"images":["examples-screenshots/CacheOffline/OfflineExample.png"]},"OfflineTilesets":{"images":["examples-screenshots/CacheOffline/OfflineTilesets.png"]}},"SymbolCircleLayer":{"CustomIcon":{"images":["examples-screenshots/SymbolCircleLayer/CustomIcon.png"]},"CustomIconNativeAsset":{"images":["examples-screenshots/SymbolCircleLayer/CustomIconNativeAsset.png"]},"DataDrivenCircleColors":{"images":["examples-screenshots/SymbolCircleLayer/DataDrivenCircleColors.png"]},"Earthquakes":{"images":["examples-screenshots/SymbolCircleLayer/Earthquakes.png"]},"ScalableImages":{"images":["examples-screenshots/SymbolCircleLayer/ScalableImages.png"]},"ShapeSourceIcon":{"images":["examples-screenshots/SymbolCircleLayer/ShapeSourceIcon.png"]}},"UserLocation":{"CustomNativeUserLocation":{"images":["examples-screenshots/UserLocation/CustomNativeUserLocation.png"]},"SetDisplacement":{"images":["examples-screenshots/UserLocation/SetDisplacement.png"]},"UserLocationPadding":{"images":["examples-screenshots/UserLocation/UserLocationPadding.png"]},"UserLocationRenderMode":{"images":["examples-screenshots/UserLocation/UserLocationRenderMode.png"]},"UserLocationUpdates":{"images":["examples-screenshots/UserLocation/UserLocationUpdates.png"]},"LocationPuck3D":{"images":["examples-screenshots/UserLocation/LocationPuck3D.png"]},"SetTintColor":{"images":["examples-screenshots/UserLocation/SetTintColor.png"]}},"Map":{"ChangeLayerColor":{"images":["examples-screenshots/Map/ChangeLayerColor.png"]},"DynamicUrl":{"images":["examples-screenshots/Map/DynamicUrl.png"]},"LocalizeLabels":{"images":["examples-screenshots/Map/LocalizeLabels.png"]},"MapAndRNNavigation":{"images":["examples-screenshots/Map/MapAndRNNavigation.png"]},"MapFps":{"images":["examples-screenshots/Map/MapFps.png"]},"MapUnMount":{"images":["examples-screenshots/Map/MapUnMount.png"]},"Ornaments":{"images":["examples-screenshots/Map/Ornaments.png"]},"PointInMapView":{"images":["examples-screenshots/Map/PointInMapView.png"]},"ShowAndHideLayer":{"images":["examples-screenshots/Map/ShowAndHideLayer.png"]},"ShowClick":{"images":["examples-screenshots/Map/ShowClick.png"]},"ShowMap":{"images":["examples-screenshots/Map/ShowMap.png"]},"ShowMapLocalStyle":{"images":["examples-screenshots/Map/ShowMapLocalStyle.png"]},"ShowRegionDidChange":{"images":["examples-screenshots/Map/ShowRegionDidChange.png"]},"SourceLayerVisibility":{"images":["examples-screenshots/Map/SourceLayerVisibility.png"]},"StyleJson":{"images":["examples-screenshots/Map/StyleJson.png"]},"TwoByTwo":{"images":["examples-screenshots/Map/TwoByTwo.png"]},"CameraGestureObserver":{"images":["examples-screenshots/Map/CameraGestureObserver.png"]},"ScreenCoordinates":{"images":["examples-screenshots/Map/ScreenCoordinates.png"]},"SetLanguage":{"images":["examples-screenshots/Map/SetLanguage.png"]},"TransparentMap":{"images":["examples-screenshots/Map/TransparentMap.png"]}},"V10":{"CameraAnimation":{"images":["examples-screenshots/V10/CameraAnimation.png"]},"FeatureState":{"images":["examples-screenshots/V10/FeatureState.png"]},"GlobeProjection":{"images":["examples-screenshots/V10/GlobeProjection.png"]},"MapHandlers":{"images":["examples-screenshots/V10/MapHandlers.png"]},"Markers":{"images":["examples-screenshots/V10/Markers.png"]},"QueryTerrainElevation":{"images":["examples-screenshots/V10/QueryTerrainElevation.png"]},"SimpleModelLayer":{"images":["examples-screenshots/V10/SimpleModelLayer.png"]},"TerrainSkyAtmosphere":{"images":["examples-screenshots/V10/TerrainSkyAtmosphere.png"]}},"Annotations":{"CustomCallout":{"images":["examples-screenshots/Annotations/CustomCallout.png"]},"Heatmap":{"images":["examples-screenshots/Annotations/Heatmap.png"]},"MarkerView":{"images":["examples-screenshots/Annotations/MarkerView.png"]},"PointAnnotationAnchors":{"images":["examples-screenshots/Annotations/PointAnnotationAnchors.png"]},"ShowPointAnnotation":{"images":["examples-screenshots/Annotations/ShowPointAnnotation.png"]},"PointAnnotationManagerMultiple":{"images":["examples-screenshots/Annotations/PointAnnotationManagerMultiple.png"]},"PointAnnotationManagerSlot":{"images":["examples-screenshots/Annotations/PointAnnotationManagerSlot.png"]}},"FillRasterLayer":{"ChoroplethLayerByZoomLevel":{"images":["examples-screenshots/FillRasterLayer/ChoroplethLayerByZoomLevel.png"]},"CustomVectorSource":{"images":["examples-screenshots/FillRasterLayer/CustomVectorSource.png"]},"GeoJSONSource":{"images":["examples-screenshots/FillRasterLayer/GeoJSONSource.png"]},"IndoorBuilding":{"images":["examples-screenshots/FillRasterLayer/IndoorBuilding.png"]},"QueryAtPoint":{"images":["examples-screenshots/FillRasterLayer/QueryAtPoint.png"]},"QuerySourceFeatures":{"images":["examples-screenshots/FillRasterLayer/QuerySourceFeatures.png"]},"QueryWithRect":{"images":["examples-screenshots/FillRasterLayer/QueryWithRect.png"]},"RasterSource":{"images":["examples-screenshots/FillRasterLayer/RasterSource.png"]},"WatercolorRasterTiles":{"images":["examples-screenshots/FillRasterLayer/WatercolorRasterTiles.png"]},"HillshadeSource":{"images":["examples-screenshots/FillRasterLayer/HillshadeSource.png"]},"ImageOverlay":{"images":["examples-screenshots/FillRasterLayer/ImageOverlay.png"]}},"LineLayer":{"DrawPolyline":{"images":["examples-screenshots/LineLayer/DrawPolyline.png"]},"GradientLine":{"images":["examples-screenshots/LineLayer/GradientLine.png"]},"ThirdPartyVectorSource":{"images":["examples-screenshots/LineLayer/ThirdPartyVectorSource.png"]}},"Camera":{"Fit":{"images":["examples-screenshots/Camera/Fit.png"]},"FlyTo":{"images":["examples-screenshots/Camera/FlyTo.png"]},"GetCenter":{"images":["examples-screenshots/Camera/GetCenter.png"]},"GetZoom":{"images":["examples-screenshots/Camera/GetZoom.png"]}}}
Loading