@maplibre/maplibre-react-native 11.0.0-beta.3 → 11.0.0-beta.30
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/MapLibreReactNative.podspec +1 -1
- package/android/build.gradle +3 -1
- package/android/gradle.properties +2 -2
- package/android/src/main/java/org/maplibre/reactnative/MLRNPackage.kt +14 -1
- package/android/src/main/java/org/maplibre/reactnative/components/annotations/markerview/MLRNMarkerView.kt +35 -28
- package/android/src/main/java/org/maplibre/reactnative/components/annotations/markerview/MLRNMarkerViewContent.kt +9 -14
- package/android/src/main/java/org/maplibre/reactnative/components/annotations/markerview/MLRNMarkerViewManager.kt +8 -1
- package/android/src/main/java/org/maplibre/reactnative/components/annotations/markerview/MarkerViewManager.kt +20 -13
- package/android/src/main/java/org/maplibre/reactnative/components/annotations/pointannotation/MLRNPointAnnotation.kt +45 -25
- package/android/src/main/java/org/maplibre/reactnative/components/annotations/pointannotation/MLRNPointAnnotationManager.kt +2 -1
- package/android/src/main/java/org/maplibre/reactnative/components/layer/style/MLRNStyleFactory.java +4 -4
- package/android/src/main/java/org/maplibre/reactnative/components/mapview/MLRNMapView.kt +236 -123
- package/android/src/main/java/org/maplibre/reactnative/components/mapview/MLRNMapViewManager.kt +37 -3
- package/android/src/main/java/org/maplibre/reactnative/components/mapview/MLRNMapViewModule.kt +3 -1
- package/android/src/main/java/org/maplibre/reactnative/modules/MLRNLogModule.kt +2 -0
- package/android/src/main/java/org/maplibre/reactnative/modules/MLRNNetworkModule.kt +0 -42
- package/android/src/main/java/org/maplibre/reactnative/modules/MLRNOfflineModule.kt +27 -4
- package/android/src/main/java/org/maplibre/reactnative/modules/MLRNTransformRequestModule.kt +144 -0
- package/android/src/main/java/org/maplibre/reactnative/modules/TransformRequestInterceptor.kt +184 -0
- package/ios/components/annotations/point-annotation/MLRNPointAnnotation.h +3 -2
- package/ios/components/annotations/point-annotation/MLRNPointAnnotation.m +65 -2
- package/ios/components/annotations/point-annotation/MLRNPointAnnotationComponentView.mm +27 -19
- package/ios/components/camera/MLRNCameraComponentView.mm +5 -4
- package/ios/components/images/MLRNImageLoader.h +27 -0
- package/ios/components/images/MLRNImageLoader.m +85 -0
- package/ios/components/images/MLRNImageQueue.h +2 -2
- package/ios/components/images/MLRNImageQueue.m +2 -2
- package/ios/components/images/MLRNImageQueueOperation.h +2 -2
- package/ios/components/images/MLRNImageQueueOperation.m +3 -3
- package/ios/components/images/MLRNImages.h +0 -3
- package/ios/components/images/MLRNImages.m +6 -6
- package/ios/components/images/MLRNImagesComponentView.mm +0 -3
- package/ios/components/images/MLRNImagesModule.h +6 -0
- package/ios/components/images/MLRNImagesModule.mm +23 -0
- package/ios/components/layer/MLRNLayer.h +0 -3
- package/ios/components/layer/MLRNLayer.m +0 -1
- package/ios/components/layer/MLRNLayerComponentView.mm +12 -11
- package/ios/components/layer/style/MLRNStyle.h +1 -3
- package/ios/components/layer/style/MLRNStyle.m +68 -71
- package/ios/components/map-view/MLRNMapView.h +8 -1
- package/ios/components/map-view/MLRNMapView.m +106 -24
- package/ios/components/map-view/MLRNMapViewComponentView.mm +29 -5
- package/ios/components/map-view/MLRNMapViewModule.mm +1 -1
- package/ios/components/sources/geojson-source/MLRNGeoJSONSource.h +0 -3
- package/ios/components/sources/image-source/MLRNImageSourceComponentView.mm +1 -1
- package/ios/components/sources/tile-sources/raster-source/MLRNRasterSourceComponentView.mm +2 -3
- package/ios/components/sources/tile-sources/vector-source/MLRNVectorSourceComponentView.mm +2 -3
- package/ios/modules/logging/MLRNLogging.h +4 -0
- package/ios/modules/logging/MLRNLogging.m +8 -0
- package/ios/modules/network/MLRNNetworkModule.mm +0 -10
- package/ios/modules/offline/MLRNOfflineModule.h +1 -2
- package/ios/modules/offline/MLRNOfflineModule.mm +9 -9
- 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/MLRNUtils.h +0 -14
- package/ios/utils/MLRNUtils.m +0 -71
- package/lib/commonjs/components/annotations/callout/Callout.js +2 -1
- package/lib/commonjs/components/annotations/callout/Callout.js.map +1 -1
- package/lib/commonjs/components/annotations/marker/Marker.js +21 -3
- package/lib/commonjs/components/annotations/marker/Marker.js.map +1 -1
- package/lib/commonjs/components/annotations/marker/MarkerViewNativeComponent.ts +12 -2
- package/lib/commonjs/components/annotations/view-annotation/PointAnnotationNativeComponent.ts +5 -4
- package/lib/commonjs/components/annotations/view-annotation/ViewAnnotation.js +25 -19
- package/lib/commonjs/components/annotations/view-annotation/ViewAnnotation.js.map +1 -1
- package/lib/commonjs/components/camera/Camera.js +52 -3
- package/lib/commonjs/components/camera/Camera.js.map +1 -1
- package/lib/commonjs/components/images/Images.js +12 -2
- package/lib/commonjs/components/images/Images.js.map +1 -1
- 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 +35 -70
- package/lib/commonjs/components/layer/Layer.js.map +1 -1
- package/lib/commonjs/components/map/AndroidTextureMapViewNativeComponent.ts +7 -2
- package/lib/commonjs/components/map/Map.js +29 -4
- package/lib/commonjs/components/map/Map.js.map +1 -1
- package/lib/commonjs/components/map/MapViewNativeComponent.ts +6 -1
- package/lib/commonjs/components/sources/geojson-source/GeoJSONSource.js +6 -5
- package/lib/commonjs/components/sources/geojson-source/GeoJSONSource.js.map +1 -1
- package/lib/commonjs/components/sources/image-source/ImageSource.js +3 -2
- package/lib/commonjs/components/sources/image-source/ImageSource.js.map +1 -1
- package/lib/commonjs/components/sources/raster-source/RasterSource.js +4 -3
- package/lib/commonjs/components/sources/raster-source/RasterSource.js.map +1 -1
- package/lib/commonjs/components/sources/vector-source/VectorSource.js +8 -5
- package/lib/commonjs/components/sources/vector-source/VectorSource.js.map +1 -1
- package/lib/commonjs/components/user-location/NativeUserLocation.js.map +1 -1
- package/lib/commonjs/components/user-location/UserLocation.js +21 -12
- package/lib/commonjs/components/user-location/UserLocation.js.map +1 -1
- package/lib/commonjs/components/user-location/UserLocationPuck.js +16 -16
- package/lib/commonjs/components/user-location/UserLocationPuck.js.map +1 -1
- package/lib/commonjs/components/user-location/UserLocationPuckHeading.js +8 -10
- package/lib/commonjs/components/user-location/UserLocationPuckHeading.js.map +1 -1
- package/lib/commonjs/index.js +7 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/modules/log/LogManager.js +5 -4
- package/lib/commonjs/modules/log/LogManager.js.map +1 -1
- package/lib/commonjs/modules/network/NativeNetworkModule.js.map +1 -1
- package/lib/commonjs/modules/network/NetworkManager.js +6 -44
- package/lib/commonjs/modules/network/NetworkManager.js.map +1 -1
- package/lib/commonjs/modules/offline/OfflineManager.js +109 -62
- package/lib/commonjs/modules/offline/OfflineManager.js.map +1 -1
- package/lib/commonjs/modules/static-map/StaticMapManager.js +13 -5
- package/lib/commonjs/modules/static-map/StaticMapManager.js.map +1 -1
- 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/plugin/ios.js +28 -15
- package/lib/commonjs/plugin/ios.js.map +1 -1
- package/lib/commonjs/types/Anchor.js +5 -6
- package/lib/commonjs/types/Anchor.js.map +1 -1
- package/lib/commonjs/types/PressableSourceProps.js.map +1 -0
- package/lib/commonjs/utils/animated/AbstractAnimatedCoordinates.js +2 -2
- package/lib/commonjs/utils/animated/AnimatedCoordinatesArray.js +6 -6
- package/lib/commonjs/utils/animated/AnimatedGeoJSON.js +2 -1
- package/lib/commonjs/utils/animated/AnimatedGeoJSON.js.map +1 -1
- package/lib/commonjs/utils/animated/AnimatedRouteCoordinatesArray.js +6 -6
- package/lib/commonjs/utils/convertStyleSpec.js +4 -4
- package/lib/commonjs/utils/getStylePropertyType.js +1 -1
- package/lib/module/components/annotations/callout/Callout.js +2 -1
- package/lib/module/components/annotations/callout/Callout.js.map +1 -1
- package/lib/module/components/annotations/marker/Marker.js +22 -4
- package/lib/module/components/annotations/marker/Marker.js.map +1 -1
- package/lib/module/components/annotations/marker/MarkerViewNativeComponent.ts +12 -2
- package/lib/module/components/annotations/view-annotation/PointAnnotationNativeComponent.ts +5 -4
- package/lib/module/components/annotations/view-annotation/ViewAnnotation.js +25 -20
- package/lib/module/components/annotations/view-annotation/ViewAnnotation.js.map +1 -1
- package/lib/module/components/camera/Camera.js +53 -4
- package/lib/module/components/camera/Camera.js.map +1 -1
- package/lib/module/components/images/Images.js +12 -2
- package/lib/module/components/images/Images.js.map +1 -1
- 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 +35 -70
- package/lib/module/components/layer/Layer.js.map +1 -1
- package/lib/module/components/map/AndroidTextureMapViewNativeComponent.ts +7 -2
- package/lib/module/components/map/Map.js +30 -5
- package/lib/module/components/map/Map.js.map +1 -1
- package/lib/module/components/map/MapViewNativeComponent.ts +6 -1
- package/lib/module/components/sources/geojson-source/GeoJSONSource.js +7 -6
- package/lib/module/components/sources/geojson-source/GeoJSONSource.js.map +1 -1
- package/lib/module/components/sources/image-source/ImageSource.js +3 -2
- package/lib/module/components/sources/image-source/ImageSource.js.map +1 -1
- package/lib/module/components/sources/raster-source/RasterSource.js +4 -3
- package/lib/module/components/sources/raster-source/RasterSource.js.map +1 -1
- package/lib/module/components/sources/vector-source/VectorSource.js +9 -6
- package/lib/module/components/sources/vector-source/VectorSource.js.map +1 -1
- package/lib/module/components/user-location/NativeUserLocation.js.map +1 -1
- package/lib/module/components/user-location/UserLocation.js +21 -13
- package/lib/module/components/user-location/UserLocation.js.map +1 -1
- package/lib/module/components/user-location/UserLocationPuck.js +16 -16
- package/lib/module/components/user-location/UserLocationPuck.js.map +1 -1
- package/lib/module/components/user-location/UserLocationPuckHeading.js +8 -9
- package/lib/module/components/user-location/UserLocationPuckHeading.js.map +1 -1
- package/lib/module/index.js +1 -0
- package/lib/module/index.js.map +1 -1
- package/lib/module/modules/log/LogManager.js +5 -4
- package/lib/module/modules/log/LogManager.js.map +1 -1
- package/lib/module/modules/network/NativeNetworkModule.js.map +1 -1
- package/lib/module/modules/network/NetworkManager.js +6 -44
- package/lib/module/modules/network/NetworkManager.js.map +1 -1
- package/lib/module/modules/offline/OfflineManager.js +109 -62
- package/lib/module/modules/offline/OfflineManager.js.map +1 -1
- package/lib/module/modules/static-map/StaticMapManager.js +13 -5
- package/lib/module/modules/static-map/StaticMapManager.js.map +1 -1
- 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/plugin/ios.js +28 -15
- package/lib/module/plugin/ios.js.map +1 -1
- package/lib/module/types/Anchor.js +5 -6
- package/lib/module/types/Anchor.js.map +1 -1
- package/lib/module/types/PressableSourceProps.js.map +1 -0
- package/lib/module/utils/animated/AbstractAnimatedCoordinates.js +2 -2
- package/lib/module/utils/animated/AnimatedCoordinatesArray.js +6 -6
- package/lib/module/utils/animated/AnimatedGeoJSON.js +2 -1
- package/lib/module/utils/animated/AnimatedGeoJSON.js.map +1 -1
- package/lib/module/utils/animated/AnimatedRouteCoordinatesArray.js +6 -6
- package/lib/module/utils/convertStyleSpec.js +4 -4
- package/lib/module/utils/getStylePropertyType.js +1 -1
- package/lib/typescript/commonjs/components/annotations/LayerAnnotation.d.ts.map +1 -0
- package/lib/typescript/commonjs/{src/components → components}/annotations/callout/Callout.d.ts +3 -2
- package/lib/typescript/commonjs/components/annotations/callout/Callout.d.ts.map +1 -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/{src/components → components}/annotations/marker/MarkerViewNativeComponent.d.ts +12 -2
- package/lib/typescript/commonjs/components/annotations/marker/MarkerViewNativeComponent.d.ts.map +1 -0
- package/lib/typescript/commonjs/{src/components → components}/annotations/view-annotation/PointAnnotationNativeComponent.d.ts +5 -4
- 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 +120 -0
- package/lib/typescript/commonjs/components/annotations/view-annotation/ViewAnnotation.d.ts.map +1 -0
- package/lib/typescript/commonjs/{src/components → components}/camera/Camera.d.ts +85 -43
- package/lib/typescript/commonjs/components/camera/Camera.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/camera/CameraNativeComponent.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/camera/NativeCameraModule.d.ts.map +1 -0
- package/lib/typescript/{module/src → commonjs}/components/images/Images.d.ts +20 -12
- package/lib/typescript/commonjs/components/images/Images.d.ts.map +1 -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/{src/components → components}/layer/Layer.d.ts +41 -67
- package/lib/typescript/commonjs/components/layer/Layer.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/layer/LayerNativeComponent.d.ts.map +1 -0
- package/lib/typescript/commonjs/{src/components → components}/map/AndroidTextureMapViewNativeComponent.d.ts +5 -1
- package/lib/typescript/commonjs/components/map/AndroidTextureMapViewNativeComponent.d.ts.map +1 -0
- package/lib/typescript/commonjs/{src/components → components}/map/Map.d.ts +154 -78
- package/lib/typescript/commonjs/components/map/Map.d.ts.map +1 -0
- package/lib/typescript/{module/src → commonjs}/components/map/MapViewNativeComponent.d.ts +5 -1
- package/lib/typescript/commonjs/components/map/MapViewNativeComponent.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/map/NativeMapViewModule.d.ts.map +1 -0
- package/lib/typescript/commonjs/{src/components → components}/sources/geojson-source/GeoJSONSource.d.ts +47 -44
- 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.map +1 -0
- package/lib/typescript/commonjs/components/sources/geojson-source/NativeGeoJSONSourceModule.d.ts.map +1 -0
- package/lib/typescript/commonjs/{src/components → components}/sources/image-source/ImageSource.d.ts +5 -3
- 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.map +1 -0
- package/lib/typescript/commonjs/{src/components → components}/sources/raster-source/RasterSource.d.ts +20 -15
- 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.map +1 -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.map +1 -0
- package/lib/typescript/commonjs/{src/components → components}/user-location/NativeUserLocation.d.ts +9 -6
- package/lib/typescript/commonjs/components/user-location/NativeUserLocation.d.ts.map +1 -0
- package/lib/typescript/commonjs/{src/components → components}/user-location/UserLocation.d.ts +4 -2
- package/lib/typescript/commonjs/components/user-location/UserLocation.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/user-location/UserLocationNativeComponent.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/user-location/UserLocationPuck.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/user-location/UserLocationPuckHeading.d.ts.map +1 -0
- package/lib/typescript/commonjs/{src/hooks → hooks}/useCurrentPosition.d.ts +2 -2
- package/lib/typescript/commonjs/hooks/useCurrentPosition.d.ts.map +1 -0
- package/lib/typescript/commonjs/hooks/useFrozenId.d.ts.map +1 -0
- package/lib/typescript/commonjs/hooks/useNativeBridge.d.ts.map +1 -0
- package/lib/typescript/{module/src → commonjs}/index.d.ts +4 -3
- package/lib/typescript/commonjs/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/modules/location/LocationManager.d.ts.map +1 -0
- package/lib/typescript/commonjs/modules/location/NativeLocationModule.d.ts.map +1 -0
- package/lib/typescript/{module/src → commonjs}/modules/log/LogManager.d.ts +5 -4
- package/lib/typescript/commonjs/modules/log/LogManager.d.ts.map +1 -0
- package/lib/typescript/commonjs/modules/log/NativeLogModule.d.ts.map +1 -0
- package/lib/typescript/commonjs/{src/modules → modules}/network/NativeNetworkModule.d.ts +0 -2
- 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.map +1 -0
- package/lib/typescript/commonjs/{src/modules → modules}/offline/OfflineManager.d.ts +110 -63
- package/lib/typescript/commonjs/modules/offline/OfflineManager.d.ts.map +1 -0
- package/lib/typescript/commonjs/modules/offline/OfflinePack.d.ts.map +1 -0
- package/lib/typescript/commonjs/modules/static-map/NativeStaticMapModule.d.ts.map +1 -0
- package/lib/typescript/{module/src → commonjs}/modules/static-map/StaticMapManager.d.ts +15 -7
- 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/{src/plugin → plugin}/MapLibrePluginProps.d.ts +10 -15
- package/lib/typescript/commonjs/plugin/MapLibrePluginProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/plugin/android.d.ts.map +1 -0
- package/lib/typescript/commonjs/{src/plugin → plugin}/ios.d.ts +2 -2
- package/lib/typescript/commonjs/plugin/ios.d.ts.map +1 -0
- package/lib/typescript/commonjs/plugin/withMapLibre.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.map +1 -0
- package/lib/typescript/commonjs/{src/types → types}/LngLatBounds.d.ts +2 -1
- package/lib/typescript/commonjs/types/LngLatBounds.d.ts.map +1 -0
- package/lib/typescript/commonjs/{src/types → types}/MapLibreRNStyles.d.ts +257 -106
- package/lib/typescript/commonjs/types/MapLibreRNStyles.d.ts.map +1 -0
- package/lib/typescript/commonjs/types/PixelPoint.d.ts.map +1 -0
- package/lib/typescript/commonjs/types/PixelPointBounds.d.ts.map +1 -0
- package/lib/typescript/{module/src → commonjs}/types/PressEvent.d.ts +3 -0
- package/lib/typescript/commonjs/types/PressEvent.d.ts.map +1 -0
- package/lib/typescript/commonjs/{src/types → types}/PressEventWithFeatures.d.ts +3 -0
- package/lib/typescript/commonjs/types/PressEventWithFeatures.d.ts.map +1 -0
- package/lib/typescript/{module/src/types/sources → commonjs/types}/PressableSourceProps.d.ts +6 -4
- package/lib/typescript/commonjs/types/PressableSourceProps.d.ts.map +1 -0
- package/lib/typescript/{module/src → commonjs}/types/ViewPadding.d.ts +3 -0
- package/lib/typescript/commonjs/types/ViewPadding.d.ts.map +1 -0
- package/lib/typescript/commonjs/types/codegen/UnsafeMixed.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/BridgeValue.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/StyleValue.d.ts.map +1 -0
- package/lib/typescript/{module/src → commonjs}/utils/animated/AbstractAnimatedCoordinates.d.ts +2 -2
- package/lib/typescript/commonjs/utils/animated/AbstractAnimatedCoordinates.d.ts.map +1 -0
- package/lib/typescript/{module/src → commonjs}/utils/animated/Animated.d.ts +2 -2
- package/lib/typescript/commonjs/utils/animated/Animated.d.ts.map +1 -0
- package/lib/typescript/commonjs/{src/utils → utils}/animated/AnimatedCoordinatesArray.d.ts +6 -6
- package/lib/typescript/commonjs/utils/animated/AnimatedCoordinatesArray.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/animated/AnimatedExtractCoordinateFromArray.d.ts.map +1 -0
- package/lib/typescript/commonjs/{src/utils → utils}/animated/AnimatedGeoJSON.d.ts +2 -1
- package/lib/typescript/commonjs/utils/animated/AnimatedGeoJSON.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/animated/AnimatedPoint.d.ts.map +1 -0
- package/lib/typescript/commonjs/{src/utils → utils}/animated/AnimatedRouteCoordinatesArray.d.ts +6 -6
- package/lib/typescript/commonjs/utils/animated/AnimatedRouteCoordinatesArray.d.ts.map +1 -0
- package/lib/typescript/{module/src → commonjs}/utils/convertStyleSpec.d.ts +4 -4
- package/lib/typescript/commonjs/utils/convertStyleSpec.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/findNodeHandle.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/getNativeFilter.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/getStylePropertyType.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/index.d.ts.map +1 -0
- package/lib/typescript/module/components/annotations/LayerAnnotation.d.ts.map +1 -0
- package/lib/typescript/module/{src/components → components}/annotations/callout/Callout.d.ts +3 -2
- package/lib/typescript/module/components/annotations/callout/Callout.d.ts.map +1 -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/{src/components → components}/annotations/marker/MarkerViewNativeComponent.d.ts +12 -2
- package/lib/typescript/module/components/annotations/marker/MarkerViewNativeComponent.d.ts.map +1 -0
- package/lib/typescript/module/{src/components → components}/annotations/view-annotation/PointAnnotationNativeComponent.d.ts +5 -4
- 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 +120 -0
- package/lib/typescript/module/components/annotations/view-annotation/ViewAnnotation.d.ts.map +1 -0
- package/lib/typescript/module/{src/components → components}/camera/Camera.d.ts +85 -43
- package/lib/typescript/module/components/camera/Camera.d.ts.map +1 -0
- package/lib/typescript/module/components/camera/CameraNativeComponent.d.ts.map +1 -0
- package/lib/typescript/module/components/camera/NativeCameraModule.d.ts.map +1 -0
- package/lib/typescript/{commonjs/src → module}/components/images/Images.d.ts +20 -12
- package/lib/typescript/module/components/images/Images.d.ts.map +1 -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/{src/components → components}/layer/Layer.d.ts +41 -67
- package/lib/typescript/module/components/layer/Layer.d.ts.map +1 -0
- package/lib/typescript/module/components/layer/LayerNativeComponent.d.ts.map +1 -0
- package/lib/typescript/module/{src/components → components}/map/AndroidTextureMapViewNativeComponent.d.ts +5 -1
- package/lib/typescript/module/components/map/AndroidTextureMapViewNativeComponent.d.ts.map +1 -0
- package/lib/typescript/module/{src/components → components}/map/Map.d.ts +154 -78
- package/lib/typescript/module/components/map/Map.d.ts.map +1 -0
- package/lib/typescript/{commonjs/src → module}/components/map/MapViewNativeComponent.d.ts +5 -1
- package/lib/typescript/module/components/map/MapViewNativeComponent.d.ts.map +1 -0
- package/lib/typescript/module/components/map/NativeMapViewModule.d.ts.map +1 -0
- package/lib/typescript/module/{src/components → components}/sources/geojson-source/GeoJSONSource.d.ts +47 -44
- 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.map +1 -0
- package/lib/typescript/module/components/sources/geojson-source/NativeGeoJSONSourceModule.d.ts.map +1 -0
- package/lib/typescript/module/{src/components → components}/sources/image-source/ImageSource.d.ts +5 -3
- 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.map +1 -0
- package/lib/typescript/module/{src/components → components}/sources/raster-source/RasterSource.d.ts +20 -15
- 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.map +1 -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.map +1 -0
- package/lib/typescript/module/{src/components → components}/user-location/NativeUserLocation.d.ts +9 -6
- package/lib/typescript/module/components/user-location/NativeUserLocation.d.ts.map +1 -0
- package/lib/typescript/module/{src/components → components}/user-location/UserLocation.d.ts +4 -2
- package/lib/typescript/module/components/user-location/UserLocation.d.ts.map +1 -0
- package/lib/typescript/module/components/user-location/UserLocationNativeComponent.d.ts.map +1 -0
- package/lib/typescript/module/components/user-location/UserLocationPuck.d.ts.map +1 -0
- package/lib/typescript/module/components/user-location/UserLocationPuckHeading.d.ts.map +1 -0
- package/lib/typescript/module/{src/hooks → hooks}/useCurrentPosition.d.ts +2 -2
- package/lib/typescript/module/hooks/useCurrentPosition.d.ts.map +1 -0
- package/lib/typescript/module/hooks/useFrozenId.d.ts.map +1 -0
- package/lib/typescript/module/hooks/useNativeBridge.d.ts.map +1 -0
- package/lib/typescript/{commonjs/src → module}/index.d.ts +4 -3
- package/lib/typescript/module/index.d.ts.map +1 -0
- package/lib/typescript/module/modules/location/LocationManager.d.ts.map +1 -0
- package/lib/typescript/module/modules/location/NativeLocationModule.d.ts.map +1 -0
- package/lib/typescript/{commonjs/src → module}/modules/log/LogManager.d.ts +5 -4
- package/lib/typescript/module/modules/log/LogManager.d.ts.map +1 -0
- package/lib/typescript/module/modules/log/NativeLogModule.d.ts.map +1 -0
- package/lib/typescript/module/{src/modules → modules}/network/NativeNetworkModule.d.ts +0 -2
- 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.map +1 -0
- package/lib/typescript/module/{src/modules → modules}/offline/OfflineManager.d.ts +110 -63
- package/lib/typescript/module/modules/offline/OfflineManager.d.ts.map +1 -0
- package/lib/typescript/module/modules/offline/OfflinePack.d.ts.map +1 -0
- package/lib/typescript/module/modules/static-map/NativeStaticMapModule.d.ts.map +1 -0
- package/lib/typescript/{commonjs/src → module}/modules/static-map/StaticMapManager.d.ts +15 -7
- 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/{src/plugin → plugin}/MapLibrePluginProps.d.ts +10 -15
- package/lib/typescript/module/plugin/MapLibrePluginProps.d.ts.map +1 -0
- package/lib/typescript/module/plugin/android.d.ts.map +1 -0
- package/lib/typescript/module/{src/plugin → plugin}/ios.d.ts +2 -2
- package/lib/typescript/module/plugin/ios.d.ts.map +1 -0
- package/lib/typescript/module/plugin/withMapLibre.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.map +1 -0
- package/lib/typescript/module/{src/types → types}/LngLatBounds.d.ts +2 -1
- package/lib/typescript/module/types/LngLatBounds.d.ts.map +1 -0
- package/lib/typescript/module/{src/types → types}/MapLibreRNStyles.d.ts +257 -106
- package/lib/typescript/module/types/MapLibreRNStyles.d.ts.map +1 -0
- package/lib/typescript/module/types/PixelPoint.d.ts.map +1 -0
- package/lib/typescript/module/types/PixelPointBounds.d.ts.map +1 -0
- package/lib/typescript/{commonjs/src → module}/types/PressEvent.d.ts +3 -0
- package/lib/typescript/module/types/PressEvent.d.ts.map +1 -0
- package/lib/typescript/module/{src/types → types}/PressEventWithFeatures.d.ts +3 -0
- package/lib/typescript/module/types/PressEventWithFeatures.d.ts.map +1 -0
- package/lib/typescript/{commonjs/src/types/sources → module/types}/PressableSourceProps.d.ts +6 -4
- package/lib/typescript/module/types/PressableSourceProps.d.ts.map +1 -0
- package/lib/typescript/{commonjs/src → module}/types/ViewPadding.d.ts +3 -0
- package/lib/typescript/module/types/ViewPadding.d.ts.map +1 -0
- package/lib/typescript/module/types/codegen/UnsafeMixed.d.ts.map +1 -0
- package/lib/typescript/module/utils/BridgeValue.d.ts.map +1 -0
- package/lib/typescript/module/utils/StyleValue.d.ts.map +1 -0
- package/lib/typescript/{commonjs/src → module}/utils/animated/AbstractAnimatedCoordinates.d.ts +2 -2
- package/lib/typescript/module/utils/animated/AbstractAnimatedCoordinates.d.ts.map +1 -0
- package/lib/typescript/{commonjs/src → module}/utils/animated/Animated.d.ts +2 -2
- package/lib/typescript/module/utils/animated/Animated.d.ts.map +1 -0
- package/lib/typescript/module/{src/utils → utils}/animated/AnimatedCoordinatesArray.d.ts +6 -6
- package/lib/typescript/module/utils/animated/AnimatedCoordinatesArray.d.ts.map +1 -0
- package/lib/typescript/module/utils/animated/AnimatedExtractCoordinateFromArray.d.ts.map +1 -0
- package/lib/typescript/module/{src/utils → utils}/animated/AnimatedGeoJSON.d.ts +2 -1
- package/lib/typescript/module/utils/animated/AnimatedGeoJSON.d.ts.map +1 -0
- package/lib/typescript/module/utils/animated/AnimatedPoint.d.ts.map +1 -0
- package/lib/typescript/module/{src/utils → utils}/animated/AnimatedRouteCoordinatesArray.d.ts +6 -6
- package/lib/typescript/module/utils/animated/AnimatedRouteCoordinatesArray.d.ts.map +1 -0
- package/lib/typescript/{commonjs/src → module}/utils/convertStyleSpec.d.ts +4 -4
- package/lib/typescript/module/utils/convertStyleSpec.d.ts.map +1 -0
- package/lib/typescript/module/utils/findNodeHandle.d.ts.map +1 -0
- package/lib/typescript/module/utils/getNativeFilter.d.ts.map +1 -0
- package/lib/typescript/module/utils/getStylePropertyType.d.ts.map +1 -0
- package/lib/typescript/module/utils/index.d.ts.map +1 -0
- package/package.json +23 -44
- package/src/components/annotations/callout/Callout.tsx +3 -2
- package/src/components/annotations/marker/Marker.tsx +70 -18
- package/src/components/annotations/marker/MarkerViewNativeComponent.ts +12 -2
- package/src/components/annotations/view-annotation/PointAnnotationNativeComponent.ts +5 -4
- package/src/components/annotations/view-annotation/ViewAnnotation.tsx +115 -94
- package/src/components/camera/Camera.tsx +149 -111
- package/src/components/images/Images.tsx +20 -12
- package/src/components/images/NativeImagesModule.ts +11 -0
- package/src/components/layer/Layer.tsx +50 -86
- package/src/components/map/AndroidTextureMapViewNativeComponent.ts +7 -2
- package/src/components/map/Map.tsx +300 -233
- package/src/components/map/MapViewNativeComponent.ts +6 -1
- package/src/components/sources/geojson-source/GeoJSONSource.tsx +106 -104
- package/src/components/sources/image-source/ImageSource.tsx +5 -3
- package/src/components/sources/raster-source/RasterSource.tsx +20 -15
- package/src/components/sources/vector-source/VectorSource.tsx +67 -59
- package/src/components/user-location/NativeUserLocation.tsx +9 -6
- package/src/components/user-location/UserLocation.tsx +34 -20
- package/src/components/user-location/UserLocationPuck.tsx +20 -20
- package/src/components/user-location/UserLocationPuckHeading.tsx +9 -10
- package/src/hooks/useCurrentPosition.ts +2 -2
- package/src/index.ts +17 -5
- package/src/modules/log/LogManager.ts +5 -4
- package/src/modules/network/NativeNetworkModule.ts +0 -4
- package/src/modules/network/NetworkManager.ts +6 -52
- package/src/modules/offline/OfflineManager.ts +109 -62
- package/src/modules/static-map/StaticMapManager.ts +15 -7
- package/src/modules/transform-request/NativeTransformRequestModule.ts +41 -0
- package/src/modules/transform-request/TransformRequestManager.ts +304 -0
- package/src/plugin/MapLibrePluginProps.ts +10 -15
- package/src/plugin/ios.ts +43 -21
- package/src/types/Anchor.ts +5 -6
- package/src/types/BaseProps.ts +3 -0
- package/src/types/LngLatBounds.ts +2 -1
- package/src/types/MapLibreRNStyles.ts +258 -106
- package/src/types/PressEvent.ts +3 -0
- package/src/types/PressEventWithFeatures.ts +3 -0
- package/src/types/{sources/PressableSourceProps.ts → PressableSourceProps.ts} +6 -4
- package/src/types/ViewPadding.ts +3 -0
- package/src/utils/animated/AbstractAnimatedCoordinates.ts +2 -2
- package/src/utils/animated/AnimatedCoordinatesArray.ts +6 -6
- package/src/utils/animated/AnimatedGeoJSON.ts +2 -1
- package/src/utils/animated/AnimatedRouteCoordinatesArray.ts +6 -6
- package/src/utils/convertStyleSpec.ts +4 -4
- package/src/utils/getStylePropertyType.ts +1 -1
- package/android/src/main/java/org/maplibre/reactnative/http/RequestHeadersInterceptor.kt +0 -65
- package/android/src/main/res/layout/annotation.xml +0 -17
- package/ios/modules/network/MLRNNetworkHTTPHeaders.h +0 -14
- package/ios/modules/network/MLRNNetworkHTTPHeaders.m +0 -97
- package/lib/commonjs/types/sources/PressableSourceProps.js.map +0 -1
- package/lib/module/types/sources/PressableSourceProps.js.map +0 -1
- package/lib/typescript/commonjs/src/components/annotations/LayerAnnotation.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/annotations/callout/Callout.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/annotations/callout/CalloutNativeComponent.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/annotations/marker/Marker.d.ts +0 -52
- package/lib/typescript/commonjs/src/components/annotations/marker/Marker.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/annotations/marker/MarkerViewNativeComponent.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/annotations/view-annotation/PointAnnotationNativeComponent.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/annotations/view-annotation/ViewAnnotation.d.ts +0 -95
- package/lib/typescript/commonjs/src/components/annotations/view-annotation/ViewAnnotation.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/camera/Camera.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/camera/CameraNativeComponent.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/camera/NativeCameraModule.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/images/Images.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/images/ImagesNativeComponent.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/layer/Layer.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/layer/LayerNativeComponent.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/map/AndroidTextureMapViewNativeComponent.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/map/Map.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/map/MapViewNativeComponent.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/map/NativeMapViewModule.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/sources/geojson-source/GeoJSONSource.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/sources/geojson-source/GeoJSONSourceNativeComponent.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/sources/geojson-source/NativeGeoJSONSourceModule.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/sources/image-source/ImageSource.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/sources/image-source/ImageSourceNativeComponent.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/sources/raster-source/RasterSource.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/sources/raster-source/RasterSourceNativeComponent.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/sources/vector-source/NativeVectorSourceModule.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/sources/vector-source/VectorSource.d.ts +0 -66
- package/lib/typescript/commonjs/src/components/sources/vector-source/VectorSource.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/sources/vector-source/VectorSourceNativeComponent.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/user-location/NativeUserLocation.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/user-location/UserLocation.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/user-location/UserLocationNativeComponent.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/user-location/UserLocationPuck.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/user-location/UserLocationPuckHeading.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/hooks/useCurrentPosition.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/hooks/useFrozenId.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/hooks/useNativeBridge.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/modules/location/LocationManager.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/modules/location/NativeLocationModule.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/modules/log/LogManager.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/modules/log/NativeLogModule.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/modules/network/NativeNetworkModule.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/modules/network/NetworkManager.d.ts +0 -56
- package/lib/typescript/commonjs/src/modules/network/NetworkManager.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/modules/offline/NativeOfflineModule.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/modules/offline/OfflineManager.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/modules/offline/OfflinePack.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/modules/static-map/NativeStaticMapModule.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/modules/static-map/StaticMapManager.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/plugin/MapLibrePluginProps.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/plugin/android.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/plugin/ios.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/plugin/withMapLibre.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/types/Anchor.d.ts +0 -17
- package/lib/typescript/commonjs/src/types/Anchor.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/types/BaseProps.d.ts +0 -4
- package/lib/typescript/commonjs/src/types/BaseProps.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/types/LngLat.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/types/LngLatBounds.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/types/MapLibreRNStyles.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/types/PixelPoint.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/types/PixelPointBounds.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/types/PressEvent.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/types/PressEventWithFeatures.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/types/ViewPadding.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/types/codegen/UnsafeMixed.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/types/sources/PressableSourceProps.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/utils/BridgeValue.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/utils/StyleValue.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/utils/animated/AbstractAnimatedCoordinates.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/utils/animated/Animated.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/utils/animated/AnimatedCoordinatesArray.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/utils/animated/AnimatedExtractCoordinateFromArray.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/utils/animated/AnimatedGeoJSON.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/utils/animated/AnimatedPoint.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/utils/animated/AnimatedRouteCoordinatesArray.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/utils/convertStyleSpec.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/utils/findNodeHandle.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/utils/getNativeFilter.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/utils/getStylePropertyType.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/utils/index.d.ts.map +0 -1
- package/lib/typescript/module/src/components/annotations/LayerAnnotation.d.ts.map +0 -1
- package/lib/typescript/module/src/components/annotations/callout/Callout.d.ts.map +0 -1
- package/lib/typescript/module/src/components/annotations/callout/CalloutNativeComponent.d.ts.map +0 -1
- package/lib/typescript/module/src/components/annotations/marker/Marker.d.ts +0 -52
- package/lib/typescript/module/src/components/annotations/marker/Marker.d.ts.map +0 -1
- package/lib/typescript/module/src/components/annotations/marker/MarkerViewNativeComponent.d.ts.map +0 -1
- package/lib/typescript/module/src/components/annotations/view-annotation/PointAnnotationNativeComponent.d.ts.map +0 -1
- package/lib/typescript/module/src/components/annotations/view-annotation/ViewAnnotation.d.ts +0 -95
- package/lib/typescript/module/src/components/annotations/view-annotation/ViewAnnotation.d.ts.map +0 -1
- package/lib/typescript/module/src/components/camera/Camera.d.ts.map +0 -1
- package/lib/typescript/module/src/components/camera/CameraNativeComponent.d.ts.map +0 -1
- package/lib/typescript/module/src/components/camera/NativeCameraModule.d.ts.map +0 -1
- package/lib/typescript/module/src/components/images/Images.d.ts.map +0 -1
- package/lib/typescript/module/src/components/images/ImagesNativeComponent.d.ts.map +0 -1
- package/lib/typescript/module/src/components/layer/Layer.d.ts.map +0 -1
- package/lib/typescript/module/src/components/layer/LayerNativeComponent.d.ts.map +0 -1
- package/lib/typescript/module/src/components/map/AndroidTextureMapViewNativeComponent.d.ts.map +0 -1
- package/lib/typescript/module/src/components/map/Map.d.ts.map +0 -1
- package/lib/typescript/module/src/components/map/MapViewNativeComponent.d.ts.map +0 -1
- package/lib/typescript/module/src/components/map/NativeMapViewModule.d.ts.map +0 -1
- package/lib/typescript/module/src/components/sources/geojson-source/GeoJSONSource.d.ts.map +0 -1
- package/lib/typescript/module/src/components/sources/geojson-source/GeoJSONSourceNativeComponent.d.ts.map +0 -1
- package/lib/typescript/module/src/components/sources/geojson-source/NativeGeoJSONSourceModule.d.ts.map +0 -1
- package/lib/typescript/module/src/components/sources/image-source/ImageSource.d.ts.map +0 -1
- package/lib/typescript/module/src/components/sources/image-source/ImageSourceNativeComponent.d.ts.map +0 -1
- package/lib/typescript/module/src/components/sources/raster-source/RasterSource.d.ts.map +0 -1
- package/lib/typescript/module/src/components/sources/raster-source/RasterSourceNativeComponent.d.ts.map +0 -1
- package/lib/typescript/module/src/components/sources/vector-source/NativeVectorSourceModule.d.ts.map +0 -1
- package/lib/typescript/module/src/components/sources/vector-source/VectorSource.d.ts +0 -66
- package/lib/typescript/module/src/components/sources/vector-source/VectorSource.d.ts.map +0 -1
- package/lib/typescript/module/src/components/sources/vector-source/VectorSourceNativeComponent.d.ts.map +0 -1
- package/lib/typescript/module/src/components/user-location/NativeUserLocation.d.ts.map +0 -1
- package/lib/typescript/module/src/components/user-location/UserLocation.d.ts.map +0 -1
- package/lib/typescript/module/src/components/user-location/UserLocationNativeComponent.d.ts.map +0 -1
- package/lib/typescript/module/src/components/user-location/UserLocationPuck.d.ts.map +0 -1
- package/lib/typescript/module/src/components/user-location/UserLocationPuckHeading.d.ts.map +0 -1
- package/lib/typescript/module/src/hooks/useCurrentPosition.d.ts.map +0 -1
- package/lib/typescript/module/src/hooks/useFrozenId.d.ts.map +0 -1
- package/lib/typescript/module/src/hooks/useNativeBridge.d.ts.map +0 -1
- package/lib/typescript/module/src/index.d.ts.map +0 -1
- package/lib/typescript/module/src/modules/location/LocationManager.d.ts.map +0 -1
- package/lib/typescript/module/src/modules/location/NativeLocationModule.d.ts.map +0 -1
- package/lib/typescript/module/src/modules/log/LogManager.d.ts.map +0 -1
- package/lib/typescript/module/src/modules/log/NativeLogModule.d.ts.map +0 -1
- package/lib/typescript/module/src/modules/network/NativeNetworkModule.d.ts.map +0 -1
- package/lib/typescript/module/src/modules/network/NetworkManager.d.ts +0 -56
- package/lib/typescript/module/src/modules/network/NetworkManager.d.ts.map +0 -1
- package/lib/typescript/module/src/modules/offline/NativeOfflineModule.d.ts.map +0 -1
- package/lib/typescript/module/src/modules/offline/OfflineManager.d.ts.map +0 -1
- package/lib/typescript/module/src/modules/offline/OfflinePack.d.ts.map +0 -1
- package/lib/typescript/module/src/modules/static-map/NativeStaticMapModule.d.ts.map +0 -1
- package/lib/typescript/module/src/modules/static-map/StaticMapManager.d.ts.map +0 -1
- package/lib/typescript/module/src/plugin/MapLibrePluginProps.d.ts.map +0 -1
- package/lib/typescript/module/src/plugin/android.d.ts.map +0 -1
- package/lib/typescript/module/src/plugin/ios.d.ts.map +0 -1
- package/lib/typescript/module/src/plugin/withMapLibre.d.ts.map +0 -1
- package/lib/typescript/module/src/types/Anchor.d.ts +0 -17
- package/lib/typescript/module/src/types/Anchor.d.ts.map +0 -1
- package/lib/typescript/module/src/types/BaseProps.d.ts +0 -4
- package/lib/typescript/module/src/types/BaseProps.d.ts.map +0 -1
- package/lib/typescript/module/src/types/LngLat.d.ts.map +0 -1
- package/lib/typescript/module/src/types/LngLatBounds.d.ts.map +0 -1
- package/lib/typescript/module/src/types/MapLibreRNStyles.d.ts.map +0 -1
- package/lib/typescript/module/src/types/PixelPoint.d.ts.map +0 -1
- package/lib/typescript/module/src/types/PixelPointBounds.d.ts.map +0 -1
- package/lib/typescript/module/src/types/PressEvent.d.ts.map +0 -1
- package/lib/typescript/module/src/types/PressEventWithFeatures.d.ts.map +0 -1
- package/lib/typescript/module/src/types/ViewPadding.d.ts.map +0 -1
- package/lib/typescript/module/src/types/codegen/UnsafeMixed.d.ts.map +0 -1
- package/lib/typescript/module/src/types/sources/PressableSourceProps.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/BridgeValue.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/StyleValue.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/animated/AbstractAnimatedCoordinates.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/animated/Animated.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/animated/AnimatedCoordinatesArray.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/animated/AnimatedExtractCoordinateFromArray.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/animated/AnimatedGeoJSON.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/animated/AnimatedPoint.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/animated/AnimatedRouteCoordinatesArray.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/convertStyleSpec.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/findNodeHandle.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/getNativeFilter.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/getStylePropertyType.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/index.d.ts.map +0 -1
- /package/android/src/main/res/drawable-xxhdpi/{red_marker.png → default_marker.png} +0 -0
- /package/ios/{components/images → utils}/MLRNImageUtils.h +0 -0
- /package/ios/{components/images → utils}/MLRNImageUtils.m +0 -0
- /package/lib/commonjs/types/{sources/PressableSourceProps.js → PressableSourceProps.js} +0 -0
- /package/lib/module/types/{sources/PressableSourceProps.js → PressableSourceProps.js} +0 -0
- /package/lib/typescript/commonjs/{src/components → components}/annotations/LayerAnnotation.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/components → components}/annotations/callout/CalloutNativeComponent.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/components → components}/camera/CameraNativeComponent.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/components → components}/camera/NativeCameraModule.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/components → components}/images/ImagesNativeComponent.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/components → components}/layer/LayerNativeComponent.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/components → components}/map/NativeMapViewModule.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/components → components}/sources/geojson-source/GeoJSONSourceNativeComponent.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/components → components}/sources/geojson-source/NativeGeoJSONSourceModule.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/components → components}/sources/image-source/ImageSourceNativeComponent.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/components → components}/sources/raster-source/RasterSourceNativeComponent.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/components → components}/sources/vector-source/NativeVectorSourceModule.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/components → components}/sources/vector-source/VectorSourceNativeComponent.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/components → components}/user-location/UserLocationNativeComponent.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/components → components}/user-location/UserLocationPuck.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/components → components}/user-location/UserLocationPuckHeading.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/hooks → hooks}/useFrozenId.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/hooks → hooks}/useNativeBridge.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/modules → modules}/location/LocationManager.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/modules → modules}/location/NativeLocationModule.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/modules → modules}/log/NativeLogModule.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/modules → modules}/offline/NativeOfflineModule.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/modules → modules}/offline/OfflinePack.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/modules → modules}/static-map/NativeStaticMapModule.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/plugin → plugin}/android.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/plugin → plugin}/withMapLibre.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/types → types}/LngLat.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/types → types}/PixelPoint.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/types → types}/PixelPointBounds.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/types → types}/codegen/UnsafeMixed.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/utils → utils}/BridgeValue.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/utils → utils}/StyleValue.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/utils → utils}/animated/AnimatedExtractCoordinateFromArray.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/utils → utils}/animated/AnimatedPoint.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/utils → utils}/findNodeHandle.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/utils → utils}/getNativeFilter.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/utils → utils}/getStylePropertyType.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/utils → utils}/index.d.ts +0 -0
- /package/lib/typescript/module/{src/components → components}/annotations/LayerAnnotation.d.ts +0 -0
- /package/lib/typescript/module/{src/components → components}/annotations/callout/CalloutNativeComponent.d.ts +0 -0
- /package/lib/typescript/module/{src/components → components}/camera/CameraNativeComponent.d.ts +0 -0
- /package/lib/typescript/module/{src/components → components}/camera/NativeCameraModule.d.ts +0 -0
- /package/lib/typescript/module/{src/components → components}/images/ImagesNativeComponent.d.ts +0 -0
- /package/lib/typescript/module/{src/components → components}/layer/LayerNativeComponent.d.ts +0 -0
- /package/lib/typescript/module/{src/components → components}/map/NativeMapViewModule.d.ts +0 -0
- /package/lib/typescript/module/{src/components → components}/sources/geojson-source/GeoJSONSourceNativeComponent.d.ts +0 -0
- /package/lib/typescript/module/{src/components → components}/sources/geojson-source/NativeGeoJSONSourceModule.d.ts +0 -0
- /package/lib/typescript/module/{src/components → components}/sources/image-source/ImageSourceNativeComponent.d.ts +0 -0
- /package/lib/typescript/module/{src/components → components}/sources/raster-source/RasterSourceNativeComponent.d.ts +0 -0
- /package/lib/typescript/module/{src/components → components}/sources/vector-source/NativeVectorSourceModule.d.ts +0 -0
- /package/lib/typescript/module/{src/components → components}/sources/vector-source/VectorSourceNativeComponent.d.ts +0 -0
- /package/lib/typescript/module/{src/components → components}/user-location/UserLocationNativeComponent.d.ts +0 -0
- /package/lib/typescript/module/{src/components → components}/user-location/UserLocationPuck.d.ts +0 -0
- /package/lib/typescript/module/{src/components → components}/user-location/UserLocationPuckHeading.d.ts +0 -0
- /package/lib/typescript/module/{src/hooks → hooks}/useFrozenId.d.ts +0 -0
- /package/lib/typescript/module/{src/hooks → hooks}/useNativeBridge.d.ts +0 -0
- /package/lib/typescript/module/{src/modules → modules}/location/LocationManager.d.ts +0 -0
- /package/lib/typescript/module/{src/modules → modules}/location/NativeLocationModule.d.ts +0 -0
- /package/lib/typescript/module/{src/modules → modules}/log/NativeLogModule.d.ts +0 -0
- /package/lib/typescript/module/{src/modules → modules}/offline/NativeOfflineModule.d.ts +0 -0
- /package/lib/typescript/module/{src/modules → modules}/offline/OfflinePack.d.ts +0 -0
- /package/lib/typescript/module/{src/modules → modules}/static-map/NativeStaticMapModule.d.ts +0 -0
- /package/lib/typescript/module/{src/plugin → plugin}/android.d.ts +0 -0
- /package/lib/typescript/module/{src/plugin → plugin}/withMapLibre.d.ts +0 -0
- /package/lib/typescript/module/{src/types → types}/LngLat.d.ts +0 -0
- /package/lib/typescript/module/{src/types → types}/PixelPoint.d.ts +0 -0
- /package/lib/typescript/module/{src/types → types}/PixelPointBounds.d.ts +0 -0
- /package/lib/typescript/module/{src/types → types}/codegen/UnsafeMixed.d.ts +0 -0
- /package/lib/typescript/module/{src/utils → utils}/BridgeValue.d.ts +0 -0
- /package/lib/typescript/module/{src/utils → utils}/StyleValue.d.ts +0 -0
- /package/lib/typescript/module/{src/utils → utils}/animated/AnimatedExtractCoordinateFromArray.d.ts +0 -0
- /package/lib/typescript/module/{src/utils → utils}/animated/AnimatedPoint.d.ts +0 -0
- /package/lib/typescript/module/{src/utils → utils}/findNodeHandle.d.ts +0 -0
- /package/lib/typescript/module/{src/utils → utils}/getNativeFilter.d.ts +0 -0
- /package/lib/typescript/module/{src/utils → utils}/getStylePropertyType.d.ts +0 -0
- /package/lib/typescript/module/{src/utils → utils}/index.d.ts +0 -0
|
@@ -21,14 +21,39 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
21
21
|
flex: 1
|
|
22
22
|
}
|
|
23
23
|
});
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Screen position for map ornaments (logo, compass, scale bar). Exactly one of
|
|
27
|
+
* `top` / `bottom` and one of `left` / `right` must be provided.
|
|
28
|
+
*/
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Current viewport state of the map.
|
|
32
|
+
*/
|
|
33
|
+
|
|
24
34
|
/**
|
|
25
|
-
*
|
|
35
|
+
* Event emitted when the map viewport changes (pan, zoom, rotate, pitch).
|
|
26
36
|
*/
|
|
27
|
-
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Options for querying rendered features at a screen point or within a bounding
|
|
40
|
+
* box.
|
|
41
|
+
*/
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* A view of a MapLibre Native Map.
|
|
45
|
+
*
|
|
46
|
+
* @example Rendering a basic Map
|
|
47
|
+
* ```tsx
|
|
48
|
+
* <Map mapStyle="https://demotiles.maplibre.org/style.json" />;
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
const Map = exports.Map = /*#__PURE__*/(0, _react.memo)(({
|
|
28
52
|
androidView = "surface",
|
|
29
53
|
style,
|
|
54
|
+
ref,
|
|
30
55
|
...props
|
|
31
|
-
}
|
|
56
|
+
}) => {
|
|
32
57
|
const [isReady, setIsReady] = (0, _react.useState)(false);
|
|
33
58
|
const nativeRef = (0, _react.useRef)(null);
|
|
34
59
|
(0, _react.useImperativeHandle)(ref, () => ({
|
|
@@ -88,5 +113,5 @@ const Map = exports.Map = /*#__PURE__*/(0, _react.memo)(/*#__PURE__*/(0, _react.
|
|
|
88
113
|
testID: nativeProps.testID ? `${nativeProps.testID}-view` : undefined,
|
|
89
114
|
children: map
|
|
90
115
|
});
|
|
91
|
-
})
|
|
116
|
+
});
|
|
92
117
|
//# sourceMappingURL=Map.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","require","_reactNative","_AndroidTextureMapViewNativeComponent","_interopRequireDefault","_MapViewNativeComponent","_NativeMapViewModule","_LogManager","_StyleValue","_convertStyleSpec","_findNodeHandle","_getNativeFilter","_jsxRuntime","e","__esModule","default","styles","StyleSheet","create","flex1","flex","Map","exports","memo","
|
|
1
|
+
{"version":3,"names":["_react","require","_reactNative","_AndroidTextureMapViewNativeComponent","_interopRequireDefault","_MapViewNativeComponent","_NativeMapViewModule","_LogManager","_StyleValue","_convertStyleSpec","_findNodeHandle","_getNativeFilter","_jsxRuntime","e","__esModule","default","styles","StyleSheet","create","flex1","flex","Map","exports","memo","androidView","style","ref","props","isReady","setIsReady","useState","nativeRef","useRef","useImperativeHandle","getCenter","NativeMapViewModule","findNodeHandle","current","getZoom","getBearing","getPitch","getBounds","getViewState","project","lngLat","unproject","point","queryRenderedFeatures","pixelPointOrPixelPointBoundsOrOptions","options","Array","isArray","value","queryRenderedFeaturesWithPoint","layers","getNativeFilter","filter","queryRenderedFeaturesWithBounds","createStaticMapImage","output","setSourceVisibility","visible","source","sourceLayer","showAttribution","useLayoutEffect","LogManager","start","stop","nativeProps","useMemo","mapStyle","light","otherProps","JSON","stringify","transformStyle","convertToInternalStyle","undefined","map","NativeMapView","Platform","OS","AndroidTextureMapViewNativeComponent","MapViewNativeComponent","jsx","View","onLayout","testID","children"],"sourceRoot":"../../../../src","sources":["components/map/Map.tsx"],"mappings":";;;;;;AAKA,IAAAA,MAAA,GAAAC,OAAA;AAYA,IAAAC,YAAA,GAAAD,OAAA;AASA,IAAAE,qCAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,uBAAA,GAAAD,sBAAA,CAAAH,OAAA;AACA,IAAAK,oBAAA,GAAAF,sBAAA,CAAAH,OAAA;AACA,IAAAM,WAAA,GAAAN,OAAA;AASA,IAAAO,WAAA,GAAAP,OAAA;AACA,IAAAQ,iBAAA,GAAAR,OAAA;AACA,IAAAS,eAAA,GAAAT,OAAA;AACA,IAAAU,gBAAA,GAAAV,OAAA;AAA8D,IAAAW,WAAA,GAAAX,OAAA;AAAA,SAAAG,uBAAAS,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAE9D,MAAMG,MAAM,GAAGC,uBAAU,CAACC,MAAM,CAAC;EAC/BC,KAAK,EAAE;IAAEC,IAAI,EAAE;EAAE;AACnB,CAAC,CAAC;;AAEF;AACA;AACA;AACA;;AAOA;AACA;AACA;;AASA;AACA;AACA;;AAMA;AACA;AACA;AACA;;AAgdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAMC,GAAG,GAAAC,OAAA,CA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AAI1D,WAAW,KAAK,SAAS,GAClD2D,6CAAoC,GACpCC,+BAAsB;IAE5BL,GAAG,gBAAG,IAAAnE,WAAA,CAAAyE,GAAA,EAACL,aAAa;MAAA,GAAKX;IAAW,CAAG,CAAC;EAC1C;EAEA,oBACE,IAAAzD,WAAA,CAAAyE,GAAA,EAACnF,YAAA,CAAAoF,IAAI;IACHC,QAAQ,EAAEA,CAAA,KAAM1D,UAAU,CAAC,IAAI,CAAE;IACjCJ,KAAK,EAAEA,KAAK,IAAIT,MAAM,CAACG,KAAM;IAC7BqE,MAAM,EAAEnB,WAAW,CAACmB,MAAM,GAAG,GAAGnB,WAAW,CAACmB,MAAM,OAAO,GAAGV,SAAU;IAAAW,QAAA,EAErEV;EAAG,CACA,CAAC;AAEX,CACF,CAAC","ignoreList":[]}
|
|
@@ -57,7 +57,9 @@ export interface NativeProps extends ViewProps {
|
|
|
57
57
|
preferredFramesPerSecond?: CodegenTypes.WithDefault<CodegenTypes.Int32, -1>;
|
|
58
58
|
|
|
59
59
|
dragPan?: CodegenTypes.WithDefault<boolean, true>;
|
|
60
|
-
|
|
60
|
+
touchZoom?: CodegenTypes.WithDefault<boolean, true>;
|
|
61
|
+
doubleTapZoom?: CodegenTypes.WithDefault<boolean, true>;
|
|
62
|
+
doubleTapHoldZoom?: CodegenTypes.WithDefault<boolean, true>;
|
|
61
63
|
touchRotate?: CodegenTypes.WithDefault<boolean, true>;
|
|
62
64
|
touchPitch?: CodegenTypes.WithDefault<boolean, true>;
|
|
63
65
|
|
|
@@ -73,6 +75,9 @@ export interface NativeProps extends ViewProps {
|
|
|
73
75
|
compassPosition?: NativeOrnamentViewPosition;
|
|
74
76
|
compassHiddenFacingNorth?: CodegenTypes.WithDefault<boolean, true>;
|
|
75
77
|
|
|
78
|
+
scaleBar?: CodegenTypes.WithDefault<boolean, false>;
|
|
79
|
+
scaleBarPosition?: NativeOrnamentViewPosition;
|
|
80
|
+
|
|
76
81
|
onPress?: CodegenTypes.BubblingEventHandler<NativePressEvent>;
|
|
77
82
|
onLongPress?: CodegenTypes.BubblingEventHandler<NativePressEvent>;
|
|
78
83
|
|
|
@@ -14,14 +14,15 @@ var _getNativeFilter = require("../../../utils/getNativeFilter.js");
|
|
|
14
14
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
15
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
16
16
|
/**
|
|
17
|
-
* GeoJSONSource is a map content source that supplies GeoJSON to be shown on
|
|
18
|
-
* The data may be provided as an url or a GeoJSON object.
|
|
17
|
+
* GeoJSONSource is a map content source that supplies GeoJSON to be shown on
|
|
18
|
+
* the map. The data may be provided as an url or a GeoJSON object.
|
|
19
19
|
*/
|
|
20
|
-
const GeoJSONSource = exports.GeoJSONSource = /*#__PURE__*/(0, _react.memo)(
|
|
20
|
+
const GeoJSONSource = exports.GeoJSONSource = /*#__PURE__*/(0, _react.memo)(({
|
|
21
21
|
id,
|
|
22
22
|
data,
|
|
23
|
+
ref,
|
|
23
24
|
...props
|
|
24
|
-
}
|
|
25
|
+
}) => {
|
|
25
26
|
const nativeRef = (0, _react.useRef)(null);
|
|
26
27
|
const frozenId = (0, _useFrozenId.useFrozenId)(id);
|
|
27
28
|
(0, _react.useImperativeHandle)(ref, () => ({
|
|
@@ -48,5 +49,5 @@ const GeoJSONSource = exports.GeoJSONSource = /*#__PURE__*/(0, _react.memo)(/*#_
|
|
|
48
49
|
source: frozenId
|
|
49
50
|
})
|
|
50
51
|
});
|
|
51
|
-
})
|
|
52
|
+
});
|
|
52
53
|
//# sourceMappingURL=GeoJSONSource.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","require","_GeoJSONSourceNativeComponent","_interopRequireDefault","_NativeGeoJSONSourceModule","_useFrozenId","_index","_findNodeHandle","_getNativeFilter","_jsxRuntime","e","__esModule","default","GeoJSONSource","exports","memo","
|
|
1
|
+
{"version":3,"names":["_react","require","_GeoJSONSourceNativeComponent","_interopRequireDefault","_NativeGeoJSONSourceModule","_useFrozenId","_index","_findNodeHandle","_getNativeFilter","_jsxRuntime","e","__esModule","default","GeoJSONSource","exports","memo","id","data","ref","props","nativeRef","useRef","frozenId","useFrozenId","useImperativeHandle","getData","filter","NativeGeoJSONSourceModule","findNodeHandle","current","getNativeFilter","getClusterExpansionZoom","clusterId","getClusterLeaves","limit","offset","getClusterChildren","jsx","JSON","stringify","hasOnPress","onPress","children","cloneReactChildrenWithProps","source"],"sourceRoot":"../../../../../src","sources":["components/sources/geojson-source/GeoJSONSource.tsx"],"mappings":";;;;;;AAIA,IAAAA,MAAA,GAAAC,OAAA;AAWA,IAAAC,6BAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,0BAAA,GAAAD,sBAAA,CAAAF,OAAA;AACA,IAAAI,YAAA,GAAAJ,OAAA;AAGA,IAAAK,MAAA,GAAAL,OAAA;AACA,IAAAM,eAAA,GAAAN,OAAA;AACA,IAAAO,gBAAA,GAAAP,OAAA;AAAiE,IAAAQ,WAAA,GAAAR,OAAA;AAAA,SAAAE,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AA6IjE;AACA;AACA;AACA;AACO,MAAMG,aAAa,GAAAC,OAAA,CAAAD,aAAA,gBAAG,IAAAE,WAAI,EAC/B,CAAC;EAAEC,EAAE;EAAEC,IAAI;EAAEC,GAAG;EAAE,GAAGC;AAA0B,CAAC,KAAK;EACnD,MAAMC,SAAS,GAAG,IAAAC,aAAM,EAGtB,IAAI,CAAC;EAEP,MAAMC,QAAQ,GAAG,IAAAC,wBAAW,EAACP,EAAE,CAAC;EAEhC,IAAAQ,0BAAmB,EAACN,GAAG,EAAE,OAAO;IAC9BO,OAAO,EAAE,MAAOC,MAAM,IAAK;MACzB,OAAOC,kCAAyB,CAACF,OAAO,CACtC,IAAAG,8BAAc,EAACR,SAAS,CAACS,OAAO,CAAC,EACjC,IAAAC,gCAAe,EAACJ,MAAM,CACxB,CAAC;IACH,CAAC;IAEDK,uBAAuB,EAAE,MAAOC,SAAS,IAAK;MAC5C,OAAOL,kCAAyB,CAACI,uBAAuB,CACtD,IAAAH,8BAAc,EAACR,SAAS,CAACS,OAAO,CAAC,EACjCG,SACF,CAAC;IACH,CAAC;IAEDC,gBAAgB,EAAE,MAAAA,CAChBD,SAAiB,EACjBE,KAAa,EACbC,MAAc,KACX;MACH,OAAOR,kCAAyB,CAACM,gBAAgB,CAC/C,IAAAL,8BAAc,EAACR,SAAS,CAACS,OAAO,CAAC,EACjCG,SAAS,EACTE,KAAK,EACLC,MACF,CAAC;IACH,CAAC;IAEDC,kBAAkB,EAAE,MAAOJ,SAAiB,IAAK;MAC/C,OAAOL,kCAAyB,CAACS,kBAAkB,CACjD,IAAAR,8BAAc,EAACR,SAAS,CAACS,OAAO,CAAC,EACjCG,SACF,CAAC;IACH;EACF,CAAC,CAAC,CAAC;EAEH,oBACE,IAAAvB,WAAA,CAAA4B,GAAA,EAACnC,6BAAA,CAAAU,OAA4B;IAC3BM,GAAG,EAAEE,SAAU;IACfJ,EAAE,EAAEM,QAAS;IACbL,IAAI,EAAE,OAAOA,IAAI,KAAK,QAAQ,GAAGA,IAAI,GAAGqB,IAAI,CAACC,SAAS,CAACtB,IAAI,CAAE;IAC7DuB,UAAU,EAAE,CAAC,CAACrB,KAAK,CAACsB,OAAQ;IAAA,GACxBtB,KAAK;IAAAuB,QAAA,EAER,IAAAC,kCAA2B,EAACxB,KAAK,CAACuB,QAAQ,EAAE;MAC3CE,MAAM,EAAEtB;IACV,CAAC;EAAC,CAC0B,CAAC;AAEnC,CACF,CAAC","ignoreList":[]}
|
|
@@ -11,8 +11,9 @@ var _index = require("../../../utils/index.js");
|
|
|
11
11
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
12
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
13
13
|
/**
|
|
14
|
-
* ImageSource is a content source that is used for a georeferenced raster image
|
|
15
|
-
* The georeferenced image scales and rotates as the
|
|
14
|
+
* ImageSource is a content source that is used for a georeferenced raster image
|
|
15
|
+
* to be shown on the map. The georeferenced image scales and rotates as the
|
|
16
|
+
* user zooms and rotates the map
|
|
16
17
|
*/
|
|
17
18
|
const ImageSource = exports.ImageSource = /*#__PURE__*/(0, _react.memo)(({
|
|
18
19
|
id,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","require","_ImageSourceNativeComponent","_interopRequireDefault","_useFrozenId","_index","_jsxRuntime","e","__esModule","default","ImageSource","exports","memo","id","url","props","frozenId","useFrozenId","jsx","isNumber","resolveImagePath","coordinates","children","cloneReactChildrenWithProps","source"],"sourceRoot":"../../../../../src","sources":["components/sources/image-source/ImageSource.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAEA,IAAAC,2BAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,YAAA,GAAAH,OAAA;AAGA,IAAAI,MAAA,GAAAJ,OAAA;AAIwB,IAAAK,WAAA,GAAAL,OAAA;AAAA,SAAAE,uBAAAI,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;
|
|
1
|
+
{"version":3,"names":["_react","require","_ImageSourceNativeComponent","_interopRequireDefault","_useFrozenId","_index","_jsxRuntime","e","__esModule","default","ImageSource","exports","memo","id","url","props","frozenId","useFrozenId","jsx","isNumber","resolveImagePath","coordinates","children","cloneReactChildrenWithProps","source"],"sourceRoot":"../../../../../src","sources":["components/sources/image-source/ImageSource.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAEA,IAAAC,2BAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,YAAA,GAAAH,OAAA;AAGA,IAAAI,MAAA,GAAAJ,OAAA;AAIwB,IAAAK,WAAA,GAAAL,OAAA;AAAA,SAAAE,uBAAAI,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AA4BxB;AACA;AACA;AACA;AACA;AACO,MAAMG,WAAW,GAAAC,OAAA,CAAAD,WAAA,gBAAG,IAAAE,WAAI,EAAC,CAAC;EAAEC,EAAE;EAAEC,GAAG;EAAE,GAAGC;AAAwB,CAAC,KAAK;EAC3E,MAAMC,QAAQ,GAAG,IAAAC,wBAAW,EAACJ,EAAE,CAAC;EAEhC,oBACE,IAAAP,WAAA,CAAAY,GAAA,EAAChB,2BAAA,CAAAO,OAA0B;IACzBI,EAAE,EAAEG,QAAS;IACbF,GAAG,EAAE,IAAAK,eAAQ,EAACL,GAAG,CAAC,GAAG,IAAAM,uBAAgB,EAACN,GAAG,CAAC,GAAGA,GAAI;IACjDO,WAAW,EAAEN,KAAK,CAACM,WAAY;IAAAC,QAAA,EAE9B,IAAAC,kCAA2B,EAACR,KAAK,CAACO,QAAQ,EAAE;MAC3CE,MAAM,EAAER;IACV,CAAC;EAAC,CACwB,CAAC;AAEjC,CAAC,CAAC","ignoreList":[]}
|
|
@@ -11,9 +11,10 @@ var _index = require("../../../utils/index.js");
|
|
|
11
11
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
12
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
13
13
|
/**
|
|
14
|
-
* RasterSource is a map content source that supplies raster image tiles to be
|
|
15
|
-
* The location of and metadata about the tiles are defined
|
|
16
|
-
* or by an external file that conforms to the
|
|
14
|
+
* RasterSource is a map content source that supplies raster image tiles to be
|
|
15
|
+
* shown on the map. The location of and metadata about the tiles are defined
|
|
16
|
+
* either by an option dictionary or by an external file that conforms to the
|
|
17
|
+
* TileJSON specification.
|
|
17
18
|
*/
|
|
18
19
|
const RasterSource = exports.RasterSource = /*#__PURE__*/(0, _react.memo)(({
|
|
19
20
|
id,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","require","_RasterSourceNativeComponent","_interopRequireDefault","_useFrozenId","_index","_jsxRuntime","e","__esModule","default","RasterSource","exports","memo","id","props","frozenId","useFrozenId","jsx","children","cloneReactChildrenWithProps","source"],"sourceRoot":"../../../../../src","sources":["components/sources/raster-source/RasterSource.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAEA,IAAAC,4BAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,YAAA,GAAAH,OAAA;AAEA,IAAAI,MAAA,GAAAJ,OAAA;AAA6D,IAAAK,WAAA,GAAAL,OAAA;AAAA,SAAAE,uBAAAI,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;
|
|
1
|
+
{"version":3,"names":["_react","require","_RasterSourceNativeComponent","_interopRequireDefault","_useFrozenId","_index","_jsxRuntime","e","__esModule","default","RasterSource","exports","memo","id","props","frozenId","useFrozenId","jsx","children","cloneReactChildrenWithProps","source"],"sourceRoot":"../../../../../src","sources":["components/sources/raster-source/RasterSource.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAEA,IAAAC,4BAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,YAAA,GAAAH,OAAA;AAEA,IAAAI,MAAA,GAAAJ,OAAA;AAA6D,IAAAK,WAAA,GAAAL,OAAA;AAAA,SAAAE,uBAAAI,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AA4D7D;AACA;AACA;AACA;AACA;AACA;AACO,MAAMG,YAAY,GAAAC,OAAA,CAAAD,YAAA,gBAAG,IAAAE,WAAI,EAAC,CAAC;EAAEC,EAAE;EAAE,GAAGC;AAAyB,CAAC,KAAK;EACxE,MAAMC,QAAQ,GAAG,IAAAC,wBAAW,EAACH,EAAE,CAAC;EAEhC,oBACE,IAAAP,WAAA,CAAAW,GAAA,EAACf,4BAAA,CAAAO,OAA2B;IAACI,EAAE,EAAEE,QAAS;IAAA,GAAKD,KAAK;IAAAI,QAAA,EACjD,IAAAC,kCAA2B,EAACL,KAAK,CAACI,QAAQ,EAAE;MAC3CE,MAAM,EAAEL;IACV,CAAC;EAAC,CACyB,CAAC;AAElC,CAAC,CAAC","ignoreList":[]}
|
|
@@ -14,13 +14,16 @@ var _getNativeFilter = require("../../../utils/getNativeFilter.js");
|
|
|
14
14
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
15
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
16
16
|
/**
|
|
17
|
-
* VectorSource is a map content source that supplies tiled vector data in
|
|
18
|
-
*
|
|
17
|
+
* VectorSource is a map content source that supplies tiled vector data in
|
|
18
|
+
* Mapbox Vector Tile format to be shown on the map. The location of and
|
|
19
|
+
* metadata about the tiles are defined either by an option dictionary or by an
|
|
20
|
+
* external file that conforms to the TileJSON specification.
|
|
19
21
|
*/
|
|
20
|
-
const VectorSource = exports.VectorSource = /*#__PURE__*/(0, _react.memo)(
|
|
22
|
+
const VectorSource = exports.VectorSource = /*#__PURE__*/(0, _react.memo)(({
|
|
21
23
|
id,
|
|
24
|
+
ref,
|
|
22
25
|
...props
|
|
23
|
-
}
|
|
26
|
+
}) => {
|
|
24
27
|
const nativeRef = (0, _react.useRef)(null);
|
|
25
28
|
const frozenId = (0, _useFrozenId.useFrozenId)(id);
|
|
26
29
|
(0, _react.useImperativeHandle)(ref, () => ({
|
|
@@ -40,5 +43,5 @@ const VectorSource = exports.VectorSource = /*#__PURE__*/(0, _react.memo)(/*#__P
|
|
|
40
43
|
source: frozenId
|
|
41
44
|
})
|
|
42
45
|
});
|
|
43
|
-
})
|
|
46
|
+
});
|
|
44
47
|
//# sourceMappingURL=VectorSource.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","require","_NativeVectorSourceModule","_interopRequireDefault","_VectorSourceNativeComponent","_useFrozenId","_index","_findNodeHandle","_getNativeFilter","_jsxRuntime","e","__esModule","default","VectorSource","exports","memo","
|
|
1
|
+
{"version":3,"names":["_react","require","_NativeVectorSourceModule","_interopRequireDefault","_VectorSourceNativeComponent","_useFrozenId","_index","_findNodeHandle","_getNativeFilter","_jsxRuntime","e","__esModule","default","VectorSource","exports","memo","id","ref","props","nativeRef","useRef","frozenId","useFrozenId","useImperativeHandle","querySourceFeatures","sourceLayer","filter","NativeVectorSourceModule","findNodeHandle","current","getNativeFilter","jsx","hasOnPress","onPress","children","cloneReactChildrenWithProps","source"],"sourceRoot":"../../../../../src","sources":["components/sources/vector-source/VectorSource.tsx"],"mappings":";;;;;;AACA,IAAAA,MAAA,GAAAC,OAAA;AAWA,IAAAC,yBAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,4BAAA,GAAAD,sBAAA,CAAAF,OAAA;AACA,IAAAI,YAAA,GAAAJ,OAAA;AAGA,IAAAK,MAAA,GAAAL,OAAA;AACA,IAAAM,eAAA,GAAAN,OAAA;AACA,IAAAO,gBAAA,GAAAP,OAAA;AAAiE,IAAAQ,WAAA,GAAAR,OAAA;AAAA,SAAAE,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AA2EjE;AACA;AACA;AACA;AACA;AACA;AACO,MAAMG,YAAY,GAAAC,OAAA,CAAAD,YAAA,gBAAG,IAAAE,WAAI,EAAC,CAAC;EAAEC,EAAE;EAAEC,GAAG;EAAE,GAAGC;AAAyB,CAAC,KAAK;EAC7E,MAAMC,SAAS,GAAG,IAAAC,aAAM,EAGtB,IAAI,CAAC;EAEP,MAAMC,QAAQ,GAAG,IAAAC,wBAAW,EAACN,EAAE,CAAC;EAEhC,IAAAO,0BAAmB,EAACN,GAAG,EAAE,OAAO;IAC9BO,mBAAmB,EAAE,MAAAA,CAAO;MAC1BC,WAAW;MACXC;IAIF,CAAC,KAAiC;MAChC,OAAOC,iCAAwB,CAACH,mBAAmB,CACjD,IAAAI,8BAAc,EAACT,SAAS,CAACU,OAAO,CAAC,EACjCJ,WAAW,EACX,IAAAK,gCAAe,EAACJ,MAAM,CACxB,CAAC;IACH;EACF,CAAC,CAAC,CAAC;EAEH,oBACE,IAAAjB,WAAA,CAAAsB,GAAA,EAAC3B,4BAAA,CAAAQ,OAA2B;IAC1BK,GAAG,EAAEE,SAAU;IACfH,EAAE,EAAEK,QAAS;IACbW,UAAU,EAAE,CAAC,CAACd,KAAK,CAACe,OAAQ;IAAA,GACxBf,KAAK;IAAAgB,QAAA,EAER,IAAAC,kCAA2B,EAACjB,KAAK,CAACgB,QAAQ,EAAE;MAC3CE,MAAM,EAAEf;IACV,CAAC;EAAC,CACyB,CAAC;AAElC,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_UserLocationNativeComponent","_interopRequireDefault","require","_jsxRuntime","e","__esModule","default","NativeUserLocation","props","jsx","exports"],"sourceRoot":"../../../../src","sources":["components/user-location/NativeUserLocation.tsx"],"mappings":";;;;;;AAAA,IAAAA,4BAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAwE,IAAAC,WAAA,GAAAD,OAAA;AAAA,SAAAD,uBAAAG,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;
|
|
1
|
+
{"version":3,"names":["_UserLocationNativeComponent","_interopRequireDefault","require","_jsxRuntime","e","__esModule","default","NativeUserLocation","props","jsx","exports"],"sourceRoot":"../../../../src","sources":["components/user-location/NativeUserLocation.tsx"],"mappings":";;;;;;AAAA,IAAAA,4BAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAwE,IAAAC,WAAA,GAAAD,OAAA;AAAA,SAAAD,uBAAAG,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AA4BjE,MAAMG,kBAAkB,GAAIC,KAA8B,IAAK;EACpE,oBAAO,IAAAL,WAAA,CAAAM,GAAA,EAACT,4BAAA,CAAAM,OAA2B;IAAA,GAAKE;EAAK,CAAG,CAAC;AACnD,CAAC;AAACE,OAAA,CAAAH,kBAAA,GAAAA,kBAAA","ignoreList":[]}
|
|
@@ -6,9 +6,12 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.UserLocation = void 0;
|
|
7
7
|
var _react = require("react");
|
|
8
8
|
var _UserLocationPuck = require("./UserLocationPuck.js");
|
|
9
|
+
var _heading = _interopRequireDefault(require("../../assets/heading.png"));
|
|
9
10
|
var _useCurrentPosition = require("../../hooks/useCurrentPosition.js");
|
|
10
11
|
var _LayerAnnotation = require("../annotations/LayerAnnotation.js");
|
|
12
|
+
var _Images = require("../images/Images.js");
|
|
11
13
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
14
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
12
15
|
const UserLocation = exports.UserLocation = /*#__PURE__*/(0, _react.memo)(({
|
|
13
16
|
animated = true,
|
|
14
17
|
accuracy = false,
|
|
@@ -26,18 +29,24 @@ const UserLocation = exports.UserLocation = /*#__PURE__*/(0, _react.memo)(({
|
|
|
26
29
|
if (!lngLat || !currentPosition) {
|
|
27
30
|
return null;
|
|
28
31
|
}
|
|
29
|
-
return /*#__PURE__*/(0, _jsxRuntime.
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
32
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
|
|
33
|
+
children: [heading && /*#__PURE__*/(0, _jsxRuntime.jsx)(_Images.Images, {
|
|
34
|
+
images: {
|
|
35
|
+
"mlrn-user-location-puck-heading": _heading.default
|
|
36
|
+
}
|
|
37
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_LayerAnnotation.LayerAnnotation, {
|
|
38
|
+
animated: animated,
|
|
39
|
+
id: "mlrn-user-location",
|
|
40
|
+
testID: "mlrn-user-location",
|
|
41
|
+
onPress: onPress,
|
|
42
|
+
lngLat: lngLat,
|
|
43
|
+
children: children || /*#__PURE__*/(0, _jsxRuntime.jsx)(_UserLocationPuck.UserLocationPuck, {
|
|
44
|
+
testID: "mlrn-user-location-puck",
|
|
45
|
+
source: "mlrn-user-location",
|
|
46
|
+
accuracy: accuracy ? currentPosition.coords.accuracy : undefined,
|
|
47
|
+
heading: heading ? currentPosition.coords.heading ?? undefined : undefined
|
|
48
|
+
})
|
|
49
|
+
})]
|
|
41
50
|
});
|
|
42
51
|
});
|
|
43
52
|
//# sourceMappingURL=UserLocation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","require","_UserLocationPuck","_useCurrentPosition","_LayerAnnotation","_jsxRuntime","UserLocation","exports","memo","animated","accuracy","heading","minDisplacement","children","onPress","currentPosition","useCurrentPosition","lngLat","useMemo","coords","longitude","latitude","undefined","jsx","LayerAnnotation","id","testID","UserLocationPuck","source"],"sourceRoot":"../../../../src","sources":["components/user-location/UserLocation.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAEA,IAAAC,iBAAA,GAAAD,OAAA;AACA,IAAAE,mBAAA,
|
|
1
|
+
{"version":3,"names":["_react","require","_UserLocationPuck","_heading","_interopRequireDefault","_useCurrentPosition","_LayerAnnotation","_Images","_jsxRuntime","e","__esModule","default","UserLocation","exports","memo","animated","accuracy","heading","minDisplacement","children","onPress","currentPosition","useCurrentPosition","lngLat","useMemo","coords","longitude","latitude","undefined","jsxs","Fragment","jsx","Images","images","headingIcon","LayerAnnotation","id","testID","UserLocationPuck","source"],"sourceRoot":"../../../../src","sources":["components/user-location/UserLocation.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAA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ACnBqB,EAAE,EAAC,oBAAoB;MACvBC,MAAM,EAAC,oBAAoB;MAC3BjB,OAAO,EAAEA,OAAQ;MACjBG,MAAM,EAAEA,MAAO;MAAAJ,QAAA,EAEdA,QAAQ,iBACP,IAAAX,WAAA,CAAAuB,GAAA,EAAC7B,iBAAA,CAAAoC,gBAAgB;QACfD,MAAM,EAAC,yBAAyB;QAChCE,MAAM,EAAC,oBAAoB;QAC3BvB,QAAQ,EAAEA,QAAQ,GAAGK,eAAe,CAACI,MAAM,CAACT,QAAQ,GAAGY,SAAU;QACjEX,OAAO,EACLA,OAAO,GACFI,eAAe,CAACI,MAAM,CAACR,OAAO,IAAIW,SAAS,GAC5CA;MACL,CACF;IACF,CACc,CAAC;EAAA,CAClB,CAAC;AAEP,CACF,CAAC","ignoreList":[]}
|
|
@@ -9,25 +9,25 @@ var _UserLocationPuckHeading = require("./UserLocationPuckHeading.js");
|
|
|
9
9
|
var _Layer = require("../layer/Layer.js");
|
|
10
10
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
11
|
const blue = "#33B5E5";
|
|
12
|
-
const
|
|
12
|
+
const CIRCLE_LAYERS_PAINT = {
|
|
13
13
|
accuracy: {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
"circle-color": blue,
|
|
15
|
+
"circle-opacity": 0.2,
|
|
16
|
+
"circle-pitch-alignment": "map",
|
|
17
|
+
"circle-radius-transition": {
|
|
18
18
|
duration: 300,
|
|
19
19
|
delay: 0
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
22
|
white: {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
"circle-radius": 9,
|
|
24
|
+
"circle-color": "#fff",
|
|
25
|
+
"circle-pitch-alignment": "map"
|
|
26
26
|
},
|
|
27
27
|
blue: {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
"circle-radius": 6,
|
|
29
|
+
"circle-color": blue,
|
|
30
|
+
"circle-pitch-alignment": "map"
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
33
|
const UserLocationPuck = exports.UserLocationPuck = /*#__PURE__*/(0, _react.memo)(({
|
|
@@ -41,22 +41,22 @@ const UserLocationPuck = exports.UserLocationPuck = /*#__PURE__*/(0, _react.memo
|
|
|
41
41
|
id: "mlrn-user-location-puck-accuracy",
|
|
42
42
|
testID: "mlrn-user-location-puck-accuracy",
|
|
43
43
|
source: source,
|
|
44
|
-
|
|
45
|
-
...
|
|
46
|
-
|
|
44
|
+
paint: {
|
|
45
|
+
...CIRCLE_LAYERS_PAINT.accuracy,
|
|
46
|
+
"circle-radius": ["interpolate", ["exponential", 2], ["zoom"], 0, CIRCLE_LAYERS_PAINT.white["circle-radius"], 22, CIRCLE_LAYERS_PAINT.white["circle-radius"] + accuracy * 100]
|
|
47
47
|
}
|
|
48
48
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_Layer.Layer, {
|
|
49
49
|
type: "circle",
|
|
50
50
|
id: "mlrn-user-location-puck-white",
|
|
51
51
|
testID: "mlrn-user-location-puck-white",
|
|
52
52
|
source: source,
|
|
53
|
-
|
|
53
|
+
paint: CIRCLE_LAYERS_PAINT.white
|
|
54
54
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_Layer.Layer, {
|
|
55
55
|
type: "circle",
|
|
56
56
|
id: "mlrn-user-location-puck-blue",
|
|
57
57
|
testID: "mlrn-user-location-puck-blue",
|
|
58
58
|
source: source,
|
|
59
|
-
|
|
59
|
+
paint: CIRCLE_LAYERS_PAINT.blue
|
|
60
60
|
}), typeof heading === "number" && /*#__PURE__*/(0, _jsxRuntime.jsx)(_UserLocationPuckHeading.UserLocationPuckHeading, {
|
|
61
61
|
source: source,
|
|
62
62
|
beforeId: "mlrn-user-location-puck-white",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","require","_UserLocationPuckHeading","_Layer","_jsxRuntime","blue","
|
|
1
|
+
{"version":3,"names":["_react","require","_UserLocationPuckHeading","_Layer","_jsxRuntime","blue","CIRCLE_LAYERS_PAINT","accuracy","duration","delay","white","UserLocationPuck","exports","memo","source","heading","jsxs","Fragment","children","jsx","Layer","type","id","testID","paint","UserLocationPuckHeading","beforeId"],"sourceRoot":"../../../../src","sources":["components/user-location/UserLocationPuck.tsx"],"mappings":";;;;;;AACA,IAAAA,MAAA,GAAAC,OAAA;AAEA,IAAAC,wBAAA,GAAAD,OAAA;AAEA,IAAAE,MAAA,GAAAF,OAAA;AAAuC,IAAAG,WAAA,GAAAH,OAAA;AAEvC,MAAMI,IAAI,GAAG,SAAS;AAEtB,MAAMC,mBAAmB,GAAG;EAC1BC,QAAQ,EAAE;IACR,cAAc,EAAEF,IAAI;IACpB,gBAAgB,EAAE,GAAG;IACrB,wBAAwB,EAAE,KAAK;IAC/B,0BAA0B,EAAE;MAAEG,QAAQ,EAAE,GAAG;MAAEC,KAAK,EAAE;IAAE;EACxD,CAAC;EACDC,KAAK,EAAE;IACL,eAAe,EAAE,CAAC;IAClB,cAAc,EAAE,MAAM;IACtB,wBAAwB,EAAE;EAC5B,CAAC;EACDL,IAAI,EAAE;IACJ,eAAe,EAAE,CAAC;IAClB,cAAc,EAAEA,IAAI;IACpB,wBAAwB,EAAE;EAC5B;AACF,CAAsE;AAS/D,MAAMM,gBAAgB,GAAAC,OAAA,CAAAD,gBAAA,gBAAG,IAAAE,WAAI,EAClC,CAAC;EAAEC,MAAM;EAAEP,QAAQ;EAAEQ;AAA+B,CAAC,KAAK;EACxD,oBACE,IAAAX,WAAA,CAAAY,IAAA,EAAAZ,WAAA,CAAAa,QAAA;IAAAC,QAAA,GACG,OAAOX,QAAQ,KAAK,QAAQ,iBAC3B,IAAAH,WAAA,CAAAe,GAAA,EAAChB,MAAA,CAAAiB,KAAK;MACJC,IAAI,EAAC,QAAQ;MACbC,EAAE,EAAC,kCAAkC;MACrCC,MAAM,EAAC,kCAAkC;MACzCT,MAAM,EAAEA,MAAO;MACfU,KAAK,EAAE;QACL,GAAGlB,mBAAmB,CAACC,QAAQ;QAC/B,eAAe,EAAE,CACf,aAAa,EACb,CAAC,aAAa,EAAE,CAAC,CAAC,EAClB,CAAC,MAAM,CAAC,EACR,CAAC,EACDD,mBAAmB,CAACI,KAAK,CAAC,eAAe,CAAC,EAC1C,EAAE,EACFJ,mBAAmB,CAACI,KAAK,CAAC,eAAe,CAAC,GAAGH,QAAQ,GAAG,GAAG;MAE/D;IAAE,CACH,CACF,eACD,IAAAH,WAAA,CAAAe,GAAA,EAAChB,MAAA,CAAAiB,KAAK;MACJC,IAAI,EAAC,QAAQ;MACbC,EAAE,EAAC,+BAA+B;MAClCC,MAAM,EAAC,+BAA+B;MACtCT,MAAM,EAAEA,MAAO;MACfU,KAAK,EAAElB,mBAAmB,CAACI;IAAM,CAClC,CAAC,eACF,IAAAN,WAAA,CAAAe,GAAA,EAAChB,MAAA,CAAAiB,KAAK;MACJC,IAAI,EAAC,QAAQ;MACbC,EAAE,EAAC,8BAA8B;MACjCC,MAAM,EAAC,8BAA8B;MACrCT,MAAM,EAAEA,MAAO;MACfU,KAAK,EAAElB,mBAAmB,CAACD;IAAK,CACjC,CAAC,EACD,OAAOU,OAAO,KAAK,QAAQ,iBAC1B,IAAAX,WAAA,CAAAe,GAAA,EAACjB,wBAAA,CAAAuB,uBAAuB;MACtBX,MAAM,EAAEA,MAAO;MACfY,QAAQ,EAAC,+BAA+B;MACxCX,OAAO,EAAEA;IAAQ,CAClB,CACF;EAAA,CACD,CAAC;AAEP,CACF,CAAC","ignoreList":[]}
|
|
@@ -5,15 +5,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.UserLocationPuckHeading = void 0;
|
|
7
7
|
var _react = require("react");
|
|
8
|
-
var _heading = _interopRequireDefault(require("../../assets/heading.png"));
|
|
9
8
|
var _Layer = require("../layer/Layer.js");
|
|
10
9
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
iconRotationAlignment: "map"
|
|
10
|
+
const SYMBOL_LAYER_LAYOUT = {
|
|
11
|
+
"icon-image": "mlrn-user-location-puck-heading",
|
|
12
|
+
"icon-allow-overlap": true,
|
|
13
|
+
"icon-pitch-alignment": "map",
|
|
14
|
+
"icon-rotation-alignment": "map"
|
|
17
15
|
};
|
|
18
16
|
const UserLocationPuckHeading = exports.UserLocationPuckHeading = /*#__PURE__*/(0, _react.memo)(({
|
|
19
17
|
source,
|
|
@@ -25,9 +23,9 @@ const UserLocationPuckHeading = exports.UserLocationPuckHeading = /*#__PURE__*/(
|
|
|
25
23
|
testID: "mlrn-user-location-puck-heading",
|
|
26
24
|
source: source,
|
|
27
25
|
beforeId: beforeId,
|
|
28
|
-
|
|
29
|
-
...
|
|
30
|
-
|
|
26
|
+
layout: {
|
|
27
|
+
...SYMBOL_LAYER_LAYOUT,
|
|
28
|
+
"icon-rotate": heading
|
|
31
29
|
}
|
|
32
30
|
}));
|
|
33
31
|
//# sourceMappingURL=UserLocationPuckHeading.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","require","
|
|
1
|
+
{"version":3,"names":["_react","require","_Layer","_jsxRuntime","SYMBOL_LAYER_LAYOUT","UserLocationPuckHeading","exports","memo","source","beforeId","heading","jsx","Layer","type","id","testID","layout"],"sourceRoot":"../../../../src","sources":["components/user-location/UserLocationPuckHeading.tsx"],"mappings":";;;;;;AACA,IAAAA,MAAA,GAAAC,OAAA;AAGA,IAAAC,MAAA,GAAAD,OAAA;AAAuC,IAAAE,WAAA,GAAAF,OAAA;AAEvC,MAAMG,mBAAuD,GAAG;EAC9D,YAAY,EAAE,iCAAiC;EAC/C,oBAAoB,EAAE,IAAI;EAC1B,sBAAsB,EAAE,KAAK;EAC7B,yBAAyB,EAAE;AAC7B,CAAC;AAQM,MAAMC,uBAAuB,GAAAC,OAAA,CAAAD,uBAAA,gBAAG,IAAAE,WAAI,EACzC,CAAC;EAAEC,MAAM;EAAEC,QAAQ;EAAEC;AAAsC,CAAC,kBAC1D,IAAAP,WAAA,CAAAQ,GAAA,EAACT,MAAA,CAAAU,KAAK;EACJC,IAAI,EAAC,QAAQ;EACbC,EAAE,EAAC,iCAAiC;EACpCC,MAAM,EAAC,iCAAiC;EACxCP,MAAM,EAAEA,MAAO;EACfC,QAAQ,EAAEA,QAAS;EACnBO,MAAM,EAAE;IACN,GAAGZ,mBAAmB;IACtB,aAAa,EAAEM;EACjB;AAAE,CACH,CAEL,CAAC","ignoreList":[]}
|
package/lib/commonjs/index.js
CHANGED
|
@@ -111,6 +111,12 @@ Object.defineProperty(exports, "StaticMapImageManager", {
|
|
|
111
111
|
return _StaticMapManager.StaticMapImageManager;
|
|
112
112
|
}
|
|
113
113
|
});
|
|
114
|
+
Object.defineProperty(exports, "TransformRequestManager", {
|
|
115
|
+
enumerable: true,
|
|
116
|
+
get: function () {
|
|
117
|
+
return _TransformRequestManager.TransformRequestManager;
|
|
118
|
+
}
|
|
119
|
+
});
|
|
114
120
|
Object.defineProperty(exports, "UserLocation", {
|
|
115
121
|
enumerable: true,
|
|
116
122
|
get: function () {
|
|
@@ -156,5 +162,6 @@ var _NetworkManager = require("./modules/network/NetworkManager.js");
|
|
|
156
162
|
var _OfflineManager = require("./modules/offline/OfflineManager.js");
|
|
157
163
|
var _OfflinePack = require("./modules/offline/OfflinePack.js");
|
|
158
164
|
var _StaticMapManager = require("./modules/static-map/StaticMapManager.js");
|
|
165
|
+
var _TransformRequestManager = require("./modules/transform-request/TransformRequestManager.js");
|
|
159
166
|
var _Animated = require("./utils/animated/Animated.js");
|
|
160
167
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_Camera","require","_Map","_ViewAnnotation","_LayerAnnotation","_Callout","_UserLocation","_NativeUserLocation","_useCurrentPosition","_ImageSource","_GeoJSONSource","_RasterSource","_VectorSource","_Layer","_Images","_Marker","_LocationManager","_LogManager","_NetworkManager","_OfflineManager","_OfflinePack","_StaticMapManager","_Animated"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":"
|
|
1
|
+
{"version":3,"names":["_Camera","require","_Map","_ViewAnnotation","_LayerAnnotation","_Callout","_UserLocation","_NativeUserLocation","_useCurrentPosition","_ImageSource","_GeoJSONSource","_RasterSource","_VectorSource","_Layer","_Images","_Marker","_LocationManager","_LogManager","_NetworkManager","_OfflineManager","_OfflinePack","_StaticMapManager","_TransformRequestManager","_Animated"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAiBA,IAAAC,IAAA,GAAAD,OAAA;AAQA,IAAAE,eAAA,GAAAF,OAAA;AAQA,IAAAG,gBAAA,GAAAH,OAAA;AAKA,IAAAI,QAAA,GAAAJ,OAAA;AAKA,IAAAK,aAAA,GAAAL,OAAA;AACA,IAAAM,mBAAA,GAAAN,OAAA;AACA,IAAAO,mBAAA,GAAAP,OAAA;AAEA,IAAAQ,YAAA,GAAAR,OAAA;AAKA,IAAAS,cAAA,GAAAT,OAAA;AAMA,IAAAU,aAAA,GAAAV,OAAA;AAKA,IAAAW,aAAA,GAAAX,OAAA;AAMA,IAAAY,MAAA,GAAAZ,OAAA;AA+CA,IAAAa,OAAA,GAAAb,OAAA;AAOA,IAAAc,OAAA,GAAAd,OAAA;AAQA,IAAAe,gBAAA,GAAAf,OAAA;AAKA,IAAAgB,WAAA,GAAAhB,OAAA;AAEA,IAAAiB,eAAA,GAAAjB,OAAA;AAEA,IAAAkB,eAAA,GAAAlB,OAAA;AAQA,IAAAmB,YAAA,GAAAnB,OAAA;AAKA,IAAAoB,iBAAA,GAAApB,OAAA;AAQA,IAAAqB,wBAAA,GAAArB,OAAA;AA8BA,IAAAsB,SAAA,GAAAtB,OAAA","ignoreList":[]}
|
|
@@ -13,9 +13,10 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
|
|
|
13
13
|
/**
|
|
14
14
|
* Handler for `onLog` events
|
|
15
15
|
*
|
|
16
|
-
* Called before logging a message, return false to proceed with default
|
|
16
|
+
* Called before logging a message, return false to proceed with default
|
|
17
|
+
* logging.
|
|
17
18
|
*
|
|
18
|
-
* @param event
|
|
19
|
+
* @param event -
|
|
19
20
|
*/
|
|
20
21
|
|
|
21
22
|
class LogManager {
|
|
@@ -30,7 +31,7 @@ class LogManager {
|
|
|
30
31
|
/**
|
|
31
32
|
* Override logging behavior
|
|
32
33
|
*
|
|
33
|
-
* @param logHandler
|
|
34
|
+
* @param logHandler -
|
|
34
35
|
*/
|
|
35
36
|
onLog(logHandler) {
|
|
36
37
|
this.logHandler = logHandler;
|
|
@@ -39,7 +40,7 @@ class LogManager {
|
|
|
39
40
|
/**
|
|
40
41
|
* Set the minimum log level for a message to be logged
|
|
41
42
|
*
|
|
42
|
-
* @param level Minimum log level
|
|
43
|
+
* @param level - Minimum log level
|
|
43
44
|
*/
|
|
44
45
|
setLogLevel(level) {
|
|
45
46
|
this.logLevel = level;
|
|
@@ -1 +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":";;;;;;AAEA,IAAAA,gBAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAgD,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,C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EC;EAAc,CAAC,EAAY;IAClE;IACA,IACET,KAAK,KAAK,MAAM,IAChBS,GAAG,KAAK,kBAAkB,IAC1BD,OAAO,CAACE,UAAU,CAAC,mDAAmD,CAAC,EACvE;MACA,OAAO,MAAM;IACf;IAEA,OAAOV,KAAK;EACd;EAEQJ,SAASA,CAACe,GAAa,EAAQ;IACrC,IAAI,CAAC,IAAI,CAACnB,UAAU,IAAI,CAAC,IAAI,CAACA,UAAU,CAACmB,GAAG,CAAC,EAAE;MAC7C,MAAM;QAAEH,OAAO;QAAEC;MAAI,CAAC,GAAGE,GAAG;MAC5B,MAAMX,KAAK,GAAG,IAAI,CAACO,cAAc,CAACI,GAAG,CAAC;MAEtC,MAAMC,cAAc,GAAG,oBAAoBZ,KAAK,CAACa,WAAW,CAAC,CAAC,MAAMJ,GAAG,KAAKD,OAAO,EAAE;MAErF,IAAIR,KAAK,KAAK,OAAO,EAAE;QACrBc,OAAO,CAACC,KAAK,CAACH,cAAc,CAAC;MAC/B,CAAC,MAAM,IAAIZ,KAAK,KAAK,MAAM,IAAI,IAAI,CAACV,QAAQ,KAAK,OAAO,EAAE;QACxDwB,OAAO,CAACE,IAAI,CAACJ,cAAc,CAAC;MAC9B,CAAC,MAAM,IAAI,IAAI,CAACtB,QAAQ,KAAK,OAAO,IAAI,IAAI,CAACA,QAAQ,KAAK,MAAM,EAAE;QAChEwB,OAAO,CAACG,IAAI,CAACL,cAAc,CAAC;MAC9B;IACF;EACF;AACF;AAEA,MAAMM,UAAU,GAAAC,OAAA,CAAA9B,UAAA,GAAG,IAAIA,UAAU,CAAC,CAAC","ignoreList":[]}
|
|
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":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_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,
|
|
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":[]}
|
|
@@ -7,62 +7,24 @@ exports.NetworkManager = void 0;
|
|
|
7
7
|
var _NativeNetworkModule = _interopRequireDefault(require("./NativeNetworkModule.js"));
|
|
8
8
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
9
9
|
/**
|
|
10
|
-
* NetworkManager provides methods for managing
|
|
11
|
-
*
|
|
10
|
+
* NetworkManager provides methods for managing and controlling network
|
|
11
|
+
* connectivity.
|
|
12
12
|
*/
|
|
13
13
|
class NetworkManager {
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
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
18
|
*
|
|
19
|
-
* @
|
|
20
|
-
* // Add header to all requests
|
|
21
|
-
* NetworkManager.addRequestHeader("Authorization", "Bearer token123");
|
|
22
|
-
*
|
|
23
|
-
* // Add header only to requests matching a regex pattern (string)
|
|
24
|
-
* NetworkManager.addRequestHeader("X-API-Key", "key123", "https:\\/\\/api\\.example\\.com\\/tiles\\/");
|
|
25
|
-
*
|
|
26
|
-
* // Add header only to requests matching a regex pattern (RegExp)
|
|
27
|
-
* NetworkManager.addRequestHeader("X-API-Key", "key123", /https:\/\/api\.example\.com\/tiles\//);
|
|
28
|
-
*
|
|
29
|
-
* @param name The name of the header (e.g., "Authorization")
|
|
30
|
-
* @param value The value of the header (e.g., "Bearer token123")
|
|
31
|
-
* @param match Optional regex pattern to match against network URLs. If provided, the header will only be added to requests whose URLs match this pattern. Can be a RegExp object or a regex string.
|
|
32
|
-
*/
|
|
33
|
-
static addRequestHeader(name, value, match) {
|
|
34
|
-
_NativeNetworkModule.default.addRequestHeader(name, value, (match instanceof RegExp ? match.source : match) || null);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* Removes a previously added custom HTTP header.
|
|
39
|
-
*
|
|
40
|
-
* @example
|
|
41
|
-
* ```ts
|
|
42
|
-
* NetworkManager.removeRequestHeader("Authorization");
|
|
43
|
-
* ```
|
|
44
|
-
*
|
|
45
|
-
* @param headerName The name of the header to remove
|
|
46
|
-
*/
|
|
47
|
-
static removeRequestHeader(headerName) {
|
|
48
|
-
_NativeNetworkModule.default.removeRequestHeader(headerName);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* Android only: Sets the connectivity state of the map. When set to false, the map will
|
|
53
|
-
* not make any network requests and will only use cached tiles. This is
|
|
54
|
-
* useful for implementing offline mode or reducing data usage.
|
|
19
|
+
* @param connected - Whether the map should be connected to the network
|
|
55
20
|
*
|
|
56
21
|
* @example
|
|
57
22
|
* ```ts
|
|
58
23
|
* // Enable offline mode
|
|
59
24
|
* NetworkManager.setConnected(false);
|
|
60
|
-
*
|
|
61
25
|
* // Re-enable network requests
|
|
62
26
|
* NetworkManager.setConnected(true);
|
|
63
27
|
* ```
|
|
64
|
-
*
|
|
65
|
-
* @param connected Whether the map should be connected to the network
|
|
66
28
|
*/
|
|
67
29
|
static setConnected(connected) {
|
|
68
30
|
_NativeNetworkModule.default.setConnected(connected);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_NativeNetworkModule","_interopRequireDefault","require","e","__esModule","default","NetworkManager","
|
|
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":[]}
|