@rnmapbox/maps 10.0.0-beta.49 → 10.0.0-beta.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/android/.gitignore +9 -0
- package/android/.npmignore +9 -0
- package/android/rctmgl/.gitignore +1 -0
- package/android/rctmgl/.npmignore +1 -0
- package/android/rctmgl/src/main/java-mapboxgl/common/com/mapbox/rctmgl/modules/RCTMGLModule.java +2 -1
- package/android/rctmgl/src/main/java-v10/com/mapbox/rctmgl/modules/RCTMGLModule.kt +3 -1
- package/index.d.ts +1 -1
- package/ios/RCTMGL/MGLModule.m +2 -1
- package/ios/RCTMGL-v10/MGLModule.m +3 -1
- package/ios/RCTMGL-v10/MGLModule.swift +15 -2
- package/javascript/components/AbstractLayer.tsx +2 -1
- package/javascript/components/Camera.tsx +1 -2
- package/javascript/index.js +2 -2
- package/javascript/requestAndroidLocationPermissions.ts +1 -2
- package/javascript/utils/{MapboxStyles.ts → MapboxStyles.d.ts} +0 -0
- package/javascript/utils/StyleValue.ts +3 -8
- package/lib/commonjs/classes/AnimatedCoordinatesArray.js +165 -0
- package/lib/commonjs/classes/AnimatedCoordinatesArray.js.map +1 -0
- package/lib/commonjs/classes/AnimatedExtractCoordinateFromArray.js +44 -0
- package/lib/commonjs/classes/AnimatedExtractCoordinateFromArray.js.map +1 -0
- package/lib/commonjs/classes/AnimatedPoint.js +117 -0
- package/lib/commonjs/classes/AnimatedPoint.js.map +1 -0
- package/lib/commonjs/classes/AnimatedRouteCoordinatesArray.js +155 -0
- package/lib/commonjs/classes/AnimatedRouteCoordinatesArray.js.map +1 -0
- package/lib/commonjs/classes/AnimatedShape.js +78 -0
- package/lib/commonjs/classes/AnimatedShape.js.map +1 -0
- package/lib/commonjs/classes/index.d.js +17 -0
- package/lib/commonjs/classes/index.d.js.map +1 -0
- package/lib/commonjs/classes/index.js +61 -0
- package/lib/commonjs/classes/index.js.map +1 -0
- package/lib/commonjs/components/AbstractLayer.js +61 -0
- package/lib/commonjs/components/AbstractLayer.js.map +1 -0
- package/lib/commonjs/components/AbstractSource.js +26 -0
- package/lib/commonjs/components/AbstractSource.js.map +1 -0
- package/lib/commonjs/components/Atmosphere.js +26 -0
- package/lib/commonjs/components/Atmosphere.js.map +1 -0
- package/lib/commonjs/components/BackgroundLayer.js +82 -0
- package/lib/commonjs/components/BackgroundLayer.js.map +1 -0
- package/lib/commonjs/components/Callout.js +119 -0
- package/lib/commonjs/components/Callout.js.map +1 -0
- package/lib/commonjs/components/Camera.js +336 -0
- package/lib/commonjs/components/Camera.js.map +1 -0
- package/lib/commonjs/components/CircleLayer.js +87 -0
- package/lib/commonjs/components/CircleLayer.js.map +1 -0
- package/lib/commonjs/components/FillExtrusionLayer.js +89 -0
- package/lib/commonjs/components/FillExtrusionLayer.js.map +1 -0
- package/lib/commonjs/components/FillLayer.js +89 -0
- package/lib/commonjs/components/FillLayer.js.map +1 -0
- package/lib/commonjs/components/HeadingIndicator.js +33 -0
- package/lib/commonjs/components/HeadingIndicator.js.map +1 -0
- package/lib/commonjs/components/HeatmapLayer.js +90 -0
- package/lib/commonjs/components/HeatmapLayer.js.map +1 -0
- package/lib/commonjs/components/ImageSource.js +66 -0
- package/lib/commonjs/components/ImageSource.js.map +1 -0
- package/lib/commonjs/components/Images.js +98 -0
- package/lib/commonjs/components/Images.js.map +1 -0
- package/lib/commonjs/components/Light.js +51 -0
- package/lib/commonjs/components/Light.js.map +1 -0
- package/lib/commonjs/components/LineLayer.js +89 -0
- package/lib/commonjs/components/LineLayer.js.map +1 -0
- package/lib/commonjs/components/MapView.js +740 -0
- package/lib/commonjs/components/MapView.js.map +1 -0
- package/lib/commonjs/components/MarkerView.js +102 -0
- package/lib/commonjs/components/MarkerView.js.map +1 -0
- package/lib/commonjs/components/NativeBridgeComponent.js +85 -0
- package/lib/commonjs/components/NativeBridgeComponent.js.map +1 -0
- package/lib/commonjs/components/NativeUserLocation.js +41 -0
- package/lib/commonjs/components/NativeUserLocation.js.map +1 -0
- package/lib/commonjs/components/PointAnnotation.js +121 -0
- package/lib/commonjs/components/PointAnnotation.js.map +1 -0
- package/lib/commonjs/components/RasterDemSource.js +95 -0
- package/lib/commonjs/components/RasterDemSource.js.map +1 -0
- package/lib/commonjs/components/RasterLayer.js +85 -0
- package/lib/commonjs/components/RasterLayer.js.map +1 -0
- package/lib/commonjs/components/RasterSource.js +112 -0
- package/lib/commonjs/components/RasterSource.js.map +1 -0
- package/lib/commonjs/components/ShapeSource.js +193 -0
- package/lib/commonjs/components/ShapeSource.js.map +1 -0
- package/lib/commonjs/components/SkyLayer.js +73 -0
- package/lib/commonjs/components/SkyLayer.js.map +1 -0
- package/lib/commonjs/components/Style.js +269 -0
- package/lib/commonjs/components/Style.js.map +1 -0
- package/lib/commonjs/components/SymbolLayer.js +49 -0
- package/lib/commonjs/components/SymbolLayer.js.map +1 -0
- package/lib/commonjs/components/Terrain.js +37 -0
- package/lib/commonjs/components/Terrain.js.map +1 -0
- package/lib/commonjs/components/UserLocation.js +255 -0
- package/lib/commonjs/components/UserLocation.js.map +1 -0
- package/lib/commonjs/components/VectorSource.js +175 -0
- package/lib/commonjs/components/VectorSource.js.map +1 -0
- package/lib/commonjs/components/annotations/Annotation.js +105 -0
- package/lib/commonjs/components/annotations/Annotation.js.map +1 -0
- package/lib/commonjs/global.d.js +2 -0
- package/lib/commonjs/global.d.js.map +1 -0
- package/lib/commonjs/index.js +331 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/index.web.js +27 -0
- package/lib/commonjs/index.web.js.map +1 -0
- package/lib/commonjs/modules/location/locationManager.js +85 -0
- package/lib/commonjs/modules/location/locationManager.js.map +1 -0
- package/lib/commonjs/modules/offline/OfflineCreatePackOptions.js +45 -0
- package/lib/commonjs/modules/offline/OfflineCreatePackOptions.js.map +1 -0
- package/lib/commonjs/modules/offline/OfflinePack.js +41 -0
- package/lib/commonjs/modules/offline/OfflinePack.js.map +1 -0
- package/lib/commonjs/modules/offline/offlineManager.js +356 -0
- package/lib/commonjs/modules/offline/offlineManager.js.map +1 -0
- package/lib/commonjs/modules/snapshot/SnapshotOptions.js +60 -0
- package/lib/commonjs/modules/snapshot/SnapshotOptions.js.map +1 -0
- package/lib/commonjs/modules/snapshot/snapshotManager.js +68 -0
- package/lib/commonjs/modules/snapshot/snapshotManager.js.map +1 -0
- package/lib/commonjs/requestAndroidLocationPermissions.js +25 -0
- package/lib/commonjs/requestAndroidLocationPermissions.js.map +1 -0
- package/lib/commonjs/types/index.js +6 -0
- package/lib/commonjs/types/index.js.map +1 -0
- package/lib/commonjs/utils/BridgeValue.js +66 -0
- package/lib/commonjs/utils/BridgeValue.js.map +1 -0
- package/lib/commonjs/utils/Logger.js +119 -0
- package/lib/commonjs/utils/Logger.js.map +1 -0
- package/lib/commonjs/utils/MapboxStyles.d.js +183 -0
- package/lib/commonjs/utils/MapboxStyles.d.js.map +1 -0
- package/lib/commonjs/utils/StyleValue.js +41 -0
- package/lib/commonjs/utils/StyleValue.js.map +1 -0
- package/lib/commonjs/utils/animated/Animated.js +33 -0
- package/lib/commonjs/utils/animated/Animated.js.map +1 -0
- package/lib/commonjs/utils/deprecation.js +40 -0
- package/lib/commonjs/utils/deprecation.js.map +1 -0
- package/lib/commonjs/utils/filterUtils.js +13 -0
- package/lib/commonjs/utils/filterUtils.js.map +1 -0
- package/lib/commonjs/utils/geoUtils.d.js +2 -0
- package/lib/commonjs/utils/geoUtils.d.js.map +1 -0
- package/lib/commonjs/utils/geoUtils.js +65 -0
- package/lib/commonjs/utils/geoUtils.js.map +1 -0
- package/lib/commonjs/utils/index.d.js +2 -0
- package/lib/commonjs/utils/index.d.js.map +1 -0
- package/lib/commonjs/utils/index.js +122 -0
- package/lib/commonjs/utils/index.js.map +1 -0
- package/lib/commonjs/utils/styleMap.js +1530 -0
- package/lib/commonjs/utils/styleMap.js.map +1 -0
- package/lib/commonjs/web/MapContext.js +12 -0
- package/lib/commonjs/web/MapContext.js.map +1 -0
- package/lib/commonjs/web/MapboxModule.js +21 -0
- package/lib/commonjs/web/MapboxModule.js.map +1 -0
- package/lib/commonjs/web/UnimplementedComponent.js +16 -0
- package/lib/commonjs/web/UnimplementedComponent.js.map +1 -0
- package/lib/commonjs/web/components/Camera.js +48 -0
- package/lib/commonjs/web/components/Camera.js.map +1 -0
- package/lib/commonjs/web/components/MapView.js +67 -0
- package/lib/commonjs/web/components/MapView.js.map +1 -0
- package/lib/commonjs/web/index.js +41 -0
- package/lib/commonjs/web/index.js.map +1 -0
- package/lib/commonjs/web/utils/Logger.js +100 -0
- package/lib/commonjs/web/utils/Logger.js.map +1 -0
- package/lib/module/classes/AnimatedCoordinatesArray.js +158 -0
- package/lib/module/classes/AnimatedCoordinatesArray.js.map +1 -0
- package/lib/module/classes/AnimatedExtractCoordinateFromArray.js +37 -0
- package/lib/module/classes/AnimatedExtractCoordinateFromArray.js.map +1 -0
- package/lib/module/classes/AnimatedPoint.js +110 -0
- package/lib/module/classes/AnimatedPoint.js.map +1 -0
- package/lib/module/classes/AnimatedRouteCoordinatesArray.js +148 -0
- package/lib/module/classes/AnimatedRouteCoordinatesArray.js.map +1 -0
- package/lib/module/classes/AnimatedShape.js +71 -0
- package/lib/module/classes/AnimatedShape.js.map +1 -0
- package/lib/module/classes/index.d.js +6 -0
- package/lib/module/classes/index.d.js.map +1 -0
- package/lib/module/classes/index.js +6 -0
- package/lib/module/classes/index.js.map +1 -0
- package/lib/module/components/AbstractLayer.js +54 -0
- package/lib/module/components/AbstractLayer.js.map +1 -0
- package/lib/module/components/AbstractSource.js +18 -0
- package/lib/module/components/AbstractSource.js.map +1 -0
- package/lib/module/components/Atmosphere.js +16 -0
- package/lib/module/components/Atmosphere.js.map +1 -0
- package/lib/module/components/BackgroundLayer.js +73 -0
- package/lib/module/components/BackgroundLayer.js.map +1 -0
- package/lib/module/components/Callout.js +110 -0
- package/lib/module/components/Callout.js.map +1 -0
- package/lib/module/components/Camera.js +326 -0
- package/lib/module/components/Camera.js.map +1 -0
- package/lib/module/components/CircleLayer.js +78 -0
- package/lib/module/components/CircleLayer.js.map +1 -0
- package/lib/module/components/FillExtrusionLayer.js +80 -0
- package/lib/module/components/FillExtrusionLayer.js.map +1 -0
- package/lib/module/components/FillLayer.js +80 -0
- package/lib/module/components/FillLayer.js.map +1 -0
- package/lib/module/components/HeadingIndicator.js +25 -0
- package/lib/module/components/HeadingIndicator.js.map +1 -0
- package/lib/module/components/HeatmapLayer.js +81 -0
- package/lib/module/components/HeatmapLayer.js.map +1 -0
- package/lib/module/components/ImageSource.js +57 -0
- package/lib/module/components/ImageSource.js.map +1 -0
- package/lib/module/components/Images.js +89 -0
- package/lib/module/components/Images.js.map +1 -0
- package/lib/module/components/Light.js +42 -0
- package/lib/module/components/Light.js.map +1 -0
- package/lib/module/components/LineLayer.js +80 -0
- package/lib/module/components/LineLayer.js.map +1 -0
- package/lib/module/components/MapView.js +730 -0
- package/lib/module/components/MapView.js.map +1 -0
- package/lib/module/components/MarkerView.js +93 -0
- package/lib/module/components/MarkerView.js.map +1 -0
- package/lib/module/components/NativeBridgeComponent.js +78 -0
- package/lib/module/components/NativeBridgeComponent.js.map +1 -0
- package/lib/module/components/NativeUserLocation.js +33 -0
- package/lib/module/components/NativeUserLocation.js.map +1 -0
- package/lib/module/components/PointAnnotation.js +112 -0
- package/lib/module/components/PointAnnotation.js.map +1 -0
- package/lib/module/components/RasterDemSource.js +86 -0
- package/lib/module/components/RasterDemSource.js.map +1 -0
- package/lib/module/components/RasterLayer.js +76 -0
- package/lib/module/components/RasterLayer.js.map +1 -0
- package/lib/module/components/RasterSource.js +103 -0
- package/lib/module/components/RasterSource.js.map +1 -0
- package/lib/module/components/ShapeSource.js +184 -0
- package/lib/module/components/ShapeSource.js.map +1 -0
- package/lib/module/components/SkyLayer.js +64 -0
- package/lib/module/components/SkyLayer.js.map +1 -0
- package/lib/module/components/Style.js +259 -0
- package/lib/module/components/Style.js.map +1 -0
- package/lib/module/components/SymbolLayer.js +40 -0
- package/lib/module/components/SymbolLayer.js.map +1 -0
- package/lib/module/components/Terrain.js +27 -0
- package/lib/module/components/Terrain.js.map +1 -0
- package/lib/module/components/UserLocation.js +246 -0
- package/lib/module/components/UserLocation.js.map +1 -0
- package/lib/module/components/VectorSource.js +166 -0
- package/lib/module/components/VectorSource.js.map +1 -0
- package/lib/module/components/annotations/Annotation.js +97 -0
- package/lib/module/components/annotations/Annotation.js.map +1 -0
- package/lib/module/global.d.js +2 -0
- package/lib/module/global.d.js.map +1 -0
- package/lib/module/index.js +105 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/index.web.js +3 -0
- package/lib/module/index.web.js.map +1 -0
- package/lib/module/modules/location/locationManager.js +77 -0
- package/lib/module/modules/location/locationManager.js.map +1 -0
- package/lib/module/modules/offline/OfflineCreatePackOptions.js +38 -0
- package/lib/module/modules/offline/OfflineCreatePackOptions.js.map +1 -0
- package/lib/module/modules/offline/OfflinePack.js +34 -0
- package/lib/module/modules/offline/OfflinePack.js.map +1 -0
- package/lib/module/modules/offline/offlineManager.js +347 -0
- package/lib/module/modules/offline/offlineManager.js.map +1 -0
- package/lib/module/modules/snapshot/SnapshotOptions.js +53 -0
- package/lib/module/modules/snapshot/SnapshotOptions.js.map +1 -0
- package/lib/module/modules/snapshot/snapshotManager.js +60 -0
- package/lib/module/modules/snapshot/snapshotManager.js.map +1 -0
- package/lib/module/requestAndroidLocationPermissions.js +19 -0
- package/lib/module/requestAndroidLocationPermissions.js.map +1 -0
- package/lib/module/types/index.js +2 -0
- package/lib/module/types/index.js.map +1 -0
- package/lib/module/utils/BridgeValue.js +59 -0
- package/lib/module/utils/BridgeValue.js.map +1 -0
- package/lib/module/utils/Logger.js +112 -0
- package/lib/module/utils/Logger.js.map +1 -0
- package/lib/module/utils/MapboxStyles.d.js +179 -0
- package/lib/module/utils/MapboxStyles.d.js.map +1 -0
- package/lib/module/utils/StyleValue.js +34 -0
- package/lib/module/utils/StyleValue.js.map +1 -0
- package/lib/module/utils/animated/Animated.js +25 -0
- package/lib/module/utils/animated/Animated.js.map +1 -0
- package/lib/module/utils/deprecation.js +33 -0
- package/lib/module/utils/deprecation.js.map +1 -0
- package/lib/module/utils/filterUtils.js +7 -0
- package/lib/module/utils/filterUtils.js.map +1 -0
- package/lib/module/utils/geoUtils.d.js +2 -0
- package/lib/module/utils/geoUtils.d.js.map +1 -0
- package/lib/module/utils/geoUtils.js +50 -0
- package/lib/module/utils/geoUtils.js.map +1 -0
- package/lib/module/utils/index.d.js +2 -0
- package/lib/module/utils/index.d.js.map +1 -0
- package/lib/module/utils/index.js +99 -0
- package/lib/module/utils/index.js.map +1 -0
- package/lib/module/utils/styleMap.js +1505 -0
- package/lib/module/utils/styleMap.js.map +1 -0
- package/lib/module/web/MapContext.js +4 -0
- package/lib/module/web/MapContext.js.map +1 -0
- package/lib/module/web/MapboxModule.js +13 -0
- package/lib/module/web/MapboxModule.js.map +1 -0
- package/lib/module/web/UnimplementedComponent.js +8 -0
- package/lib/module/web/UnimplementedComponent.js.map +1 -0
- package/lib/module/web/components/Camera.js +40 -0
- package/lib/module/web/components/Camera.js.map +1 -0
- package/lib/module/web/components/MapView.js +60 -0
- package/lib/module/web/components/MapView.js.map +1 -0
- package/lib/module/web/index.js +16 -0
- package/lib/module/web/index.js.map +1 -0
- package/lib/module/web/utils/Logger.js +93 -0
- package/lib/module/web/utils/Logger.js.map +1 -0
- package/lib/typescript/components/AbstractLayer.d.ts +28 -0
- package/lib/typescript/components/AbstractLayer.d.ts.map +1 -0
- package/lib/typescript/components/AbstractSource.d.ts +9 -0
- package/lib/typescript/components/AbstractSource.d.ts.map +1 -0
- package/lib/typescript/components/Atmosphere.d.ts +9 -0
- package/lib/typescript/components/Atmosphere.d.ts.map +1 -0
- package/lib/typescript/components/Camera.d.ts +119 -0
- package/lib/typescript/components/Camera.d.ts.map +1 -0
- package/lib/typescript/components/HeadingIndicator.d.ts +7 -0
- package/lib/typescript/components/HeadingIndicator.d.ts.map +1 -0
- package/lib/typescript/components/MarkerView.d.ts +52 -0
- package/lib/typescript/components/MarkerView.d.ts.map +1 -0
- package/lib/typescript/components/NativeBridgeComponent.d.ts +50 -0
- package/lib/typescript/components/NativeBridgeComponent.d.ts.map +1 -0
- package/lib/typescript/components/PointAnnotation.d.ts +162 -0
- package/lib/typescript/components/PointAnnotation.d.ts.map +1 -0
- package/lib/typescript/components/ShapeSource.d.ts +222 -0
- package/lib/typescript/components/ShapeSource.d.ts.map +1 -0
- package/lib/typescript/components/SymbolLayer.d.ts +65 -0
- package/lib/typescript/components/SymbolLayer.d.ts.map +1 -0
- package/lib/typescript/components/Terrain.d.ts +20 -0
- package/lib/typescript/components/Terrain.d.ts.map +1 -0
- package/lib/typescript/requestAndroidLocationPermissions.d.ts +2 -0
- package/lib/typescript/requestAndroidLocationPermissions.d.ts.map +1 -0
- package/lib/typescript/types/index.d.ts +16 -0
- package/lib/typescript/types/index.d.ts.map +1 -0
- package/lib/typescript/utils/BridgeValue.d.ts +46 -0
- package/lib/typescript/utils/BridgeValue.d.ts.map +1 -0
- package/lib/typescript/utils/StyleValue.d.ts +10 -0
- package/lib/typescript/utils/StyleValue.d.ts.map +1 -0
- package/lib/typescript/utils/deprecation.d.ts +12 -0
- package/lib/typescript/utils/deprecation.d.ts.map +1 -0
- package/lib/typescript/utils/filterUtils.d.ts +2 -0
- package/lib/typescript/utils/filterUtils.d.ts.map +1 -0
- package/lib/typescript/utils/styleMap.d.ts +1489 -0
- package/lib/typescript/utils/styleMap.d.ts.map +1 -0
- package/lib/typescript/web/MapContext.d.ts +7 -0
- package/lib/typescript/web/MapContext.d.ts.map +1 -0
- package/lib/typescript/web/components/Camera.d.ts +18 -0
- package/lib/typescript/web/components/Camera.d.ts.map +1 -0
- package/lib/typescript/web/components/MapView.d.ts +20 -0
- package/lib/typescript/web/components/MapView.d.ts.map +1 -0
- package/lib/typescript/web/utils/Logger.d.ts +48 -0
- package/lib/typescript/web/utils/Logger.d.ts.map +1 -0
- package/package.json +38 -6
- package/plugin/jest.config.js +1 -0
- package/plugin/src/withMapbox.ts +365 -0
- package/plugin/tsconfig.json +9 -0
- package/.eslintrc.js +0 -111
- package/.gitattributes +0 -1
- package/.github/ISSUE_TEMPLATE/bug_report.yml +0 -112
- package/.github/ISSUE_TEMPLATE/bug_setup.md +0 -23
- package/.github/ISSUE_TEMPLATE/feature.md +0 -15
- package/.github/dependabot.yml +0 -42
- package/.github/label-actions.yml +0 -26
- package/.github/pull_request_template.md +0 -27
- package/.github/stale.yml +0 -11
- package/.github/workflows/android-actions.yml +0 -56
- package/.github/workflows/bump-version.yml +0 -54
- package/.github/workflows/ios-actions.yml +0 -81
- package/.github/workflows/label-actions.yml +0 -17
- package/.github/workflows/on-push.yml +0 -131
- package/.github/workflows/publish.yml +0 -29
- package/.husky/pre-commit +0 -5
- package/.nvmrc +0 -2
- package/.prettierrc.js +0 -4
- package/.sonarcloud.properties +0 -15
- package/CONTRIBUTING.md +0 -30
- package/README-v10.md +0 -86
- package/RELEASE.md +0 -28
- package/app.plugin.js +0 -1
- package/babel.config.js +0 -9
- package/docs/Annotation.md +0 -39
- package/docs/Annotations.md +0 -20
- package/docs/Atmosphere.md +0 -265
- package/docs/BackgroundLayer.md +0 -166
- package/docs/Callout.md +0 -15
- package/docs/Camera.md +0 -152
- package/docs/CircleLayer.md +0 -470
- package/docs/CustomHttpHeaders.md +0 -89
- package/docs/FillExtrusionLayer.md +0 -346
- package/docs/FillLayer.md +0 -310
- package/docs/GettingStarted.md +0 -87
- package/docs/HeadingIndicator.md +0 -10
- package/docs/HeatmapLayer.md +0 -215
- package/docs/ImageSource.md +0 -13
- package/docs/Images.md +0 -12
- package/docs/Light.md +0 -159
- package/docs/LineLayer.md +0 -606
- package/docs/Logger.md +0 -22
- package/docs/MapView.md +0 -228
- package/docs/MapboxGL.md +0 -83
- package/docs/MarkerView.md +0 -26
- package/docs/NativeUserLocation.md +0 -11
- package/docs/OfflineManager.md +0 -264
- package/docs/PointAnnotation.md +0 -42
- package/docs/RasterDemSource.md +0 -15
- package/docs/RasterLayer.md +0 -357
- package/docs/RasterSource.md +0 -19
- package/docs/ShapeSource.md +0 -106
- package/docs/SkyLayer.md +0 -259
- package/docs/Style.md +0 -12
- package/docs/StyleSheet.md +0 -226
- package/docs/SymbolLayer.md +0 -1659
- package/docs/Terrain.md +0 -77
- package/docs/UserLocation.md +0 -39
- package/docs/VectorSource.md +0 -49
- package/docs/docs.json +0 -6571
- package/docs/snapshotManager.md +0 -55
- package/scripts/.eslintrc.js +0 -12
- package/scripts/autogenHelpers/DocJSONBuilder.js +0 -458
- package/scripts/autogenHelpers/JSDocNodeTree.js +0 -134
- package/scripts/autogenHelpers/MarkdownBuilder.js +0 -38
- package/scripts/autogenHelpers/globals.js +0 -518
- package/scripts/autogenerate.js +0 -545
- package/scripts/download-style-spec.sh +0 -15
- package/scripts/templates/MapboxStyles.ts.ejs +0 -97
- package/scripts/templates/RCTMGLStyle.h.ejs +0 -34
- package/scripts/templates/RCTMGLStyle.m.ejs +0 -106
- package/scripts/templates/RCTMGLStyle.swift.ejs +0 -116
- package/scripts/templates/RCTMGLStyleFactory.java.ejs +0 -108
- package/scripts/templates/RCTMGLStyleFactoryv10.java.ejs +0 -116
- package/scripts/templates/component.md.ejs +0 -122
- package/scripts/templates/index.d.ts.ejs +0 -56
- package/scripts/templates/styleMap.ts.ejs +0 -118
- package/setup-jest.js +0 -125
- package/style-spec/v8.json +0 -6727
- package/tsconfig.json +0 -24
package/docs/SkyLayer.md
DELETED
|
@@ -1,259 +0,0 @@
|
|
|
1
|
-
<!-- This file was autogenerated from SkyLayer.js do not modify -->
|
|
2
|
-
# <MapboxGL.SkyLayer />
|
|
3
|
-
SkyLayer is a spherical dome around the map that is always rendered behind all other layers
|
|
4
|
-
|
|
5
|
-
## props
|
|
6
|
-
| Prop | Type | Default | Required | Description |
|
|
7
|
-
| ---- | :-- | :----- | :------ | :---------- |
|
|
8
|
-
| id | `string` | `none` | `true` | A string that uniquely identifies the source in the style to which it is added. |
|
|
9
|
-
| sourceID | `string` | `MapboxGL.StyleSource.DefaultSourceID` | `false` | The source from which to obtain the data to style.<br/>If the source has not yet been added to the current style, the behavior is undefined. |
|
|
10
|
-
| aboveLayerID | `string` | `none` | `false` | Inserts a layer above aboveLayerID. |
|
|
11
|
-
| belowLayerID | `string` | `none` | `false` | Inserts a layer below belowLayerID |
|
|
12
|
-
| layerIndex | `number` | `none` | `false` | Inserts a layer at a specified index |
|
|
13
|
-
| filter | `array` | `none` | `false` | Filter only the features in the source layer that satisfy a condition that you define |
|
|
14
|
-
| style | `union` | `none` | `false` | Customizable style attributes |
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
## styles
|
|
18
|
-
|
|
19
|
-
* <a href="#visibility">visibility</a><br/>
|
|
20
|
-
* <a href="#skytype">skyType</a><br/>
|
|
21
|
-
* <a href="#skyatmospheresun">skyAtmosphereSun</a><br/>
|
|
22
|
-
* <a href="#skyatmospheresunintensity">skyAtmosphereSunIntensity</a><br/>
|
|
23
|
-
* <a href="#skygradientcenter">skyGradientCenter</a><br/>
|
|
24
|
-
* <a href="#skygradientradius">skyGradientRadius</a><br/>
|
|
25
|
-
* <a href="#skygradient">skyGradient</a><br/>
|
|
26
|
-
* <a href="#skyatmospherehalocolor">skyAtmosphereHaloColor</a><br/>
|
|
27
|
-
* <a href="#skyatmospherecolor">skyAtmosphereColor</a><br/>
|
|
28
|
-
* <a href="#skyopacity">skyOpacity</a><br/>
|
|
29
|
-
|
|
30
|
-
___
|
|
31
|
-
|
|
32
|
-
### visibility
|
|
33
|
-
Name: `visibility`
|
|
34
|
-
|
|
35
|
-
### Description
|
|
36
|
-
Whether this layer is displayed.
|
|
37
|
-
|
|
38
|
-
### Type
|
|
39
|
-
`enum`
|
|
40
|
-
### Default Value
|
|
41
|
-
`visible`
|
|
42
|
-
|
|
43
|
-
### Supported Values
|
|
44
|
-
**visible** - The layer is shown.<br />
|
|
45
|
-
**none** - The layer is not shown.<br />
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
___
|
|
50
|
-
|
|
51
|
-
### skyType
|
|
52
|
-
Name: `skyType`
|
|
53
|
-
|
|
54
|
-
### Description
|
|
55
|
-
The type of the sky
|
|
56
|
-
|
|
57
|
-
### Type
|
|
58
|
-
`enum`
|
|
59
|
-
### Default Value
|
|
60
|
-
`atmosphere`
|
|
61
|
-
|
|
62
|
-
### Supported Values
|
|
63
|
-
**gradient** - Renders the sky with a gradient that can be configured with `sky-gradient-radius` and `sky-gradient`.<br />
|
|
64
|
-
**atmosphere** - Renders the sky with a simulated atmospheric scattering algorithm, the sun direction can be attached to the light position or explicitly set through `sky-atmosphere-sun`.<br />
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
### Expression
|
|
68
|
-
|
|
69
|
-
Parameters: `zoom`
|
|
70
|
-
|
|
71
|
-
___
|
|
72
|
-
|
|
73
|
-
### skyAtmosphereSun
|
|
74
|
-
Name: `skyAtmosphereSun`
|
|
75
|
-
|
|
76
|
-
### Description
|
|
77
|
-
Position of the sun center [a azimuthal angle, p polar angle]. The azimuthal angle indicates the position of the sun relative to 0° north, where degrees proceed clockwise. The polar angle indicates the height of the sun, where 0° is directly above, at zenith, and 90° at the horizon. When this property is ommitted, the sun center is directly inherited from the light position.
|
|
78
|
-
|
|
79
|
-
### Type
|
|
80
|
-
`array<number>`
|
|
81
|
-
|
|
82
|
-
### Units
|
|
83
|
-
`degrees`
|
|
84
|
-
|
|
85
|
-
### Minimum
|
|
86
|
-
`0,0`
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
### Maximum
|
|
90
|
-
`360,180`
|
|
91
|
-
|
|
92
|
-
### Expression
|
|
93
|
-
|
|
94
|
-
Parameters: `zoom`
|
|
95
|
-
|
|
96
|
-
___
|
|
97
|
-
|
|
98
|
-
### skyAtmosphereSunIntensity
|
|
99
|
-
Name: `skyAtmosphereSunIntensity`
|
|
100
|
-
|
|
101
|
-
### Description
|
|
102
|
-
Intensity of the sun as a light source in the atmosphere (on a scale from 0 to a 100). Setting higher values will brighten up the sky.
|
|
103
|
-
|
|
104
|
-
### Type
|
|
105
|
-
`number`
|
|
106
|
-
### Default Value
|
|
107
|
-
`10`
|
|
108
|
-
|
|
109
|
-
### Minimum
|
|
110
|
-
`0`
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
### Maximum
|
|
114
|
-
`100`
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
___
|
|
118
|
-
|
|
119
|
-
### skyGradientCenter
|
|
120
|
-
Name: `skyGradientCenter`
|
|
121
|
-
|
|
122
|
-
### Description
|
|
123
|
-
Position of the gradient center [a azimuthal angle, p polar angle]. The azimuthal angle indicates the position of the gradient center relative to 0° north, where degrees proceed clockwise. The polar angle indicates the height of the gradient center, where 0° is directly above, at zenith, and 90° at the horizon.
|
|
124
|
-
|
|
125
|
-
### Type
|
|
126
|
-
`array<number>`
|
|
127
|
-
### Default Value
|
|
128
|
-
`[0,0]`
|
|
129
|
-
|
|
130
|
-
### Units
|
|
131
|
-
`degrees`
|
|
132
|
-
|
|
133
|
-
### Minimum
|
|
134
|
-
`0,0`
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
### Maximum
|
|
138
|
-
`360,180`
|
|
139
|
-
|
|
140
|
-
### Expression
|
|
141
|
-
|
|
142
|
-
Parameters: `zoom`
|
|
143
|
-
|
|
144
|
-
___
|
|
145
|
-
|
|
146
|
-
### skyGradientRadius
|
|
147
|
-
Name: `skyGradientRadius`
|
|
148
|
-
|
|
149
|
-
### Description
|
|
150
|
-
The angular distance (measured in degrees) from `skyGradientCenter` up to which the gradient extends. A value of 180 causes the gradient to wrap around to the opposite direction from `skyGradientCenter`.
|
|
151
|
-
|
|
152
|
-
### Type
|
|
153
|
-
`number`
|
|
154
|
-
### Default Value
|
|
155
|
-
`90`
|
|
156
|
-
|
|
157
|
-
### Minimum
|
|
158
|
-
`0`
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
### Maximum
|
|
162
|
-
`180`
|
|
163
|
-
|
|
164
|
-
### Expression
|
|
165
|
-
|
|
166
|
-
Parameters: `zoom`
|
|
167
|
-
|
|
168
|
-
___
|
|
169
|
-
|
|
170
|
-
### skyGradient
|
|
171
|
-
Name: `skyGradient`
|
|
172
|
-
|
|
173
|
-
### Description
|
|
174
|
-
Defines a radial color gradient with which to color the sky. The color values can be interpolated with an expression using `skyRadialProgress`. The range [0, 1] for the interpolant covers a radial distance (in degrees) of [0, `skyGradientRadius`] centered at the position specified by `skyGradientCenter`.
|
|
175
|
-
|
|
176
|
-
### Type
|
|
177
|
-
`color`
|
|
178
|
-
### Default Value
|
|
179
|
-
`interpolate,linear,sky-radial-progress,0.8,#87ceeb,1,white`
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
### Expression
|
|
183
|
-
|
|
184
|
-
Parameters: `sky-radial-progress`
|
|
185
|
-
|
|
186
|
-
___
|
|
187
|
-
|
|
188
|
-
### skyAtmosphereHaloColor
|
|
189
|
-
Name: `skyAtmosphereHaloColor`
|
|
190
|
-
|
|
191
|
-
### Description
|
|
192
|
-
A color applied to the atmosphere sun halo. The alpha channel describes how strongly the sun halo is represented in an atmosphere sky layer.
|
|
193
|
-
|
|
194
|
-
### Type
|
|
195
|
-
`color`
|
|
196
|
-
### Default Value
|
|
197
|
-
`white`
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
___
|
|
202
|
-
|
|
203
|
-
### skyAtmosphereColor
|
|
204
|
-
Name: `skyAtmosphereColor`
|
|
205
|
-
|
|
206
|
-
### Description
|
|
207
|
-
A color used to tweak the main atmospheric scattering coefficients. Using white applies the default coefficients giving the natural blue color to the atmosphere. This color affects how heavily the corresponding wavelength is represented during scattering. The alpha channel describes the density of the atmosphere, with 1 maximum density and 0 no density.
|
|
208
|
-
|
|
209
|
-
### Type
|
|
210
|
-
`color`
|
|
211
|
-
### Default Value
|
|
212
|
-
`white`
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
___
|
|
217
|
-
|
|
218
|
-
### skyOpacity
|
|
219
|
-
Name: `skyOpacity`
|
|
220
|
-
|
|
221
|
-
### Description
|
|
222
|
-
The opacity of the entire sky layer.
|
|
223
|
-
|
|
224
|
-
### Type
|
|
225
|
-
`number`
|
|
226
|
-
### Default Value
|
|
227
|
-
`1`
|
|
228
|
-
|
|
229
|
-
### Minimum
|
|
230
|
-
`0`
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
### Maximum
|
|
234
|
-
`1`
|
|
235
|
-
|
|
236
|
-
### Expression
|
|
237
|
-
|
|
238
|
-
Parameters: `zoom`
|
|
239
|
-
___
|
|
240
|
-
|
|
241
|
-
### Name
|
|
242
|
-
|
|
243
|
-
`skyOpacityTransition`
|
|
244
|
-
|
|
245
|
-
### Description
|
|
246
|
-
|
|
247
|
-
The transition affecting any changes to this layer’s skyOpacity property.
|
|
248
|
-
|
|
249
|
-
### Type
|
|
250
|
-
|
|
251
|
-
`{ duration, delay }`
|
|
252
|
-
|
|
253
|
-
### Units
|
|
254
|
-
`milliseconds`
|
|
255
|
-
|
|
256
|
-
### Default Value
|
|
257
|
-
`{duration: 300, delay: 0}`
|
|
258
|
-
|
|
259
|
-
|
package/docs/Style.md
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<!-- This file was autogenerated from Style.js do not modify -->
|
|
2
|
-
# <MapboxGL.Style />
|
|
3
|
-
Style is a component that automatically adds sources / layers to the map using Mapbox GL Style Spec.
|
|
4
|
-
Only [`sources`](https://docs.mapbox.com/mapbox-gl-js/style-spec/sources) & [`layers`](https://docs.mapbox.com/mapbox-gl-js/style-spec/layers/) are supported.
|
|
5
|
-
Other fields such as `sprites`, `glyphs` etc. will be ignored. Not all layer / source attributes from the style spec are supported, in general the supported attributes will be mentioned under https://github.com/rnmapbox/maps/tree/main/docs.
|
|
6
|
-
|
|
7
|
-
## props
|
|
8
|
-
| Prop | Type | Default | Required | Description |
|
|
9
|
-
| ---- | :-- | :----- | :------ | :---------- |
|
|
10
|
-
| json | `any` | `none` | `false` | A JSON object conforming to the schema described in the Mapbox Style Specification , or a URL to such JSON. |
|
|
11
|
-
|
|
12
|
-
|
package/docs/StyleSheet.md
DELETED
|
@@ -1,226 +0,0 @@
|
|
|
1
|
-
# StyleSheet
|
|
2
|
-
|
|
3
|
-
StyleSheet is written as a JS object.
|
|
4
|
-
See [Mapbox expression specs](https://docs.mapbox.com/mapbox-gl-js/style-spec/#expressions) for reference on
|
|
5
|
-
expressions.
|
|
6
|
-
|
|
7
|
-
## Style Functions
|
|
8
|
-
|
|
9
|
-
### Zoom based Expressions
|
|
10
|
-
|
|
11
|
-
This is a value function defining a style value that changes as the zoom level changes. The layout and paint attribute
|
|
12
|
-
properties of the layer can be set to style function objects. Use a camera function to create the illusion of depth and
|
|
13
|
-
control data density.
|
|
14
|
-
|
|
15
|
-
```typescript
|
|
16
|
-
// color would change based on zoom level keys.
|
|
17
|
-
[
|
|
18
|
-
'interpolate',
|
|
19
|
-
['exponential', 1.5],
|
|
20
|
-
['zoom'],
|
|
21
|
-
0, 'blue',
|
|
22
|
-
10, 'green',
|
|
23
|
-
20, 'yellow',
|
|
24
|
-
];
|
|
25
|
-
|
|
26
|
-
// Example of use inside stylesheet
|
|
27
|
-
{
|
|
28
|
-
fillColor: ['step', ['zoom'], 'blue', 20, 'green'];
|
|
29
|
-
}
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
### Attribute based Expressions
|
|
33
|
-
|
|
34
|
-
This is a value function defining a style value that changes with its properties. The layout and paint attribute
|
|
35
|
-
properties of the layer can be set to style function objects. Use source functions to visually differentiate types of
|
|
36
|
-
features within the same layer or create data visualizations.
|
|
37
|
-
|
|
38
|
-
```typescript
|
|
39
|
-
// would color the layer based the property rating=[1, 5]
|
|
40
|
-
[
|
|
41
|
-
'step',
|
|
42
|
-
['get', 'rating'],
|
|
43
|
-
'red',
|
|
44
|
-
2, 'orange',
|
|
45
|
-
3, 'yellow',
|
|
46
|
-
4, 'yellowgreen',
|
|
47
|
-
5, 'green',
|
|
48
|
-
];
|
|
49
|
-
|
|
50
|
-
// Example of use inside stylesheet
|
|
51
|
-
{
|
|
52
|
-
circleColor: [
|
|
53
|
-
'step',
|
|
54
|
-
['get', 'rating'],
|
|
55
|
-
'red',
|
|
56
|
-
2, 'orange',
|
|
57
|
-
3, 'yellow',
|
|
58
|
-
4, 'yellowgreen',
|
|
59
|
-
5, 'green',
|
|
60
|
-
];
|
|
61
|
-
}
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
### Nested Expressions
|
|
65
|
-
|
|
66
|
-
This is a value function defining a style value that changes with the feature attributes at each map zoom level. The
|
|
67
|
-
layout and paint attribute properties of the layer can be set to style function objects. Use composite functions to
|
|
68
|
-
allow the appearance of a map feature to change with both its attributes and the map zoom level. Note that support for
|
|
69
|
-
composite functions is not yet complete in the Android/iOS SDK's.
|
|
70
|
-
|
|
71
|
-
```typescript
|
|
72
|
-
// would change based on the zoom level and rating value
|
|
73
|
-
// {zoom_level}: [{value}, {style_value}]
|
|
74
|
-
[
|
|
75
|
-
'step',
|
|
76
|
-
['zoom'],
|
|
77
|
-
['step', ['get', 'rating'], 0, 5, 5],
|
|
78
|
-
20,
|
|
79
|
-
['step', ['get', 'rating'], 0, 5, 20],
|
|
80
|
-
];
|
|
81
|
-
|
|
82
|
-
{
|
|
83
|
-
circleRadius: [
|
|
84
|
-
'step',
|
|
85
|
-
['zoom'],
|
|
86
|
-
['step', ['get', 'rating'], 0, 5, 5],
|
|
87
|
-
20,
|
|
88
|
-
['step', ['get', 'rating'], 0, 5, 20],
|
|
89
|
-
];
|
|
90
|
-
}
|
|
91
|
-
```
|
|
92
|
-
|
|
93
|
-
## StyleSheet Examples
|
|
94
|
-
|
|
95
|
-
```tsx
|
|
96
|
-
const styles = {
|
|
97
|
-
buildings: {
|
|
98
|
-
fillColor: 'blue',
|
|
99
|
-
},
|
|
100
|
-
street: {
|
|
101
|
-
lineColor: 'green',
|
|
102
|
-
}
|
|
103
|
-
};
|
|
104
|
-
|
|
105
|
-
// ...
|
|
106
|
-
|
|
107
|
-
<MapboxGL.FillLayer
|
|
108
|
-
style={styles.buildings}
|
|
109
|
-
// ...
|
|
110
|
-
/>
|
|
111
|
-
< MapboxGL.FillLayer
|
|
112
|
-
style={styles.street}
|
|
113
|
-
// ...
|
|
114
|
-
/>
|
|
115
|
-
```
|
|
116
|
-
|
|
117
|
-
```tsx
|
|
118
|
-
const layerStyles = {
|
|
119
|
-
singlePoint: {
|
|
120
|
-
circleColor: 'green',
|
|
121
|
-
circleOpacity: 0.84,
|
|
122
|
-
circleStrokeWidth: 2,
|
|
123
|
-
circleStrokeColor: 'white',
|
|
124
|
-
circleRadius: 5,
|
|
125
|
-
},
|
|
126
|
-
|
|
127
|
-
clusteredPoints: {
|
|
128
|
-
circleColor: [
|
|
129
|
-
'interpolate',
|
|
130
|
-
['exponential', 1.5],
|
|
131
|
-
['get', 'point_count'],
|
|
132
|
-
25, 'yellow',
|
|
133
|
-
50, 'red',
|
|
134
|
-
75, 'blue',
|
|
135
|
-
100, 'orange',
|
|
136
|
-
300, 'pink',
|
|
137
|
-
750, 'white',
|
|
138
|
-
],
|
|
139
|
-
|
|
140
|
-
circleRadius: [
|
|
141
|
-
'interpolate',
|
|
142
|
-
['exponential', 1.5],
|
|
143
|
-
['get', 'point_count'],
|
|
144
|
-
[0, 15],
|
|
145
|
-
[100, 20],
|
|
146
|
-
[750, 30],
|
|
147
|
-
],
|
|
148
|
-
|
|
149
|
-
circleOpacity: 0.84,
|
|
150
|
-
circleStrokeWidth: 2,
|
|
151
|
-
circleStrokeColor: 'white',
|
|
152
|
-
},
|
|
153
|
-
|
|
154
|
-
clusterCount: {
|
|
155
|
-
textField: ['get', 'point_count'],
|
|
156
|
-
textSize: 12,
|
|
157
|
-
},
|
|
158
|
-
};
|
|
159
|
-
|
|
160
|
-
// ...
|
|
161
|
-
|
|
162
|
-
<MapboxGL.SymbolLayer
|
|
163
|
-
id='pointCount'
|
|
164
|
-
style={layerStyles.clusterCount}
|
|
165
|
-
/>
|
|
166
|
-
|
|
167
|
-
< MapboxGL.CircleLayer
|
|
168
|
-
id='clusteredPoints'
|
|
169
|
-
belowLayerID='pointCount'
|
|
170
|
-
filter={['has', 'point_count'
|
|
171
|
-
]
|
|
172
|
-
}
|
|
173
|
-
style={layerStyles.clusteredPoints}
|
|
174
|
-
/>
|
|
175
|
-
|
|
176
|
-
< MapboxGL.CircleLayer
|
|
177
|
-
id='singlePoint'
|
|
178
|
-
filter={['!has', 'point_count'
|
|
179
|
-
]
|
|
180
|
-
}
|
|
181
|
-
style={layerStyles.singlePoint}
|
|
182
|
-
/>
|
|
183
|
-
```
|
|
184
|
-
|
|
185
|
-
```tsx
|
|
186
|
-
const layerStyles = {
|
|
187
|
-
building: {
|
|
188
|
-
fillExtrusionOpacity: 1,
|
|
189
|
-
fillExtrusionHeight: ['get', 'height'],
|
|
190
|
-
fillExtrusionBase: ['get', 'min_height'],
|
|
191
|
-
fillExtrusionColor: [
|
|
192
|
-
'interpolate',
|
|
193
|
-
['exponential', 1.5],
|
|
194
|
-
['get', 'height'],
|
|
195
|
-
[0, 'white'],
|
|
196
|
-
[50, 'blue'],
|
|
197
|
-
[100, 'red'],
|
|
198
|
-
],
|
|
199
|
-
fillExtrusionColorTransition: {duration: 2000, delay: 0},
|
|
200
|
-
},
|
|
201
|
-
streets: {
|
|
202
|
-
lineColor: 'blue',
|
|
203
|
-
lineWidth: 2,
|
|
204
|
-
lineOpacity: 0.50,
|
|
205
|
-
lineJoin: MapboxGL.LineJoin.Round,
|
|
206
|
-
lineCap: MapboxGL.LineCap.Round,
|
|
207
|
-
lineDasharray: [2, 2]
|
|
208
|
-
}
|
|
209
|
-
};
|
|
210
|
-
|
|
211
|
-
// ...
|
|
212
|
-
|
|
213
|
-
<MapboxGL.FillExtrusionLayer
|
|
214
|
-
id='building3d'
|
|
215
|
-
sourceLayerID='building'
|
|
216
|
-
style={layerStyles.building}
|
|
217
|
-
/>
|
|
218
|
-
|
|
219
|
-
< MapboxGL.LineLayer
|
|
220
|
-
id='streetLineColor'
|
|
221
|
-
sourceLayerID='road'
|
|
222
|
-
minZoomLevel={14}
|
|
223
|
-
belowLayerID='building3d'
|
|
224
|
-
style={layerStyles.streets}
|
|
225
|
-
/>
|
|
226
|
-
```
|