@maplibre/maplibre-react-native 11.0.0-beta.12 → 11.0.0-beta.14
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/android/src/main/java/org/maplibre/reactnative/components/annotations/markerview/MLRNMarkerView.kt +2 -29
- package/android/src/main/java/org/maplibre/reactnative/components/annotations/pointannotation/MLRNPointAnnotation.kt +4 -0
- package/android/src/main/java/org/maplibre/reactnative/components/layer/style/MLRNStyleFactory.java +1 -1
- package/android/src/main/java/org/maplibre/reactnative/components/mapview/MLRNMapView.kt +2 -0
- package/ios/components/annotations/point-annotation/MLRNPointAnnotation.h +1 -0
- package/ios/components/annotations/point-annotation/MLRNPointAnnotation.m +3 -0
- package/ios/components/annotations/point-annotation/MLRNPointAnnotationComponentView.mm +18 -0
- package/ios/components/layer/style/MLRNStyle.h +1 -1
- package/ios/components/layer/style/MLRNStyle.m +1 -1
- package/lib/commonjs/components/annotations/view-annotation/PointAnnotationNativeComponent.ts +1 -0
- package/lib/commonjs/components/annotations/view-annotation/ViewAnnotation.js.map +1 -1
- package/lib/commonjs/components/camera/Camera.js +4 -3
- package/lib/commonjs/components/camera/Camera.js.map +1 -1
- package/lib/commonjs/components/map/AndroidTextureMapViewNativeComponent.ts +1 -1
- package/lib/commonjs/components/map/Map.js +4 -3
- package/lib/commonjs/components/map/Map.js.map +1 -1
- package/lib/commonjs/components/sources/geojson-source/GeoJSONSource.js +4 -3
- package/lib/commonjs/components/sources/geojson-source/GeoJSONSource.js.map +1 -1
- package/lib/commonjs/components/sources/vector-source/VectorSource.js +4 -3
- package/lib/commonjs/components/sources/vector-source/VectorSource.js.map +1 -1
- package/lib/commonjs/utils/getStylePropertyType.js +1 -1
- package/lib/module/components/annotations/view-annotation/PointAnnotationNativeComponent.ts +1 -0
- package/lib/module/components/annotations/view-annotation/ViewAnnotation.js.map +1 -1
- package/lib/module/components/camera/Camera.js +5 -4
- package/lib/module/components/camera/Camera.js.map +1 -1
- package/lib/module/components/map/AndroidTextureMapViewNativeComponent.ts +1 -1
- package/lib/module/components/map/Map.js +5 -4
- package/lib/module/components/map/Map.js.map +1 -1
- package/lib/module/components/sources/geojson-source/GeoJSONSource.js +5 -4
- package/lib/module/components/sources/geojson-source/GeoJSONSource.js.map +1 -1
- package/lib/module/components/sources/vector-source/VectorSource.js +5 -4
- package/lib/module/components/sources/vector-source/VectorSource.js.map +1 -1
- package/lib/module/utils/getStylePropertyType.js +1 -1
- package/lib/typescript/commonjs/components/annotations/LayerAnnotation.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/annotations/callout/Callout.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/annotations/callout/CalloutNativeComponent.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/annotations/marker/Marker.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/annotations/marker/MarkerViewNativeComponent.d.ts.map +1 -0
- package/lib/typescript/{module/src → commonjs}/components/annotations/view-annotation/PointAnnotationNativeComponent.d.ts +1 -0
- package/lib/typescript/commonjs/components/annotations/view-annotation/PointAnnotationNativeComponent.d.ts.map +1 -0
- package/lib/typescript/commonjs/{src/components → components}/annotations/view-annotation/ViewAnnotation.d.ts +4 -0
- package/lib/typescript/commonjs/components/annotations/view-annotation/ViewAnnotation.d.ts.map +1 -0
- package/lib/typescript/commonjs/{src/components → components}/camera/Camera.d.ts +6 -1
- package/lib/typescript/commonjs/components/camera/Camera.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/camera/CameraNativeComponent.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/camera/NativeCameraModule.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/images/Images.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/images/ImagesNativeComponent.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/images/NativeImagesModule.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/layer/Layer.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/layer/LayerNativeComponent.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/map/AndroidTextureMapViewNativeComponent.d.ts.map +1 -0
- package/lib/typescript/commonjs/{src/components → components}/map/Map.d.ts +6 -1
- package/lib/typescript/commonjs/components/map/Map.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/map/MapViewNativeComponent.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/map/NativeMapViewModule.d.ts.map +1 -0
- package/lib/typescript/{module/src → commonjs}/components/sources/geojson-source/GeoJSONSource.d.ts +6 -2
- package/lib/typescript/commonjs/components/sources/geojson-source/GeoJSONSource.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/sources/geojson-source/GeoJSONSourceNativeComponent.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/sources/geojson-source/NativeGeoJSONSourceModule.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/sources/image-source/ImageSource.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/sources/image-source/ImageSourceNativeComponent.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/sources/raster-source/RasterSource.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/sources/raster-source/RasterSourceNativeComponent.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/sources/vector-source/NativeVectorSourceModule.d.ts.map +1 -0
- package/lib/typescript/commonjs/{src/components → components}/sources/vector-source/VectorSource.d.ts +6 -2
- package/lib/typescript/commonjs/components/sources/vector-source/VectorSource.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/sources/vector-source/VectorSourceNativeComponent.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/user-location/NativeUserLocation.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/user-location/UserLocation.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/user-location/UserLocationNativeComponent.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/user-location/UserLocationPuck.d.ts.map +1 -0
- package/lib/typescript/commonjs/components/user-location/UserLocationPuckHeading.d.ts.map +1 -0
- package/lib/typescript/commonjs/hooks/useCurrentPosition.d.ts.map +1 -0
- package/lib/typescript/commonjs/hooks/useFrozenId.d.ts.map +1 -0
- package/lib/typescript/commonjs/hooks/useNativeBridge.d.ts.map +1 -0
- package/lib/typescript/commonjs/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/modules/location/LocationManager.d.ts.map +1 -0
- package/lib/typescript/commonjs/modules/location/NativeLocationModule.d.ts.map +1 -0
- package/lib/typescript/commonjs/modules/log/LogManager.d.ts.map +1 -0
- package/lib/typescript/commonjs/modules/log/NativeLogModule.d.ts.map +1 -0
- package/lib/typescript/commonjs/modules/network/NativeNetworkModule.d.ts.map +1 -0
- package/lib/typescript/commonjs/modules/network/NetworkManager.d.ts.map +1 -0
- package/lib/typescript/commonjs/modules/offline/NativeOfflineModule.d.ts.map +1 -0
- package/lib/typescript/commonjs/modules/offline/OfflineManager.d.ts.map +1 -0
- package/lib/typescript/commonjs/modules/offline/OfflinePack.d.ts.map +1 -0
- package/lib/typescript/commonjs/modules/static-map/NativeStaticMapModule.d.ts.map +1 -0
- package/lib/typescript/commonjs/modules/static-map/StaticMapManager.d.ts.map +1 -0
- package/lib/typescript/commonjs/plugin/MapLibrePluginProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/plugin/android.d.ts.map +1 -0
- package/lib/typescript/commonjs/plugin/ios.d.ts.map +1 -0
- package/lib/typescript/commonjs/plugin/withMapLibre.d.ts.map +1 -0
- package/lib/typescript/commonjs/types/Anchor.d.ts.map +1 -0
- package/lib/typescript/commonjs/types/BaseProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/types/LngLat.d.ts.map +1 -0
- package/lib/typescript/commonjs/types/LngLatBounds.d.ts.map +1 -0
- package/lib/typescript/commonjs/types/MapLibreRNStyles.d.ts.map +1 -0
- package/lib/typescript/commonjs/types/PixelPoint.d.ts.map +1 -0
- package/lib/typescript/commonjs/types/PixelPointBounds.d.ts.map +1 -0
- package/lib/typescript/commonjs/types/PressEvent.d.ts.map +1 -0
- package/lib/typescript/commonjs/types/PressEventWithFeatures.d.ts.map +1 -0
- package/lib/typescript/commonjs/types/ViewPadding.d.ts.map +1 -0
- package/lib/typescript/commonjs/types/codegen/UnsafeMixed.d.ts.map +1 -0
- package/lib/typescript/commonjs/types/sources/PressableSourceProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/BridgeValue.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/StyleValue.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/animated/AbstractAnimatedCoordinates.d.ts.map +1 -0
- package/lib/typescript/{module/src → commonjs}/utils/animated/Animated.d.ts +1 -1
- package/lib/typescript/commonjs/utils/animated/Animated.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/animated/AnimatedCoordinatesArray.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/animated/AnimatedExtractCoordinateFromArray.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/animated/AnimatedGeoJSON.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/animated/AnimatedPoint.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/animated/AnimatedRouteCoordinatesArray.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/convertStyleSpec.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/findNodeHandle.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/getNativeFilter.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/getStylePropertyType.d.ts.map +1 -0
- package/lib/typescript/commonjs/utils/index.d.ts.map +1 -0
- package/lib/typescript/module/components/annotations/LayerAnnotation.d.ts.map +1 -0
- package/lib/typescript/module/components/annotations/callout/Callout.d.ts.map +1 -0
- package/lib/typescript/module/components/annotations/callout/CalloutNativeComponent.d.ts.map +1 -0
- package/lib/typescript/module/components/annotations/marker/Marker.d.ts.map +1 -0
- package/lib/typescript/module/components/annotations/marker/MarkerViewNativeComponent.d.ts.map +1 -0
- package/lib/typescript/{commonjs/src → module}/components/annotations/view-annotation/PointAnnotationNativeComponent.d.ts +1 -0
- package/lib/typescript/module/components/annotations/view-annotation/PointAnnotationNativeComponent.d.ts.map +1 -0
- package/lib/typescript/module/{src/components → components}/annotations/view-annotation/ViewAnnotation.d.ts +4 -0
- package/lib/typescript/module/components/annotations/view-annotation/ViewAnnotation.d.ts.map +1 -0
- package/lib/typescript/module/{src/components → components}/camera/Camera.d.ts +6 -1
- package/lib/typescript/module/components/camera/Camera.d.ts.map +1 -0
- package/lib/typescript/module/components/camera/CameraNativeComponent.d.ts.map +1 -0
- package/lib/typescript/module/components/camera/NativeCameraModule.d.ts.map +1 -0
- package/lib/typescript/module/components/images/Images.d.ts.map +1 -0
- package/lib/typescript/module/components/images/ImagesNativeComponent.d.ts.map +1 -0
- package/lib/typescript/module/components/images/NativeImagesModule.d.ts.map +1 -0
- package/lib/typescript/module/components/layer/Layer.d.ts.map +1 -0
- package/lib/typescript/module/components/layer/LayerNativeComponent.d.ts.map +1 -0
- package/lib/typescript/module/components/map/AndroidTextureMapViewNativeComponent.d.ts.map +1 -0
- package/lib/typescript/module/{src/components → components}/map/Map.d.ts +6 -1
- package/lib/typescript/module/components/map/Map.d.ts.map +1 -0
- package/lib/typescript/module/components/map/MapViewNativeComponent.d.ts.map +1 -0
- package/lib/typescript/module/components/map/NativeMapViewModule.d.ts.map +1 -0
- package/lib/typescript/{commonjs/src → module}/components/sources/geojson-source/GeoJSONSource.d.ts +6 -2
- package/lib/typescript/module/components/sources/geojson-source/GeoJSONSource.d.ts.map +1 -0
- package/lib/typescript/module/components/sources/geojson-source/GeoJSONSourceNativeComponent.d.ts.map +1 -0
- package/lib/typescript/module/components/sources/geojson-source/NativeGeoJSONSourceModule.d.ts.map +1 -0
- package/lib/typescript/module/components/sources/image-source/ImageSource.d.ts.map +1 -0
- package/lib/typescript/module/components/sources/image-source/ImageSourceNativeComponent.d.ts.map +1 -0
- package/lib/typescript/module/components/sources/raster-source/RasterSource.d.ts.map +1 -0
- package/lib/typescript/module/components/sources/raster-source/RasterSourceNativeComponent.d.ts.map +1 -0
- package/lib/typescript/module/components/sources/vector-source/NativeVectorSourceModule.d.ts.map +1 -0
- package/lib/typescript/module/{src/components → components}/sources/vector-source/VectorSource.d.ts +6 -2
- package/lib/typescript/module/components/sources/vector-source/VectorSource.d.ts.map +1 -0
- package/lib/typescript/module/components/sources/vector-source/VectorSourceNativeComponent.d.ts.map +1 -0
- package/lib/typescript/module/components/user-location/NativeUserLocation.d.ts.map +1 -0
- package/lib/typescript/module/components/user-location/UserLocation.d.ts.map +1 -0
- package/lib/typescript/module/components/user-location/UserLocationNativeComponent.d.ts.map +1 -0
- package/lib/typescript/module/components/user-location/UserLocationPuck.d.ts.map +1 -0
- package/lib/typescript/module/components/user-location/UserLocationPuckHeading.d.ts.map +1 -0
- package/lib/typescript/module/hooks/useCurrentPosition.d.ts.map +1 -0
- package/lib/typescript/module/hooks/useFrozenId.d.ts.map +1 -0
- package/lib/typescript/module/hooks/useNativeBridge.d.ts.map +1 -0
- package/lib/typescript/module/index.d.ts.map +1 -0
- package/lib/typescript/module/modules/location/LocationManager.d.ts.map +1 -0
- package/lib/typescript/module/modules/location/NativeLocationModule.d.ts.map +1 -0
- package/lib/typescript/module/modules/log/LogManager.d.ts.map +1 -0
- package/lib/typescript/module/modules/log/NativeLogModule.d.ts.map +1 -0
- package/lib/typescript/module/modules/network/NativeNetworkModule.d.ts.map +1 -0
- package/lib/typescript/module/modules/network/NetworkManager.d.ts.map +1 -0
- package/lib/typescript/module/modules/offline/NativeOfflineModule.d.ts.map +1 -0
- package/lib/typescript/module/modules/offline/OfflineManager.d.ts.map +1 -0
- package/lib/typescript/module/modules/offline/OfflinePack.d.ts.map +1 -0
- package/lib/typescript/module/modules/static-map/NativeStaticMapModule.d.ts.map +1 -0
- package/lib/typescript/module/modules/static-map/StaticMapManager.d.ts.map +1 -0
- package/lib/typescript/module/plugin/MapLibrePluginProps.d.ts.map +1 -0
- package/lib/typescript/module/plugin/android.d.ts.map +1 -0
- package/lib/typescript/module/plugin/ios.d.ts.map +1 -0
- package/lib/typescript/module/plugin/withMapLibre.d.ts.map +1 -0
- package/lib/typescript/module/types/Anchor.d.ts.map +1 -0
- package/lib/typescript/module/types/BaseProps.d.ts.map +1 -0
- package/lib/typescript/module/types/LngLat.d.ts.map +1 -0
- package/lib/typescript/module/types/LngLatBounds.d.ts.map +1 -0
- package/lib/typescript/module/types/MapLibreRNStyles.d.ts.map +1 -0
- package/lib/typescript/module/types/PixelPoint.d.ts.map +1 -0
- package/lib/typescript/module/types/PixelPointBounds.d.ts.map +1 -0
- package/lib/typescript/module/types/PressEvent.d.ts.map +1 -0
- package/lib/typescript/module/types/PressEventWithFeatures.d.ts.map +1 -0
- package/lib/typescript/module/types/ViewPadding.d.ts.map +1 -0
- package/lib/typescript/module/types/codegen/UnsafeMixed.d.ts.map +1 -0
- package/lib/typescript/module/types/sources/PressableSourceProps.d.ts.map +1 -0
- package/lib/typescript/module/utils/BridgeValue.d.ts.map +1 -0
- package/lib/typescript/module/utils/StyleValue.d.ts.map +1 -0
- package/lib/typescript/module/utils/animated/AbstractAnimatedCoordinates.d.ts.map +1 -0
- package/lib/typescript/{commonjs/src → module}/utils/animated/Animated.d.ts +1 -1
- package/lib/typescript/module/utils/animated/Animated.d.ts.map +1 -0
- package/lib/typescript/module/utils/animated/AnimatedCoordinatesArray.d.ts.map +1 -0
- package/lib/typescript/module/utils/animated/AnimatedExtractCoordinateFromArray.d.ts.map +1 -0
- package/lib/typescript/module/utils/animated/AnimatedGeoJSON.d.ts.map +1 -0
- package/lib/typescript/module/utils/animated/AnimatedPoint.d.ts.map +1 -0
- package/lib/typescript/module/utils/animated/AnimatedRouteCoordinatesArray.d.ts.map +1 -0
- package/lib/typescript/module/utils/convertStyleSpec.d.ts.map +1 -0
- package/lib/typescript/module/utils/findNodeHandle.d.ts.map +1 -0
- package/lib/typescript/module/utils/getNativeFilter.d.ts.map +1 -0
- package/lib/typescript/module/utils/getStylePropertyType.d.ts.map +1 -0
- package/lib/typescript/module/utils/index.d.ts.map +1 -0
- package/package.json +11 -24
- package/src/components/annotations/view-annotation/PointAnnotationNativeComponent.ts +1 -0
- package/src/components/annotations/view-annotation/ViewAnnotation.tsx +5 -0
- package/src/components/camera/Camera.tsx +69 -68
- package/src/components/map/AndroidTextureMapViewNativeComponent.ts +1 -1
- package/src/components/map/Map.tsx +147 -154
- package/src/components/sources/geojson-source/GeoJSONSource.tsx +64 -61
- package/src/components/sources/vector-source/VectorSource.tsx +39 -36
- package/src/types/MapLibreRNStyles.ts +1 -1
- package/src/utils/getStylePropertyType.ts +1 -1
- package/lib/typescript/commonjs/src/components/annotations/LayerAnnotation.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/annotations/callout/Callout.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/annotations/callout/CalloutNativeComponent.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/annotations/marker/Marker.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/annotations/marker/MarkerViewNativeComponent.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/annotations/view-annotation/PointAnnotationNativeComponent.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/annotations/view-annotation/ViewAnnotation.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/camera/Camera.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/camera/CameraNativeComponent.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/camera/NativeCameraModule.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/images/Images.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/images/ImagesNativeComponent.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/images/NativeImagesModule.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/layer/Layer.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/layer/LayerNativeComponent.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/map/AndroidTextureMapViewNativeComponent.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/map/Map.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/map/MapViewNativeComponent.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/map/NativeMapViewModule.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/sources/geojson-source/GeoJSONSource.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/sources/geojson-source/GeoJSONSourceNativeComponent.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/sources/geojson-source/NativeGeoJSONSourceModule.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/sources/image-source/ImageSource.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/sources/image-source/ImageSourceNativeComponent.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/sources/raster-source/RasterSource.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/sources/raster-source/RasterSourceNativeComponent.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/sources/vector-source/NativeVectorSourceModule.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/sources/vector-source/VectorSource.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/sources/vector-source/VectorSourceNativeComponent.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/user-location/NativeUserLocation.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/user-location/UserLocation.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/user-location/UserLocationNativeComponent.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/user-location/UserLocationPuck.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/components/user-location/UserLocationPuckHeading.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/hooks/useCurrentPosition.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/hooks/useFrozenId.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/hooks/useNativeBridge.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/modules/location/LocationManager.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/modules/location/NativeLocationModule.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/modules/log/LogManager.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/modules/log/NativeLogModule.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/modules/network/NativeNetworkModule.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/modules/network/NetworkManager.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/modules/offline/NativeOfflineModule.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/modules/offline/OfflineManager.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/modules/offline/OfflinePack.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/modules/static-map/NativeStaticMapModule.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/modules/static-map/StaticMapManager.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/plugin/MapLibrePluginProps.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/plugin/android.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/plugin/ios.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/plugin/withMapLibre.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/types/Anchor.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/types/BaseProps.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/types/LngLat.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/types/LngLatBounds.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/types/MapLibreRNStyles.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/types/PixelPoint.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/types/PixelPointBounds.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/types/PressEvent.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/types/PressEventWithFeatures.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/types/ViewPadding.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/types/codegen/UnsafeMixed.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/types/sources/PressableSourceProps.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/utils/BridgeValue.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/utils/StyleValue.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/utils/animated/AbstractAnimatedCoordinates.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/utils/animated/Animated.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/utils/animated/AnimatedCoordinatesArray.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/utils/animated/AnimatedExtractCoordinateFromArray.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/utils/animated/AnimatedGeoJSON.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/utils/animated/AnimatedPoint.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/utils/animated/AnimatedRouteCoordinatesArray.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/utils/convertStyleSpec.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/utils/findNodeHandle.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/utils/getNativeFilter.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/utils/getStylePropertyType.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/utils/index.d.ts.map +0 -1
- package/lib/typescript/module/src/components/annotations/LayerAnnotation.d.ts.map +0 -1
- package/lib/typescript/module/src/components/annotations/callout/Callout.d.ts.map +0 -1
- package/lib/typescript/module/src/components/annotations/callout/CalloutNativeComponent.d.ts.map +0 -1
- package/lib/typescript/module/src/components/annotations/marker/Marker.d.ts.map +0 -1
- package/lib/typescript/module/src/components/annotations/marker/MarkerViewNativeComponent.d.ts.map +0 -1
- package/lib/typescript/module/src/components/annotations/view-annotation/PointAnnotationNativeComponent.d.ts.map +0 -1
- package/lib/typescript/module/src/components/annotations/view-annotation/ViewAnnotation.d.ts.map +0 -1
- package/lib/typescript/module/src/components/camera/Camera.d.ts.map +0 -1
- package/lib/typescript/module/src/components/camera/CameraNativeComponent.d.ts.map +0 -1
- package/lib/typescript/module/src/components/camera/NativeCameraModule.d.ts.map +0 -1
- package/lib/typescript/module/src/components/images/Images.d.ts.map +0 -1
- package/lib/typescript/module/src/components/images/ImagesNativeComponent.d.ts.map +0 -1
- package/lib/typescript/module/src/components/images/NativeImagesModule.d.ts.map +0 -1
- package/lib/typescript/module/src/components/layer/Layer.d.ts.map +0 -1
- package/lib/typescript/module/src/components/layer/LayerNativeComponent.d.ts.map +0 -1
- package/lib/typescript/module/src/components/map/AndroidTextureMapViewNativeComponent.d.ts.map +0 -1
- package/lib/typescript/module/src/components/map/Map.d.ts.map +0 -1
- package/lib/typescript/module/src/components/map/MapViewNativeComponent.d.ts.map +0 -1
- package/lib/typescript/module/src/components/map/NativeMapViewModule.d.ts.map +0 -1
- package/lib/typescript/module/src/components/sources/geojson-source/GeoJSONSource.d.ts.map +0 -1
- package/lib/typescript/module/src/components/sources/geojson-source/GeoJSONSourceNativeComponent.d.ts.map +0 -1
- package/lib/typescript/module/src/components/sources/geojson-source/NativeGeoJSONSourceModule.d.ts.map +0 -1
- package/lib/typescript/module/src/components/sources/image-source/ImageSource.d.ts.map +0 -1
- package/lib/typescript/module/src/components/sources/image-source/ImageSourceNativeComponent.d.ts.map +0 -1
- package/lib/typescript/module/src/components/sources/raster-source/RasterSource.d.ts.map +0 -1
- package/lib/typescript/module/src/components/sources/raster-source/RasterSourceNativeComponent.d.ts.map +0 -1
- package/lib/typescript/module/src/components/sources/vector-source/NativeVectorSourceModule.d.ts.map +0 -1
- package/lib/typescript/module/src/components/sources/vector-source/VectorSource.d.ts.map +0 -1
- package/lib/typescript/module/src/components/sources/vector-source/VectorSourceNativeComponent.d.ts.map +0 -1
- package/lib/typescript/module/src/components/user-location/NativeUserLocation.d.ts.map +0 -1
- package/lib/typescript/module/src/components/user-location/UserLocation.d.ts.map +0 -1
- package/lib/typescript/module/src/components/user-location/UserLocationNativeComponent.d.ts.map +0 -1
- package/lib/typescript/module/src/components/user-location/UserLocationPuck.d.ts.map +0 -1
- package/lib/typescript/module/src/components/user-location/UserLocationPuckHeading.d.ts.map +0 -1
- package/lib/typescript/module/src/hooks/useCurrentPosition.d.ts.map +0 -1
- package/lib/typescript/module/src/hooks/useFrozenId.d.ts.map +0 -1
- package/lib/typescript/module/src/hooks/useNativeBridge.d.ts.map +0 -1
- package/lib/typescript/module/src/index.d.ts.map +0 -1
- package/lib/typescript/module/src/modules/location/LocationManager.d.ts.map +0 -1
- package/lib/typescript/module/src/modules/location/NativeLocationModule.d.ts.map +0 -1
- package/lib/typescript/module/src/modules/log/LogManager.d.ts.map +0 -1
- package/lib/typescript/module/src/modules/log/NativeLogModule.d.ts.map +0 -1
- package/lib/typescript/module/src/modules/network/NativeNetworkModule.d.ts.map +0 -1
- package/lib/typescript/module/src/modules/network/NetworkManager.d.ts.map +0 -1
- package/lib/typescript/module/src/modules/offline/NativeOfflineModule.d.ts.map +0 -1
- package/lib/typescript/module/src/modules/offline/OfflineManager.d.ts.map +0 -1
- package/lib/typescript/module/src/modules/offline/OfflinePack.d.ts.map +0 -1
- package/lib/typescript/module/src/modules/static-map/NativeStaticMapModule.d.ts.map +0 -1
- package/lib/typescript/module/src/modules/static-map/StaticMapManager.d.ts.map +0 -1
- package/lib/typescript/module/src/plugin/MapLibrePluginProps.d.ts.map +0 -1
- package/lib/typescript/module/src/plugin/android.d.ts.map +0 -1
- package/lib/typescript/module/src/plugin/ios.d.ts.map +0 -1
- package/lib/typescript/module/src/plugin/withMapLibre.d.ts.map +0 -1
- package/lib/typescript/module/src/types/Anchor.d.ts.map +0 -1
- package/lib/typescript/module/src/types/BaseProps.d.ts.map +0 -1
- package/lib/typescript/module/src/types/LngLat.d.ts.map +0 -1
- package/lib/typescript/module/src/types/LngLatBounds.d.ts.map +0 -1
- package/lib/typescript/module/src/types/MapLibreRNStyles.d.ts.map +0 -1
- package/lib/typescript/module/src/types/PixelPoint.d.ts.map +0 -1
- package/lib/typescript/module/src/types/PixelPointBounds.d.ts.map +0 -1
- package/lib/typescript/module/src/types/PressEvent.d.ts.map +0 -1
- package/lib/typescript/module/src/types/PressEventWithFeatures.d.ts.map +0 -1
- package/lib/typescript/module/src/types/ViewPadding.d.ts.map +0 -1
- package/lib/typescript/module/src/types/codegen/UnsafeMixed.d.ts.map +0 -1
- package/lib/typescript/module/src/types/sources/PressableSourceProps.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/BridgeValue.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/StyleValue.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/animated/AbstractAnimatedCoordinates.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/animated/Animated.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/animated/AnimatedCoordinatesArray.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/animated/AnimatedExtractCoordinateFromArray.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/animated/AnimatedGeoJSON.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/animated/AnimatedPoint.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/animated/AnimatedRouteCoordinatesArray.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/convertStyleSpec.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/findNodeHandle.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/getNativeFilter.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/getStylePropertyType.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/index.d.ts.map +0 -1
- /package/lib/typescript/commonjs/{src/components → components}/annotations/LayerAnnotation.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/components → components}/annotations/callout/Callout.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/components → components}/annotations/callout/CalloutNativeComponent.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/components → components}/annotations/marker/Marker.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/components → components}/annotations/marker/MarkerViewNativeComponent.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/components → components}/camera/CameraNativeComponent.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/components → components}/camera/NativeCameraModule.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/components → components}/images/Images.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/components → components}/images/ImagesNativeComponent.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/components → components}/images/NativeImagesModule.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/components → components}/layer/Layer.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/components → components}/layer/LayerNativeComponent.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/components → components}/map/AndroidTextureMapViewNativeComponent.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/components → components}/map/MapViewNativeComponent.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/components → components}/map/NativeMapViewModule.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/components → components}/sources/geojson-source/GeoJSONSourceNativeComponent.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/components → components}/sources/geojson-source/NativeGeoJSONSourceModule.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/components → components}/sources/image-source/ImageSource.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/components → components}/sources/image-source/ImageSourceNativeComponent.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/components → components}/sources/raster-source/RasterSource.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/components → components}/sources/raster-source/RasterSourceNativeComponent.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/components → components}/sources/vector-source/NativeVectorSourceModule.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/components → components}/sources/vector-source/VectorSourceNativeComponent.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/components → components}/user-location/NativeUserLocation.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/components → components}/user-location/UserLocation.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/components → components}/user-location/UserLocationNativeComponent.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/components → components}/user-location/UserLocationPuck.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/components → components}/user-location/UserLocationPuckHeading.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/hooks → hooks}/useCurrentPosition.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/hooks → hooks}/useFrozenId.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/hooks → hooks}/useNativeBridge.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/index.d.ts → index.d.ts} +0 -0
- /package/lib/typescript/commonjs/{src/modules → modules}/location/LocationManager.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/modules → modules}/location/NativeLocationModule.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/modules → modules}/log/LogManager.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/modules → modules}/log/NativeLogModule.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/modules → modules}/network/NativeNetworkModule.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/modules → modules}/network/NetworkManager.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/modules → modules}/offline/NativeOfflineModule.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/modules → modules}/offline/OfflineManager.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/modules → modules}/offline/OfflinePack.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/modules → modules}/static-map/NativeStaticMapModule.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/modules → modules}/static-map/StaticMapManager.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/plugin → plugin}/MapLibrePluginProps.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/plugin → plugin}/android.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/plugin → plugin}/ios.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/plugin → plugin}/withMapLibre.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/types → types}/Anchor.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/types → types}/BaseProps.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/types → types}/LngLat.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/types → types}/LngLatBounds.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/types → types}/MapLibreRNStyles.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/types → types}/PixelPoint.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/types → types}/PixelPointBounds.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/types → types}/PressEvent.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/types → types}/PressEventWithFeatures.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/types → types}/ViewPadding.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/types → types}/codegen/UnsafeMixed.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/types → types}/sources/PressableSourceProps.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/utils → utils}/BridgeValue.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/utils → utils}/StyleValue.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/utils → utils}/animated/AbstractAnimatedCoordinates.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/utils → utils}/animated/AnimatedCoordinatesArray.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/utils → utils}/animated/AnimatedExtractCoordinateFromArray.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/utils → utils}/animated/AnimatedGeoJSON.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/utils → utils}/animated/AnimatedPoint.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/utils → utils}/animated/AnimatedRouteCoordinatesArray.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/utils → utils}/convertStyleSpec.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/utils → utils}/findNodeHandle.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/utils → utils}/getNativeFilter.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/utils → utils}/getStylePropertyType.d.ts +0 -0
- /package/lib/typescript/commonjs/{src/utils → utils}/index.d.ts +0 -0
- /package/lib/typescript/module/{src/components → components}/annotations/LayerAnnotation.d.ts +0 -0
- /package/lib/typescript/module/{src/components → components}/annotations/callout/Callout.d.ts +0 -0
- /package/lib/typescript/module/{src/components → components}/annotations/callout/CalloutNativeComponent.d.ts +0 -0
- /package/lib/typescript/module/{src/components → components}/annotations/marker/Marker.d.ts +0 -0
- /package/lib/typescript/module/{src/components → components}/annotations/marker/MarkerViewNativeComponent.d.ts +0 -0
- /package/lib/typescript/module/{src/components → components}/camera/CameraNativeComponent.d.ts +0 -0
- /package/lib/typescript/module/{src/components → components}/camera/NativeCameraModule.d.ts +0 -0
- /package/lib/typescript/module/{src/components → components}/images/Images.d.ts +0 -0
- /package/lib/typescript/module/{src/components → components}/images/ImagesNativeComponent.d.ts +0 -0
- /package/lib/typescript/module/{src/components → components}/images/NativeImagesModule.d.ts +0 -0
- /package/lib/typescript/module/{src/components → components}/layer/Layer.d.ts +0 -0
- /package/lib/typescript/module/{src/components → components}/layer/LayerNativeComponent.d.ts +0 -0
- /package/lib/typescript/module/{src/components → components}/map/AndroidTextureMapViewNativeComponent.d.ts +0 -0
- /package/lib/typescript/module/{src/components → components}/map/MapViewNativeComponent.d.ts +0 -0
- /package/lib/typescript/module/{src/components → components}/map/NativeMapViewModule.d.ts +0 -0
- /package/lib/typescript/module/{src/components → components}/sources/geojson-source/GeoJSONSourceNativeComponent.d.ts +0 -0
- /package/lib/typescript/module/{src/components → components}/sources/geojson-source/NativeGeoJSONSourceModule.d.ts +0 -0
- /package/lib/typescript/module/{src/components → components}/sources/image-source/ImageSource.d.ts +0 -0
- /package/lib/typescript/module/{src/components → components}/sources/image-source/ImageSourceNativeComponent.d.ts +0 -0
- /package/lib/typescript/module/{src/components → components}/sources/raster-source/RasterSource.d.ts +0 -0
- /package/lib/typescript/module/{src/components → components}/sources/raster-source/RasterSourceNativeComponent.d.ts +0 -0
- /package/lib/typescript/module/{src/components → components}/sources/vector-source/NativeVectorSourceModule.d.ts +0 -0
- /package/lib/typescript/module/{src/components → components}/sources/vector-source/VectorSourceNativeComponent.d.ts +0 -0
- /package/lib/typescript/module/{src/components → components}/user-location/NativeUserLocation.d.ts +0 -0
- /package/lib/typescript/module/{src/components → components}/user-location/UserLocation.d.ts +0 -0
- /package/lib/typescript/module/{src/components → components}/user-location/UserLocationNativeComponent.d.ts +0 -0
- /package/lib/typescript/module/{src/components → components}/user-location/UserLocationPuck.d.ts +0 -0
- /package/lib/typescript/module/{src/components → components}/user-location/UserLocationPuckHeading.d.ts +0 -0
- /package/lib/typescript/module/{src/hooks → hooks}/useCurrentPosition.d.ts +0 -0
- /package/lib/typescript/module/{src/hooks → hooks}/useFrozenId.d.ts +0 -0
- /package/lib/typescript/module/{src/hooks → hooks}/useNativeBridge.d.ts +0 -0
- /package/lib/typescript/module/{src/index.d.ts → index.d.ts} +0 -0
- /package/lib/typescript/module/{src/modules → modules}/location/LocationManager.d.ts +0 -0
- /package/lib/typescript/module/{src/modules → modules}/location/NativeLocationModule.d.ts +0 -0
- /package/lib/typescript/module/{src/modules → modules}/log/LogManager.d.ts +0 -0
- /package/lib/typescript/module/{src/modules → modules}/log/NativeLogModule.d.ts +0 -0
- /package/lib/typescript/module/{src/modules → modules}/network/NativeNetworkModule.d.ts +0 -0
- /package/lib/typescript/module/{src/modules → modules}/network/NetworkManager.d.ts +0 -0
- /package/lib/typescript/module/{src/modules → modules}/offline/NativeOfflineModule.d.ts +0 -0
- /package/lib/typescript/module/{src/modules → modules}/offline/OfflineManager.d.ts +0 -0
- /package/lib/typescript/module/{src/modules → modules}/offline/OfflinePack.d.ts +0 -0
- /package/lib/typescript/module/{src/modules → modules}/static-map/NativeStaticMapModule.d.ts +0 -0
- /package/lib/typescript/module/{src/modules → modules}/static-map/StaticMapManager.d.ts +0 -0
- /package/lib/typescript/module/{src/plugin → plugin}/MapLibrePluginProps.d.ts +0 -0
- /package/lib/typescript/module/{src/plugin → plugin}/android.d.ts +0 -0
- /package/lib/typescript/module/{src/plugin → plugin}/ios.d.ts +0 -0
- /package/lib/typescript/module/{src/plugin → plugin}/withMapLibre.d.ts +0 -0
- /package/lib/typescript/module/{src/types → types}/Anchor.d.ts +0 -0
- /package/lib/typescript/module/{src/types → types}/BaseProps.d.ts +0 -0
- /package/lib/typescript/module/{src/types → types}/LngLat.d.ts +0 -0
- /package/lib/typescript/module/{src/types → types}/LngLatBounds.d.ts +0 -0
- /package/lib/typescript/module/{src/types → types}/MapLibreRNStyles.d.ts +0 -0
- /package/lib/typescript/module/{src/types → types}/PixelPoint.d.ts +0 -0
- /package/lib/typescript/module/{src/types → types}/PixelPointBounds.d.ts +0 -0
- /package/lib/typescript/module/{src/types → types}/PressEvent.d.ts +0 -0
- /package/lib/typescript/module/{src/types → types}/PressEventWithFeatures.d.ts +0 -0
- /package/lib/typescript/module/{src/types → types}/ViewPadding.d.ts +0 -0
- /package/lib/typescript/module/{src/types → types}/codegen/UnsafeMixed.d.ts +0 -0
- /package/lib/typescript/module/{src/types → types}/sources/PressableSourceProps.d.ts +0 -0
- /package/lib/typescript/module/{src/utils → utils}/BridgeValue.d.ts +0 -0
- /package/lib/typescript/module/{src/utils → utils}/StyleValue.d.ts +0 -0
- /package/lib/typescript/module/{src/utils → utils}/animated/AbstractAnimatedCoordinates.d.ts +0 -0
- /package/lib/typescript/module/{src/utils → utils}/animated/AnimatedCoordinatesArray.d.ts +0 -0
- /package/lib/typescript/module/{src/utils → utils}/animated/AnimatedExtractCoordinateFromArray.d.ts +0 -0
- /package/lib/typescript/module/{src/utils → utils}/animated/AnimatedGeoJSON.d.ts +0 -0
- /package/lib/typescript/module/{src/utils → utils}/animated/AnimatedPoint.d.ts +0 -0
- /package/lib/typescript/module/{src/utils → utils}/animated/AnimatedRouteCoordinatesArray.d.ts +0 -0
- /package/lib/typescript/module/{src/utils → utils}/convertStyleSpec.d.ts +0 -0
- /package/lib/typescript/module/{src/utils → utils}/findNodeHandle.d.ts +0 -0
- /package/lib/typescript/module/{src/utils → utils}/getNativeFilter.d.ts +0 -0
- /package/lib/typescript/module/{src/utils → utils}/getStylePropertyType.d.ts +0 -0
- /package/lib/typescript/module/{src/utils → utils}/index.d.ts +0 -0
|
@@ -35,31 +35,6 @@ class MLRNMarkerView(
|
|
|
35
35
|
clipToOutline = false
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
private fun disableClippingRecursively(view: View) {
|
|
39
|
-
if (view is ViewGroup) {
|
|
40
|
-
view.disableClipping()
|
|
41
|
-
view.setOnHierarchyChangeListener(
|
|
42
|
-
object : ViewGroup.OnHierarchyChangeListener {
|
|
43
|
-
override fun onChildViewAdded(
|
|
44
|
-
parent: View?,
|
|
45
|
-
child: View?,
|
|
46
|
-
) {
|
|
47
|
-
child?.let { disableClippingRecursively(it) }
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
override fun onChildViewRemoved(
|
|
51
|
-
parent: View?,
|
|
52
|
-
child: View?,
|
|
53
|
-
) {
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
)
|
|
57
|
-
for (i in 0 until view.childCount) {
|
|
58
|
-
disableClippingRecursively(view.getChildAt(i))
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
|
|
63
38
|
override fun addView(
|
|
64
39
|
childView: View,
|
|
65
40
|
childPosition: Int,
|
|
@@ -68,7 +43,6 @@ class MLRNMarkerView(
|
|
|
68
43
|
|
|
69
44
|
mChildView = childView
|
|
70
45
|
childView.addOnLayoutChangeListener(this)
|
|
71
|
-
disableClippingRecursively(childView)
|
|
72
46
|
|
|
73
47
|
val offscreenContainer = mMapView?.offscreenAnnotationViewContainer()
|
|
74
48
|
offscreenContainer?.disableClipping()
|
|
@@ -89,7 +63,7 @@ class MLRNMarkerView(
|
|
|
89
63
|
|
|
90
64
|
private fun removeChildView() {
|
|
91
65
|
mChildView?.removeOnLayoutChangeListener(this)
|
|
92
|
-
(mChildView?.parent as?
|
|
66
|
+
(mChildView?.parent as? ViewGroup)?.removeView(mChildView)
|
|
93
67
|
mChildView = null
|
|
94
68
|
}
|
|
95
69
|
|
|
@@ -156,7 +130,6 @@ class MLRNMarkerView(
|
|
|
156
130
|
|
|
157
131
|
if (latLng != null && mChildView != null && mMarkerViewManager != null) {
|
|
158
132
|
mMapView?.offscreenAnnotationViewContainer()?.removeView(mChildView)
|
|
159
|
-
disableClippingRecursively(mChildView!!)
|
|
160
133
|
|
|
161
134
|
mWrapperView =
|
|
162
135
|
MLRNMarkerViewContent(context).apply {
|
|
@@ -167,7 +140,7 @@ class MLRNMarkerView(
|
|
|
167
140
|
)
|
|
168
141
|
addView(mChildView)
|
|
169
142
|
}
|
|
170
|
-
mWrapperView!!.setLayerType(
|
|
143
|
+
mWrapperView!!.setLayerType(LAYER_TYPE_HARDWARE, null)
|
|
171
144
|
|
|
172
145
|
mLastZIndex = ViewGroupManager.getViewZIndex(this@MLRNMarkerView)
|
|
173
146
|
if (mLastZIndex != null) {
|
|
@@ -598,6 +598,8 @@ open class MLRNMapView(
|
|
|
598
598
|
val nextSelectedPointAnnotation =
|
|
599
599
|
getPointAnnotationByAnnotationId(nextSymbol.id) ?: return
|
|
600
600
|
|
|
601
|
+
nextSelectedPointAnnotation.onPress()
|
|
602
|
+
|
|
601
603
|
if (!nextSelectedPointAnnotation.selected) {
|
|
602
604
|
selectAnnotation(nextSelectedPointAnnotation)
|
|
603
605
|
}
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
@property (nonatomic, copy) NSDictionary<NSString *, NSNumber *> *anchor;
|
|
21
21
|
@property (nonatomic, copy) NSDictionary<NSString *, NSNumber *> *offset;
|
|
22
22
|
|
|
23
|
+
@property (nonatomic, copy) void (^reactOnPress)(NSDictionary *event);
|
|
23
24
|
@property (nonatomic, copy) void (^reactOnSelected)(NSDictionary *event);
|
|
24
25
|
@property (nonatomic, copy) void (^reactOnDeselected)(NSDictionary *event);
|
|
25
26
|
@property (nonatomic, copy) void (^reactOnDragStart)(NSDictionary *event);
|
|
@@ -164,6 +164,9 @@ const float CENTER_Y_OFFSET_BASE = -0.5f;
|
|
|
164
164
|
if ([_map isKindOfClass:[MLRNMapView class]]) {
|
|
165
165
|
((MLRNMapView *)_map).annotationSelected = YES;
|
|
166
166
|
}
|
|
167
|
+
if (self.reactOnPress != nil) {
|
|
168
|
+
self.reactOnPress([self makeEventPayload]);
|
|
169
|
+
}
|
|
167
170
|
[_map selectAnnotation:self animated:NO completionHandler:nil];
|
|
168
171
|
}
|
|
169
172
|
|
|
@@ -52,6 +52,24 @@ using namespace facebook::react;
|
|
|
52
52
|
// Capture weak self reference to prevent retain cycle
|
|
53
53
|
__weak __typeof__(self) weakSelf = self;
|
|
54
54
|
|
|
55
|
+
[_view setReactOnPress:^(NSDictionary *event) {
|
|
56
|
+
__typeof__(self) strongSelf = weakSelf;
|
|
57
|
+
|
|
58
|
+
if (strongSelf != nullptr && strongSelf->_eventEmitter != nullptr) {
|
|
59
|
+
NSString *idValue = event[@"id"];
|
|
60
|
+
facebook::react::MLRNPointAnnotationEventEmitter::OnPress eventStruct{
|
|
61
|
+
std::string([idValue UTF8String] ?: ""),
|
|
62
|
+
folly::dynamic::array([event[@"lngLat"][0] doubleValue],
|
|
63
|
+
[event[@"lngLat"][1] doubleValue]),
|
|
64
|
+
folly::dynamic::array([event[@"point"][0] doubleValue],
|
|
65
|
+
[event[@"point"][1] doubleValue])};
|
|
66
|
+
|
|
67
|
+
std::dynamic_pointer_cast<const facebook::react::MLRNPointAnnotationEventEmitter>(
|
|
68
|
+
strongSelf->_eventEmitter)
|
|
69
|
+
->onPress(eventStruct);
|
|
70
|
+
}
|
|
71
|
+
}];
|
|
72
|
+
|
|
55
73
|
[_view setReactOnSelected:^(NSDictionary *event) {
|
|
56
74
|
__typeof__(self) strongSelf = weakSelf;
|
|
57
75
|
|
package/lib/commonjs/components/annotations/view-annotation/PointAnnotationNativeComponent.ts
CHANGED
|
@@ -38,6 +38,7 @@ export interface NativeProps extends ViewProps {
|
|
|
38
38
|
anchor?: NativeAnchor;
|
|
39
39
|
offset?: NativeOffset;
|
|
40
40
|
|
|
41
|
+
onPress?: CodegenTypes.BubblingEventHandler<NativeAnnotationEvent>;
|
|
41
42
|
onSelected?: CodegenTypes.DirectEventHandler<NativeAnnotationEvent>;
|
|
42
43
|
onDeselected?: CodegenTypes.DirectEventHandler<NativeAnnotationEvent>;
|
|
43
44
|
onDragStart?: CodegenTypes.DirectEventHandler<NativeAnnotationEvent>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","require","_reactNative","_PointAnnotationNativeComponent","_interopRequireWildcard","_useFrozenId","_Anchor","_Callout","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","styles","StyleSheet","create","container","alignItems","justifyContent","position","ViewAnnotation","id","anchor","draggable","offset","ref","props","frozenId","useFrozenId","nativeAnchor","anchorToNative","nativeOffset","x","y","undefined","nativeRef","useRef","useImperativeHandle","refresh","Platform","OS","current","Commands","wrappedChildren","children","childArray","Children","toArray","callout","find","child","isValidElement","type","Callout","otherChildren","filter","jsxs","Fragment","jsx","View","collapsable","style","overflow","exports"],"sourceRoot":"../../../../../src","sources":["components/annotations/view-annotation/ViewAnnotation.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAUA,IAAAC,YAAA,GAAAD,OAAA;AASA,IAAAE,+BAAA,GAAAC,uBAAA,CAAAH,OAAA;AAGA,IAAAI,YAAA,GAAAJ,OAAA;AACA,IAAAK,OAAA,GAAAL,OAAA;AAIA,IAAAM,QAAA,GAAAN,OAAA;AAA6C,IAAAO,WAAA,GAAAP,OAAA;AAAA,SAAAG,wBAAAK,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAP,uBAAA,YAAAA,CAAAK,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,gBAAAP,CAAA,IAAAD,CAAA,gBAAAC,CAAA,OAAAa,cAAA,CAAAC,IAAA,CAAAf,CAAA,EAAAC,CAAA,OAAAM,CAAA,IAAAD,CAAA,GAAAU,MAAA,CAAAC,cAAA,KAAAD,MAAA,CAAAE,wBAAA,CAAAlB,CAAA,EAAAC,CAAA,OAAAM,CAAA,CAAAK,GAAA,IAAAL,CAAA,CAAAM,GAAA,IAAAP,CAAA,CAAAE,CAAA,EAAAP,CAAA,EAAAM,CAAA,IAAAC,CAAA,CAAAP,CAAA,IAAAD,CAAA,CAAAC,CAAA,WAAAO,CAAA,KAAAR,CAAA,EAAAC,CAAA;AAE7C,MAAMkB,MAAM,GAAGC,uBAAU,CAACC,MAAM,CAAC;EAC/BC,SAAS,EAAE;IACTC,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE,QAAQ;IACxBC,QAAQ,EAAE;EACZ;AACF,CAAC,CAAC;
|
|
1
|
+
{"version":3,"names":["_react","require","_reactNative","_PointAnnotationNativeComponent","_interopRequireWildcard","_useFrozenId","_Anchor","_Callout","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","styles","StyleSheet","create","container","alignItems","justifyContent","position","ViewAnnotation","id","anchor","draggable","offset","ref","props","frozenId","useFrozenId","nativeAnchor","anchorToNative","nativeOffset","x","y","undefined","nativeRef","useRef","useImperativeHandle","refresh","Platform","OS","current","Commands","wrappedChildren","children","childArray","Children","toArray","callout","find","child","isValidElement","type","Callout","otherChildren","filter","jsxs","Fragment","jsx","View","collapsable","style","overflow","exports"],"sourceRoot":"../../../../../src","sources":["components/annotations/view-annotation/ViewAnnotation.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAUA,IAAAC,YAAA,GAAAD,OAAA;AASA,IAAAE,+BAAA,GAAAC,uBAAA,CAAAH,OAAA;AAGA,IAAAI,YAAA,GAAAJ,OAAA;AACA,IAAAK,OAAA,GAAAL,OAAA;AAIA,IAAAM,QAAA,GAAAN,OAAA;AAA6C,IAAAO,WAAA,GAAAP,OAAA;AAAA,SAAAG,wBAAAK,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAP,uBAAA,YAAAA,CAAAK,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,gBAAAP,CAAA,IAAAD,CAAA,gBAAAC,CAAA,OAAAa,cAAA,CAAAC,IAAA,CAAAf,CAAA,EAAAC,CAAA,OAAAM,CAAA,IAAAD,CAAA,GAAAU,MAAA,CAAAC,cAAA,KAAAD,MAAA,CAAAE,wBAAA,CAAAlB,CAAA,EAAAC,CAAA,OAAAM,CAAA,CAAAK,GAAA,IAAAL,CAAA,CAAAM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ACA,MAAMC,UAAU,GAAGC,eAAQ,CAACC,OAAO,CAACrB,KAAK,CAACkB,QAAQ,CAAC;IACnD,MAAMI,OAAO,GAAGH,UAAU,CAACI,IAAI,CAC5BC,KAAK,IAAK,iBAAAC,qBAAc,EAACD,KAAK,CAAC,IAAIA,KAAK,CAACE,IAAI,KAAKC,gBACrD,CAAC;IACD,MAAMC,aAAa,GAAGT,UAAU,CAACU,MAAM,CACpCL,KAAK,IAAK,eAAC,IAAAC,qBAAc,EAACD,KAAK,CAAC,IAAIA,KAAK,CAACE,IAAI,KAAKC,gBACtD,CAAC;IAED,oBACE,IAAA5D,WAAA,CAAA+D,IAAA,EAAA/D,WAAA,CAAAgE,QAAA;MAAAb,QAAA,gBACE,IAAAnD,WAAA,CAAAiE,GAAA,EAACvE,YAAA,CAAAwE,IAAI;QAACC,WAAW,EAAE,KAAM;QAACC,KAAK,EAAE;UAAEC,QAAQ,EAAE;QAAU,CAAE;QAAAlB,QAAA,EACtDU;MAAa,CACV,CAAC,EACNN,OAAO;IAAA,CACR,CAAC;EAEP,CAAC,EAAE,CAAC;EAEJ,oBACE,IAAAvD,WAAA,CAAAiE,GAAA,EAACtE,+BAAA,CAAAgB,OAA8B;IAC7BqB,GAAG,EAAEU,SAAU;IAAA,GACXT,KAAK;IACTL,EAAE,EAAEM,QAAS;IACbL,MAAM,EAAEO,YAAa;IACrBL,MAAM,EAAEO,YAAa;IACrBR,SAAS,EAAEA,SAAU;IACrBsC,KAAK,EAAE,CAACnC,KAAK,CAACmC,KAAK,EAAEhD,MAAM,CAACG,SAAS,CAAE;IAAA4B,QAAA,EAEtCD;EAAe,CACc,CAAC;AAErC,CAAC;AAACoB,OAAA,CAAA3C,cAAA,GAAAA,cAAA","ignoreList":[]}
|
|
@@ -10,7 +10,7 @@ var _CameraNativeComponent = _interopRequireDefault(require("./CameraNativeCompo
|
|
|
10
10
|
var _NativeCameraModule = _interopRequireDefault(require("./NativeCameraModule.js"));
|
|
11
11
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
12
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
13
|
-
const Camera = exports.Camera = /*#__PURE__*/(0, _react.memo)(
|
|
13
|
+
const Camera = exports.Camera = /*#__PURE__*/(0, _react.memo)(({
|
|
14
14
|
testID,
|
|
15
15
|
initialViewState,
|
|
16
16
|
minZoom,
|
|
@@ -18,8 +18,9 @@ const Camera = exports.Camera = /*#__PURE__*/(0, _react.memo)(/*#__PURE__*/(0, _
|
|
|
18
18
|
maxBounds,
|
|
19
19
|
trackUserLocation,
|
|
20
20
|
onTrackUserLocationChange,
|
|
21
|
+
ref,
|
|
21
22
|
...stop
|
|
22
|
-
}
|
|
23
|
+
}) => {
|
|
23
24
|
const nativeRef = (0, _react.useRef)(null);
|
|
24
25
|
const setStop = stop => {
|
|
25
26
|
const nodeHandle = (0, _reactNative.findNodeHandle)(nativeRef.current);
|
|
@@ -93,5 +94,5 @@ const Camera = exports.Camera = /*#__PURE__*/(0, _react.memo)(/*#__PURE__*/(0, _
|
|
|
93
94
|
trackUserLocation: trackUserLocation,
|
|
94
95
|
onTrackUserLocationChange: onTrackUserLocationChange
|
|
95
96
|
});
|
|
96
|
-
})
|
|
97
|
+
});
|
|
97
98
|
//# sourceMappingURL=Camera.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","require","_reactNative","_CameraNativeComponent","_interopRequireDefault","_NativeCameraModule","_jsxRuntime","e","__esModule","default","Camera","exports","memo","
|
|
1
|
+
{"version":3,"names":["_react","require","_reactNative","_CameraNativeComponent","_interopRequireDefault","_NativeCameraModule","_jsxRuntime","e","__esModule","default","Camera","exports","memo","testID","initialViewState","minZoom","maxZoom","maxBounds","trackUserLocation","onTrackUserLocationChange","ref","stop","nativeRef","useRef","setStop","nodeHandle","findNodeHandle","current","Error","NativeCameraModule","useImperativeHandle","jumpTo","center","options","duration","easing","undefined","easeTo","flyTo","fitBounds","bounds","zoomTo","zoom","jsx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25
|
* MapLibre Native Map
|
|
26
26
|
*/
|
|
27
|
-
const Map = exports.Map = /*#__PURE__*/(0, _react.memo)(
|
|
27
|
+
const Map = exports.Map = /*#__PURE__*/(0, _react.memo)(({
|
|
28
28
|
androidView = "surface",
|
|
29
29
|
style,
|
|
30
|
+
ref,
|
|
30
31
|
...props
|
|
31
|
-
}
|
|
32
|
+
}) => {
|
|
32
33
|
const [isReady, setIsReady] = (0, _react.useState)(false);
|
|
33
34
|
const nativeRef = (0, _react.useRef)(null);
|
|
34
35
|
(0, _react.useImperativeHandle)(ref, () => ({
|
|
@@ -88,5 +89,5 @@ const Map = exports.Map = /*#__PURE__*/(0, _react.memo)(/*#__PURE__*/(0, _react.
|
|
|
88
89
|
testID: nativeProps.testID ? `${nativeProps.testID}-view` : undefined,
|
|
89
90
|
children: map
|
|
90
91
|
});
|
|
91
|
-
})
|
|
92
|
+
});
|
|
92
93
|
//# sourceMappingURL=Map.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","require","_reactNative","_AndroidTextureMapViewNativeComponent","_interopRequireDefault","_MapViewNativeComponent","_NativeMapViewModule","_LogManager","_StyleValue","_convertStyleSpec","_findNodeHandle","_getNativeFilter","_jsxRuntime","e","__esModule","default","styles","StyleSheet","create","flex1","flex","Map","exports","memo","
|
|
1
|
+
{"version":3,"names":["_react","require","_reactNative","_AndroidTextureMapViewNativeComponent","_interopRequireDefault","_MapViewNativeComponent","_NativeMapViewModule","_LogManager","_StyleValue","_convertStyleSpec","_findNodeHandle","_getNativeFilter","_jsxRuntime","e","__esModule","default","styles","StyleSheet","create","flex1","flex","Map","exports","memo","androidView","style","ref","props","isReady","setIsReady","useState","nativeRef","useRef","useImperativeHandle","getCenter","NativeMapViewModule","findNodeHandle","current","getZoom","getBearing","getPitch","getBounds","getViewState","project","lngLat","unproject","point","queryRenderedFeatures","pixelPointOrPixelPointBoundsOrOptions","options","Array","isArray","value","queryRenderedFeaturesWithPoint","layers","getNativeFilter","filter","queryRenderedFeaturesWithBounds","createStaticMapImage","output","setSourceVisibility","visible","source","sourceLayer","showAttribution","useLayoutEffect","LogManager","start","stop","nativeProps","useMemo","mapStyle","light","otherProps","JSON","stringify","transformStyle","convertToInternalStyle","undefined","map","NativeMapView","Platform","OS","AndroidTextureMapViewNativeComponent","MapViewNativeComponent","jsx","View","onLayout","testID","children"],"sourceRoot":"../../../../src","sources":["components/map/Map.tsx"],"mappings":";;;;;;AAKA,IAAAA,MAAA,GAAAC,OAAA;AAYA,IAAAC,YAAA,GAAAD,OAAA;AASA,IAAAE,qCAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,uBAAA,GAAAD,sBAAA,CAAAH,OAAA;AACA,IAAAK,oBAAA,GAAAF,sBAAA,CAAAH,OAAA;AACA,IAAAM,WAAA,GAAAN,OAAA;AAQA,IAAAO,WAAA,GAAAP,OAAA;AACA,IAAAQ,iBAAA,GAAAR,OAAA;AACA,IAAAS,eAAA,GAAAT,OAAA;AACA,IAAAU,gBAAA,GAAAV,OAAA;AAA8D,IAAAW,WAAA,GAAAX,OAAA;AAAA,SAAAG,uBAAAS,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAE9D,MAAMG,MAAM,GAAGC,uBAAU,CAACC,MAAM,CAAC;EAC/BC,KAAK,EAAE;IAAEC,IAAI,EAAE;EAAE;AACnB,CAAC,CAAC;AA0aF;AACA;AACA;AACO,MAAMC,GAAG,GAAAC,OAAA,CAAAD,GAAA,gBAAG,IAAAE,WAAI,EACrB,CAAC;EAAEC,WAAW,GAAG,SAAS;EAAEC,KAAK;EAAEC,GAAG;EAAE,GAAGC;AAAgB,CAAC,KAAK;EAC/D,MAAM,CAACC,OAAO,EAAEC,UAAU,CAAC,GAAG,IAAAC,eAAQ,EAAC,KAAK,CAAC;EAE7C,MAAMC,SAAS,GAAG,IAAAC,aAAM,EAGtB,IAAI,CAAC;EAEP,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AAI,CAAE;IACjCJ,KAAK,EAAEA,KAAK,IAAIT,MAAM,CAACG,KAAM;IAC7BqE,MAAM,EAAEnB,WAAW,CAACmB,MAAM,GAAG,GAAGnB,WAAW,CAACmB,MAAM,OAAO,GAAGV,SAAU;IAAAW,QAAA,EAErEV;EAAG,CACA,CAAC;AAEX,CACF,CAAC","ignoreList":[]}
|
|
@@ -17,11 +17,12 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
|
|
|
17
17
|
* GeoJSONSource is a map content source that supplies GeoJSON to be shown on the map.
|
|
18
18
|
* The data may be provided as an url or a GeoJSON object.
|
|
19
19
|
*/
|
|
20
|
-
const GeoJSONSource = exports.GeoJSONSource = /*#__PURE__*/(0, _react.memo)(
|
|
20
|
+
const GeoJSONSource = exports.GeoJSONSource = /*#__PURE__*/(0, _react.memo)(({
|
|
21
21
|
id,
|
|
22
22
|
data,
|
|
23
|
+
ref,
|
|
23
24
|
...props
|
|
24
|
-
}
|
|
25
|
+
}) => {
|
|
25
26
|
const nativeRef = (0, _react.useRef)(null);
|
|
26
27
|
const frozenId = (0, _useFrozenId.useFrozenId)(id);
|
|
27
28
|
(0, _react.useImperativeHandle)(ref, () => ({
|
|
@@ -48,5 +49,5 @@ const GeoJSONSource = exports.GeoJSONSource = /*#__PURE__*/(0, _react.memo)(/*#_
|
|
|
48
49
|
source: frozenId
|
|
49
50
|
})
|
|
50
51
|
});
|
|
51
|
-
})
|
|
52
|
+
});
|
|
52
53
|
//# sourceMappingURL=GeoJSONSource.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","require","_GeoJSONSourceNativeComponent","_interopRequireDefault","_NativeGeoJSONSourceModule","_useFrozenId","_index","_findNodeHandle","_getNativeFilter","_jsxRuntime","e","__esModule","default","GeoJSONSource","exports","memo","
|
|
1
|
+
{"version":3,"names":["_react","require","_GeoJSONSourceNativeComponent","_interopRequireDefault","_NativeGeoJSONSourceModule","_useFrozenId","_index","_findNodeHandle","_getNativeFilter","_jsxRuntime","e","__esModule","default","GeoJSONSource","exports","memo","id","data","ref","props","nativeRef","useRef","frozenId","useFrozenId","useImperativeHandle","getData","filter","NativeGeoJSONSourceModule","findNodeHandle","current","getNativeFilter","getClusterExpansionZoom","clusterId","getClusterLeaves","limit","offset","getClusterChildren","jsx","JSON","stringify","hasOnPress","onPress","children","cloneReactChildrenWithProps","source"],"sourceRoot":"../../../../../src","sources":["components/sources/geojson-source/GeoJSONSource.tsx"],"mappings":";;;;;;AAIA,IAAAA,MAAA,GAAAC,OAAA;AAWA,IAAAC,6BAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,0BAAA,GAAAD,sBAAA,CAAAF,OAAA;AACA,IAAAI,YAAA,GAAAJ,OAAA;AAGA,IAAAK,MAAA,GAAAL,OAAA;AACA,IAAAM,eAAA,GAAAN,OAAA;AACA,IAAAO,gBAAA,GAAAP,OAAA;AAAiE,IAAAQ,WAAA,GAAAR,OAAA;AAAA,SAAAE,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AA8IjE;AACA;AACA;AACA;AACO,MAAMG,aAAa,GAAAC,OAAA,CAAAD,aAAA,gBAAG,IAAAE,WAAI,EAC/B,CAAC;EAAEC,EAAE;EAAEC,IAAI;EAAEC,GAAG;EAAE,GAAGC;AAA0B,CAAC,KAAK;EACnD,MAAMC,SAAS,GAAG,IAAAC,aAAM,EAGtB,IAAI,CAAC;EAEP,MAAMC,QAAQ,GAAG,IAAAC,wBAAW,EAACP,EAAE,CAAC;EAEhC,IAAAQ,0BAAmB,EAACN,GAAG,EAAE,OAAO;IAC9BO,OAAO,EAAE,MAAOC,MAAM,IAAK;MACzB,OAAOC,kCAAyB,CAACF,OAAO,CACtC,IAAAG,8BAAc,EAACR,SAAS,CAACS,OAAO,CAAC,EACjC,IAAAC,gCAAe,EAACJ,MAAM,CACxB,CAAC;IACH,CAAC;IAEDK,uBAAuB,EAAE,MAAOC,SAAS,IAAK;MAC5C,OAAOL,kCAAyB,CAACI,uBAAuB,CACtD,IAAAH,8BAAc,EAACR,SAAS,CAACS,OAAO,CAAC,EACjCG,SACF,CAAC;IACH,CAAC;IAEDC,gBAAgB,EAAE,MAAAA,CAChBD,SAAiB,EACjBE,KAAa,EACbC,MAAc,KACX;MACH,OAAOR,kCAAyB,CAACM,gBAAgB,CAC/C,IAAAL,8BAAc,EAACR,SAAS,CAACS,OAAO,CAAC,EACjCG,SAAS,EACTE,KAAK,EACLC,MACF,CAAC;IACH,CAAC;IAEDC,kBAAkB,EAAE,MAAOJ,SAAiB,IAAK;MAC/C,OAAOL,kCAAyB,CAACS,kBAAkB,CACjD,IAAAR,8BAAc,EAACR,SAAS,CAACS,OAAO,CAAC,EACjCG,SACF,CAAC;IACH;EACF,CAAC,CAAC,CAAC;EAEH,oBACE,IAAAvB,WAAA,CAAA4B,GAAA,EAACnC,6BAAA,CAAAU,OAA4B;IAC3BM,GAAG,EAAEE,SAAU;IACfJ,EAAE,EAAEM,QAAS;IACbL,IAAI,EAAE,OAAOA,IAAI,KAAK,QAAQ,GAAGA,IAAI,GAAGqB,IAAI,CAACC,SAAS,CAACtB,IAAI,CAAE;IAC7DuB,UAAU,EAAE,CAAC,CAACrB,KAAK,CAACsB,OAAQ;IAAA,GACxBtB,KAAK;IAAAuB,QAAA,EAER,IAAAC,kCAA2B,EAACxB,KAAK,CAACuB,QAAQ,EAAE;MAC3CE,MAAM,EAAEtB;IACV,CAAC;EAAC,CAC0B,CAAC;AAEnC,CACF,CAAC","ignoreList":[]}
|
|
@@ -17,10 +17,11 @@ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e
|
|
|
17
17
|
* VectorSource is a map content source that supplies tiled vector data in Mapbox Vector Tile format to be shown on the map.
|
|
18
18
|
* 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.
|
|
19
19
|
*/
|
|
20
|
-
const VectorSource = exports.VectorSource = /*#__PURE__*/(0, _react.memo)(
|
|
20
|
+
const VectorSource = exports.VectorSource = /*#__PURE__*/(0, _react.memo)(({
|
|
21
21
|
id,
|
|
22
|
+
ref,
|
|
22
23
|
...props
|
|
23
|
-
}
|
|
24
|
+
}) => {
|
|
24
25
|
const nativeRef = (0, _react.useRef)(null);
|
|
25
26
|
const frozenId = (0, _useFrozenId.useFrozenId)(id);
|
|
26
27
|
(0, _react.useImperativeHandle)(ref, () => ({
|
|
@@ -40,5 +41,5 @@ const VectorSource = exports.VectorSource = /*#__PURE__*/(0, _react.memo)(/*#__P
|
|
|
40
41
|
source: frozenId
|
|
41
42
|
})
|
|
42
43
|
});
|
|
43
|
-
})
|
|
44
|
+
});
|
|
44
45
|
//# sourceMappingURL=VectorSource.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","require","_NativeVectorSourceModule","_interopRequireDefault","_VectorSourceNativeComponent","_useFrozenId","_index","_findNodeHandle","_getNativeFilter","_jsxRuntime","e","__esModule","default","VectorSource","exports","memo","
|
|
1
|
+
{"version":3,"names":["_react","require","_NativeVectorSourceModule","_interopRequireDefault","_VectorSourceNativeComponent","_useFrozenId","_index","_findNodeHandle","_getNativeFilter","_jsxRuntime","e","__esModule","default","VectorSource","exports","memo","id","ref","props","nativeRef","useRef","frozenId","useFrozenId","useImperativeHandle","querySourceFeatures","sourceLayer","filter","NativeVectorSourceModule","findNodeHandle","current","getNativeFilter","jsx","hasOnPress","onPress","children","cloneReactChildrenWithProps","source"],"sourceRoot":"../../../../../src","sources":["components/sources/vector-source/VectorSource.tsx"],"mappings":";;;;;;AACA,IAAAA,MAAA,GAAAC,OAAA;AAWA,IAAAC,yBAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,4BAAA,GAAAD,sBAAA,CAAAF,OAAA;AACA,IAAAI,YAAA,GAAAJ,OAAA;AAGA,IAAAK,MAAA,GAAAL,OAAA;AACA,IAAAM,eAAA,GAAAN,OAAA;AACA,IAAAO,gBAAA,GAAAP,OAAA;AAAiE,IAAAQ,WAAA,GAAAR,OAAA;AAAA,SAAAE,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAwEjE;AACA;AACA;AACA;AACO,MAAMG,YAAY,GAAAC,OAAA,CAAAD,YAAA,gBAAG,IAAAE,WAAI,EAAC,CAAC;EAAEC,EAAE;EAAEC,GAAG;EAAE,GAAGC;AAAyB,CAAC,KAAK;EAC7E,MAAMC,SAAS,GAAG,IAAAC,aAAM,EAGtB,IAAI,CAAC;EAEP,MAAMC,QAAQ,GAAG,IAAAC,wBAAW,EAACN,EAAE,CAAC;EAEhC,IAAAO,0BAAmB,EAACN,GAAG,EAAE,OAAO;IAC9BO,mBAAmB,EAAE,MAAAA,CAAO;MAC1BC,WAAW;MACXC;IAIF,CAAC,KAAiC;MAChC,OAAOC,iCAAwB,CAACH,mBAAmB,CACjD,IAAAI,8BAAc,EAACT,SAAS,CAACU,OAAO,CAAC,EACjCJ,WAAW,EACX,IAAAK,gCAAe,EAACJ,MAAM,CACxB,CAAC;IACH;EACF,CAAC,CAAC,CAAC;EAEH,oBACE,IAAAjB,WAAA,CAAAsB,GAAA,EAAC3B,4BAAA,CAAAQ,OAA2B;IAC1BK,GAAG,EAAEE,SAAU;IACfH,EAAE,EAAEK,QAAS;IACbW,UAAU,EAAE,CAAC,CAACd,KAAK,CAACe,OAAQ;IAAA,GACxBf,KAAK;IAAAgB,QAAA,EAER,IAAAC,kCAA2B,EAACjB,KAAK,CAACgB,QAAQ,EAAE;MAC3CE,MAAM,EAAEf;IACV,CAAC;EAAC,CACyB,CAAC;AAElC,CAAC,CAAC","ignoreList":[]}
|
|
@@ -7,7 +7,7 @@ exports.getStylePropertyType = getStylePropertyType;
|
|
|
7
7
|
var _index = require("./index.js");
|
|
8
8
|
/* eslint-disable */
|
|
9
9
|
// DO NOT MODIFY
|
|
10
|
-
// This file is auto-generated from scripts/templates/getStylePropertyType.ts.ejs
|
|
10
|
+
// This file is auto-generated from scripts/src/templates/getStylePropertyType.ts.ejs
|
|
11
11
|
|
|
12
12
|
const StyleType = {
|
|
13
13
|
Constant: "constant",
|
|
@@ -38,6 +38,7 @@ export interface NativeProps extends ViewProps {
|
|
|
38
38
|
anchor?: NativeAnchor;
|
|
39
39
|
offset?: NativeOffset;
|
|
40
40
|
|
|
41
|
+
onPress?: CodegenTypes.BubblingEventHandler<NativeAnnotationEvent>;
|
|
41
42
|
onSelected?: CodegenTypes.DirectEventHandler<NativeAnnotationEvent>;
|
|
42
43
|
onDeselected?: CodegenTypes.DirectEventHandler<NativeAnnotationEvent>;
|
|
43
44
|
onDragStart?: CodegenTypes.DirectEventHandler<NativeAnnotationEvent>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["Children","isValidElement","useImperativeHandle","useRef","Platform","StyleSheet","View","PointAnnotationNativeComponent","Commands","useFrozenId","anchorToNative","Callout","jsx","_jsx","Fragment","_Fragment","jsxs","_jsxs","styles","create","container","alignItems","justifyContent","position","ViewAnnotation","id","anchor","draggable","offset","ref","props","frozenId","nativeAnchor","nativeOffset","x","y","undefined","nativeRef","refresh","OS","current","wrappedChildren","children","childArray","toArray","callout","find","child","type","otherChildren","filter","collapsable","style","overflow"],"sourceRoot":"../../../../../src","sources":["components/annotations/view-annotation/ViewAnnotation.tsx"],"mappings":";;AAAA,SACEA,QAAQ,EAGRC,cAAc,EAGdC,mBAAmB,EACnBC,MAAM,QACD,OAAO;AACd,SAEEC,QAAQ,EAERC,UAAU,EACVC,IAAI,QAEC,cAAc;AAErB,OAAOC,8BAA8B,IACnCC,QAAQ,QACH,kCAAkC;AACzC,SAASC,WAAW,QAAQ,+BAA4B;AACxD,SAAsBC,cAAc,QAAQ,0BAAuB;AAInE,SAASC,OAAO,QAAQ,uBAAoB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,QAAA,IAAAC,SAAA,EAAAC,IAAA,IAAAC,KAAA;AAE7C,MAAMC,MAAM,GAAGb,UAAU,CAACc,MAAM,CAAC;EAC/BC,SAAS,EAAE;IACTC,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE,QAAQ;IACxBC,QAAQ,EAAE;EACZ;AACF,CAAC,CAAC;
|
|
1
|
+
{"version":3,"names":["Children","isValidElement","useImperativeHandle","useRef","Platform","StyleSheet","View","PointAnnotationNativeComponent","Commands","useFrozenId","anchorToNative","Callout","jsx","_jsx","Fragment","_Fragment","jsxs","_jsxs","styles","create","container","alignItems","justifyContent","position","ViewAnnotation","id","anchor","draggable","offset","ref","props","frozenId","nativeAnchor","nativeOffset","x","y","undefined","nativeRef","refresh","OS","current","wrappedChildren","children","childArray","toArray","callout","find","child","type","otherChildren","filter","collapsable","style","overflow"],"sourceRoot":"../../../../../src","sources":["components/annotations/view-annotation/ViewAnnotation.tsx"],"mappings":";;AAAA,SACEA,QAAQ,EAGRC,cAAc,EAGdC,mBAAmB,EACnBC,MAAM,QACD,OAAO;AACd,SAEEC,QAAQ,EAERC,UAAU,EACVC,IAAI,QAEC,cAAc;AAErB,OAAOC,8BAA8B,IACnCC,QAAQ,QACH,kCAAkC;AACzC,SAASC,WAAW,QAAQ,+BAA4B;AACxD,SAAsBC,cAAc,QAAQ,0BAAuB;AAInE,SAASC,OAAO,QAAQ,uBAAoB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,QAAA,IAAAC,SAAA,EAAAC,IAAA,IAAAC,KAAA;AAE7C,MAAMC,MAAM,GAAGb,UAAU,CAACc,MAAM,CAAC;EAC/BC,SAAS,EAAE;IACTC,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE,QAAQ;IACxBC,QAAQ,EAAE;EACZ;AACF,CAAC,CAAC;AAqHF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,cAAc,GAAGA,CAAC;EAC7BC,EAAE;EACFC,MAAM,GAAG,QAAQ;EACjBC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KAAM;QAACC,KAAK,EAAE;UAAEC,QAAQ,EAAE;QAAU,CAAE;QAAAX,QAAA,EACtDO;MAAa,CACV,CAAC,EACNJ,OAAO;IAAA,CACR,CAAC;EAEP,CAAC,EAAE,CAAC;EAEJ,oBACEhC,IAAA,CAACN,8BAA8B;IAC7BsB,GAAG,EAAEQ,SAAU;IAAA,GACXP,KAAK;IACTL,EAAE,EAAEM,QAAS;IACbL,MAAM,EAAEM,YAAa;IACrBJ,MAAM,EAAEK,YAAa;IACrBN,SAAS,EAAEA,SAAU;IACrByB,KAAK,EAAE,CAACtB,KAAK,CAACsB,KAAK,EAAElC,MAAM,CAACE,SAAS,CAAE;IAAAsB,QAAA,EAEtCD;EAAe,CACc,CAAC;AAErC,CAAC","ignoreList":[]}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { memo, useImperativeHandle, useRef } from "react";
|
|
4
4
|
import { findNodeHandle } from "react-native";
|
|
5
5
|
import NativeCameraComponent from "./CameraNativeComponent";
|
|
6
6
|
import NativeCameraModule from "./NativeCameraModule.js";
|
|
7
7
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
-
export const Camera = /*#__PURE__*/memo(
|
|
8
|
+
export const Camera = /*#__PURE__*/memo(({
|
|
9
9
|
testID,
|
|
10
10
|
initialViewState,
|
|
11
11
|
minZoom,
|
|
@@ -13,8 +13,9 @@ export const Camera = /*#__PURE__*/memo(/*#__PURE__*/forwardRef(({
|
|
|
13
13
|
maxBounds,
|
|
14
14
|
trackUserLocation,
|
|
15
15
|
onTrackUserLocationChange,
|
|
16
|
+
ref,
|
|
16
17
|
...stop
|
|
17
|
-
}
|
|
18
|
+
}) => {
|
|
18
19
|
const nativeRef = useRef(null);
|
|
19
20
|
const setStop = stop => {
|
|
20
21
|
const nodeHandle = findNodeHandle(nativeRef.current);
|
|
@@ -88,5 +89,5 @@ export const Camera = /*#__PURE__*/memo(/*#__PURE__*/forwardRef(({
|
|
|
88
89
|
trackUserLocation: trackUserLocation,
|
|
89
90
|
onTrackUserLocationChange: onTrackUserLocationChange
|
|
90
91
|
});
|
|
91
|
-
})
|
|
92
|
+
});
|
|
92
93
|
//# sourceMappingURL=Camera.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["memo","useImperativeHandle","useRef","findNodeHandle","NativeCameraComponent","NativeCameraModule","jsx","_jsx","Camera","testID","initialViewState","minZoom","maxZoom","maxBounds","trackUserLocation","onTrackUserLocationChange","ref","stop","nativeRef","setStop","nodeHandle","current","Error","jumpTo","center","options","duration","easing","undefined","easeTo","flyTo","fitBounds","bounds","zoomTo","zoom"],"sourceRoot":"../../../../src","sources":["components/camera/Camera.tsx"],"mappings":";;AAAA,SAGEA,IAAI,EAEJC,mBAAmB,EACnBC,MAAM,QACD,OAAO;AACd,SACEC,cAAc,QAGT,cAAc;AAErB,OAAOC,qBAAqB,MAAM,yBAAyB;AAC3D,OAAOC,kBAAkB,MAAM,yBAAsB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAmOtD,OAAO,MAAMC,MAAM,gBAAGR,IAAI,CACxB,CAAC;EACCS,MAAM;EACNC,gBAAgB;EAChBC,OAAO;EACPC,OAAO;EACPC,SAAS;EACTC,iBAAiB;EACjBC,yBAAyB;EACzBC,GAAG;EACH,GAAGC;AACQ,CAAC,KAAK;EACjB,MAAMC,SAAS,GAAGhB,MAAM,CAGtB,IAAI,CAAC;EAEP,MAAMiB,OAA6B,GAAIF,IAAI,IAAK;IAC9C,MAAMG,UAAU,GAAGjB,cAAc,CAACe,SAAS,CAACG,OAAO,CAAC;IAEpD,IAAI,CAACD,UAAU,EAAE;MACf,MAAM,IAAIE,KAAK,CACb,uEACF,CAAC;IACH;IAEA,OAAOjB,kBAAkB,CAACc,OAAO,CAACC,UAAU,EAAEH,IAAI,CAAC;EACrD,CAAC;EAEDhB,mBAAmB,CAACe,GAA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EA,gBAAiB;IACnCC,OAAO,EAAEA,OAAQ;IACjBC,OAAO,EAAEA,OAAQ;IACjBC,SAAS,EAAEA,SAAU;IACrBC,iBAAiB,EAAEA,iBAAkB;IACrCC,yBAAyB,EAAEA;EAA0B,CACtD,CAAC;AAEN,CACF,CAAC","ignoreList":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { memo, useImperativeHandle, useLayoutEffect, useMemo, useRef, useState } from "react";
|
|
4
4
|
import { Platform, StyleSheet, View } from "react-native";
|
|
5
5
|
import AndroidTextureMapViewNativeComponent from "./AndroidTextureMapViewNativeComponent";
|
|
6
6
|
import MapViewNativeComponent from "./MapViewNativeComponent";
|
|
@@ -19,11 +19,12 @@ const styles = StyleSheet.create({
|
|
|
19
19
|
/**
|
|
20
20
|
* MapLibre Native Map
|
|
21
21
|
*/
|
|
22
|
-
export const Map = /*#__PURE__*/memo(
|
|
22
|
+
export const Map = /*#__PURE__*/memo(({
|
|
23
23
|
androidView = "surface",
|
|
24
24
|
style,
|
|
25
|
+
ref,
|
|
25
26
|
...props
|
|
26
|
-
}
|
|
27
|
+
}) => {
|
|
27
28
|
const [isReady, setIsReady] = useState(false);
|
|
28
29
|
const nativeRef = useRef(null);
|
|
29
30
|
useImperativeHandle(ref, () => ({
|
|
@@ -83,5 +84,5 @@ export const Map = /*#__PURE__*/memo(/*#__PURE__*/forwardRef(({
|
|
|
83
84
|
testID: nativeProps.testID ? `${nativeProps.testID}-view` : undefined,
|
|
84
85
|
children: map
|
|
85
86
|
});
|
|
86
|
-
})
|
|
87
|
+
});
|
|
87
88
|
//# sourceMappingURL=Map.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["memo","useImperativeHandle","useLayoutEffect","useMemo","useRef","useState","Platform","StyleSheet","View","AndroidTextureMapViewNativeComponent","MapViewNativeComponent","NativeMapViewModule","LogManager","transformStyle","convertToInternalStyle","findNodeHandle","getNativeFilter","jsx","_jsx","styles","create","flex1","flex","Map","androidView","style","ref","props","isReady","setIsReady","nativeRef","getCenter","current","getZoom","getBearing","getPitch","getBounds","getViewState","project","lngLat","unproject","point","queryRenderedFeatures","pixelPointOrPixelPointBoundsOrOptions","options","Array","isArray","value","queryRenderedFeaturesWithPoint","layers","filter","queryRenderedFeaturesWithBounds","createStaticMapImage","output","setSourceVisibility","visible","source","sourceLayer","showAttribution","start","stop","nativeProps","mapStyle","light","otherProps","JSON","stringify","undefined","map","NativeMapView","OS","onLayout","testID","children"],"sourceRoot":"../../../../src","sources":["components/map/Map.tsx"],"mappings":";;AAKA,SAGEA,IAAI,EAGJC,mBAAmB,EACnBC,eAAe,EACfC,OAAO,EACPC,MAAM,EACNC,QAAQ,QACH,OAAO;AACd,SAEEC,QAAQ,EAERC,UAAU,EACVC,IAAI,QAEC,cAAc;AAErB,OAAOC,oCAAoC,MAAM,wCAAwC;AACzF,OAAOC,sBAAsB,MAAM,0BAA0B;AAC7D,OAAOC,mBAAmB,MAAM,0BAAuB;AACvD,SAASC,UAAU,QAAQ,iCAA8B;AAQzD,SAASC,cAAc,QAAQ,2BAAwB;AACvD,SAASC,sBAAsB,QAAQ,iCAA8B;AACrE,SAASC,cAAc,QAAQ,+BAA4B;AAC3D,SAASC,eAAe,QAAQ,gCAA6B;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAE9D,MAAMC,MAAM,GAAGZ,UAAU,CAACa,MAAM,CAAC;EAC/BC,KAAK,EAAE;IAAEC,IAAI,EAAE;EAAE;AACnB,CAAC,CAAC;AA0aF;AACA;AACA;AACA,OAAO,MAAMC,GAAG,gBAAGvB,IAAI,CACrB,CAAC;EAAEwB,WAAW,GAAG,SAAS;EAAEC,KAAK;EAAEC,GAAG;EAAE,GAAGC;AAAgB,CAAC,KAAK;EAC/D,MAAM,CAACC,OAAO,EAAEC,UAAU,CAAC,GAAGxB,QAAQ,CAAC,KAAK,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M,GAAG,GAAGX,WAAW,CAACW,MAAM,OAAO,GAAGL,SAAU;IAAAM,QAAA,EAErEL;EAAG,CACA,CAAC;AAEX,CACF,CAAC","ignoreList":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { memo, useImperativeHandle, useRef } from "react";
|
|
4
4
|
import GeoJSONSourceNativeComponent from "./GeoJSONSourceNativeComponent";
|
|
5
5
|
import NativeGeoJSONSourceModule from "./NativeGeoJSONSourceModule.js";
|
|
6
6
|
import { useFrozenId } from "../../../hooks/useFrozenId.js";
|
|
@@ -12,11 +12,12 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
12
12
|
* GeoJSONSource is a map content source that supplies GeoJSON to be shown on the map.
|
|
13
13
|
* The data may be provided as an url or a GeoJSON object.
|
|
14
14
|
*/
|
|
15
|
-
export const GeoJSONSource = /*#__PURE__*/memo(
|
|
15
|
+
export const GeoJSONSource = /*#__PURE__*/memo(({
|
|
16
16
|
id,
|
|
17
17
|
data,
|
|
18
|
+
ref,
|
|
18
19
|
...props
|
|
19
|
-
}
|
|
20
|
+
}) => {
|
|
20
21
|
const nativeRef = useRef(null);
|
|
21
22
|
const frozenId = useFrozenId(id);
|
|
22
23
|
useImperativeHandle(ref, () => ({
|
|
@@ -43,5 +44,5 @@ export const GeoJSONSource = /*#__PURE__*/memo(/*#__PURE__*/forwardRef(({
|
|
|
43
44
|
source: frozenId
|
|
44
45
|
})
|
|
45
46
|
});
|
|
46
|
-
})
|
|
47
|
+
});
|
|
47
48
|
//# sourceMappingURL=GeoJSONSource.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["memo","useImperativeHandle","useRef","GeoJSONSourceNativeComponent","NativeGeoJSONSourceModule","useFrozenId","cloneReactChildrenWithProps","findNodeHandle","getNativeFilter","jsx","_jsx","GeoJSONSource","id","data","ref","props","nativeRef","frozenId","getData","filter","current","getClusterExpansionZoom","clusterId","getClusterLeaves","limit","offset","getClusterChildren","JSON","stringify","hasOnPress","onPress","children","source"],"sourceRoot":"../../../../../src","sources":["components/sources/geojson-source/GeoJSONSource.tsx"],"mappings":";;AAIA,SAGEA,IAAI,EAGJC,mBAAmB,EACnBC,MAAM,QACD,OAAO;AAGd,OAAOC,4BAA4B,MAAM,gCAAgC;AACzE,OAAOC,yBAAyB,MAAM,gCAA6B;AACnE,SAASC,WAAW,QAAQ,+BAA4B;AAGxD,SAASC,2BAA2B,QAAQ,yBAAgB;AAC5D,SAASC,cAAc,QAAQ,kCAA+B;AAC9D,SAASC,eAAe,QAAQ,mCAAgC;AAAC,SAAAC,GAAA,IAAAC,IAAA;AA8IjE;AACA;AACA;AACA;AACA,OAAO,MAAMC,aAAa,gBAAGX,IAAI,CAC/B,CAAC;EAAEY,EAAE;EAAEC,IAAI;EAAEC,GAAG;EAAE,GAAGC;AAA0B,CAAC,KAAK;EACnD,MAAMC,SAAS,GAAGd,MAAM,CAGtB,IAAI,CAAC;EAEP,MAAMe,QAAQ,GAAGZ,WAAW,CAACO,EAAE,CAAC;EAEhCX,mBAAmB,CAACa,GAAG,EAAE,OAAO;IAC9BI,OAAO,EAAE,MAAOC,MAAM,IAAK;MACzB,OAAOf,yBAAyB,CAACc,OAAO,CACtCX,cAAc,CAACS,SAAS,CAACI,OAAO,CAAC,EACjCZ,eAAe,CAACW,MAAM,CACxB,CAAC;IACH,CAAC;IAEDE,uBAAuB,EAAE,MAAOC,SAAS,IAAK;MAC5C,OAAOlB,yBAAyB,CAACiB,uBAAuB,CACtDd,cAAc,CAACS,SAAS,CAACI,OAAO,CAAC,EACjCE,SACF,CAAC;IACH,CAAC;IAEDC,gBAAgB,EAAE,MAAAA,CAChBD,SAAiB,EACjBE,KAAa,EACbC,MAAc,KACX;MACH,OAAOrB,yBAAyB,CAACmB,gBAAgB,CAC/ChB,cAAc,CAACS,SAAS,CAACI,OAAO,CAAC,EACjCE,SAAS,EACTE,KAAK,EACLC,MACF,CAAC;IACH,CAAC;IAEDC,kBAAkB,EAAE,MAAOJ,SAAiB,IAAK;MAC/C,OAAOlB,yBAAyB,CAACsB,kBAAkB,CACjDnB,cAAc,CAACS,SAAS,CAACI,OAAO,CAAC,EACjCE,SACF,CAAC;IACH;EACF,CAAC,CAAC,CAAC;EAEH,oBACEZ,IAAA,CAACP,4BAA4B;IAC3BW,GAAG,EAAEE,SAAU;IACfJ,EAAE,EAAEK,QAAS;IACbJ,IAAI,EAAE,OAAOA,IAAI,KAAK,QAAQ,GAAGA,IAAI,GAAGc,IAAI,CAACC,SAAS,CAACf,IAAI,CAAE;IAC7DgB,UAAU,EAAE,CAAC,CAACd,KAAK,CAACe,OAAQ;IAAA,GACxBf,KAAK;IAAAgB,QAAA,EAERzB,2BAA2B,CAACS,KAAK,CAACgB,QAAQ,EAAE;MAC3CC,MAAM,EAAEf;IACV,CAAC;EAAC,CAC0B,CAAC;AAEnC,CACF,CAAC","ignoreList":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { memo, useImperativeHandle, useRef } from "react";
|
|
4
4
|
import NativeVectorSourceModule from "./NativeVectorSourceModule.js";
|
|
5
5
|
import VectorSourceNativeComponent from "./VectorSourceNativeComponent";
|
|
6
6
|
import { useFrozenId } from "../../../hooks/useFrozenId.js";
|
|
@@ -12,10 +12,11 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
12
12
|
* VectorSource is a map content source that supplies tiled vector data in Mapbox Vector Tile format to be shown on the map.
|
|
13
13
|
* 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.
|
|
14
14
|
*/
|
|
15
|
-
export const VectorSource = /*#__PURE__*/memo(
|
|
15
|
+
export const VectorSource = /*#__PURE__*/memo(({
|
|
16
16
|
id,
|
|
17
|
+
ref,
|
|
17
18
|
...props
|
|
18
|
-
}
|
|
19
|
+
}) => {
|
|
19
20
|
const nativeRef = useRef(null);
|
|
20
21
|
const frozenId = useFrozenId(id);
|
|
21
22
|
useImperativeHandle(ref, () => ({
|
|
@@ -35,5 +36,5 @@ export const VectorSource = /*#__PURE__*/memo(/*#__PURE__*/forwardRef(({
|
|
|
35
36
|
source: frozenId
|
|
36
37
|
})
|
|
37
38
|
});
|
|
38
|
-
})
|
|
39
|
+
});
|
|
39
40
|
//# sourceMappingURL=VectorSource.js.map
|