@rnmapbox/maps 10.1.45 → 10.2.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/android/build.gradle +10 -2
- package/android/install.md +3 -14
- package/android/src/main/java/com/rnmapbox/rnmbx/components/mapview/RNMBXMapView.kt +4 -2
- package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/RNMBXStyleFactory.kt +514 -0
- package/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt +341 -1
- package/android/src/main/mapbox-v11-compat/v11/com/rnmapbox/rnmbx/v11compat/Annotation.kt +1 -1
- package/ios/RNMBX/RNMBXMapViewComponentView.mm +8 -3
- package/ios/RNMBX/RNMBXStyle.swift +382 -0
- package/lib/commonjs/plugin/build/generateCode.js +0 -1
- package/lib/commonjs/plugin/build/withMapbox.js +14 -4
- package/lib/commonjs/plugin/install.md +18 -18
- package/lib/commonjs/plugin/src/generateCode.ts +0 -1
- package/lib/commonjs/plugin/src/withMapbox.ts +24 -4
- package/lib/module/Mapbox.js +3 -80
- package/lib/module/Mapbox.js.map +1 -1
- package/lib/module/Mapbox.native.js +83 -0
- package/lib/module/Mapbox.native.js.map +1 -0
- package/lib/module/RNMBXModule.js +0 -1
- package/lib/module/RNMBXModule.js.map +1 -1
- package/lib/module/classes/AnimatedRouteCoordinatesArray.js +2 -4
- package/lib/module/classes/AnimatedRouteCoordinatesArray.js.map +1 -1
- package/lib/module/classes/index.js +5 -5
- package/lib/module/classes/index.js.map +1 -1
- package/lib/module/components/AbstractLayer.js +2 -2
- package/lib/module/components/AbstractLayer.js.map +1 -1
- package/lib/module/components/Annotation.js +7 -4
- package/lib/module/components/Annotation.js.map +1 -1
- package/lib/module/components/Atmosphere.js +2 -2
- package/lib/module/components/Atmosphere.js.map +1 -1
- package/lib/module/components/BackgroundLayer.js +11 -9
- package/lib/module/components/BackgroundLayer.js.map +1 -1
- package/lib/module/components/Camera.js +16 -12
- package/lib/module/components/Camera.js.map +1 -1
- package/lib/module/components/CircleLayer.js +1 -1
- package/lib/module/components/CircleLayer.js.map +1 -1
- package/lib/module/components/CustomLocationProvider.js +1 -1
- package/lib/module/components/CustomLocationProvider.js.map +1 -1
- package/lib/module/components/FillExtrusionLayer.js +11 -9
- package/lib/module/components/FillExtrusionLayer.js.map +1 -1
- package/lib/module/components/FillLayer.js +1 -1
- package/lib/module/components/FillLayer.js.map +1 -1
- package/lib/module/components/HeadingIndicator.js +2 -2
- package/lib/module/components/HeadingIndicator.js.map +1 -1
- package/lib/module/components/HeatmapLayer.js +1 -1
- package/lib/module/components/HeatmapLayer.js.map +1 -1
- package/lib/module/components/Image.js +2 -2
- package/lib/module/components/Image.js.map +1 -1
- package/lib/module/components/ImageSource.js +2 -2
- package/lib/module/components/ImageSource.js.map +1 -1
- package/lib/module/components/Images.js +2 -2
- package/lib/module/components/Images.js.map +1 -1
- package/lib/module/components/Light.js +3 -5
- package/lib/module/components/Light.js.map +1 -1
- package/lib/module/components/LineLayer.js +1 -2
- package/lib/module/components/LineLayer.js.map +1 -1
- package/lib/module/components/LocationPuck.js +1 -1
- package/lib/module/components/LocationPuck.js.map +1 -1
- package/lib/module/components/MapView.js +12 -7
- package/lib/module/components/MapView.js.map +1 -1
- package/lib/module/components/MarkerView.js +5 -5
- package/lib/module/components/MarkerView.js.map +1 -1
- package/lib/module/components/ModelLayer.js +1 -2
- package/lib/module/components/ModelLayer.js.map +1 -1
- package/lib/module/components/Models.js +0 -1
- package/lib/module/components/Models.js.map +1 -1
- package/lib/module/components/NativeBridgeComponent.js +1 -1
- package/lib/module/components/NativeBridgeComponent.js.map +1 -1
- package/lib/module/components/PointAnnotation.js +5 -5
- package/lib/module/components/PointAnnotation.js.map +1 -1
- package/lib/module/components/RasterDemSource.js +4 -4
- package/lib/module/components/RasterDemSource.js.map +1 -1
- package/lib/module/components/RasterLayer.js +1 -1
- package/lib/module/components/RasterLayer.js.map +1 -1
- package/lib/module/components/RasterSource.js +4 -4
- package/lib/module/components/RasterSource.js.map +1 -1
- package/lib/module/components/ShapeSource.js +7 -7
- package/lib/module/components/ShapeSource.js.map +1 -1
- package/lib/module/components/SkyLayer.js +9 -7
- package/lib/module/components/SkyLayer.js.map +1 -1
- package/lib/module/components/Style.js +14 -14
- package/lib/module/components/Style.js.map +1 -1
- package/lib/module/components/StyleImport.js +1 -1
- package/lib/module/components/StyleImport.js.map +1 -1
- package/lib/module/components/SymbolLayer.js +1 -1
- package/lib/module/components/SymbolLayer.js.map +1 -1
- package/lib/module/components/Terrain.js +2 -2
- package/lib/module/components/Terrain.js.map +1 -1
- package/lib/module/components/UserLocation.js +5 -5
- package/lib/module/components/UserLocation.js.map +1 -1
- package/lib/module/components/VectorSource.js +5 -5
- package/lib/module/components/VectorSource.js.map +1 -1
- package/lib/module/components/Viewport.js +6 -3
- package/lib/module/components/Viewport.js.map +1 -1
- package/lib/module/components/codeparts/LayerPropsCommon.codepart-tsx +1 -1
- package/lib/module/index.native.js +6 -0
- package/lib/module/index.native.js.map +1 -0
- package/lib/module/modules/location/locationManager.js +20 -17
- package/lib/module/modules/location/locationManager.js.map +1 -1
- package/lib/module/modules/offline/OfflineCreatePackOptions.js +2 -2
- package/lib/module/modules/offline/OfflineCreatePackOptions.js.map +1 -1
- package/lib/module/modules/offline/TileStore.js +1 -1
- package/lib/module/modules/offline/TileStore.js.map +1 -1
- package/lib/module/modules/offline/offlineManager.js +4 -4
- package/lib/module/modules/offline/offlineManager.js.map +1 -1
- package/lib/module/modules/offline/offlineManagerLegacy.js +3 -3
- package/lib/module/modules/offline/offlineManagerLegacy.js.map +1 -1
- package/lib/module/modules/snapshot/SnapshotOptions.js +2 -2
- package/lib/module/modules/snapshot/SnapshotOptions.js.map +1 -1
- package/lib/module/modules/snapshot/snapshotManager.js +1 -1
- package/lib/module/modules/snapshot/snapshotManager.js.map +1 -1
- package/lib/module/package.json +1 -0
- package/lib/module/requestAndroidLocationPermissions.js +1 -1
- package/lib/module/requestAndroidLocationPermissions.js.map +1 -1
- package/lib/module/shapeAnimators/ChangeLineOffsetsShapeAnimator.js +4 -2
- package/lib/module/shapeAnimators/ChangeLineOffsetsShapeAnimator.js.map +1 -1
- package/lib/module/shapeAnimators/MovePointShapeAnimator.js +2 -2
- package/lib/module/shapeAnimators/MovePointShapeAnimator.js.map +1 -1
- package/lib/module/specs/NativeMapViewModule.js +1 -1
- package/lib/module/specs/NativeMapViewModule.js.map +1 -1
- package/lib/module/specs/NativeRNMBXCameraModule.js +3 -1
- package/lib/module/specs/NativeRNMBXCameraModule.js.map +1 -1
- package/lib/module/specs/NativeRNMBXChangeLineOffsetsShapeAnimatorModule.js +3 -0
- package/lib/module/specs/NativeRNMBXChangeLineOffsetsShapeAnimatorModule.js.map +1 -1
- package/lib/module/specs/NativeRNMBXImageModule.js +1 -1
- package/lib/module/specs/NativeRNMBXImageModule.js.map +1 -1
- package/lib/module/specs/NativeRNMBXLocationModule.js +3 -1
- package/lib/module/specs/NativeRNMBXLocationModule.js.map +1 -1
- package/lib/module/specs/NativeRNMBXMovePointShapeAnimatorModule.js +2 -0
- package/lib/module/specs/NativeRNMBXMovePointShapeAnimatorModule.js.map +1 -1
- package/lib/module/specs/NativeRNMBXPointAnnotationModule.js +1 -1
- package/lib/module/specs/NativeRNMBXPointAnnotationModule.js.map +1 -1
- package/lib/module/specs/NativeRNMBXShapeSourceModule.js +1 -1
- package/lib/module/specs/NativeRNMBXShapeSourceModule.js.map +1 -1
- package/lib/module/specs/NativeRNMBXTileStoreModule.js +3 -1
- package/lib/module/specs/NativeRNMBXTileStoreModule.js.map +1 -1
- package/lib/module/specs/NativeRNMBXViewportModule.js +3 -1
- package/lib/module/specs/NativeRNMBXViewportModule.js.map +1 -1
- package/lib/module/specs/RNMBXAtmosphereNativeComponent.ts +1 -0
- package/lib/module/specs/RNMBXBackgroundLayerNativeComponent.ts +2 -0
- package/lib/module/specs/RNMBXCalloutNativeComponent.ts +1 -1
- package/lib/module/specs/RNMBXCameraNativeComponent.ts +2 -0
- package/lib/module/specs/RNMBXCircleLayerNativeComponent.ts +2 -0
- package/lib/module/specs/RNMBXCustomLocationProviderNativeComponent.ts +2 -0
- package/lib/module/specs/RNMBXFillExtrusionLayerNativeComponent.ts +2 -0
- package/lib/module/specs/RNMBXFillLayerNativeComponent.ts +2 -0
- package/lib/module/specs/RNMBXHeatmapLayerNativeComponent.ts +2 -0
- package/lib/module/specs/RNMBXImageNativeComponent.ts +2 -0
- package/lib/module/specs/RNMBXImageSourceNativeComponent.ts +1 -0
- package/lib/module/specs/RNMBXImagesNativeComponent.ts +2 -0
- package/lib/module/specs/RNMBXLightNativeComponent.ts +1 -0
- package/lib/module/specs/RNMBXLineLayerNativeComponent.ts +2 -0
- package/lib/module/specs/RNMBXMapViewNativeComponent.ts +2 -0
- package/lib/module/specs/RNMBXMarkerViewContentNativeComponent.ts +2 -2
- package/lib/module/specs/RNMBXMarkerViewNativeComponent.ts +2 -0
- package/lib/module/specs/RNMBXModelLayerNativeComponent.ts +2 -0
- package/lib/module/specs/RNMBXModelsNativeComponent.ts +1 -0
- package/lib/module/specs/RNMBXNativeUserLocationNativeComponent.ts +1 -0
- package/lib/module/specs/RNMBXPointAnnotationNativeComponent.ts +2 -0
- package/lib/module/specs/RNMBXRasterDemSourceNativeComponent.ts +2 -0
- package/lib/module/specs/RNMBXRasterLayerNativeComponent.ts +2 -0
- package/lib/module/specs/RNMBXRasterSourceNativeComponent.ts +2 -0
- package/lib/module/specs/RNMBXShapeSourceNativeComponent.ts +2 -0
- package/lib/module/specs/RNMBXSkyLayerNativeComponent.ts +2 -0
- package/lib/module/specs/RNMBXStyleImportNativeComponent.ts +1 -0
- package/lib/module/specs/RNMBXSymbolLayerNativeComponent.ts +2 -0
- package/lib/module/specs/RNMBXTerrainNativeComponent.ts +1 -0
- package/lib/module/specs/RNMBXVectorSourceNativeComponent.ts +2 -0
- package/lib/module/specs/RNMBXViewportNativeComponent.ts +2 -0
- package/lib/module/utils/BridgeValue.js +1 -1
- package/lib/module/utils/BridgeValue.js.map +1 -1
- package/lib/module/utils/Logger.js.map +1 -1
- package/lib/module/utils/MapboxStyles.d.js +48 -0
- package/lib/module/utils/MapboxStyles.d.js.map +1 -1
- package/lib/module/utils/NativeCommands.js.map +1 -1
- package/lib/module/utils/StyleValue.js +2 -2
- package/lib/module/utils/StyleValue.js.map +1 -1
- package/lib/module/utils/animated/Animated.js +9 -9
- package/lib/module/utils/animated/Animated.js.map +1 -1
- package/lib/module/utils/geoUtils.js +6 -1
- package/lib/module/utils/geoUtils.js.map +1 -1
- package/lib/module/utils/index.js +0 -1
- package/lib/module/utils/index.js.map +1 -1
- package/lib/module/utils/styleMap.js +31 -1
- package/lib/module/utils/styleMap.js.map +1 -1
- package/lib/module/web/MapboxModule.js +15 -8
- package/lib/module/web/MapboxModule.js.map +1 -1
- package/lib/module/web/components/Camera.js +3 -1
- package/lib/module/web/components/Camera.js.map +1 -1
- package/lib/module/web/components/MapView.js +1 -1
- package/lib/module/web/components/MapView.js.map +1 -1
- package/lib/module/web/components/MarkerView.js +1 -1
- package/lib/module/web/components/MarkerView.js.map +1 -1
- package/lib/module/web/index.js +6 -5
- package/lib/module/web/index.js.map +1 -1
- package/lib/module/web/utils/Logger.js +0 -2
- package/lib/module/web/utils/Logger.js.map +1 -1
- package/lib/typescript/app.plugin.d.ts +3 -0
- package/lib/typescript/app.plugin.d.ts.map +1 -0
- package/lib/typescript/babel.config.d.ts +10 -0
- package/lib/typescript/babel.config.d.ts.map +1 -0
- package/lib/typescript/eslint.config.d.mts +3 -0
- package/lib/typescript/eslint.config.d.mts.map +1 -0
- package/lib/typescript/example/src/examples/common/ExampleMetadata.d.ts +9 -0
- package/lib/typescript/example/src/examples/common/ExampleMetadata.d.ts.map +1 -0
- package/lib/typescript/index.d.ts +1 -0
- package/lib/typescript/index.d.ts.map +1 -0
- package/lib/typescript/package.json +1 -0
- package/lib/typescript/plugin/build/generateCode.d.ts +41 -0
- package/lib/typescript/plugin/build/generateCode.d.ts.map +1 -0
- package/lib/typescript/plugin/build/withMapbox.d.ts +26 -0
- package/lib/typescript/plugin/build/withMapbox.d.ts.map +1 -0
- package/lib/typescript/plugin/copy-plugin.d.ts +2 -0
- package/lib/typescript/plugin/copy-plugin.d.ts.map +1 -0
- package/lib/typescript/plugin/jest.config.d.ts +3 -0
- package/lib/typescript/plugin/jest.config.d.ts.map +1 -0
- package/lib/typescript/plugin/src/generateCode.d.ts +43 -0
- package/lib/typescript/plugin/src/generateCode.d.ts.map +1 -0
- package/lib/typescript/plugin/src/withMapbox.d.ts +20 -0
- package/lib/typescript/plugin/src/withMapbox.d.ts.map +1 -0
- package/lib/typescript/scripts/actions/lint-code-example-in-issues/fetch-issue-for-testing.d.ts +2 -0
- package/lib/typescript/scripts/actions/lint-code-example-in-issues/fetch-issue-for-testing.d.ts.map +1 -0
- package/lib/typescript/scripts/actions/lint-code-example-in-issues/lint-code-example-in-issues.d.ts +2 -0
- package/lib/typescript/scripts/actions/lint-code-example-in-issues/lint-code-example-in-issues.d.ts.map +1 -0
- package/lib/typescript/scripts/autogenHelpers/DocJSONBuilder.d.mts +20 -0
- package/lib/typescript/scripts/autogenHelpers/DocJSONBuilder.d.mts.map +1 -0
- package/lib/typescript/scripts/autogenHelpers/JSDocNodeTree.d.ts +47 -0
- package/lib/typescript/scripts/autogenHelpers/JSDocNodeTree.d.ts.map +1 -0
- package/lib/typescript/scripts/autogenHelpers/MarkdownBuilder.d.mts +21 -0
- package/lib/typescript/scripts/autogenHelpers/MarkdownBuilder.d.mts.map +1 -0
- package/lib/typescript/scripts/autogenHelpers/docconfig.d.ts +13 -0
- package/lib/typescript/scripts/autogenHelpers/docconfig.d.ts.map +1 -0
- package/lib/typescript/scripts/autogenHelpers/examplesJsonSchema.d.ts +18 -0
- package/lib/typescript/scripts/autogenHelpers/examplesJsonSchema.d.ts.map +1 -0
- package/lib/typescript/scripts/autogenHelpers/generateCodeWithEjs.d.mts +40 -0
- package/lib/typescript/scripts/autogenHelpers/generateCodeWithEjs.d.mts.map +1 -0
- package/lib/typescript/scripts/autogenHelpers/generateIOSComponents.d.mts +17 -0
- package/lib/typescript/scripts/autogenHelpers/generateIOSComponents.d.mts.map +1 -0
- package/lib/typescript/scripts/autogenHelpers/globals.d.mts +34 -0
- package/lib/typescript/scripts/autogenHelpers/globals.d.mts.map +1 -0
- package/lib/typescript/scripts/autogenHelpers/screenshotsJsonSchema.d.ts +10 -0
- package/lib/typescript/scripts/autogenHelpers/screenshotsJsonSchema.d.ts.map +1 -0
- package/lib/typescript/scripts/autogenerate.d.mts +2 -0
- package/lib/typescript/scripts/autogenerate.d.mts.map +1 -0
- package/lib/typescript/scripts/codegen-old-arch.d.ts +3 -0
- package/lib/typescript/scripts/codegen-old-arch.d.ts.map +1 -0
- package/lib/typescript/scripts/codepart-replace.d.mts +9 -0
- package/lib/typescript/scripts/codepart-replace.d.mts.map +1 -0
- package/lib/typescript/scripts/doc-generate.d.mts +2 -0
- package/lib/typescript/scripts/doc-generate.d.mts.map +1 -0
- package/lib/typescript/scripts/docjsongenerate.d.mts +2 -0
- package/lib/typescript/scripts/docjsongenerate.d.mts.map +1 -0
- package/lib/typescript/scripts/example-docs.d.ts +5 -0
- package/lib/typescript/scripts/example-docs.d.ts.map +1 -0
- package/lib/typescript/setup-jest.d.ts +2 -0
- package/lib/typescript/setup-jest.d.ts.map +1 -0
- package/lib/typescript/src/Mapbox.d.ts +3 -70
- package/lib/typescript/src/Mapbox.d.ts.map +1 -1
- package/lib/typescript/src/Mapbox.native.d.ts +71 -0
- package/lib/typescript/src/Mapbox.native.d.ts.map +1 -0
- package/lib/typescript/src/RNMBXModule.d.ts.map +1 -1
- package/lib/typescript/src/classes/AnimatedCoordinatesArray.d.ts +46 -0
- package/lib/typescript/src/classes/AnimatedCoordinatesArray.d.ts.map +1 -0
- package/lib/typescript/src/classes/AnimatedExtractCoordinateFromArray.d.ts +12 -0
- package/lib/typescript/src/classes/AnimatedExtractCoordinateFromArray.d.ts.map +1 -0
- package/lib/typescript/src/classes/AnimatedPoint.d.ts +38 -0
- package/lib/typescript/src/classes/AnimatedPoint.d.ts.map +1 -0
- package/lib/typescript/src/classes/AnimatedRouteCoordinatesArray.d.ts +23 -0
- package/lib/typescript/src/classes/AnimatedRouteCoordinatesArray.d.ts.map +1 -0
- package/lib/typescript/src/classes/AnimatedShape.d.ts +24 -0
- package/lib/typescript/src/classes/AnimatedShape.d.ts.map +1 -0
- package/lib/typescript/src/classes/index.d.ts +6 -0
- package/lib/typescript/src/classes/index.d.ts.map +1 -0
- package/lib/typescript/src/components/AbstractLayer.d.ts +2 -2
- package/lib/typescript/src/components/AbstractLayer.d.ts.map +1 -1
- package/lib/typescript/src/components/Annotation.d.ts +2 -2
- package/lib/typescript/src/components/Annotation.d.ts.map +1 -1
- package/lib/typescript/src/components/Atmosphere.d.ts +1 -2
- package/lib/typescript/src/components/Atmosphere.d.ts.map +1 -1
- package/lib/typescript/src/components/BackgroundLayer.d.ts +4 -4
- package/lib/typescript/src/components/BackgroundLayer.d.ts.map +1 -1
- package/lib/typescript/src/components/Callout.d.ts +167 -3
- package/lib/typescript/src/components/Callout.d.ts.map +1 -1
- package/lib/typescript/src/components/Camera.d.ts.map +1 -1
- package/lib/typescript/src/components/CircleLayer.d.ts +2 -2
- package/lib/typescript/src/components/CustomLocationProvider.d.ts +1 -2
- package/lib/typescript/src/components/CustomLocationProvider.d.ts.map +1 -1
- package/lib/typescript/src/components/FillExtrusionLayer.d.ts +2 -2
- package/lib/typescript/src/components/FillLayer.d.ts +4 -4
- package/lib/typescript/src/components/FillLayer.d.ts.map +1 -1
- package/lib/typescript/src/components/HeadingIndicator.d.ts +1 -2
- package/lib/typescript/src/components/HeadingIndicator.d.ts.map +1 -1
- package/lib/typescript/src/components/HeatmapLayer.d.ts +4 -4
- package/lib/typescript/src/components/HeatmapLayer.d.ts.map +1 -1
- package/lib/typescript/src/components/ImageSource.d.ts +2 -2
- package/lib/typescript/src/components/Images.d.ts +2 -2
- package/lib/typescript/src/components/Images.d.ts.map +1 -1
- package/lib/typescript/src/components/Light.d.ts.map +1 -1
- package/lib/typescript/src/components/LineLayer.d.ts +2 -3
- package/lib/typescript/src/components/LineLayer.d.ts.map +1 -1
- package/lib/typescript/src/components/LocationPuck.d.ts +1 -2
- package/lib/typescript/src/components/LocationPuck.d.ts.map +1 -1
- package/lib/typescript/src/components/MapView.d.ts +3 -3
- package/lib/typescript/src/components/MapView.d.ts.map +1 -1
- package/lib/typescript/src/components/MarkerView.d.ts +1 -1
- package/lib/typescript/src/components/ModelLayer.d.ts +2 -3
- package/lib/typescript/src/components/ModelLayer.d.ts.map +1 -1
- package/lib/typescript/src/components/Models.d.ts +1 -2
- package/lib/typescript/src/components/Models.d.ts.map +1 -1
- package/lib/typescript/src/components/PointAnnotation.d.ts +1 -1
- package/lib/typescript/src/components/RasterDemSource.d.ts +2 -2
- package/lib/typescript/src/components/RasterLayer.d.ts +2 -2
- package/lib/typescript/src/components/RasterSource.d.ts +2 -2
- package/lib/typescript/src/components/ShapeSource.d.ts +2 -2
- package/lib/typescript/src/components/SkyLayer.d.ts +2 -2
- package/lib/typescript/src/components/Style.d.ts +1 -2
- package/lib/typescript/src/components/Style.d.ts.map +1 -1
- package/lib/typescript/src/components/StyleImport.d.ts +1 -2
- package/lib/typescript/src/components/StyleImport.d.ts.map +1 -1
- package/lib/typescript/src/components/SymbolLayer.d.ts +2 -2
- package/lib/typescript/src/components/Terrain.d.ts +1 -2
- package/lib/typescript/src/components/Terrain.d.ts.map +1 -1
- package/lib/typescript/src/components/UserLocation.d.ts +2 -2
- package/lib/typescript/src/components/UserLocation.d.ts.map +1 -1
- package/lib/typescript/src/components/VectorSource.d.ts +2 -2
- package/lib/typescript/src/components/Viewport.d.ts.map +1 -1
- package/lib/typescript/src/index.native.d.ts +4 -0
- package/lib/typescript/src/index.native.d.ts.map +1 -0
- package/lib/typescript/src/modules/location/locationManager.d.ts +1 -1
- package/lib/typescript/src/modules/location/locationManager.d.ts.map +1 -1
- package/lib/typescript/src/modules/offline/offlineManager.d.ts +1 -1
- package/lib/typescript/src/modules/offline/offlineManager.d.ts.map +1 -1
- package/lib/typescript/src/modules/offline/offlineManagerLegacy.d.ts.map +1 -1
- package/lib/typescript/src/shapeAnimators/ChangeLineOffsetsShapeAnimator.d.ts.map +1 -1
- package/lib/typescript/src/specs/NativeMapViewModule.d.ts.map +1 -1
- package/lib/typescript/src/specs/NativeRNMBXCameraModule.d.ts +1 -1
- package/lib/typescript/src/specs/NativeRNMBXCameraModule.d.ts.map +1 -1
- package/lib/typescript/src/specs/NativeRNMBXChangeLineOffsetsShapeAnimatorModule.d.ts.map +1 -1
- package/lib/typescript/src/specs/NativeRNMBXImageModule.d.ts.map +1 -1
- package/lib/typescript/src/specs/NativeRNMBXLocationModule.d.ts +1 -1
- package/lib/typescript/src/specs/NativeRNMBXLocationModule.d.ts.map +1 -1
- package/lib/typescript/src/specs/NativeRNMBXMovePointShapeAnimatorModule.d.ts.map +1 -1
- package/lib/typescript/src/specs/NativeRNMBXPointAnnotationModule.d.ts.map +1 -1
- package/lib/typescript/src/specs/NativeRNMBXShapeSourceModule.d.ts.map +1 -1
- package/lib/typescript/src/specs/NativeRNMBXTileStoreModule.d.ts +1 -1
- package/lib/typescript/src/specs/NativeRNMBXTileStoreModule.d.ts.map +1 -1
- package/lib/typescript/src/specs/NativeRNMBXViewportModule.d.ts +1 -1
- package/lib/typescript/src/specs/NativeRNMBXViewportModule.d.ts.map +1 -1
- package/lib/typescript/src/specs/RNMBXAtmosphereNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/specs/RNMBXBackgroundLayerNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/specs/RNMBXCalloutNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/specs/RNMBXCameraNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/specs/RNMBXCircleLayerNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/specs/RNMBXCustomLocationProviderNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/specs/RNMBXFillExtrusionLayerNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/specs/RNMBXFillLayerNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/specs/RNMBXHeatmapLayerNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/specs/RNMBXImageNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/specs/RNMBXImageSourceNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/specs/RNMBXImagesNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/specs/RNMBXLightNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/specs/RNMBXLineLayerNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/specs/RNMBXMapViewNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/specs/RNMBXMarkerViewContentNativeComponent.d.ts +1 -1
- package/lib/typescript/src/specs/RNMBXMarkerViewContentNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/specs/RNMBXMarkerViewNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/specs/RNMBXModelLayerNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/specs/RNMBXModelsNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/specs/RNMBXNativeUserLocationNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/specs/RNMBXPointAnnotationNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/specs/RNMBXRasterDemSourceNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/specs/RNMBXRasterLayerNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/specs/RNMBXRasterSourceNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/specs/RNMBXShapeSourceNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/specs/RNMBXSkyLayerNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/specs/RNMBXStyleImportNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/specs/RNMBXSymbolLayerNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/specs/RNMBXTerrainNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/specs/RNMBXVectorSourceNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/specs/RNMBXViewportNativeComponent.d.ts.map +1 -1
- package/lib/typescript/src/specs/codegenUtils.d.ts.map +1 -1
- package/lib/typescript/src/utils/NativeCommands.d.ts.map +1 -1
- package/lib/typescript/src/utils/animated/Animated.d.ts +165 -9
- package/lib/typescript/src/utils/animated/Animated.d.ts.map +1 -1
- package/lib/typescript/src/utils/geoUtils.d.ts +7 -9
- package/lib/typescript/src/utils/geoUtils.d.ts.map +1 -1
- package/lib/typescript/src/utils/getAnnotationsLayerID.d.ts +1 -1
- package/lib/typescript/src/utils/getAnnotationsLayerID.d.ts.map +1 -1
- package/lib/typescript/src/utils/index.d.ts.map +1 -1
- package/lib/typescript/src/utils/nativeRef.d.ts +1 -1
- package/lib/typescript/src/utils/nativeRef.d.ts.map +1 -1
- package/lib/typescript/src/utils/styleMap.d.ts.map +1 -1
- package/lib/typescript/src/web/MapboxModule.d.ts +24 -0
- package/lib/typescript/src/web/MapboxModule.d.ts.map +1 -0
- package/lib/typescript/src/web/UnimplementedComponent.d.ts +47 -0
- package/lib/typescript/src/web/UnimplementedComponent.d.ts.map +1 -0
- package/lib/typescript/src/web/components/Camera.d.ts +1 -1
- package/lib/typescript/src/web/components/Camera.d.ts.map +1 -1
- package/lib/typescript/src/web/components/MapView.d.ts +1 -1
- package/lib/typescript/src/web/components/MarkerView.d.ts +1 -1
- package/lib/typescript/src/web/components/MarkerView.d.ts.map +1 -1
- package/lib/typescript/src/web/index.d.ts +28 -0
- package/lib/typescript/src/web/index.d.ts.map +1 -0
- package/lib/typescript/src/web/utils/Logger.d.ts.map +1 -1
- package/package.json +141 -97
- package/plugin/build/generateCode.js +0 -1
- package/plugin/build/withMapbox.js +14 -4
- package/plugin/install.md +18 -18
- package/plugin/src/generateCode.ts +0 -1
- package/plugin/src/withMapbox.ts +24 -4
- package/rnmapbox-maps.podspec +20 -4
- package/setup-jest.js +1 -0
- package/src/Mapbox.native.ts +125 -0
- package/src/Mapbox.ts +3 -124
- package/src/RNMBXModule.ts +0 -1
- package/src/classes/AnimatedRouteCoordinatesArray.js +1 -1
- package/src/components/Annotation.tsx +2 -0
- package/src/components/Atmosphere.tsx +1 -1
- package/src/components/BackgroundLayer.tsx +6 -6
- package/src/components/Camera.tsx +29 -16
- package/src/components/CircleLayer.tsx +1 -1
- package/src/components/CustomLocationProvider.tsx +1 -1
- package/src/components/FillExtrusionLayer.tsx +4 -4
- package/src/components/FillLayer.tsx +6 -3
- package/src/components/HeatmapLayer.tsx +3 -3
- package/src/components/Image.tsx +1 -1
- package/src/components/ImageSource.tsx +1 -1
- package/src/components/Images.tsx +13 -12
- package/src/components/Light.tsx +0 -1
- package/src/components/LineLayer.tsx +1 -2
- package/src/components/LocationPuck.tsx +1 -1
- package/src/components/MapView.tsx +8 -4
- package/src/components/MarkerView.tsx +3 -3
- package/src/components/ModelLayer.tsx +1 -2
- package/src/components/Models.tsx +1 -2
- package/src/components/RasterDemSource.tsx +3 -3
- package/src/components/RasterLayer.tsx +1 -1
- package/src/components/RasterSource.tsx +3 -3
- package/src/components/ShapeSource.tsx +3 -3
- package/src/components/SkyLayer.tsx +2 -2
- package/src/components/Style.tsx +4 -4
- package/src/components/StyleImport.tsx +1 -1
- package/src/components/SymbolLayer.tsx +1 -1
- package/src/components/Terrain.tsx +1 -1
- package/src/components/UserLocation.tsx +6 -1
- package/src/components/VectorSource.tsx +3 -3
- package/src/components/Viewport.tsx +2 -0
- package/src/components/codeparts/LayerPropsCommon.codepart-tsx +1 -1
- package/src/index.native.ts +4 -0
- package/src/modules/location/locationManager.ts +34 -23
- package/src/modules/offline/offlineManager.ts +7 -8
- package/src/modules/offline/offlineManagerLegacy.ts +3 -4
- package/src/requestAndroidLocationPermissions.ts +1 -1
- package/src/shapeAnimators/ChangeLineOffsetsShapeAnimator.ts +1 -0
- package/src/specs/NativeMapViewModule.ts +1 -1
- package/src/specs/NativeRNMBXCameraModule.ts +3 -2
- package/src/specs/NativeRNMBXChangeLineOffsetsShapeAnimatorModule.ts +2 -0
- package/src/specs/NativeRNMBXImageModule.ts +1 -1
- package/src/specs/NativeRNMBXLocationModule.ts +21 -21
- package/src/specs/NativeRNMBXMovePointShapeAnimatorModule.ts +1 -0
- package/src/specs/NativeRNMBXPointAnnotationModule.ts +1 -1
- package/src/specs/NativeRNMBXShapeSourceModule.ts +1 -1
- package/src/specs/NativeRNMBXTileStoreModule.ts +3 -2
- package/src/specs/NativeRNMBXViewportModule.ts +3 -2
- package/src/specs/RNMBXAtmosphereNativeComponent.ts +1 -0
- package/src/specs/RNMBXBackgroundLayerNativeComponent.ts +2 -0
- package/src/specs/RNMBXCalloutNativeComponent.ts +1 -1
- package/src/specs/RNMBXCameraNativeComponent.ts +2 -0
- package/src/specs/RNMBXCircleLayerNativeComponent.ts +2 -0
- package/src/specs/RNMBXCustomLocationProviderNativeComponent.ts +2 -0
- package/src/specs/RNMBXFillExtrusionLayerNativeComponent.ts +2 -0
- package/src/specs/RNMBXFillLayerNativeComponent.ts +2 -0
- package/src/specs/RNMBXHeatmapLayerNativeComponent.ts +2 -0
- package/src/specs/RNMBXImageNativeComponent.ts +2 -0
- package/src/specs/RNMBXImageSourceNativeComponent.ts +1 -0
- package/src/specs/RNMBXImagesNativeComponent.ts +2 -0
- package/src/specs/RNMBXLightNativeComponent.ts +1 -0
- package/src/specs/RNMBXLineLayerNativeComponent.ts +2 -0
- package/src/specs/RNMBXMapViewNativeComponent.ts +2 -0
- package/src/specs/RNMBXMarkerViewContentNativeComponent.ts +2 -2
- package/src/specs/RNMBXMarkerViewNativeComponent.ts +2 -0
- package/src/specs/RNMBXModelLayerNativeComponent.ts +2 -0
- package/src/specs/RNMBXModelsNativeComponent.ts +1 -0
- package/src/specs/RNMBXNativeUserLocationNativeComponent.ts +1 -0
- package/src/specs/RNMBXPointAnnotationNativeComponent.ts +2 -0
- package/src/specs/RNMBXRasterDemSourceNativeComponent.ts +2 -0
- package/src/specs/RNMBXRasterLayerNativeComponent.ts +2 -0
- package/src/specs/RNMBXRasterSourceNativeComponent.ts +2 -0
- package/src/specs/RNMBXShapeSourceNativeComponent.ts +2 -0
- package/src/specs/RNMBXSkyLayerNativeComponent.ts +2 -0
- package/src/specs/RNMBXStyleImportNativeComponent.ts +1 -0
- package/src/specs/RNMBXSymbolLayerNativeComponent.ts +2 -0
- package/src/specs/RNMBXTerrainNativeComponent.ts +1 -0
- package/src/specs/RNMBXVectorSourceNativeComponent.ts +2 -0
- package/src/specs/RNMBXViewportNativeComponent.ts +2 -0
- package/src/specs/codegenUtils.ts +1 -0
- package/src/utils/BridgeValue.ts +1 -1
- package/src/utils/Logger.ts +1 -1
- package/src/utils/MapboxStyles.d.ts +238 -0
- package/src/utils/NativeCommands.ts +2 -4
- package/src/utils/geoUtils.ts +3 -0
- package/src/utils/index.ts +2 -3
- package/src/utils/nativeRef.ts +1 -1
- package/src/utils/styleMap.ts +30 -0
- package/src/web/MapboxModule.ts +24 -0
- package/src/web/components/Camera.tsx +2 -1
- package/src/web/components/MarkerView.tsx +2 -2
- package/src/web/{index.js → index.tsx} +3 -0
- package/src/web/utils/Logger.ts +0 -1
- package/android/.classpath +0 -6
- package/lib/commonjs/Mapbox.js +0 -456
- package/lib/commonjs/Mapbox.js.map +0 -1
- package/lib/commonjs/RNMBXModule.js +0 -46
- package/lib/commonjs/RNMBXModule.js.map +0 -1
- package/lib/commonjs/assets/heading.png +0 -0
- package/lib/commonjs/assets/heading@2x.png +0 -0
- package/lib/commonjs/assets/heading@3x.png +0 -0
- package/lib/commonjs/classes/AnimatedCoordinatesArray.js +0 -164
- package/lib/commonjs/classes/AnimatedCoordinatesArray.js.map +0 -1
- package/lib/commonjs/classes/AnimatedExtractCoordinateFromArray.js +0 -42
- package/lib/commonjs/classes/AnimatedExtractCoordinateFromArray.js.map +0 -1
- package/lib/commonjs/classes/AnimatedPoint.js +0 -111
- package/lib/commonjs/classes/AnimatedPoint.js.map +0 -1
- package/lib/commonjs/classes/AnimatedRouteCoordinatesArray.js +0 -153
- package/lib/commonjs/classes/AnimatedRouteCoordinatesArray.js.map +0 -1
- package/lib/commonjs/classes/AnimatedShape.js +0 -77
- package/lib/commonjs/classes/AnimatedShape.js.map +0 -1
- package/lib/commonjs/classes/index.d.js +0 -18
- package/lib/commonjs/classes/index.d.js.map +0 -1
- package/lib/commonjs/classes/index.js +0 -61
- package/lib/commonjs/classes/index.js.map +0 -1
- package/lib/commonjs/components/AbstractLayer.js +0 -56
- package/lib/commonjs/components/AbstractLayer.js.map +0 -1
- package/lib/commonjs/components/AbstractSource.js +0 -20
- package/lib/commonjs/components/AbstractSource.js.map +0 -1
- package/lib/commonjs/components/Annotation.js +0 -99
- package/lib/commonjs/components/Annotation.js.map +0 -1
- package/lib/commonjs/components/Atmosphere.js +0 -25
- package/lib/commonjs/components/Atmosphere.js.map +0 -1
- package/lib/commonjs/components/BackgroundLayer.js +0 -32
- package/lib/commonjs/components/BackgroundLayer.js.map +0 -1
- package/lib/commonjs/components/Callout.js +0 -95
- package/lib/commonjs/components/Callout.js.map +0 -1
- package/lib/commonjs/components/Camera.js +0 -389
- package/lib/commonjs/components/Camera.js.map +0 -1
- package/lib/commonjs/components/CircleLayer.js +0 -43
- package/lib/commonjs/components/CircleLayer.js.map +0 -1
- package/lib/commonjs/components/CustomLocationProvider.js +0 -18
- package/lib/commonjs/components/CustomLocationProvider.js.map +0 -1
- package/lib/commonjs/components/FillExtrusionLayer.js +0 -36
- package/lib/commonjs/components/FillExtrusionLayer.js.map +0 -1
- package/lib/commonjs/components/FillLayer.js +0 -42
- package/lib/commonjs/components/FillLayer.js.map +0 -1
- package/lib/commonjs/components/HeadingIndicator.js +0 -39
- package/lib/commonjs/components/HeadingIndicator.js.map +0 -1
- package/lib/commonjs/components/HeatmapLayer.js +0 -43
- package/lib/commonjs/components/HeatmapLayer.js.map +0 -1
- package/lib/commonjs/components/Image.js +0 -47
- package/lib/commonjs/components/Image.js.map +0 -1
- package/lib/commonjs/components/ImageSource.js +0 -51
- package/lib/commonjs/components/ImageSource.js.map +0 -1
- package/lib/commonjs/components/Images.js +0 -110
- package/lib/commonjs/components/Images.js.map +0 -1
- package/lib/commonjs/components/Light.js +0 -45
- package/lib/commonjs/components/Light.js.map +0 -1
- package/lib/commonjs/components/LineLayer.js +0 -42
- package/lib/commonjs/components/LineLayer.js.map +0 -1
- package/lib/commonjs/components/LocationPuck.js +0 -68
- package/lib/commonjs/components/LocationPuck.js.map +0 -1
- package/lib/commonjs/components/MapView.js +0 -649
- package/lib/commonjs/components/MapView.js.map +0 -1
- package/lib/commonjs/components/MarkerView.js +0 -102
- package/lib/commonjs/components/MarkerView.js.map +0 -1
- package/lib/commonjs/components/ModelLayer.js +0 -38
- package/lib/commonjs/components/ModelLayer.js.map +0 -1
- package/lib/commonjs/components/Models.js +0 -44
- package/lib/commonjs/components/Models.js.map +0 -1
- package/lib/commonjs/components/NativeBridgeComponent.js +0 -41
- package/lib/commonjs/components/NativeBridgeComponent.js.map +0 -1
- package/lib/commonjs/components/PointAnnotation.js +0 -140
- package/lib/commonjs/components/PointAnnotation.js.map +0 -1
- package/lib/commonjs/components/RasterDemSource.js +0 -64
- package/lib/commonjs/components/RasterDemSource.js.map +0 -1
- package/lib/commonjs/components/RasterLayer.js +0 -39
- package/lib/commonjs/components/RasterLayer.js.map +0 -1
- package/lib/commonjs/components/RasterSource.js +0 -71
- package/lib/commonjs/components/RasterSource.js.map +0 -1
- package/lib/commonjs/components/ShapeSource.js +0 -163
- package/lib/commonjs/components/ShapeSource.js.map +0 -1
- package/lib/commonjs/components/SkyLayer.js +0 -31
- package/lib/commonjs/components/SkyLayer.js.map +0 -1
- package/lib/commonjs/components/Style.js +0 -265
- package/lib/commonjs/components/Style.js.map +0 -1
- package/lib/commonjs/components/StyleImport.js +0 -22
- package/lib/commonjs/components/StyleImport.js.map +0 -1
- package/lib/commonjs/components/SymbolLayer.js +0 -64
- package/lib/commonjs/components/SymbolLayer.js.map +0 -1
- package/lib/commonjs/components/Terrain.js +0 -35
- package/lib/commonjs/components/Terrain.js.map +0 -1
- package/lib/commonjs/components/UserLocation.js +0 -210
- package/lib/commonjs/components/UserLocation.js.map +0 -1
- package/lib/commonjs/components/VectorSource.js +0 -97
- package/lib/commonjs/components/VectorSource.js.map +0 -1
- package/lib/commonjs/components/Viewport.js +0 -64
- package/lib/commonjs/components/Viewport.js.map +0 -1
- package/lib/commonjs/components/codeparts/LayerPropsCommon.codepart-tsx +0 -62
- package/lib/commonjs/global.d.js +0 -2
- package/lib/commonjs/global.d.js.map +0 -1
- package/lib/commonjs/index.js +0 -22
- package/lib/commonjs/index.js.map +0 -1
- package/lib/commonjs/index.web.js +0 -26
- package/lib/commonjs/index.web.js.map +0 -1
- package/lib/commonjs/modules/location/locationManager.js +0 -155
- package/lib/commonjs/modules/location/locationManager.js.map +0 -1
- package/lib/commonjs/modules/offline/OfflineCreatePackOptions.js +0 -43
- package/lib/commonjs/modules/offline/OfflineCreatePackOptions.js.map +0 -1
- package/lib/commonjs/modules/offline/OfflinePack.js +0 -40
- package/lib/commonjs/modules/offline/OfflinePack.js.map +0 -1
- package/lib/commonjs/modules/offline/OfflinePackLegacy.js +0 -40
- package/lib/commonjs/modules/offline/OfflinePackLegacy.js.map +0 -1
- package/lib/commonjs/modules/offline/TileStore.js +0 -46
- package/lib/commonjs/modules/offline/TileStore.js.map +0 -1
- package/lib/commonjs/modules/offline/offlineManager.js +0 -373
- package/lib/commonjs/modules/offline/offlineManager.js.map +0 -1
- package/lib/commonjs/modules/offline/offlineManagerLegacy.js +0 -166
- package/lib/commonjs/modules/offline/offlineManagerLegacy.js.map +0 -1
- package/lib/commonjs/modules/snapshot/SnapshotOptions.js +0 -58
- package/lib/commonjs/modules/snapshot/SnapshotOptions.js.map +0 -1
- package/lib/commonjs/modules/snapshot/snapshotManager.js +0 -66
- package/lib/commonjs/modules/snapshot/snapshotManager.js.map +0 -1
- package/lib/commonjs/package.json +0 -1
- package/lib/commonjs/requestAndroidLocationPermissions.js +0 -25
- package/lib/commonjs/requestAndroidLocationPermissions.js.map +0 -1
- package/lib/commonjs/shapeAnimators/ChangeLineOffsetsShapeAnimator.js +0 -27
- package/lib/commonjs/shapeAnimators/ChangeLineOffsetsShapeAnimator.js.map +0 -1
- package/lib/commonjs/shapeAnimators/MovePointShapeAnimator.js +0 -21
- package/lib/commonjs/shapeAnimators/MovePointShapeAnimator.js.map +0 -1
- package/lib/commonjs/shapeAnimators/ShapeAnimatorManager.js +0 -15
- package/lib/commonjs/shapeAnimators/ShapeAnimatorManager.js.map +0 -1
- package/lib/commonjs/shapeAnimators/index.js +0 -2
- package/lib/commonjs/shapeAnimators/index.js.map +0 -1
- package/lib/commonjs/specs/NativeMapViewModule.js +0 -10
- package/lib/commonjs/specs/NativeMapViewModule.js.map +0 -1
- package/lib/commonjs/specs/NativeRNMBXCameraModule.js +0 -10
- package/lib/commonjs/specs/NativeRNMBXCameraModule.js.map +0 -1
- package/lib/commonjs/specs/NativeRNMBXChangeLineOffsetsShapeAnimatorModule.js +0 -10
- package/lib/commonjs/specs/NativeRNMBXChangeLineOffsetsShapeAnimatorModule.js.map +0 -1
- package/lib/commonjs/specs/NativeRNMBXImageModule.js +0 -10
- package/lib/commonjs/specs/NativeRNMBXImageModule.js.map +0 -1
- package/lib/commonjs/specs/NativeRNMBXLocationModule.js +0 -9
- package/lib/commonjs/specs/NativeRNMBXLocationModule.js.map +0 -1
- package/lib/commonjs/specs/NativeRNMBXMovePointShapeAnimatorModule.js +0 -10
- package/lib/commonjs/specs/NativeRNMBXMovePointShapeAnimatorModule.js.map +0 -1
- package/lib/commonjs/specs/NativeRNMBXPointAnnotationModule.js +0 -10
- package/lib/commonjs/specs/NativeRNMBXPointAnnotationModule.js.map +0 -1
- package/lib/commonjs/specs/NativeRNMBXShapeSourceModule.js +0 -10
- package/lib/commonjs/specs/NativeRNMBXShapeSourceModule.js.map +0 -1
- package/lib/commonjs/specs/NativeRNMBXTileStoreModule.js +0 -11
- package/lib/commonjs/specs/NativeRNMBXTileStoreModule.js.map +0 -1
- package/lib/commonjs/specs/NativeRNMBXViewportModule.js +0 -10
- package/lib/commonjs/specs/NativeRNMBXViewportModule.js.map +0 -1
- package/lib/commonjs/specs/RNMBXAtmosphereNativeComponent.ts +0 -12
- package/lib/commonjs/specs/RNMBXBackgroundLayerNativeComponent.ts +0 -27
- package/lib/commonjs/specs/RNMBXCalloutNativeComponent.ts +0 -9
- package/lib/commonjs/specs/RNMBXCameraNativeComponent.ts +0 -46
- package/lib/commonjs/specs/RNMBXCircleLayerNativeComponent.ts +0 -37
- package/lib/commonjs/specs/RNMBXCustomLocationProviderNativeComponent.ts +0 -19
- package/lib/commonjs/specs/RNMBXFillExtrusionLayerNativeComponent.ts +0 -28
- package/lib/commonjs/specs/RNMBXFillLayerNativeComponent.ts +0 -37
- package/lib/commonjs/specs/RNMBXHeatmapLayerNativeComponent.ts +0 -37
- package/lib/commonjs/specs/RNMBXImageNativeComponent.ts +0 -18
- package/lib/commonjs/specs/RNMBXImageSourceNativeComponent.ts +0 -15
- package/lib/commonjs/specs/RNMBXImagesNativeComponent.ts +0 -21
- package/lib/commonjs/specs/RNMBXLightNativeComponent.ts +0 -12
- package/lib/commonjs/specs/RNMBXLineLayerNativeComponent.ts +0 -37
- package/lib/commonjs/specs/RNMBXMapViewNativeComponent.ts +0 -141
- package/lib/commonjs/specs/RNMBXMarkerViewContentNativeComponent.ts +0 -9
- package/lib/commonjs/specs/RNMBXMarkerViewNativeComponent.ts +0 -24
- package/lib/commonjs/specs/RNMBXModelLayerNativeComponent.ts +0 -38
- package/lib/commonjs/specs/RNMBXModelsNativeComponent.ts +0 -18
- package/lib/commonjs/specs/RNMBXNativeUserLocationNativeComponent.ts +0 -39
- package/lib/commonjs/specs/RNMBXPointAnnotationNativeComponent.ts +0 -40
- package/lib/commonjs/specs/RNMBXRasterDemSourceNativeComponent.ts +0 -19
- package/lib/commonjs/specs/RNMBXRasterLayerNativeComponent.ts +0 -37
- package/lib/commonjs/specs/RNMBXRasterSourceNativeComponent.ts +0 -22
- package/lib/commonjs/specs/RNMBXShapeSourceNativeComponent.ts +0 -33
- package/lib/commonjs/specs/RNMBXSkyLayerNativeComponent.ts +0 -27
- package/lib/commonjs/specs/RNMBXStyleImportNativeComponent.ts +0 -14
- package/lib/commonjs/specs/RNMBXSymbolLayerNativeComponent.ts +0 -37
- package/lib/commonjs/specs/RNMBXTerrainNativeComponent.ts +0 -13
- package/lib/commonjs/specs/RNMBXVectorSourceNativeComponent.ts +0 -28
- package/lib/commonjs/specs/RNMBXViewportNativeComponent.ts +0 -117
- package/lib/commonjs/specs/codegenUtils.js +0 -6
- package/lib/commonjs/specs/codegenUtils.js.map +0 -1
- package/lib/commonjs/specs/codeparts/CommonLayerNativeComponentsProps.codepart-ts +0 -18
- package/lib/commonjs/types/BaseProps.js +0 -2
- package/lib/commonjs/types/BaseProps.js.map +0 -1
- package/lib/commonjs/types/OnPressEvent.js +0 -2
- package/lib/commonjs/types/OnPressEvent.js.map +0 -1
- package/lib/commonjs/types/Position.js +0 -2
- package/lib/commonjs/types/Position.js.map +0 -1
- package/lib/commonjs/types/index.js +0 -6
- package/lib/commonjs/types/index.js.map +0 -1
- package/lib/commonjs/utils/BridgeValue.js +0 -64
- package/lib/commonjs/utils/BridgeValue.js.map +0 -1
- package/lib/commonjs/utils/Logger.js +0 -122
- package/lib/commonjs/utils/Logger.js.map +0 -1
- package/lib/commonjs/utils/MapboxStyles.d.js +0 -282
- package/lib/commonjs/utils/MapboxStyles.d.js.map +0 -1
- package/lib/commonjs/utils/NativeCommands.js +0 -50
- package/lib/commonjs/utils/NativeCommands.js.map +0 -1
- package/lib/commonjs/utils/StyleValue.js +0 -44
- package/lib/commonjs/utils/StyleValue.js.map +0 -1
- package/lib/commonjs/utils/animated/Animated.js +0 -32
- package/lib/commonjs/utils/animated/Animated.js.map +0 -1
- package/lib/commonjs/utils/checkRequiredProps.js +0 -14
- package/lib/commonjs/utils/checkRequiredProps.js.map +0 -1
- package/lib/commonjs/utils/deprecation.js +0 -39
- package/lib/commonjs/utils/deprecation.js.map +0 -1
- package/lib/commonjs/utils/filterUtils.js +0 -13
- package/lib/commonjs/utils/filterUtils.js.map +0 -1
- package/lib/commonjs/utils/geoUtils.js +0 -32
- package/lib/commonjs/utils/geoUtils.js.map +0 -1
- package/lib/commonjs/utils/getAnnotationsLayerID.js +0 -21
- package/lib/commonjs/utils/getAnnotationsLayerID.js.map +0 -1
- package/lib/commonjs/utils/index.js +0 -91
- package/lib/commonjs/utils/index.js.map +0 -1
- package/lib/commonjs/utils/nativeRef.js +0 -27
- package/lib/commonjs/utils/nativeRef.js.map +0 -1
- package/lib/commonjs/utils/styleMap.js +0 -343
- package/lib/commonjs/utils/styleMap.js.map +0 -1
- package/lib/commonjs/web/MapContext.js +0 -11
- package/lib/commonjs/web/MapContext.js.map +0 -1
- package/lib/commonjs/web/MapboxModule.js +0 -20
- package/lib/commonjs/web/MapboxModule.js.map +0 -1
- package/lib/commonjs/web/UnimplementedComponent.js +0 -18
- package/lib/commonjs/web/UnimplementedComponent.js.map +0 -1
- package/lib/commonjs/web/components/Camera.js +0 -185
- package/lib/commonjs/web/components/Camera.js.map +0 -1
- package/lib/commonjs/web/components/MapView.js +0 -67
- package/lib/commonjs/web/components/MapView.js.map +0 -1
- package/lib/commonjs/web/components/MarkerView.js +0 -63
- package/lib/commonjs/web/components/MarkerView.js.map +0 -1
- package/lib/commonjs/web/index.js +0 -49
- package/lib/commonjs/web/index.js.map +0 -1
- package/lib/commonjs/web/install.md +0 -25
- package/lib/commonjs/web/utils/Logger.js +0 -97
- package/lib/commonjs/web/utils/Logger.js.map +0 -1
- package/lib/module/index.web.js +0 -5
- package/lib/module/index.web.js.map +0 -1
- package/src/index.web.js +0 -2
- package/src/web/MapboxModule.js +0 -16
|
@@ -1,649 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var _reactNative = require("react-native");
|
|
9
|
-
var _debounce = _interopRequireDefault(require("debounce"));
|
|
10
|
-
var _RNMBXMapViewNativeComponent = _interopRequireDefault(require("../specs/RNMBXMapViewNativeComponent"));
|
|
11
|
-
var _NativeMapViewModule = _interopRequireDefault(require("../specs/NativeMapViewModule"));
|
|
12
|
-
var _utils = require("../utils");
|
|
13
|
-
var _filterUtils = require("../utils/filterUtils");
|
|
14
|
-
var _Logger = _interopRequireDefault(require("../utils/Logger"));
|
|
15
|
-
var _NativeBridgeComponent = _interopRequireDefault(require("./NativeBridgeComponent"));
|
|
16
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
17
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
18
|
-
const {
|
|
19
|
-
RNMBXModule
|
|
20
|
-
} = _reactNative.NativeModules;
|
|
21
|
-
const {
|
|
22
|
-
EventTypes
|
|
23
|
-
} = RNMBXModule;
|
|
24
|
-
if (RNMBXModule == null) {
|
|
25
|
-
console.error('Native part of Mapbox React Native libraries were not registered properly, double check our native installation guides.');
|
|
26
|
-
}
|
|
27
|
-
if (!RNMBXModule.MapboxV10) {
|
|
28
|
-
console.warn('@rnmapbox/maps: Non v10 implementations are deprecated and will be removed in next version - see https://github.com/rnmapbox/maps/wiki/Deprecated-RNMapboxImpl-Maplibre');
|
|
29
|
-
}
|
|
30
|
-
const styles = _reactNative.StyleSheet.create({
|
|
31
|
-
matchParent: {
|
|
32
|
-
flex: 1
|
|
33
|
-
}
|
|
34
|
-
});
|
|
35
|
-
const defaultStyleURL = RNMBXModule.StyleURL.Street;
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* v10 only
|
|
39
|
-
*/
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* label localization settings (v10 only). `true` is equivalent to current locale.
|
|
43
|
-
*/
|
|
44
|
-
|
|
45
|
-
const CallbablePropKeys = ['onRegionWillChange', 'onRegionIsChanging', 'onRegionDidChange', 'onUserLocationUpdate', 'onWillStartLoadingMap', 'onMapLoadingError', 'onDidFinishLoadingMap', 'onDidFailLoadingMap', 'onWillStartRenderingFrame', 'onDidFinishRenderingFrame', 'onDidFinishRenderingFrameFully', 'onWillStartRenderingMap', 'onDidFinishRenderingMap', 'onDidFinishRenderingMapFully', 'onDidFinishLoadingStyle', 'onMapIdle', 'onCameraChanged'];
|
|
46
|
-
/**
|
|
47
|
-
* MapView backed by Mapbox Native GL
|
|
48
|
-
*/
|
|
49
|
-
class MapView extends (0, _NativeBridgeComponent.default)(_react.default.PureComponent, _NativeMapViewModule.default) {
|
|
50
|
-
static defaultProps = {
|
|
51
|
-
scrollEnabled: true,
|
|
52
|
-
pitchEnabled: true,
|
|
53
|
-
rotateEnabled: true,
|
|
54
|
-
attributionEnabled: true,
|
|
55
|
-
compassEnabled: false,
|
|
56
|
-
compassFadeWhenNorth: false,
|
|
57
|
-
logoEnabled: true,
|
|
58
|
-
scaleBarEnabled: true,
|
|
59
|
-
surfaceView: RNMBXModule.MapboxV10 ? true : false,
|
|
60
|
-
requestDisallowInterceptTouchEvent: false,
|
|
61
|
-
regionWillChangeDebounceTime: 10,
|
|
62
|
-
regionDidChangeDebounceTime: 500
|
|
63
|
-
};
|
|
64
|
-
deprecationLogged = {
|
|
65
|
-
contentInset: false,
|
|
66
|
-
regionDidChange: false,
|
|
67
|
-
regionIsChanging: false
|
|
68
|
-
};
|
|
69
|
-
constructor(props) {
|
|
70
|
-
super(props);
|
|
71
|
-
this.logger = _Logger.default.sharedInstance();
|
|
72
|
-
this.logger.start();
|
|
73
|
-
this.state = {
|
|
74
|
-
isReady: null,
|
|
75
|
-
region: null,
|
|
76
|
-
width: 0,
|
|
77
|
-
height: 0,
|
|
78
|
-
isUserInteraction: false
|
|
79
|
-
};
|
|
80
|
-
this._onPress = this._onPress.bind(this);
|
|
81
|
-
this._onLongPress = this._onLongPress.bind(this);
|
|
82
|
-
this._onChange = this._onChange.bind(this);
|
|
83
|
-
this._onLayout = this._onLayout.bind(this);
|
|
84
|
-
this._onCameraChanged = this._onCameraChanged.bind(this);
|
|
85
|
-
|
|
86
|
-
// debounced map change methods
|
|
87
|
-
this._onDebouncedRegionWillChange = (0, _debounce.default)(this._onRegionWillChange.bind(this), props.regionWillChangeDebounceTime, {
|
|
88
|
-
immediate: true
|
|
89
|
-
});
|
|
90
|
-
this._onDebouncedRegionDidChange = (0, _debounce.default)(this._onRegionDidChange.bind(this), props.regionDidChangeDebounceTime);
|
|
91
|
-
}
|
|
92
|
-
componentDidMount() {
|
|
93
|
-
this._setHandledMapChangedEvents(this.props);
|
|
94
|
-
}
|
|
95
|
-
componentWillUnmount() {
|
|
96
|
-
this._onDebouncedRegionWillChange.clear();
|
|
97
|
-
this._onDebouncedRegionDidChange.clear();
|
|
98
|
-
this.logger.stop();
|
|
99
|
-
}
|
|
100
|
-
componentDidUpdate(prevProps) {
|
|
101
|
-
const callbackProps = CallbablePropKeys;
|
|
102
|
-
const hasCallbackPropsChanged = callbackProps.some(propName => prevProps[propName] !== this.props[propName]);
|
|
103
|
-
if (hasCallbackPropsChanged) {
|
|
104
|
-
this._setHandledMapChangedEvents(this.props);
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
_setHandledMapChangedEvents(props) {
|
|
108
|
-
if ((0, _utils.isAndroid)() || RNMBXModule.MapboxV10) {
|
|
109
|
-
const events = [];
|
|
110
|
-
function addIfHasHandler(name) {
|
|
111
|
-
if (props[`on${name}`] != null) {
|
|
112
|
-
if (EventTypes[name] == null) {
|
|
113
|
-
if (name === 'DidFailLoadingMap') {
|
|
114
|
-
console.warn(`rnmapbox maps: on${name} is deprecated, please use onMapLoadingError`);
|
|
115
|
-
} else {
|
|
116
|
-
console.warn(`rnmapbox maps: ${name} is not supported`);
|
|
117
|
-
}
|
|
118
|
-
} else {
|
|
119
|
-
events.push(EventTypes[name]);
|
|
120
|
-
return true;
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
return false;
|
|
124
|
-
}
|
|
125
|
-
addIfHasHandler('RegionWillChange');
|
|
126
|
-
addIfHasHandler('RegionIsChanging');
|
|
127
|
-
addIfHasHandler('RegionDidChange');
|
|
128
|
-
addIfHasHandler('UserLocationUpdate');
|
|
129
|
-
addIfHasHandler('WillStartLoadingMap');
|
|
130
|
-
addIfHasHandler('DidFinishLoadingMap');
|
|
131
|
-
addIfHasHandler('MapLoadingError');
|
|
132
|
-
addIfHasHandler('DidFailLoadingMap');
|
|
133
|
-
addIfHasHandler('WillStartRenderingFrame');
|
|
134
|
-
addIfHasHandler('DidFinishRenderingFrame');
|
|
135
|
-
addIfHasHandler('DidFinishRenderingFrameFully');
|
|
136
|
-
addIfHasHandler('WillStartRenderingMap');
|
|
137
|
-
addIfHasHandler('DidFinishRenderingMap');
|
|
138
|
-
addIfHasHandler('DidFinishRenderingMapFully');
|
|
139
|
-
addIfHasHandler('DidFinishLoadingStyle');
|
|
140
|
-
addIfHasHandler('CameraChanged');
|
|
141
|
-
addIfHasHandler('MapIdle');
|
|
142
|
-
if (addIfHasHandler('RegionDidChange')) {
|
|
143
|
-
if (!this.deprecationLogged.regionDidChange) {
|
|
144
|
-
console.warn('onRegionDidChange is deprecated and will be removed in next release - please use onMapIdle. https://github.com/rnmapbox/maps/wiki/Deprecated-RegionIsDidChange');
|
|
145
|
-
this.deprecationLogged.regionDidChange = true;
|
|
146
|
-
}
|
|
147
|
-
if (props.onMapIdle) {
|
|
148
|
-
console.warn('rnmapbox/maps: only one of MapView.onRegionDidChange or onMapIdle is supported');
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
if (addIfHasHandler('RegionIsChanging')) {
|
|
152
|
-
if (!this.deprecationLogged.regionIsChanging) {
|
|
153
|
-
console.warn('onRegionIsChanging is deprecated and will be removed in next release - please use onCameraChanged. https://github.com/rnmapbox/maps/wiki/Deprecated-RegionIsDidChange');
|
|
154
|
-
this.deprecationLogged.regionIsChanging = true;
|
|
155
|
-
}
|
|
156
|
-
if (props.onCameraChanged) {
|
|
157
|
-
console.warn('rnmapbox/maps: only one of MapView.onRegionIsChanging or onCameraChanged is supported');
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
if (props.onRegionWillChange) {
|
|
161
|
-
console.warn('onRegionWillChange is deprecated and will be removed in v10 - please use onRegionIsChanging');
|
|
162
|
-
}
|
|
163
|
-
this._runNativeMethod('setHandledMapChangedEvents', this._nativeRef, [events]);
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
/**
|
|
168
|
-
* Converts a geographic coordinate to a point in the given view’s coordinate system.
|
|
169
|
-
*
|
|
170
|
-
* @example
|
|
171
|
-
* const pointInView = await this._map.getPointInView([-37.817070, 144.949901]);
|
|
172
|
-
*
|
|
173
|
-
* @param {Array<number>} coordinate - A point expressed in the map view's coordinate system.
|
|
174
|
-
* @return {Array}
|
|
175
|
-
*/
|
|
176
|
-
async getPointInView(coordinate) {
|
|
177
|
-
const res = await this._runNative('getPointInView', [coordinate]);
|
|
178
|
-
return res.pointInView;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
/**
|
|
182
|
-
* Converts a point in the given view’s coordinate system to a geographic coordinate.
|
|
183
|
-
*
|
|
184
|
-
* @example
|
|
185
|
-
* const coordinate = await this._map.getCoordinateFromView([100, 100]);
|
|
186
|
-
*
|
|
187
|
-
* @param {Array<number>} point - A point expressed in the given view’s coordinate system.
|
|
188
|
-
* @return {Array}
|
|
189
|
-
*/
|
|
190
|
-
async getCoordinateFromView(point) {
|
|
191
|
-
const res = await this._runNative('getCoordinateFromView', [point]);
|
|
192
|
-
return res.coordinateFromView;
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
/**
|
|
196
|
-
* The coordinate bounds (ne, sw) visible in the user’s viewport.
|
|
197
|
-
*
|
|
198
|
-
* @example
|
|
199
|
-
* const visibleBounds = await this._map.getVisibleBounds();
|
|
200
|
-
*
|
|
201
|
-
* @return {Array}
|
|
202
|
-
*/
|
|
203
|
-
async getVisibleBounds() {
|
|
204
|
-
const res = await this._runNative('getVisibleBounds');
|
|
205
|
-
return res.visibleBounds;
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
/**
|
|
209
|
-
* Returns an array of rendered map features that intersect with a given point.
|
|
210
|
-
*
|
|
211
|
-
* @example
|
|
212
|
-
* this._map.queryRenderedFeaturesAtPoint([30, 40], ['==', 'type', 'Point'], ['id1', 'id2'])
|
|
213
|
-
*
|
|
214
|
-
* @param {Array<Number>} coordinate - A point expressed in the map view’s coordinate system.
|
|
215
|
-
* @param {Array=} filter - A set of strings that correspond to the names of layers defined in the current style. Only the features contained in these layers are included in the returned array.
|
|
216
|
-
* @param {Array=} layerIDs - A array of layer id's to filter the features by
|
|
217
|
-
* @return {FeatureCollection}
|
|
218
|
-
*/
|
|
219
|
-
|
|
220
|
-
async queryRenderedFeaturesAtPoint(coordinate, filter = [], layerIDs = []) {
|
|
221
|
-
if (!coordinate || coordinate.length < 2) {
|
|
222
|
-
throw new Error('Must pass in valid coordinate[lng, lat]');
|
|
223
|
-
}
|
|
224
|
-
const res = await this._runNative('queryRenderedFeaturesAtPoint', [coordinate, (0, _filterUtils.getFilter)(filter), layerIDs]);
|
|
225
|
-
if ((0, _utils.isAndroid)()) {
|
|
226
|
-
return JSON.parse(res.data);
|
|
227
|
-
}
|
|
228
|
-
return res.data;
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
/**
|
|
232
|
-
* Returns an array of rendered map features that intersect with the given rectangle,
|
|
233
|
-
* restricted to the given style layers and filtered by the given predicate. In v10,
|
|
234
|
-
* passing an empty array will query the entire visible bounds of the map.
|
|
235
|
-
*
|
|
236
|
-
* @example
|
|
237
|
-
* this._map.queryRenderedFeaturesInRect([30, 40, 20, 10], ['==', 'type', 'Point'], ['id1', 'id2'])
|
|
238
|
-
*
|
|
239
|
-
* @param {Array<Number>} bbox - A rectangle expressed in the map view’s coordinate system. For v10, this can be an empty array to query the visible map area.
|
|
240
|
-
* @param {Array=} filter - A set of strings that correspond to the names of layers defined in the current style. Only the features contained in these layers are included in the returned array.
|
|
241
|
-
* @param {Array=} layerIDs - A array of layer id's to filter the features by
|
|
242
|
-
* @return {FeatureCollection}
|
|
243
|
-
*/
|
|
244
|
-
async queryRenderedFeaturesInRect(bbox, filter = [], layerIDs = null) {
|
|
245
|
-
if (bbox != null && (bbox.length === 4 || RNMBXModule.MapboxV10 && bbox.length === 0)) {
|
|
246
|
-
const res = await this._runNative('queryRenderedFeaturesInRect', [bbox, (0, _filterUtils.getFilter)(filter), layerIDs]);
|
|
247
|
-
if ((0, _utils.isAndroid)()) {
|
|
248
|
-
return JSON.parse(res.data);
|
|
249
|
-
}
|
|
250
|
-
return res.data;
|
|
251
|
-
} else {
|
|
252
|
-
throw new Error('Must pass in a valid bounding box: [top, right, bottom, left]. An empty array [] is also acceptable in v10.');
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
/**
|
|
257
|
-
* Returns an array of GeoJSON Feature objects representing features within the specified vector tile or GeoJSON source that satisfy the query parameters.
|
|
258
|
-
*
|
|
259
|
-
* @example
|
|
260
|
-
* this._map.querySourceFeatures('your-source-id', [], ['your-source-layer'])
|
|
261
|
-
*
|
|
262
|
-
* @param {String} sourceId - Style source identifier used to query for source features.
|
|
263
|
-
* @param {Array=} filter - A filter to limit query results.
|
|
264
|
-
* @param {Array=} sourceLayerIDs - The name of the source layers to query. For vector tile sources, this parameter is required. For GeoJSON sources, it is ignored.
|
|
265
|
-
* @return {FeatureCollection}
|
|
266
|
-
*/
|
|
267
|
-
async querySourceFeatures(sourceId, filter = [], sourceLayerIDs = []) {
|
|
268
|
-
const args = [sourceId, (0, _filterUtils.getFilter)(filter), sourceLayerIDs];
|
|
269
|
-
const res = await this._runNative('querySourceFeatures', args);
|
|
270
|
-
if ((0, _utils.isAndroid)()) {
|
|
271
|
-
return JSON.parse(res.data);
|
|
272
|
-
}
|
|
273
|
-
return res.data;
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
/**
|
|
277
|
-
* Map camera will perform updates based on provided config. Deprecated use Camera#setCamera.
|
|
278
|
-
* @deprecated use Camera#setCamera
|
|
279
|
-
*/
|
|
280
|
-
setCamera() {
|
|
281
|
-
console.warn('MapView.setCamera is deprecated - please use Camera#setCamera');
|
|
282
|
-
}
|
|
283
|
-
_runNative(methodName, args = []) {
|
|
284
|
-
return super._runNativeMethod(methodName,
|
|
285
|
-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
286
|
-
// @ts-ignore TODO: fix types
|
|
287
|
-
this._nativeRef, args);
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
/**
|
|
291
|
-
* Takes snapshot of map with current tiles and returns a URI to the image
|
|
292
|
-
* @param {Boolean} writeToDisk If true will create a temp file, otherwise it is in base64
|
|
293
|
-
* @return {String}
|
|
294
|
-
*/
|
|
295
|
-
async takeSnap(writeToDisk = false) {
|
|
296
|
-
const res = await this._runNative('takeSnap', [writeToDisk]);
|
|
297
|
-
return res.uri;
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
/**
|
|
301
|
-
* Returns the current zoom of the map view.
|
|
302
|
-
*
|
|
303
|
-
* @example
|
|
304
|
-
* const zoom = await this._map.getZoom();
|
|
305
|
-
*
|
|
306
|
-
* @return {Number}
|
|
307
|
-
*/
|
|
308
|
-
|
|
309
|
-
async getZoom() {
|
|
310
|
-
const res = await this._runNative('getZoom');
|
|
311
|
-
return res.zoom;
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
/**
|
|
315
|
-
* Returns the map's geographical centerpoint
|
|
316
|
-
*
|
|
317
|
-
* @example
|
|
318
|
-
* const center = await this._map.getCenter();
|
|
319
|
-
*
|
|
320
|
-
* @return {Array<Number>} Coordinates
|
|
321
|
-
*/
|
|
322
|
-
async getCenter() {
|
|
323
|
-
const res = await this._runNative('getCenter');
|
|
324
|
-
return res.center;
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
/**
|
|
328
|
-
*
|
|
329
|
-
* Clears temporary map data from the data path defined in the given resource
|
|
330
|
-
* options. Useful to reduce the disk usage or in case the disk cache contains
|
|
331
|
-
* invalid data.
|
|
332
|
-
*
|
|
333
|
-
* v10 only
|
|
334
|
-
*/
|
|
335
|
-
async clearData() {
|
|
336
|
-
if (!RNMBXModule.MapboxV10) {
|
|
337
|
-
console.warn('RNMapbox: clearData is only implemented in v10 implementation or later');
|
|
338
|
-
return;
|
|
339
|
-
}
|
|
340
|
-
await this._runNative('clearData');
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
/**
|
|
344
|
-
* Queries the currently loaded data for elevation at a geographical location.
|
|
345
|
-
* The elevation is returned in meters relative to mean sea-level.
|
|
346
|
-
* Returns null if terrain is disabled or if terrain data for the location hasn't been loaded yet.
|
|
347
|
-
*
|
|
348
|
-
* @param {Array<Number>} coordinate - the coordinates to query elevation at
|
|
349
|
-
* @return {Number}
|
|
350
|
-
*/
|
|
351
|
-
async queryTerrainElevation(coordinate) {
|
|
352
|
-
const res = await this._runNative('queryTerrainElevation', [coordinate]);
|
|
353
|
-
return res.data;
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
/**
|
|
357
|
-
* Sets the visibility of all the layers referencing the specified `sourceLayerId` and/or `sourceId`
|
|
358
|
-
*
|
|
359
|
-
* @example
|
|
360
|
-
* await this._map.setSourceVisibility(false, 'composite', 'building')
|
|
361
|
-
*
|
|
362
|
-
* @param {boolean} visible - Visibility of the layers
|
|
363
|
-
* @param {String} sourceId - Identifier of the target source (e.g. 'composite')
|
|
364
|
-
* @param {String=} sourceLayerId - Identifier of the target source-layer (e.g. 'building')
|
|
365
|
-
*/
|
|
366
|
-
setSourceVisibility(visible, sourceId, sourceLayerId = null) {
|
|
367
|
-
this._runNative('setSourceVisibility', [visible, sourceId, sourceLayerId]);
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
/**
|
|
371
|
-
* Updates the state map of a feature within a style source.
|
|
372
|
-
*
|
|
373
|
-
* Updates entries in the state map of a given feature within a style source.
|
|
374
|
-
* Only entries listed in the `state` will be updated.
|
|
375
|
-
* An entry in the feature state map that is not listed in `state` will retain its previous value.
|
|
376
|
-
*
|
|
377
|
-
* @param {string} featureId Identifier of the feature whose state should be updated.
|
|
378
|
-
* @param {[k: string]: NativeArg} state Map of entries to update with their respective new values.
|
|
379
|
-
* @param {string} sourceId Style source identifier.
|
|
380
|
-
* @param {string | null} sourceLayerId Style source layer identifier (for multi-layer sources such as vector sources).
|
|
381
|
-
*/
|
|
382
|
-
async setFeatureState(featureId, state, sourceId, sourceLayerId = null) {
|
|
383
|
-
if (!RNMBXModule.MapboxV10) {
|
|
384
|
-
console.warn('RNMapbox: setFeatureState is only implemented in v10 implementation or later');
|
|
385
|
-
return;
|
|
386
|
-
}
|
|
387
|
-
await this._runNative('setFeatureState', [featureId, state, sourceId, sourceLayerId]);
|
|
388
|
-
}
|
|
389
|
-
|
|
390
|
-
/**
|
|
391
|
-
* Returns the state map of a feature within a style source.
|
|
392
|
-
*
|
|
393
|
-
* @param {string} featureId Identifier of the feature whose state should be queried.
|
|
394
|
-
* @param {string} sourceId Style source identifier.
|
|
395
|
-
* @param {string | null} sourceLayerId Style source layer identifier (for multi-layer sources such as vector sources).
|
|
396
|
-
*/
|
|
397
|
-
async getFeatureState(featureId, sourceId, sourceLayerId = null) {
|
|
398
|
-
if (!RNMBXModule.MapboxV10) {
|
|
399
|
-
console.warn('RNMapbox: setFeatureState is only implemented in v10 implementation or later');
|
|
400
|
-
return {};
|
|
401
|
-
}
|
|
402
|
-
const res = await this._runNative('getFeatureState', [featureId, sourceId, sourceLayerId]);
|
|
403
|
-
return res.featureState;
|
|
404
|
-
}
|
|
405
|
-
|
|
406
|
-
/**
|
|
407
|
-
* Removes entries from a feature state object.
|
|
408
|
-
*
|
|
409
|
-
* Removes a specified property or all properties from a feature’s state object,
|
|
410
|
-
* depending on the value of `stateKey`.
|
|
411
|
-
*
|
|
412
|
-
* @param {string} featureId Identifier of the feature whose state should be removed.
|
|
413
|
-
* @param {string | null} stateKey The name of the property to remove. If `null`, all feature’s state object properties are removed.
|
|
414
|
-
* @param {string} sourceId Style source identifier.
|
|
415
|
-
* @param {string | null} sourceLayerId Style source layer identifier (for multi-layer sources such as vector sources).
|
|
416
|
-
*/
|
|
417
|
-
async removeFeatureState(featureId, stateKey, sourceId, sourceLayerId = null) {
|
|
418
|
-
if (!RNMBXModule.MapboxV10) {
|
|
419
|
-
console.warn('RNMapbox: removeFeatureState is only implemented in v10 implementation or later');
|
|
420
|
-
return;
|
|
421
|
-
}
|
|
422
|
-
await this._runNative('removeFeatureState', [featureId, stateKey, sourceId, sourceLayerId]);
|
|
423
|
-
}
|
|
424
|
-
_decodePayload(payload) {
|
|
425
|
-
if (typeof payload === 'string') {
|
|
426
|
-
return JSON.parse(payload);
|
|
427
|
-
} else {
|
|
428
|
-
return payload;
|
|
429
|
-
}
|
|
430
|
-
}
|
|
431
|
-
_onPress(e) {
|
|
432
|
-
if ((0, _utils.isFunction)(this.props.onPress)) {
|
|
433
|
-
this.props.onPress(this._decodePayload(e.nativeEvent.payload));
|
|
434
|
-
}
|
|
435
|
-
}
|
|
436
|
-
_onLongPress(e) {
|
|
437
|
-
if ((0, _utils.isFunction)(this.props.onLongPress)) {
|
|
438
|
-
this.props.onLongPress(this._decodePayload(e.nativeEvent.payload));
|
|
439
|
-
}
|
|
440
|
-
}
|
|
441
|
-
_onRegionWillChange(payload) {
|
|
442
|
-
if ((0, _utils.isFunction)(this.props.onRegionWillChange)) {
|
|
443
|
-
this.props.onRegionWillChange(payload);
|
|
444
|
-
}
|
|
445
|
-
this.setState({
|
|
446
|
-
isUserInteraction: payload.properties.isUserInteraction,
|
|
447
|
-
isAnimatingFromUserInteraction: payload.properties.isAnimatingFromUserInteraction
|
|
448
|
-
});
|
|
449
|
-
}
|
|
450
|
-
_onRegionDidChange(payload) {
|
|
451
|
-
if ((0, _utils.isFunction)(this.props.onRegionDidChange)) {
|
|
452
|
-
this.props.onRegionDidChange(payload);
|
|
453
|
-
}
|
|
454
|
-
this.setState({
|
|
455
|
-
region: payload
|
|
456
|
-
});
|
|
457
|
-
}
|
|
458
|
-
_onCameraChanged(e) {
|
|
459
|
-
this.props.onCameraChanged?.(this._decodePayload(e.nativeEvent.payload));
|
|
460
|
-
}
|
|
461
|
-
_onChange(e) {
|
|
462
|
-
const {
|
|
463
|
-
regionWillChangeDebounceTime,
|
|
464
|
-
regionDidChangeDebounceTime
|
|
465
|
-
} = this.props;
|
|
466
|
-
const {
|
|
467
|
-
type
|
|
468
|
-
} = e.nativeEvent;
|
|
469
|
-
const payload = this._decodePayload(e.nativeEvent.payload);
|
|
470
|
-
let propName = '';
|
|
471
|
-
let deprecatedPropName = '';
|
|
472
|
-
switch (type) {
|
|
473
|
-
case EventTypes.RegionWillChange:
|
|
474
|
-
if (regionWillChangeDebounceTime && regionWillChangeDebounceTime > 0) {
|
|
475
|
-
this._onDebouncedRegionWillChange(payload);
|
|
476
|
-
} else {
|
|
477
|
-
propName = 'onRegionWillChange';
|
|
478
|
-
}
|
|
479
|
-
break;
|
|
480
|
-
case EventTypes.RegionIsChanging:
|
|
481
|
-
propName = 'onRegionIsChanging';
|
|
482
|
-
break;
|
|
483
|
-
case EventTypes.RegionDidChange:
|
|
484
|
-
if (regionDidChangeDebounceTime && regionDidChangeDebounceTime > 0) {
|
|
485
|
-
this._onDebouncedRegionDidChange(payload);
|
|
486
|
-
} else {
|
|
487
|
-
propName = 'onRegionDidChange';
|
|
488
|
-
}
|
|
489
|
-
break;
|
|
490
|
-
case EventTypes.CameraChanged:
|
|
491
|
-
propName = 'onCameraChanged';
|
|
492
|
-
break;
|
|
493
|
-
case EventTypes.MapIdle:
|
|
494
|
-
propName = 'onMapIdle';
|
|
495
|
-
break;
|
|
496
|
-
case EventTypes.UserLocationUpdated:
|
|
497
|
-
propName = 'onUserLocationUpdate';
|
|
498
|
-
break;
|
|
499
|
-
case EventTypes.WillStartLoadingMap:
|
|
500
|
-
propName = 'onWillStartLoadingMap';
|
|
501
|
-
break;
|
|
502
|
-
case EventTypes.DidFinishLoadingMap:
|
|
503
|
-
propName = 'onDidFinishLoadingMap';
|
|
504
|
-
break;
|
|
505
|
-
case EventTypes.DidFailLoadingMap:
|
|
506
|
-
propName = 'onDidFailLoadingMap';
|
|
507
|
-
break;
|
|
508
|
-
case EventTypes.MapLoadingError:
|
|
509
|
-
propName = 'onMapLoadingError';
|
|
510
|
-
deprecatedPropName = 'onDidFailLoadingMap';
|
|
511
|
-
break;
|
|
512
|
-
case EventTypes.WillStartRenderingFrame:
|
|
513
|
-
propName = 'onWillStartRenderingFrame';
|
|
514
|
-
break;
|
|
515
|
-
case EventTypes.DidFinishRenderingFrame:
|
|
516
|
-
propName = 'onDidFinishRenderingFrame';
|
|
517
|
-
break;
|
|
518
|
-
case EventTypes.DidFinishRenderingFrameFully:
|
|
519
|
-
propName = 'onDidFinishRenderingFrameFully';
|
|
520
|
-
break;
|
|
521
|
-
case EventTypes.WillStartRenderingMap:
|
|
522
|
-
propName = 'onWillStartRenderingMap';
|
|
523
|
-
break;
|
|
524
|
-
case EventTypes.DidFinishRenderingMap:
|
|
525
|
-
propName = 'onDidFinishRenderingMap';
|
|
526
|
-
break;
|
|
527
|
-
case EventTypes.DidFinishRenderingMapFully:
|
|
528
|
-
propName = 'onDidFinishRenderingMapFully';
|
|
529
|
-
break;
|
|
530
|
-
case EventTypes.DidFinishLoadingStyle:
|
|
531
|
-
propName = 'onDidFinishLoadingStyle';
|
|
532
|
-
break;
|
|
533
|
-
default:
|
|
534
|
-
console.warn('Unhandled event callback type', type);
|
|
535
|
-
}
|
|
536
|
-
if (propName !== '') {
|
|
537
|
-
this._handleOnChange(propName, payload);
|
|
538
|
-
}
|
|
539
|
-
if (deprecatedPropName !== '') {
|
|
540
|
-
this._handleOnChange(deprecatedPropName, payload);
|
|
541
|
-
}
|
|
542
|
-
}
|
|
543
|
-
_onLayout(e) {
|
|
544
|
-
this.setState({
|
|
545
|
-
isReady: true,
|
|
546
|
-
width: e.nativeEvent.layout.width,
|
|
547
|
-
height: e.nativeEvent.layout.height
|
|
548
|
-
});
|
|
549
|
-
}
|
|
550
|
-
_handleOnChange(propName, payload) {
|
|
551
|
-
const func = this.props[propName];
|
|
552
|
-
if (func && (0, _utils.isFunction)(func)) {
|
|
553
|
-
func(payload);
|
|
554
|
-
}
|
|
555
|
-
}
|
|
556
|
-
_getContentInset() {
|
|
557
|
-
if (!this.props.contentInset) {
|
|
558
|
-
return;
|
|
559
|
-
}
|
|
560
|
-
if (RNMBXModule.MapboxV10) {
|
|
561
|
-
if (!this.deprecationLogged.contentInset) {
|
|
562
|
-
console.warn('@rnmapbox/maps: contentInset is deprecated, use Camera padding instead.');
|
|
563
|
-
this.deprecationLogged.contentInset = true;
|
|
564
|
-
}
|
|
565
|
-
}
|
|
566
|
-
if (!Array.isArray(this.props.contentInset)) {
|
|
567
|
-
return [this.props.contentInset];
|
|
568
|
-
}
|
|
569
|
-
return this.props.contentInset;
|
|
570
|
-
}
|
|
571
|
-
_setNativeRef(nativeRef) {
|
|
572
|
-
if (nativeRef != null) {
|
|
573
|
-
this._nativeRef = nativeRef;
|
|
574
|
-
super._runPendingNativeMethods(nativeRef);
|
|
575
|
-
}
|
|
576
|
-
}
|
|
577
|
-
setNativeProps(props) {
|
|
578
|
-
if (this._nativeRef) {
|
|
579
|
-
this._nativeRef.setNativeProps(props);
|
|
580
|
-
}
|
|
581
|
-
}
|
|
582
|
-
_setStyleURL(props) {
|
|
583
|
-
// user set a styleURL, no need to alter props
|
|
584
|
-
if (props.styleURL) {
|
|
585
|
-
return;
|
|
586
|
-
}
|
|
587
|
-
|
|
588
|
-
// user set styleJSON pass it to styleURL
|
|
589
|
-
if (props.styleJSON && !props.styleURL) {
|
|
590
|
-
props.styleURL = props.styleJSON;
|
|
591
|
-
}
|
|
592
|
-
|
|
593
|
-
// user neither set styleJSON nor styleURL
|
|
594
|
-
// set defaultStyleUrl
|
|
595
|
-
if (!props.styleJSON || !props.styleURL) {
|
|
596
|
-
props.styleURL = defaultStyleURL;
|
|
597
|
-
}
|
|
598
|
-
}
|
|
599
|
-
_setLocalizeLabels(props) {
|
|
600
|
-
if (!RNMBXModule.MapboxV10) {
|
|
601
|
-
return;
|
|
602
|
-
}
|
|
603
|
-
if (typeof props.localizeLabels === 'boolean') {
|
|
604
|
-
props.localizeLabels = {
|
|
605
|
-
locale: 'current'
|
|
606
|
-
};
|
|
607
|
-
}
|
|
608
|
-
}
|
|
609
|
-
render() {
|
|
610
|
-
const props = {
|
|
611
|
-
...this.props,
|
|
612
|
-
contentInset: this._getContentInset(),
|
|
613
|
-
style: styles.matchParent
|
|
614
|
-
};
|
|
615
|
-
this._setStyleURL(props);
|
|
616
|
-
this._setLocalizeLabels(props);
|
|
617
|
-
const callbacks = {
|
|
618
|
-
ref: nativeRef => this._setNativeRef(nativeRef),
|
|
619
|
-
onPress: this._onPress,
|
|
620
|
-
onLongPress: this._onLongPress,
|
|
621
|
-
onMapChange: this._onChange,
|
|
622
|
-
onCameraChanged: this._onCameraChanged
|
|
623
|
-
};
|
|
624
|
-
let mapView = null;
|
|
625
|
-
if (this.state.isReady) {
|
|
626
|
-
if (props._nativeImpl) {
|
|
627
|
-
mapView = /*#__PURE__*/(0, _jsxRuntime.jsx)(props._nativeImpl, {
|
|
628
|
-
...props,
|
|
629
|
-
...callbacks
|
|
630
|
-
});
|
|
631
|
-
} else {
|
|
632
|
-
mapView = /*#__PURE__*/(0, _jsxRuntime.jsx)(RNMBXMapView, {
|
|
633
|
-
...props,
|
|
634
|
-
...callbacks,
|
|
635
|
-
children: this.props.children
|
|
636
|
-
});
|
|
637
|
-
}
|
|
638
|
-
}
|
|
639
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
640
|
-
onLayout: this._onLayout,
|
|
641
|
-
style: this.props.style,
|
|
642
|
-
testID: mapView ? undefined : this.props.testID,
|
|
643
|
-
children: mapView
|
|
644
|
-
});
|
|
645
|
-
}
|
|
646
|
-
}
|
|
647
|
-
const RNMBXMapView = _RNMBXMapViewNativeComponent.default;
|
|
648
|
-
var _default = exports.default = MapView;
|
|
649
|
-
//# sourceMappingURL=MapView.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_debounce","_RNMBXMapViewNativeComponent","_NativeMapViewModule","_utils","_filterUtils","_Logger","_NativeBridgeComponent","_jsxRuntime","e","__esModule","default","RNMBXModule","NativeModules","EventTypes","console","error","MapboxV10","warn","styles","StyleSheet","create","matchParent","flex","defaultStyleURL","StyleURL","Street","CallbablePropKeys","MapView","NativeBridgeComponent","React","PureComponent","NativeMapViewModule","defaultProps","scrollEnabled","pitchEnabled","rotateEnabled","attributionEnabled","compassEnabled","compassFadeWhenNorth","logoEnabled","scaleBarEnabled","surfaceView","requestDisallowInterceptTouchEvent","regionWillChangeDebounceTime","regionDidChangeDebounceTime","deprecationLogged","contentInset","regionDidChange","regionIsChanging","constructor","props","logger","Logger","sharedInstance","start","state","isReady","region","width","height","isUserInteraction","_onPress","bind","_onLongPress","_onChange","_onLayout","_onCameraChanged","_onDebouncedRegionWillChange","debounce","_onRegionWillChange","immediate","_onDebouncedRegionDidChange","_onRegionDidChange","componentDidMount","_setHandledMapChangedEvents","componentWillUnmount","clear","stop","componentDidUpdate","prevProps","callbackProps","hasCallbackPropsChanged","some","propName","isAndroid","events","addIfHasHandler","name","push","onMapIdle","onCameraChanged","onRegionWillChange","_runNativeMethod","_nativeRef","getPointInView","coordinate","res","_runNative","pointInView","getCoordinateFromView","point","coordinateFromView","getVisibleBounds","visibleBounds","queryRenderedFeaturesAtPoint","filter","layerIDs","length","Error","getFilter","JSON","parse","data","queryRenderedFeaturesInRect","bbox","querySourceFeatures","sourceId","sourceLayerIDs","args","setCamera","methodName","takeSnap","writeToDisk","uri","getZoom","zoom","getCenter","center","clearData","queryTerrainElevation","setSourceVisibility","visible","sourceLayerId","setFeatureState","featureId","getFeatureState","featureState","removeFeatureState","stateKey","_decodePayload","payload","isFunction","onPress","nativeEvent","onLongPress","setState","properties","isAnimatingFromUserInteraction","onRegionDidChange","type","deprecatedPropName","RegionWillChange","RegionIsChanging","RegionDidChange","CameraChanged","MapIdle","UserLocationUpdated","WillStartLoadingMap","DidFinishLoadingMap","DidFailLoadingMap","MapLoadingError","WillStartRenderingFrame","DidFinishRenderingFrame","DidFinishRenderingFrameFully","WillStartRenderingMap","DidFinishRenderingMap","DidFinishRenderingMapFully","DidFinishLoadingStyle","_handleOnChange","layout","func","_getContentInset","Array","isArray","_setNativeRef","nativeRef","_runPendingNativeMethods","setNativeProps","_setStyleURL","styleURL","styleJSON","_setLocalizeLabels","localizeLabels","locale","render","style","callbacks","ref","onMapChange","mapView","_nativeImpl","jsx","RNMBXMapView","children","View","onLayout","testID","undefined","NativeMapView","_default","exports"],"sourceRoot":"../../../src","sources":["components/MapView.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAUA,IAAAE,SAAA,GAAAH,sBAAA,CAAAC,OAAA;AAEA,IAAAG,4BAAA,GAAAJ,sBAAA,CAAAC,OAAA;AAGA,IAAAI,oBAAA,GAAAL,sBAAA,CAAAC,OAAA;AACA,IAAAK,MAAA,GAAAL,OAAA;AAMA,IAAAM,YAAA,GAAAN,OAAA;AACA,IAAAO,OAAA,GAAAR,sBAAA,CAAAC,OAAA;AAKA,IAAAQ,sBAAA,GAAAT,sBAAA,CAAAC,OAAA;AAA4D,IAAAS,WAAA,GAAAT,OAAA;AAAA,SAAAD,uBAAAW,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA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