@mapvina-com/mapvina-react-native 1.0.0
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 +9 -0
- package/MapVinaReactNative.podspec +96 -0
- package/README.md +47 -0
- package/android/build.gradle +139 -0
- package/android/gradle.properties +16 -0
- package/android/src/main/AndroidManifest.xml +5 -0
- package/android/src/main/java/io/github/mapvina/reactnative/MLRNPackage.kt +163 -0
- package/android/src/main/java/io/github/mapvina/reactnative/components/AbstractEvent.kt +20 -0
- package/android/src/main/java/io/github/mapvina/reactnative/components/AbstractEventEmitter.kt +80 -0
- package/android/src/main/java/io/github/mapvina/reactnative/components/AbstractMapFeature.kt +13 -0
- package/android/src/main/java/io/github/mapvina/reactnative/components/annotations/callout/MLRNCallout.kt +8 -0
- package/android/src/main/java/io/github/mapvina/reactnative/components/annotations/callout/MLRNCalloutManager.kt +26 -0
- package/android/src/main/java/io/github/mapvina/reactnative/components/annotations/markerview/MLRNMarkerView.kt +245 -0
- package/android/src/main/java/io/github/mapvina/reactnative/components/annotations/markerview/MLRNMarkerViewContent.kt +46 -0
- package/android/src/main/java/io/github/mapvina/reactnative/components/annotations/markerview/MLRNMarkerViewManager.kt +104 -0
- package/android/src/main/java/io/github/mapvina/reactnative/components/annotations/markerview/MarkerViewManager.kt +143 -0
- package/android/src/main/java/io/github/mapvina/reactnative/components/annotations/pointannotation/MLRNPointAnnotation.kt +449 -0
- package/android/src/main/java/io/github/mapvina/reactnative/components/annotations/pointannotation/MLRNPointAnnotationManager.kt +133 -0
- package/android/src/main/java/io/github/mapvina/reactnative/components/camera/CameraStop.kt +223 -0
- package/android/src/main/java/io/github/mapvina/reactnative/components/camera/CameraUpdateItem.kt +100 -0
- package/android/src/main/java/io/github/mapvina/reactnative/components/camera/CameraUpdateQueue.kt +58 -0
- package/android/src/main/java/io/github/mapvina/reactnative/components/camera/MLRNCamera.kt +411 -0
- package/android/src/main/java/io/github/mapvina/reactnative/components/camera/MLRNCameraManager.kt +84 -0
- package/android/src/main/java/io/github/mapvina/reactnative/components/camera/MLRNCameraModule.kt +36 -0
- package/android/src/main/java/io/github/mapvina/reactnative/components/camera/constants/CameraEasing.kt +23 -0
- package/android/src/main/java/io/github/mapvina/reactnative/components/images/MLRNImages.kt +172 -0
- package/android/src/main/java/io/github/mapvina/reactnative/components/images/MLRNImagesManager.kt +73 -0
- package/android/src/main/java/io/github/mapvina/reactnative/components/layer/MLRNLayer.kt +370 -0
- package/android/src/main/java/io/github/mapvina/reactnative/components/layer/MLRNLayerManager.kt +105 -0
- package/android/src/main/java/io/github/mapvina/reactnative/components/layer/style/MLRNStyle.kt +60 -0
- package/android/src/main/java/io/github/mapvina/reactnative/components/layer/style/MLRNStyleFactory.kt +3057 -0
- package/android/src/main/java/io/github/mapvina/reactnative/components/layer/style/MLRNStyleValue.kt +159 -0
- package/android/src/main/java/io/github/mapvina/reactnative/components/location/LocationComponentManager.kt +174 -0
- package/android/src/main/java/io/github/mapvina/reactnative/components/location/MLRNNativeUserLocation.kt +75 -0
- package/android/src/main/java/io/github/mapvina/reactnative/components/location/MLRNNativeUserLocationManager.kt +50 -0
- package/android/src/main/java/io/github/mapvina/reactnative/components/mapview/MLRNAndroidTextureMapView.kt +25 -0
- package/android/src/main/java/io/github/mapvina/reactnative/components/mapview/MLRNAndroidTextureMapViewManager.kt +25 -0
- package/android/src/main/java/io/github/mapvina/reactnative/components/mapview/MLRNMapView.kt +1514 -0
- package/android/src/main/java/io/github/mapvina/reactnative/components/mapview/MLRNMapViewManager.kt +280 -0
- package/android/src/main/java/io/github/mapvina/reactnative/components/mapview/MLRNMapViewModule.kt +202 -0
- package/android/src/main/java/io/github/mapvina/reactnative/components/mapview/helpers/CameraChangeTracker.kt +26 -0
- package/android/src/main/java/io/github/mapvina/reactnative/components/mapview/helpers/LayerSourceInfo.kt +76 -0
- package/android/src/main/java/io/github/mapvina/reactnative/components/sources/MLRNPressableSource.kt +61 -0
- package/android/src/main/java/io/github/mapvina/reactnative/components/sources/MLRNSource.kt +198 -0
- package/android/src/main/java/io/github/mapvina/reactnative/components/sources/MLRNSourceManager.kt +69 -0
- package/android/src/main/java/io/github/mapvina/reactnative/components/sources/geojsonsource/ClusterPropertyEntry.kt +8 -0
- package/android/src/main/java/io/github/mapvina/reactnative/components/sources/geojsonsource/MLRNGeoJSONSource.kt +212 -0
- package/android/src/main/java/io/github/mapvina/reactnative/components/sources/geojsonsource/MLRNGeoJSONSourceManager.kt +159 -0
- package/android/src/main/java/io/github/mapvina/reactnative/components/sources/geojsonsource/MLRNGeoJSONSourceModule.kt +74 -0
- package/android/src/main/java/io/github/mapvina/reactnative/components/sources/imagesource/MLRNImageSource.kt +58 -0
- package/android/src/main/java/io/github/mapvina/reactnative/components/sources/imagesource/MLRNImageSourceManager.kt +38 -0
- package/android/src/main/java/io/github/mapvina/reactnative/components/sources/tilesources/MLRNPressableTileSource.kt +20 -0
- package/android/src/main/java/io/github/mapvina/reactnative/components/sources/tilesources/MLRNTileSource.kt +20 -0
- package/android/src/main/java/io/github/mapvina/reactnative/components/sources/tilesources/MLRNTileSourceManager.kt +66 -0
- package/android/src/main/java/io/github/mapvina/reactnative/components/sources/tilesources/TileSourceInterface.kt +50 -0
- package/android/src/main/java/io/github/mapvina/reactnative/components/sources/tilesources/rasterdemsource/MLRNRasterDEMSource.kt +28 -0
- package/android/src/main/java/io/github/mapvina/reactnative/components/sources/tilesources/rasterdemsource/MLRNRasterDEMSourceManager.kt +34 -0
- package/android/src/main/java/io/github/mapvina/reactnative/components/sources/tilesources/rastersource/MLRNRasterSource.kt +23 -0
- package/android/src/main/java/io/github/mapvina/reactnative/components/sources/tilesources/rastersource/MLRNRasterSourceManager.kt +26 -0
- package/android/src/main/java/io/github/mapvina/reactnative/components/sources/tilesources/vectorsource/MLRNVectorSource.kt +37 -0
- package/android/src/main/java/io/github/mapvina/reactnative/components/sources/tilesources/vectorsource/MLRNVectorSourceManager.kt +17 -0
- package/android/src/main/java/io/github/mapvina/reactnative/components/sources/tilesources/vectorsource/MLRNVectorSourceModule.kt +44 -0
- package/android/src/main/java/io/github/mapvina/reactnative/events/AbstractEvent.java +59 -0
- package/android/src/main/java/io/github/mapvina/reactnative/events/EventEmitter.java +45 -0
- package/android/src/main/java/io/github/mapvina/reactnative/events/IEvent.java +14 -0
- package/android/src/main/java/io/github/mapvina/reactnative/events/MapChangeEvent.kt +16 -0
- package/android/src/main/java/io/github/mapvina/reactnative/events/MapClickEvent.java +51 -0
- package/android/src/main/java/io/github/mapvina/reactnative/events/MapPressEvent.kt +30 -0
- package/android/src/main/java/io/github/mapvina/reactnative/events/MapPressEventWithFeatures.kt +21 -0
- package/android/src/main/java/io/github/mapvina/reactnative/events/OfflineEvent.java +25 -0
- package/android/src/main/java/io/github/mapvina/reactnative/events/PointAnnotationClickEvent.java +40 -0
- package/android/src/main/java/io/github/mapvina/reactnative/events/PointAnnotationDragEvent.java +49 -0
- package/android/src/main/java/io/github/mapvina/reactnative/events/PointAnnotationEvent.kt +32 -0
- package/android/src/main/java/io/github/mapvina/reactnative/events/constants/EventKeys.java +22 -0
- package/android/src/main/java/io/github/mapvina/reactnative/events/constants/EventTypes.java +27 -0
- package/android/src/main/java/io/github/mapvina/reactnative/location/LocationManager.kt +167 -0
- package/android/src/main/java/io/github/mapvina/reactnative/location/TrackUserLocationMode.kt +39 -0
- package/android/src/main/java/io/github/mapvina/reactnative/location/TrackUserLocationState.kt +15 -0
- package/android/src/main/java/io/github/mapvina/reactnative/location/UserLocation.kt +42 -0
- package/android/src/main/java/io/github/mapvina/reactnative/location/engine/DefaultLocationEngineProvider.kt +18 -0
- package/android/src/main/java/io/github/mapvina/reactnative/location/engine/LocationEngineProvidable.kt +8 -0
- package/android/src/main/java/io/github/mapvina/reactnative/modules/MLRNLocationModule.kt +179 -0
- package/android/src/main/java/io/github/mapvina/reactnative/modules/MLRNLogModule.kt +141 -0
- package/android/src/main/java/io/github/mapvina/reactnative/modules/MLRNNetworkModule.kt +25 -0
- package/android/src/main/java/io/github/mapvina/reactnative/modules/MLRNOfflineModule.kt +661 -0
- package/android/src/main/java/io/github/mapvina/reactnative/modules/MLRNStaticMapModule.kt +121 -0
- package/android/src/main/java/io/github/mapvina/reactnative/modules/MLRNTransformRequestModule.kt +144 -0
- package/android/src/main/java/io/github/mapvina/reactnative/modules/TransformRequestInterceptor.kt +184 -0
- package/android/src/main/java/io/github/mapvina/reactnative/utils/BitmapUtils.java +125 -0
- package/android/src/main/java/io/github/mapvina/reactnative/utils/ConvertUtils.kt +225 -0
- package/android/src/main/java/io/github/mapvina/reactnative/utils/DownloadMapImageTask.java +155 -0
- package/android/src/main/java/io/github/mapvina/reactnative/utils/DownloadedImage.java +6 -0
- package/android/src/main/java/io/github/mapvina/reactnative/utils/ExpressionParser.kt +67 -0
- package/android/src/main/java/io/github/mapvina/reactnative/utils/GeoJSONUtils.kt +368 -0
- package/android/src/main/java/io/github/mapvina/reactnative/utils/GeoViewport.java +37 -0
- package/android/src/main/java/io/github/mapvina/reactnative/utils/ImageEntry.kt +14 -0
- package/android/src/main/java/io/github/mapvina/reactnative/utils/ReactTagResolver.kt +91 -0
- package/android/src/main/java/io/github/mapvina/reactnative/utils/ResourceUtils.java +26 -0
- package/android/src/main/java/io/github/mapvina/reactnative/utils/SphericalMercator.java +68 -0
- package/android/src/main/location-engine-default/io/github/mapvina/reactnative/location/engine/LocationEngineProvider.kt +8 -0
- package/android/src/main/location-engine-google/io/github/mapvina/reactnative/location/engine/GoogleLocationEngineImpl.kt +142 -0
- package/android/src/main/location-engine-google/io/github/mapvina/reactnative/location/engine/GoogleLocationEngineProvider.kt +29 -0
- package/android/src/main/location-engine-google/io/github/mapvina/reactnative/location/engine/LocationEngineProvider.kt +8 -0
- package/android/src/main/res/drawable/empty.xml +5 -0
- package/android/src/main/res/drawable/empty_drawable.png +0 -0
- package/android/src/main/res/drawable-xxhdpi/default_marker.png +0 -0
- package/app.plugin.js +1 -0
- package/ios/components/ViewManager.h +8 -0
- package/ios/components/ViewManager.m +49 -0
- package/ios/components/annotations/callout/MLRNCallout.h +7 -0
- package/ios/components/annotations/callout/MLRNCallout.m +67 -0
- package/ios/components/annotations/callout/MLRNCalloutComponentView.h +10 -0
- package/ios/components/annotations/callout/MLRNCalloutComponentView.mm +85 -0
- package/ios/components/annotations/point-annotation/MLRNPointAnnotation.h +45 -0
- package/ios/components/annotations/point-annotation/MLRNPointAnnotation.m +319 -0
- package/ios/components/annotations/point-annotation/MLRNPointAnnotationComponentView.h +10 -0
- package/ios/components/annotations/point-annotation/MLRNPointAnnotationComponentView.mm +327 -0
- package/ios/components/camera/CameraEasing.h +8 -0
- package/ios/components/camera/CameraStop.h +22 -0
- package/ios/components/camera/CameraStop.m +75 -0
- package/ios/components/camera/CameraUpdateItem.h +11 -0
- package/ios/components/camera/CameraUpdateItem.m +167 -0
- package/ios/components/camera/CameraUpdateQueue.h +13 -0
- package/ios/components/camera/CameraUpdateQueue.m +62 -0
- package/ios/components/camera/MLRNCamera.h +26 -0
- package/ios/components/camera/MLRNCamera.m +195 -0
- package/ios/components/camera/MLRNCameraComponentView.h +10 -0
- package/ios/components/camera/MLRNCameraComponentView.mm +201 -0
- package/ios/components/camera/MLRNCameraManager.h +11 -0
- package/ios/components/camera/MLRNCameraManager.m +20 -0
- package/ios/components/camera/MLRNCameraModule.h +4 -0
- package/ios/components/camera/MLRNCameraModule.mm +101 -0
- package/ios/components/images/MLRNImageLoader.h +27 -0
- package/ios/components/images/MLRNImageLoader.m +85 -0
- package/ios/components/images/MLRNImageQueue.h +15 -0
- package/ios/components/images/MLRNImageQueue.m +48 -0
- package/ios/components/images/MLRNImageQueueOperation.h +11 -0
- package/ios/components/images/MLRNImageQueueOperation.m +138 -0
- package/ios/components/images/MLRNImages.h +26 -0
- package/ios/components/images/MLRNImages.m +189 -0
- package/ios/components/images/MLRNImagesComponentView.h +9 -0
- package/ios/components/images/MLRNImagesComponentView.mm +104 -0
- package/ios/components/images/MLRNImagesModule.h +6 -0
- package/ios/components/images/MLRNImagesModule.mm +23 -0
- package/ios/components/layer/MLRNLayer.h +54 -0
- package/ios/components/layer/MLRNLayer.m +348 -0
- package/ios/components/layer/MLRNLayerComponentView.h +9 -0
- package/ios/components/layer/MLRNLayerComponentView.mm +136 -0
- package/ios/components/layer/style/MLRNStyle.h +224 -0
- package/ios/components/layer/style/MLRNStyle.m +1627 -0
- package/ios/components/layer/style/MLRNStyleValue.h +20 -0
- package/ios/components/layer/style/MLRNStyleValue.m +172 -0
- package/ios/components/map-view/MLRNMapTouchEvent.h +18 -0
- package/ios/components/map-view/MLRNMapTouchEvent.m +78 -0
- package/ios/components/map-view/MLRNMapView.h +119 -0
- package/ios/components/map-view/MLRNMapView.m +905 -0
- package/ios/components/map-view/MLRNMapViewComponentView.h +13 -0
- package/ios/components/map-view/MLRNMapViewComponentView.mm +430 -0
- package/ios/components/map-view/MLRNMapViewManager.h +70 -0
- package/ios/components/map-view/MLRNMapViewManager.m +152 -0
- package/ios/components/map-view/MLRNMapViewModule.h +4 -0
- package/ios/components/map-view/MLRNMapViewModule.mm +248 -0
- package/ios/components/sources/MLRNSource.h +28 -0
- package/ios/components/sources/MLRNSource.m +129 -0
- package/ios/components/sources/geojson-source/MLRNGeoJSONSource.h +32 -0
- package/ios/components/sources/geojson-source/MLRNGeoJSONSource.m +146 -0
- package/ios/components/sources/geojson-source/MLRNGeoJSONSourceComponentView.h +9 -0
- package/ios/components/sources/geojson-source/MLRNGeoJSONSourceComponentView.mm +168 -0
- package/ios/components/sources/geojson-source/MLRNGeoJSONSourceModule.h +4 -0
- package/ios/components/sources/geojson-source/MLRNGeoJSONSourceModule.mm +136 -0
- package/ios/components/sources/image-source/MLRNImageSource.h +8 -0
- package/ios/components/sources/image-source/MLRNImageSource.m +41 -0
- package/ios/components/sources/image-source/MLRNImageSourceComponentView.h +9 -0
- package/ios/components/sources/image-source/MLRNImageSourceComponentView.mm +95 -0
- package/ios/components/sources/tile-sources/MLRNTileSource.h +18 -0
- package/ios/components/sources/tile-sources/MLRNTileSource.m +26 -0
- package/ios/components/sources/tile-sources/raster-dem-source/MLRNRasterDEMSource.h +10 -0
- package/ios/components/sources/tile-sources/raster-dem-source/MLRNRasterDEMSource.m +39 -0
- package/ios/components/sources/tile-sources/raster-dem-source/MLRNRasterDEMSourceComponentView.h +9 -0
- package/ios/components/sources/tile-sources/raster-dem-source/MLRNRasterDEMSourceComponentView.mm +131 -0
- package/ios/components/sources/tile-sources/raster-source/MLRNRasterSource.h +9 -0
- package/ios/components/sources/tile-sources/raster-source/MLRNRasterSource.m +31 -0
- package/ios/components/sources/tile-sources/raster-source/MLRNRasterSourceComponentView.h +9 -0
- package/ios/components/sources/tile-sources/raster-source/MLRNRasterSourceComponentView.mm +129 -0
- package/ios/components/sources/tile-sources/vector-source/MLRNVectorSource.h +11 -0
- package/ios/components/sources/tile-sources/vector-source/MLRNVectorSource.m +23 -0
- package/ios/components/sources/tile-sources/vector-source/MLRNVectorSourceComponentView.h +9 -0
- package/ios/components/sources/tile-sources/vector-source/MLRNVectorSourceComponentView.mm +162 -0
- package/ios/components/sources/tile-sources/vector-source/MLRNVectorSourceModule.h +4 -0
- package/ios/components/sources/tile-sources/vector-source/MLRNVectorSourceModule.mm +65 -0
- package/ios/components/user-location/MLRNNativeUserLocation.h +11 -0
- package/ios/components/user-location/MLRNNativeUserLocation.m +38 -0
- package/ios/components/user-location/MLRNNativeUserLocationComponentView.h +10 -0
- package/ios/components/user-location/MLRNNativeUserLocationComponentView.mm +51 -0
- package/ios/components/user-location/MLRNUserLocation.h +15 -0
- package/ios/components/user-location/MLRNUserLocation.m +36 -0
- package/ios/modules/location/MLRNLocation.h +10 -0
- package/ios/modules/location/MLRNLocation.m +26 -0
- package/ios/modules/location/MLRNLocationManager.h +20 -0
- package/ios/modules/location/MLRNLocationManager.m +167 -0
- package/ios/modules/location/MLRNLocationManagerDelegate.h +10 -0
- package/ios/modules/location/MLRNLocationModule.h +7 -0
- package/ios/modules/location/MLRNLocationModule.mm +67 -0
- package/ios/modules/logging/MLRNLogModule.h +10 -0
- package/ios/modules/logging/MLRNLogModule.mm +39 -0
- package/ios/modules/logging/MLRNLogging.h +27 -0
- package/ios/modules/logging/MLRNLogging.m +102 -0
- package/ios/modules/network/MLRNNetworkModule.h +8 -0
- package/ios/modules/network/MLRNNetworkModule.mm +18 -0
- package/ios/modules/offline/MLRNOfflineModule.h +7 -0
- package/ios/modules/offline/MLRNOfflineModule.mm +692 -0
- package/ios/modules/static-map/MLRNStaticMapModule.h +4 -0
- package/ios/modules/static-map/MLRNStaticMapModule.mm +84 -0
- package/ios/modules/transform-request/MLRNTransformRequest.h +38 -0
- package/ios/modules/transform-request/MLRNTransformRequest.m +413 -0
- package/ios/modules/transform-request/MLRNTransformRequestModule.h +9 -0
- package/ios/modules/transform-request/MLRNTransformRequestModule.mm +72 -0
- package/ios/utils/FilterParser.h +7 -0
- package/ios/utils/FilterParser.m +13 -0
- package/ios/utils/MLRNEvent.h +13 -0
- package/ios/utils/MLRNEvent.m +36 -0
- package/ios/utils/MLRNEventProtocol.h +8 -0
- package/ios/utils/MLRNEventTypes.h +12 -0
- package/ios/utils/MLRNEventTypes.m +12 -0
- package/ios/utils/MLRNFollyConvert.h +5 -0
- package/ios/utils/MLRNImageUtils.h +9 -0
- package/ios/utils/MLRNImageUtils.m +24 -0
- package/ios/utils/MLRNPropConvert.h +17 -0
- package/ios/utils/MLRNUtils.h +32 -0
- package/ios/utils/MLRNUtils.m +193 -0
- package/ios/utils/MLRNViewModuleUtils.h +35 -0
- package/ios/utils/MLRNViewModuleUtils.m +39 -0
- package/lib/commonjs/assets/heading.png +0 -0
- package/lib/commonjs/assets/heading@2x.png +0 -0
- package/lib/commonjs/assets/heading@3x.png +0 -0
- package/lib/commonjs/assets/png.d.js +2 -0
- package/lib/commonjs/assets/png.d.js.map +1 -0
- package/lib/commonjs/components/annotations/LayerAnnotation.js +59 -0
- package/lib/commonjs/components/annotations/LayerAnnotation.js.map +1 -0
- package/lib/commonjs/components/annotations/callout/Callout.js +95 -0
- package/lib/commonjs/components/annotations/callout/Callout.js.map +1 -0
- package/lib/commonjs/components/annotations/callout/CalloutNativeComponent.ts +11 -0
- package/lib/commonjs/components/annotations/marker/Marker.js +88 -0
- package/lib/commonjs/components/annotations/marker/Marker.js.map +1 -0
- package/lib/commonjs/components/annotations/marker/MarkerViewNativeComponent.ts +40 -0
- package/lib/commonjs/components/annotations/view-annotation/PointAnnotationNativeComponent.ts +59 -0
- package/lib/commonjs/components/annotations/view-annotation/ViewAnnotation.js +93 -0
- package/lib/commonjs/components/annotations/view-annotation/ViewAnnotation.js.map +1 -0
- package/lib/commonjs/components/camera/Camera.js +146 -0
- package/lib/commonjs/components/camera/Camera.js.map +1 -0
- package/lib/commonjs/components/camera/CameraNativeComponent.ts +65 -0
- package/lib/commonjs/components/camera/NativeCameraModule.js +11 -0
- package/lib/commonjs/components/camera/NativeCameraModule.js.map +1 -0
- package/lib/commonjs/components/images/Images.js +58 -0
- package/lib/commonjs/components/images/Images.js.map +1 -0
- package/lib/commonjs/components/images/ImagesNativeComponent.ts +27 -0
- package/lib/commonjs/components/images/NativeImagesModule.js +10 -0
- package/lib/commonjs/components/images/NativeImagesModule.js.map +1 -0
- package/lib/commonjs/components/layer/Layer.js +157 -0
- package/lib/commonjs/components/layer/Layer.js.map +1 -0
- package/lib/commonjs/components/layer/LayerNativeComponent.ts +43 -0
- package/lib/commonjs/components/map/AndroidTextureMapViewNativeComponent.ts +109 -0
- package/lib/commonjs/components/map/Map.js +117 -0
- package/lib/commonjs/components/map/Map.js.map +1 -0
- package/lib/commonjs/components/map/MapViewNativeComponent.ts +105 -0
- package/lib/commonjs/components/map/NativeMapViewModule.js +9 -0
- package/lib/commonjs/components/map/NativeMapViewModule.js.map +1 -0
- package/lib/commonjs/components/sources/geojson-source/GeoJSONSource.js +56 -0
- package/lib/commonjs/components/sources/geojson-source/GeoJSONSource.js.map +1 -0
- package/lib/commonjs/components/sources/geojson-source/GeoJSONSourceNativeComponent.ts +48 -0
- package/lib/commonjs/components/sources/geojson-source/NativeGeoJSONSourceModule.js +9 -0
- package/lib/commonjs/components/sources/geojson-source/NativeGeoJSONSourceModule.js.map +1 -0
- package/lib/commonjs/components/sources/image-source/ImageSource.js +33 -0
- package/lib/commonjs/components/sources/image-source/ImageSource.js.map +1 -0
- package/lib/commonjs/components/sources/image-source/ImageSourceNativeComponent.ts +31 -0
- package/lib/commonjs/components/sources/raster-dem-source/RasterDEMSource.js +31 -0
- package/lib/commonjs/components/sources/raster-dem-source/RasterDEMSource.js.map +1 -0
- package/lib/commonjs/components/sources/raster-dem-source/RasterDEMSourceNativeComponent.ts +25 -0
- package/lib/commonjs/components/sources/raster-source/RasterSource.js +32 -0
- package/lib/commonjs/components/sources/raster-source/RasterSource.js.map +1 -0
- package/lib/commonjs/components/sources/raster-source/RasterSourceNativeComponent.ts +25 -0
- package/lib/commonjs/components/sources/vector-source/NativeVectorSourceModule.js +9 -0
- package/lib/commonjs/components/sources/vector-source/NativeVectorSourceModule.js.map +1 -0
- package/lib/commonjs/components/sources/vector-source/VectorSource.js +47 -0
- package/lib/commonjs/components/sources/vector-source/VectorSource.js.map +1 -0
- package/lib/commonjs/components/sources/vector-source/VectorSourceNativeComponent.ts +45 -0
- package/lib/commonjs/components/user-location/NativeUserLocation.js +16 -0
- package/lib/commonjs/components/user-location/NativeUserLocation.js.map +1 -0
- package/lib/commonjs/components/user-location/UserLocation.js +52 -0
- package/lib/commonjs/components/user-location/UserLocation.js.map +1 -0
- package/lib/commonjs/components/user-location/UserLocationNativeComponent.ts +19 -0
- package/lib/commonjs/components/user-location/UserLocationPuck.js +63 -0
- package/lib/commonjs/components/user-location/UserLocationPuck.js.map +1 -0
- package/lib/commonjs/components/user-location/UserLocationPuckHeading.js +31 -0
- package/lib/commonjs/components/user-location/UserLocationPuckHeading.js.map +1 -0
- package/lib/commonjs/hooks/useCurrentPosition.js +34 -0
- package/lib/commonjs/hooks/useCurrentPosition.js.map +1 -0
- package/lib/commonjs/hooks/useFrozenId.js +16 -0
- package/lib/commonjs/hooks/useFrozenId.js.map +1 -0
- package/lib/commonjs/hooks/useNativeBridge.js +84 -0
- package/lib/commonjs/hooks/useNativeBridge.js.map +1 -0
- package/lib/commonjs/index.js +174 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/modules/location/LocationManager.js +98 -0
- package/lib/commonjs/modules/location/LocationManager.js.map +1 -0
- package/lib/commonjs/modules/location/NativeLocationModule.js +9 -0
- package/lib/commonjs/modules/location/NativeLocationModule.js.map +1 -0
- package/lib/commonjs/modules/log/LogManager.js +100 -0
- package/lib/commonjs/modules/log/LogManager.js.map +1 -0
- package/lib/commonjs/modules/log/NativeLogModule.js +9 -0
- package/lib/commonjs/modules/log/NativeLogModule.js.map +1 -0
- package/lib/commonjs/modules/network/NativeNetworkModule.js +9 -0
- package/lib/commonjs/modules/network/NativeNetworkModule.js.map +1 -0
- package/lib/commonjs/modules/network/NetworkManager.js +34 -0
- package/lib/commonjs/modules/network/NetworkManager.js.map +1 -0
- package/lib/commonjs/modules/offline/NativeOfflineModule.js +9 -0
- package/lib/commonjs/modules/offline/NativeOfflineModule.js.map +1 -0
- package/lib/commonjs/modules/offline/OfflineManager.js +351 -0
- package/lib/commonjs/modules/offline/OfflineManager.js.map +1 -0
- package/lib/commonjs/modules/offline/OfflinePack.js +30 -0
- package/lib/commonjs/modules/offline/OfflinePack.js.map +1 -0
- package/lib/commonjs/modules/static-map/NativeStaticMapModule.js +9 -0
- package/lib/commonjs/modules/static-map/NativeStaticMapModule.js.map +1 -0
- package/lib/commonjs/modules/static-map/StaticMapManager.js +57 -0
- package/lib/commonjs/modules/static-map/StaticMapManager.js.map +1 -0
- package/lib/commonjs/modules/transform-request/NativeTransformRequestModule.js +9 -0
- package/lib/commonjs/modules/transform-request/NativeTransformRequestModule.js.map +1 -0
- package/lib/commonjs/modules/transform-request/TransformRequestManager.js +233 -0
- package/lib/commonjs/modules/transform-request/TransformRequestManager.js.map +1 -0
- package/lib/commonjs/package.json +1 -0
- package/lib/commonjs/plugin/MapVinaPluginProps.js +2 -0
- package/lib/commonjs/plugin/MapVinaPluginProps.js.map +1 -0
- package/lib/commonjs/plugin/android.js +39 -0
- package/lib/commonjs/plugin/android.js.map +1 -0
- package/lib/commonjs/plugin/ios.js +91 -0
- package/lib/commonjs/plugin/ios.js.map +1 -0
- package/lib/commonjs/types/Anchor.js +67 -0
- package/lib/commonjs/types/Anchor.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/LngLat.js +2 -0
- package/lib/commonjs/types/LngLat.js.map +1 -0
- package/lib/commonjs/types/LngLatBounds.js +2 -0
- package/lib/commonjs/types/LngLatBounds.js.map +1 -0
- package/lib/commonjs/types/MapVinaRNStyles.js +6 -0
- package/lib/commonjs/types/MapVinaRNStyles.js.map +1 -0
- package/lib/commonjs/types/PixelPoint.js +2 -0
- package/lib/commonjs/types/PixelPoint.js.map +1 -0
- package/lib/commonjs/types/PixelPointBounds.js +2 -0
- package/lib/commonjs/types/PixelPointBounds.js.map +1 -0
- package/lib/commonjs/types/PressEvent.js +6 -0
- package/lib/commonjs/types/PressEvent.js.map +1 -0
- package/lib/commonjs/types/PressEventWithFeatures.js +6 -0
- package/lib/commonjs/types/PressEventWithFeatures.js.map +1 -0
- package/lib/commonjs/types/PressableSourceProps.js +6 -0
- package/lib/commonjs/types/PressableSourceProps.js.map +1 -0
- package/lib/commonjs/types/ViewPadding.js +2 -0
- package/lib/commonjs/types/ViewPadding.js.map +1 -0
- package/lib/commonjs/types/codegen/UnsafeMixed.js +2 -0
- package/lib/commonjs/types/codegen/UnsafeMixed.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/StyleValue.js +38 -0
- package/lib/commonjs/utils/StyleValue.js.map +1 -0
- package/lib/commonjs/utils/animated/AbstractAnimatedCoordinates.js +96 -0
- package/lib/commonjs/utils/animated/AbstractAnimatedCoordinates.js.map +1 -0
- package/lib/commonjs/utils/animated/Animated.js +30 -0
- package/lib/commonjs/utils/animated/Animated.js.map +1 -0
- package/lib/commonjs/utils/animated/AnimatedCoordinatesArray.js +91 -0
- package/lib/commonjs/utils/animated/AnimatedCoordinatesArray.js.map +1 -0
- package/lib/commonjs/utils/animated/AnimatedExtractCoordinateFromArray.js +32 -0
- package/lib/commonjs/utils/animated/AnimatedExtractCoordinateFromArray.js.map +1 -0
- package/lib/commonjs/utils/animated/AnimatedGeoJSON.js +67 -0
- package/lib/commonjs/utils/animated/AnimatedGeoJSON.js.map +1 -0
- package/lib/commonjs/utils/animated/AnimatedPoint.js +114 -0
- package/lib/commonjs/utils/animated/AnimatedPoint.js.map +1 -0
- package/lib/commonjs/utils/animated/AnimatedRouteCoordinatesArray.js +120 -0
- package/lib/commonjs/utils/animated/AnimatedRouteCoordinatesArray.js.map +1 -0
- package/lib/commonjs/utils/convertStyleSpec.js +58 -0
- package/lib/commonjs/utils/convertStyleSpec.js.map +1 -0
- package/lib/commonjs/utils/findNodeHandle.js +16 -0
- package/lib/commonjs/utils/findNodeHandle.js.map +1 -0
- package/lib/commonjs/utils/getNativeFilter.js +16 -0
- package/lib/commonjs/utils/getNativeFilter.js.map +1 -0
- package/lib/commonjs/utils/getStylePropertyType.js +255 -0
- package/lib/commonjs/utils/getStylePropertyType.js.map +1 -0
- package/lib/commonjs/utils/index.js +68 -0
- package/lib/commonjs/utils/index.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/annotations/LayerAnnotation.js +54 -0
- package/lib/module/components/annotations/LayerAnnotation.js.map +1 -0
- package/lib/module/components/annotations/callout/Callout.js +89 -0
- package/lib/module/components/annotations/callout/Callout.js.map +1 -0
- package/lib/module/components/annotations/callout/CalloutNativeComponent.ts +11 -0
- package/lib/module/components/annotations/marker/Marker.js +82 -0
- package/lib/module/components/annotations/marker/Marker.js.map +1 -0
- package/lib/module/components/annotations/marker/MarkerViewNativeComponent.ts +40 -0
- package/lib/module/components/annotations/view-annotation/PointAnnotationNativeComponent.ts +59 -0
- package/lib/module/components/annotations/view-annotation/ViewAnnotation.js +87 -0
- package/lib/module/components/annotations/view-annotation/ViewAnnotation.js.map +1 -0
- package/lib/module/components/camera/Camera.js +141 -0
- package/lib/module/components/camera/Camera.js.map +1 -0
- package/lib/module/components/camera/CameraNativeComponent.ts +65 -0
- package/lib/module/components/camera/NativeCameraModule.js +10 -0
- package/lib/module/components/camera/NativeCameraModule.js.map +1 -0
- package/lib/module/components/images/Images.js +52 -0
- package/lib/module/components/images/Images.js.map +1 -0
- package/lib/module/components/images/ImagesNativeComponent.ts +27 -0
- package/lib/module/components/images/NativeImagesModule.js +7 -0
- package/lib/module/components/images/NativeImagesModule.js.map +1 -0
- package/lib/module/components/layer/Layer.js +151 -0
- package/lib/module/components/layer/Layer.js.map +1 -0
- package/lib/module/components/layer/LayerNativeComponent.ts +43 -0
- package/lib/module/components/map/AndroidTextureMapViewNativeComponent.ts +109 -0
- package/lib/module/components/map/Map.js +112 -0
- package/lib/module/components/map/Map.js.map +1 -0
- package/lib/module/components/map/MapViewNativeComponent.ts +105 -0
- package/lib/module/components/map/NativeMapViewModule.js +5 -0
- package/lib/module/components/map/NativeMapViewModule.js.map +1 -0
- package/lib/module/components/sources/geojson-source/GeoJSONSource.js +51 -0
- package/lib/module/components/sources/geojson-source/GeoJSONSource.js.map +1 -0
- package/lib/module/components/sources/geojson-source/GeoJSONSourceNativeComponent.ts +48 -0
- package/lib/module/components/sources/geojson-source/NativeGeoJSONSourceModule.js +5 -0
- package/lib/module/components/sources/geojson-source/NativeGeoJSONSourceModule.js.map +1 -0
- package/lib/module/components/sources/image-source/ImageSource.js +28 -0
- package/lib/module/components/sources/image-source/ImageSource.js.map +1 -0
- package/lib/module/components/sources/image-source/ImageSourceNativeComponent.ts +31 -0
- package/lib/module/components/sources/raster-dem-source/RasterDEMSource.js +26 -0
- package/lib/module/components/sources/raster-dem-source/RasterDEMSource.js.map +1 -0
- package/lib/module/components/sources/raster-dem-source/RasterDEMSourceNativeComponent.ts +25 -0
- package/lib/module/components/sources/raster-source/RasterSource.js +27 -0
- package/lib/module/components/sources/raster-source/RasterSource.js.map +1 -0
- package/lib/module/components/sources/raster-source/RasterSourceNativeComponent.ts +25 -0
- package/lib/module/components/sources/vector-source/NativeVectorSourceModule.js +5 -0
- package/lib/module/components/sources/vector-source/NativeVectorSourceModule.js.map +1 -0
- package/lib/module/components/sources/vector-source/VectorSource.js +42 -0
- package/lib/module/components/sources/vector-source/VectorSource.js.map +1 -0
- package/lib/module/components/sources/vector-source/VectorSourceNativeComponent.ts +45 -0
- package/lib/module/components/user-location/NativeUserLocation.js +10 -0
- package/lib/module/components/user-location/NativeUserLocation.js.map +1 -0
- package/lib/module/components/user-location/UserLocation.js +47 -0
- package/lib/module/components/user-location/UserLocation.js.map +1 -0
- package/lib/module/components/user-location/UserLocationNativeComponent.ts +19 -0
- package/lib/module/components/user-location/UserLocationPuck.js +59 -0
- package/lib/module/components/user-location/UserLocationPuck.js.map +1 -0
- package/lib/module/components/user-location/UserLocationPuckHeading.js +27 -0
- package/lib/module/components/user-location/UserLocationPuckHeading.js.map +1 -0
- package/lib/module/hooks/useCurrentPosition.js +30 -0
- package/lib/module/hooks/useCurrentPosition.js.map +1 -0
- package/lib/module/hooks/useFrozenId.js +12 -0
- package/lib/module/hooks/useFrozenId.js.map +1 -0
- package/lib/module/hooks/useNativeBridge.js +79 -0
- package/lib/module/hooks/useNativeBridge.js.map +1 -0
- package/lib/module/index.js +27 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/modules/location/LocationManager.js +94 -0
- package/lib/module/modules/location/LocationManager.js.map +1 -0
- package/lib/module/modules/location/NativeLocationModule.js +5 -0
- package/lib/module/modules/location/NativeLocationModule.js.map +1 -0
- package/lib/module/modules/log/LogManager.js +97 -0
- package/lib/module/modules/log/LogManager.js.map +1 -0
- package/lib/module/modules/log/NativeLogModule.js +5 -0
- package/lib/module/modules/log/NativeLogModule.js.map +1 -0
- package/lib/module/modules/network/NativeNetworkModule.js +5 -0
- package/lib/module/modules/network/NativeNetworkModule.js.map +1 -0
- package/lib/module/modules/network/NetworkManager.js +30 -0
- package/lib/module/modules/network/NetworkManager.js.map +1 -0
- package/lib/module/modules/offline/NativeOfflineModule.js +5 -0
- package/lib/module/modules/offline/NativeOfflineModule.js.map +1 -0
- package/lib/module/modules/offline/OfflineManager.js +348 -0
- package/lib/module/modules/offline/OfflineManager.js.map +1 -0
- package/lib/module/modules/offline/OfflinePack.js +24 -0
- package/lib/module/modules/offline/OfflinePack.js.map +1 -0
- package/lib/module/modules/static-map/NativeStaticMapModule.js +5 -0
- package/lib/module/modules/static-map/NativeStaticMapModule.js.map +1 -0
- package/lib/module/modules/static-map/StaticMapManager.js +53 -0
- package/lib/module/modules/static-map/StaticMapManager.js.map +1 -0
- package/lib/module/modules/transform-request/NativeTransformRequestModule.js +5 -0
- package/lib/module/modules/transform-request/NativeTransformRequestModule.js.map +1 -0
- package/lib/module/modules/transform-request/TransformRequestManager.js +230 -0
- package/lib/module/modules/transform-request/TransformRequestManager.js.map +1 -0
- package/lib/module/package.json +1 -0
- package/lib/module/plugin/MapVinaPluginProps.js +2 -0
- package/lib/module/plugin/MapVinaPluginProps.js.map +1 -0
- package/lib/module/plugin/android.js +32 -0
- package/lib/module/plugin/android.js.map +1 -0
- package/lib/module/plugin/ios.js +83 -0
- package/lib/module/plugin/ios.js.map +1 -0
- package/lib/module/types/Anchor.js +63 -0
- package/lib/module/types/Anchor.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/LngLat.js +2 -0
- package/lib/module/types/LngLat.js.map +1 -0
- package/lib/module/types/LngLatBounds.js +2 -0
- package/lib/module/types/LngLatBounds.js.map +1 -0
- package/lib/module/types/MapVinaRNStyles.js +4 -0
- package/lib/module/types/MapVinaRNStyles.js.map +1 -0
- package/lib/module/types/PixelPoint.js +2 -0
- package/lib/module/types/PixelPoint.js.map +1 -0
- package/lib/module/types/PixelPointBounds.js +2 -0
- package/lib/module/types/PixelPointBounds.js.map +1 -0
- package/lib/module/types/PressEvent.js +4 -0
- package/lib/module/types/PressEvent.js.map +1 -0
- package/lib/module/types/PressEventWithFeatures.js +4 -0
- package/lib/module/types/PressEventWithFeatures.js.map +1 -0
- package/lib/module/types/PressableSourceProps.js +4 -0
- package/lib/module/types/PressableSourceProps.js.map +1 -0
- package/lib/module/types/ViewPadding.js +2 -0
- package/lib/module/types/ViewPadding.js.map +1 -0
- package/lib/module/types/codegen/UnsafeMixed.js +2 -0
- package/lib/module/types/codegen/UnsafeMixed.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/StyleValue.js +34 -0
- package/lib/module/utils/StyleValue.js.map +1 -0
- package/lib/module/utils/animated/AbstractAnimatedCoordinates.js +91 -0
- package/lib/module/utils/animated/AbstractAnimatedCoordinates.js.map +1 -0
- package/lib/module/utils/animated/Animated.js +26 -0
- package/lib/module/utils/animated/Animated.js.map +1 -0
- package/lib/module/utils/animated/AnimatedCoordinatesArray.js +86 -0
- package/lib/module/utils/animated/AnimatedCoordinatesArray.js.map +1 -0
- package/lib/module/utils/animated/AnimatedExtractCoordinateFromArray.js +27 -0
- package/lib/module/utils/animated/AnimatedExtractCoordinateFromArray.js.map +1 -0
- package/lib/module/utils/animated/AnimatedGeoJSON.js +62 -0
- package/lib/module/utils/animated/AnimatedGeoJSON.js.map +1 -0
- package/lib/module/utils/animated/AnimatedPoint.js +109 -0
- package/lib/module/utils/animated/AnimatedPoint.js.map +1 -0
- package/lib/module/utils/animated/AnimatedRouteCoordinatesArray.js +115 -0
- package/lib/module/utils/animated/AnimatedRouteCoordinatesArray.js.map +1 -0
- package/lib/module/utils/convertStyleSpec.js +53 -0
- package/lib/module/utils/convertStyleSpec.js.map +1 -0
- package/lib/module/utils/findNodeHandle.js +11 -0
- package/lib/module/utils/findNodeHandle.js.map +1 -0
- package/lib/module/utils/getNativeFilter.js +12 -0
- package/lib/module/utils/getNativeFilter.js.map +1 -0
- package/lib/module/utils/getStylePropertyType.js +251 -0
- package/lib/module/utils/getStylePropertyType.js.map +1 -0
- package/lib/module/utils/index.js +55 -0
- package/lib/module/utils/index.js.map +1 -0
- package/lib/typescript/commonjs/components/annotations/LayerAnnotation.d.ts +20 -0
- package/lib/typescript/commonjs/components/annotations/LayerAnnotation.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/annotations/callout/Callout.d.ts +35 -0
- package/lib/typescript/commonjs/components/annotations/callout/Callout.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/annotations/callout/CalloutNativeComponent.d.ts +6 -0
- package/lib/typescript/commonjs/components/annotations/callout/CalloutNativeComponent.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/annotations/marker/Marker.d.ts +79 -0
- package/lib/typescript/commonjs/components/annotations/marker/Marker.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/annotations/marker/MarkerViewNativeComponent.d.ts +31 -0
- package/lib/typescript/commonjs/components/annotations/marker/MarkerViewNativeComponent.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/annotations/view-annotation/PointAnnotationNativeComponent.d.ts +44 -0
- package/lib/typescript/commonjs/components/annotations/view-annotation/PointAnnotationNativeComponent.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/annotations/view-annotation/ViewAnnotation.d.ts +119 -0
- package/lib/typescript/commonjs/components/annotations/view-annotation/ViewAnnotation.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/camera/Camera.d.ts +217 -0
- package/lib/typescript/commonjs/components/camera/Camera.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/camera/CameraNativeComponent.d.ts +37 -0
- package/lib/typescript/commonjs/components/camera/CameraNativeComponent.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/camera/NativeCameraModule.d.ts +26 -0
- package/lib/typescript/commonjs/components/camera/NativeCameraModule.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/images/Images.d.ts +69 -0
- package/lib/typescript/commonjs/components/images/Images.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/images/ImagesNativeComponent.d.ts +17 -0
- package/lib/typescript/commonjs/components/images/ImagesNativeComponent.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/images/NativeImagesModule.d.ts +6 -0
- package/lib/typescript/commonjs/components/images/NativeImagesModule.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/layer/Layer.d.ts +172 -0
- package/lib/typescript/commonjs/components/layer/Layer.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/layer/LayerNativeComponent.d.ts +19 -0
- package/lib/typescript/commonjs/components/layer/LayerNativeComponent.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/map/AndroidTextureMapViewNativeComponent.d.ts +79 -0
- package/lib/typescript/commonjs/components/map/AndroidTextureMapViewNativeComponent.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/map/Map.d.ts +448 -0
- package/lib/typescript/commonjs/components/map/Map.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/map/MapViewNativeComponent.d.ts +79 -0
- package/lib/typescript/commonjs/components/map/MapViewNativeComponent.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/map/NativeMapViewModule.d.ts +31 -0
- package/lib/typescript/commonjs/components/map/NativeMapViewModule.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/sources/geojson-source/GeoJSONSource.d.ts +135 -0
- package/lib/typescript/commonjs/components/sources/geojson-source/GeoJSONSource.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/sources/geojson-source/GeoJSONSourceNativeComponent.d.ts +35 -0
- package/lib/typescript/commonjs/components/sources/geojson-source/GeoJSONSourceNativeComponent.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/sources/geojson-source/NativeGeoJSONSourceModule.d.ts +10 -0
- package/lib/typescript/commonjs/components/sources/geojson-source/NativeGeoJSONSourceModule.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/sources/image-source/ImageSource.d.ts +32 -0
- package/lib/typescript/commonjs/components/sources/image-source/ImageSource.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/sources/image-source/ImageSourceNativeComponent.d.ts +21 -0
- package/lib/typescript/commonjs/components/sources/image-source/ImageSourceNativeComponent.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/sources/raster-dem-source/RasterDEMSource.d.ts +58 -0
- package/lib/typescript/commonjs/components/sources/raster-dem-source/RasterDEMSource.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/sources/raster-dem-source/RasterDEMSourceNativeComponent.d.ts +15 -0
- package/lib/typescript/commonjs/components/sources/raster-dem-source/RasterDEMSourceNativeComponent.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/sources/raster-source/RasterSource.d.ts +59 -0
- package/lib/typescript/commonjs/components/sources/raster-source/RasterSource.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/sources/raster-source/RasterSourceNativeComponent.d.ts +15 -0
- package/lib/typescript/commonjs/components/sources/raster-source/RasterSourceNativeComponent.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/sources/vector-source/NativeVectorSourceModule.d.ts +7 -0
- package/lib/typescript/commonjs/components/sources/vector-source/NativeVectorSourceModule.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/sources/vector-source/VectorSource.d.ts +75 -0
- package/lib/typescript/commonjs/components/sources/vector-source/VectorSource.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/sources/vector-source/VectorSourceNativeComponent.d.ts +32 -0
- package/lib/typescript/commonjs/components/sources/vector-source/VectorSourceNativeComponent.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/user-location/NativeUserLocation.d.ts +27 -0
- package/lib/typescript/commonjs/components/user-location/NativeUserLocation.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/user-location/UserLocation.d.ts +31 -0
- package/lib/typescript/commonjs/components/user-location/UserLocation.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/user-location/UserLocationNativeComponent.d.ts +8 -0
- package/lib/typescript/commonjs/components/user-location/UserLocationNativeComponent.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/user-location/UserLocationPuck.d.ts +10 -0
- package/lib/typescript/commonjs/components/user-location/UserLocationPuck.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/user-location/UserLocationPuckHeading.d.ts +9 -0
- package/lib/typescript/commonjs/components/user-location/UserLocationPuckHeading.d.ts.map +1 -0
- package/lib/typescript/commonjs/hooks/useCurrentPosition.d.ts +18 -0
- package/lib/typescript/commonjs/hooks/useCurrentPosition.d.ts.map +1 -0
- package/lib/typescript/commonjs/hooks/useFrozenId.d.ts +2 -0
- package/lib/typescript/commonjs/hooks/useFrozenId.d.ts.map +1 -0
- package/lib/typescript/commonjs/hooks/useNativeBridge.d.ts +21 -0
- package/lib/typescript/commonjs/hooks/useNativeBridge.d.ts.map +1 -0
- package/lib/typescript/commonjs/index.d.ts +36 -0
- package/lib/typescript/commonjs/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/modules/location/LocationManager.d.ts +62 -0
- package/lib/typescript/commonjs/modules/location/LocationManager.d.ts.map +1 -0
- package/lib/typescript/commonjs/modules/location/NativeLocationModule.d.ts +25 -0
- package/lib/typescript/commonjs/modules/location/NativeLocationModule.d.ts.map +1 -0
- package/lib/typescript/commonjs/modules/log/LogManager.d.ts +46 -0
- package/lib/typescript/commonjs/modules/log/LogManager.d.ts.map +1 -0
- package/lib/typescript/commonjs/modules/log/NativeLogModule.d.ts +13 -0
- package/lib/typescript/commonjs/modules/log/NativeLogModule.d.ts.map +1 -0
- package/lib/typescript/commonjs/modules/network/NativeNetworkModule.d.ts +7 -0
- package/lib/typescript/commonjs/modules/network/NativeNetworkModule.d.ts.map +1 -0
- package/lib/typescript/commonjs/modules/network/NetworkManager.d.ts +24 -0
- package/lib/typescript/commonjs/modules/network/NetworkManager.d.ts.map +1 -0
- package/lib/typescript/commonjs/modules/offline/NativeOfflineModule.d.ts +50 -0
- package/lib/typescript/commonjs/modules/offline/NativeOfflineModule.d.ts.map +1 -0
- package/lib/typescript/commonjs/modules/offline/OfflineManager.d.ts +238 -0
- package/lib/typescript/commonjs/modules/offline/OfflineManager.d.ts.map +1 -0
- package/lib/typescript/commonjs/modules/offline/OfflinePack.d.ts +25 -0
- package/lib/typescript/commonjs/modules/offline/OfflinePack.d.ts.map +1 -0
- package/lib/typescript/commonjs/modules/static-map/NativeStaticMapModule.d.ts +19 -0
- package/lib/typescript/commonjs/modules/static-map/NativeStaticMapModule.d.ts.map +1 -0
- package/lib/typescript/commonjs/modules/static-map/StaticMapManager.d.ts +105 -0
- package/lib/typescript/commonjs/modules/static-map/StaticMapManager.d.ts.map +1 -0
- package/lib/typescript/commonjs/modules/transform-request/NativeTransformRequestModule.d.ts +15 -0
- package/lib/typescript/commonjs/modules/transform-request/NativeTransformRequestModule.d.ts.map +1 -0
- package/lib/typescript/commonjs/modules/transform-request/TransformRequestManager.d.ts +213 -0
- package/lib/typescript/commonjs/modules/transform-request/TransformRequestManager.d.ts.map +1 -0
- package/lib/typescript/commonjs/package.json +1 -0
- package/lib/typescript/commonjs/plugin/MapVinaPluginProps.d.ts +78 -0
- package/lib/typescript/commonjs/plugin/MapVinaPluginProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/plugin/android.d.ts +17 -0
- package/lib/typescript/commonjs/plugin/android.d.ts.map +1 -0
- package/lib/typescript/commonjs/plugin/ios.d.ts +15 -0
- package/lib/typescript/commonjs/plugin/ios.d.ts.map +1 -0
- package/lib/typescript/commonjs/types/Anchor.d.ts +16 -0
- package/lib/typescript/commonjs/types/Anchor.d.ts.map +1 -0
- package/lib/typescript/commonjs/types/BaseProps.d.ts +7 -0
- package/lib/typescript/commonjs/types/BaseProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/types/LngLat.d.ts +5 -0
- package/lib/typescript/commonjs/types/LngLat.d.ts.map +1 -0
- package/lib/typescript/commonjs/types/LngLatBounds.d.ts +13 -0
- package/lib/typescript/commonjs/types/LngLatBounds.d.ts.map +1 -0
- package/lib/typescript/commonjs/types/MapVinaRNStyles.d.ts +1169 -0
- package/lib/typescript/commonjs/types/MapVinaRNStyles.d.ts.map +1 -0
- package/lib/typescript/commonjs/types/PixelPoint.d.ts +5 -0
- package/lib/typescript/commonjs/types/PixelPoint.d.ts.map +1 -0
- package/lib/typescript/commonjs/types/PixelPointBounds.d.ts +10 -0
- package/lib/typescript/commonjs/types/PixelPointBounds.d.ts.map +1 -0
- package/lib/typescript/commonjs/types/PressEvent.d.ts +16 -0
- package/lib/typescript/commonjs/types/PressEvent.d.ts.map +1 -0
- package/lib/typescript/commonjs/types/PressEventWithFeatures.d.ts +8 -0
- package/lib/typescript/commonjs/types/PressEventWithFeatures.d.ts.map +1 -0
- package/lib/typescript/commonjs/types/PressableSourceProps.d.ts +19 -0
- package/lib/typescript/commonjs/types/PressableSourceProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/types/ViewPadding.d.ts +10 -0
- package/lib/typescript/commonjs/types/ViewPadding.d.ts.map +1 -0
- package/lib/typescript/commonjs/types/codegen/UnsafeMixed.d.ts +10 -0
- package/lib/typescript/commonjs/types/codegen/UnsafeMixed.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/BridgeValue.d.ts +29 -0
- package/lib/typescript/commonjs/utils/BridgeValue.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/StyleValue.d.ts +10 -0
- package/lib/typescript/commonjs/utils/StyleValue.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/animated/AbstractAnimatedCoordinates.d.ts +42 -0
- package/lib/typescript/commonjs/utils/animated/AbstractAnimatedCoordinates.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/animated/Animated.d.ts +21 -0
- package/lib/typescript/commonjs/utils/animated/Animated.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/animated/AnimatedCoordinatesArray.d.ts +40 -0
- package/lib/typescript/commonjs/utils/animated/AnimatedCoordinatesArray.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/animated/AnimatedExtractCoordinateFromArray.d.ts +13 -0
- package/lib/typescript/commonjs/utils/animated/AnimatedExtractCoordinateFromArray.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/animated/AnimatedGeoJSON.d.ts +31 -0
- package/lib/typescript/commonjs/utils/animated/AnimatedGeoJSON.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/animated/AnimatedPoint.d.ts +32 -0
- package/lib/typescript/commonjs/utils/animated/AnimatedPoint.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/animated/AnimatedRouteCoordinatesArray.d.ts +62 -0
- package/lib/typescript/commonjs/utils/animated/AnimatedRouteCoordinatesArray.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/convertStyleSpec.d.ts +16 -0
- package/lib/typescript/commonjs/utils/convertStyleSpec.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/findNodeHandle.d.ts +3 -0
- package/lib/typescript/commonjs/utils/findNodeHandle.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/getNativeFilter.d.ts +3 -0
- package/lib/typescript/commonjs/utils/getNativeFilter.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/getStylePropertyType.d.ts +35 -0
- package/lib/typescript/commonjs/utils/getStylePropertyType.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/index.d.ts +18 -0
- package/lib/typescript/commonjs/utils/index.d.ts.map +1 -0
- package/lib/typescript/module/components/annotations/LayerAnnotation.d.ts +20 -0
- package/lib/typescript/module/components/annotations/LayerAnnotation.d.ts.map +1 -0
- package/lib/typescript/module/components/annotations/callout/Callout.d.ts +35 -0
- package/lib/typescript/module/components/annotations/callout/Callout.d.ts.map +1 -0
- package/lib/typescript/module/components/annotations/callout/CalloutNativeComponent.d.ts +6 -0
- package/lib/typescript/module/components/annotations/callout/CalloutNativeComponent.d.ts.map +1 -0
- package/lib/typescript/module/components/annotations/marker/Marker.d.ts +79 -0
- package/lib/typescript/module/components/annotations/marker/Marker.d.ts.map +1 -0
- package/lib/typescript/module/components/annotations/marker/MarkerViewNativeComponent.d.ts +31 -0
- package/lib/typescript/module/components/annotations/marker/MarkerViewNativeComponent.d.ts.map +1 -0
- package/lib/typescript/module/components/annotations/view-annotation/PointAnnotationNativeComponent.d.ts +44 -0
- package/lib/typescript/module/components/annotations/view-annotation/PointAnnotationNativeComponent.d.ts.map +1 -0
- package/lib/typescript/module/components/annotations/view-annotation/ViewAnnotation.d.ts +119 -0
- package/lib/typescript/module/components/annotations/view-annotation/ViewAnnotation.d.ts.map +1 -0
- package/lib/typescript/module/components/camera/Camera.d.ts +217 -0
- package/lib/typescript/module/components/camera/Camera.d.ts.map +1 -0
- package/lib/typescript/module/components/camera/CameraNativeComponent.d.ts +37 -0
- package/lib/typescript/module/components/camera/CameraNativeComponent.d.ts.map +1 -0
- package/lib/typescript/module/components/camera/NativeCameraModule.d.ts +26 -0
- package/lib/typescript/module/components/camera/NativeCameraModule.d.ts.map +1 -0
- package/lib/typescript/module/components/images/Images.d.ts +69 -0
- package/lib/typescript/module/components/images/Images.d.ts.map +1 -0
- package/lib/typescript/module/components/images/ImagesNativeComponent.d.ts +17 -0
- package/lib/typescript/module/components/images/ImagesNativeComponent.d.ts.map +1 -0
- package/lib/typescript/module/components/images/NativeImagesModule.d.ts +6 -0
- package/lib/typescript/module/components/images/NativeImagesModule.d.ts.map +1 -0
- package/lib/typescript/module/components/layer/Layer.d.ts +172 -0
- package/lib/typescript/module/components/layer/Layer.d.ts.map +1 -0
- package/lib/typescript/module/components/layer/LayerNativeComponent.d.ts +19 -0
- package/lib/typescript/module/components/layer/LayerNativeComponent.d.ts.map +1 -0
- package/lib/typescript/module/components/map/AndroidTextureMapViewNativeComponent.d.ts +79 -0
- package/lib/typescript/module/components/map/AndroidTextureMapViewNativeComponent.d.ts.map +1 -0
- package/lib/typescript/module/components/map/Map.d.ts +448 -0
- package/lib/typescript/module/components/map/Map.d.ts.map +1 -0
- package/lib/typescript/module/components/map/MapViewNativeComponent.d.ts +79 -0
- package/lib/typescript/module/components/map/MapViewNativeComponent.d.ts.map +1 -0
- package/lib/typescript/module/components/map/NativeMapViewModule.d.ts +31 -0
- package/lib/typescript/module/components/map/NativeMapViewModule.d.ts.map +1 -0
- package/lib/typescript/module/components/sources/geojson-source/GeoJSONSource.d.ts +135 -0
- package/lib/typescript/module/components/sources/geojson-source/GeoJSONSource.d.ts.map +1 -0
- package/lib/typescript/module/components/sources/geojson-source/GeoJSONSourceNativeComponent.d.ts +35 -0
- package/lib/typescript/module/components/sources/geojson-source/GeoJSONSourceNativeComponent.d.ts.map +1 -0
- package/lib/typescript/module/components/sources/geojson-source/NativeGeoJSONSourceModule.d.ts +10 -0
- package/lib/typescript/module/components/sources/geojson-source/NativeGeoJSONSourceModule.d.ts.map +1 -0
- package/lib/typescript/module/components/sources/image-source/ImageSource.d.ts +32 -0
- package/lib/typescript/module/components/sources/image-source/ImageSource.d.ts.map +1 -0
- package/lib/typescript/module/components/sources/image-source/ImageSourceNativeComponent.d.ts +21 -0
- package/lib/typescript/module/components/sources/image-source/ImageSourceNativeComponent.d.ts.map +1 -0
- package/lib/typescript/module/components/sources/raster-dem-source/RasterDEMSource.d.ts +58 -0
- package/lib/typescript/module/components/sources/raster-dem-source/RasterDEMSource.d.ts.map +1 -0
- package/lib/typescript/module/components/sources/raster-dem-source/RasterDEMSourceNativeComponent.d.ts +15 -0
- package/lib/typescript/module/components/sources/raster-dem-source/RasterDEMSourceNativeComponent.d.ts.map +1 -0
- package/lib/typescript/module/components/sources/raster-source/RasterSource.d.ts +59 -0
- package/lib/typescript/module/components/sources/raster-source/RasterSource.d.ts.map +1 -0
- package/lib/typescript/module/components/sources/raster-source/RasterSourceNativeComponent.d.ts +15 -0
- package/lib/typescript/module/components/sources/raster-source/RasterSourceNativeComponent.d.ts.map +1 -0
- package/lib/typescript/module/components/sources/vector-source/NativeVectorSourceModule.d.ts +7 -0
- package/lib/typescript/module/components/sources/vector-source/NativeVectorSourceModule.d.ts.map +1 -0
- package/lib/typescript/module/components/sources/vector-source/VectorSource.d.ts +75 -0
- package/lib/typescript/module/components/sources/vector-source/VectorSource.d.ts.map +1 -0
- package/lib/typescript/module/components/sources/vector-source/VectorSourceNativeComponent.d.ts +32 -0
- package/lib/typescript/module/components/sources/vector-source/VectorSourceNativeComponent.d.ts.map +1 -0
- package/lib/typescript/module/components/user-location/NativeUserLocation.d.ts +27 -0
- package/lib/typescript/module/components/user-location/NativeUserLocation.d.ts.map +1 -0
- package/lib/typescript/module/components/user-location/UserLocation.d.ts +31 -0
- package/lib/typescript/module/components/user-location/UserLocation.d.ts.map +1 -0
- package/lib/typescript/module/components/user-location/UserLocationNativeComponent.d.ts +8 -0
- package/lib/typescript/module/components/user-location/UserLocationNativeComponent.d.ts.map +1 -0
- package/lib/typescript/module/components/user-location/UserLocationPuck.d.ts +10 -0
- package/lib/typescript/module/components/user-location/UserLocationPuck.d.ts.map +1 -0
- package/lib/typescript/module/components/user-location/UserLocationPuckHeading.d.ts +9 -0
- package/lib/typescript/module/components/user-location/UserLocationPuckHeading.d.ts.map +1 -0
- package/lib/typescript/module/hooks/useCurrentPosition.d.ts +18 -0
- package/lib/typescript/module/hooks/useCurrentPosition.d.ts.map +1 -0
- package/lib/typescript/module/hooks/useFrozenId.d.ts +2 -0
- package/lib/typescript/module/hooks/useFrozenId.d.ts.map +1 -0
- package/lib/typescript/module/hooks/useNativeBridge.d.ts +21 -0
- package/lib/typescript/module/hooks/useNativeBridge.d.ts.map +1 -0
- package/lib/typescript/module/index.d.ts +36 -0
- package/lib/typescript/module/index.d.ts.map +1 -0
- package/lib/typescript/module/modules/location/LocationManager.d.ts +62 -0
- package/lib/typescript/module/modules/location/LocationManager.d.ts.map +1 -0
- package/lib/typescript/module/modules/location/NativeLocationModule.d.ts +25 -0
- package/lib/typescript/module/modules/location/NativeLocationModule.d.ts.map +1 -0
- package/lib/typescript/module/modules/log/LogManager.d.ts +46 -0
- package/lib/typescript/module/modules/log/LogManager.d.ts.map +1 -0
- package/lib/typescript/module/modules/log/NativeLogModule.d.ts +13 -0
- package/lib/typescript/module/modules/log/NativeLogModule.d.ts.map +1 -0
- package/lib/typescript/module/modules/network/NativeNetworkModule.d.ts +7 -0
- package/lib/typescript/module/modules/network/NativeNetworkModule.d.ts.map +1 -0
- package/lib/typescript/module/modules/network/NetworkManager.d.ts +24 -0
- package/lib/typescript/module/modules/network/NetworkManager.d.ts.map +1 -0
- package/lib/typescript/module/modules/offline/NativeOfflineModule.d.ts +50 -0
- package/lib/typescript/module/modules/offline/NativeOfflineModule.d.ts.map +1 -0
- package/lib/typescript/module/modules/offline/OfflineManager.d.ts +238 -0
- package/lib/typescript/module/modules/offline/OfflineManager.d.ts.map +1 -0
- package/lib/typescript/module/modules/offline/OfflinePack.d.ts +25 -0
- package/lib/typescript/module/modules/offline/OfflinePack.d.ts.map +1 -0
- package/lib/typescript/module/modules/static-map/NativeStaticMapModule.d.ts +19 -0
- package/lib/typescript/module/modules/static-map/NativeStaticMapModule.d.ts.map +1 -0
- package/lib/typescript/module/modules/static-map/StaticMapManager.d.ts +105 -0
- package/lib/typescript/module/modules/static-map/StaticMapManager.d.ts.map +1 -0
- package/lib/typescript/module/modules/transform-request/NativeTransformRequestModule.d.ts +15 -0
- package/lib/typescript/module/modules/transform-request/NativeTransformRequestModule.d.ts.map +1 -0
- package/lib/typescript/module/modules/transform-request/TransformRequestManager.d.ts +213 -0
- package/lib/typescript/module/modules/transform-request/TransformRequestManager.d.ts.map +1 -0
- package/lib/typescript/module/package.json +1 -0
- package/lib/typescript/module/plugin/MapVinaPluginProps.d.ts +78 -0
- package/lib/typescript/module/plugin/MapVinaPluginProps.d.ts.map +1 -0
- package/lib/typescript/module/plugin/android.d.ts +17 -0
- package/lib/typescript/module/plugin/android.d.ts.map +1 -0
- package/lib/typescript/module/plugin/ios.d.ts +15 -0
- package/lib/typescript/module/plugin/ios.d.ts.map +1 -0
- package/lib/typescript/module/types/Anchor.d.ts +16 -0
- package/lib/typescript/module/types/Anchor.d.ts.map +1 -0
- package/lib/typescript/module/types/BaseProps.d.ts +7 -0
- package/lib/typescript/module/types/BaseProps.d.ts.map +1 -0
- package/lib/typescript/module/types/LngLat.d.ts +5 -0
- package/lib/typescript/module/types/LngLat.d.ts.map +1 -0
- package/lib/typescript/module/types/LngLatBounds.d.ts +13 -0
- package/lib/typescript/module/types/LngLatBounds.d.ts.map +1 -0
- package/lib/typescript/module/types/MapVinaRNStyles.d.ts +1169 -0
- package/lib/typescript/module/types/MapVinaRNStyles.d.ts.map +1 -0
- package/lib/typescript/module/types/PixelPoint.d.ts +5 -0
- package/lib/typescript/module/types/PixelPoint.d.ts.map +1 -0
- package/lib/typescript/module/types/PixelPointBounds.d.ts +10 -0
- package/lib/typescript/module/types/PixelPointBounds.d.ts.map +1 -0
- package/lib/typescript/module/types/PressEvent.d.ts +16 -0
- package/lib/typescript/module/types/PressEvent.d.ts.map +1 -0
- package/lib/typescript/module/types/PressEventWithFeatures.d.ts +8 -0
- package/lib/typescript/module/types/PressEventWithFeatures.d.ts.map +1 -0
- package/lib/typescript/module/types/PressableSourceProps.d.ts +19 -0
- package/lib/typescript/module/types/PressableSourceProps.d.ts.map +1 -0
- package/lib/typescript/module/types/ViewPadding.d.ts +10 -0
- package/lib/typescript/module/types/ViewPadding.d.ts.map +1 -0
- package/lib/typescript/module/types/codegen/UnsafeMixed.d.ts +10 -0
- package/lib/typescript/module/types/codegen/UnsafeMixed.d.ts.map +1 -0
- package/lib/typescript/module/utils/BridgeValue.d.ts +29 -0
- package/lib/typescript/module/utils/BridgeValue.d.ts.map +1 -0
- package/lib/typescript/module/utils/StyleValue.d.ts +10 -0
- package/lib/typescript/module/utils/StyleValue.d.ts.map +1 -0
- package/lib/typescript/module/utils/animated/AbstractAnimatedCoordinates.d.ts +42 -0
- package/lib/typescript/module/utils/animated/AbstractAnimatedCoordinates.d.ts.map +1 -0
- package/lib/typescript/module/utils/animated/Animated.d.ts +21 -0
- package/lib/typescript/module/utils/animated/Animated.d.ts.map +1 -0
- package/lib/typescript/module/utils/animated/AnimatedCoordinatesArray.d.ts +40 -0
- package/lib/typescript/module/utils/animated/AnimatedCoordinatesArray.d.ts.map +1 -0
- package/lib/typescript/module/utils/animated/AnimatedExtractCoordinateFromArray.d.ts +13 -0
- package/lib/typescript/module/utils/animated/AnimatedExtractCoordinateFromArray.d.ts.map +1 -0
- package/lib/typescript/module/utils/animated/AnimatedGeoJSON.d.ts +31 -0
- package/lib/typescript/module/utils/animated/AnimatedGeoJSON.d.ts.map +1 -0
- package/lib/typescript/module/utils/animated/AnimatedPoint.d.ts +32 -0
- package/lib/typescript/module/utils/animated/AnimatedPoint.d.ts.map +1 -0
- package/lib/typescript/module/utils/animated/AnimatedRouteCoordinatesArray.d.ts +62 -0
- package/lib/typescript/module/utils/animated/AnimatedRouteCoordinatesArray.d.ts.map +1 -0
- package/lib/typescript/module/utils/convertStyleSpec.d.ts +16 -0
- package/lib/typescript/module/utils/convertStyleSpec.d.ts.map +1 -0
- package/lib/typescript/module/utils/findNodeHandle.d.ts +3 -0
- package/lib/typescript/module/utils/findNodeHandle.d.ts.map +1 -0
- package/lib/typescript/module/utils/getNativeFilter.d.ts +3 -0
- package/lib/typescript/module/utils/getNativeFilter.d.ts.map +1 -0
- package/lib/typescript/module/utils/getStylePropertyType.d.ts +35 -0
- package/lib/typescript/module/utils/getStylePropertyType.d.ts.map +1 -0
- package/lib/typescript/module/utils/index.d.ts +18 -0
- package/lib/typescript/module/utils/index.d.ts.map +1 -0
- package/package.json +191 -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/assets/png.d.ts +4 -0
- package/src/components/annotations/LayerAnnotation.tsx +74 -0
- package/src/components/annotations/callout/Callout.tsx +146 -0
- package/src/components/annotations/callout/CalloutNativeComponent.ts +11 -0
- package/src/components/annotations/marker/Marker.tsx +176 -0
- package/src/components/annotations/marker/MarkerViewNativeComponent.ts +40 -0
- package/src/components/annotations/view-annotation/PointAnnotationNativeComponent.ts +59 -0
- package/src/components/annotations/view-annotation/ViewAnnotation.tsx +239 -0
- package/src/components/camera/Camera.tsx +344 -0
- package/src/components/camera/CameraNativeComponent.ts +65 -0
- package/src/components/camera/NativeCameraModule.ts +38 -0
- package/src/components/images/Images.tsx +111 -0
- package/src/components/images/ImagesNativeComponent.ts +27 -0
- package/src/components/images/NativeImagesModule.ts +11 -0
- package/src/components/layer/Layer.tsx +278 -0
- package/src/components/layer/LayerNativeComponent.ts +43 -0
- package/src/components/map/AndroidTextureMapViewNativeComponent.ts +109 -0
- package/src/components/map/Map.tsx +697 -0
- package/src/components/map/MapViewNativeComponent.ts +105 -0
- package/src/components/map/NativeMapViewModule.ts +78 -0
- package/src/components/sources/geojson-source/GeoJSONSource.tsx +245 -0
- package/src/components/sources/geojson-source/GeoJSONSourceNativeComponent.ts +48 -0
- package/src/components/sources/geojson-source/NativeGeoJSONSourceModule.ts +33 -0
- package/src/components/sources/image-source/ImageSource.tsx +58 -0
- package/src/components/sources/image-source/ImageSourceNativeComponent.ts +31 -0
- package/src/components/sources/raster-dem-source/RasterDEMSource.tsx +83 -0
- package/src/components/sources/raster-dem-source/RasterDEMSourceNativeComponent.ts +25 -0
- package/src/components/sources/raster-source/RasterSource.tsx +82 -0
- package/src/components/sources/raster-source/RasterSourceNativeComponent.ts +25 -0
- package/src/components/sources/vector-source/NativeVectorSourceModule.ts +15 -0
- package/src/components/sources/vector-source/VectorSource.tsx +137 -0
- package/src/components/sources/vector-source/VectorSourceNativeComponent.ts +45 -0
- package/src/components/user-location/NativeUserLocation.tsx +31 -0
- package/src/components/user-location/UserLocation.tsx +98 -0
- package/src/components/user-location/UserLocationNativeComponent.ts +19 -0
- package/src/components/user-location/UserLocationPuck.tsx +83 -0
- package/src/components/user-location/UserLocationPuckHeading.tsx +34 -0
- package/src/hooks/useCurrentPosition.ts +53 -0
- package/src/hooks/useFrozenId.ts +13 -0
- package/src/hooks/useNativeBridge.ts +128 -0
- package/src/index.ts +119 -0
- package/src/modules/location/LocationManager.ts +174 -0
- package/src/modules/location/NativeLocationModule.ts +33 -0
- package/src/modules/log/LogManager.ts +115 -0
- package/src/modules/log/NativeLogModule.ts +16 -0
- package/src/modules/network/NativeNetworkModule.ts +8 -0
- package/src/modules/network/NetworkManager.ts +28 -0
- package/src/modules/offline/NativeOfflineModule.ts +63 -0
- package/src/modules/offline/OfflineManager.ts +428 -0
- package/src/modules/offline/OfflinePack.ts +44 -0
- package/src/modules/static-map/NativeStaticMapModule.ts +26 -0
- package/src/modules/static-map/StaticMapManager.ts +127 -0
- package/src/modules/transform-request/NativeTransformRequestModule.ts +41 -0
- package/src/modules/transform-request/TransformRequestManager.ts +304 -0
- package/src/plugin/MapVinaPluginProps.ts +84 -0
- package/src/plugin/android.ts +68 -0
- package/src/plugin/ios.ts +114 -0
- package/src/types/Anchor.ts +43 -0
- package/src/types/BaseProps.ts +6 -0
- package/src/types/LngLat.ts +4 -0
- package/src/types/LngLatBounds.ts +12 -0
- package/src/types/MapVinaRNStyles.ts +1335 -0
- package/src/types/PixelPoint.ts +4 -0
- package/src/types/PixelPointBounds.ts +9 -0
- package/src/types/PressEvent.ts +17 -0
- package/src/types/PressEventWithFeatures.ts +8 -0
- package/src/types/PressableSourceProps.ts +21 -0
- package/src/types/ViewPadding.ts +9 -0
- package/src/types/codegen/UnsafeMixed.ts +9 -0
- package/src/utils/BridgeValue.ts +90 -0
- package/src/utils/StyleValue.ts +52 -0
- package/src/utils/animated/AbstractAnimatedCoordinates.ts +145 -0
- package/src/utils/animated/Animated.ts +33 -0
- package/src/utils/animated/AnimatedCoordinatesArray.ts +114 -0
- package/src/utils/animated/AnimatedExtractCoordinateFromArray.ts +37 -0
- package/src/utils/animated/AnimatedGeoJSON.ts +90 -0
- package/src/utils/animated/AnimatedPoint.ts +153 -0
- package/src/utils/animated/AnimatedRouteCoordinatesArray.ts +155 -0
- package/src/utils/convertStyleSpec.ts +61 -0
- package/src/utils/findNodeHandle.ts +14 -0
- package/src/utils/getNativeFilter.ts +15 -0
- package/src/utils/getStylePropertyType.ts +268 -0
- package/src/utils/index.ts +105 -0
|
@@ -0,0 +1,1169 @@
|
|
|
1
|
+
import { type ImageSourcePropType } from "react-native";
|
|
2
|
+
export type Translation = {
|
|
3
|
+
x: number;
|
|
4
|
+
y: number;
|
|
5
|
+
} | [number, number];
|
|
6
|
+
export interface Transition {
|
|
7
|
+
duration: number;
|
|
8
|
+
delay: number;
|
|
9
|
+
}
|
|
10
|
+
export type FormattedString = string;
|
|
11
|
+
export type ExpressionName = "array" | "boolean" | "collator" | "format" | "image" | "literal" | "number" | "number-format" | "object" | "string" | "to-boolean" | "to-color" | "to-number" | "to-string" | "typeof" | "accumulated" | "feature-state" | "geometry-type" | "id" | "line-progress" | "properties" | "at" | "get" | "has" | "in" | "index-of" | "length" | "slice" | "!" | "!=" | "<" | "<=" | "==" | ">" | ">=" | "all" | "any" | "case" | "match" | "coalesce" | "within" | "interpolate" | "interpolate-hcl" | "interpolate-lab" | "step" | "let" | "var" | "concat" | "downcase" | "is-supported-script" | "resolved-locale" | "upcase" | "rgb" | "rgba" | "to-rgba" | "-" | "*" | "/" | "%" | "^" | "+" | "abs" | "acos" | "asin" | "atan" | "ceil" | "cos" | "distance" | "e" | "floor" | "ln" | "ln2" | "log10" | "log2" | "max" | "min" | "pi" | "round" | "sin" | "sqrt" | "tan" | "zoom" | "heatmap-density";
|
|
12
|
+
export type ExpressionField = string | number | boolean | Expression | ExpressionField[] | {
|
|
13
|
+
[key: string]: ExpressionField;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* @deprecated
|
|
17
|
+
*/
|
|
18
|
+
export type Expression = [ExpressionName, ...ExpressionField[]];
|
|
19
|
+
type ExpressionParameters = "zoom" | "feature" | "feature-state" | "global-state" | "sky-radial-progress" | "line-progress" | "heatmap-density" | "elevation";
|
|
20
|
+
type ResolvedImageType = ImageSourcePropType | string;
|
|
21
|
+
export type Value<T, AllowedParameters extends ExpressionParameters[] = []> = T | Expression;
|
|
22
|
+
/**
|
|
23
|
+
* @deprecated
|
|
24
|
+
*/
|
|
25
|
+
export interface FillLayerStyle {
|
|
26
|
+
/**
|
|
27
|
+
* Sorts features in ascending order based on this value. Features with a higher
|
|
28
|
+
* sort key will appear above features with a lower sort key.
|
|
29
|
+
*/
|
|
30
|
+
fillSortKey?: Value<number, ["zoom", "feature"]>;
|
|
31
|
+
/**
|
|
32
|
+
* Whether this layer is displayed.
|
|
33
|
+
*/
|
|
34
|
+
visibility?: "visible" | "none";
|
|
35
|
+
/**
|
|
36
|
+
* Whether or not the fill should be antialiased.
|
|
37
|
+
*/
|
|
38
|
+
fillAntialias?: Value<boolean, ["zoom"]>;
|
|
39
|
+
/**
|
|
40
|
+
* The opacity of the entire fill layer. In contrast to the `fillColor` , this
|
|
41
|
+
* value will also affect the 1px stroke around the fill, if the stroke is used.
|
|
42
|
+
*/
|
|
43
|
+
fillOpacity?: Value<number, ["zoom", "feature", "feature-state"]>;
|
|
44
|
+
/**
|
|
45
|
+
* The transition affecting any changes to this layer's fillOpacity property.
|
|
46
|
+
*/
|
|
47
|
+
fillOpacityTransition?: Transition;
|
|
48
|
+
/**
|
|
49
|
+
* The color of the filled part of this layer. This color can be specified as
|
|
50
|
+
* `rgba` with an alpha component and the color's opacity will not affect the
|
|
51
|
+
* opacity of the 1px stroke, if it is used.
|
|
52
|
+
*
|
|
53
|
+
* @disabledBy fillPattern
|
|
54
|
+
*/
|
|
55
|
+
fillColor?: Value<string, ["zoom", "feature", "feature-state"]>;
|
|
56
|
+
/**
|
|
57
|
+
* The transition affecting any changes to this layer's fillColor property.
|
|
58
|
+
*/
|
|
59
|
+
fillColorTransition?: Transition;
|
|
60
|
+
/**
|
|
61
|
+
* The outline color of the fill. Matches the value of `fillColor` if
|
|
62
|
+
* unspecified.
|
|
63
|
+
*
|
|
64
|
+
* @disabledBy fillPattern
|
|
65
|
+
*/
|
|
66
|
+
fillOutlineColor?: Value<string, ["zoom", "feature", "feature-state"]>;
|
|
67
|
+
/**
|
|
68
|
+
* The transition affecting any changes to this layer's fillOutlineColor
|
|
69
|
+
* property.
|
|
70
|
+
*/
|
|
71
|
+
fillOutlineColorTransition?: Transition;
|
|
72
|
+
/**
|
|
73
|
+
* The geometry's offset. Values are [x, y] where negatives indicate left and
|
|
74
|
+
* up, respectively.
|
|
75
|
+
*/
|
|
76
|
+
fillTranslate?: Value<Translation, ["zoom"]>;
|
|
77
|
+
/**
|
|
78
|
+
* The transition affecting any changes to this layer's fillTranslate property.
|
|
79
|
+
*/
|
|
80
|
+
fillTranslateTransition?: Transition;
|
|
81
|
+
/**
|
|
82
|
+
* Controls the frame of reference for `fillTranslate`.
|
|
83
|
+
*
|
|
84
|
+
* @requires fillTranslate
|
|
85
|
+
*/
|
|
86
|
+
fillTranslateAnchor?: Value<"map" | "viewport", ["zoom"]>;
|
|
87
|
+
/**
|
|
88
|
+
* Name of image in sprite to use for drawing image fills. For seamless
|
|
89
|
+
* patterns, image width and height must be a factor of two (2, 4, 8, ..., 512).
|
|
90
|
+
* Note that zoomDependent expressions will be evaluated only at integer zoom
|
|
91
|
+
* levels.
|
|
92
|
+
*/
|
|
93
|
+
fillPattern?: Value<ResolvedImageType, ["zoom", "feature"]>;
|
|
94
|
+
/**
|
|
95
|
+
* The transition affecting any changes to this layer's fillPattern property.
|
|
96
|
+
*/
|
|
97
|
+
fillPatternTransition?: Transition;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* @deprecated
|
|
101
|
+
*/
|
|
102
|
+
export interface LineLayerStyle {
|
|
103
|
+
/**
|
|
104
|
+
* The display of line endings.
|
|
105
|
+
*/
|
|
106
|
+
lineCap?: Value<"butt" | "round" | "square", ["zoom"]>;
|
|
107
|
+
/**
|
|
108
|
+
* The display of lines when joining.
|
|
109
|
+
*/
|
|
110
|
+
lineJoin?: Value<"bevel" | "round" | "miter", ["zoom", "feature"]>;
|
|
111
|
+
/**
|
|
112
|
+
* Used to automatically convert miter joins to bevel joins for sharp angles.
|
|
113
|
+
*/
|
|
114
|
+
lineMiterLimit?: Value<number, ["zoom"]>;
|
|
115
|
+
/**
|
|
116
|
+
* Used to automatically convert round joins to miter joins for shallow angles.
|
|
117
|
+
*/
|
|
118
|
+
lineRoundLimit?: Value<number, ["zoom"]>;
|
|
119
|
+
/**
|
|
120
|
+
* Sorts features in ascending order based on this value. Features with a higher
|
|
121
|
+
* sort key will appear above features with a lower sort key.
|
|
122
|
+
*/
|
|
123
|
+
lineSortKey?: Value<number, ["zoom", "feature"]>;
|
|
124
|
+
/**
|
|
125
|
+
* Whether this layer is displayed.
|
|
126
|
+
*/
|
|
127
|
+
visibility?: "visible" | "none";
|
|
128
|
+
/**
|
|
129
|
+
* The opacity at which the line will be drawn.
|
|
130
|
+
*/
|
|
131
|
+
lineOpacity?: Value<number, ["zoom", "feature", "feature-state"]>;
|
|
132
|
+
/**
|
|
133
|
+
* The transition affecting any changes to this layer's lineOpacity property.
|
|
134
|
+
*/
|
|
135
|
+
lineOpacityTransition?: Transition;
|
|
136
|
+
/**
|
|
137
|
+
* The color with which the line will be drawn.
|
|
138
|
+
*
|
|
139
|
+
* @disabledBy linePattern
|
|
140
|
+
*/
|
|
141
|
+
lineColor?: Value<string, ["zoom", "feature", "feature-state"]>;
|
|
142
|
+
/**
|
|
143
|
+
* The transition affecting any changes to this layer's lineColor property.
|
|
144
|
+
*/
|
|
145
|
+
lineColorTransition?: Transition;
|
|
146
|
+
/**
|
|
147
|
+
* The geometry's offset. Values are [x, y] where negatives indicate left and
|
|
148
|
+
* up, respectively.
|
|
149
|
+
*/
|
|
150
|
+
lineTranslate?: Value<Translation, ["zoom"]>;
|
|
151
|
+
/**
|
|
152
|
+
* The transition affecting any changes to this layer's lineTranslate property.
|
|
153
|
+
*/
|
|
154
|
+
lineTranslateTransition?: Transition;
|
|
155
|
+
/**
|
|
156
|
+
* Controls the frame of reference for `lineTranslate`.
|
|
157
|
+
*
|
|
158
|
+
* @requires lineTranslate
|
|
159
|
+
*/
|
|
160
|
+
lineTranslateAnchor?: Value<"map" | "viewport", ["zoom"]>;
|
|
161
|
+
/**
|
|
162
|
+
* Stroke thickness.
|
|
163
|
+
*/
|
|
164
|
+
lineWidth?: Value<number, ["zoom", "feature", "feature-state"]>;
|
|
165
|
+
/**
|
|
166
|
+
* The transition affecting any changes to this layer's lineWidth property.
|
|
167
|
+
*/
|
|
168
|
+
lineWidthTransition?: Transition;
|
|
169
|
+
/**
|
|
170
|
+
* Draws a line casing outside of a line's actual path. Value indicates the
|
|
171
|
+
* width of the inner gap.
|
|
172
|
+
*/
|
|
173
|
+
lineGapWidth?: Value<number, ["zoom", "feature", "feature-state"]>;
|
|
174
|
+
/**
|
|
175
|
+
* The transition affecting any changes to this layer's lineGapWidth property.
|
|
176
|
+
*/
|
|
177
|
+
lineGapWidthTransition?: Transition;
|
|
178
|
+
/**
|
|
179
|
+
* The line's offset. For linear features, a positive value offsets the line to
|
|
180
|
+
* the right, relative to the direction of the line, and a negative value to the
|
|
181
|
+
* left. For polygon features, a positive value results in an inset, and a
|
|
182
|
+
* negative value results in an outset.
|
|
183
|
+
*/
|
|
184
|
+
lineOffset?: Value<number, ["zoom", "feature", "feature-state"]>;
|
|
185
|
+
/**
|
|
186
|
+
* The transition affecting any changes to this layer's lineOffset property.
|
|
187
|
+
*/
|
|
188
|
+
lineOffsetTransition?: Transition;
|
|
189
|
+
/**
|
|
190
|
+
* Blur applied to the line, in pixels.
|
|
191
|
+
*/
|
|
192
|
+
lineBlur?: Value<number, ["zoom", "feature", "feature-state"]>;
|
|
193
|
+
/**
|
|
194
|
+
* The transition affecting any changes to this layer's lineBlur property.
|
|
195
|
+
*/
|
|
196
|
+
lineBlurTransition?: Transition;
|
|
197
|
+
/**
|
|
198
|
+
* Specifies the lengths of the alternating dashes and gaps that form the dash
|
|
199
|
+
* pattern. The lengths are later scaled by the line width. To convert a dash
|
|
200
|
+
* length to pixels, multiply the length by the current line width. Note that
|
|
201
|
+
* GeoJSON sources with `lineMetrics: true` specified won't render dashed lines
|
|
202
|
+
* to the expected scale. Also note that zoomDependent expressions will be
|
|
203
|
+
* evaluated only at integer zoom levels.
|
|
204
|
+
*
|
|
205
|
+
* @disabledBy linePattern
|
|
206
|
+
*/
|
|
207
|
+
lineDasharray?: Value<number[], ["zoom"]>;
|
|
208
|
+
/**
|
|
209
|
+
* The transition affecting any changes to this layer's lineDasharray property.
|
|
210
|
+
*/
|
|
211
|
+
lineDasharrayTransition?: Transition;
|
|
212
|
+
/**
|
|
213
|
+
* Name of image in sprite to use for drawing image lines. For seamless
|
|
214
|
+
* patterns, image width must be a factor of two (2, 4, 8, ..., 512). Note that
|
|
215
|
+
* zoomDependent expressions will be evaluated only at integer zoom levels.
|
|
216
|
+
*/
|
|
217
|
+
linePattern?: Value<ResolvedImageType, ["zoom", "feature"]>;
|
|
218
|
+
/**
|
|
219
|
+
* The transition affecting any changes to this layer's linePattern property.
|
|
220
|
+
*/
|
|
221
|
+
linePatternTransition?: Transition;
|
|
222
|
+
/**
|
|
223
|
+
* Defines a gradient with which to color a line feature. Can only be used with
|
|
224
|
+
* GeoJSON sources that specify `"lineMetrics": true` .
|
|
225
|
+
*
|
|
226
|
+
* @disabledBy lineDasharray, linePattern
|
|
227
|
+
*/
|
|
228
|
+
lineGradient?: Value<string, ["line-progress"]>;
|
|
229
|
+
}
|
|
230
|
+
/**
|
|
231
|
+
* @deprecated
|
|
232
|
+
*/
|
|
233
|
+
export interface SymbolLayerStyle {
|
|
234
|
+
/**
|
|
235
|
+
* Label placement relative to its geometry.
|
|
236
|
+
*/
|
|
237
|
+
symbolPlacement?: Value<"point" | "line" | "line-center", ["zoom"]>;
|
|
238
|
+
/**
|
|
239
|
+
* Distance between two symbol anchors.
|
|
240
|
+
*/
|
|
241
|
+
symbolSpacing?: Value<number, ["zoom"]>;
|
|
242
|
+
/**
|
|
243
|
+
* If true, the symbols will not cross tile edges to avoid mutual collisions.
|
|
244
|
+
* Recommended in layers that don't have enough padding in the vector tile to
|
|
245
|
+
* prevent collisions, or if it is a point symbol layer placed after a line
|
|
246
|
+
* symbol layer. When using a client that supports global collision detection,
|
|
247
|
+
* like MapVina GL JS version 0.42.0 or greater, enabling this property is not
|
|
248
|
+
* needed to prevent clipped labels at tile boundaries.
|
|
249
|
+
*/
|
|
250
|
+
symbolAvoidEdges?: Value<boolean, ["zoom"]>;
|
|
251
|
+
/**
|
|
252
|
+
* Sorts features in ascending order based on this value. Features with lower
|
|
253
|
+
* sort keys are drawn and placed first. When `iconAllowOverlap` or
|
|
254
|
+
* `textAllowOverlap` is `false` , features with a lower sort key will have
|
|
255
|
+
* priority during placement. When `iconAllowOverlap` or `textAllowOverlap` is
|
|
256
|
+
* set to `true` , features with a higher sort key will overlap over features
|
|
257
|
+
* with a lower sort key.
|
|
258
|
+
*/
|
|
259
|
+
symbolSortKey?: Value<number, ["zoom", "feature"]>;
|
|
260
|
+
/**
|
|
261
|
+
* Determines whether overlapping symbols in the same layer are rendered in the
|
|
262
|
+
* order that they appear in the data source or by their yPosition relative to
|
|
263
|
+
* the viewport. To control the order and prioritization of symbols otherwise,
|
|
264
|
+
* use `symbolSortKey` .
|
|
265
|
+
*/
|
|
266
|
+
symbolZOrder?: Value<"auto" | "viewport-y" | "source", ["zoom"]>;
|
|
267
|
+
/**
|
|
268
|
+
* If true, the icon will be visible even if it collides with other previously
|
|
269
|
+
* drawn symbols.
|
|
270
|
+
*
|
|
271
|
+
* @requires iconImage
|
|
272
|
+
*
|
|
273
|
+
* @disabledBy iconOverlap
|
|
274
|
+
*/
|
|
275
|
+
iconAllowOverlap?: Value<boolean, ["zoom"]>;
|
|
276
|
+
/**
|
|
277
|
+
* Allows for control over whether to show an icon when it overlaps other
|
|
278
|
+
* symbols on the map. If `iconOverlap` is not set, `iconAllowOverlap` is used
|
|
279
|
+
* instead.
|
|
280
|
+
*
|
|
281
|
+
* @requires iconImage
|
|
282
|
+
*/
|
|
283
|
+
iconOverlap?: Value<"never" | "always" | "cooperative", ["zoom"]>;
|
|
284
|
+
/**
|
|
285
|
+
* If true, other symbols can be visible even if they collide with the icon.
|
|
286
|
+
*
|
|
287
|
+
* @requires iconImage
|
|
288
|
+
*/
|
|
289
|
+
iconIgnorePlacement?: Value<boolean, ["zoom"]>;
|
|
290
|
+
/**
|
|
291
|
+
* If true, text will display without their corresponding icons when the icon
|
|
292
|
+
* collides with other symbols and the text does not.
|
|
293
|
+
*
|
|
294
|
+
* @requires iconImage, textField
|
|
295
|
+
*/
|
|
296
|
+
iconOptional?: Value<boolean, ["zoom"]>;
|
|
297
|
+
/**
|
|
298
|
+
* In combination with `symbolPlacement` , determines the rotation behavior of
|
|
299
|
+
* icons.
|
|
300
|
+
*
|
|
301
|
+
* @requires iconImage
|
|
302
|
+
*/
|
|
303
|
+
iconRotationAlignment?: Value<"map" | "viewport" | "auto", ["zoom"]>;
|
|
304
|
+
/**
|
|
305
|
+
* Scales the original size of the icon by the provided factor. The new pixel
|
|
306
|
+
* size of the image will be the original pixel size multiplied by `iconSize` .
|
|
307
|
+
* 1 is the original size; 3 triples the size of the image.
|
|
308
|
+
*
|
|
309
|
+
* @requires iconImage
|
|
310
|
+
*/
|
|
311
|
+
iconSize?: Value<number, ["zoom", "feature"]>;
|
|
312
|
+
/**
|
|
313
|
+
* Scales the icon to fit around the associated text.
|
|
314
|
+
*
|
|
315
|
+
* @requires iconImage, textField
|
|
316
|
+
*/
|
|
317
|
+
iconTextFit?: Value<"none" | "width" | "height" | "both", ["zoom"]>;
|
|
318
|
+
/**
|
|
319
|
+
* Size of the additional area added to dimensions determined by `iconTextFit` ,
|
|
320
|
+
* in clockwise order: top, right, bottom, left.
|
|
321
|
+
*
|
|
322
|
+
* @requires iconImage, textField
|
|
323
|
+
*/
|
|
324
|
+
iconTextFitPadding?: Value<number[], ["zoom"]>;
|
|
325
|
+
/**
|
|
326
|
+
* Name of image in sprite to use for drawing an image background.
|
|
327
|
+
*/
|
|
328
|
+
iconImage?: Value<ResolvedImageType, ["zoom", "feature"]>;
|
|
329
|
+
/**
|
|
330
|
+
* Rotates the icon clockwise.
|
|
331
|
+
*
|
|
332
|
+
* @requires iconImage
|
|
333
|
+
*/
|
|
334
|
+
iconRotate?: Value<number, ["zoom", "feature"]>;
|
|
335
|
+
/**
|
|
336
|
+
* Size of additional area round the icon bounding box used for detecting symbol
|
|
337
|
+
* collisions.
|
|
338
|
+
*
|
|
339
|
+
* @requires iconImage
|
|
340
|
+
*/
|
|
341
|
+
iconPadding?: Value<number[], ["zoom", "feature"]>;
|
|
342
|
+
/**
|
|
343
|
+
* If true, the icon may be flipped to prevent it from being rendered
|
|
344
|
+
* upsideDown.
|
|
345
|
+
*
|
|
346
|
+
* @requires iconImage
|
|
347
|
+
*/
|
|
348
|
+
iconKeepUpright?: Value<boolean, ["zoom"]>;
|
|
349
|
+
/**
|
|
350
|
+
* Offset distance of icon from its anchor. Positive values indicate right and
|
|
351
|
+
* down, while negative values indicate left and up. Each component is
|
|
352
|
+
* multiplied by the value of `iconSize` to obtain the final offset in pixels.
|
|
353
|
+
* When combined with `iconRotate` the offset will be as if the rotated
|
|
354
|
+
* direction was up.
|
|
355
|
+
*
|
|
356
|
+
* @requires iconImage
|
|
357
|
+
*/
|
|
358
|
+
iconOffset?: Value<number[], ["zoom", "feature"]>;
|
|
359
|
+
/**
|
|
360
|
+
* Part of the icon placed closest to the anchor.
|
|
361
|
+
*
|
|
362
|
+
* @requires iconImage
|
|
363
|
+
*/
|
|
364
|
+
iconAnchor?: Value<"center" | "left" | "right" | "top" | "bottom" | "top-left" | "top-right" | "bottom-left" | "bottom-right", [
|
|
365
|
+
"zoom",
|
|
366
|
+
"feature"
|
|
367
|
+
]>;
|
|
368
|
+
/**
|
|
369
|
+
* Orientation of icon when map is pitched.
|
|
370
|
+
*
|
|
371
|
+
* @requires iconImage
|
|
372
|
+
*/
|
|
373
|
+
iconPitchAlignment?: Value<"map" | "viewport" | "auto", ["zoom"]>;
|
|
374
|
+
/**
|
|
375
|
+
* Orientation of text when map is pitched.
|
|
376
|
+
*
|
|
377
|
+
* @requires textField
|
|
378
|
+
*/
|
|
379
|
+
textPitchAlignment?: Value<"map" | "viewport" | "auto", ["zoom"]>;
|
|
380
|
+
/**
|
|
381
|
+
* In combination with `symbolPlacement` , determines the rotation behavior of
|
|
382
|
+
* the individual glyphs forming the text.
|
|
383
|
+
*
|
|
384
|
+
* @requires textField
|
|
385
|
+
*/
|
|
386
|
+
textRotationAlignment?: Value<"map" | "viewport" | "viewport-glyph" | "auto", [
|
|
387
|
+
"zoom"
|
|
388
|
+
]>;
|
|
389
|
+
/**
|
|
390
|
+
* Value to use for a text label. If a plain `string` is provided, it will be
|
|
391
|
+
* treated as a `formatted` with default/inherited formatting options.
|
|
392
|
+
*/
|
|
393
|
+
textField?: Value<FormattedString, ["zoom", "feature"]>;
|
|
394
|
+
/**
|
|
395
|
+
* Fonts to use for displaying text. If the `glyphs` root property is specified,
|
|
396
|
+
* this array is joined together and interpreted as a font stack name.
|
|
397
|
+
* Otherwise, it is interpreted as a cascading fallback list of local font
|
|
398
|
+
* names.
|
|
399
|
+
*
|
|
400
|
+
* @requires textField
|
|
401
|
+
*/
|
|
402
|
+
textFont?: Value<string[], ["zoom", "feature"]>;
|
|
403
|
+
/**
|
|
404
|
+
* Font size.
|
|
405
|
+
*
|
|
406
|
+
* @requires textField
|
|
407
|
+
*/
|
|
408
|
+
textSize?: Value<number, ["zoom", "feature"]>;
|
|
409
|
+
/**
|
|
410
|
+
* The maximum line width for text wrapping.
|
|
411
|
+
*
|
|
412
|
+
* @requires textField
|
|
413
|
+
*/
|
|
414
|
+
textMaxWidth?: Value<number, ["zoom", "feature"]>;
|
|
415
|
+
/**
|
|
416
|
+
* Text leading value for multiLine text.
|
|
417
|
+
*
|
|
418
|
+
* @requires textField
|
|
419
|
+
*/
|
|
420
|
+
textLineHeight?: Value<number, ["zoom"]>;
|
|
421
|
+
/**
|
|
422
|
+
* Text tracking amount.
|
|
423
|
+
*
|
|
424
|
+
* @requires textField
|
|
425
|
+
*/
|
|
426
|
+
textLetterSpacing?: Value<number, ["zoom", "feature"]>;
|
|
427
|
+
/**
|
|
428
|
+
* Text justification options.
|
|
429
|
+
*
|
|
430
|
+
* @requires textField
|
|
431
|
+
*/
|
|
432
|
+
textJustify?: Value<"auto" | "left" | "center" | "right", [
|
|
433
|
+
"zoom",
|
|
434
|
+
"feature"
|
|
435
|
+
]>;
|
|
436
|
+
/**
|
|
437
|
+
* Radial offset of text, in the direction of the symbol's anchor. Useful in
|
|
438
|
+
* combination with `textVariableAnchor` , which defaults to using the
|
|
439
|
+
* twoDimensional `textOffset` if present.
|
|
440
|
+
*
|
|
441
|
+
* @requires textField
|
|
442
|
+
*/
|
|
443
|
+
textRadialOffset?: Value<number, ["zoom", "feature"]>;
|
|
444
|
+
/**
|
|
445
|
+
* To increase the chance of placing highPriority labels on the map, you can
|
|
446
|
+
* provide an array of `textAnchor` locations: the renderer will attempt to
|
|
447
|
+
* place the label at each location, in order, before moving onto the next
|
|
448
|
+
* label. Use `textJustify: auto` to choose justification based on anchor
|
|
449
|
+
* position. To apply an offset, use the `textRadialOffset` or the
|
|
450
|
+
* twoDimensional `textOffset` .
|
|
451
|
+
*
|
|
452
|
+
* @requires textField
|
|
453
|
+
*/
|
|
454
|
+
textVariableAnchor?: Value<("center" | "left" | "right" | "top" | "bottom" | "top-left" | "top-right" | "bottom-left" | "bottom-right")[], [
|
|
455
|
+
"zoom"
|
|
456
|
+
]>;
|
|
457
|
+
/**
|
|
458
|
+
* Part of the text placed closest to the anchor.
|
|
459
|
+
*
|
|
460
|
+
* @requires textField
|
|
461
|
+
*
|
|
462
|
+
* @disabledBy textVariableAnchor
|
|
463
|
+
*/
|
|
464
|
+
textAnchor?: Value<"center" | "left" | "right" | "top" | "bottom" | "top-left" | "top-right" | "bottom-left" | "bottom-right", [
|
|
465
|
+
"zoom",
|
|
466
|
+
"feature"
|
|
467
|
+
]>;
|
|
468
|
+
/**
|
|
469
|
+
* Maximum angle change between adjacent characters.
|
|
470
|
+
*
|
|
471
|
+
* @requires textField
|
|
472
|
+
*/
|
|
473
|
+
textMaxAngle?: Value<number, ["zoom"]>;
|
|
474
|
+
/**
|
|
475
|
+
* The property allows control over a symbol's orientation. Note that the
|
|
476
|
+
* property values act as a hint, so that a symbol whose language doesn’t
|
|
477
|
+
* support the provided orientation will be laid out in its natural orientation.
|
|
478
|
+
* Example: English point symbol will be rendered horizontally even if array
|
|
479
|
+
* value contains single 'vertical' enum value. The order of elements in an
|
|
480
|
+
* array define priority order for the placement of an orientation variant.
|
|
481
|
+
*
|
|
482
|
+
* @requires textField
|
|
483
|
+
*/
|
|
484
|
+
textWritingMode?: Value<("horizontal" | "vertical")[], ["zoom"]>;
|
|
485
|
+
/**
|
|
486
|
+
* Rotates the text clockwise.
|
|
487
|
+
*
|
|
488
|
+
* @requires textField
|
|
489
|
+
*/
|
|
490
|
+
textRotate?: Value<number, ["zoom", "feature"]>;
|
|
491
|
+
/**
|
|
492
|
+
* Size of the additional area around the text bounding box used for detecting
|
|
493
|
+
* symbol collisions.
|
|
494
|
+
*
|
|
495
|
+
* @requires textField
|
|
496
|
+
*/
|
|
497
|
+
textPadding?: Value<number, ["zoom"]>;
|
|
498
|
+
/**
|
|
499
|
+
* If true, the text may be flipped vertically to prevent it from being rendered
|
|
500
|
+
* upsideDown.
|
|
501
|
+
*
|
|
502
|
+
* @requires textField
|
|
503
|
+
*/
|
|
504
|
+
textKeepUpright?: Value<boolean, ["zoom"]>;
|
|
505
|
+
/**
|
|
506
|
+
* Specifies how to capitalize text, similar to the CSS `textTransform`
|
|
507
|
+
* property.
|
|
508
|
+
*
|
|
509
|
+
* @requires textField
|
|
510
|
+
*/
|
|
511
|
+
textTransform?: Value<"none" | "uppercase" | "lowercase", [
|
|
512
|
+
"zoom",
|
|
513
|
+
"feature"
|
|
514
|
+
]>;
|
|
515
|
+
/**
|
|
516
|
+
* Offset distance of text from its anchor. Positive values indicate right and
|
|
517
|
+
* down, while negative values indicate left and up. If used with
|
|
518
|
+
* textVariableAnchor, input values will be taken as absolute values. Offsets
|
|
519
|
+
* along the x and yAxis will be applied automatically based on the anchor
|
|
520
|
+
* position.
|
|
521
|
+
*
|
|
522
|
+
* @requires textField
|
|
523
|
+
*
|
|
524
|
+
* @disabledBy textRadialOffset
|
|
525
|
+
*/
|
|
526
|
+
textOffset?: Value<number[], ["zoom", "feature"]>;
|
|
527
|
+
/**
|
|
528
|
+
* If true, the text will be visible even if it collides with other previously
|
|
529
|
+
* drawn symbols.
|
|
530
|
+
*
|
|
531
|
+
* @requires textField
|
|
532
|
+
*
|
|
533
|
+
* @disabledBy textOverlap
|
|
534
|
+
*/
|
|
535
|
+
textAllowOverlap?: Value<boolean, ["zoom"]>;
|
|
536
|
+
/**
|
|
537
|
+
* Allows for control over whether to show symbol text when it overlaps other
|
|
538
|
+
* symbols on the map. If `textOverlap` is not set, `textAllowOverlap` is used
|
|
539
|
+
* instead
|
|
540
|
+
*
|
|
541
|
+
* @requires textField
|
|
542
|
+
*/
|
|
543
|
+
textOverlap?: Value<"never" | "always" | "cooperative", ["zoom"]>;
|
|
544
|
+
/**
|
|
545
|
+
* If true, other symbols can be visible even if they collide with the text.
|
|
546
|
+
*
|
|
547
|
+
* @requires textField
|
|
548
|
+
*/
|
|
549
|
+
textIgnorePlacement?: Value<boolean, ["zoom"]>;
|
|
550
|
+
/**
|
|
551
|
+
* If true, icons will display without their corresponding text when the text
|
|
552
|
+
* collides with other symbols and the icon does not.
|
|
553
|
+
*
|
|
554
|
+
* @requires textField, iconImage
|
|
555
|
+
*/
|
|
556
|
+
textOptional?: Value<boolean, ["zoom"]>;
|
|
557
|
+
/**
|
|
558
|
+
* Whether this layer is displayed.
|
|
559
|
+
*/
|
|
560
|
+
visibility?: "visible" | "none";
|
|
561
|
+
/**
|
|
562
|
+
* The opacity at which the icon will be drawn.
|
|
563
|
+
*
|
|
564
|
+
* @requires iconImage
|
|
565
|
+
*/
|
|
566
|
+
iconOpacity?: Value<number, ["zoom", "feature", "feature-state"]>;
|
|
567
|
+
/**
|
|
568
|
+
* The transition affecting any changes to this layer's iconOpacity property.
|
|
569
|
+
*/
|
|
570
|
+
iconOpacityTransition?: Transition;
|
|
571
|
+
/**
|
|
572
|
+
* The color of the icon. This can only be used with SDF icons.
|
|
573
|
+
*
|
|
574
|
+
* @requires iconImage
|
|
575
|
+
*/
|
|
576
|
+
iconColor?: Value<string, ["zoom", "feature", "feature-state"]>;
|
|
577
|
+
/**
|
|
578
|
+
* The transition affecting any changes to this layer's iconColor property.
|
|
579
|
+
*/
|
|
580
|
+
iconColorTransition?: Transition;
|
|
581
|
+
/**
|
|
582
|
+
* The color of the icon's halo. Icon halos can only be used with SDF icons.
|
|
583
|
+
*
|
|
584
|
+
* @requires iconImage
|
|
585
|
+
*/
|
|
586
|
+
iconHaloColor?: Value<string, ["zoom", "feature", "feature-state"]>;
|
|
587
|
+
/**
|
|
588
|
+
* The transition affecting any changes to this layer's iconHaloColor property.
|
|
589
|
+
*/
|
|
590
|
+
iconHaloColorTransition?: Transition;
|
|
591
|
+
/**
|
|
592
|
+
* Distance of halo to the icon outline.
|
|
593
|
+
*
|
|
594
|
+
* The unit is in pixels only for SDF sprites that were created with a blur
|
|
595
|
+
* radius of 8, multiplied by the display density. I.e., the radius needs to be
|
|
596
|
+
* 16 for `@2x` sprites, etc.
|
|
597
|
+
*
|
|
598
|
+
* @requires iconImage
|
|
599
|
+
*/
|
|
600
|
+
iconHaloWidth?: Value<number, ["zoom", "feature", "feature-state"]>;
|
|
601
|
+
/**
|
|
602
|
+
* The transition affecting any changes to this layer's iconHaloWidth property.
|
|
603
|
+
*/
|
|
604
|
+
iconHaloWidthTransition?: Transition;
|
|
605
|
+
/**
|
|
606
|
+
* Fade out the halo towards the outside.
|
|
607
|
+
*
|
|
608
|
+
* @requires iconImage
|
|
609
|
+
*/
|
|
610
|
+
iconHaloBlur?: Value<number, ["zoom", "feature", "feature-state"]>;
|
|
611
|
+
/**
|
|
612
|
+
* The transition affecting any changes to this layer's iconHaloBlur property.
|
|
613
|
+
*/
|
|
614
|
+
iconHaloBlurTransition?: Transition;
|
|
615
|
+
/**
|
|
616
|
+
* Distance that the icon's anchor is moved from its original placement.
|
|
617
|
+
* Positive values indicate right and down, while negative values indicate left
|
|
618
|
+
* and up.
|
|
619
|
+
*
|
|
620
|
+
* @requires iconImage
|
|
621
|
+
*/
|
|
622
|
+
iconTranslate?: Value<Translation, ["zoom"]>;
|
|
623
|
+
/**
|
|
624
|
+
* The transition affecting any changes to this layer's iconTranslate property.
|
|
625
|
+
*/
|
|
626
|
+
iconTranslateTransition?: Transition;
|
|
627
|
+
/**
|
|
628
|
+
* Controls the frame of reference for `iconTranslate`.
|
|
629
|
+
*
|
|
630
|
+
* @requires iconImage, iconTranslate
|
|
631
|
+
*/
|
|
632
|
+
iconTranslateAnchor?: Value<"map" | "viewport", ["zoom"]>;
|
|
633
|
+
/**
|
|
634
|
+
* The opacity at which the text will be drawn.
|
|
635
|
+
*
|
|
636
|
+
* @requires textField
|
|
637
|
+
*/
|
|
638
|
+
textOpacity?: Value<number, ["zoom", "feature", "feature-state"]>;
|
|
639
|
+
/**
|
|
640
|
+
* The transition affecting any changes to this layer's textOpacity property.
|
|
641
|
+
*/
|
|
642
|
+
textOpacityTransition?: Transition;
|
|
643
|
+
/**
|
|
644
|
+
* The color with which the text will be drawn.
|
|
645
|
+
*
|
|
646
|
+
* @requires textField
|
|
647
|
+
*/
|
|
648
|
+
textColor?: Value<string, ["zoom", "feature", "feature-state"]>;
|
|
649
|
+
/**
|
|
650
|
+
* The transition affecting any changes to this layer's textColor property.
|
|
651
|
+
*/
|
|
652
|
+
textColorTransition?: Transition;
|
|
653
|
+
/**
|
|
654
|
+
* The color of the text's halo, which helps it stand out from backgrounds.
|
|
655
|
+
*
|
|
656
|
+
* @requires textField
|
|
657
|
+
*/
|
|
658
|
+
textHaloColor?: Value<string, ["zoom", "feature", "feature-state"]>;
|
|
659
|
+
/**
|
|
660
|
+
* The transition affecting any changes to this layer's textHaloColor property.
|
|
661
|
+
*/
|
|
662
|
+
textHaloColorTransition?: Transition;
|
|
663
|
+
/**
|
|
664
|
+
* Distance of halo to the font outline. Max text halo width is 1/4 of the
|
|
665
|
+
* fontSize.
|
|
666
|
+
*
|
|
667
|
+
* @requires textField
|
|
668
|
+
*/
|
|
669
|
+
textHaloWidth?: Value<number, ["zoom", "feature", "feature-state"]>;
|
|
670
|
+
/**
|
|
671
|
+
* The transition affecting any changes to this layer's textHaloWidth property.
|
|
672
|
+
*/
|
|
673
|
+
textHaloWidthTransition?: Transition;
|
|
674
|
+
/**
|
|
675
|
+
* The halo's fadeout distance towards the outside.
|
|
676
|
+
*
|
|
677
|
+
* @requires textField
|
|
678
|
+
*/
|
|
679
|
+
textHaloBlur?: Value<number, ["zoom", "feature", "feature-state"]>;
|
|
680
|
+
/**
|
|
681
|
+
* The transition affecting any changes to this layer's textHaloBlur property.
|
|
682
|
+
*/
|
|
683
|
+
textHaloBlurTransition?: Transition;
|
|
684
|
+
/**
|
|
685
|
+
* Distance that the text's anchor is moved from its original placement.
|
|
686
|
+
* Positive values indicate right and down, while negative values indicate left
|
|
687
|
+
* and up.
|
|
688
|
+
*
|
|
689
|
+
* @requires textField
|
|
690
|
+
*/
|
|
691
|
+
textTranslate?: Value<Translation, ["zoom"]>;
|
|
692
|
+
/**
|
|
693
|
+
* The transition affecting any changes to this layer's textTranslate property.
|
|
694
|
+
*/
|
|
695
|
+
textTranslateTransition?: Transition;
|
|
696
|
+
/**
|
|
697
|
+
* Controls the frame of reference for `textTranslate`.
|
|
698
|
+
*
|
|
699
|
+
* @requires textField, textTranslate
|
|
700
|
+
*/
|
|
701
|
+
textTranslateAnchor?: Value<"map" | "viewport", ["zoom"]>;
|
|
702
|
+
}
|
|
703
|
+
/**
|
|
704
|
+
* @deprecated
|
|
705
|
+
*/
|
|
706
|
+
export interface CircleLayerStyle {
|
|
707
|
+
/**
|
|
708
|
+
* Sorts features in ascending order based on this value. Features with a higher
|
|
709
|
+
* sort key will appear above features with a lower sort key.
|
|
710
|
+
*/
|
|
711
|
+
circleSortKey?: Value<number, ["zoom", "feature"]>;
|
|
712
|
+
/**
|
|
713
|
+
* Whether this layer is displayed.
|
|
714
|
+
*/
|
|
715
|
+
visibility?: "visible" | "none";
|
|
716
|
+
/**
|
|
717
|
+
* Circle radius.
|
|
718
|
+
*/
|
|
719
|
+
circleRadius?: Value<number, ["zoom", "feature", "feature-state"]>;
|
|
720
|
+
/**
|
|
721
|
+
* The transition affecting any changes to this layer's circleRadius property.
|
|
722
|
+
*/
|
|
723
|
+
circleRadiusTransition?: Transition;
|
|
724
|
+
/**
|
|
725
|
+
* The fill color of the circle.
|
|
726
|
+
*/
|
|
727
|
+
circleColor?: Value<string, ["zoom", "feature", "feature-state"]>;
|
|
728
|
+
/**
|
|
729
|
+
* The transition affecting any changes to this layer's circleColor property.
|
|
730
|
+
*/
|
|
731
|
+
circleColorTransition?: Transition;
|
|
732
|
+
/**
|
|
733
|
+
* Amount to blur the circle. 1 blurs the circle such that only the centerpoint
|
|
734
|
+
* is full opacity.
|
|
735
|
+
*/
|
|
736
|
+
circleBlur?: Value<number, ["zoom", "feature", "feature-state"]>;
|
|
737
|
+
/**
|
|
738
|
+
* The transition affecting any changes to this layer's circleBlur property.
|
|
739
|
+
*/
|
|
740
|
+
circleBlurTransition?: Transition;
|
|
741
|
+
/**
|
|
742
|
+
* The opacity at which the circle will be drawn.
|
|
743
|
+
*/
|
|
744
|
+
circleOpacity?: Value<number, ["zoom", "feature", "feature-state"]>;
|
|
745
|
+
/**
|
|
746
|
+
* The transition affecting any changes to this layer's circleOpacity property.
|
|
747
|
+
*/
|
|
748
|
+
circleOpacityTransition?: Transition;
|
|
749
|
+
/**
|
|
750
|
+
* The geometry's offset. Values are [x, y] where negatives indicate left and
|
|
751
|
+
* up, respectively.
|
|
752
|
+
*/
|
|
753
|
+
circleTranslate?: Value<Translation, ["zoom"]>;
|
|
754
|
+
/**
|
|
755
|
+
* The transition affecting any changes to this layer's circleTranslate
|
|
756
|
+
* property.
|
|
757
|
+
*/
|
|
758
|
+
circleTranslateTransition?: Transition;
|
|
759
|
+
/**
|
|
760
|
+
* Controls the frame of reference for `circleTranslate`.
|
|
761
|
+
*
|
|
762
|
+
* @requires circleTranslate
|
|
763
|
+
*/
|
|
764
|
+
circleTranslateAnchor?: Value<"map" | "viewport", ["zoom"]>;
|
|
765
|
+
/**
|
|
766
|
+
* Controls the scaling behavior of the circle when the map is pitched.
|
|
767
|
+
*/
|
|
768
|
+
circlePitchScale?: Value<"map" | "viewport", ["zoom"]>;
|
|
769
|
+
/**
|
|
770
|
+
* Orientation of circle when map is pitched.
|
|
771
|
+
*/
|
|
772
|
+
circlePitchAlignment?: Value<"map" | "viewport", ["zoom"]>;
|
|
773
|
+
/**
|
|
774
|
+
* The width of the circle's stroke. Strokes are placed outside of the
|
|
775
|
+
* `circleRadius` .
|
|
776
|
+
*/
|
|
777
|
+
circleStrokeWidth?: Value<number, ["zoom", "feature", "feature-state"]>;
|
|
778
|
+
/**
|
|
779
|
+
* The transition affecting any changes to this layer's circleStrokeWidth
|
|
780
|
+
* property.
|
|
781
|
+
*/
|
|
782
|
+
circleStrokeWidthTransition?: Transition;
|
|
783
|
+
/**
|
|
784
|
+
* The stroke color of the circle.
|
|
785
|
+
*/
|
|
786
|
+
circleStrokeColor?: Value<string, ["zoom", "feature", "feature-state"]>;
|
|
787
|
+
/**
|
|
788
|
+
* The transition affecting any changes to this layer's circleStrokeColor
|
|
789
|
+
* property.
|
|
790
|
+
*/
|
|
791
|
+
circleStrokeColorTransition?: Transition;
|
|
792
|
+
/**
|
|
793
|
+
* The opacity of the circle's stroke.
|
|
794
|
+
*/
|
|
795
|
+
circleStrokeOpacity?: Value<number, ["zoom", "feature", "feature-state"]>;
|
|
796
|
+
/**
|
|
797
|
+
* The transition affecting any changes to this layer's circleStrokeOpacity
|
|
798
|
+
* property.
|
|
799
|
+
*/
|
|
800
|
+
circleStrokeOpacityTransition?: Transition;
|
|
801
|
+
}
|
|
802
|
+
/**
|
|
803
|
+
* @deprecated
|
|
804
|
+
*/
|
|
805
|
+
export interface HeatmapLayerStyle {
|
|
806
|
+
/**
|
|
807
|
+
* Whether this layer is displayed.
|
|
808
|
+
*/
|
|
809
|
+
visibility?: "visible" | "none";
|
|
810
|
+
/**
|
|
811
|
+
* Radius of influence of one heatmap point in pixels. Increasing the value
|
|
812
|
+
* makes the heatmap smoother, but less detailed.
|
|
813
|
+
*/
|
|
814
|
+
heatmapRadius?: Value<number, ["zoom", "feature", "feature-state"]>;
|
|
815
|
+
/**
|
|
816
|
+
* The transition affecting any changes to this layer's heatmapRadius property.
|
|
817
|
+
*/
|
|
818
|
+
heatmapRadiusTransition?: Transition;
|
|
819
|
+
/**
|
|
820
|
+
* A measure of how much an individual point contributes to the heatmap. A value
|
|
821
|
+
* of 10 would be equivalent to having 10 points of weight 1 in the same spot.
|
|
822
|
+
* Especially useful when combined with clustering.
|
|
823
|
+
*/
|
|
824
|
+
heatmapWeight?: Value<number, ["zoom", "feature", "feature-state"]>;
|
|
825
|
+
/**
|
|
826
|
+
* Similar to `heatmapWeight` but controls the intensity of the heatmap
|
|
827
|
+
* globally. Primarily used for adjusting the heatmap based on zoom level.
|
|
828
|
+
*/
|
|
829
|
+
heatmapIntensity?: Value<number, ["zoom"]>;
|
|
830
|
+
/**
|
|
831
|
+
* The transition affecting any changes to this layer's heatmapIntensity
|
|
832
|
+
* property.
|
|
833
|
+
*/
|
|
834
|
+
heatmapIntensityTransition?: Transition;
|
|
835
|
+
/**
|
|
836
|
+
* Defines the color of each pixel based on its density value in a heatmap.
|
|
837
|
+
* Should be an expression that uses `["heatmapDensity"]` as input.
|
|
838
|
+
*/
|
|
839
|
+
heatmapColor?: Value<string, ["heatmap-density"]>;
|
|
840
|
+
/**
|
|
841
|
+
* The global opacity at which the heatmap layer will be drawn.
|
|
842
|
+
*/
|
|
843
|
+
heatmapOpacity?: Value<number, ["zoom"]>;
|
|
844
|
+
/**
|
|
845
|
+
* The transition affecting any changes to this layer's heatmapOpacity property.
|
|
846
|
+
*/
|
|
847
|
+
heatmapOpacityTransition?: Transition;
|
|
848
|
+
}
|
|
849
|
+
/**
|
|
850
|
+
* @deprecated
|
|
851
|
+
*/
|
|
852
|
+
export interface FillExtrusionLayerStyle {
|
|
853
|
+
/**
|
|
854
|
+
* Whether this layer is displayed.
|
|
855
|
+
*/
|
|
856
|
+
visibility?: "visible" | "none";
|
|
857
|
+
/**
|
|
858
|
+
* The opacity of the entire fill extrusion layer. This is rendered on a
|
|
859
|
+
* perLayer, not perFeature, basis, and dataDriven styling is not available.
|
|
860
|
+
*/
|
|
861
|
+
fillExtrusionOpacity?: Value<number, ["zoom"]>;
|
|
862
|
+
/**
|
|
863
|
+
* The transition affecting any changes to this layer's fillExtrusionOpacity
|
|
864
|
+
* property.
|
|
865
|
+
*/
|
|
866
|
+
fillExtrusionOpacityTransition?: Transition;
|
|
867
|
+
/**
|
|
868
|
+
* The base color of the extruded fill. The extrusion's surfaces will be shaded
|
|
869
|
+
* differently based on this color in combination with the root `light`
|
|
870
|
+
* settings. If this color is specified as `rgba` with an alpha component, the
|
|
871
|
+
* alpha component will be ignored; use `fillExtrusionOpacity` to set layer
|
|
872
|
+
* opacity.
|
|
873
|
+
*
|
|
874
|
+
* @disabledBy fillExtrusionPattern
|
|
875
|
+
*/
|
|
876
|
+
fillExtrusionColor?: Value<string, ["zoom", "feature", "feature-state"]>;
|
|
877
|
+
/**
|
|
878
|
+
* The transition affecting any changes to this layer's fillExtrusionColor
|
|
879
|
+
* property.
|
|
880
|
+
*/
|
|
881
|
+
fillExtrusionColorTransition?: Transition;
|
|
882
|
+
/**
|
|
883
|
+
* The geometry's offset. Values are [x, y] where negatives indicate left and up
|
|
884
|
+
* (on the flat plane), respectively.
|
|
885
|
+
*/
|
|
886
|
+
fillExtrusionTranslate?: Value<Translation, ["zoom"]>;
|
|
887
|
+
/**
|
|
888
|
+
* The transition affecting any changes to this layer's fillExtrusionTranslate
|
|
889
|
+
* property.
|
|
890
|
+
*/
|
|
891
|
+
fillExtrusionTranslateTransition?: Transition;
|
|
892
|
+
/**
|
|
893
|
+
* Controls the frame of reference for `fillExtrusionTranslate`.
|
|
894
|
+
*
|
|
895
|
+
* @requires fillExtrusionTranslate
|
|
896
|
+
*/
|
|
897
|
+
fillExtrusionTranslateAnchor?: Value<"map" | "viewport", ["zoom"]>;
|
|
898
|
+
/**
|
|
899
|
+
* Name of image in sprite to use for drawing images on extruded fills. For
|
|
900
|
+
* seamless patterns, image width and height must be a factor of two (2, 4, 8,
|
|
901
|
+
* ..., 512). Note that zoomDependent expressions will be evaluated only at
|
|
902
|
+
* integer zoom levels.
|
|
903
|
+
*/
|
|
904
|
+
fillExtrusionPattern?: Value<ResolvedImageType, ["zoom", "feature"]>;
|
|
905
|
+
/**
|
|
906
|
+
* The transition affecting any changes to this layer's fillExtrusionPattern
|
|
907
|
+
* property.
|
|
908
|
+
*/
|
|
909
|
+
fillExtrusionPatternTransition?: Transition;
|
|
910
|
+
/**
|
|
911
|
+
* The height with which to extrude this layer.
|
|
912
|
+
*/
|
|
913
|
+
fillExtrusionHeight?: Value<number, ["zoom", "feature", "feature-state"]>;
|
|
914
|
+
/**
|
|
915
|
+
* The transition affecting any changes to this layer's fillExtrusionHeight
|
|
916
|
+
* property.
|
|
917
|
+
*/
|
|
918
|
+
fillExtrusionHeightTransition?: Transition;
|
|
919
|
+
/**
|
|
920
|
+
* The height with which to extrude the base of this layer. Must be less than or
|
|
921
|
+
* equal to `fillExtrusionHeight` .
|
|
922
|
+
*
|
|
923
|
+
* @requires fillExtrusionHeight
|
|
924
|
+
*/
|
|
925
|
+
fillExtrusionBase?: Value<number, ["zoom", "feature", "feature-state"]>;
|
|
926
|
+
/**
|
|
927
|
+
* The transition affecting any changes to this layer's fillExtrusionBase
|
|
928
|
+
* property.
|
|
929
|
+
*/
|
|
930
|
+
fillExtrusionBaseTransition?: Transition;
|
|
931
|
+
/**
|
|
932
|
+
* Whether to apply a vertical gradient to the sides of a fillExtrusion layer.
|
|
933
|
+
* If true, sides will be shaded slightly darker farther down.
|
|
934
|
+
*/
|
|
935
|
+
fillExtrusionVerticalGradient?: Value<boolean, ["zoom"]>;
|
|
936
|
+
}
|
|
937
|
+
/**
|
|
938
|
+
* @deprecated
|
|
939
|
+
*/
|
|
940
|
+
export interface RasterLayerStyle {
|
|
941
|
+
/**
|
|
942
|
+
* Whether this layer is displayed.
|
|
943
|
+
*/
|
|
944
|
+
visibility?: "visible" | "none";
|
|
945
|
+
/**
|
|
946
|
+
* The opacity at which the image will be drawn.
|
|
947
|
+
*/
|
|
948
|
+
rasterOpacity?: Value<number, ["zoom"]>;
|
|
949
|
+
/**
|
|
950
|
+
* The transition affecting any changes to this layer's rasterOpacity property.
|
|
951
|
+
*/
|
|
952
|
+
rasterOpacityTransition?: Transition;
|
|
953
|
+
/**
|
|
954
|
+
* Rotates hues around the color wheel.
|
|
955
|
+
*/
|
|
956
|
+
rasterHueRotate?: Value<number, ["zoom"]>;
|
|
957
|
+
/**
|
|
958
|
+
* The transition affecting any changes to this layer's rasterHueRotate
|
|
959
|
+
* property.
|
|
960
|
+
*/
|
|
961
|
+
rasterHueRotateTransition?: Transition;
|
|
962
|
+
/**
|
|
963
|
+
* Increase or reduce the brightness of the image. The value is the minimum
|
|
964
|
+
* brightness.
|
|
965
|
+
*/
|
|
966
|
+
rasterBrightnessMin?: Value<number, ["zoom"]>;
|
|
967
|
+
/**
|
|
968
|
+
* The transition affecting any changes to this layer's rasterBrightnessMin
|
|
969
|
+
* property.
|
|
970
|
+
*/
|
|
971
|
+
rasterBrightnessMinTransition?: Transition;
|
|
972
|
+
/**
|
|
973
|
+
* Increase or reduce the brightness of the image. The value is the maximum
|
|
974
|
+
* brightness.
|
|
975
|
+
*/
|
|
976
|
+
rasterBrightnessMax?: Value<number, ["zoom"]>;
|
|
977
|
+
/**
|
|
978
|
+
* The transition affecting any changes to this layer's rasterBrightnessMax
|
|
979
|
+
* property.
|
|
980
|
+
*/
|
|
981
|
+
rasterBrightnessMaxTransition?: Transition;
|
|
982
|
+
/**
|
|
983
|
+
* Increase or reduce the saturation of the image.
|
|
984
|
+
*/
|
|
985
|
+
rasterSaturation?: Value<number, ["zoom"]>;
|
|
986
|
+
/**
|
|
987
|
+
* The transition affecting any changes to this layer's rasterSaturation
|
|
988
|
+
* property.
|
|
989
|
+
*/
|
|
990
|
+
rasterSaturationTransition?: Transition;
|
|
991
|
+
/**
|
|
992
|
+
* Increase or reduce the contrast of the image.
|
|
993
|
+
*/
|
|
994
|
+
rasterContrast?: Value<number, ["zoom"]>;
|
|
995
|
+
/**
|
|
996
|
+
* The transition affecting any changes to this layer's rasterContrast property.
|
|
997
|
+
*/
|
|
998
|
+
rasterContrastTransition?: Transition;
|
|
999
|
+
/**
|
|
1000
|
+
* The resampling/interpolation method to use for overscaling, also known as
|
|
1001
|
+
* texture magnification filter
|
|
1002
|
+
*/
|
|
1003
|
+
rasterResampling?: Value<"linear" | "nearest", ["zoom"]>;
|
|
1004
|
+
/**
|
|
1005
|
+
* Fade duration when a new tile is added, or when a video is started or its
|
|
1006
|
+
* coordinates are updated.
|
|
1007
|
+
*/
|
|
1008
|
+
rasterFadeDuration?: Value<number, ["zoom"]>;
|
|
1009
|
+
}
|
|
1010
|
+
/**
|
|
1011
|
+
* @deprecated
|
|
1012
|
+
*/
|
|
1013
|
+
export interface HillshadeLayerStyle {
|
|
1014
|
+
/**
|
|
1015
|
+
* Whether this layer is displayed.
|
|
1016
|
+
*/
|
|
1017
|
+
visibility?: "visible" | "none";
|
|
1018
|
+
/**
|
|
1019
|
+
* The direction of the light source(s) used to generate the hillshading with 0
|
|
1020
|
+
* as the top of the viewport if `hillshadeIlluminationAnchor` is set to
|
|
1021
|
+
* `viewport` and due north if `hillshadeIlluminationAnchor` is set to `map` .
|
|
1022
|
+
* Only when `hillshadeMethod` is set to `multidirectional` can you specify
|
|
1023
|
+
* multiple light sources.
|
|
1024
|
+
*/
|
|
1025
|
+
hillshadeIlluminationDirection?: Value<number, ["zoom"]>;
|
|
1026
|
+
/**
|
|
1027
|
+
* The altitude of the light source(s) used to generate the hillshading with 0
|
|
1028
|
+
* as sunset and 90 as noon. Only when `hillshadeMethod` is set to
|
|
1029
|
+
* `multidirectional` can you specify multiple light sources.
|
|
1030
|
+
*/
|
|
1031
|
+
hillshadeIlluminationAltitude?: Value<number, ["zoom"]>;
|
|
1032
|
+
/**
|
|
1033
|
+
* Direction of light source when map is rotated.
|
|
1034
|
+
*/
|
|
1035
|
+
hillshadeIlluminationAnchor?: Value<"map" | "viewport", ["zoom"]>;
|
|
1036
|
+
/**
|
|
1037
|
+
* Intensity of the hillshade
|
|
1038
|
+
*/
|
|
1039
|
+
hillshadeExaggeration?: Value<number, ["zoom"]>;
|
|
1040
|
+
/**
|
|
1041
|
+
* The transition affecting any changes to this layer's hillshadeExaggeration
|
|
1042
|
+
* property.
|
|
1043
|
+
*/
|
|
1044
|
+
hillshadeExaggerationTransition?: Transition;
|
|
1045
|
+
/**
|
|
1046
|
+
* The shading color of areas that face away from the light source(s). Only when
|
|
1047
|
+
* `hillshadeMethod` is set to `multidirectional` can you specify multiple light
|
|
1048
|
+
* sources.
|
|
1049
|
+
*/
|
|
1050
|
+
hillshadeShadowColor?: Value<string, ["zoom"]>;
|
|
1051
|
+
/**
|
|
1052
|
+
* The transition affecting any changes to this layer's hillshadeShadowColor
|
|
1053
|
+
* property.
|
|
1054
|
+
*/
|
|
1055
|
+
hillshadeShadowColorTransition?: Transition;
|
|
1056
|
+
/**
|
|
1057
|
+
* The shading color of areas that faces towards the light source(s). Only when
|
|
1058
|
+
* `hillshadeMethod` is set to `multidirectional` can you specify multiple light
|
|
1059
|
+
* sources.
|
|
1060
|
+
*/
|
|
1061
|
+
hillshadeHighlightColor?: Value<string, ["zoom"]>;
|
|
1062
|
+
/**
|
|
1063
|
+
* The transition affecting any changes to this layer's hillshadeHighlightColor
|
|
1064
|
+
* property.
|
|
1065
|
+
*/
|
|
1066
|
+
hillshadeHighlightColorTransition?: Transition;
|
|
1067
|
+
/**
|
|
1068
|
+
* The shading color used to accentuate rugged terrain like sharp cliffs and
|
|
1069
|
+
* gorges.
|
|
1070
|
+
*/
|
|
1071
|
+
hillshadeAccentColor?: Value<string, ["zoom"]>;
|
|
1072
|
+
/**
|
|
1073
|
+
* The transition affecting any changes to this layer's hillshadeAccentColor
|
|
1074
|
+
* property.
|
|
1075
|
+
*/
|
|
1076
|
+
hillshadeAccentColorTransition?: Transition;
|
|
1077
|
+
/**
|
|
1078
|
+
* The hillshade algorithm to use, one of `standard` , `basic` , `combined` ,
|
|
1079
|
+
* `igor` , or `multidirectional` . 
|
|
1080
|
+
*/
|
|
1081
|
+
hillshadeMethod?: Value<"standard" | "basic" | "combined" | "igor" | "multidirectional", [
|
|
1082
|
+
"zoom"
|
|
1083
|
+
]>;
|
|
1084
|
+
}
|
|
1085
|
+
/**
|
|
1086
|
+
* @deprecated
|
|
1087
|
+
*/
|
|
1088
|
+
export interface BackgroundLayerStyle {
|
|
1089
|
+
/**
|
|
1090
|
+
* Whether this layer is displayed.
|
|
1091
|
+
*/
|
|
1092
|
+
visibility?: "visible" | "none";
|
|
1093
|
+
/**
|
|
1094
|
+
* The color with which the background will be drawn.
|
|
1095
|
+
*
|
|
1096
|
+
* @disabledBy backgroundPattern
|
|
1097
|
+
*/
|
|
1098
|
+
backgroundColor?: Value<string, ["zoom"]>;
|
|
1099
|
+
/**
|
|
1100
|
+
* The transition affecting any changes to this layer's backgroundColor
|
|
1101
|
+
* property.
|
|
1102
|
+
*/
|
|
1103
|
+
backgroundColorTransition?: Transition;
|
|
1104
|
+
/**
|
|
1105
|
+
* Name of image in sprite to use for drawing an image background. For seamless
|
|
1106
|
+
* patterns, image width and height must be a factor of two (2, 4, 8, ..., 512).
|
|
1107
|
+
* Note that zoomDependent expressions will be evaluated only at integer zoom
|
|
1108
|
+
* levels.
|
|
1109
|
+
*/
|
|
1110
|
+
backgroundPattern?: Value<ResolvedImageType, ["zoom"]>;
|
|
1111
|
+
/**
|
|
1112
|
+
* The transition affecting any changes to this layer's backgroundPattern
|
|
1113
|
+
* property.
|
|
1114
|
+
*/
|
|
1115
|
+
backgroundPatternTransition?: Transition;
|
|
1116
|
+
/**
|
|
1117
|
+
* The opacity at which the background will be drawn.
|
|
1118
|
+
*/
|
|
1119
|
+
backgroundOpacity?: Value<number, ["zoom"]>;
|
|
1120
|
+
/**
|
|
1121
|
+
* The transition affecting any changes to this layer's backgroundOpacity
|
|
1122
|
+
* property.
|
|
1123
|
+
*/
|
|
1124
|
+
backgroundOpacityTransition?: Transition;
|
|
1125
|
+
}
|
|
1126
|
+
/**
|
|
1127
|
+
* @deprecated
|
|
1128
|
+
*/
|
|
1129
|
+
export interface LightLayerStyle {
|
|
1130
|
+
/**
|
|
1131
|
+
* Whether extruded geometries are lit relative to the map or viewport.
|
|
1132
|
+
*/
|
|
1133
|
+
anchor?: Value<"map" | "viewport", ["zoom"]>;
|
|
1134
|
+
/**
|
|
1135
|
+
* Position of the light source relative to lit (extruded) geometries, in [r
|
|
1136
|
+
* radial coordinate, a azimuthal angle, p polar angle] where r indicates the
|
|
1137
|
+
* distance from the center of the base of an object to its light, a indicates
|
|
1138
|
+
* the position of the light relative to 0° (0° when `light.anchor` is set to
|
|
1139
|
+
* `viewport` corresponds to the top of the viewport, or 0° when `light.anchor`
|
|
1140
|
+
* is set to `map` corresponds to due north, and degrees proceed clockwise),
|
|
1141
|
+
* and p indicates the height of the light (from 0°, directly above, to 180°,
|
|
1142
|
+
* directly below).
|
|
1143
|
+
*/
|
|
1144
|
+
position?: Value<number[], ["zoom"]>;
|
|
1145
|
+
/**
|
|
1146
|
+
* The transition affecting any changes to this layer's position property.
|
|
1147
|
+
*/
|
|
1148
|
+
positionTransition?: Transition;
|
|
1149
|
+
/**
|
|
1150
|
+
* Color tint for lighting extruded geometries.
|
|
1151
|
+
*/
|
|
1152
|
+
color?: Value<string, ["zoom"]>;
|
|
1153
|
+
/**
|
|
1154
|
+
* The transition affecting any changes to this layer's color property.
|
|
1155
|
+
*/
|
|
1156
|
+
colorTransition?: Transition;
|
|
1157
|
+
/**
|
|
1158
|
+
* Intensity of lighting (on a scale from 0 to 1). Higher numbers will present
|
|
1159
|
+
* as more extreme contrast.
|
|
1160
|
+
*/
|
|
1161
|
+
intensity?: Value<number, ["zoom"]>;
|
|
1162
|
+
/**
|
|
1163
|
+
* The transition affecting any changes to this layer's intensity property.
|
|
1164
|
+
*/
|
|
1165
|
+
intensityTransition?: Transition;
|
|
1166
|
+
}
|
|
1167
|
+
export type AllLayerStyle = FillLayerStyle | LineLayerStyle | SymbolLayerStyle | CircleLayerStyle | HeatmapLayerStyle | FillExtrusionLayerStyle | RasterLayerStyle | HillshadeLayerStyle | BackgroundLayerStyle | LightLayerStyle;
|
|
1168
|
+
export {};
|
|
1169
|
+
//# sourceMappingURL=MapVinaRNStyles.d.ts.map
|