@maplibre/maplibre-react-native 10.0.0-beta.2 → 10.0.0-beta.21
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/README.md +12 -56
- package/android/build.gradle +120 -50
- package/android/gradle.properties +15 -0
- package/android/src/main/AndroidManifest.xml +4 -2
- package/android/src/main/AndroidManifestNew.xml +5 -0
- package/android/src/main/java/org/maplibre/reactnative/MLRNPackage.java +0 -5
- package/android/src/main/java/org/maplibre/reactnative/components/camera/MLRNCamera.java +37 -48
- package/android/src/main/java/org/maplibre/reactnative/components/location/LocationComponentManager.java +16 -9
- package/android/src/main/java/org/maplibre/reactnative/components/mapview/MLRNMapView.java +11 -13
- package/android/src/main/java/org/maplibre/reactnative/components/mapview/MLRNMapViewManager.java +4 -11
- package/android/src/main/java/org/maplibre/reactnative/components/styles/MLRNStyle.java +1 -4
- package/android/src/main/java/org/maplibre/reactnative/components/styles/MLRNStyleFactory.java +10 -11
- package/android/src/main/java/org/maplibre/reactnative/components/styles/sources/MLRNShapeSource.java +0 -66
- package/android/src/main/java/org/maplibre/reactnative/components/styles/sources/MLRNShapeSourceManager.java +0 -28
- package/android/src/main/java/org/maplibre/reactnative/location/LocationManager.java +7 -11
- package/android/src/main/java/org/maplibre/reactnative/location/engine/DefaultLocationEngineProvider.java +18 -0
- package/android/src/main/java/org/maplibre/reactnative/location/engine/LocationEngineProvidable.java +9 -0
- package/android/src/main/java/org/maplibre/reactnative/modules/MLRNModule.java +27 -148
- package/android/src/main/java/org/maplibre/reactnative/modules/MLRNOfflineModule.java +1 -3
- package/android/src/main/java/org/maplibre/reactnative/utils/GeoJSONUtils.java +123 -18
- package/android/src/main/location-engine-default/org/maplibre/reactnative/location/engine/LocationEngineProvider.java +12 -0
- package/android/src/main/location-engine-google/org/maplibre/reactnative/location/engine/GoogleLocationEngineImpl.java +151 -0
- package/android/src/main/location-engine-google/org/maplibre/reactnative/location/engine/GoogleLocationEngineProvider.java +24 -0
- package/android/src/main/location-engine-google/org/maplibre/reactnative/location/engine/LocationEngineProvider.java +12 -0
- package/app.plugin.js +1 -1
- package/ios/MLRN/MLRNBackgroundLayer.h +0 -1
- package/ios/MLRN/MLRNCamera.m +6 -7
- package/ios/MLRN/MLRNFillExtrusionLayer.h +0 -1
- package/ios/MLRN/MLRNFillLayer.h +0 -1
- package/ios/MLRN/MLRNFillLayer.m +1 -0
- package/ios/MLRN/MLRNLineLayer.h +0 -1
- package/ios/MLRN/MLRNMapView.h +1 -1
- package/ios/MLRN/MLRNMapView.m +7 -7
- package/ios/MLRN/MLRNMapViewManager.m +1 -1
- package/ios/MLRN/MLRNModule.m +8 -139
- package/ios/MLRN/MLRNRasterLayer.h +0 -1
- package/ios/MLRN/MLRNShapeSource.h +0 -11
- package/ios/MLRN/MLRNShapeSource.m +0 -38
- package/ios/MLRN/MLRNShapeSourceManager.m +0 -68
- package/ios/MLRN/MLRNStyle.m +0 -40
- package/ios/MLRN/MLRNSymbolLayer.h +1 -7
- package/ios/MLRN/MLRNSymbolLayer.m +1 -89
- package/ios/MLRN/MLRNSymbolLayerManager.m +0 -1
- package/lib/commonjs/MLRNModule.js +7 -5
- package/lib/commonjs/MLRNModule.js.map +1 -1
- package/lib/commonjs/MapLibreRN.js +74 -68
- package/lib/commonjs/MapLibreRN.js.map +1 -1
- package/lib/commonjs/components/Annotation.js +7 -9
- package/lib/commonjs/components/Annotation.js.map +1 -1
- package/lib/commonjs/components/BackgroundLayer.js +6 -8
- package/lib/commonjs/components/BackgroundLayer.js.map +1 -1
- package/lib/commonjs/components/Callout.js +2 -2
- package/lib/commonjs/components/Callout.js.map +1 -1
- package/lib/commonjs/components/Camera.js +111 -63
- package/lib/commonjs/components/Camera.js.map +1 -1
- package/lib/commonjs/components/CircleLayer.js +6 -8
- package/lib/commonjs/components/CircleLayer.js.map +1 -1
- package/lib/commonjs/components/FillExtrusionLayer.js +6 -8
- package/lib/commonjs/components/FillExtrusionLayer.js.map +1 -1
- package/lib/commonjs/components/FillLayer.js +6 -8
- package/lib/commonjs/components/FillLayer.js.map +1 -1
- package/lib/commonjs/components/HeadingIndicator.js +4 -4
- package/lib/commonjs/components/HeadingIndicator.js.map +1 -1
- package/lib/commonjs/components/HeatmapLayer.js +6 -8
- package/lib/commonjs/components/HeatmapLayer.js.map +1 -1
- package/lib/commonjs/components/ImageSource.js +4 -5
- package/lib/commonjs/components/ImageSource.js.map +1 -1
- package/lib/commonjs/components/Images.js +3 -7
- package/lib/commonjs/components/Images.js.map +1 -1
- package/lib/commonjs/components/Light.js +4 -6
- package/lib/commonjs/components/Light.js.map +1 -1
- package/lib/commonjs/components/LineLayer.js +6 -8
- package/lib/commonjs/components/LineLayer.js.map +1 -1
- package/lib/commonjs/components/MapView.js +69 -83
- package/lib/commonjs/components/MapView.js.map +1 -1
- package/lib/commonjs/components/MarkerView.js +4 -5
- package/lib/commonjs/components/MarkerView.js.map +1 -1
- package/lib/commonjs/components/NativeUserLocation.js +2 -2
- package/lib/commonjs/components/NativeUserLocation.js.map +1 -1
- package/lib/commonjs/components/PointAnnotation.js +7 -10
- package/lib/commonjs/components/PointAnnotation.js.map +1 -1
- package/lib/commonjs/components/RasterLayer.js +6 -8
- package/lib/commonjs/components/RasterLayer.js.map +1 -1
- package/lib/commonjs/components/RasterSource.js +8 -10
- package/lib/commonjs/components/RasterSource.js.map +1 -1
- package/lib/commonjs/components/ShapeSource.js +11 -45
- package/lib/commonjs/components/ShapeSource.js.map +1 -1
- package/lib/commonjs/components/SymbolLayer.js +8 -24
- package/lib/commonjs/components/SymbolLayer.js.map +1 -1
- package/lib/commonjs/components/UserLocation.js +21 -23
- package/lib/commonjs/components/UserLocation.js.map +1 -1
- package/lib/commonjs/components/VectorSource.js +9 -21
- package/lib/commonjs/components/VectorSource.js.map +1 -1
- package/lib/commonjs/hooks/useAbstractLayer.js +1 -1
- package/lib/commonjs/hooks/useAbstractLayer.js.map +1 -1
- package/lib/commonjs/hooks/useAbstractSource.js +1 -1
- package/lib/commonjs/hooks/useAbstractSource.js.map +1 -1
- package/lib/commonjs/hooks/useNativeBridge.js +2 -2
- package/lib/commonjs/hooks/useNativeBridge.js.map +1 -1
- package/lib/commonjs/hooks/useOnce.js +2 -2
- package/lib/commonjs/hooks/useOnce.js.map +1 -1
- package/lib/commonjs/index.js +3 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/modules/location/{locationManager.js → LocationManager.js} +10 -10
- package/lib/commonjs/modules/location/LocationManager.js.map +1 -0
- package/lib/commonjs/modules/offline/OfflineCreatePackOptions.js +2 -2
- package/lib/commonjs/modules/offline/OfflineCreatePackOptions.js.map +1 -1
- package/lib/commonjs/modules/offline/{offlineManager.js → OfflineManager.js} +34 -36
- package/lib/commonjs/modules/offline/OfflineManager.js.map +1 -0
- package/lib/commonjs/modules/offline/OfflinePack.js +2 -2
- package/lib/commonjs/modules/offline/OfflinePack.js.map +1 -1
- package/lib/commonjs/modules/snapshot/{snapshotManager.js → SnapshotManager.js} +12 -14
- package/lib/commonjs/modules/snapshot/SnapshotManager.js.map +1 -0
- package/lib/commonjs/modules/snapshot/SnapshotOptions.js +3 -4
- package/lib/commonjs/modules/snapshot/SnapshotOptions.js.map +1 -1
- package/lib/commonjs/plugin/MapLibrePluginProps.js +2 -0
- package/lib/commonjs/plugin/MapLibrePluginProps.js.map +1 -0
- package/lib/commonjs/plugin/android.js +41 -0
- package/lib/commonjs/plugin/android.js.map +1 -0
- package/lib/commonjs/plugin/ios.js +131 -0
- package/lib/commonjs/plugin/ios.js.map +1 -0
- package/lib/commonjs/plugin/withMapLibre.js +31 -0
- package/lib/commonjs/plugin/withMapLibre.js.map +1 -0
- package/lib/commonjs/types/MapLibreRNStyles.js +6 -0
- package/lib/commonjs/types/MapLibreRNStyles.js.map +1 -0
- package/lib/commonjs/utils/BridgeValue.js +2 -2
- package/lib/commonjs/utils/BridgeValue.js.map +1 -1
- package/lib/commonjs/utils/Logger.js +2 -2
- package/lib/commonjs/utils/Logger.js.map +1 -1
- package/lib/commonjs/utils/StyleValue.js +4 -5
- package/lib/commonjs/utils/StyleValue.js.map +1 -1
- package/lib/commonjs/utils/animated/AbstractAnimatedCoordinates.js +2 -2
- package/lib/commonjs/utils/animated/AbstractAnimatedCoordinates.js.map +1 -1
- package/lib/commonjs/utils/animated/Animated.js +29 -31
- package/lib/commonjs/utils/animated/Animated.js.map +1 -1
- package/lib/commonjs/utils/animated/AnimatedCoordinatesArray.js +4 -5
- package/lib/commonjs/utils/animated/AnimatedCoordinatesArray.js.map +1 -1
- package/lib/commonjs/utils/animated/AnimatedExtractCoordinateFromArray.js +2 -2
- package/lib/commonjs/utils/animated/AnimatedExtractCoordinateFromArray.js.map +1 -1
- package/lib/commonjs/utils/animated/AnimatedPoint.js +1 -2
- package/lib/commonjs/utils/animated/AnimatedPoint.js.map +1 -1
- package/lib/commonjs/utils/animated/AnimatedRouteCoordinatesArray.js +4 -4
- package/lib/commonjs/utils/animated/AnimatedRouteCoordinatesArray.js.map +1 -1
- package/lib/commonjs/utils/animated/AnimatedShape.js +2 -2
- package/lib/commonjs/utils/animated/AnimatedShape.js.map +1 -1
- package/lib/commonjs/utils/getStylePropertyType.js +252 -0
- package/lib/commonjs/utils/getStylePropertyType.js.map +1 -0
- package/lib/module/MLRNModule.js +3 -2
- package/lib/module/MLRNModule.js.map +1 -1
- package/lib/module/MapLibreRN.js +40 -32
- package/lib/module/MapLibreRN.js.map +1 -1
- package/lib/module/components/Annotation.js +5 -6
- package/lib/module/components/Annotation.js.map +1 -1
- package/lib/module/components/BackgroundLayer.js +4 -6
- package/lib/module/components/BackgroundLayer.js.map +1 -1
- package/lib/module/components/Callout.js +2 -3
- package/lib/module/components/Callout.js.map +1 -1
- package/lib/module/components/Camera.js +112 -64
- package/lib/module/components/Camera.js.map +1 -1
- package/lib/module/components/CircleLayer.js +4 -6
- package/lib/module/components/CircleLayer.js.map +1 -1
- package/lib/module/components/FillExtrusionLayer.js +4 -6
- package/lib/module/components/FillExtrusionLayer.js.map +1 -1
- package/lib/module/components/FillLayer.js +4 -6
- package/lib/module/components/FillLayer.js.map +1 -1
- package/lib/module/components/HeadingIndicator.js +2 -3
- package/lib/module/components/HeadingIndicator.js.map +1 -1
- package/lib/module/components/HeatmapLayer.js +4 -6
- package/lib/module/components/HeatmapLayer.js.map +1 -1
- package/lib/module/components/ImageSource.js +2 -3
- package/lib/module/components/ImageSource.js.map +1 -1
- package/lib/module/components/Images.js +3 -8
- package/lib/module/components/Images.js.map +1 -1
- package/lib/module/components/Light.js +2 -4
- package/lib/module/components/Light.js.map +1 -1
- package/lib/module/components/LineLayer.js +4 -6
- package/lib/module/components/LineLayer.js.map +1 -1
- package/lib/module/components/MapView.js +65 -79
- package/lib/module/components/MapView.js.map +1 -1
- package/lib/module/components/MarkerView.js +2 -3
- package/lib/module/components/MarkerView.js.map +1 -1
- package/lib/module/components/NativeUserLocation.js +1 -2
- package/lib/module/components/NativeUserLocation.js.map +1 -1
- package/lib/module/components/PointAnnotation.js +5 -7
- package/lib/module/components/PointAnnotation.js.map +1 -1
- package/lib/module/components/RasterLayer.js +4 -6
- package/lib/module/components/RasterLayer.js.map +1 -1
- package/lib/module/components/RasterSource.js +5 -7
- package/lib/module/components/RasterSource.js.map +1 -1
- package/lib/module/components/ShapeSource.js +9 -42
- package/lib/module/components/ShapeSource.js.map +1 -1
- package/lib/module/components/SymbolLayer.js +7 -23
- package/lib/module/components/SymbolLayer.js.map +1 -1
- package/lib/module/components/UserLocation.js +14 -15
- package/lib/module/components/UserLocation.js.map +1 -1
- package/lib/module/components/VectorSource.js +6 -17
- package/lib/module/components/VectorSource.js.map +1 -1
- package/lib/module/hooks/useAbstractLayer.js +1 -1
- package/lib/module/hooks/useAbstractLayer.js.map +1 -1
- package/lib/module/hooks/useAbstractSource.js +1 -1
- package/lib/module/hooks/useAbstractSource.js.map +1 -1
- package/lib/module/hooks/useNativeBridge.js +1 -2
- package/lib/module/hooks/useNativeBridge.js.map +1 -1
- package/lib/module/hooks/useNativeRef.js.map +1 -1
- package/lib/module/hooks/useOnce.js +1 -2
- package/lib/module/hooks/useOnce.js.map +1 -1
- package/lib/module/index.js +4 -0
- package/lib/module/index.js.map +1 -1
- package/lib/module/modules/location/{locationManager.js → LocationManager.js} +10 -9
- package/lib/module/modules/location/LocationManager.js.map +1 -0
- package/lib/module/modules/offline/OfflineCreatePackOptions.js +1 -2
- package/lib/module/modules/offline/OfflineCreatePackOptions.js.map +1 -1
- package/lib/module/modules/offline/{offlineManager.js → OfflineManager.js} +30 -30
- package/lib/module/modules/offline/OfflineManager.js.map +1 -0
- package/lib/module/modules/offline/OfflinePack.js +1 -2
- package/lib/module/modules/offline/OfflinePack.js.map +1 -1
- package/lib/module/modules/snapshot/{snapshotManager.js → SnapshotManager.js} +10 -10
- package/lib/module/modules/snapshot/{snapshotManager.js.map → SnapshotManager.js.map} +1 -1
- package/lib/module/modules/snapshot/SnapshotOptions.js +2 -3
- package/lib/module/modules/snapshot/SnapshotOptions.js.map +1 -1
- package/lib/module/plugin/MapLibrePluginProps.js +2 -0
- package/lib/module/plugin/MapLibrePluginProps.js.map +1 -0
- package/lib/module/plugin/android.js +34 -0
- package/lib/module/plugin/android.js.map +1 -0
- package/lib/module/plugin/ios.js +123 -0
- package/lib/module/plugin/ios.js.map +1 -0
- package/lib/module/plugin/withMapLibre.js +27 -0
- package/lib/module/plugin/withMapLibre.js.map +1 -0
- package/lib/module/types/MapLibreRNStyles.js +4 -0
- package/lib/module/types/MapLibreRNStyles.js.map +1 -0
- package/lib/module/utils/BridgeValue.js +1 -1
- package/lib/module/utils/BridgeValue.js.map +1 -1
- package/lib/module/utils/Logger.js +1 -2
- package/lib/module/utils/Logger.js.map +1 -1
- package/lib/module/utils/StyleValue.js +3 -3
- package/lib/module/utils/StyleValue.js.map +1 -1
- package/lib/module/utils/animated/AbstractAnimatedCoordinates.js +1 -2
- package/lib/module/utils/animated/AbstractAnimatedCoordinates.js.map +1 -1
- package/lib/module/utils/animated/Animated.js +14 -15
- package/lib/module/utils/animated/Animated.js.map +1 -1
- package/lib/module/utils/animated/AnimatedCoordinatesArray.js +2 -3
- package/lib/module/utils/animated/AnimatedCoordinatesArray.js.map +1 -1
- package/lib/module/utils/animated/AnimatedExtractCoordinateFromArray.js +1 -1
- package/lib/module/utils/animated/AnimatedExtractCoordinateFromArray.js.map +1 -1
- package/lib/module/utils/animated/AnimatedPoint.js +0 -1
- package/lib/module/utils/animated/AnimatedPoint.js.map +1 -1
- package/lib/module/utils/animated/AnimatedRouteCoordinatesArray.js +2 -2
- package/lib/module/utils/animated/AnimatedRouteCoordinatesArray.js.map +1 -1
- package/lib/module/utils/animated/AnimatedShape.js +1 -2
- package/lib/module/utils/animated/AnimatedShape.js.map +1 -1
- package/lib/module/utils/getStylePropertyType.js +248 -0
- package/lib/module/utils/getStylePropertyType.js.map +1 -0
- package/lib/typescript/commonjs/src/MLRNModule.d.ts +3 -7
- package/lib/typescript/commonjs/src/MLRNModule.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/MapLibreRN.d.ts +44 -34
- package/lib/typescript/commonjs/src/MapLibreRN.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/Annotation.d.ts +6 -6
- package/lib/typescript/commonjs/src/components/Annotation.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/BackgroundLayer.d.ts +3 -5
- package/lib/typescript/commonjs/src/components/BackgroundLayer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/Callout.d.ts +3 -4
- package/lib/typescript/commonjs/src/components/Callout.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/Camera.d.ts +4 -4
- package/lib/typescript/commonjs/src/components/Camera.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/CircleLayer.d.ts +3 -5
- package/lib/typescript/commonjs/src/components/CircleLayer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/FillExtrusionLayer.d.ts +3 -5
- package/lib/typescript/commonjs/src/components/FillExtrusionLayer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/FillLayer.d.ts +3 -5
- package/lib/typescript/commonjs/src/components/FillLayer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/HeadingIndicator.d.ts +2 -3
- package/lib/typescript/commonjs/src/components/HeadingIndicator.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/HeatmapLayer.d.ts +3 -5
- package/lib/typescript/commonjs/src/components/HeatmapLayer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/ImageSource.d.ts +3 -4
- package/lib/typescript/commonjs/src/components/ImageSource.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/Images.d.ts +5 -5
- package/lib/typescript/commonjs/src/components/Images.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/Light.d.ts +4 -5
- package/lib/typescript/commonjs/src/components/Light.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/LineLayer.d.ts +3 -5
- package/lib/typescript/commonjs/src/components/LineLayer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/MapView.d.ts +12 -16
- package/lib/typescript/commonjs/src/components/MapView.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/MarkerView.d.ts +3 -3
- package/lib/typescript/commonjs/src/components/MarkerView.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/NativeUserLocation.d.ts +2 -3
- package/lib/typescript/commonjs/src/components/NativeUserLocation.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/PointAnnotation.d.ts +7 -8
- package/lib/typescript/commonjs/src/components/PointAnnotation.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/RasterLayer.d.ts +3 -5
- package/lib/typescript/commonjs/src/components/RasterLayer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/RasterSource.d.ts +4 -4
- package/lib/typescript/commonjs/src/components/RasterSource.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/ShapeSource.d.ts +8 -16
- package/lib/typescript/commonjs/src/components/ShapeSource.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/SymbolLayer.d.ts +3 -10
- package/lib/typescript/commonjs/src/components/SymbolLayer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/UserLocation.d.ts +6 -6
- package/lib/typescript/commonjs/src/components/UserLocation.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/VectorSource.d.ts +4 -8
- package/lib/typescript/commonjs/src/components/VectorSource.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/hooks/useAbstractLayer.d.ts +5 -4
- package/lib/typescript/commonjs/src/hooks/useAbstractLayer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/hooks/useAbstractSource.d.ts +4 -3
- package/lib/typescript/commonjs/src/hooks/useAbstractSource.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/hooks/useNativeBridge.d.ts +5 -5
- package/lib/typescript/commonjs/src/hooks/useNativeBridge.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/hooks/useNativeRef.d.ts +2 -2
- package/lib/typescript/commonjs/src/hooks/useNativeRef.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/hooks/useOnce.d.ts +1 -2
- package/lib/typescript/commonjs/src/hooks/useOnce.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/index.d.ts +3 -0
- package/lib/typescript/commonjs/src/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/location/LocationManager.d.ts +33 -0
- package/lib/typescript/commonjs/src/modules/location/LocationManager.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/offline/OfflineCreatePackOptions.d.ts +1 -2
- package/lib/typescript/commonjs/src/modules/offline/OfflineCreatePackOptions.d.ts.map +1 -1
- package/lib/typescript/{module/src/modules/offline/offlineManager.d.ts → commonjs/src/modules/offline/OfflineManager.d.ts} +27 -37
- package/lib/typescript/commonjs/src/modules/offline/OfflineManager.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/offline/OfflinePack.d.ts +3 -4
- package/lib/typescript/commonjs/src/modules/offline/OfflinePack.d.ts.map +1 -1
- package/lib/typescript/{module/src/modules/snapshot/snapshotManager.d.ts → commonjs/src/modules/snapshot/SnapshotManager.d.ts} +9 -9
- package/lib/typescript/commonjs/src/modules/snapshot/SnapshotManager.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/snapshot/SnapshotOptions.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/snapshot/SnapshotOptions.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/plugin/MapLibrePluginProps.d.ts +77 -0
- package/lib/typescript/commonjs/src/plugin/MapLibrePluginProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/plugin/android.d.ts +16 -0
- package/lib/typescript/commonjs/src/plugin/android.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/plugin/ios.d.ts +17 -0
- package/lib/typescript/commonjs/src/plugin/ios.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/plugin/withMapLibre.d.ts +5 -0
- package/lib/typescript/commonjs/src/plugin/withMapLibre.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/MapLibreRNStyles.d.ts +960 -0
- package/lib/typescript/commonjs/src/types/MapLibreRNStyles.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/BridgeValue.d.ts +1 -1
- package/lib/typescript/commonjs/src/utils/BridgeValue.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/utils/Logger.d.ts +2 -2
- package/lib/typescript/commonjs/src/utils/Logger.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/utils/StyleValue.d.ts +2 -2
- package/lib/typescript/commonjs/src/utils/StyleValue.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/utils/animated/AbstractAnimatedCoordinates.d.ts +2 -2
- package/lib/typescript/commonjs/src/utils/animated/AbstractAnimatedCoordinates.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/utils/animated/Animated.d.ts +19 -19
- package/lib/typescript/commonjs/src/utils/animated/Animated.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/utils/animated/AnimatedCoordinatesArray.d.ts +3 -3
- package/lib/typescript/commonjs/src/utils/animated/AnimatedCoordinatesArray.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/utils/animated/AnimatedExtractCoordinateFromArray.d.ts +1 -1
- package/lib/typescript/commonjs/src/utils/animated/AnimatedExtractCoordinateFromArray.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/utils/animated/AnimatedPoint.d.ts +1 -1
- package/lib/typescript/commonjs/src/utils/animated/AnimatedPoint.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/utils/animated/AnimatedRouteCoordinatesArray.d.ts +2 -2
- package/lib/typescript/commonjs/src/utils/animated/AnimatedRouteCoordinatesArray.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/utils/animated/AnimatedShape.d.ts +5 -5
- package/lib/typescript/commonjs/src/utils/animated/AnimatedShape.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/utils/filterUtils.d.ts +1 -1
- package/lib/typescript/commonjs/src/utils/filterUtils.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/utils/getStylePropertyType.d.ts +35 -0
- package/lib/typescript/commonjs/src/utils/getStylePropertyType.d.ts.map +1 -0
- package/lib/typescript/module/src/MLRNModule.d.ts +3 -7
- package/lib/typescript/module/src/MLRNModule.d.ts.map +1 -1
- package/lib/typescript/module/src/MapLibreRN.d.ts +44 -34
- package/lib/typescript/module/src/MapLibreRN.d.ts.map +1 -1
- package/lib/typescript/module/src/components/Annotation.d.ts +6 -6
- package/lib/typescript/module/src/components/Annotation.d.ts.map +1 -1
- package/lib/typescript/module/src/components/BackgroundLayer.d.ts +3 -5
- package/lib/typescript/module/src/components/BackgroundLayer.d.ts.map +1 -1
- package/lib/typescript/module/src/components/Callout.d.ts +3 -4
- package/lib/typescript/module/src/components/Callout.d.ts.map +1 -1
- package/lib/typescript/module/src/components/Camera.d.ts +4 -4
- package/lib/typescript/module/src/components/Camera.d.ts.map +1 -1
- package/lib/typescript/module/src/components/CircleLayer.d.ts +3 -5
- package/lib/typescript/module/src/components/CircleLayer.d.ts.map +1 -1
- package/lib/typescript/module/src/components/FillExtrusionLayer.d.ts +3 -5
- package/lib/typescript/module/src/components/FillExtrusionLayer.d.ts.map +1 -1
- package/lib/typescript/module/src/components/FillLayer.d.ts +3 -5
- package/lib/typescript/module/src/components/FillLayer.d.ts.map +1 -1
- package/lib/typescript/module/src/components/HeadingIndicator.d.ts +2 -3
- package/lib/typescript/module/src/components/HeadingIndicator.d.ts.map +1 -1
- package/lib/typescript/module/src/components/HeatmapLayer.d.ts +3 -5
- package/lib/typescript/module/src/components/HeatmapLayer.d.ts.map +1 -1
- package/lib/typescript/module/src/components/ImageSource.d.ts +3 -4
- package/lib/typescript/module/src/components/ImageSource.d.ts.map +1 -1
- package/lib/typescript/module/src/components/Images.d.ts +5 -5
- package/lib/typescript/module/src/components/Images.d.ts.map +1 -1
- package/lib/typescript/module/src/components/Light.d.ts +4 -5
- package/lib/typescript/module/src/components/Light.d.ts.map +1 -1
- package/lib/typescript/module/src/components/LineLayer.d.ts +3 -5
- package/lib/typescript/module/src/components/LineLayer.d.ts.map +1 -1
- package/lib/typescript/module/src/components/MapView.d.ts +12 -16
- package/lib/typescript/module/src/components/MapView.d.ts.map +1 -1
- package/lib/typescript/module/src/components/MarkerView.d.ts +3 -3
- package/lib/typescript/module/src/components/MarkerView.d.ts.map +1 -1
- package/lib/typescript/module/src/components/NativeUserLocation.d.ts +2 -3
- package/lib/typescript/module/src/components/NativeUserLocation.d.ts.map +1 -1
- package/lib/typescript/module/src/components/PointAnnotation.d.ts +7 -8
- package/lib/typescript/module/src/components/PointAnnotation.d.ts.map +1 -1
- package/lib/typescript/module/src/components/RasterLayer.d.ts +3 -5
- package/lib/typescript/module/src/components/RasterLayer.d.ts.map +1 -1
- package/lib/typescript/module/src/components/RasterSource.d.ts +4 -4
- package/lib/typescript/module/src/components/RasterSource.d.ts.map +1 -1
- package/lib/typescript/module/src/components/ShapeSource.d.ts +8 -16
- package/lib/typescript/module/src/components/ShapeSource.d.ts.map +1 -1
- package/lib/typescript/module/src/components/SymbolLayer.d.ts +3 -10
- package/lib/typescript/module/src/components/SymbolLayer.d.ts.map +1 -1
- package/lib/typescript/module/src/components/UserLocation.d.ts +6 -6
- package/lib/typescript/module/src/components/UserLocation.d.ts.map +1 -1
- package/lib/typescript/module/src/components/VectorSource.d.ts +4 -8
- package/lib/typescript/module/src/components/VectorSource.d.ts.map +1 -1
- package/lib/typescript/module/src/hooks/useAbstractLayer.d.ts +5 -4
- package/lib/typescript/module/src/hooks/useAbstractLayer.d.ts.map +1 -1
- package/lib/typescript/module/src/hooks/useAbstractSource.d.ts +4 -3
- package/lib/typescript/module/src/hooks/useAbstractSource.d.ts.map +1 -1
- package/lib/typescript/module/src/hooks/useNativeBridge.d.ts +5 -5
- package/lib/typescript/module/src/hooks/useNativeBridge.d.ts.map +1 -1
- package/lib/typescript/module/src/hooks/useNativeRef.d.ts +2 -2
- package/lib/typescript/module/src/hooks/useNativeRef.d.ts.map +1 -1
- package/lib/typescript/module/src/hooks/useOnce.d.ts +1 -2
- package/lib/typescript/module/src/hooks/useOnce.d.ts.map +1 -1
- package/lib/typescript/module/src/index.d.ts +3 -0
- package/lib/typescript/module/src/index.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/location/LocationManager.d.ts +33 -0
- package/lib/typescript/module/src/modules/location/LocationManager.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/offline/OfflineCreatePackOptions.d.ts +1 -2
- package/lib/typescript/module/src/modules/offline/OfflineCreatePackOptions.d.ts.map +1 -1
- package/lib/typescript/{commonjs/src/modules/offline/offlineManager.d.ts → module/src/modules/offline/OfflineManager.d.ts} +27 -37
- package/lib/typescript/module/src/modules/offline/OfflineManager.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/offline/OfflinePack.d.ts +3 -4
- package/lib/typescript/module/src/modules/offline/OfflinePack.d.ts.map +1 -1
- package/lib/typescript/{commonjs/src/modules/snapshot/snapshotManager.d.ts → module/src/modules/snapshot/SnapshotManager.d.ts} +9 -9
- package/lib/typescript/module/src/modules/snapshot/SnapshotManager.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/snapshot/SnapshotOptions.d.ts +1 -1
- package/lib/typescript/module/src/modules/snapshot/SnapshotOptions.d.ts.map +1 -1
- package/lib/typescript/module/src/plugin/MapLibrePluginProps.d.ts +77 -0
- package/lib/typescript/module/src/plugin/MapLibrePluginProps.d.ts.map +1 -0
- package/lib/typescript/module/src/plugin/android.d.ts +16 -0
- package/lib/typescript/module/src/plugin/android.d.ts.map +1 -0
- package/lib/typescript/module/src/plugin/ios.d.ts +17 -0
- package/lib/typescript/module/src/plugin/ios.d.ts.map +1 -0
- package/lib/typescript/module/src/plugin/withMapLibre.d.ts +5 -0
- package/lib/typescript/module/src/plugin/withMapLibre.d.ts.map +1 -0
- package/lib/typescript/module/src/types/MapLibreRNStyles.d.ts +960 -0
- package/lib/typescript/module/src/types/MapLibreRNStyles.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/BridgeValue.d.ts +1 -1
- package/lib/typescript/module/src/utils/BridgeValue.d.ts.map +1 -1
- package/lib/typescript/module/src/utils/Logger.d.ts +2 -2
- package/lib/typescript/module/src/utils/Logger.d.ts.map +1 -1
- package/lib/typescript/module/src/utils/StyleValue.d.ts +2 -2
- package/lib/typescript/module/src/utils/StyleValue.d.ts.map +1 -1
- package/lib/typescript/module/src/utils/animated/AbstractAnimatedCoordinates.d.ts +2 -2
- package/lib/typescript/module/src/utils/animated/AbstractAnimatedCoordinates.d.ts.map +1 -1
- package/lib/typescript/module/src/utils/animated/Animated.d.ts +19 -19
- package/lib/typescript/module/src/utils/animated/Animated.d.ts.map +1 -1
- package/lib/typescript/module/src/utils/animated/AnimatedCoordinatesArray.d.ts +3 -3
- package/lib/typescript/module/src/utils/animated/AnimatedCoordinatesArray.d.ts.map +1 -1
- package/lib/typescript/module/src/utils/animated/AnimatedExtractCoordinateFromArray.d.ts +1 -1
- package/lib/typescript/module/src/utils/animated/AnimatedExtractCoordinateFromArray.d.ts.map +1 -1
- package/lib/typescript/module/src/utils/animated/AnimatedPoint.d.ts +1 -1
- package/lib/typescript/module/src/utils/animated/AnimatedPoint.d.ts.map +1 -1
- package/lib/typescript/module/src/utils/animated/AnimatedRouteCoordinatesArray.d.ts +2 -2
- package/lib/typescript/module/src/utils/animated/AnimatedRouteCoordinatesArray.d.ts.map +1 -1
- package/lib/typescript/module/src/utils/animated/AnimatedShape.d.ts +5 -5
- package/lib/typescript/module/src/utils/animated/AnimatedShape.d.ts.map +1 -1
- package/lib/typescript/module/src/utils/filterUtils.d.ts +1 -1
- package/lib/typescript/module/src/utils/filterUtils.d.ts.map +1 -1
- package/lib/typescript/module/src/utils/getStylePropertyType.d.ts +35 -0
- package/lib/typescript/module/src/utils/getStylePropertyType.d.ts.map +1 -0
- package/maplibre-react-native.podspec +15 -14
- package/package.json +17 -14
- package/src/MLRNModule.ts +24 -10
- package/src/MapLibreRN.ts +66 -49
- package/src/components/Annotation.tsx +12 -14
- package/src/components/BackgroundLayer.tsx +7 -9
- package/src/components/Callout.tsx +8 -10
- package/src/components/Camera.tsx +154 -78
- package/src/components/CircleLayer.tsx +7 -9
- package/src/components/FillExtrusionLayer.tsx +7 -9
- package/src/components/FillLayer.tsx +7 -9
- package/src/components/HeadingIndicator.tsx +2 -6
- package/src/components/HeatmapLayer.tsx +7 -9
- package/src/components/ImageSource.tsx +4 -6
- package/src/components/Images.tsx +8 -19
- package/src/components/Light.tsx +5 -7
- package/src/components/LineLayer.tsx +7 -9
- package/src/components/MapView.tsx +85 -105
- package/src/components/MarkerView.tsx +4 -6
- package/src/components/NativeUserLocation.tsx +1 -4
- package/src/components/PointAnnotation.tsx +10 -11
- package/src/components/RasterLayer.tsx +7 -9
- package/src/components/RasterSource.tsx +7 -9
- package/src/components/ShapeSource.tsx +22 -95
- package/src/components/SymbolLayer.tsx +12 -41
- package/src/components/UserLocation.tsx +21 -22
- package/src/components/VectorSource.tsx +12 -35
- package/src/hooks/useAbstractLayer.ts +8 -8
- package/src/hooks/useAbstractSource.ts +6 -6
- package/src/hooks/useNativeBridge.ts +9 -6
- package/src/hooks/useNativeRef.ts +2 -2
- package/src/hooks/useOnce.ts +3 -3
- package/src/index.ts +3 -0
- package/src/modules/location/{locationManager.ts → LocationManager.ts} +16 -15
- package/src/modules/offline/OfflineCreatePackOptions.ts +1 -3
- package/src/modules/offline/{offlineManager.ts → OfflineManager.ts} +32 -45
- package/src/modules/offline/OfflinePack.ts +3 -5
- package/src/modules/snapshot/{snapshotManager.ts → SnapshotManager.ts} +9 -9
- package/src/modules/snapshot/SnapshotOptions.ts +2 -4
- package/src/plugin/MapLibrePluginProps.ts +83 -0
- package/src/plugin/android.ts +64 -0
- package/src/plugin/ios.ts +166 -0
- package/src/plugin/withMapLibre.ts +30 -0
- package/src/{utils/MapLibreRNStyles.d.ts → types/MapLibreRNStyles.ts} +86 -406
- package/src/utils/BridgeValue.ts +1 -1
- package/src/utils/Logger.ts +1 -3
- package/src/utils/StyleValue.ts +6 -5
- package/src/utils/animated/AbstractAnimatedCoordinates.ts +3 -3
- package/src/utils/animated/Animated.ts +23 -21
- package/src/utils/animated/AnimatedCoordinatesArray.ts +3 -4
- package/src/utils/animated/AnimatedExtractCoordinateFromArray.ts +1 -1
- package/src/utils/animated/AnimatedPoint.ts +0 -2
- package/src/utils/animated/AnimatedRouteCoordinatesArray.ts +3 -2
- package/src/utils/animated/AnimatedShape.ts +4 -6
- package/src/utils/filterUtils.ts +1 -1
- package/src/utils/getStylePropertyType.ts +265 -0
- package/android/src/main/res/values/strings.xml +0 -3
- package/lib/commonjs/components/Style.js +0 -266
- package/lib/commonjs/components/Style.js.map +0 -1
- package/lib/commonjs/modules/location/locationManager.js.map +0 -1
- package/lib/commonjs/modules/offline/offlineManager.js.map +0 -1
- package/lib/commonjs/modules/snapshot/snapshotManager.js.map +0 -1
- package/lib/commonjs/types/StyleURL.js +0 -11
- package/lib/commonjs/types/StyleURL.js.map +0 -1
- package/lib/commonjs/utils/MapLibreRNStyles.d.js +0 -181
- package/lib/commonjs/utils/MapLibreRNStyles.d.js.map +0 -1
- package/lib/commonjs/utils/deprecation.js +0 -31
- package/lib/commonjs/utils/deprecation.js.map +0 -1
- package/lib/commonjs/utils/styleMap.js +0 -255
- package/lib/commonjs/utils/styleMap.js.map +0 -1
- package/lib/module/components/Style.js +0 -261
- package/lib/module/components/Style.js.map +0 -1
- package/lib/module/modules/location/locationManager.js.map +0 -1
- package/lib/module/modules/offline/offlineManager.js.map +0 -1
- package/lib/module/types/StyleURL.js +0 -7
- package/lib/module/types/StyleURL.js.map +0 -1
- package/lib/module/utils/MapLibreRNStyles.d.js +0 -180
- package/lib/module/utils/MapLibreRNStyles.d.js.map +0 -1
- package/lib/module/utils/deprecation.js +0 -27
- package/lib/module/utils/deprecation.js.map +0 -1
- package/lib/module/utils/styleMap.js +0 -249
- package/lib/module/utils/styleMap.js.map +0 -1
- package/lib/typescript/commonjs/jest.config.d.ts +0 -2
- package/lib/typescript/commonjs/jest.config.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/Style.d.ts +0 -81
- package/lib/typescript/commonjs/src/components/Style.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/modules/location/locationManager.d.ts +0 -64
- package/lib/typescript/commonjs/src/modules/location/locationManager.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/modules/offline/offlineManager.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/modules/snapshot/snapshotManager.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/types/StyleURL.d.ts +0 -4
- package/lib/typescript/commonjs/src/types/StyleURL.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/utils/deprecation.d.ts +0 -6
- package/lib/typescript/commonjs/src/utils/deprecation.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/utils/styleMap.d.ts +0 -231
- package/lib/typescript/commonjs/src/utils/styleMap.d.ts.map +0 -1
- package/lib/typescript/module/jest.config.d.ts +0 -2
- package/lib/typescript/module/jest.config.d.ts.map +0 -1
- package/lib/typescript/module/src/components/Style.d.ts +0 -81
- package/lib/typescript/module/src/components/Style.d.ts.map +0 -1
- package/lib/typescript/module/src/modules/location/locationManager.d.ts +0 -64
- package/lib/typescript/module/src/modules/location/locationManager.d.ts.map +0 -1
- package/lib/typescript/module/src/modules/offline/offlineManager.d.ts.map +0 -1
- package/lib/typescript/module/src/modules/snapshot/snapshotManager.d.ts.map +0 -1
- package/lib/typescript/module/src/types/StyleURL.d.ts +0 -4
- package/lib/typescript/module/src/types/StyleURL.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/deprecation.d.ts +0 -6
- package/lib/typescript/module/src/utils/deprecation.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/styleMap.d.ts +0 -231
- package/lib/typescript/module/src/utils/styleMap.d.ts.map +0 -1
- package/plugin/build/withMapLibre.d.ts +0 -12
- package/plugin/build/withMapLibre.js +0 -148
- package/src/components/Style.tsx +0 -371
- package/src/types/StyleURL.ts +0 -3
- package/src/utils/deprecation.ts +0 -31
- package/src/utils/styleMap.ts +0 -265
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type ViewProps } from "react-native";
|
|
2
2
|
import { type BaseProps } from "../types/BaseProps";
|
|
3
3
|
import { CameraMode } from "../types/CameraMode";
|
|
4
|
-
import type
|
|
4
|
+
import { type MapLibreRNEvent } from "../types/MapLibreRNEvent";
|
|
5
5
|
export declare const NATIVE_MODULE_NAME = "MLRNCamera";
|
|
6
6
|
export declare enum UserTrackingMode {
|
|
7
7
|
Follow = "normal",
|
|
@@ -104,7 +104,7 @@ export interface CameraProps extends BaseProps, CameraStop {
|
|
|
104
104
|
*/
|
|
105
105
|
followUserLocation?: boolean;
|
|
106
106
|
/**
|
|
107
|
-
* The mode used to track the user location on the map. One of; "normal", "compass", "course". Each mode string is also available as a member on the `
|
|
107
|
+
* The mode used to track the user location on the map. One of; "normal", "compass", "course". Each mode string is also available as a member on the `UserTrackingMode` object. `Follow` (normal), `FollowWithHeading` (compass), `FollowWithCourse` (course). NOTE: `followUserLocation` must be set to `true` for any of the modes to take effect.
|
|
108
108
|
*/
|
|
109
109
|
followUserMode?: UserTrackingMode;
|
|
110
110
|
/**
|
|
@@ -129,6 +129,6 @@ export interface NativeCameraProps extends Omit<CameraProps, "maxBounds">, ViewP
|
|
|
129
129
|
stop?: NativeCameraStop;
|
|
130
130
|
defaultStop?: NativeCameraStop;
|
|
131
131
|
}
|
|
132
|
-
declare const Camera: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<CameraProps & import("react").RefAttributes<CameraRef>>>;
|
|
133
|
-
export
|
|
132
|
+
export declare const Camera: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<CameraProps & import("react").RefAttributes<CameraRef>>>;
|
|
133
|
+
export {};
|
|
134
134
|
//# sourceMappingURL=Camera.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Camera.d.ts","sourceRoot":"","sources":["../../../../../src/components/Camera.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Camera.d.ts","sourceRoot":"","sources":["../../../../../src/components/Camera.tsx"],"names":[],"mappings":"AASA,OAAO,EAAoC,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAIhF,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAGhE,eAAO,MAAM,kBAAkB,eAAe,CAAC;AAE/C,oBAAY,gBAAgB;IAC1B,MAAM,WAAW;IACjB,iBAAiB,YAAY;IAC7B,gBAAgB,WAAW;CAC5B;AAED,MAAM,MAAM,8BAA8B,GAAG,CAC3C,KAAK,EAAE,eAAe,CACpB,wBAAwB,EACxB;IACE,kBAAkB,EAAE,OAAO,CAAC;IAC5B,cAAc,EAAE,gBAAgB,GAAG,IAAI,CAAC;CACzC,CACF,KACE,IAAI,CAAC;AAE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;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,wBAAwB,CAAC,EAAE,8BAA8B,CAAC;CAC3D;AAED,MAAM,WAAW,iBACf,SAAQ,IAAI,CAAC,WAAW,EAAE,WAAW,CAAC,EACpC,SAAS;IACX,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,gBAAgB,CAAC;IACxB,WAAW,CAAC,EAAE,gBAAgB,CAAC;CAChC;AAED,eAAO,MAAM,MAAM,wIA+SlB,CAAC"}
|
|
@@ -1,17 +1,15 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import { type BaseLayerProps } from "../hooks/useAbstractLayer";
|
|
3
2
|
import { type BaseProps } from "../types/BaseProps";
|
|
4
|
-
import { type
|
|
3
|
+
import { type CircleLayerStyle } from "../types/MapLibreRNStyles";
|
|
5
4
|
export declare const NATIVE_MODULE_NAME = "MLRNCircleLayer";
|
|
6
5
|
export interface CircleLayerProps extends BaseProps, BaseLayerProps {
|
|
7
6
|
/**
|
|
8
7
|
* Customizable style attributes
|
|
9
8
|
*/
|
|
10
|
-
style?:
|
|
9
|
+
style?: CircleLayerStyle;
|
|
11
10
|
}
|
|
12
11
|
/**
|
|
13
12
|
* CircleLayer is a style layer that renders one or more filled circles on the map.
|
|
14
13
|
*/
|
|
15
|
-
declare const CircleLayer:
|
|
16
|
-
export default CircleLayer;
|
|
14
|
+
export declare const CircleLayer: ({ sourceID, ...props }: CircleLayerProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
15
|
//# sourceMappingURL=CircleLayer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CircleLayer.d.ts","sourceRoot":"","sources":["../../../../../src/components/CircleLayer.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CircleLayer.d.ts","sourceRoot":"","sources":["../../../../../src/components/CircleLayer.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,cAAc,EAEpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAIlE,eAAO,MAAM,kBAAkB,oBAAoB,CAAC;AAEpD,MAAM,WAAW,gBAAiB,SAAQ,SAAS,EAAE,cAAc;IACjE;;OAEG;IACH,KAAK,CAAC,EAAE,gBAAgB,CAAC;CAC1B;AAQD;;GAEG;AACH,eAAO,MAAM,WAAW,2BAGrB,gBAAgB,4CAgBlB,CAAC"}
|
|
@@ -1,17 +1,15 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import { type BaseLayerProps } from "../hooks/useAbstractLayer";
|
|
3
2
|
import { type BaseProps } from "../types/BaseProps";
|
|
4
|
-
import { type
|
|
3
|
+
import { type FillExtrusionLayerStyle } from "../types/MapLibreRNStyles";
|
|
5
4
|
export declare const NATIVE_MODULE_NAME = "MLRNFillExtrusionLayer";
|
|
6
5
|
export interface FillExtrusionLayerProps extends BaseProps, BaseLayerProps {
|
|
7
6
|
/**
|
|
8
7
|
* Customizable style attributes
|
|
9
8
|
*/
|
|
10
|
-
style?:
|
|
9
|
+
style?: FillExtrusionLayerStyle;
|
|
11
10
|
}
|
|
12
11
|
/**
|
|
13
12
|
* FillExtrusionLayer is a style layer that renders one or more 3D extruded polygons on the map.
|
|
14
13
|
*/
|
|
15
|
-
declare const FillExtrusionLayer:
|
|
16
|
-
export default FillExtrusionLayer;
|
|
14
|
+
export declare const FillExtrusionLayer: ({ sourceID, ...props }: FillExtrusionLayerProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
15
|
//# sourceMappingURL=FillExtrusionLayer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FillExtrusionLayer.d.ts","sourceRoot":"","sources":["../../../../../src/components/FillExtrusionLayer.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FillExtrusionLayer.d.ts","sourceRoot":"","sources":["../../../../../src/components/FillExtrusionLayer.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,cAAc,EAEpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAIzE,eAAO,MAAM,kBAAkB,2BAA2B,CAAC;AAE3D,MAAM,WAAW,uBAAwB,SAAQ,SAAS,EAAE,cAAc;IACxE;;OAEG;IACH,KAAK,CAAC,EAAE,uBAAuB,CAAC;CACjC;AASD;;GAEG;AACH,eAAO,MAAM,kBAAkB,2BAG5B,uBAAuB,4CAUzB,CAAC"}
|
|
@@ -1,17 +1,15 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import { type BaseLayerProps } from "../hooks/useAbstractLayer";
|
|
3
2
|
import { type BaseProps } from "../types/BaseProps";
|
|
4
|
-
import { type
|
|
3
|
+
import { type FillLayerStyle } from "../types/MapLibreRNStyles";
|
|
5
4
|
export declare const NATIVE_MODULE_NAME = "MLRNFillLayer";
|
|
6
5
|
export interface FillLayerProps extends BaseProps, BaseLayerProps {
|
|
7
6
|
/**
|
|
8
7
|
* Customizable style attributes
|
|
9
8
|
*/
|
|
10
|
-
style?:
|
|
9
|
+
style?: FillLayerStyle;
|
|
11
10
|
}
|
|
12
11
|
/**
|
|
13
12
|
* FillLayer is a style layer that renders one or more filled (and optionally stroked) polygons on the map.
|
|
14
13
|
*/
|
|
15
|
-
declare const FillLayer:
|
|
16
|
-
export default FillLayer;
|
|
14
|
+
export declare const FillLayer: ({ sourceID, ...props }: FillLayerProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
15
|
//# sourceMappingURL=FillLayer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FillLayer.d.ts","sourceRoot":"","sources":["../../../../../src/components/FillLayer.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FillLayer.d.ts","sourceRoot":"","sources":["../../../../../src/components/FillLayer.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,cAAc,EAEpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAIhE,eAAO,MAAM,kBAAkB,kBAAkB,CAAC;AAElD,MAAM,WAAW,cAAe,SAAQ,SAAS,EAAE,cAAc;IAC/D;;OAEG;IACH,KAAK,CAAC,EAAE,cAAc,CAAC;CACxB;AAMD;;GAEG;AACH,eAAO,MAAM,SAAS,2BAGnB,cAAc,4CAUhB,CAAC"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { type ReactElement } from "react";
|
|
2
1
|
import { type BaseProps } from "../types/BaseProps";
|
|
3
2
|
interface HeadingIndicatorProps extends BaseProps {
|
|
4
3
|
heading?: number;
|
|
5
4
|
}
|
|
6
|
-
declare const HeadingIndicator: ({ heading }: HeadingIndicatorProps) =>
|
|
7
|
-
export
|
|
5
|
+
export declare const HeadingIndicator: ({ heading }: HeadingIndicatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export {};
|
|
8
7
|
//# sourceMappingURL=HeadingIndicator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeadingIndicator.d.ts","sourceRoot":"","sources":["../../../../../src/components/HeadingIndicator.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"HeadingIndicator.d.ts","sourceRoot":"","sources":["../../../../../src/components/HeadingIndicator.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,oBAAoB,CAAC;AASpD,UAAU,qBAAsB,SAAQ,SAAS;IAC/C,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,gBAAgB,gBAAiB,qBAAqB,4CAUlE,CAAC"}
|
|
@@ -1,17 +1,15 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import { type BaseLayerProps } from "../hooks/useAbstractLayer";
|
|
3
2
|
import { type BaseProps } from "../types/BaseProps";
|
|
4
|
-
import { type
|
|
3
|
+
import { type HeatmapLayerStyle } from "../types/MapLibreRNStyles";
|
|
5
4
|
export declare const NATIVE_MODULE_NAME = "MLRNHeatmapLayer";
|
|
6
5
|
export interface HeatmapLayerProps extends BaseProps, BaseLayerProps {
|
|
7
6
|
/**
|
|
8
7
|
* Customizable style attributes
|
|
9
8
|
*/
|
|
10
|
-
style?:
|
|
9
|
+
style?: HeatmapLayerStyle;
|
|
11
10
|
}
|
|
12
11
|
/**
|
|
13
12
|
* HeatmapLayer is a style layer that renders one or more filled circles on the map.
|
|
14
13
|
*/
|
|
15
|
-
declare const HeatmapLayer:
|
|
16
|
-
export default HeatmapLayer;
|
|
14
|
+
export declare const HeatmapLayer: ({ sourceID, ...props }: HeatmapLayerProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
15
|
//# sourceMappingURL=HeatmapLayer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeatmapLayer.d.ts","sourceRoot":"","sources":["../../../../../src/components/HeatmapLayer.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"HeatmapLayer.d.ts","sourceRoot":"","sources":["../../../../../src/components/HeatmapLayer.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,cAAc,EAGpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAInE,eAAO,MAAM,kBAAkB,qBAAqB,CAAC;AAErD,MAAM,WAAW,iBAAkB,SAAQ,SAAS,EAAE,cAAc;IAClE;;OAEG;IACH,KAAK,CAAC,EAAE,iBAAiB,CAAC;CAC3B;AAQD;;GAEG;AACH,eAAO,MAAM,YAAY,2BAGtB,iBAAiB,4CAUnB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
2
|
import { type BaseProps } from "../types/BaseProps";
|
|
3
3
|
export declare const NATIVE_MODULE_NAME = "MLRNImageSource";
|
|
4
4
|
export interface ImageSourceProps extends BaseProps {
|
|
@@ -20,12 +20,11 @@ export interface ImageSourceProps extends BaseProps {
|
|
|
20
20
|
GeoJSON.Position,
|
|
21
21
|
GeoJSON.Position
|
|
22
22
|
];
|
|
23
|
-
children?:
|
|
23
|
+
children?: ReactNode;
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
26
|
* ImageSource is a content source that is used for a georeferenced raster image to be shown on the map.
|
|
27
27
|
* The georeferenced image scales and rotates as the user zooms and rotates the map
|
|
28
28
|
*/
|
|
29
|
-
declare const ImageSource:
|
|
30
|
-
export default ImageSource;
|
|
29
|
+
export declare const ImageSource: (props: ImageSourceProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
31
30
|
//# sourceMappingURL=ImageSource.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImageSource.d.ts","sourceRoot":"","sources":["../../../../../src/components/ImageSource.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"ImageSource.d.ts","sourceRoot":"","sources":["../../../../../src/components/ImageSource.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAOpD,eAAO,MAAM,kBAAkB,oBAAoB,CAAC;AAEpD,MAAM,WAAW,gBAAiB,SAAQ,SAAS;IACjD;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACtB;;OAEG;IACH,WAAW,CAAC,EAAE;QACZ,OAAO,CAAC,QAAQ;QAChB,OAAO,CAAC,QAAQ;QAChB,OAAO,CAAC,QAAQ;QAChB,OAAO,CAAC,QAAQ;KACjB,CAAC;IAEF,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAMD;;;GAGG;AACH,eAAO,MAAM,WAAW,UAAW,gBAAgB,mDAuBlD,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
2
|
import { type ImageSourcePropType } from "react-native";
|
|
3
3
|
import { type BaseProps } from "../types/BaseProps";
|
|
4
4
|
export declare const NATIVE_MODULE_NAME = "MLRNImages";
|
|
@@ -7,7 +7,7 @@ interface ImagesProps extends BaseProps {
|
|
|
7
7
|
/**
|
|
8
8
|
* Specifies the external images in key-value pairs required for the shape source.
|
|
9
9
|
* Keys are names - see iconImage expressions, values can be either urls-s objects
|
|
10
|
-
* with format {uri: 'http://...'}` or `require('image.png')` or `import
|
|
10
|
+
* with format `{uri: 'http://...'}` or `require('image.png')` or `import "image.png"`
|
|
11
11
|
*/
|
|
12
12
|
images?: {
|
|
13
13
|
[key: string]: ImageEntry;
|
|
@@ -23,11 +23,11 @@ interface ImagesProps extends BaseProps {
|
|
|
23
23
|
*/
|
|
24
24
|
onImageMissing?(imageKey: string): void;
|
|
25
25
|
id?: string;
|
|
26
|
-
children?:
|
|
26
|
+
children?: ReactNode;
|
|
27
27
|
}
|
|
28
28
|
/**
|
|
29
29
|
* Images defines the images used in Symbol etc layers
|
|
30
30
|
*/
|
|
31
|
-
declare const Images: ({ images, nativeAssetImages, onImageMissing, id, children, }: ImagesProps) =>
|
|
32
|
-
export
|
|
31
|
+
export declare const Images: ({ images, nativeAssetImages, onImageMissing, id, children, }: ImagesProps) => import("react/jsx-runtime").JSX.Element;
|
|
32
|
+
export {};
|
|
33
33
|
//# sourceMappingURL=Images.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Images.d.ts","sourceRoot":"","sources":["../../../../../src/components/Images.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"Images.d.ts","sourceRoot":"","sources":["../../../../../src/components/Images.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAEL,KAAK,mBAAmB,EAIzB,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAEpD,eAAO,MAAM,kBAAkB,eAAe,CAAC;AAE/C,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,mBAAmB,CAAC;AAwBtD,UAAU,WAAY,SAAQ,SAAS;IACrC;;;;OAIG;IACH,MAAM,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAAA;KAAE,CAAC;IACvC;;;OAGG;IACH,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC7B;;;OAGG;IACH,cAAc,CAAC,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAExC,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED;;GAEG;AACH,eAAO,MAAM,MAAM,iEAMhB,WAAW,4CAqDb,CAAC"}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import { type BaseLayerProps } from "../hooks/useAbstractLayer";
|
|
3
2
|
import { type BaseProps } from "../types/BaseProps";
|
|
4
|
-
import { type
|
|
3
|
+
import { type LightLayerStyle } from "../types/MapLibreRNStyles";
|
|
5
4
|
export declare const NATIVE_MODULE_NAME = "MLRNLight";
|
|
6
5
|
interface LightProps extends BaseProps, BaseLayerProps {
|
|
7
6
|
/**
|
|
8
7
|
* Customizable style attributes
|
|
9
8
|
*/
|
|
10
|
-
style?:
|
|
9
|
+
style?: LightLayerStyle;
|
|
11
10
|
}
|
|
12
11
|
/**
|
|
13
12
|
* Light represents the light source for extruded geometries
|
|
14
13
|
*/
|
|
15
|
-
declare const Light:
|
|
16
|
-
export
|
|
14
|
+
export declare const Light: (props: LightProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export {};
|
|
17
16
|
//# sourceMappingURL=Light.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Light.d.ts","sourceRoot":"","sources":["../../../../../src/components/Light.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Light.d.ts","sourceRoot":"","sources":["../../../../../src/components/Light.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,cAAc,EACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAGjE,eAAO,MAAM,kBAAkB,cAAc,CAAC;AAE9C,UAAU,UAAW,SAAQ,SAAS,EAAE,cAAc;IACpD;;OAEG;IACH,KAAK,CAAC,EAAE,eAAe,CAAC;CACzB;AAQD;;GAEG;AACH,eAAO,MAAM,KAAK,UAAW,UAAU,4CAStC,CAAC"}
|
|
@@ -1,17 +1,15 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import { type BaseLayerProps } from "../hooks/useAbstractLayer";
|
|
3
2
|
import { type BaseProps } from "../types/BaseProps";
|
|
4
|
-
import { type
|
|
3
|
+
import { type LineLayerStyle } from "../types/MapLibreRNStyles";
|
|
5
4
|
export declare const NATIVE_MODULE_NAME = "MLRNLineLayer";
|
|
6
5
|
export interface LineLayerProps extends BaseProps, BaseLayerProps {
|
|
7
6
|
/**
|
|
8
7
|
* Customizable style attributes
|
|
9
8
|
*/
|
|
10
|
-
style?:
|
|
9
|
+
style?: LineLayerStyle;
|
|
11
10
|
}
|
|
12
11
|
/**
|
|
13
12
|
* LineLayer is a style layer that renders one or more stroked polylines on the map.
|
|
14
13
|
*/
|
|
15
|
-
declare const LineLayer:
|
|
16
|
-
export default LineLayer;
|
|
14
|
+
export declare const LineLayer: ({ sourceID, ...props }: LineLayerProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
15
|
//# sourceMappingURL=LineLayer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LineLayer.d.ts","sourceRoot":"","sources":["../../../../../src/components/LineLayer.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"LineLayer.d.ts","sourceRoot":"","sources":["../../../../../src/components/LineLayer.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,cAAc,EAEpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAIhE,eAAO,MAAM,kBAAkB,kBAAkB,CAAC;AAElD,MAAM,WAAW,cAAe,SAAQ,SAAS,EAAE,cAAc;IAC/D;;OAEG;IACH,KAAK,CAAC,EAAE,cAAc,CAAC;CACxB;AAOD;;GAEG;AACH,eAAO,MAAM,SAAS,2BAGnB,cAAc,4CAUhB,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type ReactNode } from "react";
|
|
2
2
|
import { type ViewProps, type NativeSyntheticEvent } from "react-native";
|
|
3
|
-
import { type Location } from "../modules/location/
|
|
3
|
+
import { type Location } from "../modules/location/LocationManager";
|
|
4
4
|
import { type BaseProps } from "../types/BaseProps";
|
|
5
|
-
import { type FilterExpression } from "../
|
|
5
|
+
import { type FilterExpression } from "../types/MapLibreRNStyles";
|
|
6
6
|
export declare const NATIVE_MODULE_NAME = "MLRNMapView";
|
|
7
7
|
export declare const ANDROID_TEXTURE_NATIVE_MODULE_NAME = "MLRNAndroidTextureMapView";
|
|
8
8
|
export interface RegionPayload {
|
|
@@ -24,13 +24,9 @@ interface MapViewProps extends BaseProps {
|
|
|
24
24
|
*/
|
|
25
25
|
style?: ViewProps["style"];
|
|
26
26
|
/**
|
|
27
|
-
* Style
|
|
27
|
+
* Style for map - either a URL or a Style JSON (https://maplibre.org/maplibre-style-spec/). Default: `StyleURL.Default`
|
|
28
28
|
*/
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* StyleJSON for map - according to TileJSON specs: https://github.com/mapbox/tilejson-spec
|
|
32
|
-
*/
|
|
33
|
-
styleJSON?: string;
|
|
29
|
+
mapStyle?: string | object;
|
|
34
30
|
/**
|
|
35
31
|
* iOS: The preferred frame rate at which the map view is rendered.
|
|
36
32
|
* The default value for this property is MLNMapViewPreferredFramesPerSecondDefault,
|
|
@@ -136,19 +132,19 @@ interface MapViewProps extends BaseProps {
|
|
|
136
132
|
/**
|
|
137
133
|
* This event is triggered whenever the currently displayed map region is about to change.
|
|
138
134
|
*
|
|
139
|
-
* @param {
|
|
135
|
+
* @param {GeoJSON.Feature<GeoJSON.Point, RegionPayload>} feature - The geojson point feature at the camera center, properties contains zoomLevel, visibleBounds
|
|
140
136
|
*/
|
|
141
137
|
onRegionWillChange?(feature: GeoJSON.Feature<GeoJSON.Point, RegionPayload>): void;
|
|
142
138
|
/**
|
|
143
139
|
* This event is triggered whenever the currently displayed map region is changing.
|
|
144
140
|
*
|
|
145
|
-
* @param {
|
|
141
|
+
* @param {GeoJSON.Feature<GeoJSON.Point, RegionPayload>} feature - The geojson point feature at the camera center, properties contains zoomLevel, visibleBounds
|
|
146
142
|
*/
|
|
147
143
|
onRegionIsChanging?(feature: GeoJSON.Feature<GeoJSON.Point, RegionPayload>): void;
|
|
148
144
|
/**
|
|
149
145
|
* This event is triggered whenever the currently displayed map region finished changing
|
|
150
146
|
*
|
|
151
|
-
* @param {
|
|
147
|
+
* @param {GeoJSON.Feature<GeoJSON.Point, RegionPayload>} feature - The geojson point feature at the camera center, properties contains zoomLevel, visibleBounds
|
|
152
148
|
*/
|
|
153
149
|
onRegionDidChange?(feature: GeoJSON.Feature<GeoJSON.Point, RegionPayload>): void;
|
|
154
150
|
/**
|
|
@@ -206,6 +202,7 @@ interface MapViewProps extends BaseProps {
|
|
|
206
202
|
children?: ReactNode;
|
|
207
203
|
}
|
|
208
204
|
interface NativeProps extends Omit<MapViewProps, "onPress" | "onLongPress"> {
|
|
205
|
+
mapStyle?: string;
|
|
209
206
|
onPress(event: NativeSyntheticEvent<{
|
|
210
207
|
payload: GeoJSON.Feature;
|
|
211
208
|
}>): void;
|
|
@@ -214,12 +211,11 @@ interface NativeProps extends Omit<MapViewProps, "onPress" | "onLongPress"> {
|
|
|
214
211
|
}>): void;
|
|
215
212
|
}
|
|
216
213
|
export interface MapViewRef {
|
|
217
|
-
getPointInView: (coordinate: GeoJSON.Position) => Promise<
|
|
218
|
-
getCoordinateFromView: (point: number
|
|
214
|
+
getPointInView: (coordinate: GeoJSON.Position) => Promise<[x: number, y: number]>;
|
|
215
|
+
getCoordinateFromView: (point: [x: number, y: number]) => Promise<GeoJSON.Position>;
|
|
219
216
|
getVisibleBounds: () => Promise<VisibleBounds>;
|
|
220
217
|
queryRenderedFeaturesAtPoint: (point: [screenPointX: number, screenPointY: number], filter: FilterExpression | undefined, layerIDs: string[]) => Promise<GeoJSON.FeatureCollection>;
|
|
221
218
|
queryRenderedFeaturesInRect: (bbox: GeoJSON.BBox, filter: FilterExpression | undefined, layerIDs: string[]) => Promise<GeoJSON.FeatureCollection>;
|
|
222
|
-
setCamera: () => void;
|
|
223
219
|
takeSnap: (writeToDisk?: boolean) => Promise<string>;
|
|
224
220
|
getZoom: () => Promise<number>;
|
|
225
221
|
getCenter: () => Promise<GeoJSON.Position>;
|
|
@@ -230,6 +226,6 @@ export interface MapViewRef {
|
|
|
230
226
|
/**
|
|
231
227
|
* MapView backed by MapLibre Native
|
|
232
228
|
*/
|
|
233
|
-
declare const MapView: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<MapViewProps & import("react").RefAttributes<MapViewRef>>>;
|
|
234
|
-
export
|
|
229
|
+
export declare const MapView: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<MapViewProps & import("react").RefAttributes<MapViewRef>>>;
|
|
230
|
+
export {};
|
|
235
231
|
//# sourceMappingURL=MapView.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MapView.d.ts","sourceRoot":"","sources":["../../../../../src/components/MapView.tsx"],"names":[],"mappings":"AACA,OAAO,EAKL,KAAK,SAAS,EAOf,MAAM,OAAO,CAAC;AACf,OAAO,EAKL,KAAK,SAAS,EAEd,KAAK,oBAAoB,EAC1B,MAAM,cAAc,CAAC;AAItB,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"MapView.d.ts","sourceRoot":"","sources":["../../../../../src/components/MapView.tsx"],"names":[],"mappings":"AACA,OAAO,EAKL,KAAK,SAAS,EAOf,MAAM,OAAO,CAAC;AACf,OAAO,EAKL,KAAK,SAAS,EAEd,KAAK,oBAAoB,EAC1B,MAAM,cAAc,CAAC;AAItB,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAYlE,eAAO,MAAM,kBAAkB,gBAAgB,CAAC;AAEhD,eAAO,MAAM,kCAAkC,8BAA8B,CAAC;AAM9E,MAAM,WAAW,aAAa;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,OAAO,CAAC;IAClB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,aAAa,EAAE,aAAa,CAAC;IAC7B,KAAK,EAAE,MAAM,CAA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QAAQ,CAAC,CAAC;IAC/B,gBAAgB,EAAE,MAAM,OAAO,CAAC,aAAa,CAAC,CAAC;IAC/C,4BAA4B,EAAE,CAC5B,KAAK,EAAE,CAAC,YAAY,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,CAAC,EACnD,MAAM,EAAE,gBAAgB,GAAG,SAAS,EACpC,QAAQ,EAAE,MAAM,EAAE,KACf,OAAO,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC;IACxC,2BAA2B,EAAE,CAC3B,IAAI,EAAE,OAAO,CAAC,IAAI,EAClB,MAAM,EAAE,gBAAgB,GAAG,SAAS,EACpC,QAAQ,EAAE,MAAM,EAAE,KACf,OAAO,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC;IACxC,QAAQ,EAAE,CAAC,WAAW,CAAC,EAAE,OAAO,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;IACrD,OAAO,EAAE,MAAM,OAAO,CAAC,MAAM,CAAC,CAAC;IAC/B,SAAS,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;IAC3C,mBAAmB,EAAE,CACnB,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,MAAM,EAChB,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,KAC1B,IAAI,CAAC;IACV,eAAe,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IACrC,cAAc,EAAE,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC;CAC9C;AAED;;GAEG;AACH,eAAO,MAAM,OAAO,0IAojBnB,CAAC"}
|
|
@@ -29,7 +29,7 @@ interface MarkerViewProps extends ViewProps {
|
|
|
29
29
|
/**
|
|
30
30
|
* Expects one child - can be container with multiple elements
|
|
31
31
|
*/
|
|
32
|
-
children:
|
|
32
|
+
children: ReactElement;
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
35
|
* MarkerView allows you to place a interactive react native marker to the map.
|
|
@@ -39,6 +39,6 @@ interface MarkerViewProps extends ViewProps {
|
|
|
39
39
|
* This is based on [MakerView plugin](https://docs.mapbox.com/android/plugins/overview/markerview/) on Android
|
|
40
40
|
* and PointAnnotation on iOS.
|
|
41
41
|
*/
|
|
42
|
-
declare const MarkerView: ({ anchor, allowOverlap, isSelected, ...rest }: MarkerViewProps) =>
|
|
43
|
-
export
|
|
42
|
+
export declare const MarkerView: ({ anchor, allowOverlap, isSelected, ...rest }: MarkerViewProps) => import("react/jsx-runtime").JSX.Element;
|
|
43
|
+
export {};
|
|
44
44
|
//# sourceMappingURL=MarkerView.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MarkerView.d.ts","sourceRoot":"","sources":["../../../../../src/components/MarkerView.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,YAAY,EAAW,MAAM,OAAO,CAAC;AACnD,OAAO,EAAoC,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAKhF,eAAO,MAAM,kBAAkB,mBAAmB,CAAC;AAEnD,UAAU,eAAgB,SAAQ,SAAS;IACzC;;;OAGG;IACH,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB;;;;;;OAMG;IACH,MAAM,CAAC,EAAE;QACP;;WAEG;QACH,CAAC,EAAE,MAAM,CAAC;QACV;;WAEG;QACH,CAAC,EAAE,MAAM,CAAC;KACX,CAAC;IACF,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"MarkerView.d.ts","sourceRoot":"","sources":["../../../../../src/components/MarkerView.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,YAAY,EAAW,MAAM,OAAO,CAAC;AACnD,OAAO,EAAoC,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAKhF,eAAO,MAAM,kBAAkB,mBAAmB,CAAC;AAEnD,UAAU,eAAgB,SAAQ,SAAS;IACzC;;;OAGG;IACH,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB;;;;;;OAMG;IACH,MAAM,CAAC,EAAE;QACP;;WAEG;QACH,CAAC,EAAE,MAAM,CAAC;QACV;;WAEG;QACH,CAAC,EAAE,MAAM,CAAC;KACX,CAAC;IACF,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,QAAQ,EAAE,YAAY,CAAC;CACxB;AASD;;;;;;;GAOG;AACH,eAAO,MAAM,UAAU,kDAKpB,eAAe,4CAqBjB,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { type ReactElement } from "react";
|
|
2
1
|
interface NativeUserLocationProps {
|
|
3
2
|
/**
|
|
4
3
|
* Android render mode.
|
|
@@ -21,6 +20,6 @@ interface NativeUserLocationProps {
|
|
|
21
20
|
*/
|
|
22
21
|
androidPreferredFramesPerSecond?: number;
|
|
23
22
|
}
|
|
24
|
-
declare const NativeUserLocation: (props: NativeUserLocationProps) =>
|
|
25
|
-
export
|
|
23
|
+
export declare const NativeUserLocation: (props: NativeUserLocationProps) => import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
export {};
|
|
26
25
|
//# sourceMappingURL=NativeUserLocation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NativeUserLocation.d.ts","sourceRoot":"","sources":["../../../../../src/components/NativeUserLocation.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NativeUserLocation.d.ts","sourceRoot":"","sources":["../../../../../src/components/NativeUserLocation.tsx"],"names":[],"mappings":"AAIA,UAAU,uBAAuB;IAC/B;;;;;;;;OAQG;IACH,iBAAiB,CAAC,EAAE,QAAQ,GAAG,SAAS,GAAG,KAAK,CAAC;IACjD;;;;OAIG;IACH,4BAA4B,CAAC,EAAE,OAAO,CAAC;IACvC;;OAEG;IACH,+BAA+B,CAAC,EAAE,MAAM,CAAC;CAC1C;AAED,eAAO,MAAM,kBAAkB,UAAW,uBAAuB,4CAEhE,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type ReactElement } from "react";
|
|
1
2
|
import { type ViewProps } from "react-native";
|
|
2
3
|
export declare const NATIVE_MODULE_NAME = "MLRNPointAnnotation";
|
|
3
4
|
type FeaturePayload = GeoJSON.Feature<GeoJSON.Point, {
|
|
@@ -19,7 +20,6 @@ export interface PointAnnotationProps {
|
|
|
19
20
|
snippet?: string;
|
|
20
21
|
/**
|
|
21
22
|
* Manually selects/deselects annotation
|
|
22
|
-
* @type {[type]}
|
|
23
23
|
*/
|
|
24
24
|
selected?: boolean;
|
|
25
25
|
/**
|
|
@@ -70,7 +70,7 @@ export interface PointAnnotationProps {
|
|
|
70
70
|
/**
|
|
71
71
|
* Expects one child, and an optional callout can be added as well
|
|
72
72
|
*/
|
|
73
|
-
children:
|
|
73
|
+
children: ReactElement | [ReactElement, ReactElement];
|
|
74
74
|
style?: ViewProps["style"];
|
|
75
75
|
}
|
|
76
76
|
export interface PointAnnotationRef {
|
|
@@ -79,13 +79,12 @@ export interface PointAnnotationRef {
|
|
|
79
79
|
/**
|
|
80
80
|
* PointAnnotation represents a one-dimensional shape located at a single geographical coordinate.
|
|
81
81
|
*
|
|
82
|
-
* Consider using ShapeSource and SymbolLayer instead, if you have many points and you have static images,
|
|
83
|
-
* they'll offer much better performance
|
|
82
|
+
* Consider using ShapeSource and SymbolLayer instead, if you have many points, and you have static images,
|
|
83
|
+
* they'll offer much better performance.
|
|
84
84
|
*
|
|
85
|
-
*
|
|
86
|
-
* If you need interctive views please use MarkerView,
|
|
85
|
+
* If you need interactive views please use MarkerView,
|
|
87
86
|
* as with PointAnnotation on Android child views are rendered onto a bitmap for better performance.
|
|
88
87
|
*/
|
|
89
|
-
declare const PointAnnotation: import("react").ForwardRefExoticComponent<PointAnnotationProps & import("react").RefAttributes<PointAnnotationRef>>;
|
|
90
|
-
export
|
|
88
|
+
export declare const PointAnnotation: import("react").ForwardRefExoticComponent<PointAnnotationProps & import("react").RefAttributes<PointAnnotationRef>>;
|
|
89
|
+
export {};
|
|
91
90
|
//# sourceMappingURL=PointAnnotation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PointAnnotation.d.ts","sourceRoot":"","sources":["../../../../../src/components/PointAnnotation.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PointAnnotation.d.ts","sourceRoot":"","sources":["../../../../../src/components/PointAnnotation.tsx"],"names":[],"mappings":"AACA,OAAO,EAML,KAAK,YAAY,EAClB,MAAM,OAAO,CAAC;AACf,OAAO,EAGL,KAAK,SAAS,EAEf,MAAM,cAAc,CAAC;AAKtB,eAAO,MAAM,kBAAkB,wBAAwB,CAAC;AAUxD,KAAK,cAAc,GAAG,OAAO,CAAC,OAAO,CACnC,OAAO,CAAC,KAAK,EACb;IACE,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;CACtB,CACF,CAAC;AAEF,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB;;;;;;OAMG;IACH,MAAM,CAAC,EAAE;QACP;;WAEG;QACH,CAAC,EAAE,MAAM,CAAC;QACV;;WAEG;QACH,CAAC,EAAE,MAAM,CAAC;KACX,CAAC;IACF;;OAEG;IACH,UAAU,CAAC,CAAC,OAAO,EAAE,cAAc,GAAG,IAAI,CAAC;IAC3C;;OAEG;IACH,YAAY,CAAC,CAAC,OAAO,EAAE,cAAc,GAAG,IAAI,CAAC;IAC7C;;OAEG;IACH,WAAW,CAAC,CAAC,OAAO,EAAE,cAAc,GAAG,IAAI,CAAC;IAC5C;;OAEG;IACH,SAAS,CAAC,CAAC,OAAO,EAAE,cAAc,GAAG,IAAI,CAAC;IAC1C;;OAEG;IACH,MAAM,CAAC,CAAC,OAAO,EAAE,cAAc,GAAG,IAAI,CAAC;IAEvC;;OAEG;IACH,QAAQ,EAAE,YAAY,GAAG,CAAC,YAAY,EAAE,YAAY,CAAC,CAAC;IAEtD,KAAK,CAAC,EAAE,SAAS,CAAC,OAAO,CAAC,CAAC;CAC5B;AAMD,MAAM,WAAW,kBAAkB;IACjC,OAAO,IAAI,IAAI,CAAC;CACjB;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,eAAe,qHA+G3B,CAAC"}
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
import { type BaseLayerProps } from "../hooks/useAbstractLayer";
|
|
3
2
|
import { type BaseProps } from "../types/BaseProps";
|
|
4
|
-
import { type
|
|
3
|
+
import { type RasterLayerStyle } from "../types/MapLibreRNStyles";
|
|
5
4
|
export declare const NATIVE_MODULE_NAME = "MLRNRasterLayer";
|
|
6
5
|
export interface RasterLayerProps extends BaseProps, BaseLayerProps {
|
|
7
6
|
/**
|
|
8
7
|
* Customizable style attributes
|
|
9
8
|
*/
|
|
10
|
-
style?:
|
|
9
|
+
style?: RasterLayerStyle;
|
|
11
10
|
}
|
|
12
|
-
declare const RasterLayer:
|
|
13
|
-
export default RasterLayer;
|
|
11
|
+
export declare const RasterLayer: ({ sourceID, ...props }: RasterLayerProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
12
|
//# sourceMappingURL=RasterLayer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RasterLayer.d.ts","sourceRoot":"","sources":["../../../../../src/components/RasterLayer.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RasterLayer.d.ts","sourceRoot":"","sources":["../../../../../src/components/RasterLayer.tsx"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,cAAc,EAEpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAIlE,eAAO,MAAM,kBAAkB,oBAAoB,CAAC;AAEpD,MAAM,WAAW,gBAAiB,SAAQ,SAAS,EAAE,cAAc;IACjE;;OAEG;IACH,KAAK,CAAC,EAAE,gBAAgB,CAAC;CAC1B;AAQD,eAAO,MAAM,WAAW,2BAGrB,gBAAgB,4CAUlB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
2
|
import { type BaseProps } from "../types/BaseProps";
|
|
3
3
|
export declare const NATIVE_MODULE_NAME = "MLRNRasterSource";
|
|
4
4
|
interface RasterSourceProps extends BaseProps {
|
|
@@ -41,13 +41,13 @@ interface RasterSourceProps extends BaseProps {
|
|
|
41
41
|
* source is part of a map view’s style and the map view’s attribution button is pressed.
|
|
42
42
|
*/
|
|
43
43
|
attribution?: string;
|
|
44
|
-
children?:
|
|
44
|
+
children?: ReactNode;
|
|
45
45
|
}
|
|
46
46
|
/**
|
|
47
47
|
* RasterSource is a map content source that supplies raster image tiles to be shown on the map.
|
|
48
48
|
* The location of and metadata about the tiles are defined either by an option dictionary
|
|
49
49
|
* or by an external file that conforms to the TileJSON specification.
|
|
50
50
|
*/
|
|
51
|
-
declare const RasterSource:
|
|
52
|
-
export
|
|
51
|
+
export declare const RasterSource: ({ id, ...props }: RasterSourceProps) => import("react/jsx-runtime").JSX.Element;
|
|
52
|
+
export {};
|
|
53
53
|
//# sourceMappingURL=RasterSource.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RasterSource.d.ts","sourceRoot":"","sources":["../../../../../src/components/RasterSource.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"RasterSource.d.ts","sourceRoot":"","sources":["../../../../../src/components/RasterSource.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvC,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAKpD,eAAO,MAAM,kBAAkB,qBAAqB,CAAC;AAMrD,UAAU,iBAAkB,SAAQ,SAAS;IAC3C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC5B;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,GAAG,CAAC,EAAE,OAAO,CAAC;IACd;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAOD;;;;GAIG;AACH,eAAO,MAAM,YAAY,qBAGtB,iBAAiB,4CAsCnB,CAAC"}
|