@maplibre/maplibre-react-native 10.0.0-alpha.9 → 10.0.0-beta.2
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/LICENSE.md +2 -2
- package/README.md +51 -54
- package/android/build.gradle +51 -16
- package/android/src/main/AndroidManifest.xml +4 -0
- package/android/src/main/java/org/maplibre/reactnative/MLRNPackage.java +95 -0
- package/android/src/main/java/org/maplibre/reactnative/components/AbstractEvent.java +35 -0
- package/android/src/main/java/org/maplibre/reactnative/components/AbstractEventEmitter.java +84 -0
- package/android/src/main/java/org/maplibre/reactnative/components/AbstractMapFeature.java +15 -0
- package/android/src/main/java/org/maplibre/reactnative/components/annotation/MLRNCallout.java +11 -0
- package/android/src/main/java/org/maplibre/reactnative/components/annotation/MLRNCalloutManager.java +18 -0
- package/android/src/main/java/org/maplibre/reactnative/components/annotation/MLRNMarkerView.java +112 -0
- package/android/src/main/java/org/maplibre/reactnative/components/annotation/MLRNMarkerViewManager.java +45 -0
- package/android/src/main/java/org/maplibre/reactnative/components/annotation/MLRNPointAnnotation.java +361 -0
- package/android/src/main/java/org/maplibre/reactnative/components/annotation/MLRNPointAnnotationManager.java +84 -0
- package/android/src/main/java/org/maplibre/reactnative/components/annotation/MarkerView.java +23 -0
- package/android/src/main/java/org/maplibre/reactnative/components/annotation/MarkerViewManager.java +69 -0
- package/android/src/main/java/org/maplibre/reactnative/components/camera/CameraStop.java +245 -0
- package/android/src/main/java/org/maplibre/reactnative/components/camera/CameraUpdateItem.java +121 -0
- package/android/src/main/java/org/maplibre/reactnative/components/camera/CameraUpdateQueue.java +68 -0
- package/android/src/main/java/org/maplibre/reactnative/components/camera/MLRNCamera.java +530 -0
- package/android/src/main/java/org/maplibre/reactnative/components/camera/MLRNCameraManager.java +101 -0
- package/android/src/main/java/org/maplibre/reactnative/components/camera/constants/CameraMode.java +18 -0
- package/android/src/main/java/org/maplibre/reactnative/components/images/MLRNImages.java +234 -0
- package/android/src/main/java/org/maplibre/reactnative/components/images/MLRNImagesManager.java +103 -0
- package/android/src/main/java/org/maplibre/reactnative/components/location/LocationComponentManager.java +158 -0
- package/android/src/main/java/org/maplibre/reactnative/components/location/MLRNNativeUserLocation.java +76 -0
- package/android/src/main/java/org/maplibre/reactnative/components/location/MLRNNativeUserLocationManager.java +40 -0
- package/android/src/main/java/org/maplibre/reactnative/components/mapview/LayerSourceInfo.java +59 -0
- package/android/src/main/java/org/maplibre/reactnative/components/mapview/MLRNAndroidTextureMapView.java +13 -0
- package/android/src/main/java/org/maplibre/reactnative/components/mapview/MLRNAndroidTextureMapViewManager.java +27 -0
- package/android/src/main/java/org/maplibre/reactnative/components/mapview/MLRNMapView.java +1523 -0
- package/android/src/main/java/org/maplibre/reactnative/components/mapview/MLRNMapViewManager.java +349 -0
- package/android/src/main/java/org/maplibre/reactnative/components/mapview/helpers/CameraChangeTracker.java +37 -0
- package/android/src/main/java/org/maplibre/reactnative/components/styles/MLRNStyle.java +79 -0
- package/android/src/main/java/org/maplibre/reactnative/components/styles/MLRNStyleFactory.java +2286 -0
- package/android/src/main/java/org/maplibre/reactnative/components/styles/MLRNStyleFunctionParser.java +103 -0
- package/android/src/main/java/org/maplibre/reactnative/components/styles/MLRNStyleValue.java +208 -0
- package/android/src/main/java/org/maplibre/reactnative/components/styles/layers/MLRNBackgroundLayer.java +23 -0
- package/android/src/main/java/org/maplibre/reactnative/components/styles/layers/MLRNBackgroundLayerManager.java +60 -0
- package/android/src/main/java/org/maplibre/reactnative/components/styles/layers/MLRNCircleLayer.java +51 -0
- package/android/src/main/java/org/maplibre/reactnative/components/styles/layers/MLRNCircleLayerManager.java +73 -0
- package/android/src/main/java/org/maplibre/reactnative/components/styles/layers/MLRNFillExtrusionLayer.java +51 -0
- package/android/src/main/java/org/maplibre/reactnative/components/styles/layers/MLRNFillExtrusionLayerManager.java +76 -0
- package/android/src/main/java/org/maplibre/reactnative/components/styles/layers/MLRNFillLayer.java +51 -0
- package/android/src/main/java/org/maplibre/reactnative/components/styles/layers/MLRNFillLayerManager.java +76 -0
- package/android/src/main/java/org/maplibre/reactnative/components/styles/layers/MLRNHeatmapLayer.java +51 -0
- package/android/src/main/java/org/maplibre/reactnative/components/styles/layers/MLRNHeatmapLayerManager.java +73 -0
- package/android/src/main/java/org/maplibre/reactnative/components/styles/layers/MLRNLayer.java +283 -0
- package/android/src/main/java/org/maplibre/reactnative/components/styles/layers/MLRNLineLayer.java +51 -0
- package/android/src/main/java/org/maplibre/reactnative/components/styles/layers/MLRNLineLayerManager.java +75 -0
- package/android/src/main/java/org/maplibre/reactnative/components/styles/layers/MLRNRasterLayer.java +23 -0
- package/android/src/main/java/org/maplibre/reactnative/components/styles/layers/MLRNRasterLayerManager.java +60 -0
- package/android/src/main/java/org/maplibre/reactnative/components/styles/layers/MLRNSymbolLayer.java +51 -0
- package/android/src/main/java/org/maplibre/reactnative/components/styles/layers/MLRNSymbolLayerManager.java +71 -0
- package/android/src/main/java/org/maplibre/reactnative/components/styles/light/MLRNLight.java +61 -0
- package/android/src/main/java/org/maplibre/reactnative/components/styles/light/MLRNLightManager.java +25 -0
- package/android/src/main/java/org/maplibre/reactnative/components/styles/sources/MLRNImageSource.java +77 -0
- package/android/src/main/java/org/maplibre/reactnative/components/styles/sources/MLRNImageSourceManager.java +68 -0
- package/android/src/main/java/org/maplibre/reactnative/components/styles/sources/MLRNRasterSource.java +41 -0
- package/android/src/main/java/org/maplibre/reactnative/components/styles/sources/MLRNRasterSourceManager.java +39 -0
- package/android/src/main/java/org/maplibre/reactnative/components/styles/sources/MLRNShapeSource.java +312 -0
- package/android/src/main/java/org/maplibre/reactnative/components/styles/sources/MLRNShapeSourceManager.java +249 -0
- package/android/src/main/java/org/maplibre/reactnative/components/styles/sources/MLRNSource.java +240 -0
- package/android/src/main/java/org/maplibre/reactnative/components/styles/sources/MLRNTileSource.java +97 -0
- package/android/src/main/java/org/maplibre/reactnative/components/styles/sources/MLRNTileSourceManager.java +80 -0
- package/android/src/main/java/org/maplibre/reactnative/components/styles/sources/MLRNVectorSource.java +60 -0
- package/android/src/main/java/org/maplibre/reactnative/components/styles/sources/MLRNVectorSourceManager.java +80 -0
- package/android/src/main/java/org/maplibre/reactnative/events/AbstractEvent.java +62 -0
- package/android/src/main/java/org/maplibre/reactnative/events/AndroidCallbackEvent.java +34 -0
- package/android/src/main/java/org/maplibre/reactnative/events/EventEmitter.java +45 -0
- package/android/src/main/java/org/maplibre/reactnative/events/FeatureClickEvent.java +75 -0
- package/android/src/main/java/org/maplibre/reactnative/events/IEvent.java +14 -0
- package/android/src/main/java/org/maplibre/reactnative/events/ImageMissingEvent.java +42 -0
- package/android/src/main/java/org/maplibre/reactnative/events/LocationEvent.java +100 -0
- package/android/src/main/java/org/maplibre/reactnative/events/MapChangeEvent.java +43 -0
- package/android/src/main/java/org/maplibre/reactnative/events/MapClickEvent.java +47 -0
- package/android/src/main/java/org/maplibre/reactnative/events/MapUserTrackingModeEvent.java +32 -0
- package/android/src/main/java/org/maplibre/reactnative/events/OfflineEvent.java +25 -0
- package/android/src/main/java/org/maplibre/reactnative/events/PointAnnotationClickEvent.java +42 -0
- package/android/src/main/java/org/maplibre/reactnative/events/PointAnnotationDragEvent.java +51 -0
- package/android/src/main/java/org/maplibre/reactnative/events/constants/EventKeys.java +35 -0
- package/android/src/main/java/org/maplibre/reactnative/events/constants/EventTypes.java +47 -0
- package/android/src/main/java/org/maplibre/reactnative/http/CustomHeadersInterceptor.java +38 -0
- package/android/src/main/java/org/maplibre/reactnative/location/LocationManager.java +164 -0
- package/android/src/main/java/org/maplibre/reactnative/location/UserLocation.java +59 -0
- package/android/src/main/java/org/maplibre/reactnative/location/UserLocationVerticalAlignment.java +7 -0
- package/android/src/main/java/org/maplibre/reactnative/location/UserTrackingMode.java +59 -0
- package/android/src/main/java/org/maplibre/reactnative/location/UserTrackingState.java +15 -0
- package/android/src/main/java/org/maplibre/reactnative/modules/MLRNLocationModule.java +158 -0
- package/android/src/main/java/org/maplibre/reactnative/modules/MLRNLogging.java +140 -0
- package/android/src/main/java/org/maplibre/reactnative/modules/MLRNModule.java +344 -0
- package/android/src/main/java/org/maplibre/reactnative/modules/MLRNOfflineModule.java +588 -0
- package/android/src/main/java/org/maplibre/reactnative/modules/MLRNSnapshotModule.java +135 -0
- package/android/src/main/java/org/maplibre/reactnative/utils/BitmapUtils.java +125 -0
- package/android/src/main/java/org/maplibre/reactnative/utils/ClusterPropertyEntry.java +13 -0
- package/android/src/main/java/org/maplibre/reactnative/utils/ConvertUtils.java +253 -0
- package/android/src/main/java/org/maplibre/reactnative/utils/DownloadMapImageTask.java +155 -0
- package/android/src/main/java/org/maplibre/reactnative/utils/ExpressionParser.java +74 -0
- package/android/src/main/java/org/maplibre/reactnative/utils/GeoJSONUtils.java +205 -0
- package/android/src/main/java/org/maplibre/reactnative/utils/GeoViewport.java +37 -0
- package/android/src/main/java/org/maplibre/reactnative/utils/ImageEntry.java +25 -0
- package/android/src/main/java/org/maplibre/reactnative/utils/ResourceUtils.java +26 -0
- package/android/src/main/java/org/maplibre/reactnative/utils/SimpleEventCallback.java +26 -0
- package/android/src/main/java/org/maplibre/reactnative/utils/SphericalMercator.java +68 -0
- package/android/src/main/res/values/strings.xml +3 -0
- package/app.plugin.js +1 -1
- package/ios/MLRN/CameraMode.h +10 -0
- package/ios/MLRN/CameraMode.m +10 -0
- package/ios/MLRN/CameraStop.h +18 -0
- package/ios/MLRN/CameraStop.m +75 -0
- package/ios/MLRN/CameraUpdateItem.h +10 -0
- package/ios/MLRN/CameraUpdateItem.m +169 -0
- package/ios/MLRN/CameraUpdateQueue.h +13 -0
- package/ios/MLRN/CameraUpdateQueue.m +66 -0
- package/ios/MLRN/FilterParser.h +7 -0
- package/ios/MLRN/FilterParser.m +14 -0
- package/ios/MLRN/MLRN.h +5 -0
- package/ios/MLRN/MLRN.m +5 -0
- package/ios/MLRN/MLRNBackgroundLayer.h +6 -0
- package/ios/MLRN/MLRNBackgroundLayer.m +19 -0
- package/ios/MLRN/MLRNBackgroundLayerManager.h +5 -0
- package/ios/MLRN/MLRNBackgroundLayerManager.m +27 -0
- package/ios/MLRN/MLRNCallout.h +7 -0
- package/ios/MLRN/MLRNCallout.m +66 -0
- package/ios/MLRN/MLRNCalloutManager.h +5 -0
- package/ios/MLRN/MLRNCalloutManager.m +13 -0
- package/ios/MLRN/MLRNCamera.h +29 -0
- package/ios/MLRN/MLRNCamera.m +250 -0
- package/ios/MLRN/MLRNCameraManager.h +5 -0
- package/ios/MLRN/MLRNCameraManager.m +41 -0
- package/ios/MLRN/MLRNCircleLayer.h +5 -0
- package/ios/MLRN/MLRNCircleLayer.m +26 -0
- package/ios/MLRN/MLRNCircleLayerManager.h +5 -0
- package/ios/MLRN/MLRNCircleLayerManager.m +31 -0
- package/ios/MLRN/MLRNCustomHeaders.h +20 -0
- package/ios/MLRN/MLRNCustomHeaders.m +98 -0
- package/ios/MLRN/MLRNEvent.h +13 -0
- package/ios/MLRN/MLRNEvent.m +39 -0
- package/ios/MLRN/MLRNEventProtocol.h +8 -0
- package/ios/MLRN/MLRNEventTypes.h +42 -0
- package/ios/MLRN/MLRNEventTypes.m +41 -0
- package/ios/MLRN/MLRNFillExtrusionLayer.h +6 -0
- package/ios/MLRN/MLRNFillExtrusionLayer.m +24 -0
- package/ios/MLRN/MLRNFillExtrusionLayerManager.h +5 -0
- package/ios/MLRN/MLRNFillExtrusionLayerManager.m +31 -0
- package/ios/MLRN/MLRNFillLayer.h +6 -0
- package/ios/MLRN/MLRNFillLayer.m +25 -0
- package/ios/MLRN/MLRNFillLayerManager.h +5 -0
- package/ios/MLRN/MLRNFillLayerManager.m +29 -0
- package/ios/MLRN/MLRNHeatmapLayer.h +5 -0
- package/ios/MLRN/MLRNHeatmapLayer.m +24 -0
- package/ios/MLRN/MLRNHeatmapLayerManager.h +5 -0
- package/ios/MLRN/MLRNHeatmapLayerManager.m +31 -0
- package/ios/MLRN/MLRNImageQueue.h +11 -0
- package/ios/MLRN/MLRNImageQueue.m +49 -0
- package/ios/MLRN/MLRNImageQueueOperation.h +10 -0
- package/ios/MLRN/MLRNImageQueueOperation.m +130 -0
- package/ios/MLRN/MLRNImageSource.h +8 -0
- package/ios/MLRN/MLRNImageSource.m +52 -0
- package/ios/MLRN/MLRNImageSourceManager.h +5 -0
- package/ios/MLRN/MLRNImageSourceManager.m +17 -0
- package/ios/MLRN/MLRNImageUtils.h +9 -0
- package/ios/MLRN/MLRNImageUtils.m +23 -0
- package/ios/MLRN/MLRNImages.h +25 -0
- package/ios/MLRN/MLRNImages.m +126 -0
- package/ios/MLRN/MLRNImagesManager.h +5 -0
- package/ios/MLRN/MLRNImagesManager.m +21 -0
- package/ios/MLRN/MLRNLayer.h +44 -0
- package/ios/MLRN/MLRNLayer.m +228 -0
- package/ios/MLRN/MLRNLight.h +9 -0
- package/ios/MLRN/MLRNLight.m +38 -0
- package/ios/MLRN/MLRNLightManager.h +5 -0
- package/ios/MLRN/MLRNLightManager.m +15 -0
- package/ios/MLRN/MLRNLineLayer.h +6 -0
- package/ios/MLRN/MLRNLineLayer.m +25 -0
- package/ios/MLRN/MLRNLineLayerManager.h +5 -0
- package/ios/MLRN/MLRNLineLayerManager.m +32 -0
- package/ios/MLRN/MLRNLocation.h +11 -0
- package/ios/MLRN/MLRNLocation.m +24 -0
- package/ios/MLRN/MLRNLocationManager.h +22 -0
- package/ios/MLRN/MLRNLocationManager.m +172 -0
- package/ios/MLRN/MLRNLocationManagerDelegate.h +12 -0
- package/ios/MLRN/MLRNLocationModule.h +7 -0
- package/ios/MLRN/MLRNLocationModule.m +91 -0
- package/ios/MLRN/MLRNLogging.h +18 -0
- package/ios/MLRN/MLRNLogging.m +132 -0
- package/ios/MLRN/MLRNMapTouchEvent.h +17 -0
- package/ios/MLRN/MLRNMapTouchEvent.m +69 -0
- package/ios/MLRN/MLRNMapView.h +83 -0
- package/ios/MLRN/MLRNMapView.m +528 -0
- package/ios/MLRN/MLRNMapViewManager.h +9 -0
- package/ios/MLRN/MLRNMapViewManager.m +617 -0
- package/ios/MLRN/MLRNModule.h +5 -0
- package/ios/MLRN/MLRNModule.m +261 -0
- package/ios/MLRN/MLRNNativeUserLocation.h +11 -0
- package/ios/MLRN/MLRNNativeUserLocation.m +41 -0
- package/ios/MLRN/MLRNNativeUserLocationManager.h +5 -0
- package/ios/MLRN/MLRNNativeUserLocationManager.m +25 -0
- package/ios/MLRN/MLRNOfflineModule.h +11 -0
- package/ios/MLRN/MLRNOfflineModule.m +529 -0
- package/ios/MLRN/MLRNPointAnnotation.h +33 -0
- package/ios/MLRN/MLRNPointAnnotation.m +243 -0
- package/ios/MLRN/MLRNPointAnnotationManager.h +5 -0
- package/ios/MLRN/MLRNPointAnnotationManager.m +28 -0
- package/ios/MLRN/MLRNRasterLayer.h +6 -0
- package/ios/MLRN/MLRNRasterLayer.m +22 -0
- package/ios/MLRN/MLRNRasterLayerManager.h +5 -0
- package/ios/MLRN/MLRNRasterLayerManager.m +27 -0
- package/ios/MLRN/MLRNRasterSource.h +8 -0
- package/ios/MLRN/MLRNRasterSource.m +27 -0
- package/ios/MLRN/MLRNRasterSourceManager.h +5 -0
- package/ios/MLRN/MLRNRasterSourceManager.m +24 -0
- package/ios/MLRN/MLRNShapeSource.h +45 -0
- package/ios/MLRN/MLRNShapeSource.m +186 -0
- package/ios/MLRN/MLRNShapeSourceManager.h +6 -0
- package/ios/MLRN/MLRNShapeSourceManager.m +199 -0
- package/ios/MLRN/MLRNSnapshotModule.h +5 -0
- package/ios/MLRN/MLRNSnapshotModule.m +72 -0
- package/ios/MLRN/MLRNSource.h +27 -0
- package/ios/MLRN/MLRNSource.m +135 -0
- package/ios/MLRN/MLRNStyle.h +223 -0
- package/ios/MLRN/MLRNStyle.m +1682 -0
- package/ios/MLRN/MLRNStyleValue.h +19 -0
- package/ios/MLRN/MLRNStyleValue.m +159 -0
- package/ios/MLRN/MLRNSymbolLayer.h +11 -0
- package/ios/MLRN/MLRNSymbolLayer.m +113 -0
- package/ios/MLRN/MLRNSymbolLayerManager.h +5 -0
- package/ios/MLRN/MLRNSymbolLayerManager.m +32 -0
- package/ios/MLRN/MLRNTileSource.h +22 -0
- package/ios/MLRN/MLRNTileSource.m +31 -0
- package/ios/MLRN/MLRNUserLocation.h +15 -0
- package/ios/MLRN/MLRNUserLocation.m +38 -0
- package/ios/MLRN/MLRNUtils.h +23 -0
- package/ios/MLRN/MLRNUtils.m +210 -0
- package/ios/MLRN/MLRNVectorLayer.h +7 -0
- package/ios/MLRN/MLRNVectorLayer.m +51 -0
- package/ios/MLRN/MLRNVectorSource.h +8 -0
- package/ios/MLRN/MLRNVectorSource.m +20 -0
- package/ios/MLRN/MLRNVectorSourceManager.h +6 -0
- package/ios/MLRN/MLRNVectorSourceManager.m +71 -0
- package/ios/MLRN/ViewManager.h +8 -0
- package/ios/MLRN/ViewManager.m +55 -0
- package/ios/MLRN.xcodeproj/project.pbxproj +1 -0
- package/lib/commonjs/MLRNModule.js +27 -0
- package/lib/commonjs/MLRNModule.js.map +1 -0
- package/lib/commonjs/MapLibreRN.js +281 -0
- package/lib/commonjs/MapLibreRN.js.map +1 -0
- package/lib/commonjs/assets/png.d.js +2 -0
- package/lib/commonjs/assets/png.d.js.map +1 -0
- package/lib/commonjs/components/Annotation.js +109 -0
- package/lib/commonjs/components/Annotation.js.map +1 -0
- package/lib/commonjs/components/BackgroundLayer.js +33 -0
- package/lib/commonjs/components/BackgroundLayer.js.map +1 -0
- package/lib/commonjs/components/Callout.js +101 -0
- package/lib/commonjs/components/Callout.js.map +1 -0
- package/lib/commonjs/components/Camera.js +285 -0
- package/lib/commonjs/components/Camera.js.map +1 -0
- package/lib/commonjs/components/CircleLayer.js +37 -0
- package/lib/commonjs/components/CircleLayer.js.map +1 -0
- package/lib/commonjs/components/FillExtrusionLayer.js +36 -0
- package/lib/commonjs/components/FillExtrusionLayer.js.map +1 -0
- package/lib/commonjs/components/FillLayer.js +36 -0
- package/lib/commonjs/components/FillLayer.js.map +1 -0
- package/lib/commonjs/components/HeadingIndicator.js +28 -0
- package/lib/commonjs/components/HeadingIndicator.js.map +1 -0
- package/lib/commonjs/components/HeatmapLayer.js +35 -0
- package/lib/commonjs/components/HeatmapLayer.js.map +1 -0
- package/lib/commonjs/components/ImageSource.js +42 -0
- package/lib/commonjs/components/ImageSource.js.map +1 -0
- package/lib/commonjs/components/Images.js +80 -0
- package/lib/commonjs/components/Images.js.map +1 -0
- package/lib/commonjs/components/Light.js +32 -0
- package/lib/commonjs/components/Light.js.map +1 -0
- package/lib/commonjs/components/LineLayer.js +36 -0
- package/lib/commonjs/components/LineLayer.js.map +1 -0
- package/lib/commonjs/components/MapView.js +463 -0
- package/lib/commonjs/components/MapView.js.map +1 -0
- package/lib/commonjs/components/MarkerView.js +61 -0
- package/lib/commonjs/components/MarkerView.js.map +1 -0
- package/lib/commonjs/components/NativeUserLocation.js +17 -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/RasterLayer.js +32 -0
- package/lib/commonjs/components/RasterLayer.js.map +1 -0
- package/lib/commonjs/components/RasterSource.js +67 -0
- package/lib/commonjs/components/RasterSource.js.map +1 -0
- package/lib/commonjs/components/ShapeSource.js +203 -0
- package/lib/commonjs/components/ShapeSource.js.map +1 -0
- package/lib/commonjs/components/Style.js +266 -0
- package/lib/commonjs/components/Style.js.map +1 -0
- package/lib/commonjs/components/SymbolLayer.js +53 -0
- package/lib/commonjs/components/SymbolLayer.js.map +1 -0
- package/lib/commonjs/components/UserLocation.js +188 -0
- package/lib/commonjs/components/UserLocation.js.map +1 -0
- package/lib/commonjs/components/VectorSource.js +129 -0
- package/lib/commonjs/components/VectorSource.js.map +1 -0
- package/lib/commonjs/hooks/useAbstractLayer.js +53 -0
- package/lib/commonjs/hooks/useAbstractLayer.js.map +1 -0
- package/lib/commonjs/hooks/useAbstractSource.js +24 -0
- package/lib/commonjs/hooks/useAbstractSource.js.map +1 -0
- package/lib/commonjs/hooks/useNativeBridge.js +84 -0
- package/lib/commonjs/hooks/useNativeBridge.js.map +1 -0
- package/lib/commonjs/hooks/useNativeRef.js +14 -0
- package/lib/commonjs/hooks/useNativeRef.js.map +1 -0
- package/lib/commonjs/hooks/useOnce.js +16 -0
- package/lib/commonjs/hooks/useOnce.js.map +1 -0
- package/lib/commonjs/index.js +23 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/modules/location/locationManager.js +91 -0
- package/lib/commonjs/modules/location/locationManager.js.map +1 -0
- package/lib/commonjs/modules/offline/OfflineCreatePackOptions.js +37 -0
- package/lib/commonjs/modules/offline/OfflineCreatePackOptions.js.map +1 -0
- package/lib/commonjs/modules/offline/OfflinePack.js +40 -0
- package/lib/commonjs/modules/offline/OfflinePack.js.map +1 -0
- package/lib/commonjs/modules/offline/offlineManager.js +346 -0
- package/lib/commonjs/modules/offline/offlineManager.js.map +1 -0
- package/lib/commonjs/modules/snapshot/SnapshotOptions.js +58 -0
- package/lib/commonjs/modules/snapshot/SnapshotOptions.js.map +1 -0
- package/lib/commonjs/modules/snapshot/snapshotManager.js +66 -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/BaseProps.js +2 -0
- package/lib/commonjs/types/BaseProps.js.map +1 -0
- package/lib/commonjs/types/CameraMode.js +14 -0
- package/lib/commonjs/types/CameraMode.js.map +1 -0
- package/lib/commonjs/types/MapLibreRNEvent.js +6 -0
- package/lib/commonjs/types/MapLibreRNEvent.js.map +1 -0
- package/lib/commonjs/types/OnPressEvent.js +2 -0
- package/lib/commonjs/types/OnPressEvent.js.map +1 -0
- package/lib/commonjs/types/StyleURL.js +11 -0
- package/lib/commonjs/types/StyleURL.js.map +1 -0
- package/lib/commonjs/utils/BridgeValue.js +59 -0
- package/lib/commonjs/utils/BridgeValue.js.map +1 -0
- package/lib/commonjs/utils/Logger.js +116 -0
- package/lib/commonjs/utils/Logger.js.map +1 -0
- package/lib/commonjs/utils/MapLibreRNStyles.d.js +181 -0
- package/lib/commonjs/utils/MapLibreRNStyles.d.js.map +1 -0
- package/lib/commonjs/utils/StyleValue.js +39 -0
- package/lib/commonjs/utils/StyleValue.js.map +1 -0
- package/lib/commonjs/utils/animated/AbstractAnimatedCoordinates.js +95 -0
- package/lib/commonjs/utils/animated/AbstractAnimatedCoordinates.js.map +1 -0
- package/lib/commonjs/utils/animated/Animated.js +47 -0
- package/lib/commonjs/utils/animated/Animated.js.map +1 -0
- package/lib/commonjs/utils/animated/AnimatedCoordinatesArray.js +92 -0
- package/lib/commonjs/utils/animated/AnimatedCoordinatesArray.js.map +1 -0
- package/lib/commonjs/utils/animated/AnimatedExtractCoordinateFromArray.js +40 -0
- package/lib/commonjs/utils/animated/AnimatedExtractCoordinateFromArray.js.map +1 -0
- package/lib/commonjs/utils/animated/AnimatedPoint.js +111 -0
- package/lib/commonjs/utils/animated/AnimatedPoint.js.map +1 -0
- package/lib/commonjs/utils/animated/AnimatedRouteCoordinatesArray.js +137 -0
- package/lib/commonjs/utils/animated/AnimatedRouteCoordinatesArray.js.map +1 -0
- package/lib/commonjs/utils/animated/AnimatedShape.js +75 -0
- package/lib/commonjs/utils/animated/AnimatedShape.js.map +1 -0
- package/lib/commonjs/utils/deprecation.js +31 -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/index.js +84 -0
- package/lib/commonjs/utils/index.js.map +1 -0
- package/lib/commonjs/utils/makeNativeBounds.js +11 -0
- package/lib/commonjs/utils/makeNativeBounds.js.map +1 -0
- package/lib/commonjs/utils/styleMap.js +255 -0
- package/lib/commonjs/utils/styleMap.js.map +1 -0
- package/lib/module/MLRNModule.js +15 -0
- package/lib/module/MLRNModule.js.map +1 -0
- package/lib/module/MapLibreRN.js +37 -0
- package/lib/module/MapLibreRN.js.map +1 -0
- package/lib/module/assets/heading.png +0 -0
- package/lib/module/assets/heading@2x.png +0 -0
- package/lib/module/assets/heading@3x.png +0 -0
- package/lib/module/assets/png.d.js +2 -0
- package/lib/module/assets/png.d.js.map +1 -0
- package/lib/module/components/Annotation.js +104 -0
- package/lib/module/components/Annotation.js.map +1 -0
- package/lib/module/components/BackgroundLayer.js +28 -0
- package/lib/module/components/BackgroundLayer.js.map +1 -0
- package/lib/module/components/Callout.js +97 -0
- package/lib/module/components/Callout.js.map +1 -0
- package/lib/module/components/Camera.js +280 -0
- package/lib/module/components/Camera.js.map +1 -0
- package/lib/module/components/CircleLayer.js +32 -0
- package/lib/module/components/CircleLayer.js.map +1 -0
- package/lib/module/components/FillExtrusionLayer.js +31 -0
- package/lib/module/components/FillExtrusionLayer.js.map +1 -0
- package/lib/module/components/FillLayer.js +31 -0
- package/lib/module/components/FillLayer.js.map +1 -0
- package/lib/module/components/HeadingIndicator.js +23 -0
- package/lib/module/components/HeadingIndicator.js.map +1 -0
- package/lib/module/components/HeatmapLayer.js +30 -0
- package/lib/module/components/HeatmapLayer.js.map +1 -0
- package/lib/module/components/ImageSource.js +37 -0
- package/lib/module/components/ImageSource.js.map +1 -0
- package/lib/module/components/Images.js +76 -0
- package/lib/module/components/Images.js.map +1 -0
- package/lib/module/components/Light.js +27 -0
- package/lib/module/components/Light.js.map +1 -0
- package/lib/module/components/LineLayer.js +31 -0
- package/lib/module/components/LineLayer.js.map +1 -0
- package/lib/module/components/MapView.js +458 -0
- package/lib/module/components/MapView.js.map +1 -0
- package/lib/module/components/MarkerView.js +56 -0
- package/lib/module/components/MarkerView.js.map +1 -0
- package/lib/module/components/NativeUserLocation.js +13 -0
- package/lib/module/components/NativeUserLocation.js.map +1 -0
- package/lib/module/components/PointAnnotation.js +116 -0
- package/lib/module/components/PointAnnotation.js.map +1 -0
- package/lib/module/components/RasterLayer.js +27 -0
- package/lib/module/components/RasterLayer.js.map +1 -0
- package/lib/module/components/RasterSource.js +62 -0
- package/lib/module/components/RasterSource.js.map +1 -0
- package/lib/module/components/ShapeSource.js +198 -0
- package/lib/module/components/ShapeSource.js.map +1 -0
- package/lib/module/components/Style.js +261 -0
- package/lib/module/components/Style.js.map +1 -0
- package/lib/module/components/SymbolLayer.js +48 -0
- package/lib/module/components/SymbolLayer.js.map +1 -0
- package/lib/module/components/UserLocation.js +182 -0
- package/lib/module/components/UserLocation.js.map +1 -0
- package/lib/module/components/VectorSource.js +124 -0
- package/lib/module/components/VectorSource.js.map +1 -0
- package/lib/module/hooks/useAbstractLayer.js +49 -0
- package/lib/module/hooks/useAbstractLayer.js.map +1 -0
- package/lib/module/hooks/useAbstractSource.js +20 -0
- package/lib/module/hooks/useAbstractSource.js.map +1 -0
- package/lib/module/hooks/useNativeBridge.js +80 -0
- package/lib/module/hooks/useNativeBridge.js.map +1 -0
- package/lib/module/hooks/useNativeRef.js +10 -0
- package/lib/module/hooks/useNativeRef.js.map +1 -0
- package/lib/module/hooks/useOnce.js +12 -0
- package/lib/module/hooks/useOnce.js.map +1 -0
- package/lib/module/index.js +6 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/modules/location/locationManager.js +87 -0
- package/lib/module/modules/location/locationManager.js.map +1 -0
- package/lib/module/modules/offline/OfflineCreatePackOptions.js +33 -0
- package/lib/module/modules/offline/OfflineCreatePackOptions.js.map +1 -0
- package/lib/module/modules/offline/OfflinePack.js +36 -0
- package/lib/module/modules/offline/OfflinePack.js.map +1 -0
- package/lib/module/modules/offline/offlineManager.js +341 -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 +61 -0
- package/lib/module/modules/snapshot/snapshotManager.js.map +1 -0
- package/lib/module/requestAndroidLocationPermissions.js +21 -0
- package/lib/module/requestAndroidLocationPermissions.js.map +1 -0
- package/lib/module/types/BaseProps.js +2 -0
- package/lib/module/types/BaseProps.js.map +1 -0
- package/lib/module/types/CameraMode.js +10 -0
- package/lib/module/types/CameraMode.js.map +1 -0
- package/lib/module/types/MapLibreRNEvent.js +4 -0
- package/lib/module/types/MapLibreRNEvent.js.map +1 -0
- package/lib/module/types/OnPressEvent.js +2 -0
- package/lib/module/types/OnPressEvent.js.map +1 -0
- package/lib/module/types/StyleURL.js +7 -0
- package/lib/module/types/StyleURL.js.map +1 -0
- package/lib/module/utils/BridgeValue.js +54 -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/MapLibreRNStyles.d.js +180 -0
- package/lib/module/utils/MapLibreRNStyles.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/AbstractAnimatedCoordinates.js +92 -0
- package/lib/module/utils/animated/AbstractAnimatedCoordinates.js.map +1 -0
- package/lib/module/utils/animated/Animated.js +42 -0
- package/lib/module/utils/animated/Animated.js.map +1 -0
- package/lib/module/utils/animated/AnimatedCoordinatesArray.js +87 -0
- package/lib/module/utils/animated/AnimatedCoordinatesArray.js.map +1 -0
- package/lib/module/utils/animated/AnimatedExtractCoordinateFromArray.js +36 -0
- package/lib/module/utils/animated/AnimatedExtractCoordinateFromArray.js.map +1 -0
- package/lib/module/utils/animated/AnimatedPoint.js +107 -0
- package/lib/module/utils/animated/AnimatedPoint.js.map +1 -0
- package/lib/module/utils/animated/AnimatedRouteCoordinatesArray.js +131 -0
- package/lib/module/utils/animated/AnimatedRouteCoordinatesArray.js.map +1 -0
- package/lib/module/utils/animated/AnimatedShape.js +71 -0
- package/lib/module/utils/animated/AnimatedShape.js.map +1 -0
- package/lib/module/utils/deprecation.js +27 -0
- package/lib/module/utils/deprecation.js.map +1 -0
- package/lib/module/utils/filterUtils.js +9 -0
- package/lib/module/utils/filterUtils.js.map +1 -0
- package/lib/module/utils/index.js +69 -0
- package/lib/module/utils/index.js.map +1 -0
- package/lib/module/utils/makeNativeBounds.js +7 -0
- package/lib/module/utils/makeNativeBounds.js.map +1 -0
- package/lib/module/utils/styleMap.js +249 -0
- package/lib/module/utils/styleMap.js.map +1 -0
- package/lib/typescript/commonjs/jest.config.d.ts +2 -0
- package/lib/typescript/commonjs/jest.config.d.ts.map +1 -0
- package/lib/typescript/commonjs/package.json +1 -0
- package/lib/typescript/commonjs/src/MLRNModule.d.ts +21 -0
- package/lib/typescript/commonjs/src/MLRNModule.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/MapLibreRN.d.ts +42 -0
- package/lib/typescript/commonjs/src/MapLibreRN.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Annotation.d.ts +21 -0
- package/lib/typescript/commonjs/src/components/Annotation.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/BackgroundLayer.d.ts +14 -0
- package/lib/typescript/commonjs/src/components/BackgroundLayer.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Callout.d.ts +35 -0
- package/lib/typescript/commonjs/src/components/Callout.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Camera.d.ts +134 -0
- package/lib/typescript/commonjs/src/components/Camera.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/CircleLayer.d.ts +17 -0
- package/lib/typescript/commonjs/src/components/CircleLayer.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/FillExtrusionLayer.d.ts +17 -0
- package/lib/typescript/commonjs/src/components/FillExtrusionLayer.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/FillLayer.d.ts +17 -0
- package/lib/typescript/commonjs/src/components/FillLayer.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/HeadingIndicator.d.ts +8 -0
- package/lib/typescript/commonjs/src/components/HeadingIndicator.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/HeatmapLayer.d.ts +17 -0
- package/lib/typescript/commonjs/src/components/HeatmapLayer.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/ImageSource.d.ts +31 -0
- package/lib/typescript/commonjs/src/components/ImageSource.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Images.d.ts +33 -0
- package/lib/typescript/commonjs/src/components/Images.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Light.d.ts +17 -0
- package/lib/typescript/commonjs/src/components/Light.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/LineLayer.d.ts +17 -0
- package/lib/typescript/commonjs/src/components/LineLayer.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/MapView.d.ts +235 -0
- package/lib/typescript/commonjs/src/components/MapView.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/MarkerView.d.ts +44 -0
- package/lib/typescript/commonjs/src/components/MarkerView.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/NativeUserLocation.d.ts +26 -0
- package/lib/typescript/commonjs/src/components/NativeUserLocation.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/PointAnnotation.d.ts +91 -0
- package/lib/typescript/commonjs/src/components/PointAnnotation.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/RasterLayer.d.ts +14 -0
- package/lib/typescript/commonjs/src/components/RasterLayer.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/RasterSource.d.ts +53 -0
- package/lib/typescript/commonjs/src/components/RasterSource.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/ShapeSource.d.ts +124 -0
- package/lib/typescript/commonjs/src/components/ShapeSource.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Style.d.ts +81 -0
- package/lib/typescript/commonjs/src/components/Style.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/SymbolLayer.d.ts +22 -0
- package/lib/typescript/commonjs/src/components/SymbolLayer.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/UserLocation.d.ts +70 -0
- package/lib/typescript/commonjs/src/components/UserLocation.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/VectorSource.d.ts +70 -0
- package/lib/typescript/commonjs/src/components/VectorSource.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/hooks/useAbstractLayer.d.ts +62 -0
- package/lib/typescript/commonjs/src/hooks/useAbstractLayer.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/hooks/useAbstractSource.d.ts +7 -0
- package/lib/typescript/commonjs/src/hooks/useAbstractSource.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/hooks/useNativeBridge.d.ts +21 -0
- package/lib/typescript/commonjs/src/hooks/useNativeBridge.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/hooks/useNativeRef.d.ts +8 -0
- package/lib/typescript/commonjs/src/hooks/useNativeRef.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/hooks/useOnce.d.ts +3 -0
- package/lib/typescript/commonjs/src/hooks/useOnce.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/index.d.ts +4 -0
- package/lib/typescript/commonjs/src/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/location/locationManager.d.ts +64 -0
- package/lib/typescript/commonjs/src/modules/location/locationManager.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/offline/OfflineCreatePackOptions.d.ts +21 -0
- package/lib/typescript/commonjs/src/modules/offline/OfflineCreatePackOptions.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/offline/OfflinePack.d.ts +24 -0
- package/lib/typescript/commonjs/src/modules/offline/OfflinePack.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/offline/offlineManager.d.ts +210 -0
- package/lib/typescript/commonjs/src/modules/offline/offlineManager.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/snapshot/SnapshotOptions.d.ts +42 -0
- package/lib/typescript/commonjs/src/modules/snapshot/SnapshotOptions.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/snapshot/snapshotManager.d.ts +52 -0
- package/lib/typescript/commonjs/src/modules/snapshot/snapshotManager.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/requestAndroidLocationPermissions.d.ts +2 -0
- package/lib/typescript/commonjs/src/requestAndroidLocationPermissions.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/BaseProps.d.ts +4 -0
- package/lib/typescript/commonjs/src/types/BaseProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/CameraMode.d.ts +7 -0
- package/lib/typescript/commonjs/src/types/CameraMode.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/MapLibreRNEvent.d.ts +6 -0
- package/lib/typescript/commonjs/src/types/MapLibreRNEvent.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/OnPressEvent.d.ts +12 -0
- package/lib/typescript/commonjs/src/types/OnPressEvent.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/StyleURL.d.ts +4 -0
- package/lib/typescript/commonjs/src/types/StyleURL.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/BridgeValue.d.ts +29 -0
- package/lib/typescript/commonjs/src/utils/BridgeValue.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/Logger.d.ts +52 -0
- package/lib/typescript/commonjs/src/utils/Logger.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/StyleValue.d.ts +10 -0
- package/lib/typescript/commonjs/src/utils/StyleValue.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/animated/AbstractAnimatedCoordinates.d.ts +37 -0
- package/lib/typescript/commonjs/src/utils/animated/AbstractAnimatedCoordinates.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/animated/Animated.d.ts +33 -0
- package/lib/typescript/commonjs/src/utils/animated/Animated.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/animated/AnimatedCoordinatesArray.d.ts +40 -0
- package/lib/typescript/commonjs/src/utils/animated/AnimatedCoordinatesArray.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/animated/AnimatedExtractCoordinateFromArray.d.ts +12 -0
- package/lib/typescript/commonjs/src/utils/animated/AnimatedExtractCoordinateFromArray.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/animated/AnimatedPoint.d.ts +32 -0
- package/lib/typescript/commonjs/src/utils/animated/AnimatedPoint.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/animated/AnimatedRouteCoordinatesArray.d.ts +54 -0
- package/lib/typescript/commonjs/src/utils/animated/AnimatedRouteCoordinatesArray.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/animated/AnimatedShape.d.ts +28 -0
- package/lib/typescript/commonjs/src/utils/animated/AnimatedShape.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/deprecation.d.ts +6 -0
- package/lib/typescript/commonjs/src/utils/deprecation.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/filterUtils.d.ts +3 -0
- package/lib/typescript/commonjs/src/utils/filterUtils.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/index.d.ts +20 -0
- package/lib/typescript/commonjs/src/utils/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/makeNativeBounds.d.ts +2 -0
- package/lib/typescript/commonjs/src/utils/makeNativeBounds.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/styleMap.d.ts +231 -0
- package/lib/typescript/commonjs/src/utils/styleMap.d.ts.map +1 -0
- package/lib/typescript/module/jest.config.d.ts +2 -0
- package/lib/typescript/module/jest.config.d.ts.map +1 -0
- package/lib/typescript/module/package.json +1 -0
- package/lib/typescript/module/src/MLRNModule.d.ts +21 -0
- package/lib/typescript/module/src/MLRNModule.d.ts.map +1 -0
- package/lib/typescript/module/src/MapLibreRN.d.ts +42 -0
- package/lib/typescript/module/src/MapLibreRN.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Annotation.d.ts +21 -0
- package/lib/typescript/module/src/components/Annotation.d.ts.map +1 -0
- package/lib/typescript/module/src/components/BackgroundLayer.d.ts +14 -0
- package/lib/typescript/module/src/components/BackgroundLayer.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Callout.d.ts +35 -0
- package/lib/typescript/module/src/components/Callout.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Camera.d.ts +134 -0
- package/lib/typescript/module/src/components/Camera.d.ts.map +1 -0
- package/lib/typescript/module/src/components/CircleLayer.d.ts +17 -0
- package/lib/typescript/module/src/components/CircleLayer.d.ts.map +1 -0
- package/lib/typescript/module/src/components/FillExtrusionLayer.d.ts +17 -0
- package/lib/typescript/module/src/components/FillExtrusionLayer.d.ts.map +1 -0
- package/lib/typescript/module/src/components/FillLayer.d.ts +17 -0
- package/lib/typescript/module/src/components/FillLayer.d.ts.map +1 -0
- package/lib/typescript/module/src/components/HeadingIndicator.d.ts +8 -0
- package/lib/typescript/module/src/components/HeadingIndicator.d.ts.map +1 -0
- package/lib/typescript/module/src/components/HeatmapLayer.d.ts +17 -0
- package/lib/typescript/module/src/components/HeatmapLayer.d.ts.map +1 -0
- package/lib/typescript/module/src/components/ImageSource.d.ts +31 -0
- package/lib/typescript/module/src/components/ImageSource.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Images.d.ts +33 -0
- package/lib/typescript/module/src/components/Images.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Light.d.ts +17 -0
- package/lib/typescript/module/src/components/Light.d.ts.map +1 -0
- package/lib/typescript/module/src/components/LineLayer.d.ts +17 -0
- package/lib/typescript/module/src/components/LineLayer.d.ts.map +1 -0
- package/lib/typescript/module/src/components/MapView.d.ts +235 -0
- package/lib/typescript/module/src/components/MapView.d.ts.map +1 -0
- package/lib/typescript/module/src/components/MarkerView.d.ts +44 -0
- package/lib/typescript/module/src/components/MarkerView.d.ts.map +1 -0
- package/lib/typescript/module/src/components/NativeUserLocation.d.ts +26 -0
- package/lib/typescript/module/src/components/NativeUserLocation.d.ts.map +1 -0
- package/lib/typescript/module/src/components/PointAnnotation.d.ts +91 -0
- package/lib/typescript/module/src/components/PointAnnotation.d.ts.map +1 -0
- package/lib/typescript/module/src/components/RasterLayer.d.ts +14 -0
- package/lib/typescript/module/src/components/RasterLayer.d.ts.map +1 -0
- package/lib/typescript/module/src/components/RasterSource.d.ts +53 -0
- package/lib/typescript/module/src/components/RasterSource.d.ts.map +1 -0
- package/lib/typescript/module/src/components/ShapeSource.d.ts +124 -0
- package/lib/typescript/module/src/components/ShapeSource.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Style.d.ts +81 -0
- package/lib/typescript/module/src/components/Style.d.ts.map +1 -0
- package/lib/typescript/module/src/components/SymbolLayer.d.ts +22 -0
- package/lib/typescript/module/src/components/SymbolLayer.d.ts.map +1 -0
- package/lib/typescript/module/src/components/UserLocation.d.ts +70 -0
- package/lib/typescript/module/src/components/UserLocation.d.ts.map +1 -0
- package/lib/typescript/module/src/components/VectorSource.d.ts +70 -0
- package/lib/typescript/module/src/components/VectorSource.d.ts.map +1 -0
- package/lib/typescript/module/src/hooks/useAbstractLayer.d.ts +62 -0
- package/lib/typescript/module/src/hooks/useAbstractLayer.d.ts.map +1 -0
- package/lib/typescript/module/src/hooks/useAbstractSource.d.ts +7 -0
- package/lib/typescript/module/src/hooks/useAbstractSource.d.ts.map +1 -0
- package/lib/typescript/module/src/hooks/useNativeBridge.d.ts +21 -0
- package/lib/typescript/module/src/hooks/useNativeBridge.d.ts.map +1 -0
- package/lib/typescript/module/src/hooks/useNativeRef.d.ts +8 -0
- package/lib/typescript/module/src/hooks/useNativeRef.d.ts.map +1 -0
- package/lib/typescript/module/src/hooks/useOnce.d.ts +3 -0
- package/lib/typescript/module/src/hooks/useOnce.d.ts.map +1 -0
- package/lib/typescript/module/src/index.d.ts +4 -0
- package/lib/typescript/module/src/index.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/location/locationManager.d.ts +64 -0
- package/lib/typescript/module/src/modules/location/locationManager.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/offline/OfflineCreatePackOptions.d.ts +21 -0
- package/lib/typescript/module/src/modules/offline/OfflineCreatePackOptions.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/offline/OfflinePack.d.ts +24 -0
- package/lib/typescript/module/src/modules/offline/OfflinePack.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/offline/offlineManager.d.ts +210 -0
- package/lib/typescript/module/src/modules/offline/offlineManager.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/snapshot/SnapshotOptions.d.ts +42 -0
- package/lib/typescript/module/src/modules/snapshot/SnapshotOptions.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/snapshot/snapshotManager.d.ts +52 -0
- package/lib/typescript/module/src/modules/snapshot/snapshotManager.d.ts.map +1 -0
- package/lib/typescript/module/src/requestAndroidLocationPermissions.d.ts +2 -0
- package/lib/typescript/module/src/requestAndroidLocationPermissions.d.ts.map +1 -0
- package/lib/typescript/module/src/types/BaseProps.d.ts +4 -0
- package/lib/typescript/module/src/types/BaseProps.d.ts.map +1 -0
- package/lib/typescript/module/src/types/CameraMode.d.ts +7 -0
- package/lib/typescript/module/src/types/CameraMode.d.ts.map +1 -0
- package/lib/typescript/module/src/types/MapLibreRNEvent.d.ts +6 -0
- package/lib/typescript/module/src/types/MapLibreRNEvent.d.ts.map +1 -0
- package/lib/typescript/module/src/types/OnPressEvent.d.ts +12 -0
- package/lib/typescript/module/src/types/OnPressEvent.d.ts.map +1 -0
- package/lib/typescript/module/src/types/StyleURL.d.ts +4 -0
- package/lib/typescript/module/src/types/StyleURL.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/BridgeValue.d.ts +29 -0
- package/lib/typescript/module/src/utils/BridgeValue.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/Logger.d.ts +52 -0
- package/lib/typescript/module/src/utils/Logger.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/StyleValue.d.ts +10 -0
- package/lib/typescript/module/src/utils/StyleValue.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/animated/AbstractAnimatedCoordinates.d.ts +37 -0
- package/lib/typescript/module/src/utils/animated/AbstractAnimatedCoordinates.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/animated/Animated.d.ts +33 -0
- package/lib/typescript/module/src/utils/animated/Animated.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/animated/AnimatedCoordinatesArray.d.ts +40 -0
- package/lib/typescript/module/src/utils/animated/AnimatedCoordinatesArray.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/animated/AnimatedExtractCoordinateFromArray.d.ts +12 -0
- package/lib/typescript/module/src/utils/animated/AnimatedExtractCoordinateFromArray.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/animated/AnimatedPoint.d.ts +32 -0
- package/lib/typescript/module/src/utils/animated/AnimatedPoint.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/animated/AnimatedRouteCoordinatesArray.d.ts +54 -0
- package/lib/typescript/module/src/utils/animated/AnimatedRouteCoordinatesArray.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/animated/AnimatedShape.d.ts +28 -0
- package/lib/typescript/module/src/utils/animated/AnimatedShape.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/deprecation.d.ts +6 -0
- package/lib/typescript/module/src/utils/deprecation.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/filterUtils.d.ts +3 -0
- package/lib/typescript/module/src/utils/filterUtils.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/index.d.ts +20 -0
- package/lib/typescript/module/src/utils/index.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/makeNativeBounds.d.ts +2 -0
- package/lib/typescript/module/src/utils/makeNativeBounds.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/styleMap.d.ts +231 -0
- package/lib/typescript/module/src/utils/styleMap.d.ts.map +1 -0
- package/maplibre-react-native.podspec +14 -14
- package/package.json +141 -110
- package/plugin/build/withMapLibre.d.ts +1 -1
- package/plugin/build/withMapLibre.js +31 -17
- package/src/MLRNModule.ts +46 -0
- package/src/MapLibreRN.ts +70 -0
- package/src/assets/heading.png +0 -0
- package/src/assets/heading@2x.png +0 -0
- package/src/assets/heading@3x.png +0 -0
- package/src/components/Annotation.tsx +164 -0
- package/src/components/BackgroundLayer.tsx +50 -0
- package/src/components/Callout.tsx +141 -0
- package/src/components/Camera.tsx +492 -0
- package/src/components/CircleLayer.tsx +52 -0
- package/src/components/FillExtrusionLayer.tsx +47 -0
- package/src/components/FillLayer.tsx +44 -0
- package/src/components/HeadingIndicator.tsx +30 -0
- package/src/components/HeatmapLayer.tsx +46 -0
- package/src/components/ImageSource.tsx +70 -0
- package/src/components/Images.tsx +136 -0
- package/src/components/Light.tsx +40 -0
- package/src/components/LineLayer.tsx +45 -0
- package/src/components/MapView.tsx +879 -0
- package/src/components/MarkerView.tsx +88 -0
- package/src/components/NativeUserLocation.tsx +35 -0
- package/src/components/PointAnnotation.tsx +245 -0
- package/src/components/RasterLayer.tsx +43 -0
- package/src/components/RasterSource.tsx +114 -0
- package/src/components/ShapeSource.tsx +436 -0
- package/src/components/Style.tsx +371 -0
- package/src/components/SymbolLayer.tsx +77 -0
- package/src/components/UserLocation.tsx +307 -0
- package/src/components/VectorSource.tsx +218 -0
- package/src/hooks/useAbstractLayer.ts +127 -0
- package/src/hooks/useAbstractSource.ts +34 -0
- package/src/hooks/useNativeBridge.ts +125 -0
- package/src/hooks/useNativeRef.ts +14 -0
- package/src/index.ts +4 -0
- package/src/modules/location/locationManager.ts +161 -0
- package/src/modules/offline/OfflineCreatePackOptions.ts +55 -0
- package/src/modules/offline/OfflinePack.ts +56 -0
- package/src/modules/offline/offlineManager.ts +438 -0
- package/src/modules/snapshot/SnapshotOptions.ts +103 -0
- package/src/modules/snapshot/snapshotManager.ts +62 -0
- package/src/requestAndroidLocationPermissions.ts +29 -0
- package/src/types/BaseProps.ts +3 -0
- package/src/types/CameraMode.ts +6 -0
- package/src/types/MapLibreRNEvent.ts +7 -0
- package/src/types/OnPressEvent.ts +11 -0
- package/src/types/StyleURL.ts +3 -0
- package/src/utils/BridgeValue.ts +90 -0
- package/src/utils/Logger.ts +133 -0
- package/src/utils/MapLibreRNStyles.d.ts +1494 -0
- package/src/utils/StyleValue.ts +51 -0
- package/src/utils/animated/Animated.ts +61 -0
- package/src/utils/animated/AnimatedCoordinatesArray.ts +113 -0
- package/src/utils/animated/AnimatedPoint.ts +134 -0
- package/src/utils/animated/AnimatedRouteCoordinatesArray.ts +150 -0
- package/src/utils/filterUtils.ts +9 -0
- package/src/utils/index.ts +118 -0
- package/src/utils/makeNativeBounds.ts +5 -0
- package/src/utils/styleMap.ts +265 -0
- package/.gitattributes +0 -1
- package/.husky/pre-commit +0 -5
- package/.nvmrc +0 -1
- package/.sonarcloud.properties +0 -15
- package/CHANGELOG.md +0 -432
- package/CODE_OF_CONDUCT.md +0 -2
- package/CONTRIBUTING.md +0 -55
- package/RELEASE.md +0 -30
- package/android/install.md +0 -31
- package/android/rctmln/.settings/org.eclipse.buildship.core.prefs +0 -2
- package/android/rctmln/build.gradle +0 -59
- package/android/rctmln/proguard-rules.pro +0 -25
- package/android/rctmln/src/main/AndroidManifest.xml +0 -4
- package/android/rctmln/src/main/java/com/maplibre/rctmln/RCTMLNPackage.java +0 -99
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/AbstractEvent.java +0 -35
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/AbstractEventEmitter.java +0 -80
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/AbstractMapFeature.java +0 -19
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/MarkerView.java +0 -23
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/MarkerViewManager.java +0 -69
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNCallout.java +0 -15
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNCalloutManager.java +0 -22
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNMarkerView.java +0 -112
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNMarkerViewManager.java +0 -45
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNPointAnnotation.java +0 -361
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNPointAnnotationManager.java +0 -88
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/camera/CameraStop.java +0 -251
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/camera/CameraUpdateItem.java +0 -125
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/camera/CameraUpdateQueue.java +0 -73
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/camera/RCTMLNCamera.java +0 -530
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/camera/RCTMLNCameraManager.java +0 -101
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/camera/constants/CameraMode.java +0 -22
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/images/RCTMLNImages.java +0 -234
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/images/RCTMLNImagesManager.java +0 -103
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/location/LocationComponentManager.java +0 -149
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/location/RCTMLNNativeUserLocation.java +0 -66
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/location/RCTMLNNativeUserLocationManager.java +0 -35
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/mapview/LayerSourceInfo.java +0 -59
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/mapview/RCTMLNAndroidTextureMapView.java +0 -16
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/mapview/RCTMLNAndroidTextureMapViewManager.java +0 -31
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/mapview/RCTMLNMapView.java +0 -1527
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/mapview/RCTMLNMapViewManager.java +0 -353
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/mapview/helpers/CameraChangeTracker.java +0 -41
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/RCTMLNStyle.java +0 -83
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/RCTMLNStyleFactory.java +0 -2275
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/RCTMLNStyleFunctionParser.java +0 -107
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/RCTMLNStyleValue.java +0 -212
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTLayer.java +0 -287
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNBackgroundLayer.java +0 -27
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNBackgroundLayerManager.java +0 -64
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNCircleLayer.java +0 -55
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNCircleLayerManager.java +0 -77
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNFillExtrusionLayer.java +0 -55
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNFillExtrusionLayerManager.java +0 -80
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNFillLayer.java +0 -55
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNFillLayerManager.java +0 -80
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNHeatmapLayer.java +0 -55
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNHeatmapLayerManager.java +0 -77
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNLineLayer.java +0 -55
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNLineLayerManager.java +0 -79
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNRasterLayer.java +0 -27
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNRasterLayerManager.java +0 -64
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNSymbolLayer.java +0 -55
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNSymbolLayerManager.java +0 -75
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/light/RCTMLNLight.java +0 -65
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/light/RCTMLNLightManager.java +0 -29
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNImageSource.java +0 -81
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNImageSourceManager.java +0 -72
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNRasterSource.java +0 -45
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNRasterSourceManager.java +0 -44
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNShapeSource.java +0 -316
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNShapeSourceManager.java +0 -253
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNTileSource.java +0 -97
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNTileSourceManager.java +0 -80
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNVectorSource.java +0 -64
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNVectorSourceManager.java +0 -84
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTSource.java +0 -244
- package/android/rctmln/src/main/java/com/maplibre/rctmln/events/AbstractEvent.java +0 -66
- package/android/rctmln/src/main/java/com/maplibre/rctmln/events/AndroidCallbackEvent.java +0 -38
- package/android/rctmln/src/main/java/com/maplibre/rctmln/events/EventEmitter.java +0 -45
- package/android/rctmln/src/main/java/com/maplibre/rctmln/events/FeatureClickEvent.java +0 -79
- package/android/rctmln/src/main/java/com/maplibre/rctmln/events/IEvent.java +0 -18
- package/android/rctmln/src/main/java/com/maplibre/rctmln/events/ImageMissingEvent.java +0 -42
- package/android/rctmln/src/main/java/com/maplibre/rctmln/events/LocationEvent.java +0 -100
- package/android/rctmln/src/main/java/com/maplibre/rctmln/events/MapChangeEvent.java +0 -47
- package/android/rctmln/src/main/java/com/maplibre/rctmln/events/MapClickEvent.java +0 -51
- package/android/rctmln/src/main/java/com/maplibre/rctmln/events/MapUserTrackingModeEvent.java +0 -36
- package/android/rctmln/src/main/java/com/maplibre/rctmln/events/OfflineEvent.java +0 -29
- package/android/rctmln/src/main/java/com/maplibre/rctmln/events/PointAnnotationClickEvent.java +0 -46
- package/android/rctmln/src/main/java/com/maplibre/rctmln/events/PointAnnotationDragEvent.java +0 -51
- package/android/rctmln/src/main/java/com/maplibre/rctmln/events/constants/EventKeys.java +0 -39
- package/android/rctmln/src/main/java/com/maplibre/rctmln/events/constants/EventTypes.java +0 -51
- package/android/rctmln/src/main/java/com/maplibre/rctmln/http/CustomHeadersInterceptor.java +0 -38
- package/android/rctmln/src/main/java/com/maplibre/rctmln/location/LocationManager.java +0 -168
- package/android/rctmln/src/main/java/com/maplibre/rctmln/location/UserLocation.java +0 -63
- package/android/rctmln/src/main/java/com/maplibre/rctmln/location/UserLocationVerticalAlignment.java +0 -11
- package/android/rctmln/src/main/java/com/maplibre/rctmln/location/UserTrackingMode.java +0 -63
- package/android/rctmln/src/main/java/com/maplibre/rctmln/location/UserTrackingState.java +0 -19
- package/android/rctmln/src/main/java/com/maplibre/rctmln/modules/RCTMLNLocationModule.java +0 -158
- package/android/rctmln/src/main/java/com/maplibre/rctmln/modules/RCTMLNLogging.java +0 -140
- package/android/rctmln/src/main/java/com/maplibre/rctmln/modules/RCTMLNModule.java +0 -348
- package/android/rctmln/src/main/java/com/maplibre/rctmln/modules/RCTMLNOfflineModule.java +0 -592
- package/android/rctmln/src/main/java/com/maplibre/rctmln/modules/RCTMLNSnapshotModule.java +0 -139
- package/android/rctmln/src/main/java/com/maplibre/rctmln/utils/BitmapUtils.java +0 -129
- package/android/rctmln/src/main/java/com/maplibre/rctmln/utils/ClusterPropertyEntry.java +0 -13
- package/android/rctmln/src/main/java/com/maplibre/rctmln/utils/ConvertUtils.java +0 -257
- package/android/rctmln/src/main/java/com/maplibre/rctmln/utils/DownloadMapImageTask.java +0 -159
- package/android/rctmln/src/main/java/com/maplibre/rctmln/utils/ExpressionParser.java +0 -74
- package/android/rctmln/src/main/java/com/maplibre/rctmln/utils/GeoJSONUtils.java +0 -209
- package/android/rctmln/src/main/java/com/maplibre/rctmln/utils/GeoViewport.java +0 -38
- package/android/rctmln/src/main/java/com/maplibre/rctmln/utils/ImageEntry.java +0 -25
- package/android/rctmln/src/main/java/com/maplibre/rctmln/utils/ResourceUtils.java +0 -30
- package/android/rctmln/src/main/java/com/maplibre/rctmln/utils/SimpleEventCallback.java +0 -30
- package/android/rctmln/src/main/java/com/maplibre/rctmln/utils/SphericalMercator.java +0 -69
- package/android/rctmln/src/main/res/values/strings.xml +0 -3
- package/android/settings.gradle +0 -1
- package/assets/indoor_building_map_android.png +0 -0
- package/assets/indoor_building_map_ios.png +0 -0
- package/assets/mapbox_logo.png +0 -0
- package/babel.config.js +0 -9
- package/docs/Annotation.md +0 -38
- package/docs/Annotations.md +0 -12
- package/docs/BackgroundLayer.md +0 -158
- package/docs/Callout.md +0 -15
- package/docs/Camera.md +0 -133
- package/docs/CircleLayer.md +0 -462
- package/docs/CustomHttpHeaders.md +0 -87
- package/docs/FillExtrusionLayer.md +0 -319
- package/docs/FillLayer.md +0 -302
- package/docs/GettingStarted.md +0 -114
- package/docs/HeadingIndicator.md +0 -10
- package/docs/HeatmapLayer.md +0 -207
- package/docs/ImageSource.md +0 -13
- package/docs/Images.md +0 -14
- package/docs/Light.md +0 -159
- package/docs/LineLayer.md +0 -576
- package/docs/Logger.md +0 -23
- package/docs/MapLibreGL.md +0 -65
- package/docs/MapView.md +0 -203
- package/docs/MarkerView.md +0 -16
- package/docs/NativeUserLocation.md +0 -11
- package/docs/OfflineManager.md +0 -246
- package/docs/PointAnnotation.md +0 -31
- package/docs/RasterLayer.md +0 -349
- package/docs/RasterSource.md +0 -18
- package/docs/ShapeSource.md +0 -106
- package/docs/Style.md +0 -10
- package/docs/StyleSheet.md +0 -451
- package/docs/SymbolLayer.md +0 -1655
- package/docs/UserLocation.md +0 -45
- package/docs/VectorSource.md +0 -49
- package/docs/coordinates.md +0 -6
- package/docs/docs.json +0 -5396
- package/docs/location.md +0 -6
- package/docs/offlineManager.md +0 -246
- package/docs/snapshotManager.md +0 -53
- package/ios/RCTMLN/CameraMode.h +0 -18
- package/ios/RCTMLN/CameraMode.m +0 -18
- package/ios/RCTMLN/CameraStop.h +0 -26
- package/ios/RCTMLN/CameraStop.m +0 -83
- package/ios/RCTMLN/CameraUpdateItem.h +0 -18
- package/ios/RCTMLN/CameraUpdateItem.m +0 -178
- package/ios/RCTMLN/CameraUpdateQueue.h +0 -21
- package/ios/RCTMLN/CameraUpdateQueue.m +0 -74
- package/ios/RCTMLN/FilterParser.h +0 -14
- package/ios/RCTMLN/FilterParser.m +0 -22
- package/ios/RCTMLN/MLNCustomHeaders.h +0 -20
- package/ios/RCTMLN/MLNCustomHeaders.m +0 -98
- package/ios/RCTMLN/MLNFaux3DUserLocationAnnotationView.h +0 -23
- package/ios/RCTMLN/MLNFaux3DUserLocationAnnotationView.m +0 -474
- package/ios/RCTMLN/MLNModule.h +0 -13
- package/ios/RCTMLN/MLNModule.m +0 -269
- package/ios/RCTMLN/MLNOfflineModule.h +0 -19
- package/ios/RCTMLN/MLNOfflineModule.m +0 -516
- package/ios/RCTMLN/MLNSnapshotModule.h +0 -13
- package/ios/RCTMLN/MLNSnapshotModule.m +0 -80
- package/ios/RCTMLN/MLNUserLocationHeadingArrowLayer.h +0 -11
- package/ios/RCTMLN/MLNUserLocationHeadingArrowLayer.m +0 -57
- package/ios/RCTMLN/MLNUserLocationHeadingBeamLayer.h +0 -11
- package/ios/RCTMLN/MLNUserLocationHeadingBeamLayer.m +0 -102
- package/ios/RCTMLN/MLNUserLocationHeadingIndicator.h +0 -10
- package/ios/RCTMLN/RCTConvert+Mapbox.h +0 -16
- package/ios/RCTMLN/RCTConvert+Mapbox.m +0 -32
- package/ios/RCTMLN/RCTMLN.h +0 -13
- package/ios/RCTMLN/RCTMLN.m +0 -13
- package/ios/RCTMLN/RCTMLNBackgroundLayer.h +0 -14
- package/ios/RCTMLN/RCTMLNBackgroundLayer.m +0 -27
- package/ios/RCTMLN/RCTMLNBackgroundLayerManager.h +0 -13
- package/ios/RCTMLN/RCTMLNBackgroundLayerManager.m +0 -35
- package/ios/RCTMLN/RCTMLNCallout.h +0 -15
- package/ios/RCTMLN/RCTMLNCallout.m +0 -74
- package/ios/RCTMLN/RCTMLNCalloutManager.h +0 -13
- package/ios/RCTMLN/RCTMLNCalloutManager.m +0 -21
- package/ios/RCTMLN/RCTMLNCamera.h +0 -39
- package/ios/RCTMLN/RCTMLNCamera.m +0 -258
- package/ios/RCTMLN/RCTMLNCameraManager.h +0 -13
- package/ios/RCTMLN/RCTMLNCameraManager.m +0 -52
- package/ios/RCTMLN/RCTMLNCircleLayer.h +0 -13
- package/ios/RCTMLN/RCTMLNCircleLayer.m +0 -34
- package/ios/RCTMLN/RCTMLNCircleLayerManager.h +0 -13
- package/ios/RCTMLN/RCTMLNCircleLayerManager.m +0 -39
- package/ios/RCTMLN/RCTMLNEvent.h +0 -21
- package/ios/RCTMLN/RCTMLNEvent.m +0 -47
- package/ios/RCTMLN/RCTMLNEventProtocol.h +0 -16
- package/ios/RCTMLN/RCTMLNEventTypes.h +0 -50
- package/ios/RCTMLN/RCTMLNEventTypes.m +0 -49
- package/ios/RCTMLN/RCTMLNFillExtrusionLayer.h +0 -14
- package/ios/RCTMLN/RCTMLNFillExtrusionLayer.m +0 -32
- package/ios/RCTMLN/RCTMLNFillExtrusionLayerManager.h +0 -13
- package/ios/RCTMLN/RCTMLNFillExtrusionLayerManager.m +0 -39
- package/ios/RCTMLN/RCTMLNFillLayer.h +0 -14
- package/ios/RCTMLN/RCTMLNFillLayer.m +0 -33
- package/ios/RCTMLN/RCTMLNFillLayerManager.h +0 -13
- package/ios/RCTMLN/RCTMLNFillLayerManager.m +0 -37
- package/ios/RCTMLN/RCTMLNHeatmapLayer.h +0 -12
- package/ios/RCTMLN/RCTMLNHeatmapLayer.m +0 -30
- package/ios/RCTMLN/RCTMLNHeatmapLayerManager.h +0 -12
- package/ios/RCTMLN/RCTMLNHeatmapLayerManager.m +0 -38
- package/ios/RCTMLN/RCTMLNImageQueue.h +0 -19
- package/ios/RCTMLN/RCTMLNImageQueue.m +0 -57
- package/ios/RCTMLN/RCTMLNImageQueueOperation.h +0 -17
- package/ios/RCTMLN/RCTMLNImageQueueOperation.m +0 -138
- package/ios/RCTMLN/RCTMLNImageSource.h +0 -16
- package/ios/RCTMLN/RCTMLNImageSource.m +0 -60
- package/ios/RCTMLN/RCTMLNImageSourceManager.h +0 -13
- package/ios/RCTMLN/RCTMLNImageSourceManager.m +0 -25
- package/ios/RCTMLN/RCTMLNImages.h +0 -25
- package/ios/RCTMLN/RCTMLNImages.m +0 -126
- package/ios/RCTMLN/RCTMLNImagesManager.h +0 -5
- package/ios/RCTMLN/RCTMLNImagesManager.m +0 -21
- package/ios/RCTMLN/RCTMLNLayer.h +0 -52
- package/ios/RCTMLN/RCTMLNLayer.m +0 -236
- package/ios/RCTMLN/RCTMLNLight.h +0 -17
- package/ios/RCTMLN/RCTMLNLight.m +0 -46
- package/ios/RCTMLN/RCTMLNLightManager.h +0 -13
- package/ios/RCTMLN/RCTMLNLightManager.m +0 -23
- package/ios/RCTMLN/RCTMLNLineLayer.h +0 -14
- package/ios/RCTMLN/RCTMLNLineLayer.m +0 -33
- package/ios/RCTMLN/RCTMLNLineLayerManager.h +0 -13
- package/ios/RCTMLN/RCTMLNLineLayerManager.m +0 -40
- package/ios/RCTMLN/RCTMLNLocation.h +0 -19
- package/ios/RCTMLN/RCTMLNLocation.m +0 -32
- package/ios/RCTMLN/RCTMLNLocationManager.h +0 -30
- package/ios/RCTMLN/RCTMLNLocationManager.m +0 -180
- package/ios/RCTMLN/RCTMLNLocationManagerDelegate.h +0 -20
- package/ios/RCTMLN/RCTMLNLocationModule.h +0 -15
- package/ios/RCTMLN/RCTMLNLocationModule.m +0 -99
- package/ios/RCTMLN/RCTMLNLogging.h +0 -18
- package/ios/RCTMLN/RCTMLNLogging.m +0 -132
- package/ios/RCTMLN/RCTMLNMapTouchEvent.h +0 -25
- package/ios/RCTMLN/RCTMLNMapTouchEvent.m +0 -77
- package/ios/RCTMLN/RCTMLNMapView.h +0 -91
- package/ios/RCTMLN/RCTMLNMapView.m +0 -536
- package/ios/RCTMLN/RCTMLNMapViewManager.h +0 -17
- package/ios/RCTMLN/RCTMLNMapViewManager.m +0 -625
- package/ios/RCTMLN/RCTMLNNativeUserLocation.h +0 -18
- package/ios/RCTMLN/RCTMLNNativeUserLocation.m +0 -49
- package/ios/RCTMLN/RCTMLNNativeUserLocationManager.h +0 -5
- package/ios/RCTMLN/RCTMLNNativeUserLocationManager.m +0 -25
- package/ios/RCTMLN/RCTMLNPointAnnotation.h +0 -41
- package/ios/RCTMLN/RCTMLNPointAnnotation.m +0 -251
- package/ios/RCTMLN/RCTMLNPointAnnotationManager.h +0 -13
- package/ios/RCTMLN/RCTMLNPointAnnotationManager.m +0 -36
- package/ios/RCTMLN/RCTMLNRasterLayer.h +0 -14
- package/ios/RCTMLN/RCTMLNRasterLayer.m +0 -30
- package/ios/RCTMLN/RCTMLNRasterLayerManager.h +0 -13
- package/ios/RCTMLN/RCTMLNRasterLayerManager.m +0 -35
- package/ios/RCTMLN/RCTMLNRasterSource.h +0 -16
- package/ios/RCTMLN/RCTMLNRasterSource.m +0 -35
- package/ios/RCTMLN/RCTMLNRasterSourceManager.h +0 -13
- package/ios/RCTMLN/RCTMLNRasterSourceManager.m +0 -32
- package/ios/RCTMLN/RCTMLNShapeSource.h +0 -53
- package/ios/RCTMLN/RCTMLNShapeSource.m +0 -194
- package/ios/RCTMLN/RCTMLNShapeSourceManager.h +0 -14
- package/ios/RCTMLN/RCTMLNShapeSourceManager.m +0 -206
- package/ios/RCTMLN/RCTMLNSource.h +0 -35
- package/ios/RCTMLN/RCTMLNSource.m +0 -143
- package/ios/RCTMLN/RCTMLNStyle.h +0 -222
- package/ios/RCTMLN/RCTMLNStyle.m +0 -1675
- package/ios/RCTMLN/RCTMLNStyleValue.h +0 -27
- package/ios/RCTMLN/RCTMLNStyleValue.m +0 -167
- package/ios/RCTMLN/RCTMLNSymbolLayer.h +0 -19
- package/ios/RCTMLN/RCTMLNSymbolLayer.m +0 -121
- package/ios/RCTMLN/RCTMLNSymbolLayerManager.h +0 -13
- package/ios/RCTMLN/RCTMLNSymbolLayerManager.m +0 -40
- package/ios/RCTMLN/RCTMLNTileSource.h +0 -22
- package/ios/RCTMLN/RCTMLNTileSource.m +0 -31
- package/ios/RCTMLN/RCTMLNUserLocation.h +0 -15
- package/ios/RCTMLN/RCTMLNUserLocation.m +0 -38
- package/ios/RCTMLN/RCTMLNUtils.h +0 -31
- package/ios/RCTMLN/RCTMLNUtils.m +0 -218
- package/ios/RCTMLN/RCTMLNVectorLayer.h +0 -15
- package/ios/RCTMLN/RCTMLNVectorLayer.m +0 -59
- package/ios/RCTMLN/RCTMLNVectorSource.h +0 -16
- package/ios/RCTMLN/RCTMLNVectorSource.m +0 -28
- package/ios/RCTMLN/RCTMLNVectorSourceManager.h +0 -14
- package/ios/RCTMLN/RCTMLNVectorSourceManager.m +0 -79
- package/ios/RCTMLN/RNMBImageUtils.h +0 -17
- package/ios/RCTMLN/RNMBImageUtils.m +0 -31
- package/ios/RCTMLN/ViewManager.h +0 -16
- package/ios/RCTMLN/ViewManager.m +0 -63
- package/ios/RCTMLN/index.d.ts +0 -1183
- package/ios/RCTMLN.xcodeproj/project.pbxproj +0 -775
- package/ios/install.md +0 -49
- package/javascript/MLNModule.ts +0 -37
- package/javascript/Maplibre.ts +0 -64
- package/javascript/components/BackgroundLayer.tsx +0 -50
- package/javascript/components/Callout.tsx +0 -141
- package/javascript/components/Camera.tsx +0 -623
- package/javascript/components/CircleLayer.tsx +0 -53
- package/javascript/components/FillExtrusionLayer.tsx +0 -47
- package/javascript/components/FillLayer.tsx +0 -44
- package/javascript/components/HeadingIndicator.tsx +0 -30
- package/javascript/components/HeatmapLayer.tsx +0 -46
- package/javascript/components/ImageSource.tsx +0 -71
- package/javascript/components/Images.tsx +0 -134
- package/javascript/components/Light.tsx +0 -40
- package/javascript/components/LineLayer.tsx +0 -45
- package/javascript/components/MapView.tsx +0 -880
- package/javascript/components/MarkerView.tsx +0 -88
- package/javascript/components/NativeUserLocation.tsx +0 -31
- package/javascript/components/PointAnnotation.tsx +0 -245
- package/javascript/components/RasterLayer.tsx +0 -44
- package/javascript/components/RasterSource.tsx +0 -114
- package/javascript/components/ShapeSource.tsx +0 -433
- package/javascript/components/Style.tsx +0 -368
- package/javascript/components/SymbolLayer.tsx +0 -78
- package/javascript/components/UserLocation.tsx +0 -289
- package/javascript/components/VectorSource.tsx +0 -218
- package/javascript/components/annotations/Annotation.tsx +0 -161
- package/javascript/hooks/useAbstractLayer.ts +0 -127
- package/javascript/hooks/useAbstractSource.ts +0 -34
- package/javascript/hooks/useNativeBridge.ts +0 -125
- package/javascript/hooks/useNativeRef.ts +0 -13
- package/javascript/index.ts +0 -4
- package/javascript/modules/location/locationManager.ts +0 -162
- package/javascript/modules/offline/OfflineCreatePackOptions.ts +0 -62
- package/javascript/modules/offline/OfflinePack.ts +0 -56
- package/javascript/modules/offline/offlineManager.ts +0 -434
- package/javascript/modules/snapshot/SnapshotOptions.ts +0 -104
- package/javascript/modules/snapshot/snapshotManager.ts +0 -62
- package/javascript/requestAndroidLocationPermissions.ts +0 -29
- package/javascript/types/BaseProps.ts +0 -5
- package/javascript/types/OnPressEvent.ts +0 -13
- package/javascript/types/index.ts +0 -11
- package/javascript/utils/BridgeValue.ts +0 -90
- package/javascript/utils/Logger.ts +0 -133
- package/javascript/utils/MaplibreStyles.d.ts +0 -1486
- package/javascript/utils/StyleValue.ts +0 -49
- package/javascript/utils/animated/Animated.ts +0 -61
- package/javascript/utils/animated/AnimatedCoordinatesArray.ts +0 -108
- package/javascript/utils/animated/AnimatedPoint.ts +0 -134
- package/javascript/utils/animated/AnimatedRouteCoordinatesArray.ts +0 -145
- package/javascript/utils/filterUtils.ts +0 -9
- package/javascript/utils/geoUtils.ts +0 -79
- package/javascript/utils/index.ts +0 -133
- package/javascript/utils/styleMap.ts +0 -264
- package/plugin/install.md +0 -32
- package/react-native.config.js +0 -10
- package/scripts/autogenHelpers/DocJSONBuilder.js +0 -458
- package/scripts/autogenHelpers/JSDocNodeTree.js +0 -131
- package/scripts/autogenHelpers/MarkdownBuilder.js +0 -29
- package/scripts/autogenHelpers/globals.js +0 -507
- package/scripts/autogenerate.js +0 -382
- package/scripts/download-style-spec.sh +0 -15
- package/scripts/templates/MaplibreStyles.ts.ejs +0 -99
- package/scripts/templates/RCTMLNStyle.h.ejs +0 -33
- package/scripts/templates/RCTMLNStyle.m.ejs +0 -97
- package/scripts/templates/RCTMLNStyleFactory.java.ejs +0 -107
- package/scripts/templates/component.md.ejs +0 -122
- package/scripts/templates/index.d.ts.ejs +0 -85
- package/scripts/templates/styleMap.ts.ejs +0 -85
- package/setup-jest.js +0 -108
- package/style-spec/v8.json +0 -6021
- package/tsconfig.json +0 -24
- /package/android/{rctmln/src → src}/main/res/drawable/empty.xml +0 -0
- /package/android/{rctmln/src → src}/main/res/drawable/empty_drawable.png +0 -0
- /package/android/{rctmln/src → src}/main/res/drawable-xxhdpi/red_marker.png +0 -0
- /package/android/{rctmln/src → src}/main/res/layout/annotation.xml +0 -0
- /package/{assets → lib/commonjs/assets}/heading.png +0 -0
- /package/{assets → lib/commonjs/assets}/heading@2x.png +0 -0
- /package/{assets → lib/commonjs/assets}/heading@3x.png +0 -0
- /package/{javascript/@types/assets.d.ts → src/assets/png.d.ts} +0 -0
- /package/{javascript → src}/hooks/useOnce.ts +0 -0
- /package/{javascript → src}/utils/animated/AbstractAnimatedCoordinates.ts +0 -0
- /package/{javascript → src}/utils/animated/AnimatedExtractCoordinateFromArray.ts +0 -0
- /package/{javascript → src}/utils/animated/AnimatedShape.ts +0 -0
- /package/{javascript → src}/utils/deprecation.ts +0 -0
package/docs/SymbolLayer.md
DELETED
|
@@ -1,1655 +0,0 @@
|
|
|
1
|
-
<!-- This file was autogenerated from SymbolLayer.js do not modify -->
|
|
2
|
-
## <MapLibreGL.SymbolLayer />
|
|
3
|
-
### SymbolLayer is a style layer that renders icon and text labels at points or along lines on the map.
|
|
4
|
-
|
|
5
|
-
### props
|
|
6
|
-
| Prop | Type | Default | Required | Description |
|
|
7
|
-
| ---- | :--: | :-----: | :------: | :----------: |
|
|
8
|
-
| style | `SymbolLayerStyleProps` | `none` | `false` | Customizable style attributes |
|
|
9
|
-
| children | `ReactElement \| ReactElement[]` | `none` | `false` | @deprecated passed children used to create an image with id of symbol in style and also set the iconImageName property accordingly.<br/>This is now deprecated, use Image component instead. |
|
|
10
|
-
| sourceID | `FIX ME UNKNOWN TYPE` | `MapLibreGL.StyleSource.DefaultSourceID` | `false` | FIX ME NO DESCRIPTION |
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
### styles
|
|
14
|
-
|
|
15
|
-
* <a href="#name">symbolPlacement</a><br/>
|
|
16
|
-
* <a href="#name-1">symbolSpacing</a><br/>
|
|
17
|
-
* <a href="#name-2">symbolAvoidEdges</a><br/>
|
|
18
|
-
* <a href="#name-3">symbolSortKey</a><br/>
|
|
19
|
-
* <a href="#name-4">symbolZOrder</a><br/>
|
|
20
|
-
* <a href="#name-5">iconAllowOverlap</a><br/>
|
|
21
|
-
* <a href="#name-6">iconIgnorePlacement</a><br/>
|
|
22
|
-
* <a href="#name-7">iconOptional</a><br/>
|
|
23
|
-
* <a href="#name-8">iconRotationAlignment</a><br/>
|
|
24
|
-
* <a href="#name-9">iconSize</a><br/>
|
|
25
|
-
* <a href="#name-10">iconTextFit</a><br/>
|
|
26
|
-
* <a href="#name-11">iconTextFitPadding</a><br/>
|
|
27
|
-
* <a href="#name-12">iconImage</a><br/>
|
|
28
|
-
* <a href="#name-13">iconRotate</a><br/>
|
|
29
|
-
* <a href="#name-14">iconPadding</a><br/>
|
|
30
|
-
* <a href="#name-15">iconKeepUpright</a><br/>
|
|
31
|
-
* <a href="#name-16">iconOffset</a><br/>
|
|
32
|
-
* <a href="#name-17">iconAnchor</a><br/>
|
|
33
|
-
* <a href="#name-18">iconPitchAlignment</a><br/>
|
|
34
|
-
* <a href="#name-19">textPitchAlignment</a><br/>
|
|
35
|
-
* <a href="#name-20">textRotationAlignment</a><br/>
|
|
36
|
-
* <a href="#name-21">textField</a><br/>
|
|
37
|
-
* <a href="#name-22">textFont</a><br/>
|
|
38
|
-
* <a href="#name-23">textSize</a><br/>
|
|
39
|
-
* <a href="#name-24">textMaxWidth</a><br/>
|
|
40
|
-
* <a href="#name-25">textLineHeight</a><br/>
|
|
41
|
-
* <a href="#name-26">textLetterSpacing</a><br/>
|
|
42
|
-
* <a href="#name-27">textJustify</a><br/>
|
|
43
|
-
* <a href="#name-28">textRadialOffset</a><br/>
|
|
44
|
-
* <a href="#name-29">textVariableAnchor</a><br/>
|
|
45
|
-
* <a href="#name-30">textAnchor</a><br/>
|
|
46
|
-
* <a href="#name-31">textMaxAngle</a><br/>
|
|
47
|
-
* <a href="#name-32">textWritingMode</a><br/>
|
|
48
|
-
* <a href="#name-33">textRotate</a><br/>
|
|
49
|
-
* <a href="#name-34">textPadding</a><br/>
|
|
50
|
-
* <a href="#name-35">textKeepUpright</a><br/>
|
|
51
|
-
* <a href="#name-36">textTransform</a><br/>
|
|
52
|
-
* <a href="#name-37">textOffset</a><br/>
|
|
53
|
-
* <a href="#name-38">textAllowOverlap</a><br/>
|
|
54
|
-
* <a href="#name-39">textIgnorePlacement</a><br/>
|
|
55
|
-
* <a href="#name-40">textOptional</a><br/>
|
|
56
|
-
* <a href="#name-41">visibility</a><br/>
|
|
57
|
-
* <a href="#name-42">iconOpacity</a><br/>
|
|
58
|
-
* <a href="#name-43">iconColor</a><br/>
|
|
59
|
-
* <a href="#name-44">iconHaloColor</a><br/>
|
|
60
|
-
* <a href="#name-45">iconHaloWidth</a><br/>
|
|
61
|
-
* <a href="#name-46">iconHaloBlur</a><br/>
|
|
62
|
-
* <a href="#name-47">iconTranslate</a><br/>
|
|
63
|
-
* <a href="#name-48">iconTranslateAnchor</a><br/>
|
|
64
|
-
* <a href="#name-49">textOpacity</a><br/>
|
|
65
|
-
* <a href="#name-50">textColor</a><br/>
|
|
66
|
-
* <a href="#name-51">textHaloColor</a><br/>
|
|
67
|
-
* <a href="#name-52">textHaloWidth</a><br/>
|
|
68
|
-
* <a href="#name-53">textHaloBlur</a><br/>
|
|
69
|
-
* <a href="#name-54">textTranslate</a><br/>
|
|
70
|
-
* <a href="#name-55">textTranslateAnchor</a><br/>
|
|
71
|
-
|
|
72
|
-
___
|
|
73
|
-
|
|
74
|
-
#### Name
|
|
75
|
-
`symbolPlacement`
|
|
76
|
-
|
|
77
|
-
#### Description
|
|
78
|
-
Label placement relative to its geometry.
|
|
79
|
-
|
|
80
|
-
#### Type
|
|
81
|
-
`enum`
|
|
82
|
-
#### Default Value
|
|
83
|
-
`point`
|
|
84
|
-
|
|
85
|
-
#### Supported Values
|
|
86
|
-
**point** - The label is placed at the point where the geometry is located.<br />
|
|
87
|
-
**line** - The label is placed along the line of the geometry. Can only be used on `LineString` and `Polygon` geometries.<br />
|
|
88
|
-
**line-center** - The label is placed at the center of the line of the geometry. Can only be used on `LineString` and `Polygon` geometries. Note that a single feature in a vector tile may contain multiple line geometries.<br />
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
#### Expression
|
|
92
|
-
|
|
93
|
-
Parameters: `zoom`
|
|
94
|
-
|
|
95
|
-
___
|
|
96
|
-
|
|
97
|
-
#### Name
|
|
98
|
-
`symbolSpacing`
|
|
99
|
-
|
|
100
|
-
#### Description
|
|
101
|
-
Distance between two symbol anchors.
|
|
102
|
-
|
|
103
|
-
#### Type
|
|
104
|
-
`number`
|
|
105
|
-
#### Default Value
|
|
106
|
-
`250`
|
|
107
|
-
|
|
108
|
-
#### Units
|
|
109
|
-
`pixels`
|
|
110
|
-
|
|
111
|
-
#### Minimum
|
|
112
|
-
`1`
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
#### Expression
|
|
116
|
-
|
|
117
|
-
Parameters: `zoom`
|
|
118
|
-
|
|
119
|
-
___
|
|
120
|
-
|
|
121
|
-
#### Name
|
|
122
|
-
`symbolAvoidEdges`
|
|
123
|
-
|
|
124
|
-
#### Description
|
|
125
|
-
If true, the symbols will not cross tile edges to avoid mutual collisions. Recommended in layers that don't have enough padding in the vector tile to prevent collisions, or if it is a point symbol layer placed after a line symbol layer. When using a client that supports global collision detection, like MapLibre GL JS version 0.42.0 or greater, enabling this property is not needed to prevent clipped labels at tile boundaries.
|
|
126
|
-
|
|
127
|
-
#### Type
|
|
128
|
-
`boolean`
|
|
129
|
-
#### Default Value
|
|
130
|
-
`false`
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
#### Expression
|
|
134
|
-
|
|
135
|
-
Parameters: `zoom`
|
|
136
|
-
|
|
137
|
-
___
|
|
138
|
-
|
|
139
|
-
#### Name
|
|
140
|
-
`symbolSortKey`
|
|
141
|
-
|
|
142
|
-
#### Description
|
|
143
|
-
Sorts features in ascending order based on this value. Features with lower sort keys are drawn and placed first. When `iconAllowOverlap` or `textAllowOverlap` is `false`, features with a lower sort key will have priority during placement. When `iconAllowOverlap` or `textAllowOverlap` is set to `true`, features with a higher sort key will overlap over features with a lower sort key.
|
|
144
|
-
|
|
145
|
-
#### Type
|
|
146
|
-
`number`
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
#### Expression
|
|
150
|
-
|
|
151
|
-
Parameters: `zoom, feature`
|
|
152
|
-
|
|
153
|
-
___
|
|
154
|
-
|
|
155
|
-
#### Name
|
|
156
|
-
`symbolZOrder`
|
|
157
|
-
|
|
158
|
-
#### Description
|
|
159
|
-
Determines whether overlapping symbols in the same layer are rendered in the order that they appear in the data source or by their yPosition relative to the viewport. To control the order and prioritization of symbols otherwise, use `symbolSortKey`.
|
|
160
|
-
|
|
161
|
-
#### Type
|
|
162
|
-
`enum`
|
|
163
|
-
#### Default Value
|
|
164
|
-
`auto`
|
|
165
|
-
|
|
166
|
-
#### Supported Values
|
|
167
|
-
**auto** - Sorts symbols by `symbol-sort-key` if set. Otherwise, sorts symbols by their y-position relative to the viewport if `icon-allow-overlap` or `text-allow-overlap` is set to `true` or `icon-ignore-placement` or `text-ignore-placement` is `false`.<br />
|
|
168
|
-
**viewport-y** - Sorts symbols by their y-position relative to the viewport if `icon-allow-overlap` or `text-allow-overlap` is set to `true` or `icon-ignore-placement` or `text-ignore-placement` is `false`.<br />
|
|
169
|
-
**source** - Sorts symbols by `symbol-sort-key` if set. Otherwise, no sorting is applied; symbols are rendered in the same order as the source data.<br />
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
#### Expression
|
|
173
|
-
|
|
174
|
-
Parameters: `zoom`
|
|
175
|
-
|
|
176
|
-
___
|
|
177
|
-
|
|
178
|
-
#### Name
|
|
179
|
-
`iconAllowOverlap`
|
|
180
|
-
|
|
181
|
-
#### Description
|
|
182
|
-
If true, the icon will be visible even if it collides with other previously drawn symbols.
|
|
183
|
-
|
|
184
|
-
#### Type
|
|
185
|
-
`boolean`
|
|
186
|
-
#### Default Value
|
|
187
|
-
`false`
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
#### Requires
|
|
191
|
-
`iconImage`
|
|
192
|
-
|
|
193
|
-
#### Disabled By
|
|
194
|
-
`iconOverlap`
|
|
195
|
-
|
|
196
|
-
#### Expression
|
|
197
|
-
|
|
198
|
-
Parameters: `zoom`
|
|
199
|
-
|
|
200
|
-
___
|
|
201
|
-
|
|
202
|
-
#### Name
|
|
203
|
-
`iconIgnorePlacement`
|
|
204
|
-
|
|
205
|
-
#### Description
|
|
206
|
-
If true, other symbols can be visible even if they collide with the icon.
|
|
207
|
-
|
|
208
|
-
#### Type
|
|
209
|
-
`boolean`
|
|
210
|
-
#### Default Value
|
|
211
|
-
`false`
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
#### Requires
|
|
215
|
-
`iconImage`
|
|
216
|
-
|
|
217
|
-
#### Expression
|
|
218
|
-
|
|
219
|
-
Parameters: `zoom`
|
|
220
|
-
|
|
221
|
-
___
|
|
222
|
-
|
|
223
|
-
#### Name
|
|
224
|
-
`iconOptional`
|
|
225
|
-
|
|
226
|
-
#### Description
|
|
227
|
-
If true, text will display without their corresponding icons when the icon collides with other symbols and the text does not.
|
|
228
|
-
|
|
229
|
-
#### Type
|
|
230
|
-
`boolean`
|
|
231
|
-
#### Default Value
|
|
232
|
-
`false`
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
#### Requires
|
|
236
|
-
`iconImage, textField`
|
|
237
|
-
|
|
238
|
-
#### Expression
|
|
239
|
-
|
|
240
|
-
Parameters: `zoom`
|
|
241
|
-
|
|
242
|
-
___
|
|
243
|
-
|
|
244
|
-
#### Name
|
|
245
|
-
`iconRotationAlignment`
|
|
246
|
-
|
|
247
|
-
#### Description
|
|
248
|
-
In combination with `symbolPlacement`, determines the rotation behavior of icons.
|
|
249
|
-
|
|
250
|
-
#### Type
|
|
251
|
-
`enum`
|
|
252
|
-
#### Default Value
|
|
253
|
-
`auto`
|
|
254
|
-
|
|
255
|
-
#### Supported Values
|
|
256
|
-
**map** - When `symbol-placement` is set to `point`, aligns icons east-west. When `symbol-placement` is set to `line` or `line-center`, aligns icon x-axes with the line.<br />
|
|
257
|
-
**viewport** - Produces icons whose x-axes are aligned with the x-axis of the viewport, regardless of the value of `symbol-placement`.<br />
|
|
258
|
-
**auto** - When `symbol-placement` is set to `point`, this is equivalent to `viewport`. When `symbol-placement` is set to `line` or `line-center`, this is equivalent to `map`.<br />
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
#### Requires
|
|
262
|
-
`iconImage`
|
|
263
|
-
|
|
264
|
-
#### Expression
|
|
265
|
-
|
|
266
|
-
Parameters: `zoom`
|
|
267
|
-
|
|
268
|
-
___
|
|
269
|
-
|
|
270
|
-
#### Name
|
|
271
|
-
`iconSize`
|
|
272
|
-
|
|
273
|
-
#### Description
|
|
274
|
-
Scales the original size of the icon by the provided factor. The new pixel size of the image will be the original pixel size multiplied by `iconSize`. 1 is the original size; 3 triples the size of the image.
|
|
275
|
-
|
|
276
|
-
#### Type
|
|
277
|
-
`number`
|
|
278
|
-
#### Default Value
|
|
279
|
-
`1`
|
|
280
|
-
|
|
281
|
-
#### Units
|
|
282
|
-
`factor of the original icon size`
|
|
283
|
-
|
|
284
|
-
#### Minimum
|
|
285
|
-
`0`
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
#### Requires
|
|
289
|
-
`iconImage`
|
|
290
|
-
|
|
291
|
-
#### Expression
|
|
292
|
-
|
|
293
|
-
Parameters: `zoom, feature`
|
|
294
|
-
|
|
295
|
-
___
|
|
296
|
-
|
|
297
|
-
#### Name
|
|
298
|
-
`iconTextFit`
|
|
299
|
-
|
|
300
|
-
#### Description
|
|
301
|
-
Scales the icon to fit around the associated text.
|
|
302
|
-
|
|
303
|
-
#### Type
|
|
304
|
-
`enum`
|
|
305
|
-
#### Default Value
|
|
306
|
-
`none`
|
|
307
|
-
|
|
308
|
-
#### Supported Values
|
|
309
|
-
**none** - The icon is displayed at its intrinsic aspect ratio.<br />
|
|
310
|
-
**width** - The icon is scaled in the x-dimension to fit the width of the text.<br />
|
|
311
|
-
**height** - The icon is scaled in the y-dimension to fit the height of the text.<br />
|
|
312
|
-
**both** - The icon is scaled in both x- and y-dimensions.<br />
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
#### Requires
|
|
316
|
-
`iconImage, textField`
|
|
317
|
-
|
|
318
|
-
#### Expression
|
|
319
|
-
|
|
320
|
-
Parameters: `zoom`
|
|
321
|
-
|
|
322
|
-
___
|
|
323
|
-
|
|
324
|
-
#### Name
|
|
325
|
-
`iconTextFitPadding`
|
|
326
|
-
|
|
327
|
-
#### Description
|
|
328
|
-
Size of the additional area added to dimensions determined by `iconTextFit`, in clockwise order: top, right, bottom, left.
|
|
329
|
-
|
|
330
|
-
#### Type
|
|
331
|
-
`array<number>`
|
|
332
|
-
#### Default Value
|
|
333
|
-
`[0,0,0,0]`
|
|
334
|
-
|
|
335
|
-
#### Units
|
|
336
|
-
`pixels`
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
#### Requires
|
|
340
|
-
`iconImage, textField`
|
|
341
|
-
|
|
342
|
-
#### Expression
|
|
343
|
-
|
|
344
|
-
Parameters: `zoom`
|
|
345
|
-
|
|
346
|
-
___
|
|
347
|
-
|
|
348
|
-
#### Name
|
|
349
|
-
`iconImage`
|
|
350
|
-
|
|
351
|
-
#### Description
|
|
352
|
-
Name of image in sprite to use for drawing an image background.
|
|
353
|
-
|
|
354
|
-
#### Type
|
|
355
|
-
`resolvedImage`
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
#### Expression
|
|
359
|
-
|
|
360
|
-
Parameters: `zoom, feature`
|
|
361
|
-
|
|
362
|
-
___
|
|
363
|
-
|
|
364
|
-
#### Name
|
|
365
|
-
`iconRotate`
|
|
366
|
-
|
|
367
|
-
#### Description
|
|
368
|
-
Rotates the icon clockwise.
|
|
369
|
-
|
|
370
|
-
#### Type
|
|
371
|
-
`number`
|
|
372
|
-
#### Default Value
|
|
373
|
-
`0`
|
|
374
|
-
|
|
375
|
-
#### Units
|
|
376
|
-
`degrees`
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
#### Requires
|
|
380
|
-
`iconImage`
|
|
381
|
-
|
|
382
|
-
#### Expression
|
|
383
|
-
|
|
384
|
-
Parameters: `zoom, feature`
|
|
385
|
-
|
|
386
|
-
___
|
|
387
|
-
|
|
388
|
-
#### Name
|
|
389
|
-
`iconPadding`
|
|
390
|
-
|
|
391
|
-
#### Description
|
|
392
|
-
Size of additional area round the icon bounding box used for detecting symbol collisions. Values are declared using CSS margin shorthand syntax: a single value applies to all four sides; two values apply to [top/bottom, left/right]; three values apply to [top, left/right, bottom]; four values apply to [top, right, bottom, left]. For backwards compatibility, a single bare number is accepted, and treated the same as a oneElement array padding applied to all sides.
|
|
393
|
-
|
|
394
|
-
#### Type
|
|
395
|
-
`number`
|
|
396
|
-
#### Default Value
|
|
397
|
-
`2`
|
|
398
|
-
|
|
399
|
-
#### Units
|
|
400
|
-
`pixels`
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
#### Requires
|
|
404
|
-
`iconImage`
|
|
405
|
-
|
|
406
|
-
#### Expression
|
|
407
|
-
|
|
408
|
-
Parameters: `zoom, feature`
|
|
409
|
-
|
|
410
|
-
___
|
|
411
|
-
|
|
412
|
-
#### Name
|
|
413
|
-
`iconKeepUpright`
|
|
414
|
-
|
|
415
|
-
#### Description
|
|
416
|
-
If true, the icon may be flipped to prevent it from being rendered upsideDown.
|
|
417
|
-
|
|
418
|
-
#### Type
|
|
419
|
-
`boolean`
|
|
420
|
-
#### Default Value
|
|
421
|
-
`false`
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
#### Requires
|
|
425
|
-
`iconImage`
|
|
426
|
-
|
|
427
|
-
#### Expression
|
|
428
|
-
|
|
429
|
-
Parameters: `zoom`
|
|
430
|
-
|
|
431
|
-
___
|
|
432
|
-
|
|
433
|
-
#### Name
|
|
434
|
-
`iconOffset`
|
|
435
|
-
|
|
436
|
-
#### Description
|
|
437
|
-
Offset distance of icon from its anchor. Positive values indicate right and down, while negative values indicate left and up. Each component is multiplied by the value of `iconSize` to obtain the final offset in pixels. When combined with `iconRotate` the offset will be as if the rotated direction was up.
|
|
438
|
-
|
|
439
|
-
#### Type
|
|
440
|
-
`array<number>`
|
|
441
|
-
#### Default Value
|
|
442
|
-
`[0,0]`
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
#### Requires
|
|
446
|
-
`iconImage`
|
|
447
|
-
|
|
448
|
-
#### Expression
|
|
449
|
-
|
|
450
|
-
Parameters: `zoom, feature`
|
|
451
|
-
|
|
452
|
-
___
|
|
453
|
-
|
|
454
|
-
#### Name
|
|
455
|
-
`iconAnchor`
|
|
456
|
-
|
|
457
|
-
#### Description
|
|
458
|
-
Part of the icon placed closest to the anchor.
|
|
459
|
-
|
|
460
|
-
#### Type
|
|
461
|
-
`enum`
|
|
462
|
-
#### Default Value
|
|
463
|
-
`center`
|
|
464
|
-
|
|
465
|
-
#### Supported Values
|
|
466
|
-
**center** - The center of the icon is placed closest to the anchor.<br />
|
|
467
|
-
**left** - The left side of the icon is placed closest to the anchor.<br />
|
|
468
|
-
**right** - The right side of the icon is placed closest to the anchor.<br />
|
|
469
|
-
**top** - The top of the icon is placed closest to the anchor.<br />
|
|
470
|
-
**bottom** - The bottom of the icon is placed closest to the anchor.<br />
|
|
471
|
-
**top-left** - The top left corner of the icon is placed closest to the anchor.<br />
|
|
472
|
-
**top-right** - The top right corner of the icon is placed closest to the anchor.<br />
|
|
473
|
-
**bottom-left** - The bottom left corner of the icon is placed closest to the anchor.<br />
|
|
474
|
-
**bottom-right** - The bottom right corner of the icon is placed closest to the anchor.<br />
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
#### Requires
|
|
478
|
-
`iconImage`
|
|
479
|
-
|
|
480
|
-
#### Expression
|
|
481
|
-
|
|
482
|
-
Parameters: `zoom, feature`
|
|
483
|
-
|
|
484
|
-
___
|
|
485
|
-
|
|
486
|
-
#### Name
|
|
487
|
-
`iconPitchAlignment`
|
|
488
|
-
|
|
489
|
-
#### Description
|
|
490
|
-
Orientation of icon when map is pitched.
|
|
491
|
-
|
|
492
|
-
#### Type
|
|
493
|
-
`enum`
|
|
494
|
-
#### Default Value
|
|
495
|
-
`auto`
|
|
496
|
-
|
|
497
|
-
#### Supported Values
|
|
498
|
-
**map** - The icon is aligned to the plane of the map.<br />
|
|
499
|
-
**viewport** - The icon is aligned to the plane of the viewport.<br />
|
|
500
|
-
**auto** - Automatically matches the value of `icon-rotation-alignment`.<br />
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
#### Requires
|
|
504
|
-
`iconImage`
|
|
505
|
-
|
|
506
|
-
#### Expression
|
|
507
|
-
|
|
508
|
-
Parameters: `zoom`
|
|
509
|
-
|
|
510
|
-
___
|
|
511
|
-
|
|
512
|
-
#### Name
|
|
513
|
-
`textPitchAlignment`
|
|
514
|
-
|
|
515
|
-
#### Description
|
|
516
|
-
Orientation of text when map is pitched.
|
|
517
|
-
|
|
518
|
-
#### Type
|
|
519
|
-
`enum`
|
|
520
|
-
#### Default Value
|
|
521
|
-
`auto`
|
|
522
|
-
|
|
523
|
-
#### Supported Values
|
|
524
|
-
**map** - The text is aligned to the plane of the map.<br />
|
|
525
|
-
**viewport** - The text is aligned to the plane of the viewport.<br />
|
|
526
|
-
**auto** - Automatically matches the value of `text-rotation-alignment`.<br />
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
#### Requires
|
|
530
|
-
`textField`
|
|
531
|
-
|
|
532
|
-
#### Expression
|
|
533
|
-
|
|
534
|
-
Parameters: `zoom`
|
|
535
|
-
|
|
536
|
-
___
|
|
537
|
-
|
|
538
|
-
#### Name
|
|
539
|
-
`textRotationAlignment`
|
|
540
|
-
|
|
541
|
-
#### Description
|
|
542
|
-
In combination with `symbolPlacement`, determines the rotation behavior of the individual glyphs forming the text.
|
|
543
|
-
|
|
544
|
-
#### Type
|
|
545
|
-
`enum`
|
|
546
|
-
#### Default Value
|
|
547
|
-
`auto`
|
|
548
|
-
|
|
549
|
-
#### Supported Values
|
|
550
|
-
**map** - When `symbol-placement` is set to `point`, aligns text east-west. When `symbol-placement` is set to `line` or `line-center`, aligns text x-axes with the line.<br />
|
|
551
|
-
**viewport** - Produces glyphs whose x-axes are aligned with the x-axis of the viewport, regardless of the value of `symbol-placement`.<br />
|
|
552
|
-
**viewport-glyph** - When `symbol-placement` is set to `point`, aligns text to the x-axis of the viewport. When `symbol-placement` is set to `line` or `line-center`, aligns glyphs to the x-axis of the viewport and places them along the line.<br />
|
|
553
|
-
**auto** - When `symbol-placement` is set to `point`, this is equivalent to `viewport`. When `symbol-placement` is set to `line` or `line-center`, this is equivalent to `map`.<br />
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
#### Requires
|
|
557
|
-
`textField`
|
|
558
|
-
|
|
559
|
-
#### Expression
|
|
560
|
-
|
|
561
|
-
Parameters: `zoom`
|
|
562
|
-
|
|
563
|
-
___
|
|
564
|
-
|
|
565
|
-
#### Name
|
|
566
|
-
`textField`
|
|
567
|
-
|
|
568
|
-
#### Description
|
|
569
|
-
Value to use for a text label. If a plain `string` is provided, it will be treated as a `formatted` with default/inherited formatting options.
|
|
570
|
-
|
|
571
|
-
#### Type
|
|
572
|
-
`formatted`
|
|
573
|
-
#### Default Value
|
|
574
|
-
``
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
#### Expression
|
|
578
|
-
|
|
579
|
-
Parameters: `zoom, feature`
|
|
580
|
-
|
|
581
|
-
___
|
|
582
|
-
|
|
583
|
-
#### Name
|
|
584
|
-
`textFont`
|
|
585
|
-
|
|
586
|
-
#### Description
|
|
587
|
-
Font stack to use for displaying text.
|
|
588
|
-
|
|
589
|
-
#### Type
|
|
590
|
-
`array<string>`
|
|
591
|
-
#### Default Value
|
|
592
|
-
`[Open Sans Regular,Arial Unicode MS Regular]`
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
#### Requires
|
|
596
|
-
`textField`
|
|
597
|
-
|
|
598
|
-
#### Supported Style Functions
|
|
599
|
-
`camera`
|
|
600
|
-
#### Expression
|
|
601
|
-
|
|
602
|
-
Parameters: `zoom, feature`
|
|
603
|
-
|
|
604
|
-
___
|
|
605
|
-
|
|
606
|
-
#### Name
|
|
607
|
-
`textSize`
|
|
608
|
-
|
|
609
|
-
#### Description
|
|
610
|
-
Font size.
|
|
611
|
-
|
|
612
|
-
#### Type
|
|
613
|
-
`number`
|
|
614
|
-
#### Default Value
|
|
615
|
-
`16`
|
|
616
|
-
|
|
617
|
-
#### Units
|
|
618
|
-
`pixels`
|
|
619
|
-
|
|
620
|
-
#### Minimum
|
|
621
|
-
`0`
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
#### Requires
|
|
625
|
-
`textField`
|
|
626
|
-
|
|
627
|
-
#### Expression
|
|
628
|
-
|
|
629
|
-
Parameters: `zoom, feature`
|
|
630
|
-
|
|
631
|
-
___
|
|
632
|
-
|
|
633
|
-
#### Name
|
|
634
|
-
`textMaxWidth`
|
|
635
|
-
|
|
636
|
-
#### Description
|
|
637
|
-
The maximum line width for text wrapping.
|
|
638
|
-
|
|
639
|
-
#### Type
|
|
640
|
-
`number`
|
|
641
|
-
#### Default Value
|
|
642
|
-
`10`
|
|
643
|
-
|
|
644
|
-
#### Units
|
|
645
|
-
`ems`
|
|
646
|
-
|
|
647
|
-
#### Minimum
|
|
648
|
-
`0`
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
#### Requires
|
|
652
|
-
`textField`
|
|
653
|
-
|
|
654
|
-
#### Supported Style Functions
|
|
655
|
-
`camera`
|
|
656
|
-
#### Expression
|
|
657
|
-
|
|
658
|
-
Parameters: `zoom, feature`
|
|
659
|
-
|
|
660
|
-
___
|
|
661
|
-
|
|
662
|
-
#### Name
|
|
663
|
-
`textLineHeight`
|
|
664
|
-
|
|
665
|
-
#### Description
|
|
666
|
-
Text leading value for multiLine text.
|
|
667
|
-
|
|
668
|
-
#### Type
|
|
669
|
-
`number`
|
|
670
|
-
#### Default Value
|
|
671
|
-
`1.2`
|
|
672
|
-
|
|
673
|
-
#### Units
|
|
674
|
-
`ems`
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
#### Requires
|
|
678
|
-
`textField`
|
|
679
|
-
|
|
680
|
-
#### Expression
|
|
681
|
-
|
|
682
|
-
Parameters: `zoom`
|
|
683
|
-
|
|
684
|
-
___
|
|
685
|
-
|
|
686
|
-
#### Name
|
|
687
|
-
`textLetterSpacing`
|
|
688
|
-
|
|
689
|
-
#### Description
|
|
690
|
-
Text tracking amount.
|
|
691
|
-
|
|
692
|
-
#### Type
|
|
693
|
-
`number`
|
|
694
|
-
#### Default Value
|
|
695
|
-
`0`
|
|
696
|
-
|
|
697
|
-
#### Units
|
|
698
|
-
`ems`
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
#### Requires
|
|
702
|
-
`textField`
|
|
703
|
-
|
|
704
|
-
#### Supported Style Functions
|
|
705
|
-
`camera`
|
|
706
|
-
#### Expression
|
|
707
|
-
|
|
708
|
-
Parameters: `zoom, feature`
|
|
709
|
-
|
|
710
|
-
___
|
|
711
|
-
|
|
712
|
-
#### Name
|
|
713
|
-
`textJustify`
|
|
714
|
-
|
|
715
|
-
#### Description
|
|
716
|
-
Text justification options.
|
|
717
|
-
|
|
718
|
-
#### Type
|
|
719
|
-
`enum`
|
|
720
|
-
#### Default Value
|
|
721
|
-
`center`
|
|
722
|
-
|
|
723
|
-
#### Supported Values
|
|
724
|
-
**auto** - The text is aligned towards the anchor position.<br />
|
|
725
|
-
**left** - The text is aligned to the left.<br />
|
|
726
|
-
**center** - The text is centered.<br />
|
|
727
|
-
**right** - The text is aligned to the right.<br />
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
#### Requires
|
|
731
|
-
`textField`
|
|
732
|
-
|
|
733
|
-
#### Supported Style Functions
|
|
734
|
-
`camera`
|
|
735
|
-
#### Expression
|
|
736
|
-
|
|
737
|
-
Parameters: `zoom, feature`
|
|
738
|
-
|
|
739
|
-
___
|
|
740
|
-
|
|
741
|
-
#### Name
|
|
742
|
-
`textRadialOffset`
|
|
743
|
-
|
|
744
|
-
#### Description
|
|
745
|
-
Radial offset of text, in the direction of the symbol's anchor. Useful in combination with `textVariableAnchor`, which defaults to using the twoDimensional `textOffset` if present.
|
|
746
|
-
|
|
747
|
-
#### Type
|
|
748
|
-
`number`
|
|
749
|
-
#### Default Value
|
|
750
|
-
`0`
|
|
751
|
-
|
|
752
|
-
#### Units
|
|
753
|
-
`ems`
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
#### Requires
|
|
757
|
-
`textField`
|
|
758
|
-
|
|
759
|
-
#### Expression
|
|
760
|
-
|
|
761
|
-
Parameters: `zoom, feature`
|
|
762
|
-
|
|
763
|
-
___
|
|
764
|
-
|
|
765
|
-
#### Name
|
|
766
|
-
`textVariableAnchor`
|
|
767
|
-
|
|
768
|
-
#### Description
|
|
769
|
-
To increase the chance of placing highPriority labels on the map, you can provide an array of `textAnchor` locations: the renderer will attempt to place the label at each location, in order, before moving onto the next label. Use `textJustify: auto` to choose justification based on anchor position. To apply an offset, use the `textRadialOffset` or the twoDimensional `textOffset`.
|
|
770
|
-
|
|
771
|
-
#### Type
|
|
772
|
-
`array<enum>`
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
#### Requires
|
|
776
|
-
`textField`
|
|
777
|
-
|
|
778
|
-
#### Expression
|
|
779
|
-
|
|
780
|
-
Parameters: `zoom`
|
|
781
|
-
|
|
782
|
-
___
|
|
783
|
-
|
|
784
|
-
#### Name
|
|
785
|
-
`textAnchor`
|
|
786
|
-
|
|
787
|
-
#### Description
|
|
788
|
-
Part of the text placed closest to the anchor.
|
|
789
|
-
|
|
790
|
-
#### Type
|
|
791
|
-
`enum`
|
|
792
|
-
#### Default Value
|
|
793
|
-
`center`
|
|
794
|
-
|
|
795
|
-
#### Supported Values
|
|
796
|
-
**center** - The center of the text is placed closest to the anchor.<br />
|
|
797
|
-
**left** - The left side of the text is placed closest to the anchor.<br />
|
|
798
|
-
**right** - The right side of the text is placed closest to the anchor.<br />
|
|
799
|
-
**top** - The top of the text is placed closest to the anchor.<br />
|
|
800
|
-
**bottom** - The bottom of the text is placed closest to the anchor.<br />
|
|
801
|
-
**top-left** - The top left corner of the text is placed closest to the anchor.<br />
|
|
802
|
-
**top-right** - The top right corner of the text is placed closest to the anchor.<br />
|
|
803
|
-
**bottom-left** - The bottom left corner of the text is placed closest to the anchor.<br />
|
|
804
|
-
**bottom-right** - The bottom right corner of the text is placed closest to the anchor.<br />
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
#### Requires
|
|
808
|
-
`textField`
|
|
809
|
-
|
|
810
|
-
#### Disabled By
|
|
811
|
-
`textVariableAnchor`
|
|
812
|
-
|
|
813
|
-
#### Supported Style Functions
|
|
814
|
-
`camera`
|
|
815
|
-
#### Expression
|
|
816
|
-
|
|
817
|
-
Parameters: `zoom, feature`
|
|
818
|
-
|
|
819
|
-
___
|
|
820
|
-
|
|
821
|
-
#### Name
|
|
822
|
-
`textMaxAngle`
|
|
823
|
-
|
|
824
|
-
#### Description
|
|
825
|
-
Maximum angle change between adjacent characters.
|
|
826
|
-
|
|
827
|
-
#### Type
|
|
828
|
-
`number`
|
|
829
|
-
#### Default Value
|
|
830
|
-
`45`
|
|
831
|
-
|
|
832
|
-
#### Units
|
|
833
|
-
`degrees`
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
#### Requires
|
|
837
|
-
`textField`
|
|
838
|
-
|
|
839
|
-
#### Expression
|
|
840
|
-
|
|
841
|
-
Parameters: `zoom`
|
|
842
|
-
|
|
843
|
-
___
|
|
844
|
-
|
|
845
|
-
#### Name
|
|
846
|
-
`textWritingMode`
|
|
847
|
-
|
|
848
|
-
#### Description
|
|
849
|
-
The property allows control over a symbol's orientation. Note that the property values act as a hint, so that a symbol whose language doesn’t support the provided orientation will be laid out in its natural orientation. Example: English point symbol will be rendered horizontally even if array value contains single 'vertical' enum value. The order of elements in an array define priority order for the placement of an orientation variant.
|
|
850
|
-
|
|
851
|
-
#### Type
|
|
852
|
-
`array<enum>`
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
#### Requires
|
|
856
|
-
`textField`
|
|
857
|
-
|
|
858
|
-
#### Expression
|
|
859
|
-
|
|
860
|
-
Parameters: `zoom`
|
|
861
|
-
|
|
862
|
-
___
|
|
863
|
-
|
|
864
|
-
#### Name
|
|
865
|
-
`textRotate`
|
|
866
|
-
|
|
867
|
-
#### Description
|
|
868
|
-
Rotates the text clockwise.
|
|
869
|
-
|
|
870
|
-
#### Type
|
|
871
|
-
`number`
|
|
872
|
-
#### Default Value
|
|
873
|
-
`0`
|
|
874
|
-
|
|
875
|
-
#### Units
|
|
876
|
-
`degrees`
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
#### Requires
|
|
880
|
-
`textField`
|
|
881
|
-
|
|
882
|
-
#### Expression
|
|
883
|
-
|
|
884
|
-
Parameters: `zoom, feature`
|
|
885
|
-
|
|
886
|
-
___
|
|
887
|
-
|
|
888
|
-
#### Name
|
|
889
|
-
`textPadding`
|
|
890
|
-
|
|
891
|
-
#### Description
|
|
892
|
-
Size of the additional area around the text bounding box used for detecting symbol collisions.
|
|
893
|
-
|
|
894
|
-
#### Type
|
|
895
|
-
`number`
|
|
896
|
-
#### Default Value
|
|
897
|
-
`2`
|
|
898
|
-
|
|
899
|
-
#### Units
|
|
900
|
-
`pixels`
|
|
901
|
-
|
|
902
|
-
#### Minimum
|
|
903
|
-
`0`
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
#### Requires
|
|
907
|
-
`textField`
|
|
908
|
-
|
|
909
|
-
#### Expression
|
|
910
|
-
|
|
911
|
-
Parameters: `zoom`
|
|
912
|
-
|
|
913
|
-
___
|
|
914
|
-
|
|
915
|
-
#### Name
|
|
916
|
-
`textKeepUpright`
|
|
917
|
-
|
|
918
|
-
#### Description
|
|
919
|
-
If true, the text may be flipped vertically to prevent it from being rendered upsideDown.
|
|
920
|
-
|
|
921
|
-
#### Type
|
|
922
|
-
`boolean`
|
|
923
|
-
#### Default Value
|
|
924
|
-
`true`
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
#### Requires
|
|
928
|
-
`textField`
|
|
929
|
-
|
|
930
|
-
#### Expression
|
|
931
|
-
|
|
932
|
-
Parameters: `zoom`
|
|
933
|
-
|
|
934
|
-
___
|
|
935
|
-
|
|
936
|
-
#### Name
|
|
937
|
-
`textTransform`
|
|
938
|
-
|
|
939
|
-
#### Description
|
|
940
|
-
Specifies how to capitalize text, similar to the CSS `textTransform` property.
|
|
941
|
-
|
|
942
|
-
#### Type
|
|
943
|
-
`enum`
|
|
944
|
-
#### Default Value
|
|
945
|
-
`none`
|
|
946
|
-
|
|
947
|
-
#### Supported Values
|
|
948
|
-
**none** - The text is not altered.<br />
|
|
949
|
-
**uppercase** - Forces all letters to be displayed in uppercase.<br />
|
|
950
|
-
**lowercase** - Forces all letters to be displayed in lowercase.<br />
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
#### Requires
|
|
954
|
-
`textField`
|
|
955
|
-
|
|
956
|
-
#### Expression
|
|
957
|
-
|
|
958
|
-
Parameters: `zoom, feature`
|
|
959
|
-
|
|
960
|
-
___
|
|
961
|
-
|
|
962
|
-
#### Name
|
|
963
|
-
`textOffset`
|
|
964
|
-
|
|
965
|
-
#### Description
|
|
966
|
-
Offset distance of text from its anchor. Positive values indicate right and down, while negative values indicate left and up. If used with textVariableAnchor, input values will be taken as absolute values. Offsets along the x and yAxis will be applied automatically based on the anchor position.
|
|
967
|
-
|
|
968
|
-
#### Type
|
|
969
|
-
`array<number>`
|
|
970
|
-
#### Default Value
|
|
971
|
-
`[0,0]`
|
|
972
|
-
|
|
973
|
-
#### Units
|
|
974
|
-
`ems`
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
#### Requires
|
|
978
|
-
`textField`
|
|
979
|
-
|
|
980
|
-
#### Disabled By
|
|
981
|
-
`textRadialOffset`
|
|
982
|
-
|
|
983
|
-
#### Expression
|
|
984
|
-
|
|
985
|
-
Parameters: `zoom, feature`
|
|
986
|
-
|
|
987
|
-
___
|
|
988
|
-
|
|
989
|
-
#### Name
|
|
990
|
-
`textAllowOverlap`
|
|
991
|
-
|
|
992
|
-
#### Description
|
|
993
|
-
If true, the text will be visible even if it collides with other previously drawn symbols.
|
|
994
|
-
|
|
995
|
-
#### Type
|
|
996
|
-
`boolean`
|
|
997
|
-
#### Default Value
|
|
998
|
-
`false`
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
#### Requires
|
|
1002
|
-
`textField`
|
|
1003
|
-
|
|
1004
|
-
#### Disabled By
|
|
1005
|
-
`textOverlap`
|
|
1006
|
-
|
|
1007
|
-
#### Expression
|
|
1008
|
-
|
|
1009
|
-
Parameters: `zoom`
|
|
1010
|
-
|
|
1011
|
-
___
|
|
1012
|
-
|
|
1013
|
-
#### Name
|
|
1014
|
-
`textIgnorePlacement`
|
|
1015
|
-
|
|
1016
|
-
#### Description
|
|
1017
|
-
If true, other symbols can be visible even if they collide with the text.
|
|
1018
|
-
|
|
1019
|
-
#### Type
|
|
1020
|
-
`boolean`
|
|
1021
|
-
#### Default Value
|
|
1022
|
-
`false`
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
#### Requires
|
|
1026
|
-
`textField`
|
|
1027
|
-
|
|
1028
|
-
#### Expression
|
|
1029
|
-
|
|
1030
|
-
Parameters: `zoom`
|
|
1031
|
-
|
|
1032
|
-
___
|
|
1033
|
-
|
|
1034
|
-
#### Name
|
|
1035
|
-
`textOptional`
|
|
1036
|
-
|
|
1037
|
-
#### Description
|
|
1038
|
-
If true, icons will display without their corresponding text when the text collides with other symbols and the icon does not.
|
|
1039
|
-
|
|
1040
|
-
#### Type
|
|
1041
|
-
`boolean`
|
|
1042
|
-
#### Default Value
|
|
1043
|
-
`false`
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
#### Requires
|
|
1047
|
-
`textField, iconImage`
|
|
1048
|
-
|
|
1049
|
-
#### Expression
|
|
1050
|
-
|
|
1051
|
-
Parameters: `zoom`
|
|
1052
|
-
|
|
1053
|
-
___
|
|
1054
|
-
|
|
1055
|
-
#### Name
|
|
1056
|
-
`visibility`
|
|
1057
|
-
|
|
1058
|
-
#### Description
|
|
1059
|
-
Whether this layer is displayed.
|
|
1060
|
-
|
|
1061
|
-
#### Type
|
|
1062
|
-
`enum`
|
|
1063
|
-
#### Default Value
|
|
1064
|
-
`visible`
|
|
1065
|
-
|
|
1066
|
-
#### Supported Values
|
|
1067
|
-
**visible** - The layer is shown.<br />
|
|
1068
|
-
**none** - The layer is not shown.<br />
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
___
|
|
1073
|
-
|
|
1074
|
-
#### Name
|
|
1075
|
-
`iconOpacity`
|
|
1076
|
-
|
|
1077
|
-
#### Description
|
|
1078
|
-
The opacity at which the icon will be drawn.
|
|
1079
|
-
|
|
1080
|
-
#### Type
|
|
1081
|
-
`number`
|
|
1082
|
-
#### Default Value
|
|
1083
|
-
`1`
|
|
1084
|
-
|
|
1085
|
-
#### Minimum
|
|
1086
|
-
`0`
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
#### Maximum
|
|
1090
|
-
`1`
|
|
1091
|
-
|
|
1092
|
-
#### Requires
|
|
1093
|
-
`iconImage`
|
|
1094
|
-
|
|
1095
|
-
#### Expression
|
|
1096
|
-
|
|
1097
|
-
Parameters: `zoom, feature, feature-state`
|
|
1098
|
-
___
|
|
1099
|
-
|
|
1100
|
-
#### Name
|
|
1101
|
-
|
|
1102
|
-
`iconOpacityTransition`
|
|
1103
|
-
|
|
1104
|
-
#### Description
|
|
1105
|
-
|
|
1106
|
-
The transition affecting any changes to this layer’s iconOpacity propery.
|
|
1107
|
-
|
|
1108
|
-
#### Type
|
|
1109
|
-
|
|
1110
|
-
`{ duration, delay }`
|
|
1111
|
-
|
|
1112
|
-
#### Units
|
|
1113
|
-
`milliseconds`
|
|
1114
|
-
|
|
1115
|
-
#### Default Value
|
|
1116
|
-
`{duration: 300, delay: 0}`
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
___
|
|
1120
|
-
|
|
1121
|
-
#### Name
|
|
1122
|
-
`iconColor`
|
|
1123
|
-
|
|
1124
|
-
#### Description
|
|
1125
|
-
The color of the icon. This can only be used with sdf icons.
|
|
1126
|
-
|
|
1127
|
-
#### Type
|
|
1128
|
-
`color`
|
|
1129
|
-
#### Default Value
|
|
1130
|
-
`#000000`
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
#### Requires
|
|
1134
|
-
`iconImage`
|
|
1135
|
-
|
|
1136
|
-
#### Expression
|
|
1137
|
-
|
|
1138
|
-
Parameters: `zoom, feature, feature-state`
|
|
1139
|
-
___
|
|
1140
|
-
|
|
1141
|
-
#### Name
|
|
1142
|
-
|
|
1143
|
-
`iconColorTransition`
|
|
1144
|
-
|
|
1145
|
-
#### Description
|
|
1146
|
-
|
|
1147
|
-
The transition affecting any changes to this layer’s iconColor propery.
|
|
1148
|
-
|
|
1149
|
-
#### Type
|
|
1150
|
-
|
|
1151
|
-
`{ duration, delay }`
|
|
1152
|
-
|
|
1153
|
-
#### Units
|
|
1154
|
-
`milliseconds`
|
|
1155
|
-
|
|
1156
|
-
#### Default Value
|
|
1157
|
-
`{duration: 300, delay: 0}`
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
___
|
|
1161
|
-
|
|
1162
|
-
#### Name
|
|
1163
|
-
`iconHaloColor`
|
|
1164
|
-
|
|
1165
|
-
#### Description
|
|
1166
|
-
The color of the icon's halo. Icon halos can only be used with SDF icons.
|
|
1167
|
-
|
|
1168
|
-
#### Type
|
|
1169
|
-
`color`
|
|
1170
|
-
#### Default Value
|
|
1171
|
-
`rgba(0, 0, 0, 0)`
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
#### Requires
|
|
1175
|
-
`iconImage`
|
|
1176
|
-
|
|
1177
|
-
#### Expression
|
|
1178
|
-
|
|
1179
|
-
Parameters: `zoom, feature, feature-state`
|
|
1180
|
-
___
|
|
1181
|
-
|
|
1182
|
-
#### Name
|
|
1183
|
-
|
|
1184
|
-
`iconHaloColorTransition`
|
|
1185
|
-
|
|
1186
|
-
#### Description
|
|
1187
|
-
|
|
1188
|
-
The transition affecting any changes to this layer’s iconHaloColor propery.
|
|
1189
|
-
|
|
1190
|
-
#### Type
|
|
1191
|
-
|
|
1192
|
-
`{ duration, delay }`
|
|
1193
|
-
|
|
1194
|
-
#### Units
|
|
1195
|
-
`milliseconds`
|
|
1196
|
-
|
|
1197
|
-
#### Default Value
|
|
1198
|
-
`{duration: 300, delay: 0}`
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
___
|
|
1202
|
-
|
|
1203
|
-
#### Name
|
|
1204
|
-
`iconHaloWidth`
|
|
1205
|
-
|
|
1206
|
-
#### Description
|
|
1207
|
-
Distance of halo to the icon outline.
|
|
1208
|
-
|
|
1209
|
-
#### Type
|
|
1210
|
-
`number`
|
|
1211
|
-
#### Default Value
|
|
1212
|
-
`0`
|
|
1213
|
-
|
|
1214
|
-
#### Units
|
|
1215
|
-
`pixels`
|
|
1216
|
-
|
|
1217
|
-
#### Minimum
|
|
1218
|
-
`0`
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
#### Requires
|
|
1222
|
-
`iconImage`
|
|
1223
|
-
|
|
1224
|
-
#### Expression
|
|
1225
|
-
|
|
1226
|
-
Parameters: `zoom, feature, feature-state`
|
|
1227
|
-
___
|
|
1228
|
-
|
|
1229
|
-
#### Name
|
|
1230
|
-
|
|
1231
|
-
`iconHaloWidthTransition`
|
|
1232
|
-
|
|
1233
|
-
#### Description
|
|
1234
|
-
|
|
1235
|
-
The transition affecting any changes to this layer’s iconHaloWidth propery.
|
|
1236
|
-
|
|
1237
|
-
#### Type
|
|
1238
|
-
|
|
1239
|
-
`{ duration, delay }`
|
|
1240
|
-
|
|
1241
|
-
#### Units
|
|
1242
|
-
`milliseconds`
|
|
1243
|
-
|
|
1244
|
-
#### Default Value
|
|
1245
|
-
`{duration: 300, delay: 0}`
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
___
|
|
1249
|
-
|
|
1250
|
-
#### Name
|
|
1251
|
-
`iconHaloBlur`
|
|
1252
|
-
|
|
1253
|
-
#### Description
|
|
1254
|
-
Fade out the halo towards the outside.
|
|
1255
|
-
|
|
1256
|
-
#### Type
|
|
1257
|
-
`number`
|
|
1258
|
-
#### Default Value
|
|
1259
|
-
`0`
|
|
1260
|
-
|
|
1261
|
-
#### Units
|
|
1262
|
-
`pixels`
|
|
1263
|
-
|
|
1264
|
-
#### Minimum
|
|
1265
|
-
`0`
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
#### Requires
|
|
1269
|
-
`iconImage`
|
|
1270
|
-
|
|
1271
|
-
#### Expression
|
|
1272
|
-
|
|
1273
|
-
Parameters: `zoom, feature, feature-state`
|
|
1274
|
-
___
|
|
1275
|
-
|
|
1276
|
-
#### Name
|
|
1277
|
-
|
|
1278
|
-
`iconHaloBlurTransition`
|
|
1279
|
-
|
|
1280
|
-
#### Description
|
|
1281
|
-
|
|
1282
|
-
The transition affecting any changes to this layer’s iconHaloBlur propery.
|
|
1283
|
-
|
|
1284
|
-
#### Type
|
|
1285
|
-
|
|
1286
|
-
`{ duration, delay }`
|
|
1287
|
-
|
|
1288
|
-
#### Units
|
|
1289
|
-
`milliseconds`
|
|
1290
|
-
|
|
1291
|
-
#### Default Value
|
|
1292
|
-
`{duration: 300, delay: 0}`
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
___
|
|
1296
|
-
|
|
1297
|
-
#### Name
|
|
1298
|
-
`iconTranslate`
|
|
1299
|
-
|
|
1300
|
-
#### Description
|
|
1301
|
-
Distance that the icon's anchor is moved from its original placement. Positive values indicate right and down, while negative values indicate left and up.
|
|
1302
|
-
|
|
1303
|
-
#### Type
|
|
1304
|
-
`array<number>`
|
|
1305
|
-
#### Default Value
|
|
1306
|
-
`[0,0]`
|
|
1307
|
-
|
|
1308
|
-
#### Units
|
|
1309
|
-
`pixels`
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
#### Requires
|
|
1313
|
-
`iconImage`
|
|
1314
|
-
|
|
1315
|
-
#### Expression
|
|
1316
|
-
|
|
1317
|
-
Parameters: `zoom`
|
|
1318
|
-
___
|
|
1319
|
-
|
|
1320
|
-
#### Name
|
|
1321
|
-
|
|
1322
|
-
`iconTranslateTransition`
|
|
1323
|
-
|
|
1324
|
-
#### Description
|
|
1325
|
-
|
|
1326
|
-
The transition affecting any changes to this layer’s iconTranslate propery.
|
|
1327
|
-
|
|
1328
|
-
#### Type
|
|
1329
|
-
|
|
1330
|
-
`{ duration, delay }`
|
|
1331
|
-
|
|
1332
|
-
#### Units
|
|
1333
|
-
`milliseconds`
|
|
1334
|
-
|
|
1335
|
-
#### Default Value
|
|
1336
|
-
`{duration: 300, delay: 0}`
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
___
|
|
1340
|
-
|
|
1341
|
-
#### Name
|
|
1342
|
-
`iconTranslateAnchor`
|
|
1343
|
-
|
|
1344
|
-
#### Description
|
|
1345
|
-
Controls the frame of reference for `iconTranslate`.
|
|
1346
|
-
|
|
1347
|
-
#### Type
|
|
1348
|
-
`enum`
|
|
1349
|
-
#### Default Value
|
|
1350
|
-
`map`
|
|
1351
|
-
|
|
1352
|
-
#### Supported Values
|
|
1353
|
-
**map** - Icons are translated relative to the map.<br />
|
|
1354
|
-
**viewport** - Icons are translated relative to the viewport.<br />
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
#### Requires
|
|
1358
|
-
`iconImage, iconTranslate`
|
|
1359
|
-
|
|
1360
|
-
#### Expression
|
|
1361
|
-
|
|
1362
|
-
Parameters: `zoom`
|
|
1363
|
-
|
|
1364
|
-
___
|
|
1365
|
-
|
|
1366
|
-
#### Name
|
|
1367
|
-
`textOpacity`
|
|
1368
|
-
|
|
1369
|
-
#### Description
|
|
1370
|
-
The opacity at which the text will be drawn.
|
|
1371
|
-
|
|
1372
|
-
#### Type
|
|
1373
|
-
`number`
|
|
1374
|
-
#### Default Value
|
|
1375
|
-
`1`
|
|
1376
|
-
|
|
1377
|
-
#### Minimum
|
|
1378
|
-
`0`
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
#### Maximum
|
|
1382
|
-
`1`
|
|
1383
|
-
|
|
1384
|
-
#### Requires
|
|
1385
|
-
`textField`
|
|
1386
|
-
|
|
1387
|
-
#### Expression
|
|
1388
|
-
|
|
1389
|
-
Parameters: `zoom, feature, feature-state`
|
|
1390
|
-
___
|
|
1391
|
-
|
|
1392
|
-
#### Name
|
|
1393
|
-
|
|
1394
|
-
`textOpacityTransition`
|
|
1395
|
-
|
|
1396
|
-
#### Description
|
|
1397
|
-
|
|
1398
|
-
The transition affecting any changes to this layer’s textOpacity propery.
|
|
1399
|
-
|
|
1400
|
-
#### Type
|
|
1401
|
-
|
|
1402
|
-
`{ duration, delay }`
|
|
1403
|
-
|
|
1404
|
-
#### Units
|
|
1405
|
-
`milliseconds`
|
|
1406
|
-
|
|
1407
|
-
#### Default Value
|
|
1408
|
-
`{duration: 300, delay: 0}`
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
___
|
|
1412
|
-
|
|
1413
|
-
#### Name
|
|
1414
|
-
`textColor`
|
|
1415
|
-
|
|
1416
|
-
#### Description
|
|
1417
|
-
The color with which the text will be drawn.
|
|
1418
|
-
|
|
1419
|
-
#### Type
|
|
1420
|
-
`color`
|
|
1421
|
-
#### Default Value
|
|
1422
|
-
`#000000`
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
#### Requires
|
|
1426
|
-
`textField`
|
|
1427
|
-
|
|
1428
|
-
#### Expression
|
|
1429
|
-
|
|
1430
|
-
Parameters: `zoom, feature, feature-state`
|
|
1431
|
-
___
|
|
1432
|
-
|
|
1433
|
-
#### Name
|
|
1434
|
-
|
|
1435
|
-
`textColorTransition`
|
|
1436
|
-
|
|
1437
|
-
#### Description
|
|
1438
|
-
|
|
1439
|
-
The transition affecting any changes to this layer’s textColor propery.
|
|
1440
|
-
|
|
1441
|
-
#### Type
|
|
1442
|
-
|
|
1443
|
-
`{ duration, delay }`
|
|
1444
|
-
|
|
1445
|
-
#### Units
|
|
1446
|
-
`milliseconds`
|
|
1447
|
-
|
|
1448
|
-
#### Default Value
|
|
1449
|
-
`{duration: 300, delay: 0}`
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
___
|
|
1453
|
-
|
|
1454
|
-
#### Name
|
|
1455
|
-
`textHaloColor`
|
|
1456
|
-
|
|
1457
|
-
#### Description
|
|
1458
|
-
The color of the text's halo, which helps it stand out from backgrounds.
|
|
1459
|
-
|
|
1460
|
-
#### Type
|
|
1461
|
-
`color`
|
|
1462
|
-
#### Default Value
|
|
1463
|
-
`rgba(0, 0, 0, 0)`
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
#### Requires
|
|
1467
|
-
`textField`
|
|
1468
|
-
|
|
1469
|
-
#### Expression
|
|
1470
|
-
|
|
1471
|
-
Parameters: `zoom, feature, feature-state`
|
|
1472
|
-
___
|
|
1473
|
-
|
|
1474
|
-
#### Name
|
|
1475
|
-
|
|
1476
|
-
`textHaloColorTransition`
|
|
1477
|
-
|
|
1478
|
-
#### Description
|
|
1479
|
-
|
|
1480
|
-
The transition affecting any changes to this layer’s textHaloColor propery.
|
|
1481
|
-
|
|
1482
|
-
#### Type
|
|
1483
|
-
|
|
1484
|
-
`{ duration, delay }`
|
|
1485
|
-
|
|
1486
|
-
#### Units
|
|
1487
|
-
`milliseconds`
|
|
1488
|
-
|
|
1489
|
-
#### Default Value
|
|
1490
|
-
`{duration: 300, delay: 0}`
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
___
|
|
1494
|
-
|
|
1495
|
-
#### Name
|
|
1496
|
-
`textHaloWidth`
|
|
1497
|
-
|
|
1498
|
-
#### Description
|
|
1499
|
-
Distance of halo to the font outline. Max text halo width is 1/4 of the fontSize.
|
|
1500
|
-
|
|
1501
|
-
#### Type
|
|
1502
|
-
`number`
|
|
1503
|
-
#### Default Value
|
|
1504
|
-
`0`
|
|
1505
|
-
|
|
1506
|
-
#### Units
|
|
1507
|
-
`pixels`
|
|
1508
|
-
|
|
1509
|
-
#### Minimum
|
|
1510
|
-
`0`
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
#### Requires
|
|
1514
|
-
`textField`
|
|
1515
|
-
|
|
1516
|
-
#### Expression
|
|
1517
|
-
|
|
1518
|
-
Parameters: `zoom, feature, feature-state`
|
|
1519
|
-
___
|
|
1520
|
-
|
|
1521
|
-
#### Name
|
|
1522
|
-
|
|
1523
|
-
`textHaloWidthTransition`
|
|
1524
|
-
|
|
1525
|
-
#### Description
|
|
1526
|
-
|
|
1527
|
-
The transition affecting any changes to this layer’s textHaloWidth propery.
|
|
1528
|
-
|
|
1529
|
-
#### Type
|
|
1530
|
-
|
|
1531
|
-
`{ duration, delay }`
|
|
1532
|
-
|
|
1533
|
-
#### Units
|
|
1534
|
-
`milliseconds`
|
|
1535
|
-
|
|
1536
|
-
#### Default Value
|
|
1537
|
-
`{duration: 300, delay: 0}`
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
___
|
|
1541
|
-
|
|
1542
|
-
#### Name
|
|
1543
|
-
`textHaloBlur`
|
|
1544
|
-
|
|
1545
|
-
#### Description
|
|
1546
|
-
The halo's fadeout distance towards the outside.
|
|
1547
|
-
|
|
1548
|
-
#### Type
|
|
1549
|
-
`number`
|
|
1550
|
-
#### Default Value
|
|
1551
|
-
`0`
|
|
1552
|
-
|
|
1553
|
-
#### Units
|
|
1554
|
-
`pixels`
|
|
1555
|
-
|
|
1556
|
-
#### Minimum
|
|
1557
|
-
`0`
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
#### Requires
|
|
1561
|
-
`textField`
|
|
1562
|
-
|
|
1563
|
-
#### Expression
|
|
1564
|
-
|
|
1565
|
-
Parameters: `zoom, feature, feature-state`
|
|
1566
|
-
___
|
|
1567
|
-
|
|
1568
|
-
#### Name
|
|
1569
|
-
|
|
1570
|
-
`textHaloBlurTransition`
|
|
1571
|
-
|
|
1572
|
-
#### Description
|
|
1573
|
-
|
|
1574
|
-
The transition affecting any changes to this layer’s textHaloBlur propery.
|
|
1575
|
-
|
|
1576
|
-
#### Type
|
|
1577
|
-
|
|
1578
|
-
`{ duration, delay }`
|
|
1579
|
-
|
|
1580
|
-
#### Units
|
|
1581
|
-
`milliseconds`
|
|
1582
|
-
|
|
1583
|
-
#### Default Value
|
|
1584
|
-
`{duration: 300, delay: 0}`
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
___
|
|
1588
|
-
|
|
1589
|
-
#### Name
|
|
1590
|
-
`textTranslate`
|
|
1591
|
-
|
|
1592
|
-
#### Description
|
|
1593
|
-
Distance that the text's anchor is moved from its original placement. Positive values indicate right and down, while negative values indicate left and up.
|
|
1594
|
-
|
|
1595
|
-
#### Type
|
|
1596
|
-
`array<number>`
|
|
1597
|
-
#### Default Value
|
|
1598
|
-
`[0,0]`
|
|
1599
|
-
|
|
1600
|
-
#### Units
|
|
1601
|
-
`pixels`
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
#### Requires
|
|
1605
|
-
`textField`
|
|
1606
|
-
|
|
1607
|
-
#### Expression
|
|
1608
|
-
|
|
1609
|
-
Parameters: `zoom`
|
|
1610
|
-
___
|
|
1611
|
-
|
|
1612
|
-
#### Name
|
|
1613
|
-
|
|
1614
|
-
`textTranslateTransition`
|
|
1615
|
-
|
|
1616
|
-
#### Description
|
|
1617
|
-
|
|
1618
|
-
The transition affecting any changes to this layer’s textTranslate propery.
|
|
1619
|
-
|
|
1620
|
-
#### Type
|
|
1621
|
-
|
|
1622
|
-
`{ duration, delay }`
|
|
1623
|
-
|
|
1624
|
-
#### Units
|
|
1625
|
-
`milliseconds`
|
|
1626
|
-
|
|
1627
|
-
#### Default Value
|
|
1628
|
-
`{duration: 300, delay: 0}`
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
___
|
|
1632
|
-
|
|
1633
|
-
#### Name
|
|
1634
|
-
`textTranslateAnchor`
|
|
1635
|
-
|
|
1636
|
-
#### Description
|
|
1637
|
-
Controls the frame of reference for `textTranslate`.
|
|
1638
|
-
|
|
1639
|
-
#### Type
|
|
1640
|
-
`enum`
|
|
1641
|
-
#### Default Value
|
|
1642
|
-
`map`
|
|
1643
|
-
|
|
1644
|
-
#### Supported Values
|
|
1645
|
-
**map** - The text is translated relative to the map.<br />
|
|
1646
|
-
**viewport** - The text is translated relative to the viewport.<br />
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
#### Requires
|
|
1650
|
-
`textField, textTranslate`
|
|
1651
|
-
|
|
1652
|
-
#### Expression
|
|
1653
|
-
|
|
1654
|
-
Parameters: `zoom`
|
|
1655
|
-
|