@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/CONTRIBUTING.md
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
# Contributing
|
|
2
|
-
|
|
3
|
-
## Setup for creating pull requests
|
|
4
|
-
- Fork this project
|
|
5
|
-
- In your fork, create a branch, for example: `fix/camera-update`
|
|
6
|
-
- Add your changes
|
|
7
|
-
- Push and open a PR with your branch
|
|
8
|
-
|
|
9
|
-
## Testing my changes
|
|
10
|
-
The metro bundler under `/example` is set up to use the libraries files under root.
|
|
11
|
-
Which means, when you change something within `javascript/components/UserLocation.js`
|
|
12
|
-
it will be reflected in any scene in example that uses that component.
|
|
13
|
-
|
|
14
|
-
## Best practices for PR's
|
|
15
|
-
- If you add a feature, make sure you add it to the documentation
|
|
16
|
-
- If you add an objective-c or java method, make sure you update the declaration file: `index.d.ts`.
|
|
17
|
-
- Make sure to use small concise commits
|
|
18
|
-
- Use meaningful commit messages
|
|
19
|
-
- Make sure to update/ add new tests for your changes
|
|
20
|
-
- If you add a new feature make sure to add a scene in `/example` for others to see/ test it
|
|
21
|
-
|
|
22
|
-
## Documentation
|
|
23
|
-
Documentation is generated from code blocks and comments.
|
|
24
|
-
It will be auto-generated when you commit changes.
|
|
25
|
-
If any changes are generated from your edits, the changed files will need to be added using `git add` before attempting the commit again.
|
|
26
|
-
To manually generate the changes, run `npm run generate`.
|
|
27
|
-
|
|
28
|
-
Notice, that changing the documentation in the individual <COMPONENT>.md within `/docs` will not suffice.
|
|
29
|
-
The correct way is the above described
|
|
30
|
-
|
package/README-v10.md
DELETED
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
# Getting Started
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
```shell
|
|
5
|
-
react-native init sample --version 0.60.5
|
|
6
|
-
cd sample
|
|
7
|
-
yarn add https://github.com/rnmapbox/maps#main --save
|
|
8
|
-
|
|
9
|
-
code android/build.gradle
|
|
10
|
-
```
|
|
11
|
-
|
|
12
|
-
```gradle
|
|
13
|
-
# add the following:
|
|
14
|
-
allprojects {
|
|
15
|
-
repositories {
|
|
16
|
-
maven {
|
|
17
|
-
url 'https://api.mapbox.com/downloads/v2/releases/maven'
|
|
18
|
-
authentication {
|
|
19
|
-
basic(BasicAuthentication)
|
|
20
|
-
}
|
|
21
|
-
credentials {
|
|
22
|
-
// Do not change the username below.
|
|
23
|
-
// This should always be `mapbox` (not your username).
|
|
24
|
-
username = 'mapbox'
|
|
25
|
-
// Use the secret token you stored in gradle.properties as the password
|
|
26
|
-
password = project.properties['MAPBOX_DOWNLOADS_TOKEN'] ?: ""
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
code android/app/build.gradle
|
|
34
|
-
```gradle
|
|
35
|
-
# add the following:
|
|
36
|
-
android {
|
|
37
|
-
packagingOptions {
|
|
38
|
-
pickFirst 'lib/x86/libc++_shared.so'
|
|
39
|
-
pickFirst 'lib/x86_64/libc++_shared.so'
|
|
40
|
-
pickFirst 'lib/arm64-v8a/libc++_shared.so'
|
|
41
|
-
pickFirst 'lib/armeabi-v7a/libc++_shared.so'
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
code android/build.gradle
|
|
47
|
-
```
|
|
48
|
-
buildscript {
|
|
49
|
-
ext {
|
|
50
|
-
...
|
|
51
|
-
RNMapboxMapsImpl = 'mapbox'
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
code ios/Podfile
|
|
57
|
-
```pod
|
|
58
|
-
# change these
|
|
59
|
-
$RNMapboxMapsImpl = 'mapbox'
|
|
60
|
-
|
|
61
|
-
platform :ios, '13.0'
|
|
62
|
-
|
|
63
|
-
...
|
|
64
|
-
|
|
65
|
-
...
|
|
66
|
-
|
|
67
|
-
pre_install do |installer|
|
|
68
|
-
$RNMapboxMaps.pre_install(installer)
|
|
69
|
-
end
|
|
70
|
-
|
|
71
|
-
post_install do |installer|
|
|
72
|
-
react_native_post_install(installer)
|
|
73
|
-
$RNMapboxMaps.post_install(installer)
|
|
74
|
-
end
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
```pod
|
|
78
|
-
# on RN 0.60 only:
|
|
79
|
-
# add modular_headers to `React-Core`
|
|
80
|
-
pod 'React-Core', :path => '../node_modules/react-native/React', modular_headers: true
|
|
81
|
-
```
|
|
82
|
-
|
|
83
|
-
iOS:
|
|
84
|
-
|
|
85
|
-
* Add `$(SDKROOT)/usr/lib/swift` to Library search paths.
|
|
86
|
-
|
package/RELEASE.md
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# How to create a release for this repo
|
|
2
|
-
|
|
3
|
-
## Make sure `main` builds correctly
|
|
4
|
-
|
|
5
|
-
Are all our [actions](https://github.com/rnmapbox/maps/actions) passing successfully?
|
|
6
|
-
If not, make sure to investigate the issue and fix it prior to a release.
|
|
7
|
-
|
|
8
|
-
## Bump the version in our package.json
|
|
9
|
-
|
|
10
|
-
Once you verified, that `main` isn't broken, go on and increase the `version` within our `package.json`.
|
|
11
|
-
|
|
12
|
-
## Update the CHANGELOG accordingly
|
|
13
|
-
|
|
14
|
-
Our [`CHANGELOG.md`](https://github.com/rnmapbox/maps/blob/main/CHANGELOG.md) should be updated whenever a PR is merged/ noteworthy changes are committed to `main`.
|
|
15
|
-
Prior to a release, the changes should be documented under the `UNRELEASED` section.
|
|
16
|
-
Once it's clear, that a release is about to be published, move the items under `UNRELEASED` to _this_ releases sections.
|
|
17
|
-
Let your actions be guided by the previous release entries.
|
|
18
|
-
|
|
19
|
-
## Draft a new release on GitHub
|
|
20
|
-
|
|
21
|
-
Within the [releases](https://github.com/rnmapbox/maps/releases) section of the repo you can [`Draft a new release`](https://github.com/rnmapbox/maps/releases/new).
|
|
22
|
-
|
|
23
|
-
`Tag version` & `Release title` should be the same.
|
|
24
|
-
As redundant as it might sound, please add the changes from the `CHANGELOG.md` into the body of the release.
|
|
25
|
-
|
|
26
|
-
## Monitor the repos issues for updates
|
|
27
|
-
|
|
28
|
-
Once the release is out the door (on [npm](https://www.npmjs.com/package/@rnmapbox/maps)), make sure to monitor the [issues](https://github.com/rnmapbox/maps/issues) closely for problems the community might encounter
|
package/app.plugin.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require('./plugin/build/withMapbox');
|
package/babel.config.js
DELETED
package/docs/Annotation.md
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
<!-- This file was autogenerated from Annotation.js do not modify -->
|
|
2
|
-
# <MapboxGL.Annotation />
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## props
|
|
6
|
-
| Prop | Type | Default | Required | Description |
|
|
7
|
-
| ---- | :-- | :----- | :------ | :---------- |
|
|
8
|
-
| id | `string` | `none` | `true` | FIX ME NO DESCRIPTION |
|
|
9
|
-
| animated | `bool` | `false` | `false` | FIX ME NO DESCRIPTION |
|
|
10
|
-
| animationDuration | `number` | `1000` | `false` | FIX ME NO DESCRIPTION |
|
|
11
|
-
| animationEasingFunction | `func` | `Easing.linear` | `false` | FIX ME NO DESCRIPTION |
|
|
12
|
-
| coordinates | `array` | `none` | `false` | FIX ME NO DESCRIPTION |
|
|
13
|
-
| onPress | `func` | `none` | `false` | FIX ME NO DESCRIPTION |
|
|
14
|
-
| children | `any` | `none` | `false` | FIX ME NO DESCRIPTION |
|
|
15
|
-
| style | `any` | `none` | `false` | FIX ME NO DESCRIPTION |
|
|
16
|
-
| icon | `union` | `none` | `false` | FIX ME NO DESCRIPTION |
|
|
17
|
-
|
|
18
|
-
## methods
|
|
19
|
-
### onPress()
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
#### arguments
|
|
24
|
-
| Name | Type | Required | Description |
|
|
25
|
-
| ---- | :--: | :------: | :----------: |
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
### symbolStyle()
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
#### arguments
|
|
34
|
-
| Name | Type | Required | Description |
|
|
35
|
-
| ---- | :--: | :------: | :----------: |
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
package/docs/Annotations.md
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# Annotations Comparison
|
|
2
|
-
|
|
3
|
-
Comparsion of various annotations available in React native mapbox:
|
|
4
|
-
|
|
5
|
-
| *Feature* | *SymbolLayer* | *PointAnnotation* |*MarkerView* |*CircleLayer* |
|
|
6
|
-
|------------------------|--------------------|---------------------------------------------------------------------------------------------------------------------------------------|-------------------------|---------------------|
|
|
7
|
-
| Can use images | ✓ | | | |
|
|
8
|
-
| RN Views as children | iOS: static | static in v10, *was interactive on iOS before v10* |interactive | |
|
|
9
|
-
| Interactions | click | click & drag & callout | supports full interactivity in the sense that inside MarkerViews one can place any RN View, which can be interacted with. Not to be misunderstood with drag n drop interactivity. | click |
|
|
10
|
-
| Control Z-index | ✓ | n/a |always on top | ✓ |
|
|
11
|
-
| Clustering | ✓ | | | ✓ |
|
|
12
|
-
| Style with expressions | ✓ | | | ✓ |
|
|
13
|
-
| v10 implementation | [SymbolLayer](https://docs.mapbox.com/ios/maps/api/10.8.1/Structs/SymbolLayer.html) | [PointAnnotation](https://docs.mapbox.com/ios/maps/api/10.8.1/Classes/PointAnnotationManager.html) |[ViewAnnotations](https://docs.mapbox.com/ios/maps/api/10.8.1/Classes/ViewAnnotationManager.html) |[CircleLayer](https://docs.mapbox.com/ios/maps/api/10.8.1/Structs/CircleLayer.html) |
|
|
14
|
-
| iOS implementation | [MGLStyleSymbolLayer](https://docs.mapbox.com/ios/api/maps/5.8.0/Classes/MGLSymbolStyleLayer.html) | [MGLAnnotationView](https://docs.mapbox.com/ios/api/maps/5.8.0/Classes/MGLAnnotationView.html) |[MGLAnnotationView](https://docs.mapbox.com/ios/api/maps/5.8.0/Classes/MGLAnnotationView.html) |[MGLCircleStyleLayer](https://docs.mapbox.com/ios/api/maps/5.8.0/Classes/MGLCircleStyleLayer.html) |
|
|
15
|
-
| Android implementation | [SymbolLayer](https://docs.mapbox.com/android/api/map-sdk/9.0.0/com/mapbox/mapboxsdk/style/layers/SymbolLayer.html)| [annotation.Symbol](https://docs.mapbox.com/android/api/plugins/annotation/0.8.0/com/mapbox/mapboxsdk/plugins/annotation/Symbol.html) |[annotation.Marker](https://docs.mapbox.com/android/api/plugins/markerview/0.4.0/com/mapbox/mapboxsdk/plugins/markerview/MarkerView.html) |[CircleLayer](https://docs.mapbox.com/android/api/map-sdk/9.0.0/com/mapbox/mapboxsdk/style/layers/CircleLayer.html)|
|
|
16
|
-
|
|
17
|
-
Related links:
|
|
18
|
-
|
|
19
|
-
* iOS [markers and annotations](https://docs.mapbox.com/ios/maps/overview/markers-and-annotations/)
|
|
20
|
-
* Android [annotation plugin](https://docs.mapbox.com/android/plugins/overview/annotation/)
|
package/docs/Atmosphere.md
DELETED
|
@@ -1,265 +0,0 @@
|
|
|
1
|
-
<!-- This file was autogenerated from Atmosphere.tsx do not modify -->
|
|
2
|
-
# <MapboxGL.Atmosphere />
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## props
|
|
6
|
-
| Prop | Type | Default | Required | Description |
|
|
7
|
-
| ---- | :-- | :----- | :------ | :---------- |
|
|
8
|
-
| style | `AtmosphereLayerStyleProps` | `none` | `true` | FIX ME NO DESCRIPTION |
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
## styles
|
|
12
|
-
|
|
13
|
-
* <a href="#range">range</a><br/>
|
|
14
|
-
* <a href="#color">color</a><br/>
|
|
15
|
-
* <a href="#highcolor">highColor</a><br/>
|
|
16
|
-
* <a href="#spacecolor">spaceColor</a><br/>
|
|
17
|
-
* <a href="#horizonblend">horizonBlend</a><br/>
|
|
18
|
-
* <a href="#starintensity">starIntensity</a><br/>
|
|
19
|
-
|
|
20
|
-
___
|
|
21
|
-
|
|
22
|
-
### range
|
|
23
|
-
Name: `range`
|
|
24
|
-
|
|
25
|
-
### Description
|
|
26
|
-
The start and end distance range in which fog fades from fully transparent to fully opaque. The distance to the point at the center of the map is defined as zero, so that negative range values are closer to the camera, and positive values are farther away.
|
|
27
|
-
|
|
28
|
-
### Type
|
|
29
|
-
`array<number>`
|
|
30
|
-
### Default Value
|
|
31
|
-
`[0.5,10]`
|
|
32
|
-
|
|
33
|
-
### Minimum
|
|
34
|
-
`-20`
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
### Maximum
|
|
38
|
-
`20`
|
|
39
|
-
|
|
40
|
-
### Expression
|
|
41
|
-
|
|
42
|
-
Parameters: `zoom`
|
|
43
|
-
___
|
|
44
|
-
|
|
45
|
-
### Name
|
|
46
|
-
|
|
47
|
-
`rangeTransition`
|
|
48
|
-
|
|
49
|
-
### Description
|
|
50
|
-
|
|
51
|
-
The transition affecting any changes to this layer’s range property.
|
|
52
|
-
|
|
53
|
-
### Type
|
|
54
|
-
|
|
55
|
-
`{ duration, delay }`
|
|
56
|
-
|
|
57
|
-
### Units
|
|
58
|
-
`milliseconds`
|
|
59
|
-
|
|
60
|
-
### Default Value
|
|
61
|
-
`{duration: 300, delay: 0}`
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
___
|
|
65
|
-
|
|
66
|
-
### color
|
|
67
|
-
Name: `color`
|
|
68
|
-
|
|
69
|
-
### Description
|
|
70
|
-
The color of the atmosphere region immediately below the horizon and within the `range` and above the horizon and within `horizonBlend`. Using opacity is recommended only for smoothly transitioning fog on/off as anything less than 100% opacity results in more tiles loaded and drawn.
|
|
71
|
-
|
|
72
|
-
### Type
|
|
73
|
-
`color`
|
|
74
|
-
### Default Value
|
|
75
|
-
`#ffffff`
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
### Expression
|
|
79
|
-
|
|
80
|
-
Parameters: `zoom`
|
|
81
|
-
___
|
|
82
|
-
|
|
83
|
-
### Name
|
|
84
|
-
|
|
85
|
-
`colorTransition`
|
|
86
|
-
|
|
87
|
-
### Description
|
|
88
|
-
|
|
89
|
-
The transition affecting any changes to this layer’s color property.
|
|
90
|
-
|
|
91
|
-
### Type
|
|
92
|
-
|
|
93
|
-
`{ duration, delay }`
|
|
94
|
-
|
|
95
|
-
### Units
|
|
96
|
-
`milliseconds`
|
|
97
|
-
|
|
98
|
-
### Default Value
|
|
99
|
-
`{duration: 300, delay: 0}`
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
___
|
|
103
|
-
|
|
104
|
-
### highColor
|
|
105
|
-
Name: `highColor`
|
|
106
|
-
|
|
107
|
-
### Description
|
|
108
|
-
The color of the atmosphere region above the horizon, `highColor` extends further above the horizon than the `color` property and its spread can be controlled with `horizonBlend`. The opacity can be set to `0` to remove the high atmosphere color contribution.
|
|
109
|
-
|
|
110
|
-
### Type
|
|
111
|
-
`color`
|
|
112
|
-
### Default Value
|
|
113
|
-
`#245cdf`
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
### Expression
|
|
117
|
-
|
|
118
|
-
Parameters: `zoom`
|
|
119
|
-
___
|
|
120
|
-
|
|
121
|
-
### Name
|
|
122
|
-
|
|
123
|
-
`highColorTransition`
|
|
124
|
-
|
|
125
|
-
### Description
|
|
126
|
-
|
|
127
|
-
The transition affecting any changes to this layer’s highColor property.
|
|
128
|
-
|
|
129
|
-
### Type
|
|
130
|
-
|
|
131
|
-
`{ duration, delay }`
|
|
132
|
-
|
|
133
|
-
### Units
|
|
134
|
-
`milliseconds`
|
|
135
|
-
|
|
136
|
-
### Default Value
|
|
137
|
-
`{duration: 300, delay: 0}`
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
___
|
|
141
|
-
|
|
142
|
-
### spaceColor
|
|
143
|
-
Name: `spaceColor`
|
|
144
|
-
|
|
145
|
-
### Description
|
|
146
|
-
The color of the region above the horizon and after the end of the `horizonBlend` contribution. The opacity can be set to `0` to have a transparent background.
|
|
147
|
-
|
|
148
|
-
### Type
|
|
149
|
-
`color`
|
|
150
|
-
### Default Value
|
|
151
|
-
`interpolate,linear,zoom,4,#010b19,7,#367ab9`
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
### Expression
|
|
155
|
-
|
|
156
|
-
Parameters: `zoom`
|
|
157
|
-
___
|
|
158
|
-
|
|
159
|
-
### Name
|
|
160
|
-
|
|
161
|
-
`spaceColorTransition`
|
|
162
|
-
|
|
163
|
-
### Description
|
|
164
|
-
|
|
165
|
-
The transition affecting any changes to this layer’s spaceColor property.
|
|
166
|
-
|
|
167
|
-
### Type
|
|
168
|
-
|
|
169
|
-
`{ duration, delay }`
|
|
170
|
-
|
|
171
|
-
### Units
|
|
172
|
-
`milliseconds`
|
|
173
|
-
|
|
174
|
-
### Default Value
|
|
175
|
-
`{duration: 300, delay: 0}`
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
___
|
|
179
|
-
|
|
180
|
-
### horizonBlend
|
|
181
|
-
Name: `horizonBlend`
|
|
182
|
-
|
|
183
|
-
### Description
|
|
184
|
-
Horizon blend applies a smooth fade from the color of the atmosphere to the color of space. A value of zero leaves a sharp transition from atmosphere to space. Increasing the value blends the color of atmosphere into increasingly high angles of the sky.
|
|
185
|
-
|
|
186
|
-
### Type
|
|
187
|
-
`number`
|
|
188
|
-
### Default Value
|
|
189
|
-
`interpolate,linear,zoom,4,0.2,7,0.1`
|
|
190
|
-
|
|
191
|
-
### Minimum
|
|
192
|
-
`0`
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
### Maximum
|
|
196
|
-
`1`
|
|
197
|
-
|
|
198
|
-
### Expression
|
|
199
|
-
|
|
200
|
-
Parameters: `zoom`
|
|
201
|
-
___
|
|
202
|
-
|
|
203
|
-
### Name
|
|
204
|
-
|
|
205
|
-
`horizonBlendTransition`
|
|
206
|
-
|
|
207
|
-
### Description
|
|
208
|
-
|
|
209
|
-
The transition affecting any changes to this layer’s horizonBlend property.
|
|
210
|
-
|
|
211
|
-
### Type
|
|
212
|
-
|
|
213
|
-
`{ duration, delay }`
|
|
214
|
-
|
|
215
|
-
### Units
|
|
216
|
-
`milliseconds`
|
|
217
|
-
|
|
218
|
-
### Default Value
|
|
219
|
-
`{duration: 300, delay: 0}`
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
___
|
|
223
|
-
|
|
224
|
-
### starIntensity
|
|
225
|
-
Name: `starIntensity`
|
|
226
|
-
|
|
227
|
-
### Description
|
|
228
|
-
A value controlling the star intensity where `0` will show no stars and `1` will show stars at their maximum intensity.
|
|
229
|
-
|
|
230
|
-
### Type
|
|
231
|
-
`number`
|
|
232
|
-
### Default Value
|
|
233
|
-
`interpolate,linear,zoom,5,0.35,6,0`
|
|
234
|
-
|
|
235
|
-
### Minimum
|
|
236
|
-
`0`
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
### Maximum
|
|
240
|
-
`1`
|
|
241
|
-
|
|
242
|
-
### Expression
|
|
243
|
-
|
|
244
|
-
Parameters: `zoom`
|
|
245
|
-
___
|
|
246
|
-
|
|
247
|
-
### Name
|
|
248
|
-
|
|
249
|
-
`starIntensityTransition`
|
|
250
|
-
|
|
251
|
-
### Description
|
|
252
|
-
|
|
253
|
-
The transition affecting any changes to this layer’s starIntensity property.
|
|
254
|
-
|
|
255
|
-
### Type
|
|
256
|
-
|
|
257
|
-
`{ duration, delay }`
|
|
258
|
-
|
|
259
|
-
### Units
|
|
260
|
-
`milliseconds`
|
|
261
|
-
|
|
262
|
-
### Default Value
|
|
263
|
-
`{duration: 300, delay: 0}`
|
|
264
|
-
|
|
265
|
-
|
package/docs/BackgroundLayer.md
DELETED
|
@@ -1,166 +0,0 @@
|
|
|
1
|
-
<!-- This file was autogenerated from BackgroundLayer.js do not modify -->
|
|
2
|
-
# <MapboxGL.BackgroundLayer />
|
|
3
|
-
|
|
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.<br/>Inferred from parent source only if the layer is a direct child to it. |
|
|
10
|
-
| sourceLayerID | `string` | `none` | `false` | Identifier of the layer within the source identified by the sourceID property from which the receiver obtains the data to style. |
|
|
11
|
-
| aboveLayerID | `string` | `none` | `false` | Inserts a layer above aboveLayerID. |
|
|
12
|
-
| belowLayerID | `string` | `none` | `false` | Inserts a layer below belowLayerID |
|
|
13
|
-
| layerIndex | `number` | `none` | `false` | Inserts a layer at a specified index |
|
|
14
|
-
| filter | `array` | `none` | `false` | Filter only the features in the source layer that satisfy a condition that you define |
|
|
15
|
-
| minZoomLevel | `number` | `none` | `false` | The minimum zoom level at which the layer gets parsed and appears. |
|
|
16
|
-
| maxZoomLevel | `number` | `none` | `false` | The maximum zoom level at which the layer gets parsed and appears. |
|
|
17
|
-
| style | `union` | `none` | `false` | Customizable style attributes |
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
## styles
|
|
21
|
-
|
|
22
|
-
* <a href="#visibility">visibility</a><br/>
|
|
23
|
-
* <a href="#backgroundcolor">backgroundColor</a><br/>
|
|
24
|
-
* <a href="#backgroundpattern">backgroundPattern</a><br/>
|
|
25
|
-
* <a href="#backgroundopacity">backgroundOpacity</a><br/>
|
|
26
|
-
|
|
27
|
-
___
|
|
28
|
-
|
|
29
|
-
### visibility
|
|
30
|
-
Name: `visibility`
|
|
31
|
-
|
|
32
|
-
### Description
|
|
33
|
-
Whether this layer is displayed.
|
|
34
|
-
|
|
35
|
-
### Type
|
|
36
|
-
`enum`
|
|
37
|
-
### Default Value
|
|
38
|
-
`visible`
|
|
39
|
-
|
|
40
|
-
### Supported Values
|
|
41
|
-
**visible** - The layer is shown.<br />
|
|
42
|
-
**none** - The layer is not shown.<br />
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
___
|
|
47
|
-
|
|
48
|
-
### backgroundColor
|
|
49
|
-
Name: `backgroundColor`
|
|
50
|
-
|
|
51
|
-
### Description
|
|
52
|
-
The color with which the background will be drawn.
|
|
53
|
-
|
|
54
|
-
### Type
|
|
55
|
-
`color`
|
|
56
|
-
### Default Value
|
|
57
|
-
`#000000`
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
### Disabled By
|
|
61
|
-
`backgroundPattern`
|
|
62
|
-
|
|
63
|
-
### Expression
|
|
64
|
-
|
|
65
|
-
Parameters: `zoom`
|
|
66
|
-
___
|
|
67
|
-
|
|
68
|
-
### Name
|
|
69
|
-
|
|
70
|
-
`backgroundColorTransition`
|
|
71
|
-
|
|
72
|
-
### Description
|
|
73
|
-
|
|
74
|
-
The transition affecting any changes to this layer’s backgroundColor property.
|
|
75
|
-
|
|
76
|
-
### Type
|
|
77
|
-
|
|
78
|
-
`{ duration, delay }`
|
|
79
|
-
|
|
80
|
-
### Units
|
|
81
|
-
`milliseconds`
|
|
82
|
-
|
|
83
|
-
### Default Value
|
|
84
|
-
`{duration: 300, delay: 0}`
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
___
|
|
88
|
-
|
|
89
|
-
### backgroundPattern
|
|
90
|
-
Name: `backgroundPattern`
|
|
91
|
-
|
|
92
|
-
### Description
|
|
93
|
-
Name of image in sprite to use for drawing an image background. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512). Note that zoomDependent expressions will be evaluated only at integer zoom levels.
|
|
94
|
-
|
|
95
|
-
### Type
|
|
96
|
-
`resolvedImage`
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
### Expression
|
|
100
|
-
|
|
101
|
-
Parameters: `zoom`
|
|
102
|
-
___
|
|
103
|
-
|
|
104
|
-
### Name
|
|
105
|
-
|
|
106
|
-
`backgroundPatternTransition`
|
|
107
|
-
|
|
108
|
-
### Description
|
|
109
|
-
|
|
110
|
-
The transition affecting any changes to this layer’s backgroundPattern property.
|
|
111
|
-
|
|
112
|
-
### Type
|
|
113
|
-
|
|
114
|
-
`{ duration, delay }`
|
|
115
|
-
|
|
116
|
-
### Units
|
|
117
|
-
`milliseconds`
|
|
118
|
-
|
|
119
|
-
### Default Value
|
|
120
|
-
`{duration: 300, delay: 0}`
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
___
|
|
124
|
-
|
|
125
|
-
### backgroundOpacity
|
|
126
|
-
Name: `backgroundOpacity`
|
|
127
|
-
|
|
128
|
-
### Description
|
|
129
|
-
The opacity at which the background will be drawn.
|
|
130
|
-
|
|
131
|
-
### Type
|
|
132
|
-
`number`
|
|
133
|
-
### Default Value
|
|
134
|
-
`1`
|
|
135
|
-
|
|
136
|
-
### Minimum
|
|
137
|
-
`0`
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
### Maximum
|
|
141
|
-
`1`
|
|
142
|
-
|
|
143
|
-
### Expression
|
|
144
|
-
|
|
145
|
-
Parameters: `zoom`
|
|
146
|
-
___
|
|
147
|
-
|
|
148
|
-
### Name
|
|
149
|
-
|
|
150
|
-
`backgroundOpacityTransition`
|
|
151
|
-
|
|
152
|
-
### Description
|
|
153
|
-
|
|
154
|
-
The transition affecting any changes to this layer’s backgroundOpacity property.
|
|
155
|
-
|
|
156
|
-
### Type
|
|
157
|
-
|
|
158
|
-
`{ duration, delay }`
|
|
159
|
-
|
|
160
|
-
### Units
|
|
161
|
-
`milliseconds`
|
|
162
|
-
|
|
163
|
-
### Default Value
|
|
164
|
-
`{duration: 300, delay: 0}`
|
|
165
|
-
|
|
166
|
-
|
package/docs/Callout.md
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<!-- This file was autogenerated from Callout.js do not modify -->
|
|
2
|
-
# <MapboxGL.Callout />
|
|
3
|
-
Callout that displays information about a selected annotation near the annotation.
|
|
4
|
-
|
|
5
|
-
## props
|
|
6
|
-
| Prop | Type | Default | Required | Description |
|
|
7
|
-
| ---- | :-- | :----- | :------ | :---------- |
|
|
8
|
-
| title | `string` | `none` | `false` | String that gets displayed in the default callout. |
|
|
9
|
-
| style | `any` | `none` | `false` | Style property for the Animated.View wrapper, apply animations to this |
|
|
10
|
-
| containerStyle | `any` | `none` | `false` | Style property for the native RCTMGLCallout container, set at your own risk. |
|
|
11
|
-
| contentStyle | `any` | `none` | `false` | Style property for the content bubble. |
|
|
12
|
-
| tipStyle | `any` | `none` | `false` | Style property for the triangle tip under the content. |
|
|
13
|
-
| textStyle | `any` | `none` | `false` | Style property for the title in the content bubble. |
|
|
14
|
-
|
|
15
|
-
|