@maplibre/maplibre-react-native 10.0.0-beta.9 → 10.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -54
- package/android/build.gradle +35 -12
- package/android/gradle.properties +14 -6
- 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/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 +49 -24
- 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/MLRNCamera.m +6 -7
- 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/MLRNStyle.m +0 -40
- package/lib/commonjs/MLRNModule.js +3 -5
- package/lib/commonjs/MLRNModule.js.map +1 -1
- package/lib/commonjs/MapLibreRN.js +77 -59
- 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 +2 -2
- 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 -76
- 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 +6 -8
- package/lib/commonjs/components/ShapeSource.js.map +1 -1
- package/lib/commonjs/components/SymbolLayer.js +6 -7
- 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 +8 -10
- 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 +1 -2
- package/lib/module/MLRNModule.js.map +1 -1
- package/lib/module/MapLibreRN.js +40 -28
- 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 +2 -3
- 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 -72
- 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 +4 -5
- package/lib/module/components/ShapeSource.js.map +1 -1
- package/lib/module/components/SymbolLayer.js +4 -5
- 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 +5 -6
- 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 +2 -6
- package/lib/typescript/commonjs/src/MLRNModule.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/MapLibreRN.d.ts +43 -30
- 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 -15
- 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 -15
- package/lib/typescript/commonjs/src/components/ShapeSource.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/components/SymbolLayer.d.ts +3 -4
- 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/commonjs/src/modules/offline/{offlineManager.d.ts → OfflineManager.d.ts} +25 -25
- package/lib/typescript/commonjs/src/modules/offline/OfflineManager.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/offline/OfflinePack.d.ts +2 -3
- 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 +2 -6
- package/lib/typescript/module/src/MLRNModule.d.ts.map +1 -1
- package/lib/typescript/module/src/MapLibreRN.d.ts +43 -30
- 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 -15
- 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 -15
- package/lib/typescript/module/src/components/ShapeSource.d.ts.map +1 -1
- package/lib/typescript/module/src/components/SymbolLayer.d.ts +3 -4
- 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/module/src/modules/offline/{offlineManager.d.ts → OfflineManager.d.ts} +25 -25
- package/lib/typescript/module/src/modules/offline/OfflineManager.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/offline/OfflinePack.d.ts +2 -3
- 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 +15 -10
- package/src/MapLibreRN.ts +59 -41
- 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 +7 -9
- package/src/components/Light.tsx +5 -7
- package/src/components/LineLayer.tsx +7 -9
- package/src/components/MapView.tsx +85 -94
- 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 +17 -22
- package/src/components/SymbolLayer.tsx +7 -8
- package/src/components/UserLocation.tsx +21 -22
- package/src/components/VectorSource.tsx +8 -15
- 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} +30 -29
- package/src/modules/offline/OfflinePack.ts +2 -4
- 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/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/styleMap.js +0 -255
- package/lib/commonjs/utils/styleMap.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/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/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/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/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/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/types/StyleURL.ts +0 -3
- package/src/utils/styleMap.ts +0 -265
|
@@ -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"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Component, type
|
|
1
|
+
import { Component, type ReactNode } from "react";
|
|
2
2
|
import { type NativeMethods, type NativeSyntheticEvent } from "react-native";
|
|
3
3
|
import { type BaseProps } from "../types/BaseProps";
|
|
4
|
+
import { type ExpressionField, type FilterExpression } from "../types/MapLibreRNStyles";
|
|
4
5
|
import { type OnPressEvent } from "../types/OnPressEvent";
|
|
5
|
-
import { type ExpressionField, type FilterExpression } from "../utils/MapLibreRNStyles";
|
|
6
6
|
export declare const NATIVE_MODULE_NAME = "MLRNShapeSource";
|
|
7
7
|
interface NativeProps {
|
|
8
8
|
shape?: string;
|
|
@@ -46,7 +46,7 @@ export interface ShapeSourceProps extends BaseProps {
|
|
|
46
46
|
* it accumulates the property value from clusters/points the cluster contains
|
|
47
47
|
* `map_expression` produces the value of a single point
|
|
48
48
|
*
|
|
49
|
-
*
|
|
49
|
+
* @example `{ "resultingSum": [["+", ["accumulated"], ["get", "resultingSum"]], ["get", "scalerank"]] }`
|
|
50
50
|
*
|
|
51
51
|
*/
|
|
52
52
|
clusterProperties?: {
|
|
@@ -78,18 +78,11 @@ export interface ShapeSourceProps extends BaseProps {
|
|
|
78
78
|
*/
|
|
79
79
|
lineMetrics?: boolean;
|
|
80
80
|
/**
|
|
81
|
-
* Source press listener, gets called when a user presses one of the children layers only
|
|
82
|
-
* if that layer has a higher z-index than another source layers
|
|
83
|
-
*
|
|
84
|
-
* @param {Object} event
|
|
85
|
-
* @param {Object[]} event.features - the geojson features that have hit by the press (might be multiple)
|
|
86
|
-
* @param {Object} event.coordinates - the coordinates of the click
|
|
87
|
-
* @param {Object} event.point - the point of the click
|
|
88
|
-
* @return void
|
|
81
|
+
* Source press listener, gets called when a user presses one of the children layers only if that layer has a higher z-index than another source layers.
|
|
89
82
|
*/
|
|
90
83
|
onPress?: (event: OnPressEvent) => void;
|
|
91
84
|
/**
|
|
92
|
-
* Overrides the default touch hitbox(44x44 pixels) for the source layers
|
|
85
|
+
* Overrides the default touch hitbox (44x44 pixels) for the source layers
|
|
93
86
|
*/
|
|
94
87
|
hitbox?: {
|
|
95
88
|
/**
|
|
@@ -101,7 +94,7 @@ export interface ShapeSourceProps extends BaseProps {
|
|
|
101
94
|
*/
|
|
102
95
|
height: number;
|
|
103
96
|
};
|
|
104
|
-
children?:
|
|
97
|
+
children?: ReactNode;
|
|
105
98
|
}
|
|
106
99
|
export interface ShapeSourceRef {
|
|
107
100
|
features(filter?: FilterExpression): Promise<GeoJSON.FeatureCollection>;
|
|
@@ -118,6 +111,6 @@ export interface ShapeSourceRef {
|
|
|
118
111
|
* ShapeSource is a map content source that supplies vector shapes to be shown on the map.
|
|
119
112
|
* The shape may be a url or a GeoJSON object
|
|
120
113
|
*/
|
|
121
|
-
declare const ShapeSource: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<ShapeSourceProps & import("react").RefAttributes<ShapeSourceRef>>>;
|
|
122
|
-
export
|
|
114
|
+
export declare const ShapeSource: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<ShapeSourceProps & import("react").RefAttributes<ShapeSourceRef>>>;
|
|
115
|
+
export {};
|
|
123
116
|
//# sourceMappingURL=ShapeSource.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ShapeSource.d.ts","sourceRoot":"","sources":["../../../../../src/components/ShapeSource.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,
|
|
1
|
+
{"version":3,"file":"ShapeSource.d.ts","sourceRoot":"","sources":["../../../../../src/components/ShapeSource.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EAGT,KAAK,SAAS,EAGf,MAAM,OAAO,CAAC;AACf,OAAO,EACL,KAAK,aAAa,EAElB,KAAK,oBAAoB,EAE1B,MAAM,cAAc,CAAC;AAGtB,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACtB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAU1D,eAAO,MAAM,kBAAkB,oBAAoB,CAAC;AAEpD,UAAU,WAAW;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,KAAK,sBAAsB,GAAG,SAAS,CAAC,WAAW,CAAC,GAAG,QAAQ,CAAC,aAAa,CAAC,CAAC;AAE/E,MAAM,WAAW,gBAAiB,SAAQ,SAAS;IACjD;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,KAAK,CAAC,EACF,OAAO,CAAC,kBAAkB,GAC1B,OAAO,CAAC,OAAO,GACf,OAAO,CAAC,iBAAiB,GACzB,OAAO,CAAC,QAAQ,CAAC;IACrB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B;;;;;;;;;;;OAWG;IACH,iBAAiB,CAAC,EAAE;QAAE,CAAC,YAAY,EAAE,MAAM,GAAG,eAAe,CAAA;KAAE,CAAC;IAChE;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI,CAAC;IACxC;;OAEG;IACH,MAAM,CAAC,EAAE;QACP;;WAEG;QACH,KAAK,EAAE,MAAM,CAAC;QACd;;WAEG;QACH,MAAM,EAAE,MAAM,CAAC;KAChB,CAAC;IAEF,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,MAAM,CAAC,EAAE,gBAAgB,GAAG,OAAO,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC;IAExE,uBAAuB,CAAC,OAAO,EAAE,OAAO,CAAC,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IAEnE,gBAAgB,CACd,OAAO,EAAE,OAAO,CAAC,OAAO,EACxB,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,GACb,OAAO,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC;IAEtC,kBAAkB,CAChB,OAAO,EAAE,OAAO,CAAC,OAAO,GACvB,OAAO,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC;IAEtC,cAAc,EAAE,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC;IAC7C,OAAO,EAAE,CAAC,KAAK,EAAE,oBAAoB,CAAC;QAAE,OAAO,EAAE,YAAY,CAAA;KAAE,CAAC,KAAK,IAAI,CAAC;IAG1E,UAAU,EAAE,sBAAsB,GAAG,SAAS,CAAC;CAChD;AAED;;;GAGG;AACH,eAAO,MAAM,WAAW,kJA2MvB,CAAC"}
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import { type BaseLayerProps } from "../hooks/useAbstractLayer";
|
|
2
2
|
import { type BaseProps } from "../types/BaseProps";
|
|
3
|
-
import { type
|
|
3
|
+
import { type SymbolLayerStyle } from "../types/MapLibreRNStyles";
|
|
4
4
|
export declare const NATIVE_MODULE_NAME = "MLRNSymbolLayer";
|
|
5
5
|
export interface SymbolLayerProps extends BaseProps, BaseLayerProps {
|
|
6
6
|
/**
|
|
7
7
|
* Customizable style attributes
|
|
8
8
|
*/
|
|
9
|
-
style?:
|
|
9
|
+
style?: SymbolLayerStyle;
|
|
10
10
|
}
|
|
11
11
|
/**
|
|
12
12
|
* SymbolLayer is a style layer that renders icon and text labels at points or along lines on the map.
|
|
13
13
|
*/
|
|
14
|
-
declare const SymbolLayer:
|
|
15
|
-
export default SymbolLayer;
|
|
14
|
+
export declare const SymbolLayer: ({ sourceID, ...props }: SymbolLayerProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
15
|
//# sourceMappingURL=SymbolLayer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SymbolLayer.d.ts","sourceRoot":"","sources":["../../../../../src/components/SymbolLayer.tsx"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"SymbolLayer.d.ts","sourceRoot":"","sources":["../../../../../src/components/SymbolLayer.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,4CAclB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
import { type Location } from "../modules/location/
|
|
3
|
-
export declare const normalIcon: (showsUserHeadingIndicator?: boolean, heading?: number) =>
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
|
+
import { type Location } from "../modules/location/LocationManager";
|
|
3
|
+
export declare const normalIcon: (showsUserHeadingIndicator?: boolean, heading?: number) => import("react/jsx-runtime").JSX.Element[];
|
|
4
4
|
interface UserLocationProps {
|
|
5
5
|
/**
|
|
6
6
|
* Whether location icon is animated between updates
|
|
@@ -52,7 +52,7 @@ interface UserLocationProps {
|
|
|
52
52
|
*
|
|
53
53
|
* NOTE: Forking maintainer does not understand the above comment.
|
|
54
54
|
*/
|
|
55
|
-
children?:
|
|
55
|
+
children?: ReactNode;
|
|
56
56
|
}
|
|
57
57
|
export declare enum UserLocationRenderMode {
|
|
58
58
|
Native = "native",
|
|
@@ -65,6 +65,6 @@ export interface UserLocationRef {
|
|
|
65
65
|
needsLocationManagerRunning: () => boolean;
|
|
66
66
|
_onLocationUpdate: (location: Location | null) => void;
|
|
67
67
|
}
|
|
68
|
-
declare const UserLocation: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<UserLocationProps & import("react").RefAttributes<UserLocationRef>>>;
|
|
69
|
-
export
|
|
68
|
+
export declare const UserLocation: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<UserLocationProps & import("react").RefAttributes<UserLocationRef>>>;
|
|
69
|
+
export {};
|
|
70
70
|
//# sourceMappingURL=UserLocation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserLocation.d.ts","sourceRoot":"","sources":["../../../../../src/components/UserLocation.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,
|
|
1
|
+
{"version":3,"file":"UserLocation.d.ts","sourceRoot":"","sources":["../../../../../src/components/UserLocation.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,SAAS,EAKf,MAAM,OAAO,CAAC;AAMf,OAAO,EACL,KAAK,QAAQ,EAEd,MAAM,qCAAqC,CAAC;AAwB7C,eAAO,MAAM,UAAU,+BACO,OAAO,YACzB,MAAM,8CAqBjB,CAAC;AAEF,UAAU,iBAAiB;IACzB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,UAAU,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;IACjC;;;;;;;;OAQG;IACH,iBAAiB,CAAC,EAAE,QAAQ,GAAG,SAAS,GAAG,KAAK,CAAC;IACjD;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,OAAO,CAAC,IAAI,IAAI,CAAC;IACjB;;OAEG;IACH,QAAQ,CAAC,CAAC,QAAQ,EAAE,QAAQ,GAAG,IAAI,CAAC;IACpC;;OAEG;IACH,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,+BAA+B,CAAC,EAAE,MAAM,CAAC;IACzC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAQD,oBAAY,sBAAsB;IAChC,MAAM,WAAW;IACjB,MAAM,WAAW;CAClB;AAED,MAAM,WAAW,eAAe;IAC9B,kBAAkB,EAAE,CAAC,KAAK,EAAE;QAAE,OAAO,EAAE,OAAO,CAAA;KAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACnE,2BAA2B,EAAE,MAAM,OAAO,CAAC;IAC3C,iBAAiB,EAAE,CAAC,QAAQ,EAAE,QAAQ,GAAG,IAAI,KAAK,IAAI,CAAC;CACxD;AAED,eAAO,MAAM,YAAY,oJAwKxB,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type ReactNode } from "react";
|
|
1
2
|
import { type BaseProps } from "../types/BaseProps";
|
|
2
3
|
import { type OnPressEvent } from "../types/OnPressEvent";
|
|
3
4
|
export declare const NATIVE_MODULE_NAME = "MLRNVectorSource";
|
|
@@ -39,11 +40,6 @@ interface VectorSourceProps extends BaseProps {
|
|
|
39
40
|
/**
|
|
40
41
|
* Source press listener, gets called when a user presses one of the children layers only
|
|
41
42
|
* if that layer has a higher z-index than another source layers
|
|
42
|
-
*
|
|
43
|
-
* @param {Object} event
|
|
44
|
-
* @param {Object[]} event.features - the geojson features that have hit by the press (might be multiple)
|
|
45
|
-
* @param {Object} event.coordinates - the coordinates of the click
|
|
46
|
-
* @param {Object} event.point - the point of the click
|
|
47
43
|
*/
|
|
48
44
|
onPress?: (event: OnPressEvent) => void;
|
|
49
45
|
/**
|
|
@@ -59,12 +55,12 @@ interface VectorSourceProps extends BaseProps {
|
|
|
59
55
|
*/
|
|
60
56
|
height: number;
|
|
61
57
|
};
|
|
62
|
-
children?:
|
|
58
|
+
children?: ReactNode;
|
|
63
59
|
}
|
|
64
60
|
/**
|
|
65
61
|
* VectorSource is a map content source that supplies tiled vector data in Mapbox Vector Tile format to be shown on the map.
|
|
66
62
|
* The location of and metadata about the tiles are defined either by an option dictionary or by an external file that conforms to the TileJSON specification.
|
|
67
63
|
*/
|
|
68
|
-
declare const VectorSource: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<VectorSourceProps & import("react").RefAttributes<unknown>>>;
|
|
69
|
-
export
|
|
64
|
+
export declare const VectorSource: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<VectorSourceProps & import("react").RefAttributes<unknown>>>;
|
|
65
|
+
export {};
|
|
70
66
|
//# sourceMappingURL=VectorSource.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VectorSource.d.ts","sourceRoot":"","sources":["../../../../../src/components/VectorSource.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"VectorSource.d.ts","sourceRoot":"","sources":["../../../../../src/components/VectorSource.tsx"],"names":[],"mappings":"AACA,OAAO,EAAoB,KAAK,SAAS,EAAuB,MAAM,OAAO,CAAC;AAS9E,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAEpD,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAM1D,eAAO,MAAM,kBAAkB,qBAAqB,CAAC;AAErD,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;;OAEG;IACH,GAAG,CAAC,EAAE,OAAO,CAAC;IACd;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI,CAAC;IACxC;;OAEG;IACH,MAAM,CAAC,EAAE;QACP;;WAEG;QACH,KAAK,EAAE,MAAM,CAAC;QACd;;WAEG;QACH,MAAM,EAAE,MAAM,CAAC;KAChB,CAAC;IAEF,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAOD;;;GAGG;AACH,eAAO,MAAM,YAAY,4IA4GxB,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { type Component } from "react";
|
|
1
2
|
import { processColor, type NativeMethods } from "react-native";
|
|
2
3
|
import { type BaseProps } from "../types/BaseProps";
|
|
3
|
-
import { type
|
|
4
|
+
import { type AllLayerStyle, type FilterExpression } from "../types/MapLibreRNStyles";
|
|
4
5
|
import { type StyleValue } from "../utils/StyleValue";
|
|
5
6
|
export interface BaseLayerProps {
|
|
6
7
|
/**
|
|
@@ -44,16 +45,16 @@ export interface BaseLayerProps {
|
|
|
44
45
|
/**
|
|
45
46
|
* Customizable style attributes
|
|
46
47
|
*/
|
|
47
|
-
style?:
|
|
48
|
+
style?: AllLayerStyle;
|
|
48
49
|
}
|
|
49
50
|
export interface NativeBaseProps {
|
|
50
51
|
reactStyle?: {
|
|
51
52
|
[key: string]: StyleValue;
|
|
52
53
|
};
|
|
53
54
|
}
|
|
54
|
-
export
|
|
55
|
+
export declare function useAbstractLayer<Props extends BaseProps, NativeProps extends NativeBaseProps>(props: Props & BaseLayerProps): {
|
|
55
56
|
baseProps: Props & BaseLayerProps;
|
|
56
|
-
setNativeLayer: (instance: (
|
|
57
|
+
setNativeLayer: (instance: (Component<NativeProps> & Readonly<NativeMethods>) | null) => void;
|
|
57
58
|
getStyleTypeFormatter: (styleType: string) => typeof processColor | undefined;
|
|
58
59
|
setNativeProps: (nativeProps: {
|
|
59
60
|
[key: string]: unknown;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useAbstractLayer.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/useAbstractLayer.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useAbstractLayer.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/useAbstractLayer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAmB,MAAM,OAAO,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,KAAK,aAAa,EAAE,MAAM,cAAc,CAAC;AAEhE,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EACL,KAAK,aAAa,EAGlB,KAAK,gBAAgB,EACtB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,KAAK,UAAU,EAAkB,MAAM,qBAAqB,CAAC;AAGtE,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAC1B;;OAEG;IACH,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB;AAED,MAAM,WAAW,eAAe;IAC9B,UAAU,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAAA;KAAE,CAAC;CAC5C;AAED,wBAAgB,gBAAgB,CAC9B,KAAK,SAAS,SAAS,EACvB,WAAW,SAAS,eAAe,EAEnC,KAAK,EAAE,KAAK,GAAG,cAAc,GAC5B;IACD,SAAS,EAAE,KAAK,GAAG,cAAc,CAAC;IAClC,cAAc,EAAE,CACd,QAAQ,EAAE,CAAC,SAAS,CAAC,WAAW,CAAC,GAAG,QAAQ,CAAC,aAAa,CAAC,CAAC,GAAG,IAAI,KAChE,IAAI,CAAC;IACV,qBAAqB,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,OAAO,YAAY,GAAG,SAAS,CAAC;IAC9E,cAAc,EAAE,CAAC,WAAW,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,KAAK,IAAI,CAAC;CACnE,CAoDA"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { Component } from "react";
|
|
1
2
|
import { type NativeMethods } from "react-native";
|
|
2
|
-
export
|
|
3
|
-
_nativeRef: (
|
|
4
|
-
setNativeRef: (instance:
|
|
3
|
+
export declare function useAbstractSource<NativePropsType extends object>(): {
|
|
4
|
+
_nativeRef: (Component<NativePropsType> & Readonly<NativeMethods>) | undefined;
|
|
5
|
+
setNativeRef: (instance: Component<NativePropsType> & Readonly<NativeMethods>) => void;
|
|
5
6
|
setNativeProps: (nativeProps: NativePropsType) => void;
|
|
6
7
|
};
|
|
7
8
|
//# sourceMappingURL=useAbstractSource.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useAbstractSource.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/useAbstractSource.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useAbstractSource.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/useAbstractSource.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAU,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,cAAc,CAAC;AAElD,wBAAgB,iBAAiB,CAAC,eAAe,SAAS,MAAM,KAAK;IACnE,UAAU,EACN,CAAC,SAAS,CAAC,eAAe,CAAC,GAAG,QAAQ,CAAC,aAAa,CAAC,CAAC,GACtD,SAAS,CAAC;IACd,YAAY,EAAE,CACZ,QAAQ,EAAE,SAAS,CAAC,eAAe,CAAC,GAAG,QAAQ,CAAC,aAAa,CAAC,KAC3D,IAAI,CAAC;IACV,cAAc,EAAE,CAAC,WAAW,EAAE,eAAe,KAAK,IAAI,CAAC;CACxD,CAsBA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, type SyntheticEvent } from "react";
|
|
1
|
+
import { Component, type MutableRefObject, type SyntheticEvent } from "react";
|
|
2
2
|
import { type NativeArg } from "../utils";
|
|
3
3
|
export type RNMLEvent<PayloadType = {
|
|
4
4
|
[key: string]: string;
|
|
@@ -9,13 +9,13 @@ export type RNMLEvent<PayloadType = {
|
|
|
9
9
|
type UseNativeBridge = {
|
|
10
10
|
_nativeModuleName: string;
|
|
11
11
|
_onAndroidCallback: (e: SyntheticEvent<Element, RNMLEvent>) => void;
|
|
12
|
-
_callbackMap:
|
|
13
|
-
_preRefMapMethodQueue:
|
|
12
|
+
_callbackMap: MutableRefObject<Map<string, any>>;
|
|
13
|
+
_preRefMapMethodQueue: MutableRefObject<any[]>;
|
|
14
14
|
_addAddAndroidCallback: <ReturnType>(id: string, resolve: (value: ReturnType) => void, reject: (error: Error) => void) => void;
|
|
15
15
|
_removeAndroidCallback: (id: string) => void;
|
|
16
16
|
_runPendingNativeCommands: <RefType extends Component>(nativeRef: RefType | null | undefined) => Promise<void>;
|
|
17
17
|
_runNativeCommand: <RefType extends Component, ReturnType = NativeArg>(methodName: string, nativeRef: RefType | undefined | null, args?: NativeArg[]) => Promise<ReturnType>;
|
|
18
18
|
};
|
|
19
|
-
declare const useNativeBridge: (moduleName: string) => UseNativeBridge;
|
|
20
|
-
export
|
|
19
|
+
export declare const useNativeBridge: (moduleName: string) => UseNativeBridge;
|
|
20
|
+
export {};
|
|
21
21
|
//# sourceMappingURL=useNativeBridge.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useNativeBridge.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/useNativeBridge.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"useNativeBridge.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/useNativeBridge.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,KAAK,gBAAgB,EACrB,KAAK,cAAc,EAEpB,MAAM,OAAO,CAAC;AAEf,OAAO,EAA+B,KAAK,SAAS,EAAE,MAAM,UAAU,CAAC;AAEvE,MAAM,MAAM,SAAS,CAAC,WAAW,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,IAAI;IAC/D,OAAO,EAAE,WAAW,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAIF,KAAK,eAAe,GAAG;IACrB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,kBAAkB,EAAE,CAAC,CAAC,EAAE,cAAc,CAAC,OAAO,EAAE,SAAS,CAAC,KAAK,IAAI,CAAC;IACpE,YAAY,EAAE,gBAAgB,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAAC;IACjD,qBAAqB,EAAE,gBAAgB,CAAC,GAAG,EAAE,CAAC,CAAC;IAC/C,sBAAsB,EAAE,CAAC,UAAU,EACjC,EAAE,EAAE,MAAM,EACV,OAAO,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,EACpC,MAAM,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,KAC3B,IAAI,CAAC;IACV,sBAAsB,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,yBAAyB,EAAE,CAAC,OAAO,SAAS,SAAS,EACnD,SAAS,EAAE,OAAO,GAAG,IAAI,GAAG,SAAS,KAClC,OAAO,CAAC,IAAI,CAAC,CAAC;IACnB,iBAAiB,EAAE,CAAC,OAAO,SAAS,SAAS,EAAE,UAAU,GAAG,SAAS,EACnE,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,OAAO,GAAG,SAAS,GAAG,IAAI,EACrC,IAAI,CAAC,EAAE,SAAS,EAAE,KACf,OAAO,CAAC,UAAU,CAAC,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,eA0FrD,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Component } from "react";
|
|
1
|
+
import { Component, type RefObject } from "react";
|
|
2
2
|
import { type NativeMethods } from "react-native";
|
|
3
3
|
export type NativeRef<NativeProps> = Component<NativeProps> & Readonly<NativeMethods>;
|
|
4
4
|
/**
|
|
5
5
|
* Separate module which allows to be mocked in tests.
|
|
6
6
|
*/
|
|
7
|
-
export declare function useNativeRef<NativeProps = object>():
|
|
7
|
+
export declare function useNativeRef<NativeProps = object>(): RefObject<NativeRef<NativeProps>>;
|
|
8
8
|
//# sourceMappingURL=useNativeRef.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useNativeRef.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/useNativeRef.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAU,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"useNativeRef.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/useNativeRef.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,SAAS,EAAU,MAAM,OAAO,CAAC;AAC1D,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,cAAc,CAAC;AAElD,MAAM,MAAM,SAAS,CAAC,WAAW,IAAI,SAAS,CAAC,WAAW,CAAC,GACzD,QAAQ,CAAC,aAAa,CAAC,CAAC;AAE1B;;GAEG;AACH,wBAAgB,YAAY,CAAC,WAAW,GAAG,MAAM,KAAK,SAAS,CAC7D,SAAS,CAAC,WAAW,CAAC,CACvB,CAEA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useOnce.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/useOnce.ts"],"names":[],"mappings":"AAEA,
|
|
1
|
+
{"version":3,"file":"useOnce.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/useOnce.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,EAAE,CAAC,QAAQ,EAAE,MAAM,IAAI,KAAK,IAS/C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,cAAc,cAAc,CAAC;AAE7B,eAAe,UAAU,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,cAAc,cAAc,CAAC;AAE7B;;GAEG;AACH,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { NativeEventEmitter, type EmitterSubscription } from "react-native";
|
|
2
|
+
export declare const LocationModuleEventEmitter: NativeEventEmitter;
|
|
3
|
+
export interface Location {
|
|
4
|
+
coords: Coordinates;
|
|
5
|
+
timestamp?: number;
|
|
6
|
+
}
|
|
7
|
+
interface Coordinates {
|
|
8
|
+
heading?: number;
|
|
9
|
+
course?: number;
|
|
10
|
+
speed?: number;
|
|
11
|
+
latitude: number;
|
|
12
|
+
longitude: number;
|
|
13
|
+
accuracy?: number;
|
|
14
|
+
altitude?: number;
|
|
15
|
+
}
|
|
16
|
+
declare class LocationManager {
|
|
17
|
+
_listeners: ((location: Location) => void)[];
|
|
18
|
+
_lastKnownLocation: Location | null;
|
|
19
|
+
_isListening: boolean;
|
|
20
|
+
subscription: EmitterSubscription | null;
|
|
21
|
+
constructor();
|
|
22
|
+
getLastKnownLocation(): Promise<Location | null>;
|
|
23
|
+
addListener(listener: (location: Location) => void): void;
|
|
24
|
+
removeListener(listener: (location: Location) => void): void;
|
|
25
|
+
removeAllListeners(): void;
|
|
26
|
+
start(displacement?: number): void;
|
|
27
|
+
stop(): void;
|
|
28
|
+
setMinDisplacement(minDisplacement: number): void;
|
|
29
|
+
onUpdate(location: Location): void;
|
|
30
|
+
}
|
|
31
|
+
declare const locationManager: LocationManager;
|
|
32
|
+
export { locationManager as LocationManager };
|
|
33
|
+
//# sourceMappingURL=LocationManager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LocationManager.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/location/LocationManager.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,kBAAkB,EAClB,KAAK,mBAAmB,EACzB,MAAM,cAAc,CAAC;AAKtB,eAAO,MAAM,0BAA0B,oBAEtC,CAAC;AAKF,MAAM,WAAW,QAAQ;IACvB,MAAM,EAAE,WAAW,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAKD,UAAU,WAAW;IAOnB,OAAO,CAAC,EAAE,MAAM,CAAC;IAMjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,QAAQ,EAAE,MAAM,CAAC;IAKjB,SAAS,EAAE,MAAM,CAAC;IAKlB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,cAAM,eAAe;IACnB,UAAU,EAAE,CAAC,CAAC,QAAQ,EAAE,QAAQ,KAAK,IAAI,CAAC,EAAE,CAAC;IAC7C,kBAAkB,EAAE,QAAQ,GAAG,IAAI,CAAC;IACpC,YAAY,EAAE,OAAO,CAAC;IACtB,YAAY,EAAE,mBAAmB,GAAG,IAAI,CAAC;;IAUnC,oBAAoB,IAAI,OAAO,CAAC,QAAQ,GAAG,IAAI,CAAC;IAsBtD,WAAW,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,QAAQ,KAAK,IAAI,GAAG,IAAI;IAazD,cAAc,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,QAAQ,KAAK,IAAI,GAAG,IAAI;IAO5D,kBAAkB,IAAI,IAAI;IAK1B,KAAK,CAAC,YAAY,SAAI,GAAG,IAAI;IAa7B,IAAI,IAAI,IAAI;IAUZ,kBAAkB,CAAC,eAAe,EAAE,MAAM,GAAG,IAAI;IAIjD,QAAQ,CAAC,QAAQ,EAAE,QAAQ,GAAG,IAAI;CAKnC;AAED,QAAA,MAAM,eAAe,iBAAwB,CAAC;AAC9C,OAAO,EAAE,eAAe,IAAI,eAAe,EAAE,CAAC"}
|
|
@@ -6,7 +6,7 @@ export interface OfflineCreatePackInputOptions {
|
|
|
6
6
|
maxZoom?: number;
|
|
7
7
|
metadata?: Record<string, any>;
|
|
8
8
|
}
|
|
9
|
-
declare class OfflineCreatePackOptions {
|
|
9
|
+
export declare class OfflineCreatePackOptions {
|
|
10
10
|
name: string;
|
|
11
11
|
styleURL: string;
|
|
12
12
|
bounds: string;
|
|
@@ -17,5 +17,4 @@ declare class OfflineCreatePackOptions {
|
|
|
17
17
|
_assert(options: OfflineCreatePackInputOptions): void;
|
|
18
18
|
_makeMetadata(metadata?: Record<string, any>): string;
|
|
19
19
|
}
|
|
20
|
-
export default OfflineCreatePackOptions;
|
|
21
20
|
//# sourceMappingURL=OfflineCreatePackOptions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OfflineCreatePackOptions.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/offline/OfflineCreatePackOptions.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,6BAA6B;IAC5C,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,CAAC,OAAO,CAAC,QAAQ,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;IAC7C,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAChC;AAED,
|
|
1
|
+
{"version":3,"file":"OfflineCreatePackOptions.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/offline/OfflineCreatePackOptions.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,6BAA6B;IAC5C,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,CAAC,OAAO,CAAC,QAAQ,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;IAC7C,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAChC;AAED,qBAAa,wBAAwB;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;gBAEL,OAAO,EAAE,6BAA6B;IAWlD,OAAO,CAAC,OAAO,EAAE,6BAA6B,GAAG,IAAI;IAgBrD,aAAa,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM;CAMtD"}
|