Skip to content
Merged
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
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,8 @@ yarn detox test --configuration ios.debug --debug-synchronization 500 --loglevel


```

### Docosaurus update:

1. See https://docusaurus.io/changelog/3.5.0
2. Update the version
3 changes: 3 additions & 0 deletions docs/RNMapboxMapsDownloadTokenDetails.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Please read this before using *RNMapboxMapsDownloadToken* in your expo plugin config.

`RNMapboxMapsDownloadToken`: was designed for `eas` service, where builds are
4 changes: 4 additions & 0 deletions docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,10 @@ Set `RNMapboxMapsDownloadToken` to your secret token. See the [credentials instr
Add `RNMapboxMapsDownloadToken` to the @rnmapbox/maps [config plugin](https://docs.expo.io/guides/config-plugins/) in the [`plugins`](https://docs.expo.io/versions/latest/config/app/#plugins) array of your `app.{json,config.js,config.ts}`:


:::warning
RNMapboxMapsDownloadToken is only intended for eas, and [it can cause your RNMapboxMapsDownloadToken to leak](RNMapboxMapsDownloadTokenDetails).
:::

```json
{
"expo": {
Expand Down
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.
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.
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 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 added 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 added 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.
Binary file added examples-screenshots/Camera/GetZoom.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.
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 added examples-screenshots/LineLayer/DrawPolyline.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 added examples-screenshots/LineLayer/GradientLine.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/Map/ChangeLayerColor.png
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 added examples-screenshots/Map/MapFps.png
Binary file added examples-screenshots/Map/MapUnMount.png
Binary file modified examples-screenshots/Map/Ornaments.png
Binary file modified examples-screenshots/Map/PointInMapView.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 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/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 added 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 added 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 @@
{"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"]},"SetTintColor":{"images":["examples-screenshots/UserLocation/SetTintColor.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"]},"CreateOfflineRegion":{"images":["examples-screenshots/Map/CreateOfflineRegion.png"]},"DynamicUrl":{"images":["examples-screenshots/Map/DynamicUrl.png"]},"LocalizeLabels":{"images":["examples-screenshots/Map/LocalizeLabels.png"]},"MapAndRNNavigation":{"images":["examples-screenshots/Map/MapAndRNNavigation.png"]},"OfflineExample":{"images":["examples-screenshots/Map/OfflineExample.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"]},"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"]},"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"]},"ImageOverlay":{"images":["examples-screenshots/FillRasterLayer/ImageOverlay.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"]}}}
{"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"]}}}
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "map-docs",
"version": "0.0.0",
"version": "1.0.0",
"private": true,
"scripts": {
"docusaurus": "docusaurus",
Expand All @@ -14,18 +14,18 @@
"write-heading-ids": "docusaurus write-heading-ids"
},
"dependencies": {
"@docusaurus/core": "3.4.0",
"@docusaurus/preset-classic": "3.4.0",
"@docusaurus/core": "3.5.2",
"@docusaurus/preset-classic": "3.5.2",
"@mdx-js/react": "^3.0.1",
"clsx": "^1.2.1",
"prism-react-renderer": "^2.3.1",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "3.4.0",
"@docusaurus/types": "3.4.0",
"@docusaurus/tsconfig": "3.4.0",
"@docusaurus/module-type-aliases": "3.5.2",
"@docusaurus/types": "3.5.2",
"@docusaurus/tsconfig": "3.5.2",
"@types/react": "^18.3.3",
"typescript": "~5.2.2"
},
Expand Down
Loading