@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,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.convertToInternalStyle = convertToInternalStyle;
|
|
7
|
+
exports.mergeStyleProps = mergeStyleProps;
|
|
8
|
+
/**
|
|
9
|
+
* Converts a kebab-case string to camelCase.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* kebabToCamel('fill-color') // Returns: 'fillColor'
|
|
13
|
+
* kebabToCamel('line-gap-width') // Returns: 'lineGapWidth'
|
|
14
|
+
*/
|
|
15
|
+
function kebabToCamel(str) {
|
|
16
|
+
return str.replace(/-([a-z])/g, (_, char) => char.toUpperCase());
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Converts style spec compliant paint/layout objects (kebab-case) to internal
|
|
21
|
+
* style format (camelCase).
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* convertToInternalStyle({ 'fill-color': 'red' })
|
|
25
|
+
* // Returns: { fillColor: 'red' }
|
|
26
|
+
*/
|
|
27
|
+
function convertToInternalStyle(specStyle) {
|
|
28
|
+
if (!specStyle) {
|
|
29
|
+
return undefined;
|
|
30
|
+
}
|
|
31
|
+
const result = {};
|
|
32
|
+
for (const key of Object.keys(specStyle)) {
|
|
33
|
+
result[kebabToCamel(key)] = specStyle[key];
|
|
34
|
+
}
|
|
35
|
+
return result;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Merges paint and layout props into a single internal style object. Priority
|
|
40
|
+
* order (highest to lowest): paint > layout > style (deprecated)
|
|
41
|
+
*/
|
|
42
|
+
function mergeStyleProps(paint, layout, deprecatedStyle) {
|
|
43
|
+
const convertedPaint = convertToInternalStyle(paint);
|
|
44
|
+
const convertedLayout = convertToInternalStyle(layout);
|
|
45
|
+
|
|
46
|
+
// If nothing provided, return undefined
|
|
47
|
+
if (!convertedPaint && !convertedLayout && !deprecatedStyle) {
|
|
48
|
+
return undefined;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
// Merge: deprecated style has lowest precedence
|
|
52
|
+
return {
|
|
53
|
+
...deprecatedStyle,
|
|
54
|
+
...convertedLayout,
|
|
55
|
+
...convertedPaint
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
//# sourceMappingURL=convertStyleSpec.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["kebabToCamel","str","replace","_","char","toUpperCase","convertToInternalStyle","specStyle","undefined","result","key","Object","keys","mergeStyleProps","paint","layout","deprecatedStyle","convertedPaint","convertedLayout"],"sourceRoot":"../../../src","sources":["utils/convertStyleSpec.ts"],"mappings":";;;;;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,YAAYA,CAACC,GAAW,EAAU;EACzC,OAAOA,GAAG,CAACC,OAAO,CAAC,WAAW,EAAE,CAACC,CAAC,EAAEC,IAAI,KAAKA,IAAI,CAACC,WAAW,CAAC,CAAC,CAAC;AAClE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAASC,sBAAsBA,CACpCC,SAA8C,EACV;EACpC,IAAI,CAACA,SAAS,EAAE;IACd,OAAOC,SAAS;EAClB;EAEA,MAAMC,MAA+B,GAAG,CAAC,CAAC;EAE1C,KAAK,MAAMC,GAAG,IAAIC,MAAM,CAACC,IAAI,CAACL,SAAS,CAAC,EAAE;IACxCE,MAAM,CAACT,YAAY,CAACU,GAAG,CAAC,CAAC,GAAGH,SAAS,CAACG,GAAG,CAAC;EAC5C;EAEA,OAAOD,MAAM;AACf;;AAEA;AACA;AACA;AACA;AACO,SAASI,eAAeA,CAC7BC,KAA0C,EAC1CC,MAA2C,EAC3CC,eAA0C,EACf;EAC3B,MAAMC,cAAc,GAAGX,sBAAsB,CAACQ,KAAK,CAAC;EACpD,MAAMI,eAAe,GAAGZ,sBAAsB,CAACS,MAAM,CAAC;;EAEtD;EACA,IAAI,CAACE,cAAc,IAAI,CAACC,eAAe,IAAI,CAACF,eAAe,EAAE;IAC3D,OAAOR,SAAS;EAClB;;EAEA;EACA,OAAO;IACL,GAAGQ,eAAe;IAClB,GAAGE,eAAe;IAClB,GAAGD;EACL,CAAC;AACH","ignoreList":[]}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.findNodeHandle = void 0;
|
|
7
|
+
var _reactNative = require("react-native");
|
|
8
|
+
const findNodeHandle = ref => {
|
|
9
|
+
const nodeHandle = (0, _reactNative.findNodeHandle)(ref);
|
|
10
|
+
if (nodeHandle === null) {
|
|
11
|
+
throw new Error("NativeComponent ref is null, wait for the map being initialized");
|
|
12
|
+
}
|
|
13
|
+
return nodeHandle;
|
|
14
|
+
};
|
|
15
|
+
exports.findNodeHandle = findNodeHandle;
|
|
16
|
+
//# sourceMappingURL=findNodeHandle.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_reactNative","require","findNodeHandle","ref","nodeHandle","rnFindNodeHandle","Error","exports"],"sourceRoot":"../../../src","sources":["utils/findNodeHandle.ts"],"mappings":";;;;;;AACA,IAAAA,YAAA,GAAAC,OAAA;AAEO,MAAMC,cAAc,GAAIC,GAAqB,IAAK;EACvD,MAAMC,UAAU,GAAG,IAAAC,2BAAgB,EAACF,GAAG,CAAC;EAExC,IAAIC,UAAU,KAAK,IAAI,EAAE;IACvB,MAAM,IAAIE,KAAK,CACb,iEACF,CAAC;EACH;EAEA,OAAOF,UAAU;AACnB,CAAC;AAACG,OAAA,CAAAL,cAAA,GAAAA,cAAA","ignoreList":[]}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.getNativeFilter = getNativeFilter;
|
|
7
|
+
function getNativeFilter(filter) {
|
|
8
|
+
if (Array.isArray(filter)) {
|
|
9
|
+
return filter;
|
|
10
|
+
}
|
|
11
|
+
if (typeof filter === "boolean") {
|
|
12
|
+
return ["literal", filter];
|
|
13
|
+
}
|
|
14
|
+
return [];
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=getNativeFilter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["getNativeFilter","filter","Array","isArray"],"sourceRoot":"../../../src","sources":["utils/getNativeFilter.ts"],"mappings":";;;;;;AAEO,SAASA,eAAeA,CAC7BC,MAAuC,EAC5B;EACX,IAAIC,KAAK,CAACC,OAAO,CAACF,MAAM,CAAC,EAAE;IACzB,OAAOA,MAAM;EACf;EAEA,IAAI,OAAOA,MAAM,KAAK,SAAS,EAAE;IAC/B,OAAO,CAAC,SAAS,EAAEA,MAAM,CAAC;EAC5B;EAEA,OAAO,EAAE;AACX","ignoreList":[]}
|
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.getStylePropertyType = getStylePropertyType;
|
|
7
|
+
var _index = require("./index.js");
|
|
8
|
+
// DO NOT MODIFY
|
|
9
|
+
// This file is auto-generated from scripts/src/templates/renderGetStylePropertyType.ts
|
|
10
|
+
|
|
11
|
+
const StyleType = {
|
|
12
|
+
Constant: "constant",
|
|
13
|
+
Color: "color",
|
|
14
|
+
Transition: "transition",
|
|
15
|
+
Translation: "translation",
|
|
16
|
+
Function: "function",
|
|
17
|
+
Image: "image",
|
|
18
|
+
Enum: "enum"
|
|
19
|
+
};
|
|
20
|
+
const STYLE_MAP = {
|
|
21
|
+
fillSortKey: StyleType.Constant,
|
|
22
|
+
fillAntialias: StyleType.Constant,
|
|
23
|
+
fillOpacity: StyleType.Constant,
|
|
24
|
+
fillOpacityTransition: StyleType.Transition,
|
|
25
|
+
fillColor: StyleType.Color,
|
|
26
|
+
fillColorTransition: StyleType.Transition,
|
|
27
|
+
fillOutlineColor: StyleType.Color,
|
|
28
|
+
fillOutlineColorTransition: StyleType.Transition,
|
|
29
|
+
fillTranslate: StyleType.Translation,
|
|
30
|
+
fillTranslateTransition: StyleType.Transition,
|
|
31
|
+
fillTranslateAnchor: StyleType.Enum,
|
|
32
|
+
fillPattern: StyleType.Image,
|
|
33
|
+
fillPatternTransition: StyleType.Transition,
|
|
34
|
+
lineCap: StyleType.Enum,
|
|
35
|
+
lineJoin: StyleType.Enum,
|
|
36
|
+
lineMiterLimit: StyleType.Constant,
|
|
37
|
+
lineRoundLimit: StyleType.Constant,
|
|
38
|
+
lineSortKey: StyleType.Constant,
|
|
39
|
+
lineOpacity: StyleType.Constant,
|
|
40
|
+
lineOpacityTransition: StyleType.Transition,
|
|
41
|
+
lineColor: StyleType.Color,
|
|
42
|
+
lineColorTransition: StyleType.Transition,
|
|
43
|
+
lineTranslate: StyleType.Translation,
|
|
44
|
+
lineTranslateTransition: StyleType.Transition,
|
|
45
|
+
lineTranslateAnchor: StyleType.Enum,
|
|
46
|
+
lineWidth: StyleType.Constant,
|
|
47
|
+
lineWidthTransition: StyleType.Transition,
|
|
48
|
+
lineGapWidth: StyleType.Constant,
|
|
49
|
+
lineGapWidthTransition: StyleType.Transition,
|
|
50
|
+
lineOffset: StyleType.Constant,
|
|
51
|
+
lineOffsetTransition: StyleType.Transition,
|
|
52
|
+
lineBlur: StyleType.Constant,
|
|
53
|
+
lineBlurTransition: StyleType.Transition,
|
|
54
|
+
lineDasharray: StyleType.Constant,
|
|
55
|
+
lineDasharrayTransition: StyleType.Transition,
|
|
56
|
+
linePattern: StyleType.Image,
|
|
57
|
+
linePatternTransition: StyleType.Transition,
|
|
58
|
+
lineGradient: StyleType.Color,
|
|
59
|
+
symbolPlacement: StyleType.Enum,
|
|
60
|
+
symbolSpacing: StyleType.Constant,
|
|
61
|
+
symbolAvoidEdges: StyleType.Constant,
|
|
62
|
+
symbolSortKey: StyleType.Constant,
|
|
63
|
+
symbolZOrder: StyleType.Enum,
|
|
64
|
+
iconAllowOverlap: StyleType.Constant,
|
|
65
|
+
iconOverlap: StyleType.Enum,
|
|
66
|
+
iconIgnorePlacement: StyleType.Constant,
|
|
67
|
+
iconOptional: StyleType.Constant,
|
|
68
|
+
iconRotationAlignment: StyleType.Enum,
|
|
69
|
+
iconSize: StyleType.Constant,
|
|
70
|
+
iconTextFit: StyleType.Enum,
|
|
71
|
+
iconTextFitPadding: StyleType.Constant,
|
|
72
|
+
iconImage: StyleType.Image,
|
|
73
|
+
iconRotate: StyleType.Constant,
|
|
74
|
+
iconPadding: StyleType.Constant,
|
|
75
|
+
iconKeepUpright: StyleType.Constant,
|
|
76
|
+
iconOffset: StyleType.Constant,
|
|
77
|
+
iconAnchor: StyleType.Enum,
|
|
78
|
+
iconPitchAlignment: StyleType.Enum,
|
|
79
|
+
textPitchAlignment: StyleType.Enum,
|
|
80
|
+
textRotationAlignment: StyleType.Enum,
|
|
81
|
+
textField: StyleType.Constant,
|
|
82
|
+
textFont: StyleType.Constant,
|
|
83
|
+
textSize: StyleType.Constant,
|
|
84
|
+
textMaxWidth: StyleType.Constant,
|
|
85
|
+
textLineHeight: StyleType.Constant,
|
|
86
|
+
textLetterSpacing: StyleType.Constant,
|
|
87
|
+
textJustify: StyleType.Enum,
|
|
88
|
+
textRadialOffset: StyleType.Constant,
|
|
89
|
+
textVariableAnchor: StyleType.Constant,
|
|
90
|
+
textAnchor: StyleType.Enum,
|
|
91
|
+
textMaxAngle: StyleType.Constant,
|
|
92
|
+
textWritingMode: StyleType.Constant,
|
|
93
|
+
textRotate: StyleType.Constant,
|
|
94
|
+
textPadding: StyleType.Constant,
|
|
95
|
+
textKeepUpright: StyleType.Constant,
|
|
96
|
+
textTransform: StyleType.Enum,
|
|
97
|
+
textOffset: StyleType.Constant,
|
|
98
|
+
textAllowOverlap: StyleType.Constant,
|
|
99
|
+
textOverlap: StyleType.Enum,
|
|
100
|
+
textIgnorePlacement: StyleType.Constant,
|
|
101
|
+
textOptional: StyleType.Constant,
|
|
102
|
+
iconOpacity: StyleType.Constant,
|
|
103
|
+
iconOpacityTransition: StyleType.Transition,
|
|
104
|
+
iconColor: StyleType.Color,
|
|
105
|
+
iconColorTransition: StyleType.Transition,
|
|
106
|
+
iconHaloColor: StyleType.Color,
|
|
107
|
+
iconHaloColorTransition: StyleType.Transition,
|
|
108
|
+
iconHaloWidth: StyleType.Constant,
|
|
109
|
+
iconHaloWidthTransition: StyleType.Transition,
|
|
110
|
+
iconHaloBlur: StyleType.Constant,
|
|
111
|
+
iconHaloBlurTransition: StyleType.Transition,
|
|
112
|
+
iconTranslate: StyleType.Translation,
|
|
113
|
+
iconTranslateTransition: StyleType.Transition,
|
|
114
|
+
iconTranslateAnchor: StyleType.Enum,
|
|
115
|
+
textOpacity: StyleType.Constant,
|
|
116
|
+
textOpacityTransition: StyleType.Transition,
|
|
117
|
+
textColor: StyleType.Color,
|
|
118
|
+
textColorTransition: StyleType.Transition,
|
|
119
|
+
textHaloColor: StyleType.Color,
|
|
120
|
+
textHaloColorTransition: StyleType.Transition,
|
|
121
|
+
textHaloWidth: StyleType.Constant,
|
|
122
|
+
textHaloWidthTransition: StyleType.Transition,
|
|
123
|
+
textHaloBlur: StyleType.Constant,
|
|
124
|
+
textHaloBlurTransition: StyleType.Transition,
|
|
125
|
+
textTranslate: StyleType.Translation,
|
|
126
|
+
textTranslateTransition: StyleType.Transition,
|
|
127
|
+
textTranslateAnchor: StyleType.Enum,
|
|
128
|
+
circleSortKey: StyleType.Constant,
|
|
129
|
+
circleRadius: StyleType.Constant,
|
|
130
|
+
circleRadiusTransition: StyleType.Transition,
|
|
131
|
+
circleColor: StyleType.Color,
|
|
132
|
+
circleColorTransition: StyleType.Transition,
|
|
133
|
+
circleBlur: StyleType.Constant,
|
|
134
|
+
circleBlurTransition: StyleType.Transition,
|
|
135
|
+
circleOpacity: StyleType.Constant,
|
|
136
|
+
circleOpacityTransition: StyleType.Transition,
|
|
137
|
+
circleTranslate: StyleType.Translation,
|
|
138
|
+
circleTranslateTransition: StyleType.Transition,
|
|
139
|
+
circleTranslateAnchor: StyleType.Enum,
|
|
140
|
+
circlePitchScale: StyleType.Enum,
|
|
141
|
+
circlePitchAlignment: StyleType.Enum,
|
|
142
|
+
circleStrokeWidth: StyleType.Constant,
|
|
143
|
+
circleStrokeWidthTransition: StyleType.Transition,
|
|
144
|
+
circleStrokeColor: StyleType.Color,
|
|
145
|
+
circleStrokeColorTransition: StyleType.Transition,
|
|
146
|
+
circleStrokeOpacity: StyleType.Constant,
|
|
147
|
+
circleStrokeOpacityTransition: StyleType.Transition,
|
|
148
|
+
heatmapRadius: StyleType.Constant,
|
|
149
|
+
heatmapRadiusTransition: StyleType.Transition,
|
|
150
|
+
heatmapWeight: StyleType.Constant,
|
|
151
|
+
heatmapIntensity: StyleType.Constant,
|
|
152
|
+
heatmapIntensityTransition: StyleType.Transition,
|
|
153
|
+
heatmapColor: StyleType.Color,
|
|
154
|
+
heatmapOpacity: StyleType.Constant,
|
|
155
|
+
heatmapOpacityTransition: StyleType.Transition,
|
|
156
|
+
fillExtrusionOpacity: StyleType.Constant,
|
|
157
|
+
fillExtrusionOpacityTransition: StyleType.Transition,
|
|
158
|
+
fillExtrusionColor: StyleType.Color,
|
|
159
|
+
fillExtrusionColorTransition: StyleType.Transition,
|
|
160
|
+
fillExtrusionTranslate: StyleType.Translation,
|
|
161
|
+
fillExtrusionTranslateTransition: StyleType.Transition,
|
|
162
|
+
fillExtrusionTranslateAnchor: StyleType.Enum,
|
|
163
|
+
fillExtrusionPattern: StyleType.Image,
|
|
164
|
+
fillExtrusionPatternTransition: StyleType.Transition,
|
|
165
|
+
fillExtrusionHeight: StyleType.Constant,
|
|
166
|
+
fillExtrusionHeightTransition: StyleType.Transition,
|
|
167
|
+
fillExtrusionBase: StyleType.Constant,
|
|
168
|
+
fillExtrusionBaseTransition: StyleType.Transition,
|
|
169
|
+
fillExtrusionVerticalGradient: StyleType.Constant,
|
|
170
|
+
rasterOpacity: StyleType.Constant,
|
|
171
|
+
rasterOpacityTransition: StyleType.Transition,
|
|
172
|
+
rasterHueRotate: StyleType.Constant,
|
|
173
|
+
rasterHueRotateTransition: StyleType.Transition,
|
|
174
|
+
rasterBrightnessMin: StyleType.Constant,
|
|
175
|
+
rasterBrightnessMinTransition: StyleType.Transition,
|
|
176
|
+
rasterBrightnessMax: StyleType.Constant,
|
|
177
|
+
rasterBrightnessMaxTransition: StyleType.Transition,
|
|
178
|
+
rasterSaturation: StyleType.Constant,
|
|
179
|
+
rasterSaturationTransition: StyleType.Transition,
|
|
180
|
+
rasterContrast: StyleType.Constant,
|
|
181
|
+
rasterContrastTransition: StyleType.Transition,
|
|
182
|
+
rasterResampling: StyleType.Enum,
|
|
183
|
+
rasterFadeDuration: StyleType.Constant,
|
|
184
|
+
hillshadeIlluminationDirection: StyleType.Constant,
|
|
185
|
+
hillshadeIlluminationAltitude: StyleType.Constant,
|
|
186
|
+
hillshadeIlluminationAnchor: StyleType.Enum,
|
|
187
|
+
hillshadeExaggeration: StyleType.Constant,
|
|
188
|
+
hillshadeExaggerationTransition: StyleType.Transition,
|
|
189
|
+
hillshadeShadowColor: StyleType.Color,
|
|
190
|
+
hillshadeShadowColorTransition: StyleType.Transition,
|
|
191
|
+
hillshadeHighlightColor: StyleType.Color,
|
|
192
|
+
hillshadeHighlightColorTransition: StyleType.Transition,
|
|
193
|
+
hillshadeAccentColor: StyleType.Color,
|
|
194
|
+
hillshadeAccentColorTransition: StyleType.Transition,
|
|
195
|
+
hillshadeMethod: StyleType.Enum,
|
|
196
|
+
backgroundColor: StyleType.Color,
|
|
197
|
+
backgroundColorTransition: StyleType.Transition,
|
|
198
|
+
backgroundPattern: StyleType.Image,
|
|
199
|
+
backgroundPatternTransition: StyleType.Transition,
|
|
200
|
+
backgroundOpacity: StyleType.Constant,
|
|
201
|
+
backgroundOpacityTransition: StyleType.Transition,
|
|
202
|
+
anchor: StyleType.Enum,
|
|
203
|
+
position: StyleType.Constant,
|
|
204
|
+
positionTransition: StyleType.Transition,
|
|
205
|
+
color: StyleType.Color,
|
|
206
|
+
colorTransition: StyleType.Transition,
|
|
207
|
+
intensity: StyleType.Constant,
|
|
208
|
+
intensityTransition: StyleType.Transition,
|
|
209
|
+
visibility: StyleType.Constant
|
|
210
|
+
};
|
|
211
|
+
const STYLE_OVERRIDES = {
|
|
212
|
+
// padding
|
|
213
|
+
iconTextFitPadding: {
|
|
214
|
+
iosType: "edgeinsets"
|
|
215
|
+
},
|
|
216
|
+
// offsets
|
|
217
|
+
iconOffset: {
|
|
218
|
+
iosType: "vector"
|
|
219
|
+
},
|
|
220
|
+
textOffset: {
|
|
221
|
+
iosType: "vector"
|
|
222
|
+
},
|
|
223
|
+
lineOffset: {
|
|
224
|
+
iosType: "vector"
|
|
225
|
+
},
|
|
226
|
+
// translates
|
|
227
|
+
fillTranslate: {
|
|
228
|
+
iosType: "vector"
|
|
229
|
+
},
|
|
230
|
+
lineTranslate: {
|
|
231
|
+
iosType: "vector"
|
|
232
|
+
},
|
|
233
|
+
iconTranslate: {
|
|
234
|
+
iosType: "vector"
|
|
235
|
+
},
|
|
236
|
+
textTranslate: {
|
|
237
|
+
iosType: "vector"
|
|
238
|
+
},
|
|
239
|
+
circleTranslate: {
|
|
240
|
+
iosType: "vector"
|
|
241
|
+
},
|
|
242
|
+
fillExtrusionTranslate: {
|
|
243
|
+
iosType: "vector"
|
|
244
|
+
}
|
|
245
|
+
};
|
|
246
|
+
function getStylePropertyType(styleProperty) {
|
|
247
|
+
if (!(0, _index.isAndroid)() && STYLE_OVERRIDES[styleProperty]) {
|
|
248
|
+
return STYLE_OVERRIDES[styleProperty].iosType;
|
|
249
|
+
}
|
|
250
|
+
if (STYLE_MAP[styleProperty]) {
|
|
251
|
+
return STYLE_MAP[styleProperty];
|
|
252
|
+
}
|
|
253
|
+
throw new Error(`${styleProperty} is not a valid MapVina layer style`);
|
|
254
|
+
}
|
|
255
|
+
//# sourceMappingURL=getStylePropertyType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_index","require","StyleType","Constant","Color","Transition","Translation","Function","Image","Enum","STYLE_MAP","fillSortKey","fillAntialias","fillOpacity","fillOpacityTransition","fillColor","fillColorTransition","fillOutlineColor","fillOutlineColorTransition","fillTranslate","fillTranslateTransition","fillTranslateAnchor","fillPattern","fillPatternTransition","lineCap","lineJoin","lineMiterLimit","lineRoundLimit","lineSortKey","lineOpacity","lineOpacityTransition","lineColor","lineColorTransition","lineTranslate","lineTranslateTransition","lineTranslateAnchor","lineWidth","lineWidthTransition","lineGapWidth","lineGapWidthTransition","lineOffset","lineOffsetTransition","lineBlur","lineBlurTransition","lineDasharray","lineDasharrayTransition","linePattern","linePatternTransition","lineGradient","symbolPlacement","symbolSpacing","symbolAvoidEdges","symbolSortKey","symbolZOrder","iconAllowOverlap","iconOverlap","iconIgnorePlacement","iconOptional","iconRotationAlignment","iconSize","iconTextFit","iconTextFitPadding","iconImage","iconRotate","iconPadding","iconKeepUpright","iconOffset","iconAnchor","iconPitchAlignment","textPitchAlignment","textRotationAlignment","textField","textFont","textSize","textMaxWidth","textLineHeight","textLetterSpacing","textJustify","textRadialOffset","textVariableAnchor","textAnchor","textMaxAngle","textWritingMode","textRotate","textPadding","textKeepUpright","textTransform","textOffset","textAllowOverlap","textOverlap","textIgnorePlacement","textOptional","iconOpacity","iconOpacityTransition","iconColor","iconColorTransition","iconHaloColor","iconHaloColorTransition","iconHaloWidth","iconHaloWidthTransition","iconHaloBlur","iconHaloBlurTransition","iconTranslate","iconTranslateTransition","iconTranslateAnchor","textOpacity","textOpacityTransition","textColor","textColorTransition","textHaloColor","textHaloColorTransition","textHaloWidth","textHaloWidthTransition","textHaloBlur","textHaloBlurTransition","textTranslate","textTranslateTransition","textTranslateAnchor","circleSortKey","circleRadius","circleRadiusTransition","circleColor","circleColorTransition","circleBlur","circleBlurTransition","circleOpacity","circleOpacityTransition","circleTranslate","circleTranslateTransition","circleTranslateAnchor","circlePitchScale","circlePitchAlignment","circleStrokeWidth","circleStrokeWidthTransition","circleStrokeColor","circleStrokeColorTransition","circleStrokeOpacity","circleStrokeOpacityTransition","heatmapRadius","heatmapRadiusTransition","heatmapWeight","heatmapIntensity","heatmapIntensityTransition","heatmapColor","heatmapOpacity","heatmapOpacityTransition","fillExtrusionOpacity","fillExtrusionOpacityTransition","fillExtrusionColor","fillExtrusionColorTransition","fillExtrusionTranslate","fillExtrusionTranslateTransition","fillExtrusionTranslateAnchor","fillExtrusionPattern","fillExtrusionPatternTransition","fillExtrusionHeight","fillExtrusionHeightTransition","fillExtrusionBase","fillExtrusionBaseTransition","fillExtrusionVerticalGradient","rasterOpacity","rasterOpacityTransition","rasterHueRotate","rasterHueRotateTransition","rasterBrightnessMin","rasterBrightnessMinTransition","rasterBrightnessMax","rasterBrightnessMaxTransition","rasterSaturation","rasterSaturationTransition","rasterContrast","rasterContrastTransition","rasterResampling","rasterFadeDuration","hillshadeIlluminationDirection","hillshadeIlluminationAltitude","hillshadeIlluminationAnchor","hillshadeExaggeration","hillshadeExaggerationTransition","hillshadeShadowColor","hillshadeShadowColorTransition","hillshadeHighlightColor","hillshadeHighlightColorTransition","hillshadeAccentColor","hillshadeAccentColorTransition","hillshadeMethod","backgroundColor","backgroundColorTransition","backgroundPattern","backgroundPatternTransition","backgroundOpacity","backgroundOpacityTransition","anchor","position","positionTransition","color","colorTransition","intensity","intensityTransition","visibility","STYLE_OVERRIDES","iosType","getStylePropertyType","styleProperty","isAndroid","Error"],"sourceRoot":"../../../src","sources":["utils/getStylePropertyType.ts"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,OAAA;AAHA;AACA;;AAIA,MAAMC,SAAS,GAAG;EAChBC,QAAQ,EAAE,UAAU;EACpBC,KAAK,EAAE,OAAO;EACdC,UAAU,EAAE,YAAY;EACxBC,WAAW,EAAE,aAAa;EAC1BC,QAAQ,EAAE,UAAU;EACpBC,KAAK,EAAE,OAAO;EACdC,IAAI,EAAE;AACR,CAAC;AAED,MAAMC,SAAS,GAAG;EAChBC,WAAW,EAAET,SAAS,CAACC,QAAQ;EAC/BS,aAAa,EAAEV,SAAS,CAACC,QAAQ;EACjCU,WAAW,EAAEX,SAAS,CAACC,QAAQ;EAC/BW,qBAAqB,EAAEZ,SAAS,CAACG,UAAU;EAC3CU,SAAS,EAAEb,SAAS,CAACE,KAAK;EAC1BY,mBAAmB,EAAEd,SAAS,CAACG,UAAU;EACzCY,gBAAgB,EAAEf,SAAS,CAACE,KAAK;EACjCc,0BAA0B,EAAEhB,SAAS,CAACG,UAAU;EAChDc,aAAa,EAAEjB,SAAS,CAACI,WAAW;EACpCc,uBAAuB,EAAElB,SAAS,CAACG,UAAU;EAC7CgB,mBAAmB,EAAEnB,SAAS,CAACO,IAAI;EACnCa,WAAW,EAAEpB,SAAS,CAACM,KAAK;EAC5Be,qBAAqB,EAAErB,SAAS,CAACG,UAAU;EAE3CmB,OAAO,EAAEtB,SAAS,CAACO,IAAI;EACvBgB,QAAQ,EAAEvB,SAAS,CAACO,IAAI;EACxBiB,cAAc,EAAExB,SAAS,CAACC,QAAQ;EAClCwB,cAAc,EAAEzB,SAAS,CAACC,QAAQ;EAClCyB,WAAW,EAAE1B,SAAS,CAACC,QAAQ;EAC/B0B,WAAW,EAAE3B,SAAS,CAACC,QAAQ;EAC/B2B,qBAAqB,EAAE5B,SAAS,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,EAAE;EACX,CAAC;EAED;EACAvI,UAAU,EAAE;IACVuI,OAAO,EAAE;EACX,CAAC;EACDlH,UAAU,EAAE;IACVkH,OAAO,EAAE;EACX,CAAC;EACDjK,UAAU,EAAE;IACViK,OAAO,EAAE;EACX,CAAC;EAED;EACAtL,aAAa,EAAE;IACbsL,OAAO,EAAE;EACX,CAAC;EACDxK,aAAa,EAAE;IACbwK,OAAO,EAAE;EACX,CAAC;EACDnG,aAAa,EAAE;IACbmG,OAAO,EAAE;EACX,CAAC;EACDtF,aAAa,EAAE;IACbsF,OAAO,EAAE;EACX,CAAC;EACD1E,eAAe,EAAE;IACf0E,OAAO,EAAE;EACX,CAAC;EACDnD,sBAAsB,EAAE;IACtBmD,OAAO,EAAE;EACX;AACF,CAAC;AAEM,SAASC,oBAAoBA,CAClCC,aAA2C,EACnC;EACR,IAAI,CAAC,IAAAC,gBAAS,EAAC,CAAC,IAAIJ,eAAe,CAACG,aAAa,CAAC,EAAE;IAClD,OAAOH,eAAe,CAACG,aAAa,CAAC,CAACF,OAAO;EAC/C;EAEA,IAAI/L,SAAS,CAACiM,aAAa,CAAC,EAAE;IAC5B,OAAOjM,SAAS,CAACiM,aAAa,CAAC;EACjC;EAEA,MAAM,IAAIE,KAAK,CAAC,GAAGF,aAAa,qCAAqC,CAAC;AACxE","ignoreList":[]}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.cloneReactChildrenWithProps = cloneReactChildrenWithProps;
|
|
7
|
+
exports.isAndroid = isAndroid;
|
|
8
|
+
exports.isBoolean = isBoolean;
|
|
9
|
+
exports.isFunction = isFunction;
|
|
10
|
+
exports.isNumber = isNumber;
|
|
11
|
+
exports.isString = isString;
|
|
12
|
+
exports.isUndefined = isUndefined;
|
|
13
|
+
exports.resolveImagePath = resolveImagePath;
|
|
14
|
+
exports.runNativeCommand = runNativeCommand;
|
|
15
|
+
exports.toJSONString = toJSONString;
|
|
16
|
+
var _react = require("react");
|
|
17
|
+
var _reactNative = require("react-native");
|
|
18
|
+
function isAndroid() {
|
|
19
|
+
return _reactNative.Platform.OS === "android";
|
|
20
|
+
}
|
|
21
|
+
function isFunction(fn) {
|
|
22
|
+
return typeof fn === "function";
|
|
23
|
+
}
|
|
24
|
+
function isNumber(num) {
|
|
25
|
+
return typeof num === "number" && !Number.isNaN(num);
|
|
26
|
+
}
|
|
27
|
+
function isUndefined(obj) {
|
|
28
|
+
return typeof obj === "undefined";
|
|
29
|
+
}
|
|
30
|
+
function isString(str) {
|
|
31
|
+
return typeof str === "string";
|
|
32
|
+
}
|
|
33
|
+
function isBoolean(bool) {
|
|
34
|
+
return typeof bool === "boolean";
|
|
35
|
+
}
|
|
36
|
+
function runNativeCommand(module, name, nativeRef, args = []) {
|
|
37
|
+
const handle = (0, _reactNative.findNodeHandle)(nativeRef);
|
|
38
|
+
if (!handle) {
|
|
39
|
+
throw new Error(`Could not find handle for native ref ${module}.${name}`);
|
|
40
|
+
}
|
|
41
|
+
const managerInstance = isAndroid() ? _reactNative.UIManager.getViewManagerConfig(module) : _reactNative.NativeModules[module];
|
|
42
|
+
if (!managerInstance) {
|
|
43
|
+
throw new Error(`Could not find ${module}`);
|
|
44
|
+
}
|
|
45
|
+
if (isAndroid()) {
|
|
46
|
+
_reactNative.UIManager.dispatchViewManagerCommand(handle, managerInstance.Commands[name], args);
|
|
47
|
+
|
|
48
|
+
// Android uses callback instead of return
|
|
49
|
+
return null;
|
|
50
|
+
}
|
|
51
|
+
return managerInstance[name](handle, ...args);
|
|
52
|
+
}
|
|
53
|
+
function cloneReactChildrenWithProps(children, propsToAdd = {}) {
|
|
54
|
+
if (!children) {
|
|
55
|
+
return null;
|
|
56
|
+
}
|
|
57
|
+
const foundChildren = Array.isArray(children) ? children : [children];
|
|
58
|
+
const filteredChildren = foundChildren.filter(child => !!child);
|
|
59
|
+
return _react.Children.map(filteredChildren, child => /*#__PURE__*/(0, _react.cloneElement)(child, propsToAdd));
|
|
60
|
+
}
|
|
61
|
+
function resolveImagePath(imageRef) {
|
|
62
|
+
const res = _reactNative.Image.resolveAssetSource(imageRef);
|
|
63
|
+
return res.uri;
|
|
64
|
+
}
|
|
65
|
+
function toJSONString(json = "") {
|
|
66
|
+
return JSON.stringify(json);
|
|
67
|
+
}
|
|
68
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","require","_reactNative","isAndroid","Platform","OS","isFunction","fn","isNumber","num","Number","isNaN","isUndefined","obj","isString","str","isBoolean","bool","runNativeCommand","module","name","nativeRef","args","handle","findNodeHandle","Error","managerInstance","UIManager","getViewManagerConfig","NativeModules","dispatchViewManagerCommand","Commands","cloneReactChildrenWithProps","children","propsToAdd","foundChildren","Array","isArray","filteredChildren","filter","child","Children","map","cloneElement","resolveImagePath","imageRef","res","Image","resolveAssetSource","uri","toJSONString","json","JSON","stringify"],"sourceRoot":"../../../src","sources":["utils/index.ts"],"mappings":";;;;;;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAOA,IAAAC,YAAA,GAAAD,OAAA;AASO,SAASE,SAASA,CAAA,EAAY;EACnC,OAAOC,qBAAQ,CAACC,EAAE,KAAK,SAAS;AAClC;AAEO,SAASC,UAAUA,CAACC,EAAW,EAAkB;EACtD,OAAO,OAAOA,EAAE,KAAK,UAAU;AACjC;AAEO,SAASC,QAAQA,CAACC,GAAY,EAAiB;EACpD,OAAO,OAAOA,GAAG,KAAK,QAAQ,IAAI,CAACC,MAAM,CAACC,KAAK,CAACF,GAAG,CAAC;AACtD;AAEO,SAASG,WAAWA,CAACC,GAAY,EAAoB;EAC1D,OAAO,OAAOA,GAAG,KAAK,WAAW;AACnC;AAEO,SAASC,QAAQA,CAACC,GAAY,EAAiB;EACpD,OAAO,OAAOA,GAAG,KAAK,QAAQ;AAChC;AAEO,SAAS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UAAU,CAChC,CAAC;AACH;AAEO,SAASU,gBAAgBA,CAACC,QAA6B,EAAU;EACtE,MAAMC,GAAG,GAAGC,kBAAK,CAACC,kBAAkB,CAACH,QAAQ,CAAC;EAC9C,OAAOC,GAAG,CAACG,GAAG;AAChB;AAEO,SAASC,YAAYA,CAACC,IAAqB,GAAG,EAAE,EAAU;EAC/D,OAAOC,IAAI,CAACC,SAAS,CAACF,IAAI,CAAC;AAC7B","ignoreList":[]}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["assets/png.d.ts"],"mappings":"","ignoreList":[]}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { useEffect, useState } from "react";
|
|
4
|
+
import { Easing } from "react-native";
|
|
5
|
+
import { Animated } from "../../utils/animated/Animated.js";
|
|
6
|
+
import { AnimatedPoint } from "../../utils/animated/AnimatedPoint.js";
|
|
7
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
+
const isAnimated = data => data instanceof AnimatedPoint;
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Convenience wrapper around a GeoJSONSource for a Point/LngLat, optionally
|
|
12
|
+
* animated.
|
|
13
|
+
*/
|
|
14
|
+
export const LayerAnnotation = ({
|
|
15
|
+
lngLat,
|
|
16
|
+
animated = false,
|
|
17
|
+
animationDuration = 1000,
|
|
18
|
+
animationEasingFunction = Easing.linear,
|
|
19
|
+
...props
|
|
20
|
+
}) => {
|
|
21
|
+
const [data, setData] = useState(() => {
|
|
22
|
+
const point = {
|
|
23
|
+
type: "Point",
|
|
24
|
+
coordinates: lngLat
|
|
25
|
+
};
|
|
26
|
+
if (animated) {
|
|
27
|
+
return new AnimatedPoint(point);
|
|
28
|
+
}
|
|
29
|
+
return point;
|
|
30
|
+
});
|
|
31
|
+
useEffect(() => {
|
|
32
|
+
if (isAnimated(data)) {
|
|
33
|
+
data.stopAnimation();
|
|
34
|
+
data.timing({
|
|
35
|
+
toValue: {
|
|
36
|
+
type: "Point",
|
|
37
|
+
coordinates: lngLat
|
|
38
|
+
},
|
|
39
|
+
easing: animationEasingFunction,
|
|
40
|
+
duration: animationDuration
|
|
41
|
+
}).start();
|
|
42
|
+
} else {
|
|
43
|
+
setData({
|
|
44
|
+
type: "Point",
|
|
45
|
+
coordinates: lngLat
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
}, [lngLat[0], lngLat[1]]);
|
|
49
|
+
return /*#__PURE__*/_jsx(Animated.GeoJSONSource, {
|
|
50
|
+
data: data,
|
|
51
|
+
...props
|
|
52
|
+
});
|
|
53
|
+
};
|
|
54
|
+
//# sourceMappingURL=LayerAnnotation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["useEffect","useState","Easing","Animated","AnimatedPoint","jsx","_jsx","isAnimated","data","LayerAnnotation","lngLat","animated","animationDuration","animationEasingFunction","linear","props","setData","point","type","coordinates","stopAnimation","timing","toValue","easing","duration","start","GeoJSONSource"],"sourceRoot":"../../../../src","sources":["components/annotations/LayerAnnotation.tsx"],"mappings":";;AAAA,SAAyBA,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AAC3D,SAEEC,MAAM,QAED,cAAc;AAKrB,SAASC,QAAQ,QAAQ,kCAA+B;AACxD,SAASC,aAAa,QAAQ,uCAAoC;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAcnE,MAAMC,UAAU,GAAIC,IAAU,IAC5BA,IAAI,YAAYJ,aAAa;;AAE/B;AACA;AACA;AACA;AACA,OAAO,MAAMK,eAAe,GAAGA,CAAC;EAC9BC,MAAM;EACNC,QAAQ,GAAG,KAAK;EAChBC,iBAAiB,GAAG,IAAI;EACxBC,uBAAuB,GAAGX,MAAM,CAACY,MAAM;EACvC,GAAGC;AACiB,CAAC,KAAK;EAC1B,MAAM,CAACP,IAAI,EAAEQ,OAAO,CAAC,GAAGf,QAAQ,CAAO,MAAM;IAC3C,MAAMgB,KAAoB,GAAG;MAC3BC,IAAI,EAAE,OAAO;MACbC,WAAW,EAAET;IACf,CAAC;IAED,IAAIC,QAAQ,EAAE;MACZ,OAAO,IAAIP,aAAa,CAACa,KAAK,CAAC;IACjC;IAEA,OAAOA,KAAK;EACd,CAAC,CAAC;EAEFjB,SAAS,CAAC,MAAM;IACd,IAAIO,UAAU,CAACC,IAAI,CAAC,EAAE;MACpBA,IAAI,CAACY,aAAa,CAAC,CAAC;MACpBZ,IAAI,CACDa,MAAM,CAAC;QACNC,OAAO,EAAE;UAAEJ,IAAI,EAAE,OAAO;UAAEC,WAAW,EAAET;QAAO,CAAC;QAC/Ca,MAAM,EAAEV,uBAAuB;QAC/BW,QAAQ,EAAEZ;MACZ,CAAC,CAAC,CACDa,KAAK,CAAC,CAAC;IACZ,CAAC,MAAM;MACLT,OAAO,CAAC;QAAEE,IAAI,EAAE,OAAO;QAAEC,WAAW,EAAET;MAAO,CAAC,CAAC;IACjD;EACF,CAAC,EAAE,CAACA,MAAM,CAAC,CAAC,CAAC,EAAEA,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;EAE1B,oBACEJ,IAAA,CAACH,QAAQ,CAACuB,aAAa;IACrBlB,IAAI,EAAEA,IAAqD;IAAA,GACvDO;EAAK,CACV,CAAC;AAEN,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { Children } from "react";
|
|
4
|
+
import { Animated, StyleSheet, Text, View } from "react-native";
|
|
5
|
+
import CalloutNativeComponent from "./CalloutNativeComponent";
|
|
6
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
7
|
+
const styles = StyleSheet.create({
|
|
8
|
+
animated: {
|
|
9
|
+
alignItems: "center",
|
|
10
|
+
justifyContent: "center",
|
|
11
|
+
width: 180,
|
|
12
|
+
zIndex: 9999999
|
|
13
|
+
},
|
|
14
|
+
content: {
|
|
15
|
+
backgroundColor: "white",
|
|
16
|
+
borderColor: "rgba(0, 0, 0, 0.2)",
|
|
17
|
+
borderRadius: 3,
|
|
18
|
+
borderWidth: 1,
|
|
19
|
+
flex: 1,
|
|
20
|
+
padding: 8,
|
|
21
|
+
position: "relative"
|
|
22
|
+
},
|
|
23
|
+
tip: {
|
|
24
|
+
backgroundColor: "transparent",
|
|
25
|
+
borderBottomColor: "transparent",
|
|
26
|
+
borderBottomWidth: 0,
|
|
27
|
+
borderLeftColor: "transparent",
|
|
28
|
+
borderLeftWidth: 8,
|
|
29
|
+
borderRightColor: "transparent",
|
|
30
|
+
borderRightWidth: 8,
|
|
31
|
+
borderTopColor: "white",
|
|
32
|
+
borderTopWidth: 16,
|
|
33
|
+
elevation: 0,
|
|
34
|
+
marginTop: -2,
|
|
35
|
+
zIndex: 1000
|
|
36
|
+
},
|
|
37
|
+
title: {
|
|
38
|
+
color: "black",
|
|
39
|
+
textAlign: "center"
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
/**
|
|
43
|
+
* Callout that displays information about a selected annotation near the
|
|
44
|
+
* annotation.
|
|
45
|
+
*/
|
|
46
|
+
export const Callout = ({
|
|
47
|
+
title,
|
|
48
|
+
style,
|
|
49
|
+
animatedStyle,
|
|
50
|
+
contentStyle,
|
|
51
|
+
tipStyle,
|
|
52
|
+
titleStyle,
|
|
53
|
+
children,
|
|
54
|
+
testID,
|
|
55
|
+
...props
|
|
56
|
+
}) => {
|
|
57
|
+
const calloutContent = Children.count(children) > 0 ? /*#__PURE__*/_jsx(Animated.View, {
|
|
58
|
+
testID: testID ? `${testID}-animated` : undefined,
|
|
59
|
+
style: animatedStyle,
|
|
60
|
+
...props,
|
|
61
|
+
children: children
|
|
62
|
+
}) : /*#__PURE__*/_jsxs(Animated.View, {
|
|
63
|
+
testID: testID ? `${testID}-animated` : undefined,
|
|
64
|
+
style: [styles.animated, animatedStyle],
|
|
65
|
+
...props,
|
|
66
|
+
children: [/*#__PURE__*/_jsx(View, {
|
|
67
|
+
testID: testID ? `${testID}-content` : undefined,
|
|
68
|
+
style: [styles.content, contentStyle],
|
|
69
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
70
|
+
testID: testID ? `${testID}-title` : undefined,
|
|
71
|
+
style: [styles.title, titleStyle],
|
|
72
|
+
children: title
|
|
73
|
+
})
|
|
74
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
75
|
+
testID: testID ? `${testID}-tip` : undefined,
|
|
76
|
+
style: [styles.tip, tipStyle]
|
|
77
|
+
})]
|
|
78
|
+
});
|
|
79
|
+
return /*#__PURE__*/_jsx(CalloutNativeComponent, {
|
|
80
|
+
testID: testID,
|
|
81
|
+
style: [{
|
|
82
|
+
position: "absolute",
|
|
83
|
+
zIndex: 999,
|
|
84
|
+
backgroundColor: "transparent"
|
|
85
|
+
}, style],
|
|
86
|
+
children: calloutContent
|
|
87
|
+
});
|
|
88
|
+
};
|
|
89
|
+
//# sourceMappingURL=Callout.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Children","Animated","StyleSheet","Text","View","CalloutNativeComponent","jsx","_jsx","jsxs","_jsxs","styles","create","animated","alignItems","justifyContent","width","zIndex","content","backgroundColor","borderColor","borderRadius","borderWidth","flex","padding","position","tip","borderBottomColor","borderBottomWidth","borderLeftColor","borderLeftWidth","borderRightColor","borderRightWidth","borderTopColor","borderTopWidth","elevation","marginTop","title","color","textAlign","Callout","style","animatedStyle","contentStyle","tipStyle","titleStyle","children","testID","props","calloutContent","count","undefined"],"sourceRoot":"../../../../../src","sources":["components/annotations/callout/Callout.tsx"],"mappings":";;AAAA,SAASA,QAAQ,QAAQ,OAAO;AAChC,SACEC,QAAQ,EACRC,UAAU,EACVC,IAAI,EACJC,IAAI,QAGC,cAAc;AAErB,OAAOC,sBAAsB,MAAM,0BAA0B;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAE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AAA,EAERA;EAAQ,CACI,CAAC,gBAEhBpC,KAAA,CAACR,QAAQ,CAACG,IAAI;IACZ0C,MAAM,EAAEA,MAAM,GAAG,GAAGA,MAAM,WAAW,GAAGI,SAAU;IAClDV,KAAK,EAAE,CAAC9B,MAAM,CAACE,QAAQ,EAAE6B,aAAa,CAAE;IAAA,GACpCM,KAAK;IAAAF,QAAA,gBAETtC,IAAA,CAACH,IAAI;MACH0C,MAAM,EAAEA,MAAM,GAAG,GAAGA,MAAM,UAAU,GAAGI,SAAU;MACjDV,KAAK,EAAE,CAAC9B,MAAM,CAACO,OAAO,EAAEyB,YAAY,CAAE;MAAAG,QAAA,eAEtCtC,IAAA,CAACJ,IAAI;QACH2C,MAAM,EAAEA,MAAM,GAAG,GAAGA,MAAM,QAAQ,GAAGI,SAAU;QAC/CV,KAAK,EAAE,CAAC9B,MAAM,CAAC0B,KAAK,EAAEQ,UAAU,CAAE;QAAAC,QAAA,EAEjCT;MAAK,CACF;IAAC,CACH,CAAC,eACP7B,IAAA,CAACH,IAAI;MACH0C,MAAM,EAAEA,MAAM,GAAG,GAAGA,MAAM,MAAM,GAAGI,SAAU;MAC7CV,KAAK,EAAE,CAAC9B,MAAM,CAACe,GAAG,EAAEkB,QAAQ;IAAE,CAC/B,CAAC;EAAA,CACW,CAChB;EAEH,oBACEpC,IAAA,CAACF,sBAAsB;IACrByC,MAAM,EAAEA,MAAO;IACfN,KAAK,EAAE,CACL;MACEhB,QAAQ,EAAE,UAAU;MACpBR,MAAM,EAAE,GAAG;MACXE,eAAe,EAAE;IACnB,CAAC,EACDsB,KAAK,CACL;IAAAK,QAAA,EAEDG;EAAc,CACO,CAAC;AAE7B,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import {
|
|
2
|
+
codegenNativeComponent,
|
|
3
|
+
type HostComponent,
|
|
4
|
+
type ViewProps,
|
|
5
|
+
} from "react-native";
|
|
6
|
+
|
|
7
|
+
export interface NativeProps extends ViewProps {}
|
|
8
|
+
|
|
9
|
+
export default codegenNativeComponent<NativeProps>(
|
|
10
|
+
"MLRNCallout",
|
|
11
|
+
) as HostComponent<NativeProps>;
|