@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,343 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.StyleTypes = void 0;
|
|
7
|
-
exports.getStyleType = getStyleType;
|
|
8
|
-
exports.styleExtras = void 0;
|
|
9
|
-
var _index = require("./index");
|
|
10
|
-
// DO NOT MODIFY
|
|
11
|
-
// THIS FILE IS AUTOGENERATED
|
|
12
|
-
|
|
13
|
-
const StyleTypes = exports.StyleTypes = {
|
|
14
|
-
Constant: 'constant',
|
|
15
|
-
Color: 'color',
|
|
16
|
-
Transition: 'transition',
|
|
17
|
-
Translation: 'translation',
|
|
18
|
-
Function: 'function',
|
|
19
|
-
Image: 'image',
|
|
20
|
-
Enum: 'enum'
|
|
21
|
-
};
|
|
22
|
-
function getStyleType(styleProp) {
|
|
23
|
-
if (!(0, _index.isAndroid)() && styleExtras[styleProp]) {
|
|
24
|
-
return styleExtras[styleProp].iosType;
|
|
25
|
-
}
|
|
26
|
-
if (styleMap[styleProp]) {
|
|
27
|
-
return styleMap[styleProp];
|
|
28
|
-
}
|
|
29
|
-
throw new Error(`${styleProp} is not a valid Mapbox layer style`);
|
|
30
|
-
}
|
|
31
|
-
const styleMap = {
|
|
32
|
-
fillSortKey: StyleTypes.Constant,
|
|
33
|
-
fillAntialias: StyleTypes.Constant,
|
|
34
|
-
fillOpacity: StyleTypes.Constant,
|
|
35
|
-
fillOpacityTransition: StyleTypes.Transition,
|
|
36
|
-
fillColor: StyleTypes.Color,
|
|
37
|
-
fillColorTransition: StyleTypes.Transition,
|
|
38
|
-
fillOutlineColor: StyleTypes.Color,
|
|
39
|
-
fillOutlineColorTransition: StyleTypes.Transition,
|
|
40
|
-
fillTranslate: StyleTypes.Translation,
|
|
41
|
-
fillTranslateTransition: StyleTypes.Transition,
|
|
42
|
-
fillTranslateAnchor: StyleTypes.Enum,
|
|
43
|
-
fillPattern: StyleTypes.Image,
|
|
44
|
-
fillEmissiveStrength: StyleTypes.Constant,
|
|
45
|
-
fillEmissiveStrengthTransition: StyleTypes.Transition,
|
|
46
|
-
lineCap: StyleTypes.Enum,
|
|
47
|
-
lineJoin: StyleTypes.Enum,
|
|
48
|
-
lineMiterLimit: StyleTypes.Constant,
|
|
49
|
-
lineRoundLimit: StyleTypes.Constant,
|
|
50
|
-
lineSortKey: StyleTypes.Constant,
|
|
51
|
-
lineOpacity: StyleTypes.Constant,
|
|
52
|
-
lineOpacityTransition: StyleTypes.Transition,
|
|
53
|
-
lineColor: StyleTypes.Color,
|
|
54
|
-
lineColorTransition: StyleTypes.Transition,
|
|
55
|
-
lineTranslate: StyleTypes.Translation,
|
|
56
|
-
lineTranslateTransition: StyleTypes.Transition,
|
|
57
|
-
lineTranslateAnchor: StyleTypes.Enum,
|
|
58
|
-
lineWidth: StyleTypes.Constant,
|
|
59
|
-
lineWidthTransition: StyleTypes.Transition,
|
|
60
|
-
lineGapWidth: StyleTypes.Constant,
|
|
61
|
-
lineGapWidthTransition: StyleTypes.Transition,
|
|
62
|
-
lineOffset: StyleTypes.Constant,
|
|
63
|
-
lineOffsetTransition: StyleTypes.Transition,
|
|
64
|
-
lineBlur: StyleTypes.Constant,
|
|
65
|
-
lineBlurTransition: StyleTypes.Transition,
|
|
66
|
-
lineDasharray: StyleTypes.Constant,
|
|
67
|
-
linePattern: StyleTypes.Image,
|
|
68
|
-
lineGradient: StyleTypes.Color,
|
|
69
|
-
lineTrimOffset: StyleTypes.Constant,
|
|
70
|
-
lineEmissiveStrength: StyleTypes.Constant,
|
|
71
|
-
lineEmissiveStrengthTransition: StyleTypes.Transition,
|
|
72
|
-
symbolPlacement: StyleTypes.Enum,
|
|
73
|
-
symbolSpacing: StyleTypes.Constant,
|
|
74
|
-
symbolAvoidEdges: StyleTypes.Constant,
|
|
75
|
-
symbolSortKey: StyleTypes.Constant,
|
|
76
|
-
symbolZOrder: StyleTypes.Enum,
|
|
77
|
-
iconAllowOverlap: StyleTypes.Constant,
|
|
78
|
-
iconIgnorePlacement: StyleTypes.Constant,
|
|
79
|
-
iconOptional: StyleTypes.Constant,
|
|
80
|
-
iconRotationAlignment: StyleTypes.Enum,
|
|
81
|
-
iconSize: StyleTypes.Constant,
|
|
82
|
-
iconTextFit: StyleTypes.Enum,
|
|
83
|
-
iconTextFitPadding: StyleTypes.Constant,
|
|
84
|
-
iconImage: StyleTypes.Image,
|
|
85
|
-
iconRotate: StyleTypes.Constant,
|
|
86
|
-
iconPadding: StyleTypes.Constant,
|
|
87
|
-
iconKeepUpright: StyleTypes.Constant,
|
|
88
|
-
iconOffset: StyleTypes.Constant,
|
|
89
|
-
iconAnchor: StyleTypes.Enum,
|
|
90
|
-
iconPitchAlignment: StyleTypes.Enum,
|
|
91
|
-
textPitchAlignment: StyleTypes.Enum,
|
|
92
|
-
textRotationAlignment: StyleTypes.Enum,
|
|
93
|
-
textField: StyleTypes.Constant,
|
|
94
|
-
textFont: StyleTypes.Constant,
|
|
95
|
-
textSize: StyleTypes.Constant,
|
|
96
|
-
textMaxWidth: StyleTypes.Constant,
|
|
97
|
-
textLineHeight: StyleTypes.Constant,
|
|
98
|
-
textLetterSpacing: StyleTypes.Constant,
|
|
99
|
-
textJustify: StyleTypes.Enum,
|
|
100
|
-
textRadialOffset: StyleTypes.Constant,
|
|
101
|
-
textVariableAnchor: StyleTypes.Constant,
|
|
102
|
-
textAnchor: StyleTypes.Enum,
|
|
103
|
-
textMaxAngle: StyleTypes.Constant,
|
|
104
|
-
textWritingMode: StyleTypes.Constant,
|
|
105
|
-
textRotate: StyleTypes.Constant,
|
|
106
|
-
textPadding: StyleTypes.Constant,
|
|
107
|
-
textKeepUpright: StyleTypes.Constant,
|
|
108
|
-
textTransform: StyleTypes.Enum,
|
|
109
|
-
textOffset: StyleTypes.Constant,
|
|
110
|
-
textAllowOverlap: StyleTypes.Constant,
|
|
111
|
-
textIgnorePlacement: StyleTypes.Constant,
|
|
112
|
-
textOptional: StyleTypes.Constant,
|
|
113
|
-
iconOpacity: StyleTypes.Constant,
|
|
114
|
-
iconOpacityTransition: StyleTypes.Transition,
|
|
115
|
-
iconColor: StyleTypes.Color,
|
|
116
|
-
iconColorTransition: StyleTypes.Transition,
|
|
117
|
-
iconHaloColor: StyleTypes.Color,
|
|
118
|
-
iconHaloColorTransition: StyleTypes.Transition,
|
|
119
|
-
iconHaloWidth: StyleTypes.Constant,
|
|
120
|
-
iconHaloWidthTransition: StyleTypes.Transition,
|
|
121
|
-
iconHaloBlur: StyleTypes.Constant,
|
|
122
|
-
iconHaloBlurTransition: StyleTypes.Transition,
|
|
123
|
-
iconTranslate: StyleTypes.Translation,
|
|
124
|
-
iconTranslateTransition: StyleTypes.Transition,
|
|
125
|
-
iconTranslateAnchor: StyleTypes.Enum,
|
|
126
|
-
textOpacity: StyleTypes.Constant,
|
|
127
|
-
textOpacityTransition: StyleTypes.Transition,
|
|
128
|
-
textColor: StyleTypes.Color,
|
|
129
|
-
textColorTransition: StyleTypes.Transition,
|
|
130
|
-
textHaloColor: StyleTypes.Color,
|
|
131
|
-
textHaloColorTransition: StyleTypes.Transition,
|
|
132
|
-
textHaloWidth: StyleTypes.Constant,
|
|
133
|
-
textHaloWidthTransition: StyleTypes.Transition,
|
|
134
|
-
textHaloBlur: StyleTypes.Constant,
|
|
135
|
-
textHaloBlurTransition: StyleTypes.Transition,
|
|
136
|
-
textTranslate: StyleTypes.Translation,
|
|
137
|
-
textTranslateTransition: StyleTypes.Transition,
|
|
138
|
-
textTranslateAnchor: StyleTypes.Enum,
|
|
139
|
-
symbolZElevate: StyleTypes.Constant,
|
|
140
|
-
iconEmissiveStrength: StyleTypes.Constant,
|
|
141
|
-
iconEmissiveStrengthTransition: StyleTypes.Transition,
|
|
142
|
-
textEmissiveStrength: StyleTypes.Constant,
|
|
143
|
-
textEmissiveStrengthTransition: StyleTypes.Transition,
|
|
144
|
-
iconImageCrossFade: StyleTypes.Constant,
|
|
145
|
-
circleSortKey: StyleTypes.Constant,
|
|
146
|
-
circleRadius: StyleTypes.Constant,
|
|
147
|
-
circleRadiusTransition: StyleTypes.Transition,
|
|
148
|
-
circleColor: StyleTypes.Color,
|
|
149
|
-
circleColorTransition: StyleTypes.Transition,
|
|
150
|
-
circleBlur: StyleTypes.Constant,
|
|
151
|
-
circleBlurTransition: StyleTypes.Transition,
|
|
152
|
-
circleOpacity: StyleTypes.Constant,
|
|
153
|
-
circleOpacityTransition: StyleTypes.Transition,
|
|
154
|
-
circleTranslate: StyleTypes.Translation,
|
|
155
|
-
circleTranslateTransition: StyleTypes.Transition,
|
|
156
|
-
circleTranslateAnchor: StyleTypes.Enum,
|
|
157
|
-
circlePitchScale: StyleTypes.Enum,
|
|
158
|
-
circlePitchAlignment: StyleTypes.Enum,
|
|
159
|
-
circleStrokeWidth: StyleTypes.Constant,
|
|
160
|
-
circleStrokeWidthTransition: StyleTypes.Transition,
|
|
161
|
-
circleStrokeColor: StyleTypes.Color,
|
|
162
|
-
circleStrokeColorTransition: StyleTypes.Transition,
|
|
163
|
-
circleStrokeOpacity: StyleTypes.Constant,
|
|
164
|
-
circleStrokeOpacityTransition: StyleTypes.Transition,
|
|
165
|
-
circleEmissiveStrength: StyleTypes.Constant,
|
|
166
|
-
circleEmissiveStrengthTransition: StyleTypes.Transition,
|
|
167
|
-
heatmapRadius: StyleTypes.Constant,
|
|
168
|
-
heatmapRadiusTransition: StyleTypes.Transition,
|
|
169
|
-
heatmapWeight: StyleTypes.Constant,
|
|
170
|
-
heatmapIntensity: StyleTypes.Constant,
|
|
171
|
-
heatmapIntensityTransition: StyleTypes.Transition,
|
|
172
|
-
heatmapColor: StyleTypes.Color,
|
|
173
|
-
heatmapOpacity: StyleTypes.Constant,
|
|
174
|
-
heatmapOpacityTransition: StyleTypes.Transition,
|
|
175
|
-
fillExtrusionEdgeRadius: StyleTypes.Constant,
|
|
176
|
-
fillExtrusionOpacity: StyleTypes.Constant,
|
|
177
|
-
fillExtrusionOpacityTransition: StyleTypes.Transition,
|
|
178
|
-
fillExtrusionColor: StyleTypes.Color,
|
|
179
|
-
fillExtrusionColorTransition: StyleTypes.Transition,
|
|
180
|
-
fillExtrusionTranslate: StyleTypes.Translation,
|
|
181
|
-
fillExtrusionTranslateTransition: StyleTypes.Transition,
|
|
182
|
-
fillExtrusionTranslateAnchor: StyleTypes.Enum,
|
|
183
|
-
fillExtrusionPattern: StyleTypes.Image,
|
|
184
|
-
fillExtrusionHeight: StyleTypes.Constant,
|
|
185
|
-
fillExtrusionHeightTransition: StyleTypes.Transition,
|
|
186
|
-
fillExtrusionBase: StyleTypes.Constant,
|
|
187
|
-
fillExtrusionBaseTransition: StyleTypes.Transition,
|
|
188
|
-
fillExtrusionVerticalGradient: StyleTypes.Constant,
|
|
189
|
-
fillExtrusionAmbientOcclusionIntensity: StyleTypes.Constant,
|
|
190
|
-
fillExtrusionAmbientOcclusionIntensityTransition: StyleTypes.Transition,
|
|
191
|
-
fillExtrusionAmbientOcclusionRadius: StyleTypes.Constant,
|
|
192
|
-
fillExtrusionAmbientOcclusionRadiusTransition: StyleTypes.Transition,
|
|
193
|
-
fillExtrusionRoundedRoof: StyleTypes.Constant,
|
|
194
|
-
fillExtrusionAmbientOcclusionWallRadius: StyleTypes.Constant,
|
|
195
|
-
fillExtrusionAmbientOcclusionWallRadiusTransition: StyleTypes.Transition,
|
|
196
|
-
fillExtrusionAmbientOcclusionGroundRadius: StyleTypes.Constant,
|
|
197
|
-
fillExtrusionAmbientOcclusionGroundRadiusTransition: StyleTypes.Transition,
|
|
198
|
-
fillExtrusionAmbientOcclusionGroundAttenuation: StyleTypes.Constant,
|
|
199
|
-
fillExtrusionAmbientOcclusionGroundAttenuationTransition: StyleTypes.Transition,
|
|
200
|
-
fillExtrusionFloodLightColor: StyleTypes.Color,
|
|
201
|
-
fillExtrusionFloodLightColorTransition: StyleTypes.Transition,
|
|
202
|
-
fillExtrusionFloodLightIntensity: StyleTypes.Constant,
|
|
203
|
-
fillExtrusionFloodLightIntensityTransition: StyleTypes.Transition,
|
|
204
|
-
fillExtrusionFloodLightWallRadius: StyleTypes.Constant,
|
|
205
|
-
fillExtrusionFloodLightWallRadiusTransition: StyleTypes.Transition,
|
|
206
|
-
fillExtrusionFloodLightGroundRadius: StyleTypes.Constant,
|
|
207
|
-
fillExtrusionFloodLightGroundRadiusTransition: StyleTypes.Transition,
|
|
208
|
-
fillExtrusionFloodLightGroundAttenuation: StyleTypes.Constant,
|
|
209
|
-
fillExtrusionFloodLightGroundAttenuationTransition: StyleTypes.Transition,
|
|
210
|
-
fillExtrusionVerticalScale: StyleTypes.Constant,
|
|
211
|
-
fillExtrusionVerticalScaleTransition: StyleTypes.Transition,
|
|
212
|
-
fillExtrusionCutoffFadeRange: StyleTypes.Constant,
|
|
213
|
-
fillExtrusionEmissiveStrength: StyleTypes.Constant,
|
|
214
|
-
fillExtrusionEmissiveStrengthTransition: StyleTypes.Transition,
|
|
215
|
-
rasterOpacity: StyleTypes.Constant,
|
|
216
|
-
rasterOpacityTransition: StyleTypes.Transition,
|
|
217
|
-
rasterHueRotate: StyleTypes.Constant,
|
|
218
|
-
rasterHueRotateTransition: StyleTypes.Transition,
|
|
219
|
-
rasterBrightnessMin: StyleTypes.Constant,
|
|
220
|
-
rasterBrightnessMinTransition: StyleTypes.Transition,
|
|
221
|
-
rasterBrightnessMax: StyleTypes.Constant,
|
|
222
|
-
rasterBrightnessMaxTransition: StyleTypes.Transition,
|
|
223
|
-
rasterSaturation: StyleTypes.Constant,
|
|
224
|
-
rasterSaturationTransition: StyleTypes.Transition,
|
|
225
|
-
rasterContrast: StyleTypes.Constant,
|
|
226
|
-
rasterContrastTransition: StyleTypes.Transition,
|
|
227
|
-
rasterResampling: StyleTypes.Enum,
|
|
228
|
-
rasterFadeDuration: StyleTypes.Constant,
|
|
229
|
-
rasterColor: StyleTypes.Color,
|
|
230
|
-
rasterColorMix: StyleTypes.Constant,
|
|
231
|
-
rasterColorMixTransition: StyleTypes.Transition,
|
|
232
|
-
rasterColorRange: StyleTypes.Constant,
|
|
233
|
-
rasterColorRangeTransition: StyleTypes.Transition,
|
|
234
|
-
hillshadeIlluminationDirection: StyleTypes.Constant,
|
|
235
|
-
hillshadeIlluminationAnchor: StyleTypes.Enum,
|
|
236
|
-
hillshadeExaggeration: StyleTypes.Constant,
|
|
237
|
-
hillshadeExaggerationTransition: StyleTypes.Transition,
|
|
238
|
-
hillshadeShadowColor: StyleTypes.Color,
|
|
239
|
-
hillshadeShadowColorTransition: StyleTypes.Transition,
|
|
240
|
-
hillshadeHighlightColor: StyleTypes.Color,
|
|
241
|
-
hillshadeHighlightColorTransition: StyleTypes.Transition,
|
|
242
|
-
hillshadeAccentColor: StyleTypes.Color,
|
|
243
|
-
hillshadeAccentColorTransition: StyleTypes.Transition,
|
|
244
|
-
modelId: StyleTypes.Constant,
|
|
245
|
-
modelOpacity: StyleTypes.Constant,
|
|
246
|
-
modelOpacityTransition: StyleTypes.Transition,
|
|
247
|
-
modelRotation: StyleTypes.Constant,
|
|
248
|
-
modelRotationTransition: StyleTypes.Transition,
|
|
249
|
-
modelScale: StyleTypes.Constant,
|
|
250
|
-
modelScaleTransition: StyleTypes.Transition,
|
|
251
|
-
modelTranslation: StyleTypes.Constant,
|
|
252
|
-
modelTranslationTransition: StyleTypes.Transition,
|
|
253
|
-
modelColor: StyleTypes.Color,
|
|
254
|
-
modelColorTransition: StyleTypes.Transition,
|
|
255
|
-
modelColorMixIntensity: StyleTypes.Constant,
|
|
256
|
-
modelColorMixIntensityTransition: StyleTypes.Transition,
|
|
257
|
-
modelType: StyleTypes.Enum,
|
|
258
|
-
modelCastShadows: StyleTypes.Constant,
|
|
259
|
-
modelReceiveShadows: StyleTypes.Constant,
|
|
260
|
-
modelAmbientOcclusionIntensity: StyleTypes.Constant,
|
|
261
|
-
modelAmbientOcclusionIntensityTransition: StyleTypes.Transition,
|
|
262
|
-
modelEmissiveStrength: StyleTypes.Constant,
|
|
263
|
-
modelEmissiveStrengthTransition: StyleTypes.Transition,
|
|
264
|
-
modelRoughness: StyleTypes.Constant,
|
|
265
|
-
modelRoughnessTransition: StyleTypes.Transition,
|
|
266
|
-
modelHeightBasedEmissiveStrengthMultiplier: StyleTypes.Constant,
|
|
267
|
-
modelHeightBasedEmissiveStrengthMultiplierTransition: StyleTypes.Transition,
|
|
268
|
-
modelCutoffFadeRange: StyleTypes.Constant,
|
|
269
|
-
backgroundColor: StyleTypes.Color,
|
|
270
|
-
backgroundColorTransition: StyleTypes.Transition,
|
|
271
|
-
backgroundPattern: StyleTypes.Image,
|
|
272
|
-
backgroundOpacity: StyleTypes.Constant,
|
|
273
|
-
backgroundOpacityTransition: StyleTypes.Transition,
|
|
274
|
-
backgroundEmissiveStrength: StyleTypes.Constant,
|
|
275
|
-
backgroundEmissiveStrengthTransition: StyleTypes.Transition,
|
|
276
|
-
skyType: StyleTypes.Enum,
|
|
277
|
-
skyAtmosphereSun: StyleTypes.Constant,
|
|
278
|
-
skyAtmosphereSunIntensity: StyleTypes.Constant,
|
|
279
|
-
skyGradientCenter: StyleTypes.Constant,
|
|
280
|
-
skyGradientRadius: StyleTypes.Constant,
|
|
281
|
-
skyGradient: StyleTypes.Color,
|
|
282
|
-
skyAtmosphereHaloColor: StyleTypes.Color,
|
|
283
|
-
skyAtmosphereColor: StyleTypes.Color,
|
|
284
|
-
skyOpacity: StyleTypes.Constant,
|
|
285
|
-
skyOpacityTransition: StyleTypes.Transition,
|
|
286
|
-
anchor: StyleTypes.Enum,
|
|
287
|
-
position: StyleTypes.Constant,
|
|
288
|
-
positionTransition: StyleTypes.Transition,
|
|
289
|
-
intensity: StyleTypes.Constant,
|
|
290
|
-
intensityTransition: StyleTypes.Transition,
|
|
291
|
-
range: StyleTypes.Constant,
|
|
292
|
-
rangeTransition: StyleTypes.Transition,
|
|
293
|
-
highColor: StyleTypes.Color,
|
|
294
|
-
highColorTransition: StyleTypes.Transition,
|
|
295
|
-
spaceColor: StyleTypes.Color,
|
|
296
|
-
spaceColorTransition: StyleTypes.Transition,
|
|
297
|
-
horizonBlend: StyleTypes.Constant,
|
|
298
|
-
horizonBlendTransition: StyleTypes.Transition,
|
|
299
|
-
starIntensity: StyleTypes.Constant,
|
|
300
|
-
starIntensityTransition: StyleTypes.Transition,
|
|
301
|
-
verticalRange: StyleTypes.Constant,
|
|
302
|
-
verticalRangeTransition: StyleTypes.Transition,
|
|
303
|
-
exaggeration: StyleTypes.Constant,
|
|
304
|
-
color: StyleTypes.Color,
|
|
305
|
-
colorTransition: StyleTypes.Transition,
|
|
306
|
-
visibility: StyleTypes.Constant
|
|
307
|
-
};
|
|
308
|
-
const styleExtras = exports.styleExtras = {
|
|
309
|
-
// padding
|
|
310
|
-
iconTextFitPadding: {
|
|
311
|
-
iosType: 'edgeinsets'
|
|
312
|
-
},
|
|
313
|
-
// offsets
|
|
314
|
-
iconOffset: {
|
|
315
|
-
iosType: 'vector'
|
|
316
|
-
},
|
|
317
|
-
textOffset: {
|
|
318
|
-
iosType: 'vector'
|
|
319
|
-
},
|
|
320
|
-
lineOffset: {
|
|
321
|
-
iosType: 'vector'
|
|
322
|
-
},
|
|
323
|
-
// translates
|
|
324
|
-
fillTranslate: {
|
|
325
|
-
iosType: 'vector'
|
|
326
|
-
},
|
|
327
|
-
lineTranslate: {
|
|
328
|
-
iosType: 'vector'
|
|
329
|
-
},
|
|
330
|
-
iconTranslate: {
|
|
331
|
-
iosType: 'vector'
|
|
332
|
-
},
|
|
333
|
-
textTranslate: {
|
|
334
|
-
iosType: 'vector'
|
|
335
|
-
},
|
|
336
|
-
circleTranslate: {
|
|
337
|
-
iosType: 'vector'
|
|
338
|
-
},
|
|
339
|
-
fillExtrusionTranslate: {
|
|
340
|
-
iosType: 'vector'
|
|
341
|
-
}
|
|
342
|
-
};
|
|
343
|
-
//# sourceMappingURL=styleMap.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_index","require","StyleTypes","exports","Constant","Color","Transition","Translation","Function","Image","Enum","getStyleType","styleProp","isAndroid","styleExtras","iosType","styleMap","Error","fillSortKey","fillAntialias","fillOpacity","fillOpacityTransition","fillColor","fillColorTransition","fillOutlineColor","fillOutlineColorTransition","fillTranslate","fillTranslateTransition","fillTranslateAnchor","fillPattern","fillEmissiveStrength","fillEmissiveStrengthTransition","lineCap","lineJoin","lineMiterLimit","lineRoundLimit","lineSortKey","lineOpacity","lineOpacityTransition","lineColor","lineColorTransition","lineTranslate","lineTranslateTransition","lineTranslateAnchor","lineWidth","lineWidthTransition","lineGapWidth","lineGapWidthTransition","lineOffset","lineOffsetTransition","lineBlur","lineBlurTransition","lineDasharray","linePattern","lineGradient","lineTrimOffset","lineEmissiveStrength","lineEmissiveStrengthTransition","symbolPlacement","symbolSpacing","symbolAvoidEdges","symbolSortKey","symbolZOrder","iconAllowOverlap","iconIgnorePlacement","iconOptional","iconRotationAlignment","iconSize","iconTextFit","iconTextFitPadding","iconImage","iconRotate","iconPadding","iconKeepUpright","iconOffset","iconAnchor","iconPitchAlignment","textPitchAlignment","textRotationAlignment","textField","textFont","textSize","textMaxWidth","textLineHeight","textLetterSpacing","textJustify","textRadialOffset","textVariableAnchor","textAnchor","textMaxAngle","textWritingMode","textRotate","textPadding","textKeepUpright","textTransform","textOffset","textAllowOverlap","textIgnorePlacement","textOptional","iconOpacity","iconOpacityTransition","iconColor","iconColorTransition","iconHaloColor","iconHaloColorTransition","iconHaloWidth","iconHaloWidthTransition","iconHaloBlur","iconHaloBlurTransition","iconTranslate","iconTranslateTransition","iconTranslateAnchor","textOpacity","textOpacityTransition","textColor","textColorTransition","textHaloColor","textHaloColorTransition","textHaloWidth","textHaloWidthTransition","textHaloBlur","textHaloBlurTransition","textTranslate","textTranslateTransition","textTranslateAnchor","symbolZElevate","iconEmissiveStrength","iconEmissiveStrengthTransition","textEmissiveStrength","textEmissiveStrengthTransition","iconImageCrossFade","circleSortKey","circleRadius","circleRadiusTransition","circleColor","circleColorTransition","circleBlur","circleBlurTransition","circleOpacity","circleOpacityTransition","circleTranslate","circleTranslateTransition","circleTranslateAnchor","circlePitchScale","circlePitchAlignment","circleStrokeWidth","circleStrokeWidthTransition","circleStrokeColor","circleStrokeColorTransition","circleStrokeOpacity","circleStrokeOpacityTransition","circleEmissiveStrength","circleEmissiveStrengthTransition","heatmapRadius","heatmapRadiusTransition","heatmapWeight","heatmapIntensity","heatmapIntensityTransition","heatmapColor","heatmapOpacity","heatmapOpacityTransition","fillExtrusionEdgeRadius","fillExtrusionOpacity","fillExtrusionOpacityTransition","fillExtrusionColor","fillExtrusionColorTransition","fillExtrusionTranslate","fillExtrusionTranslateTransition","fillExtrusionTranslateAnchor","fillExtrusionPattern","fillExtrusionHeight","fillExtrusionHeightTransition","fillExtrusionBase","fillExtrusionBaseTransition","fillExtrusionVerticalGradient","fillExtrusionAmbientOcclusionIntensity","fillExtrusionAmbientOcclusionIntensityTransition","fillExtrusionAmbientOcclusionRadius","fillExtrusionAmbientOcclusionRadiusTransition","fillExtrusionRoundedRoof","fillExtrusionAmbientOcclusionWallRadius","fillExtrusionAmbientOcclusionWallRadiusTransition","fillExtrusionAmbientOcclusionGroundRadius","fillExtrusionAmbientOcclusionGroundRadiusTransition","fillExtrusionAmbientOcclusionGroundAttenuation","fillExtrusionAmbientOcclusionGroundAttenuationTransition","fillExtrusionFloodLightColor","fillExtrusionFloodLightColorTransition","fillExtrusionFloodLightIntensity","fillExtrusionFloodLightIntensityTransition","fillExtrusionFloodLightWallRadius","fillExtrusionFloodLightWallRadiusTransition","fillExtrusionFloodLightGroundRadius","fillExtrusionFloodLightGroundRadiusTransition","fillExtrusionFloodLightGroundAttenuation","fillExtrusionFloodLightGroundAttenuationTransition","fillExtrusionVerticalScale","fillExtrusionVerticalScaleTransition","fillExtrusionCutoffFadeRange","fillExtrusionEmissiveStrength","fillExtrusionEmissiveStrengthTransition","rasterOpacity","rasterOpacityTransition","rasterHueRotate","rasterHueRotateTransition","rasterBrightnessMin","rasterBrightnessMinTransition","rasterBrightnessMax","rasterBrightnessMaxTransition","rasterSaturation","rasterSaturationTransition","rasterContrast","rasterContrastTransition","rasterResampling","rasterFadeDuration","rasterColor","rasterColorMix","rasterColorMixTransition","rasterColorRange","rasterColorRangeTransition","hillshadeIlluminationDirection","hillshadeIlluminationAnchor","hillshadeExaggeration","hillshadeExaggerationTransition","hillshadeShadowColor","hillshadeShadowColorTransition","hillshadeHighlightColor","hillshadeHighlightColorTransition","hillshadeAccentColor","hillshadeAccentColorTransition","modelId","modelOpacity","modelOpacityTransition","modelRotation","modelRotationTransition","modelScale","modelScaleTransition","modelTranslation","modelTranslationTransition","modelColor","modelColorTransition","modelColorMixIntensity","modelColorMixIntensityTransition","modelType","modelCastShadows","modelReceiveShadows","modelAmbientOcclusionIntensity","modelAmbientOcclusionIntensityTransition","modelEmissiveStrength","modelEmissiveStrengthTransition","modelRoughness","modelRoughnessTransition","modelHeightBasedEmissiveStrengthMultiplier","modelHeightBasedEmissiveStrengthMultiplierTransition","modelCutoffFadeRange","backgroundColor","backgroundColorTransition","backgroundPattern","backgroundOpacity","backgroundOpacityTransition","backgroundEmissiveStrength","backgroundEmissiveStrengthTransition","skyType","skyAtmosphereSun","skyAtmosphereSunIntensity","skyGradientCenter","skyGradientRadius","skyGradient","skyAtmosphereHaloColor","skyAtmosphereColor","skyOpacity","skyOpacityTransition","anchor","position","positionTransition","intensity","intensityTransition","range","rangeTransition","highColor","highColorTransition","spaceColor","spaceColorTransition","horizonBlend","horizonBlendTransition","starIntensity","starIntensityTransition","verticalRange","verticalRangeTransition","exaggeration","color","colorTransition","visibility"],"sourceRoot":"../../../src","sources":["utils/styleMap.ts"],"mappings":";;;;;;;;AAGA,IAAAA,MAAA,GAAAC,OAAA;AAHA;AACA;;AAIO,MAAMC,UAAU,GAAAC,OAAA,CAAAD,UAAA,GAAG;EACxBE,QAAQ,EAAE,UAAU;EACpBC,KAAK,EAAE,OAAO;EACdC,UAAU,EAAE,YAAY;EACxBC,WAAW,EAAE,aAAa;EAC1BC,QAAQ,EAAE,UAAU;EACpBC,KAAK,EAAE,OAAO;EACdC,IAAI,EA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R,UAAU,EAAElS,UAAU,CAACE;AACzB,CAAC;AAEM,MAAMU,WAAW,GAAAX,OAAA,CAAAW,WAAA,GAAG;EACzB;EACAuD,kBAAkB,EAAE;IAClBtD,OAAO,EAAE;EACX,CAAC;EAED;EACA2D,UAAU,EAAE;IACV3D,OAAO,EAAE;EACX,CAAC;EACDgF,UAAU,EAAE;IACVhF,OAAO,EAAE;EACX,CAAC;EACDiC,UAAU,EAAE;IACVjC,OAAO,EAAE;EACX,CAAC;EAED;EACAW,aAAa,EAAE;IACbX,OAAO,EAAE;EACX,CAAC;EACD0B,aAAa,EAAE;IACb1B,OAAO,EAAE;EACX,CAAC;EACD8F,aAAa,EAAE;IACb9F,OAAO,EAAE;EACX,CAAC;EACD2G,aAAa,EAAE;IACb3G,OAAO,EAAE;EACX,CAAC;EACD6H,eAAe,EAAE;IACf7H,OAAO,EAAE;EACX,CAAC;EACDuJ,sBAAsB,EAAE;IACtBvJ,OAAO,EAAE;EACX;AACF,CAAC","ignoreList":[]}
|
|
@@ -1,11 +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
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
9
|
-
const MapContext = /*#__PURE__*/_react.default.createContext({});
|
|
10
|
-
var _default = exports.default = MapContext;
|
|
11
|
-
//# sourceMappingURL=MapContext.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","e","__esModule","default","MapContext","React","createContext","_default","exports"],"sourceRoot":"../../../src","sources":["web/MapContext.ts"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAA0B,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAG1B,MAAMG,UAAU,gBAAGC,cAAK,CAACC,aAAa,CAAgB,CAAC,CAAC,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAL,OAAA,GAE3CC,UAAU","ignoreList":[]}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var _mapboxGl = _interopRequireDefault(require("mapbox-gl"));
|
|
8
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
9
|
-
const MapboxModule = {
|
|
10
|
-
LineJoin: {},
|
|
11
|
-
StyleURL: {
|
|
12
|
-
Street: 'mapbox://styles/mapbox/streets-v11',
|
|
13
|
-
Satellite: 'mapbox://styles/mapbox/satellite-v9'
|
|
14
|
-
},
|
|
15
|
-
setAccessToken: token => {
|
|
16
|
-
_mapboxGl.default.accessToken = token;
|
|
17
|
-
}
|
|
18
|
-
};
|
|
19
|
-
var _default = exports.default = MapboxModule;
|
|
20
|
-
//# sourceMappingURL=MapboxModule.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_mapboxGl","_interopRequireDefault","require","e","__esModule","default","MapboxModule","LineJoin","StyleURL","Street","Satellite","setAccessToken","token","mapboxgl","accessToken","_default","exports"],"sourceRoot":"../../../src","sources":["web/MapboxModule.js"],"mappings":";;;;;;AAAA,IAAAA,SAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAiC,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAEjC,MAAMG,YAAY,GAAG;EACnBC,QAAQ,EAAE,CAAC,CAAC;EAEZC,QAAQ,EAAE;IACRC,MAAM,EAAE,oCAAoC;IAC5CC,SAAS,EAAE;EACb,CAAC;EAEDC,cAAc,EAAGC,KAAK,IAAK;IACzBC,iBAAQ,CAACC,WAAW,GAAGF,KAAK;EAC9B;AACF,CAAC;AAAC,IAAAG,QAAA,GAAAC,OAAA,CAAAX,OAAA,GAEaC,YAAY","ignoreList":[]}
|
|
@@ -1,18 +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 _jsxRuntime = require("react/jsx-runtime");
|
|
9
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
10
|
-
const UnimplementedComponent = name => class SymbolLater extends _react.default.Component {
|
|
11
|
-
render() {
|
|
12
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
13
|
-
children: ["TODO implement ", name]
|
|
14
|
-
});
|
|
15
|
-
}
|
|
16
|
-
};
|
|
17
|
-
var _default = exports.default = UnimplementedComponent;
|
|
18
|
-
//# sourceMappingURL=UnimplementedComponent.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_jsxRuntime","e","__esModule","default","UnimplementedComponent","name","SymbolLater","React","Component","render","jsxs","children","_default","exports"],"sourceRoot":"../../../src","sources":["web/UnimplementedComponent.js"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAA0B,IAAAC,WAAA,GAAAD,OAAA;AAAA,SAAAD,uBAAAG,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAE1B,MAAMG,sBAAsB,GAAIC,IAAI,IAClC,MAAMC,WAAW,SAASC,cAAK,CAACC,SAAS,CAAC;EACxCC,MAAMA,CAAA,EAAG;IACP,oBAAO,IAAAT,WAAA,CAAAU,IAAA;MAAAC,QAAA,GAAK,iBAAe,EAACN,IAAI;IAAA,CAAM,CAAC;EACzC;AACF,CAAC;AAAC,IAAAO,QAAA,GAAAC,OAAA,CAAAV,OAAA,GAEWC,sBAAsB","ignoreList":[]}
|
|
@@ -1,185 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = exports.Camera = void 0;
|
|
7
|
-
var _react = require("react");
|
|
8
|
-
var _MapContext = _interopRequireDefault(require("../MapContext"));
|
|
9
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
10
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
|
-
function isArray(value) {
|
|
12
|
-
return value.length !== undefined;
|
|
13
|
-
}
|
|
14
|
-
function buildMapboxGlPadding(padding) {
|
|
15
|
-
if (padding === undefined) {
|
|
16
|
-
// undefined
|
|
17
|
-
return undefined;
|
|
18
|
-
} else if (!isArray(padding)) {
|
|
19
|
-
// padding
|
|
20
|
-
return padding;
|
|
21
|
-
} else {
|
|
22
|
-
// Array
|
|
23
|
-
if (padding.length === 0) {
|
|
24
|
-
// []
|
|
25
|
-
return undefined;
|
|
26
|
-
} else if (padding.length < 2) {
|
|
27
|
-
// [padding]
|
|
28
|
-
return padding[0];
|
|
29
|
-
} else if (padding.length < 4) {
|
|
30
|
-
// [vertical, horizontal]
|
|
31
|
-
return {
|
|
32
|
-
left: padding[0],
|
|
33
|
-
right: padding[0],
|
|
34
|
-
top: padding[1],
|
|
35
|
-
bottom: padding[1]
|
|
36
|
-
};
|
|
37
|
-
} else {
|
|
38
|
-
// [top, right, bottom, left]
|
|
39
|
-
return {
|
|
40
|
-
top: padding[0],
|
|
41
|
-
right: padding[1],
|
|
42
|
-
bottom: padding[2],
|
|
43
|
-
left: padding[3]
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
class Camera extends _react.Component {
|
|
49
|
-
static contextType = _MapContext.default;
|
|
50
|
-
static UserTrackingModes = [];
|
|
51
|
-
componentDidMount() {
|
|
52
|
-
const {
|
|
53
|
-
map
|
|
54
|
-
} = this.context;
|
|
55
|
-
if (!map) {
|
|
56
|
-
return;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
// minZoomLevel
|
|
60
|
-
if (this.props.minZoomLevel !== undefined) {
|
|
61
|
-
map.setMinZoom(this.props.minZoomLevel);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
// maxZoomLevel
|
|
65
|
-
if (this.props.maxZoomLevel !== undefined) {
|
|
66
|
-
map.setMaxZoom(this.props.maxZoomLevel);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
// zoomLevel
|
|
70
|
-
if (this.props.zoomLevel !== undefined) {
|
|
71
|
-
map.setZoom(this.props.zoomLevel);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
// centerCoordinate
|
|
75
|
-
if (this.props.centerCoordinate !== undefined) {
|
|
76
|
-
map.flyTo({
|
|
77
|
-
center: this.props.centerCoordinate.slice(0, 2),
|
|
78
|
-
duration: 0
|
|
79
|
-
});
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
fitBounds(northEastCoordinates, southWestCoordinates, padding = 0, animationDuration = 0) {
|
|
83
|
-
const {
|
|
84
|
-
map
|
|
85
|
-
} = this.context;
|
|
86
|
-
if (map) {
|
|
87
|
-
map.fitBounds([northEastCoordinates.slice(0, 2), southWestCoordinates.slice(0, 2)], {
|
|
88
|
-
padding: buildMapboxGlPadding(padding),
|
|
89
|
-
duration: animationDuration
|
|
90
|
-
});
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
flyTo(centerCoordinate, animationDuration = 2000) {
|
|
94
|
-
const {
|
|
95
|
-
map
|
|
96
|
-
} = this.context;
|
|
97
|
-
if (map) {
|
|
98
|
-
map.flyTo({
|
|
99
|
-
center: centerCoordinate.slice(0, 2),
|
|
100
|
-
duration: animationDuration
|
|
101
|
-
});
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
moveTo(centerCoordinate, animationDuration = 0) {
|
|
105
|
-
const {
|
|
106
|
-
map
|
|
107
|
-
} = this.context;
|
|
108
|
-
if (map) {
|
|
109
|
-
map.easeTo({
|
|
110
|
-
center: centerCoordinate.slice(0, 2),
|
|
111
|
-
duration: animationDuration
|
|
112
|
-
});
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
zoomTo(zoomLevel, animationDuration = 2000) {
|
|
116
|
-
const {
|
|
117
|
-
map
|
|
118
|
-
} = this.context;
|
|
119
|
-
if (map) {
|
|
120
|
-
map.flyTo({
|
|
121
|
-
zoom: zoomLevel,
|
|
122
|
-
duration: animationDuration
|
|
123
|
-
});
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
setCamera(props) {
|
|
127
|
-
const {
|
|
128
|
-
map
|
|
129
|
-
} = this.context;
|
|
130
|
-
if (!map) {
|
|
131
|
-
return;
|
|
132
|
-
}
|
|
133
|
-
const {
|
|
134
|
-
centerCoordinate,
|
|
135
|
-
bounds,
|
|
136
|
-
zoomLevel,
|
|
137
|
-
heading,
|
|
138
|
-
pitch,
|
|
139
|
-
padding,
|
|
140
|
-
animationDuration = 2000
|
|
141
|
-
} = props;
|
|
142
|
-
let options = {
|
|
143
|
-
center: centerCoordinate?.slice(0, 2),
|
|
144
|
-
zoom: zoomLevel ?? map.getZoom(),
|
|
145
|
-
bearing: heading ?? map.getBearing(),
|
|
146
|
-
pitch: pitch ?? map.getPitch()
|
|
147
|
-
};
|
|
148
|
-
if (padding?.paddingTop && padding?.paddingRight && padding?.paddingBottom && padding?.paddingLeft) {
|
|
149
|
-
options.padding = buildMapboxGlPadding([padding.paddingTop, padding.paddingRight, padding.paddingBottom, padding.paddingLeft]);
|
|
150
|
-
}
|
|
151
|
-
if (bounds?.ne && bounds?.sw) {
|
|
152
|
-
const newCameraTransform = map.cameraForBounds([bounds.ne, bounds.sw], options);
|
|
153
|
-
options = {
|
|
154
|
-
...options,
|
|
155
|
-
...newCameraTransform
|
|
156
|
-
};
|
|
157
|
-
}
|
|
158
|
-
switch (props.animationMode) {
|
|
159
|
-
default:
|
|
160
|
-
case 'easeTo':
|
|
161
|
-
case 'linearTo':
|
|
162
|
-
map.easeTo({
|
|
163
|
-
...options,
|
|
164
|
-
duration: animationDuration
|
|
165
|
-
});
|
|
166
|
-
break;
|
|
167
|
-
case 'flyTo':
|
|
168
|
-
map.flyTo({
|
|
169
|
-
...options,
|
|
170
|
-
duration: animationDuration
|
|
171
|
-
});
|
|
172
|
-
break;
|
|
173
|
-
case 'moveTo':
|
|
174
|
-
case 'none':
|
|
175
|
-
map.jumpTo(options);
|
|
176
|
-
break;
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
render() {
|
|
180
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {});
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
exports.Camera = Camera;
|
|
184
|
-
var _default = exports.default = Camera;
|
|
185
|
-
//# sourceMappingURL=Camera.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_react","require","_MapContext","_interopRequireDefault","_jsxRuntime","e","__esModule","default","isArray","value","length","undefined","buildMapboxGlPadding","padding","left","right","top","bottom","Camera","Component","contextType","MapContext","UserTrackingModes","componentDidMount","map","context","props","minZoomLevel","setMinZoom","maxZoomLevel","setMaxZoom","zoomLevel","setZoom","centerCoordinate","flyTo","center","slice","duration","fitBounds","northEastCoordinates","southWestCoordinates","animationDuration","moveTo","easeTo","zoomTo","zoom","setCamera","bounds","heading","pitch","options","getZoom","bearing","getBearing","getPitch","paddingTop","paddingRight","paddingBottom","paddingLeft","ne","sw","newCameraTransform","cameraForBounds","animationMode","jumpTo","render","jsx","Fragment","exports","_default"],"sourceRoot":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