@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 @@
|
|
|
1
|
+
{"version":3,"names":["_react","require","generatedIdCounter","useFrozenId","id","frozenId","useState","Error"],"sourceRoot":"../../../src","sources":["hooks/useFrozenId.ts"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAEA,IAAIC,kBAAkB,GAAG,CAAC;AAEnB,SAASC,WAAWA,CAACC,EAAW,EAAE;EACvC,MAAM,CAACC,QAAQ,CAAC,GAAG,IAAAC,eAAQ,EAACF,EAAE,GAAGA,EAAE,GAAG,QAAQF,kBAAkB,EAAE,EAAE,CAAC;EAErE,IAAIE,EAAE,IAAIA,EAAE,KAAKC,QAAQ,EAAE;IACzB,MAAM,IAAIE,KAAK,CAAC,wBAAwB,CAAC;EAC3C;EAEA,OAAOF,QAAQ;AACjB","ignoreList":[]}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.useNativeBridge = void 0;
|
|
7
|
+
var _react = require("react");
|
|
8
|
+
var _index = require("../utils/index.js");
|
|
9
|
+
let callbackIncrement = 0;
|
|
10
|
+
const useNativeBridge = _nativeModuleName => {
|
|
11
|
+
const _callbackMap = (0, _react.useRef)(new Map());
|
|
12
|
+
const _preRefMapMethodQueue = (0, _react.useRef)([]);
|
|
13
|
+
const _addAddAndroidCallback = (id, resolve, reject) => {
|
|
14
|
+
_callbackMap.current.set(id, {
|
|
15
|
+
resolve,
|
|
16
|
+
reject
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
const _removeAndroidCallback = id => {
|
|
20
|
+
_callbackMap.current.delete(id);
|
|
21
|
+
};
|
|
22
|
+
const _onAndroidCallback = e => {
|
|
23
|
+
const callbackID = e.nativeEvent.type;
|
|
24
|
+
const callback = _callbackMap.current.get(callbackID);
|
|
25
|
+
if (!callback) {
|
|
26
|
+
return;
|
|
27
|
+
}
|
|
28
|
+
_callbackMap.current.delete(callbackID);
|
|
29
|
+
const {
|
|
30
|
+
payload
|
|
31
|
+
} = e.nativeEvent;
|
|
32
|
+
if (payload.error) {
|
|
33
|
+
callback.reject.call(null, new Error(payload.error));
|
|
34
|
+
} else {
|
|
35
|
+
callback.resolve.call(null, payload);
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
const _runPendingNativeCommands = async nativeRef => {
|
|
39
|
+
if (nativeRef) {
|
|
40
|
+
while (_preRefMapMethodQueue.current.length > 0) {
|
|
41
|
+
const item = _preRefMapMethodQueue.current.pop();
|
|
42
|
+
if (item && item.method && item.resolver) {
|
|
43
|
+
const res = await _runNativeCommand(item.method.name, nativeRef, item.method.args);
|
|
44
|
+
item.resolver(res);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
const _runNativeCommand = (methodName, nativeRef, args = []) => {
|
|
50
|
+
if (!nativeRef) {
|
|
51
|
+
return new Promise(resolve => {
|
|
52
|
+
_preRefMapMethodQueue.current.push({
|
|
53
|
+
method: {
|
|
54
|
+
name: methodName,
|
|
55
|
+
args
|
|
56
|
+
},
|
|
57
|
+
resolver: resolve
|
|
58
|
+
});
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
if ((0, _index.isAndroid)()) {
|
|
62
|
+
return new Promise((resolve, reject) => {
|
|
63
|
+
callbackIncrement += 1;
|
|
64
|
+
const callbackID = `${methodName}_${callbackIncrement}`;
|
|
65
|
+
_addAddAndroidCallback(callbackID, resolve, reject);
|
|
66
|
+
args.unshift(callbackID);
|
|
67
|
+
(0, _index.runNativeCommand)(_nativeModuleName, methodName, nativeRef, args);
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
return (0, _index.runNativeCommand)(_nativeModuleName, methodName, nativeRef, args);
|
|
71
|
+
};
|
|
72
|
+
return {
|
|
73
|
+
_nativeModuleName,
|
|
74
|
+
_onAndroidCallback,
|
|
75
|
+
_callbackMap,
|
|
76
|
+
_preRefMapMethodQueue,
|
|
77
|
+
_addAddAndroidCallback,
|
|
78
|
+
_removeAndroidCallback,
|
|
79
|
+
_runPendingNativeCommands,
|
|
80
|
+
_runNativeCommand
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
exports.useNativeBridge = useNativeBridge;
|
|
84
|
+
//# sourceMappingURL=useNativeBridge.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_react","require","_index","callbackIncrement","useNativeBridge","_nativeModuleName","_callbackMap","useRef","Map","_preRefMapMethodQueue","_addAddAndroidCallback","id","resolve","reject","current","set","_removeAndroidCallback","delete","_onAndroidCallback","e","callbackID","nativeEvent","type","callback","get","payload","error","call","Error","_runPendingNativeCommands","nativeRef","length","item","pop","method","resolver","res","_runNativeCommand","name","args","methodName","Promise","push","isAndroid","unshift","runNativeCommand","exports"],"sourceRoot":"../../../src","sources":["hooks/useNativeBridge.ts"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAOA,IAAAC,MAAA,GAAAD,OAAA;AAOA,IAAIE,iBAAiB,GAAG,CAAC;AAuBlB,MAAMC,eAAwD,GACnEC,iBAAyB,IACtB;EACH,MAAMC,YAAY,GAAG,IAAAC,aAAM,EAAmB,IAAIC,GAAG,CAAC,CAAC,CAAC;EACxD,MAAMC,qBAAqB,GAAG,IAAAF,aAAM,EAAQ,EAAE,CAAC;EAE/C,MAAMG,sBAAsB,GAAGA,CAC7BC,EAAU,EACVC,OAAoC,EACpCC,MAA8B,KACrB;IACTP,YAAY,CAACQ,OAAO,CAACC,GAAG,CAACJ,EAAE,EAAE;MAAEC,OAAO;MAAEC;IAAO,CAAC,CAAC;EACnD,CAAC;EAED,MAAMG,sBAAsB,GAAIL,EAAU,IAAW;IACnDL,YAAY,CAACQ,OAAO,CAACG,MAAM,CAACN,EAAE,CAAC;EACjC,CAAC;EAED,MAAMO,kBAAkB,GAAIC,CAAqC,IAAW;IAC1E,MAAMC,UAAU,GAAGD,CAAC,CAACE,WAAW,CAACC,IAAI;IACrC,MAAMC,QAAQ,GAAGjB,YAAY,CAACQ,OAAO,CAACU,GAAG,CAACJ,UAAU,CAAC;IAErD,IAAI,CAACG,QAAQ,EAAE;MACb;IACF;IAEAjB,YAAY,CAACQ,OAAO,CAACG,MAAM,CAACG,UAAU,CAAC;IACvC,MAAM;MAAEK;IAAQ,CAAC,GAAGN,CAAC,CAACE,WAAW;IACjC,IAAII,OAAO,CAACC,KAAK,EAAE;MACjBH,QAAQ,CAACV,MAAM,CAACc,IAAI,CAAC,IAAI,EAAE,IAAIC,KAAK,CAACH,OAAO,CAACC,KAAK,CAAC,CAAC;IACtD,CAAC,MAAM;MACLH,QAAQ,CAACX,OAAO,CAACe,IAAI,CAAC,IAAI,EAAEF,OAAO,CAAC;IACtC;EACF,CAAC;EAED,MAAMI,yBAAyB,GAAG,MAChCC,SAAqC,IACnB;IAClB,IAAIA,SAAS,EAAE;MACb,OAAOrB,qBAAqB,CAACK,OAAO,CAACiB,MAAM,GAAG,CAAC,EAAE;QAC/C,MAAMC,IAAI,GAAGvB,qBAAqB,CAACK,OAAO,CAACmB,GAAG,CAAC,CAAC;QAEhD,IAAID,IAAI,IAAIA,IAAI,CAACE,MAAM,IAAIF,IAAI,CAACG,QAAQ,EAAE;UACxC,MAAMC,GAAG,GAAG,MAAMC,iBAAiB,CACjCL,IAAI,CAACE,MAAM,CAACI,IAAI,EAChBR,SAAS,EACTE,IAAI,CAACE,MAAM,CAACK,IACd,CAAC;UACDP,IAAI,CAACG,QAAQ,CAACC,GAAG,CAAC;QACpB;MACF;IACF;EACF,CAAC;EAED,MAAMC,iBAAiB,GAAGA,CACxBG,UAAkB,EAClBV,SAAqC,EACrCS,IAAiB,GAAG,EAAE,KACE;IACxB,IAAI,CAACT,SAAS,EAAE;MACd,OAAO,IAAIW,OAAO,CAAE7B,OAAO,IAAK;QAC9BH,qBAAqB,CAACK,OAAO,CAAC4B,IAAI,CAAC;UACjCR,MAAM,EAAE;YAAEI,IAAI,EAAEE,UAAU;YAAED;UAAK,CAAC;UAClCJ,QAAQ,EAAEvB;QACZ,CAAC,CAAC;MACJ,CAAC,CAAC;IACJ;IAEA,IAAI,IAAA+B,gBAAS,EAAC,CAAC,EAAE;MACf,OAAO,IAAIF,OAAO,CAAC,CAAC7B,OAAO,EAAEC,MAAM,KAAK;QACtCV,iBAAiB,IAAI,CAAC;QACtB,MAAMiB,UAAU,GAAG,GAAGoB,UAAU,IAAIrC,iBAAiB,EAAE;QACvDO,sBAAsB,CAACU,UAAU,EAAER,OAAO,EAAEC,MAAM,CAAC;QACnD0B,IAAI,CAACK,OAAO,CAACxB,UAAU,CAAC;QACxB,IAAAyB,uBAAgB,EAACxC,iBAAiB,EAAEmC,UAAU,EAAEV,SAAS,EAAES,IAAI,CAAC;MAClE,CAAC,CAAC;IACJ;IACA,OAAO,IAAAM,uBAAgB,EAACxC,iBAAiB,EAAEmC,UAAU,EAAEV,SAAS,EAAES,IAAI,CAAC;EACzE,CAAC;EAED,OAAO;IACLlC,iBAAiB;IACjBa,kBAAkB;IAClBZ,YAAY;IACZG,qBAAqB;IACrBC,sBAAsB;IACtBM,sBAAsB;IACtBa,yBAAyB;IACzBQ;EACF,CAAC;AACH,CAAC;AAACS,OAAA,CAAA1C,eAAA,GAAAA,eAAA","ignoreList":[]}
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "Animated", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function () {
|
|
9
|
+
return _Animated.Animated;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "Callout", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () {
|
|
15
|
+
return _Callout.Callout;
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
Object.defineProperty(exports, "Camera", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () {
|
|
21
|
+
return _Camera.Camera;
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
Object.defineProperty(exports, "GeoJSONSource", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function () {
|
|
27
|
+
return _GeoJSONSource.GeoJSONSource;
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
Object.defineProperty(exports, "ImageSource", {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
get: function () {
|
|
33
|
+
return _ImageSource.ImageSource;
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
Object.defineProperty(exports, "Images", {
|
|
37
|
+
enumerable: true,
|
|
38
|
+
get: function () {
|
|
39
|
+
return _Images.Images;
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
Object.defineProperty(exports, "Layer", {
|
|
43
|
+
enumerable: true,
|
|
44
|
+
get: function () {
|
|
45
|
+
return _Layer.Layer;
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
Object.defineProperty(exports, "LayerAnnotation", {
|
|
49
|
+
enumerable: true,
|
|
50
|
+
get: function () {
|
|
51
|
+
return _LayerAnnotation.LayerAnnotation;
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
Object.defineProperty(exports, "LocationManager", {
|
|
55
|
+
enumerable: true,
|
|
56
|
+
get: function () {
|
|
57
|
+
return _LocationManager.LocationManager;
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
Object.defineProperty(exports, "LogManager", {
|
|
61
|
+
enumerable: true,
|
|
62
|
+
get: function () {
|
|
63
|
+
return _LogManager.LogManager;
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
Object.defineProperty(exports, "Map", {
|
|
67
|
+
enumerable: true,
|
|
68
|
+
get: function () {
|
|
69
|
+
return _Map.Map;
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
Object.defineProperty(exports, "Marker", {
|
|
73
|
+
enumerable: true,
|
|
74
|
+
get: function () {
|
|
75
|
+
return _Marker.Marker;
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
Object.defineProperty(exports, "NativeUserLocation", {
|
|
79
|
+
enumerable: true,
|
|
80
|
+
get: function () {
|
|
81
|
+
return _NativeUserLocation.NativeUserLocation;
|
|
82
|
+
}
|
|
83
|
+
});
|
|
84
|
+
Object.defineProperty(exports, "NetworkManager", {
|
|
85
|
+
enumerable: true,
|
|
86
|
+
get: function () {
|
|
87
|
+
return _NetworkManager.NetworkManager;
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
Object.defineProperty(exports, "OfflineManager", {
|
|
91
|
+
enumerable: true,
|
|
92
|
+
get: function () {
|
|
93
|
+
return _OfflineManager.OfflineManager;
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
Object.defineProperty(exports, "OfflinePack", {
|
|
97
|
+
enumerable: true,
|
|
98
|
+
get: function () {
|
|
99
|
+
return _OfflinePack.OfflinePack;
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
Object.defineProperty(exports, "RasterDEMSource", {
|
|
103
|
+
enumerable: true,
|
|
104
|
+
get: function () {
|
|
105
|
+
return _RasterDEMSource.RasterDEMSource;
|
|
106
|
+
}
|
|
107
|
+
});
|
|
108
|
+
Object.defineProperty(exports, "RasterSource", {
|
|
109
|
+
enumerable: true,
|
|
110
|
+
get: function () {
|
|
111
|
+
return _RasterSource.RasterSource;
|
|
112
|
+
}
|
|
113
|
+
});
|
|
114
|
+
Object.defineProperty(exports, "StaticMapImageManager", {
|
|
115
|
+
enumerable: true,
|
|
116
|
+
get: function () {
|
|
117
|
+
return _StaticMapManager.StaticMapImageManager;
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
Object.defineProperty(exports, "TransformRequestManager", {
|
|
121
|
+
enumerable: true,
|
|
122
|
+
get: function () {
|
|
123
|
+
return _TransformRequestManager.TransformRequestManager;
|
|
124
|
+
}
|
|
125
|
+
});
|
|
126
|
+
Object.defineProperty(exports, "UserLocation", {
|
|
127
|
+
enumerable: true,
|
|
128
|
+
get: function () {
|
|
129
|
+
return _UserLocation.UserLocation;
|
|
130
|
+
}
|
|
131
|
+
});
|
|
132
|
+
Object.defineProperty(exports, "VectorSource", {
|
|
133
|
+
enumerable: true,
|
|
134
|
+
get: function () {
|
|
135
|
+
return _VectorSource.VectorSource;
|
|
136
|
+
}
|
|
137
|
+
});
|
|
138
|
+
Object.defineProperty(exports, "ViewAnnotation", {
|
|
139
|
+
enumerable: true,
|
|
140
|
+
get: function () {
|
|
141
|
+
return _ViewAnnotation.ViewAnnotation;
|
|
142
|
+
}
|
|
143
|
+
});
|
|
144
|
+
Object.defineProperty(exports, "useCurrentPosition", {
|
|
145
|
+
enumerable: true,
|
|
146
|
+
get: function () {
|
|
147
|
+
return _useCurrentPosition.useCurrentPosition;
|
|
148
|
+
}
|
|
149
|
+
});
|
|
150
|
+
var _Camera = require("./components/camera/Camera.js");
|
|
151
|
+
var _Map = require("./components/map/Map.js");
|
|
152
|
+
var _ViewAnnotation = require("./components/annotations/view-annotation/ViewAnnotation.js");
|
|
153
|
+
var _LayerAnnotation = require("./components/annotations/LayerAnnotation.js");
|
|
154
|
+
var _Callout = require("./components/annotations/callout/Callout.js");
|
|
155
|
+
var _NativeUserLocation = require("./components/user-location/NativeUserLocation.js");
|
|
156
|
+
var _UserLocation = require("./components/user-location/UserLocation.js");
|
|
157
|
+
var _useCurrentPosition = require("./hooks/useCurrentPosition.js");
|
|
158
|
+
var _ImageSource = require("./components/sources/image-source/ImageSource.js");
|
|
159
|
+
var _GeoJSONSource = require("./components/sources/geojson-source/GeoJSONSource.js");
|
|
160
|
+
var _RasterDEMSource = require("./components/sources/raster-dem-source/RasterDEMSource.js");
|
|
161
|
+
var _RasterSource = require("./components/sources/raster-source/RasterSource.js");
|
|
162
|
+
var _VectorSource = require("./components/sources/vector-source/VectorSource.js");
|
|
163
|
+
var _Layer = require("./components/layer/Layer.js");
|
|
164
|
+
var _Images = require("./components/images/Images.js");
|
|
165
|
+
var _Marker = require("./components/annotations/marker/Marker.js");
|
|
166
|
+
var _LocationManager = require("./modules/location/LocationManager.js");
|
|
167
|
+
var _LogManager = require("./modules/log/LogManager.js");
|
|
168
|
+
var _NetworkManager = require("./modules/network/NetworkManager.js");
|
|
169
|
+
var _OfflineManager = require("./modules/offline/OfflineManager.js");
|
|
170
|
+
var _OfflinePack = require("./modules/offline/OfflinePack.js");
|
|
171
|
+
var _StaticMapManager = require("./modules/static-map/StaticMapManager.js");
|
|
172
|
+
var _TransformRequestManager = require("./modules/transform-request/TransformRequestManager.js");
|
|
173
|
+
var _Animated = require("./utils/animated/Animated.js");
|
|
174
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_Camera","require","_Map","_ViewAnnotation","_LayerAnnotation","_Callout","_NativeUserLocation","_UserLocation","_useCurrentPosition","_ImageSource","_GeoJSONSource","_RasterDEMSource","_RasterSource","_VectorSource","_Layer","_Images","_Marker","_LocationManager","_LogManager","_NetworkManager","_OfflineManager","_OfflinePack","_StaticMapManager","_TransformRequestManager","_Animated"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAOA,IAAAC,IAAA,GAAAD,OAAA;AAKA,IAAAE,eAAA,GAAAF,OAAA;AAIA,IAAAG,gBAAA,GAAAH,OAAA;AAIA,IAAAI,QAAA,GAAAJ,OAAA;AAIA,IAAAK,mBAAA,GAAAL,OAAA;AACA,IAAAM,aAAA,GAAAN,OAAA;AACA,IAAAO,mBAAA,GAAAP,OAAA;AAEA,IAAAQ,YAAA,GAAAR,OAAA;AAIA,IAAAS,cAAA,GAAAT,OAAA;AAIA,IAAAU,gBAAA,GAAAV,OAAA;AAGA,IAAAW,aAAA,GAAAX,OAAA;AAIA,IAAAY,aAAA,GAAAZ,OAAA;AAIA,IAAAa,MAAA,GAAAb,OAAA;AAmBA,IAAAc,OAAA,GAAAd,OAAA;AAIA,IAAAe,OAAA,GAAAf,OAAA;AAMA,IAAAgB,gBAAA,GAAAhB,OAAA;AAKA,IAAAiB,WAAA,GAAAjB,OAAA;AAEA,IAAAkB,eAAA,GAAAlB,OAAA;AAEA,IAAAmB,eAAA,GAAAnB,OAAA;AAMA,IAAAoB,YAAA,GAAApB,OAAA;AAKA,IAAAqB,iBAAA,GAAArB,OAAA;AAIA,IAAAsB,wBAAA,GAAAtB,OAAA;AAgBA,IAAAuB,SAAA,GAAAvB,OAAA","ignoreList":[]}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.LocationManager = void 0;
|
|
7
|
+
var _reactNative = require("react-native");
|
|
8
|
+
var _NativeLocationModule = _interopRequireDefault(require("./NativeLocationModule.js"));
|
|
9
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
10
|
+
class LocationManager {
|
|
11
|
+
listeners = [];
|
|
12
|
+
currentPosition = undefined;
|
|
13
|
+
isListening = false;
|
|
14
|
+
subscription = undefined;
|
|
15
|
+
constructor() {
|
|
16
|
+
this.handleUpdate = this.handleUpdate.bind(this);
|
|
17
|
+
}
|
|
18
|
+
async getCurrentPosition() {
|
|
19
|
+
let currentPosition;
|
|
20
|
+
try {
|
|
21
|
+
currentPosition = await _NativeLocationModule.default.getCurrentPosition();
|
|
22
|
+
} catch (error) {
|
|
23
|
+
console.log("LocationManager [error]: ", error);
|
|
24
|
+
}
|
|
25
|
+
this.currentPosition = currentPosition;
|
|
26
|
+
return this.currentPosition;
|
|
27
|
+
}
|
|
28
|
+
addListener(newListener) {
|
|
29
|
+
if (!this.isListening) {
|
|
30
|
+
this.start();
|
|
31
|
+
}
|
|
32
|
+
if (!this.listeners.includes(newListener)) {
|
|
33
|
+
this.listeners.push(newListener);
|
|
34
|
+
if (this.currentPosition) {
|
|
35
|
+
newListener(this.currentPosition);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
removeListener(oldListener) {
|
|
40
|
+
this.listeners = this.listeners.filter(listener => listener !== oldListener);
|
|
41
|
+
if (this.listeners.length === 0) {
|
|
42
|
+
this.stop();
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
removeAllListeners() {
|
|
46
|
+
this.listeners = [];
|
|
47
|
+
this.stop();
|
|
48
|
+
}
|
|
49
|
+
start() {
|
|
50
|
+
if (!this.isListening) {
|
|
51
|
+
_NativeLocationModule.default.start();
|
|
52
|
+
this.subscription = _NativeLocationModule.default.onUpdate(this.handleUpdate);
|
|
53
|
+
this.isListening = true;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
stop() {
|
|
57
|
+
_NativeLocationModule.default.stop();
|
|
58
|
+
if (this.isListening) {
|
|
59
|
+
this.subscription?.remove();
|
|
60
|
+
}
|
|
61
|
+
this.isListening = false;
|
|
62
|
+
}
|
|
63
|
+
setMinDisplacement(minDisplacement) {
|
|
64
|
+
_NativeLocationModule.default.setMinDisplacement(minDisplacement);
|
|
65
|
+
}
|
|
66
|
+
handleUpdate(location) {
|
|
67
|
+
this.currentPosition = location;
|
|
68
|
+
this.listeners.forEach(listener => listener(location));
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Request location permissions
|
|
73
|
+
*
|
|
74
|
+
* Requests the following:
|
|
75
|
+
* - Android: `ACCESS_FINE_LOCATION`, `ACCESS_COARSE_LOCATION`
|
|
76
|
+
* - iOS: `requestWhenInUseAuthorization`
|
|
77
|
+
*
|
|
78
|
+
* @returns Promise resolves to true if permissions were granted, false otherwise
|
|
79
|
+
*/
|
|
80
|
+
async requestPermissions() {
|
|
81
|
+
if (_reactNative.Platform.OS === "android") {
|
|
82
|
+
const res = await _reactNative.PermissionsAndroid.requestMultiple([_reactNative.PermissionsAndroid.PERMISSIONS.ACCESS_FINE_LOCATION, _reactNative.PermissionsAndroid.PERMISSIONS.ACCESS_COARSE_LOCATION]);
|
|
83
|
+
return Object.values(res).every(permission => permission === _reactNative.PermissionsAndroid.RESULTS.GRANTED);
|
|
84
|
+
}
|
|
85
|
+
if (_reactNative.Platform.OS === "ios") {
|
|
86
|
+
try {
|
|
87
|
+
await _NativeLocationModule.default.requestPermissions();
|
|
88
|
+
return true;
|
|
89
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
90
|
+
} catch (_error) {
|
|
91
|
+
return false;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
return false;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
const locationManager = exports.LocationManager = new LocationManager();
|
|
98
|
+
//# sourceMappingURL=LocationManager.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_NativeLocationModule","_interopRequireDefault","e","__esModule","default","LocationManager","listeners","currentPosition","undefined","isListening","subscription","constructor","handleUpdate","bind","getCurrentPosition","NativeLocationModule","error","console","log","addListener","newListener","start","includes","push","removeListener","oldListener","filter","listener","length","stop","removeAllListeners","onUpdate","remove","setMinDisplacement","minDisplacement","location","forEach","requestPermissions","Platform","OS","res","PermissionsAndroid","requestMultiple","PERMISSIONS","ACCESS_FINE_LOCATION","ACCESS_COARSE_LOCATION","Object","values","every","permission","RESULTS","GRANTED","_error","locationManager","exports"],"sourceRoot":"../../../../src","sources":["modules/location/LocationManager.ts"],"mappings":"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","ignoreList":[]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _reactNative = require("react-native");
|
|
8
|
+
var _default = exports.default = _reactNative.TurboModuleRegistry.getEnforcing("MLRNLocationModule");
|
|
9
|
+
//# sourceMappingURL=NativeLocationModule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_default","exports","default","TurboModuleRegistry","getEnforcing"],"sourceRoot":"../../../../src","sources":["modules/location/NativeLocationModule.ts"],"mappings":";;;;;;AACA,IAAAA,YAAA,GAAAC,OAAA;AAAmD,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GA+BpCC,gCAAmB,CAACC,YAAY,CAAO,oBAAoB,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.LogManager = void 0;
|
|
7
|
+
var _NativeLogModule = _interopRequireDefault(require("./NativeLogModule.js"));
|
|
8
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
9
|
+
/**
|
|
10
|
+
* Log levels in decreasing order of severity
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Handler for `onLog` events
|
|
15
|
+
*
|
|
16
|
+
* Called before logging a message, return false to proceed with default
|
|
17
|
+
* logging.
|
|
18
|
+
*
|
|
19
|
+
* @param event -
|
|
20
|
+
*/
|
|
21
|
+
|
|
22
|
+
class LogManager {
|
|
23
|
+
logLevel = "warn";
|
|
24
|
+
startedCount = 0;
|
|
25
|
+
logHandler = undefined;
|
|
26
|
+
subscription = undefined;
|
|
27
|
+
constructor() {
|
|
28
|
+
this.handleLog = this.handleLog.bind(this);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Override logging behavior
|
|
33
|
+
*
|
|
34
|
+
* @param logHandler -
|
|
35
|
+
*/
|
|
36
|
+
onLog(logHandler) {
|
|
37
|
+
this.logHandler = logHandler;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Set the minimum log level for a message to be logged
|
|
42
|
+
*
|
|
43
|
+
* @param level - Minimum log level
|
|
44
|
+
*/
|
|
45
|
+
setLogLevel(level) {
|
|
46
|
+
this.logLevel = level;
|
|
47
|
+
_NativeLogModule.default.setLogLevel(level);
|
|
48
|
+
}
|
|
49
|
+
start() {
|
|
50
|
+
if (this.startedCount === 0) {
|
|
51
|
+
this.subscribe();
|
|
52
|
+
}
|
|
53
|
+
this.startedCount += 1;
|
|
54
|
+
}
|
|
55
|
+
stop() {
|
|
56
|
+
this.startedCount -= 1;
|
|
57
|
+
if (this.startedCount === 0) {
|
|
58
|
+
this.unsubscribe();
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
subscribe() {
|
|
62
|
+
this.subscription = _NativeLogModule.default.onLog(this.handleLog);
|
|
63
|
+
}
|
|
64
|
+
unsubscribe() {
|
|
65
|
+
if (this.subscription) {
|
|
66
|
+
this.subscription.remove();
|
|
67
|
+
this.subscription = undefined;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
effectiveLevel({
|
|
71
|
+
level,
|
|
72
|
+
message,
|
|
73
|
+
tag
|
|
74
|
+
}) {
|
|
75
|
+
// Reduce level of cancelled HTTP requests from warn to info
|
|
76
|
+
if (level === "warn" && tag === "Mbgl-HttpRequest" && message.startsWith("Request failed due to a permanent error: Canceled")) {
|
|
77
|
+
return "info";
|
|
78
|
+
}
|
|
79
|
+
return level;
|
|
80
|
+
}
|
|
81
|
+
handleLog(log) {
|
|
82
|
+
if (!this.logHandler || !this.logHandler(log)) {
|
|
83
|
+
const {
|
|
84
|
+
message,
|
|
85
|
+
tag
|
|
86
|
+
} = log;
|
|
87
|
+
const level = this.effectiveLevel(log);
|
|
88
|
+
const consoleMessage = `MapVina Native [${level.toUpperCase()}] [${tag}] ${message}`;
|
|
89
|
+
if (level === "error") {
|
|
90
|
+
console.error(consoleMessage);
|
|
91
|
+
} else if (level === "warn" && this.logLevel !== "error") {
|
|
92
|
+
console.warn(consoleMessage);
|
|
93
|
+
} else if (this.logLevel !== "error" && this.logLevel !== "warn") {
|
|
94
|
+
console.info(consoleMessage);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
const logManager = exports.LogManager = new LogManager();
|
|
100
|
+
//# sourceMappingURL=LogManager.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_NativeLogModule","_interopRequireDefault","require","e","__esModule","default","LogManager","logLevel","startedCount","logHandler","undefined","subscription","constructor","handleLog","bind","onLog","setLogLevel","level","NativeLogModule","start","subscribe","stop","unsubscribe","remove","effectiveLevel","message","tag","startsWith","log","consoleMessage","toUpperCase","console","error","warn","info","logManager","exports"],"sourceRoot":"../../../../src","sources":["modules/log/LogManager.ts"],"mappings":"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","ignoreList":[]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _reactNative = require("react-native");
|
|
8
|
+
var _default = exports.default = _reactNative.TurboModuleRegistry.getEnforcing("MLRNLogModule");
|
|
9
|
+
//# sourceMappingURL=NativeLogModule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_default","exports","default","TurboModuleRegistry","getEnforcing"],"sourceRoot":"../../../../src","sources":["modules/log/NativeLogModule.ts"],"mappings":";;;;;;AACA,IAAAA,YAAA,GAAAC,OAAA;AAAmD,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAcpCC,gCAAmB,CAACC,YAAY,CAAO,eAAe,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _reactNative = require("react-native");
|
|
8
|
+
var _default = exports.default = _reactNative.TurboModuleRegistry.getEnforcing("MLRNNetworkModule");
|
|
9
|
+
//# sourceMappingURL=NativeNetworkModule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_default","exports","default","TurboModuleRegistry","getEnforcing"],"sourceRoot":"../../../../src","sources":["modules/network/NativeNetworkModule.ts"],"mappings":";;;;;;AACA,IAAAA,YAAA,GAAAC,OAAA;AAAmD,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAMpCC,gCAAmB,CAACC,YAAY,CAAO,mBAAmB,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.NetworkManager = void 0;
|
|
7
|
+
var _NativeNetworkModule = _interopRequireDefault(require("./NativeNetworkModule.js"));
|
|
8
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
9
|
+
/**
|
|
10
|
+
* NetworkManager provides methods for managing and controlling network
|
|
11
|
+
* connectivity.
|
|
12
|
+
*/
|
|
13
|
+
class NetworkManager {
|
|
14
|
+
/**
|
|
15
|
+
* Android only: Sets the connectivity state of the map. When set to false, the
|
|
16
|
+
* map will not make any network requests and will only use cached tiles. This
|
|
17
|
+
* is useful for implementing offline mode or reducing data usage.
|
|
18
|
+
*
|
|
19
|
+
* @param connected - Whether the map should be connected to the network
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```ts
|
|
23
|
+
* // Enable offline mode
|
|
24
|
+
* NetworkManager.setConnected(false);
|
|
25
|
+
* // Re-enable network requests
|
|
26
|
+
* NetworkManager.setConnected(true);
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
static setConnected(connected) {
|
|
30
|
+
_NativeNetworkModule.default.setConnected(connected);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
exports.NetworkManager = NetworkManager;
|
|
34
|
+
//# sourceMappingURL=NetworkManager.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_NativeNetworkModule","_interopRequireDefault","require","e","__esModule","default","NetworkManager","setConnected","connected","NativeNetworkModule","exports"],"sourceRoot":"../../../../src","sources":["modules/network/NetworkManager.ts"],"mappings":";;;;;;AAAA,IAAAA,oBAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAwD,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAExD;AACA;AACA;AACA;AACA,MAAMG,cAAc,CAAC;EACnB;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACE,OAAOC,YAAYA,CAACC,SAAkB,EAAQ;IAC5CC,4BAAmB,CAACF,YAAY,CAACC,SAAS,CAAC;EAC7C;AACF;AAACE,OAAA,CAAAJ,cAAA,GAAAA,cAAA","ignoreList":[]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _reactNative = require("react-native");
|
|
8
|
+
var _default = exports.default = _reactNative.TurboModuleRegistry.getEnforcing("MLRNOfflineModule");
|
|
9
|
+
//# sourceMappingURL=NativeOfflineModule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_reactNative","require","_default","exports","default","TurboModuleRegistry","getEnforcing"],"sourceRoot":"../../../../src","sources":["modules/offline/NativeOfflineModule.ts"],"mappings":";;;;;;AACA,IAAAA,YAAA,GAAAC,OAAA;AAAmD,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GA6DpCC,gCAAmB,CAACC,YAAY,CAAO,mBAAmB,CAAC","ignoreList":[]}
|