@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
|
@@ -1,346 +0,0 @@
|
|
|
1
|
-
<!-- This file was autogenerated from FillExtrusionLayer.js do not modify -->
|
|
2
|
-
# <MapboxGL.FillExtrusionLayer />
|
|
3
|
-
FillExtrusionLayer is a style layer that renders one or more 3D extruded polygons on the map.
|
|
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="#fillextrusionopacity">fillExtrusionOpacity</a><br/>
|
|
24
|
-
* <a href="#fillextrusioncolor">fillExtrusionColor</a><br/>
|
|
25
|
-
* <a href="#fillextrusiontranslate">fillExtrusionTranslate</a><br/>
|
|
26
|
-
* <a href="#fillextrusiontranslateanchor">fillExtrusionTranslateAnchor</a><br/>
|
|
27
|
-
* <a href="#fillextrusionpattern">fillExtrusionPattern</a><br/>
|
|
28
|
-
* <a href="#fillextrusionheight">fillExtrusionHeight</a><br/>
|
|
29
|
-
* <a href="#fillextrusionbase">fillExtrusionBase</a><br/>
|
|
30
|
-
* <a href="#fillextrusionverticalgradient">fillExtrusionVerticalGradient</a><br/>
|
|
31
|
-
|
|
32
|
-
___
|
|
33
|
-
|
|
34
|
-
### visibility
|
|
35
|
-
Name: `visibility`
|
|
36
|
-
|
|
37
|
-
### Description
|
|
38
|
-
Whether this layer is displayed.
|
|
39
|
-
|
|
40
|
-
### Type
|
|
41
|
-
`enum`
|
|
42
|
-
### Default Value
|
|
43
|
-
`visible`
|
|
44
|
-
|
|
45
|
-
### Supported Values
|
|
46
|
-
**visible** - The layer is shown.<br />
|
|
47
|
-
**none** - The layer is not shown.<br />
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
___
|
|
52
|
-
|
|
53
|
-
### fillExtrusionOpacity
|
|
54
|
-
Name: `fillExtrusionOpacity`
|
|
55
|
-
|
|
56
|
-
### Description
|
|
57
|
-
The opacity of the entire fill extrusion layer. This is rendered on a perLayer, not perFeature, basis, and dataDriven styling is not available.
|
|
58
|
-
|
|
59
|
-
### Type
|
|
60
|
-
`number`
|
|
61
|
-
### Default Value
|
|
62
|
-
`1`
|
|
63
|
-
|
|
64
|
-
### Minimum
|
|
65
|
-
`0`
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
### Maximum
|
|
69
|
-
`1`
|
|
70
|
-
|
|
71
|
-
### Expression
|
|
72
|
-
|
|
73
|
-
Parameters: `zoom`
|
|
74
|
-
___
|
|
75
|
-
|
|
76
|
-
### Name
|
|
77
|
-
|
|
78
|
-
`fillExtrusionOpacityTransition`
|
|
79
|
-
|
|
80
|
-
### Description
|
|
81
|
-
|
|
82
|
-
The transition affecting any changes to this layer’s fillExtrusionOpacity property.
|
|
83
|
-
|
|
84
|
-
### Type
|
|
85
|
-
|
|
86
|
-
`{ duration, delay }`
|
|
87
|
-
|
|
88
|
-
### Units
|
|
89
|
-
`milliseconds`
|
|
90
|
-
|
|
91
|
-
### Default Value
|
|
92
|
-
`{duration: 300, delay: 0}`
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
___
|
|
96
|
-
|
|
97
|
-
### fillExtrusionColor
|
|
98
|
-
Name: `fillExtrusionColor`
|
|
99
|
-
|
|
100
|
-
### Description
|
|
101
|
-
The base color of the extruded fill. The extrusion's surfaces will be shaded differently based on this color in combination with the root `light` settings. If this color is specified as `rgba` with an alpha component, the alpha component will be ignored; use `fillExtrusionOpacity` to set layer opacity.
|
|
102
|
-
|
|
103
|
-
### Type
|
|
104
|
-
`color`
|
|
105
|
-
### Default Value
|
|
106
|
-
`#000000`
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
### Disabled By
|
|
110
|
-
`fillExtrusionPattern`
|
|
111
|
-
|
|
112
|
-
### Expression
|
|
113
|
-
|
|
114
|
-
Parameters: `zoom, feature, feature-state`
|
|
115
|
-
___
|
|
116
|
-
|
|
117
|
-
### Name
|
|
118
|
-
|
|
119
|
-
`fillExtrusionColorTransition`
|
|
120
|
-
|
|
121
|
-
### Description
|
|
122
|
-
|
|
123
|
-
The transition affecting any changes to this layer’s fillExtrusionColor property.
|
|
124
|
-
|
|
125
|
-
### Type
|
|
126
|
-
|
|
127
|
-
`{ duration, delay }`
|
|
128
|
-
|
|
129
|
-
### Units
|
|
130
|
-
`milliseconds`
|
|
131
|
-
|
|
132
|
-
### Default Value
|
|
133
|
-
`{duration: 300, delay: 0}`
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
___
|
|
137
|
-
|
|
138
|
-
### fillExtrusionTranslate
|
|
139
|
-
Name: `fillExtrusionTranslate`
|
|
140
|
-
|
|
141
|
-
### Description
|
|
142
|
-
The geometry's offset. Values are [x, y] where negatives indicate left and up (on the flat plane), respectively.
|
|
143
|
-
|
|
144
|
-
### Type
|
|
145
|
-
`array<number>`
|
|
146
|
-
### Default Value
|
|
147
|
-
`[0,0]`
|
|
148
|
-
|
|
149
|
-
### Units
|
|
150
|
-
`pixels`
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
### Expression
|
|
154
|
-
|
|
155
|
-
Parameters: `zoom`
|
|
156
|
-
___
|
|
157
|
-
|
|
158
|
-
### Name
|
|
159
|
-
|
|
160
|
-
`fillExtrusionTranslateTransition`
|
|
161
|
-
|
|
162
|
-
### Description
|
|
163
|
-
|
|
164
|
-
The transition affecting any changes to this layer’s fillExtrusionTranslate property.
|
|
165
|
-
|
|
166
|
-
### Type
|
|
167
|
-
|
|
168
|
-
`{ duration, delay }`
|
|
169
|
-
|
|
170
|
-
### Units
|
|
171
|
-
`milliseconds`
|
|
172
|
-
|
|
173
|
-
### Default Value
|
|
174
|
-
`{duration: 300, delay: 0}`
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
___
|
|
178
|
-
|
|
179
|
-
### fillExtrusionTranslateAnchor
|
|
180
|
-
Name: `fillExtrusionTranslateAnchor`
|
|
181
|
-
|
|
182
|
-
### Description
|
|
183
|
-
Controls the frame of reference for `fillExtrusionTranslate`.
|
|
184
|
-
|
|
185
|
-
### Type
|
|
186
|
-
`enum`
|
|
187
|
-
### Default Value
|
|
188
|
-
`map`
|
|
189
|
-
|
|
190
|
-
### Supported Values
|
|
191
|
-
**map** - The fill extrusion is translated relative to the map.<br />
|
|
192
|
-
**viewport** - The fill extrusion is translated relative to the viewport.<br />
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
### Requires
|
|
196
|
-
`fillExtrusionTranslate`
|
|
197
|
-
|
|
198
|
-
### Expression
|
|
199
|
-
|
|
200
|
-
Parameters: `zoom`
|
|
201
|
-
|
|
202
|
-
___
|
|
203
|
-
|
|
204
|
-
### fillExtrusionPattern
|
|
205
|
-
Name: `fillExtrusionPattern`
|
|
206
|
-
|
|
207
|
-
### Description
|
|
208
|
-
Name of image in sprite to use for drawing images on extruded fills. 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.
|
|
209
|
-
|
|
210
|
-
### Type
|
|
211
|
-
`resolvedImage`
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
### Expression
|
|
215
|
-
|
|
216
|
-
Parameters: `zoom, feature`
|
|
217
|
-
___
|
|
218
|
-
|
|
219
|
-
### Name
|
|
220
|
-
|
|
221
|
-
`fillExtrusionPatternTransition`
|
|
222
|
-
|
|
223
|
-
### Description
|
|
224
|
-
|
|
225
|
-
The transition affecting any changes to this layer’s fillExtrusionPattern property.
|
|
226
|
-
|
|
227
|
-
### Type
|
|
228
|
-
|
|
229
|
-
`{ duration, delay }`
|
|
230
|
-
|
|
231
|
-
### Units
|
|
232
|
-
`milliseconds`
|
|
233
|
-
|
|
234
|
-
### Default Value
|
|
235
|
-
`{duration: 300, delay: 0}`
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
___
|
|
239
|
-
|
|
240
|
-
### fillExtrusionHeight
|
|
241
|
-
Name: `fillExtrusionHeight`
|
|
242
|
-
|
|
243
|
-
### Description
|
|
244
|
-
The height with which to extrude this layer.
|
|
245
|
-
|
|
246
|
-
### Type
|
|
247
|
-
`number`
|
|
248
|
-
### Default Value
|
|
249
|
-
`0`
|
|
250
|
-
|
|
251
|
-
### Units
|
|
252
|
-
`meters`
|
|
253
|
-
|
|
254
|
-
### Minimum
|
|
255
|
-
`0`
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
### Expression
|
|
259
|
-
|
|
260
|
-
Parameters: `zoom, feature, feature-state`
|
|
261
|
-
___
|
|
262
|
-
|
|
263
|
-
### Name
|
|
264
|
-
|
|
265
|
-
`fillExtrusionHeightTransition`
|
|
266
|
-
|
|
267
|
-
### Description
|
|
268
|
-
|
|
269
|
-
The transition affecting any changes to this layer’s fillExtrusionHeight property.
|
|
270
|
-
|
|
271
|
-
### Type
|
|
272
|
-
|
|
273
|
-
`{ duration, delay }`
|
|
274
|
-
|
|
275
|
-
### Units
|
|
276
|
-
`milliseconds`
|
|
277
|
-
|
|
278
|
-
### Default Value
|
|
279
|
-
`{duration: 300, delay: 0}`
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
___
|
|
283
|
-
|
|
284
|
-
### fillExtrusionBase
|
|
285
|
-
Name: `fillExtrusionBase`
|
|
286
|
-
|
|
287
|
-
### Description
|
|
288
|
-
The height with which to extrude the base of this layer. Must be less than or equal to `fillExtrusionHeight`.
|
|
289
|
-
|
|
290
|
-
### Type
|
|
291
|
-
`number`
|
|
292
|
-
### Default Value
|
|
293
|
-
`0`
|
|
294
|
-
|
|
295
|
-
### Units
|
|
296
|
-
`meters`
|
|
297
|
-
|
|
298
|
-
### Minimum
|
|
299
|
-
`0`
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
### Requires
|
|
303
|
-
`fillExtrusionHeight`
|
|
304
|
-
|
|
305
|
-
### Expression
|
|
306
|
-
|
|
307
|
-
Parameters: `zoom, feature, feature-state`
|
|
308
|
-
___
|
|
309
|
-
|
|
310
|
-
### Name
|
|
311
|
-
|
|
312
|
-
`fillExtrusionBaseTransition`
|
|
313
|
-
|
|
314
|
-
### Description
|
|
315
|
-
|
|
316
|
-
The transition affecting any changes to this layer’s fillExtrusionBase property.
|
|
317
|
-
|
|
318
|
-
### Type
|
|
319
|
-
|
|
320
|
-
`{ duration, delay }`
|
|
321
|
-
|
|
322
|
-
### Units
|
|
323
|
-
`milliseconds`
|
|
324
|
-
|
|
325
|
-
### Default Value
|
|
326
|
-
`{duration: 300, delay: 0}`
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
___
|
|
330
|
-
|
|
331
|
-
### fillExtrusionVerticalGradient
|
|
332
|
-
Name: `fillExtrusionVerticalGradient`
|
|
333
|
-
|
|
334
|
-
### Description
|
|
335
|
-
Whether to apply a vertical gradient to the sides of a fillExtrusion layer. If true, sides will be shaded slightly darker farther down.
|
|
336
|
-
|
|
337
|
-
### Type
|
|
338
|
-
`boolean`
|
|
339
|
-
### Default Value
|
|
340
|
-
`true`
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
### Expression
|
|
344
|
-
|
|
345
|
-
Parameters: `zoom`
|
|
346
|
-
|
package/docs/FillLayer.md
DELETED
|
@@ -1,310 +0,0 @@
|
|
|
1
|
-
<!-- This file was autogenerated from FillLayer.js do not modify -->
|
|
2
|
-
# <MapboxGL.FillLayer />
|
|
3
|
-
FillLayer is a style layer that renders one or more filled (and optionally stroked) polygons on the map.
|
|
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="#fillsortkey">fillSortKey</a><br/>
|
|
23
|
-
* <a href="#visibility">visibility</a><br/>
|
|
24
|
-
* <a href="#fillantialias">fillAntialias</a><br/>
|
|
25
|
-
* <a href="#fillopacity">fillOpacity</a><br/>
|
|
26
|
-
* <a href="#fillcolor">fillColor</a><br/>
|
|
27
|
-
* <a href="#filloutlinecolor">fillOutlineColor</a><br/>
|
|
28
|
-
* <a href="#filltranslate">fillTranslate</a><br/>
|
|
29
|
-
* <a href="#filltranslateanchor">fillTranslateAnchor</a><br/>
|
|
30
|
-
* <a href="#fillpattern">fillPattern</a><br/>
|
|
31
|
-
|
|
32
|
-
___
|
|
33
|
-
|
|
34
|
-
### fillSortKey
|
|
35
|
-
Name: `fillSortKey`
|
|
36
|
-
|
|
37
|
-
### Description
|
|
38
|
-
Sorts features in ascending order based on this value. Features with a higher sort key will appear above features with a lower sort key.
|
|
39
|
-
|
|
40
|
-
### Type
|
|
41
|
-
`number`
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
### Expression
|
|
45
|
-
|
|
46
|
-
Parameters: `zoom, feature`
|
|
47
|
-
|
|
48
|
-
___
|
|
49
|
-
|
|
50
|
-
### visibility
|
|
51
|
-
Name: `visibility`
|
|
52
|
-
|
|
53
|
-
### Description
|
|
54
|
-
Whether this layer is displayed.
|
|
55
|
-
|
|
56
|
-
### Type
|
|
57
|
-
`enum`
|
|
58
|
-
### Default Value
|
|
59
|
-
`visible`
|
|
60
|
-
|
|
61
|
-
### Supported Values
|
|
62
|
-
**visible** - The layer is shown.<br />
|
|
63
|
-
**none** - The layer is not shown.<br />
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
___
|
|
68
|
-
|
|
69
|
-
### fillAntialias
|
|
70
|
-
Name: `fillAntialias`
|
|
71
|
-
|
|
72
|
-
### Description
|
|
73
|
-
Whether or not the fill should be antialiased.
|
|
74
|
-
|
|
75
|
-
### Type
|
|
76
|
-
`boolean`
|
|
77
|
-
### Default Value
|
|
78
|
-
`true`
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
### Expression
|
|
82
|
-
|
|
83
|
-
Parameters: `zoom`
|
|
84
|
-
|
|
85
|
-
___
|
|
86
|
-
|
|
87
|
-
### fillOpacity
|
|
88
|
-
Name: `fillOpacity`
|
|
89
|
-
|
|
90
|
-
### Description
|
|
91
|
-
The opacity of the entire fill layer. In contrast to the `fillColor`, this value will also affect the 1px stroke around the fill, if the stroke is used.
|
|
92
|
-
|
|
93
|
-
### Type
|
|
94
|
-
`number`
|
|
95
|
-
### Default Value
|
|
96
|
-
`1`
|
|
97
|
-
|
|
98
|
-
### Minimum
|
|
99
|
-
`0`
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
### Maximum
|
|
103
|
-
`1`
|
|
104
|
-
|
|
105
|
-
### Expression
|
|
106
|
-
|
|
107
|
-
Parameters: `zoom, feature, feature-state`
|
|
108
|
-
___
|
|
109
|
-
|
|
110
|
-
### Name
|
|
111
|
-
|
|
112
|
-
`fillOpacityTransition`
|
|
113
|
-
|
|
114
|
-
### Description
|
|
115
|
-
|
|
116
|
-
The transition affecting any changes to this layer’s fillOpacity property.
|
|
117
|
-
|
|
118
|
-
### Type
|
|
119
|
-
|
|
120
|
-
`{ duration, delay }`
|
|
121
|
-
|
|
122
|
-
### Units
|
|
123
|
-
`milliseconds`
|
|
124
|
-
|
|
125
|
-
### Default Value
|
|
126
|
-
`{duration: 300, delay: 0}`
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
___
|
|
130
|
-
|
|
131
|
-
### fillColor
|
|
132
|
-
Name: `fillColor`
|
|
133
|
-
|
|
134
|
-
### Description
|
|
135
|
-
The color of the filled part of this layer. This color can be specified as `rgba` with an alpha component and the color's opacity will not affect the opacity of the 1px stroke, if it is used.
|
|
136
|
-
|
|
137
|
-
### Type
|
|
138
|
-
`color`
|
|
139
|
-
### Default Value
|
|
140
|
-
`#000000`
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
### Disabled By
|
|
144
|
-
`fillPattern`
|
|
145
|
-
|
|
146
|
-
### Expression
|
|
147
|
-
|
|
148
|
-
Parameters: `zoom, feature, feature-state`
|
|
149
|
-
___
|
|
150
|
-
|
|
151
|
-
### Name
|
|
152
|
-
|
|
153
|
-
`fillColorTransition`
|
|
154
|
-
|
|
155
|
-
### Description
|
|
156
|
-
|
|
157
|
-
The transition affecting any changes to this layer’s fillColor property.
|
|
158
|
-
|
|
159
|
-
### Type
|
|
160
|
-
|
|
161
|
-
`{ duration, delay }`
|
|
162
|
-
|
|
163
|
-
### Units
|
|
164
|
-
`milliseconds`
|
|
165
|
-
|
|
166
|
-
### Default Value
|
|
167
|
-
`{duration: 300, delay: 0}`
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
___
|
|
171
|
-
|
|
172
|
-
### fillOutlineColor
|
|
173
|
-
Name: `fillOutlineColor`
|
|
174
|
-
|
|
175
|
-
### Description
|
|
176
|
-
The outline color of the fill. Matches the value of `fillColor` if unspecified.
|
|
177
|
-
|
|
178
|
-
### Type
|
|
179
|
-
`color`
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
### Disabled By
|
|
183
|
-
`fillPattern`
|
|
184
|
-
|
|
185
|
-
### Expression
|
|
186
|
-
|
|
187
|
-
Parameters: `zoom, feature, feature-state`
|
|
188
|
-
___
|
|
189
|
-
|
|
190
|
-
### Name
|
|
191
|
-
|
|
192
|
-
`fillOutlineColorTransition`
|
|
193
|
-
|
|
194
|
-
### Description
|
|
195
|
-
|
|
196
|
-
The transition affecting any changes to this layer’s fillOutlineColor property.
|
|
197
|
-
|
|
198
|
-
### Type
|
|
199
|
-
|
|
200
|
-
`{ duration, delay }`
|
|
201
|
-
|
|
202
|
-
### Units
|
|
203
|
-
`milliseconds`
|
|
204
|
-
|
|
205
|
-
### Default Value
|
|
206
|
-
`{duration: 300, delay: 0}`
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
___
|
|
210
|
-
|
|
211
|
-
### fillTranslate
|
|
212
|
-
Name: `fillTranslate`
|
|
213
|
-
|
|
214
|
-
### Description
|
|
215
|
-
The geometry's offset. Values are [x, y] where negatives indicate left and up, respectively.
|
|
216
|
-
|
|
217
|
-
### Type
|
|
218
|
-
`array<number>`
|
|
219
|
-
### Default Value
|
|
220
|
-
`[0,0]`
|
|
221
|
-
|
|
222
|
-
### Units
|
|
223
|
-
`pixels`
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
### Expression
|
|
227
|
-
|
|
228
|
-
Parameters: `zoom`
|
|
229
|
-
___
|
|
230
|
-
|
|
231
|
-
### Name
|
|
232
|
-
|
|
233
|
-
`fillTranslateTransition`
|
|
234
|
-
|
|
235
|
-
### Description
|
|
236
|
-
|
|
237
|
-
The transition affecting any changes to this layer’s fillTranslate property.
|
|
238
|
-
|
|
239
|
-
### Type
|
|
240
|
-
|
|
241
|
-
`{ duration, delay }`
|
|
242
|
-
|
|
243
|
-
### Units
|
|
244
|
-
`milliseconds`
|
|
245
|
-
|
|
246
|
-
### Default Value
|
|
247
|
-
`{duration: 300, delay: 0}`
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
___
|
|
251
|
-
|
|
252
|
-
### fillTranslateAnchor
|
|
253
|
-
Name: `fillTranslateAnchor`
|
|
254
|
-
|
|
255
|
-
### Description
|
|
256
|
-
Controls the frame of reference for `fillTranslate`.
|
|
257
|
-
|
|
258
|
-
### Type
|
|
259
|
-
`enum`
|
|
260
|
-
### Default Value
|
|
261
|
-
`map`
|
|
262
|
-
|
|
263
|
-
### Supported Values
|
|
264
|
-
**map** - The fill is translated relative to the map.<br />
|
|
265
|
-
**viewport** - The fill is translated relative to the viewport.<br />
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
### Requires
|
|
269
|
-
`fillTranslate`
|
|
270
|
-
|
|
271
|
-
### Expression
|
|
272
|
-
|
|
273
|
-
Parameters: `zoom`
|
|
274
|
-
|
|
275
|
-
___
|
|
276
|
-
|
|
277
|
-
### fillPattern
|
|
278
|
-
Name: `fillPattern`
|
|
279
|
-
|
|
280
|
-
### Description
|
|
281
|
-
Name of image in sprite to use for drawing image fills. 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.
|
|
282
|
-
|
|
283
|
-
### Type
|
|
284
|
-
`resolvedImage`
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
### Expression
|
|
288
|
-
|
|
289
|
-
Parameters: `zoom, feature`
|
|
290
|
-
___
|
|
291
|
-
|
|
292
|
-
### Name
|
|
293
|
-
|
|
294
|
-
`fillPatternTransition`
|
|
295
|
-
|
|
296
|
-
### Description
|
|
297
|
-
|
|
298
|
-
The transition affecting any changes to this layer’s fillPattern property.
|
|
299
|
-
|
|
300
|
-
### Type
|
|
301
|
-
|
|
302
|
-
`{ duration, delay }`
|
|
303
|
-
|
|
304
|
-
### Units
|
|
305
|
-
`milliseconds`
|
|
306
|
-
|
|
307
|
-
### Default Value
|
|
308
|
-
`{duration: 300, delay: 0}`
|
|
309
|
-
|
|
310
|
-
|