@maplibre/maplibre-react-native 10.0.0-alpha.27 → 10.0.0-alpha.28
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/CHANGELOG.md +4 -0
- package/README.md +2 -2
- package/lib/commonjs/MLNModule.js +27 -0
- package/lib/commonjs/MLNModule.js.map +1 -0
- package/lib/commonjs/MapLibreRN.js +281 -0
- package/lib/commonjs/MapLibreRN.js.map +1 -0
- package/lib/commonjs/assets/png.d.js +2 -0
- package/lib/commonjs/assets/png.d.js.map +1 -0
- package/lib/commonjs/components/Annotation.js +109 -0
- package/lib/commonjs/components/Annotation.js.map +1 -0
- package/lib/commonjs/components/BackgroundLayer.js +33 -0
- package/lib/commonjs/components/BackgroundLayer.js.map +1 -0
- package/lib/commonjs/components/Callout.js +101 -0
- package/lib/commonjs/components/Callout.js.map +1 -0
- package/lib/commonjs/components/Camera.js +285 -0
- package/lib/commonjs/components/Camera.js.map +1 -0
- package/lib/commonjs/components/CircleLayer.js +37 -0
- package/lib/commonjs/components/CircleLayer.js.map +1 -0
- package/lib/commonjs/components/FillExtrusionLayer.js +36 -0
- package/lib/commonjs/components/FillExtrusionLayer.js.map +1 -0
- package/lib/commonjs/components/FillLayer.js +36 -0
- package/lib/commonjs/components/FillLayer.js.map +1 -0
- package/lib/commonjs/components/HeadingIndicator.js +28 -0
- package/lib/commonjs/components/HeadingIndicator.js.map +1 -0
- package/lib/commonjs/components/HeatmapLayer.js +35 -0
- package/lib/commonjs/components/HeatmapLayer.js.map +1 -0
- package/lib/commonjs/components/ImageSource.js +42 -0
- package/lib/commonjs/components/ImageSource.js.map +1 -0
- package/lib/commonjs/components/Images.js +80 -0
- package/lib/commonjs/components/Images.js.map +1 -0
- package/lib/commonjs/components/Light.js +32 -0
- package/lib/commonjs/components/Light.js.map +1 -0
- package/lib/commonjs/components/LineLayer.js +36 -0
- package/lib/commonjs/components/LineLayer.js.map +1 -0
- package/lib/commonjs/components/MapView.js +463 -0
- package/lib/commonjs/components/MapView.js.map +1 -0
- package/lib/commonjs/components/MarkerView.js +61 -0
- package/lib/commonjs/components/MarkerView.js.map +1 -0
- package/lib/commonjs/components/NativeUserLocation.js +17 -0
- package/lib/commonjs/components/NativeUserLocation.js.map +1 -0
- package/lib/commonjs/components/PointAnnotation.js +121 -0
- package/lib/commonjs/components/PointAnnotation.js.map +1 -0
- package/lib/commonjs/components/RasterLayer.js +32 -0
- package/lib/commonjs/components/RasterLayer.js.map +1 -0
- package/lib/commonjs/components/RasterSource.js +67 -0
- package/lib/commonjs/components/RasterSource.js.map +1 -0
- package/lib/commonjs/components/ShapeSource.js +203 -0
- package/lib/commonjs/components/ShapeSource.js.map +1 -0
- package/lib/commonjs/components/Style.js +266 -0
- package/lib/commonjs/components/Style.js.map +1 -0
- package/lib/commonjs/components/SymbolLayer.js +53 -0
- package/lib/commonjs/components/SymbolLayer.js.map +1 -0
- package/lib/commonjs/components/UserLocation.js +188 -0
- package/lib/commonjs/components/UserLocation.js.map +1 -0
- package/lib/commonjs/components/VectorSource.js +129 -0
- package/lib/commonjs/components/VectorSource.js.map +1 -0
- package/lib/commonjs/hooks/useAbstractLayer.js +53 -0
- package/lib/commonjs/hooks/useAbstractLayer.js.map +1 -0
- package/lib/commonjs/hooks/useAbstractSource.js +24 -0
- package/lib/commonjs/hooks/useAbstractSource.js.map +1 -0
- package/lib/commonjs/hooks/useNativeBridge.js +84 -0
- package/lib/commonjs/hooks/useNativeBridge.js.map +1 -0
- package/lib/commonjs/hooks/useNativeRef.js +14 -0
- package/lib/commonjs/hooks/useNativeRef.js.map +1 -0
- package/lib/commonjs/hooks/useOnce.js +16 -0
- package/lib/commonjs/hooks/useOnce.js.map +1 -0
- package/lib/commonjs/index.js +23 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/modules/location/locationManager.js +91 -0
- package/lib/commonjs/modules/location/locationManager.js.map +1 -0
- package/lib/commonjs/modules/offline/OfflineCreatePackOptions.js +37 -0
- package/lib/commonjs/modules/offline/OfflineCreatePackOptions.js.map +1 -0
- package/lib/commonjs/modules/offline/OfflinePack.js +40 -0
- package/lib/commonjs/modules/offline/OfflinePack.js.map +1 -0
- package/lib/commonjs/modules/offline/offlineManager.js +346 -0
- package/lib/commonjs/modules/offline/offlineManager.js.map +1 -0
- package/lib/commonjs/modules/snapshot/SnapshotOptions.js +58 -0
- package/lib/commonjs/modules/snapshot/SnapshotOptions.js.map +1 -0
- package/lib/commonjs/modules/snapshot/snapshotManager.js +66 -0
- package/lib/commonjs/modules/snapshot/snapshotManager.js.map +1 -0
- package/lib/commonjs/requestAndroidLocationPermissions.js +25 -0
- package/lib/commonjs/requestAndroidLocationPermissions.js.map +1 -0
- package/lib/commonjs/types/BaseProps.js +2 -0
- package/lib/commonjs/types/BaseProps.js.map +1 -0
- package/lib/commonjs/types/CameraMode.js +14 -0
- package/lib/commonjs/types/CameraMode.js.map +1 -0
- package/lib/commonjs/types/MapLibreRNEvent.js +6 -0
- package/lib/commonjs/types/MapLibreRNEvent.js.map +1 -0
- package/lib/commonjs/types/OnPressEvent.js +2 -0
- package/lib/commonjs/types/OnPressEvent.js.map +1 -0
- package/lib/commonjs/types/StyleURL.js +11 -0
- package/lib/commonjs/types/StyleURL.js.map +1 -0
- package/lib/commonjs/utils/BridgeValue.js +59 -0
- package/lib/commonjs/utils/BridgeValue.js.map +1 -0
- package/lib/commonjs/utils/Logger.js +118 -0
- package/lib/commonjs/utils/Logger.js.map +1 -0
- package/lib/commonjs/utils/MapLibreRNStyles.d.js +181 -0
- package/lib/commonjs/utils/MapLibreRNStyles.d.js.map +1 -0
- package/lib/commonjs/utils/StyleValue.js +39 -0
- package/lib/commonjs/utils/StyleValue.js.map +1 -0
- package/lib/commonjs/utils/animated/AbstractAnimatedCoordinates.js +95 -0
- package/lib/commonjs/utils/animated/AbstractAnimatedCoordinates.js.map +1 -0
- package/lib/commonjs/utils/animated/Animated.js +47 -0
- package/lib/commonjs/utils/animated/Animated.js.map +1 -0
- package/lib/commonjs/utils/animated/AnimatedCoordinatesArray.js +92 -0
- package/lib/commonjs/utils/animated/AnimatedCoordinatesArray.js.map +1 -0
- package/lib/commonjs/utils/animated/AnimatedExtractCoordinateFromArray.js +40 -0
- package/lib/commonjs/utils/animated/AnimatedExtractCoordinateFromArray.js.map +1 -0
- package/lib/commonjs/utils/animated/AnimatedPoint.js +111 -0
- package/lib/commonjs/utils/animated/AnimatedPoint.js.map +1 -0
- package/lib/commonjs/utils/animated/AnimatedRouteCoordinatesArray.js +137 -0
- package/lib/commonjs/utils/animated/AnimatedRouteCoordinatesArray.js.map +1 -0
- package/lib/commonjs/utils/animated/AnimatedShape.js +75 -0
- package/lib/commonjs/utils/animated/AnimatedShape.js.map +1 -0
- package/lib/commonjs/utils/deprecation.js +31 -0
- package/lib/commonjs/utils/deprecation.js.map +1 -0
- package/lib/commonjs/utils/filterUtils.js +13 -0
- package/lib/commonjs/utils/filterUtils.js.map +1 -0
- package/lib/commonjs/utils/index.js +97 -0
- package/lib/commonjs/utils/index.js.map +1 -0
- package/lib/commonjs/utils/makeNativeBounds.js +11 -0
- package/lib/commonjs/utils/makeNativeBounds.js.map +1 -0
- package/lib/commonjs/utils/styleMap.js +255 -0
- package/lib/commonjs/utils/styleMap.js.map +1 -0
- package/lib/module/MLNModule.js +15 -0
- package/lib/module/MLNModule.js.map +1 -0
- package/lib/module/MapLibreRN.js +37 -0
- package/lib/module/MapLibreRN.js.map +1 -0
- package/lib/module/assets/heading.png +0 -0
- package/lib/module/assets/heading@2x.png +0 -0
- package/lib/module/assets/heading@3x.png +0 -0
- package/lib/module/assets/png.d.js +2 -0
- package/lib/module/assets/png.d.js.map +1 -0
- package/lib/module/components/Annotation.js +104 -0
- package/lib/module/components/Annotation.js.map +1 -0
- package/lib/module/components/BackgroundLayer.js +28 -0
- package/lib/module/components/BackgroundLayer.js.map +1 -0
- package/lib/module/components/Callout.js +97 -0
- package/lib/module/components/Callout.js.map +1 -0
- package/lib/module/components/Camera.js +280 -0
- package/lib/module/components/Camera.js.map +1 -0
- package/lib/module/components/CircleLayer.js +32 -0
- package/lib/module/components/CircleLayer.js.map +1 -0
- package/lib/module/components/FillExtrusionLayer.js +31 -0
- package/lib/module/components/FillExtrusionLayer.js.map +1 -0
- package/lib/module/components/FillLayer.js +31 -0
- package/lib/module/components/FillLayer.js.map +1 -0
- package/lib/module/components/HeadingIndicator.js +23 -0
- package/lib/module/components/HeadingIndicator.js.map +1 -0
- package/lib/module/components/HeatmapLayer.js +30 -0
- package/lib/module/components/HeatmapLayer.js.map +1 -0
- package/lib/module/components/ImageSource.js +37 -0
- package/lib/module/components/ImageSource.js.map +1 -0
- package/lib/module/components/Images.js +76 -0
- package/lib/module/components/Images.js.map +1 -0
- package/lib/module/components/Light.js +27 -0
- package/lib/module/components/Light.js.map +1 -0
- package/lib/module/components/LineLayer.js +31 -0
- package/lib/module/components/LineLayer.js.map +1 -0
- package/lib/module/components/MapView.js +458 -0
- package/lib/module/components/MapView.js.map +1 -0
- package/lib/module/components/MarkerView.js +56 -0
- package/lib/module/components/MarkerView.js.map +1 -0
- package/lib/module/components/NativeUserLocation.js +13 -0
- package/lib/module/components/NativeUserLocation.js.map +1 -0
- package/lib/module/components/PointAnnotation.js +116 -0
- package/lib/module/components/PointAnnotation.js.map +1 -0
- package/lib/module/components/RasterLayer.js +27 -0
- package/lib/module/components/RasterLayer.js.map +1 -0
- package/lib/module/components/RasterSource.js +62 -0
- package/lib/module/components/RasterSource.js.map +1 -0
- package/lib/module/components/ShapeSource.js +198 -0
- package/lib/module/components/ShapeSource.js.map +1 -0
- package/lib/module/components/Style.js +261 -0
- package/lib/module/components/Style.js.map +1 -0
- package/lib/module/components/SymbolLayer.js +48 -0
- package/lib/module/components/SymbolLayer.js.map +1 -0
- package/lib/module/components/UserLocation.js +182 -0
- package/lib/module/components/UserLocation.js.map +1 -0
- package/lib/module/components/VectorSource.js +124 -0
- package/lib/module/components/VectorSource.js.map +1 -0
- package/lib/module/hooks/useAbstractLayer.js +49 -0
- package/lib/module/hooks/useAbstractLayer.js.map +1 -0
- package/lib/module/hooks/useAbstractSource.js +20 -0
- package/lib/module/hooks/useAbstractSource.js.map +1 -0
- package/lib/module/hooks/useNativeBridge.js +80 -0
- package/lib/module/hooks/useNativeBridge.js.map +1 -0
- package/lib/module/hooks/useNativeRef.js +10 -0
- package/lib/module/hooks/useNativeRef.js.map +1 -0
- package/lib/module/hooks/useOnce.js +12 -0
- package/lib/module/hooks/useOnce.js.map +1 -0
- package/lib/module/index.js +6 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/modules/location/locationManager.js +87 -0
- package/lib/module/modules/location/locationManager.js.map +1 -0
- package/lib/module/modules/offline/OfflineCreatePackOptions.js +33 -0
- package/lib/module/modules/offline/OfflineCreatePackOptions.js.map +1 -0
- package/lib/module/modules/offline/OfflinePack.js +36 -0
- package/lib/module/modules/offline/OfflinePack.js.map +1 -0
- package/lib/module/modules/offline/offlineManager.js +341 -0
- package/lib/module/modules/offline/offlineManager.js.map +1 -0
- package/lib/module/modules/snapshot/SnapshotOptions.js +53 -0
- package/lib/module/modules/snapshot/SnapshotOptions.js.map +1 -0
- package/lib/module/modules/snapshot/snapshotManager.js +61 -0
- package/lib/module/modules/snapshot/snapshotManager.js.map +1 -0
- package/lib/module/requestAndroidLocationPermissions.js +21 -0
- package/lib/module/requestAndroidLocationPermissions.js.map +1 -0
- package/lib/module/types/BaseProps.js +2 -0
- package/lib/module/types/BaseProps.js.map +1 -0
- package/lib/module/types/CameraMode.js +10 -0
- package/lib/module/types/CameraMode.js.map +1 -0
- package/lib/module/types/MapLibreRNEvent.js +4 -0
- package/lib/module/types/MapLibreRNEvent.js.map +1 -0
- package/lib/module/types/OnPressEvent.js +2 -0
- package/lib/module/types/OnPressEvent.js.map +1 -0
- package/lib/module/types/StyleURL.js +7 -0
- package/lib/module/types/StyleURL.js.map +1 -0
- package/lib/module/utils/BridgeValue.js +54 -0
- package/lib/module/utils/BridgeValue.js.map +1 -0
- package/lib/module/utils/Logger.js +114 -0
- package/lib/module/utils/Logger.js.map +1 -0
- package/lib/module/utils/MapLibreRNStyles.d.js +180 -0
- package/lib/module/utils/MapLibreRNStyles.d.js.map +1 -0
- package/lib/module/utils/StyleValue.js +34 -0
- package/lib/module/utils/StyleValue.js.map +1 -0
- package/lib/module/utils/animated/AbstractAnimatedCoordinates.js +92 -0
- package/lib/module/utils/animated/AbstractAnimatedCoordinates.js.map +1 -0
- package/lib/module/utils/animated/Animated.js +42 -0
- package/lib/module/utils/animated/Animated.js.map +1 -0
- package/lib/module/utils/animated/AnimatedCoordinatesArray.js +87 -0
- package/lib/module/utils/animated/AnimatedCoordinatesArray.js.map +1 -0
- package/lib/module/utils/animated/AnimatedExtractCoordinateFromArray.js +36 -0
- package/lib/module/utils/animated/AnimatedExtractCoordinateFromArray.js.map +1 -0
- package/lib/module/utils/animated/AnimatedPoint.js +107 -0
- package/lib/module/utils/animated/AnimatedPoint.js.map +1 -0
- package/lib/module/utils/animated/AnimatedRouteCoordinatesArray.js +131 -0
- package/lib/module/utils/animated/AnimatedRouteCoordinatesArray.js.map +1 -0
- package/lib/module/utils/animated/AnimatedShape.js +71 -0
- package/lib/module/utils/animated/AnimatedShape.js.map +1 -0
- package/lib/module/utils/deprecation.js +27 -0
- package/lib/module/utils/deprecation.js.map +1 -0
- package/lib/module/utils/filterUtils.js +9 -0
- package/lib/module/utils/filterUtils.js.map +1 -0
- package/lib/module/utils/index.js +81 -0
- package/lib/module/utils/index.js.map +1 -0
- package/lib/module/utils/makeNativeBounds.js +7 -0
- package/lib/module/utils/makeNativeBounds.js.map +1 -0
- package/lib/module/utils/styleMap.js +249 -0
- package/lib/module/utils/styleMap.js.map +1 -0
- package/lib/typescript/commonjs/package.json +1 -0
- package/lib/typescript/commonjs/src/MLNModule.d.ts +21 -0
- package/lib/typescript/commonjs/src/MLNModule.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/MapLibreRN.d.ts +42 -0
- package/lib/typescript/commonjs/src/MapLibreRN.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Annotation.d.ts +21 -0
- package/lib/typescript/commonjs/src/components/Annotation.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/BackgroundLayer.d.ts +14 -0
- package/lib/typescript/commonjs/src/components/BackgroundLayer.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Callout.d.ts +35 -0
- package/lib/typescript/commonjs/src/components/Callout.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Camera.d.ts +134 -0
- package/lib/typescript/commonjs/src/components/Camera.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/CircleLayer.d.ts +17 -0
- package/lib/typescript/commonjs/src/components/CircleLayer.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/FillExtrusionLayer.d.ts +17 -0
- package/lib/typescript/commonjs/src/components/FillExtrusionLayer.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/FillLayer.d.ts +17 -0
- package/lib/typescript/commonjs/src/components/FillLayer.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/HeadingIndicator.d.ts +8 -0
- package/lib/typescript/commonjs/src/components/HeadingIndicator.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/HeatmapLayer.d.ts +17 -0
- package/lib/typescript/commonjs/src/components/HeatmapLayer.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/ImageSource.d.ts +31 -0
- package/lib/typescript/commonjs/src/components/ImageSource.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Images.d.ts +33 -0
- package/lib/typescript/commonjs/src/components/Images.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Light.d.ts +17 -0
- package/lib/typescript/commonjs/src/components/Light.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/LineLayer.d.ts +17 -0
- package/lib/typescript/commonjs/src/components/LineLayer.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/MapView.d.ts +235 -0
- package/lib/typescript/commonjs/src/components/MapView.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/MarkerView.d.ts +44 -0
- package/lib/typescript/commonjs/src/components/MarkerView.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/NativeUserLocation.d.ts +26 -0
- package/lib/typescript/commonjs/src/components/NativeUserLocation.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/PointAnnotation.d.ts +91 -0
- package/lib/typescript/commonjs/src/components/PointAnnotation.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/RasterLayer.d.ts +14 -0
- package/lib/typescript/commonjs/src/components/RasterLayer.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/RasterSource.d.ts +53 -0
- package/lib/typescript/commonjs/src/components/RasterSource.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/ShapeSource.d.ts +124 -0
- package/lib/typescript/commonjs/src/components/ShapeSource.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/Style.d.ts +81 -0
- package/lib/typescript/commonjs/src/components/Style.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/SymbolLayer.d.ts +22 -0
- package/lib/typescript/commonjs/src/components/SymbolLayer.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/UserLocation.d.ts +70 -0
- package/lib/typescript/commonjs/src/components/UserLocation.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/components/VectorSource.d.ts +70 -0
- package/lib/typescript/commonjs/src/components/VectorSource.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/hooks/useAbstractLayer.d.ts +62 -0
- package/lib/typescript/commonjs/src/hooks/useAbstractLayer.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/hooks/useAbstractSource.d.ts +7 -0
- package/lib/typescript/commonjs/src/hooks/useAbstractSource.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/hooks/useNativeBridge.d.ts +21 -0
- package/lib/typescript/commonjs/src/hooks/useNativeBridge.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/hooks/useNativeRef.d.ts +8 -0
- package/lib/typescript/commonjs/src/hooks/useNativeRef.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/hooks/useOnce.d.ts +3 -0
- package/lib/typescript/commonjs/src/hooks/useOnce.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/index.d.ts +4 -0
- package/lib/typescript/commonjs/src/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/location/locationManager.d.ts +64 -0
- package/lib/typescript/commonjs/src/modules/location/locationManager.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/offline/OfflineCreatePackOptions.d.ts +21 -0
- package/lib/typescript/commonjs/src/modules/offline/OfflineCreatePackOptions.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/offline/OfflinePack.d.ts +24 -0
- package/lib/typescript/commonjs/src/modules/offline/OfflinePack.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/offline/offlineManager.d.ts +210 -0
- package/lib/typescript/commonjs/src/modules/offline/offlineManager.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/snapshot/SnapshotOptions.d.ts +42 -0
- package/lib/typescript/commonjs/src/modules/snapshot/SnapshotOptions.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/snapshot/snapshotManager.d.ts +52 -0
- package/lib/typescript/commonjs/src/modules/snapshot/snapshotManager.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/requestAndroidLocationPermissions.d.ts +2 -0
- package/lib/typescript/commonjs/src/requestAndroidLocationPermissions.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/BaseProps.d.ts +4 -0
- package/lib/typescript/commonjs/src/types/BaseProps.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/CameraMode.d.ts +7 -0
- package/lib/typescript/commonjs/src/types/CameraMode.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/MapLibreRNEvent.d.ts +6 -0
- package/lib/typescript/commonjs/src/types/MapLibreRNEvent.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/OnPressEvent.d.ts +12 -0
- package/lib/typescript/commonjs/src/types/OnPressEvent.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/types/StyleURL.d.ts +4 -0
- package/lib/typescript/commonjs/src/types/StyleURL.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/BridgeValue.d.ts +29 -0
- package/lib/typescript/commonjs/src/utils/BridgeValue.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/Logger.d.ts +52 -0
- package/lib/typescript/commonjs/src/utils/Logger.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/StyleValue.d.ts +10 -0
- package/lib/typescript/commonjs/src/utils/StyleValue.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/animated/AbstractAnimatedCoordinates.d.ts +36 -0
- package/lib/typescript/commonjs/src/utils/animated/AbstractAnimatedCoordinates.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/animated/Animated.d.ts +33 -0
- package/lib/typescript/commonjs/src/utils/animated/Animated.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/animated/AnimatedCoordinatesArray.d.ts +40 -0
- package/lib/typescript/commonjs/src/utils/animated/AnimatedCoordinatesArray.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/animated/AnimatedExtractCoordinateFromArray.d.ts +11 -0
- package/lib/typescript/commonjs/src/utils/animated/AnimatedExtractCoordinateFromArray.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/animated/AnimatedPoint.d.ts +31 -0
- package/lib/typescript/commonjs/src/utils/animated/AnimatedPoint.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/animated/AnimatedRouteCoordinatesArray.d.ts +54 -0
- package/lib/typescript/commonjs/src/utils/animated/AnimatedRouteCoordinatesArray.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/animated/AnimatedShape.d.ts +27 -0
- package/lib/typescript/commonjs/src/utils/animated/AnimatedShape.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/deprecation.d.ts +6 -0
- package/lib/typescript/commonjs/src/utils/deprecation.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/filterUtils.d.ts +3 -0
- package/lib/typescript/commonjs/src/utils/filterUtils.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/index.d.ts +21 -0
- package/lib/typescript/commonjs/src/utils/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/makeNativeBounds.d.ts +2 -0
- package/lib/typescript/commonjs/src/utils/makeNativeBounds.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/utils/styleMap.d.ts +231 -0
- package/lib/typescript/commonjs/src/utils/styleMap.d.ts.map +1 -0
- package/lib/typescript/module/package.json +1 -0
- package/lib/typescript/module/src/MLNModule.d.ts +21 -0
- package/lib/typescript/module/src/MLNModule.d.ts.map +1 -0
- package/lib/typescript/module/src/MapLibreRN.d.ts +42 -0
- package/lib/typescript/module/src/MapLibreRN.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Annotation.d.ts +21 -0
- package/lib/typescript/module/src/components/Annotation.d.ts.map +1 -0
- package/lib/typescript/module/src/components/BackgroundLayer.d.ts +14 -0
- package/lib/typescript/module/src/components/BackgroundLayer.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Callout.d.ts +35 -0
- package/lib/typescript/module/src/components/Callout.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Camera.d.ts +134 -0
- package/lib/typescript/module/src/components/Camera.d.ts.map +1 -0
- package/lib/typescript/module/src/components/CircleLayer.d.ts +17 -0
- package/lib/typescript/module/src/components/CircleLayer.d.ts.map +1 -0
- package/lib/typescript/module/src/components/FillExtrusionLayer.d.ts +17 -0
- package/lib/typescript/module/src/components/FillExtrusionLayer.d.ts.map +1 -0
- package/lib/typescript/module/src/components/FillLayer.d.ts +17 -0
- package/lib/typescript/module/src/components/FillLayer.d.ts.map +1 -0
- package/lib/typescript/module/src/components/HeadingIndicator.d.ts +8 -0
- package/lib/typescript/module/src/components/HeadingIndicator.d.ts.map +1 -0
- package/lib/typescript/module/src/components/HeatmapLayer.d.ts +17 -0
- package/lib/typescript/module/src/components/HeatmapLayer.d.ts.map +1 -0
- package/lib/typescript/module/src/components/ImageSource.d.ts +31 -0
- package/lib/typescript/module/src/components/ImageSource.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Images.d.ts +33 -0
- package/lib/typescript/module/src/components/Images.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Light.d.ts +17 -0
- package/lib/typescript/module/src/components/Light.d.ts.map +1 -0
- package/lib/typescript/module/src/components/LineLayer.d.ts +17 -0
- package/lib/typescript/module/src/components/LineLayer.d.ts.map +1 -0
- package/lib/typescript/module/src/components/MapView.d.ts +235 -0
- package/lib/typescript/module/src/components/MapView.d.ts.map +1 -0
- package/lib/typescript/module/src/components/MarkerView.d.ts +44 -0
- package/lib/typescript/module/src/components/MarkerView.d.ts.map +1 -0
- package/lib/typescript/module/src/components/NativeUserLocation.d.ts +26 -0
- package/lib/typescript/module/src/components/NativeUserLocation.d.ts.map +1 -0
- package/lib/typescript/module/src/components/PointAnnotation.d.ts +91 -0
- package/lib/typescript/module/src/components/PointAnnotation.d.ts.map +1 -0
- package/lib/typescript/module/src/components/RasterLayer.d.ts +14 -0
- package/lib/typescript/module/src/components/RasterLayer.d.ts.map +1 -0
- package/lib/typescript/module/src/components/RasterSource.d.ts +53 -0
- package/lib/typescript/module/src/components/RasterSource.d.ts.map +1 -0
- package/lib/typescript/module/src/components/ShapeSource.d.ts +124 -0
- package/lib/typescript/module/src/components/ShapeSource.d.ts.map +1 -0
- package/lib/typescript/module/src/components/Style.d.ts +81 -0
- package/lib/typescript/module/src/components/Style.d.ts.map +1 -0
- package/lib/typescript/module/src/components/SymbolLayer.d.ts +22 -0
- package/lib/typescript/module/src/components/SymbolLayer.d.ts.map +1 -0
- package/lib/typescript/module/src/components/UserLocation.d.ts +70 -0
- package/lib/typescript/module/src/components/UserLocation.d.ts.map +1 -0
- package/lib/typescript/module/src/components/VectorSource.d.ts +70 -0
- package/lib/typescript/module/src/components/VectorSource.d.ts.map +1 -0
- package/lib/typescript/module/src/hooks/useAbstractLayer.d.ts +62 -0
- package/lib/typescript/module/src/hooks/useAbstractLayer.d.ts.map +1 -0
- package/lib/typescript/module/src/hooks/useAbstractSource.d.ts +7 -0
- package/lib/typescript/module/src/hooks/useAbstractSource.d.ts.map +1 -0
- package/lib/typescript/module/src/hooks/useNativeBridge.d.ts +21 -0
- package/lib/typescript/module/src/hooks/useNativeBridge.d.ts.map +1 -0
- package/lib/typescript/module/src/hooks/useNativeRef.d.ts +8 -0
- package/lib/typescript/module/src/hooks/useNativeRef.d.ts.map +1 -0
- package/lib/typescript/module/src/hooks/useOnce.d.ts +3 -0
- package/lib/typescript/module/src/hooks/useOnce.d.ts.map +1 -0
- package/lib/typescript/module/src/index.d.ts +4 -0
- package/lib/typescript/module/src/index.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/location/locationManager.d.ts +64 -0
- package/lib/typescript/module/src/modules/location/locationManager.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/offline/OfflineCreatePackOptions.d.ts +21 -0
- package/lib/typescript/module/src/modules/offline/OfflineCreatePackOptions.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/offline/OfflinePack.d.ts +24 -0
- package/lib/typescript/module/src/modules/offline/OfflinePack.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/offline/offlineManager.d.ts +210 -0
- package/lib/typescript/module/src/modules/offline/offlineManager.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/snapshot/SnapshotOptions.d.ts +42 -0
- package/lib/typescript/module/src/modules/snapshot/SnapshotOptions.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/snapshot/snapshotManager.d.ts +52 -0
- package/lib/typescript/module/src/modules/snapshot/snapshotManager.d.ts.map +1 -0
- package/lib/typescript/module/src/requestAndroidLocationPermissions.d.ts +2 -0
- package/lib/typescript/module/src/requestAndroidLocationPermissions.d.ts.map +1 -0
- package/lib/typescript/module/src/types/BaseProps.d.ts +4 -0
- package/lib/typescript/module/src/types/BaseProps.d.ts.map +1 -0
- package/lib/typescript/module/src/types/CameraMode.d.ts +7 -0
- package/lib/typescript/module/src/types/CameraMode.d.ts.map +1 -0
- package/lib/typescript/module/src/types/MapLibreRNEvent.d.ts +6 -0
- package/lib/typescript/module/src/types/MapLibreRNEvent.d.ts.map +1 -0
- package/lib/typescript/module/src/types/OnPressEvent.d.ts +12 -0
- package/lib/typescript/module/src/types/OnPressEvent.d.ts.map +1 -0
- package/lib/typescript/module/src/types/StyleURL.d.ts +4 -0
- package/lib/typescript/module/src/types/StyleURL.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/BridgeValue.d.ts +29 -0
- package/lib/typescript/module/src/utils/BridgeValue.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/Logger.d.ts +52 -0
- package/lib/typescript/module/src/utils/Logger.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/StyleValue.d.ts +10 -0
- package/lib/typescript/module/src/utils/StyleValue.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/animated/AbstractAnimatedCoordinates.d.ts +36 -0
- package/lib/typescript/module/src/utils/animated/AbstractAnimatedCoordinates.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/animated/Animated.d.ts +33 -0
- package/lib/typescript/module/src/utils/animated/Animated.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/animated/AnimatedCoordinatesArray.d.ts +40 -0
- package/lib/typescript/module/src/utils/animated/AnimatedCoordinatesArray.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/animated/AnimatedExtractCoordinateFromArray.d.ts +11 -0
- package/lib/typescript/module/src/utils/animated/AnimatedExtractCoordinateFromArray.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/animated/AnimatedPoint.d.ts +31 -0
- package/lib/typescript/module/src/utils/animated/AnimatedPoint.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/animated/AnimatedRouteCoordinatesArray.d.ts +54 -0
- package/lib/typescript/module/src/utils/animated/AnimatedRouteCoordinatesArray.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/animated/AnimatedShape.d.ts +27 -0
- package/lib/typescript/module/src/utils/animated/AnimatedShape.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/deprecation.d.ts +6 -0
- package/lib/typescript/module/src/utils/deprecation.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/filterUtils.d.ts +3 -0
- package/lib/typescript/module/src/utils/filterUtils.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/index.d.ts +21 -0
- package/lib/typescript/module/src/utils/index.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/makeNativeBounds.d.ts +2 -0
- package/lib/typescript/module/src/utils/makeNativeBounds.d.ts.map +1 -0
- package/lib/typescript/module/src/utils/styleMap.d.ts +231 -0
- package/lib/typescript/module/src/utils/styleMap.d.ts.map +1 -0
- package/package.json +83 -6
- package/plugin/build/withMapLibre.d.ts +1 -1
- package/{javascript/Maplibre.ts → src/MapLibreRN.ts} +1 -1
- package/src/assets/heading.png +0 -0
- package/src/assets/heading@2x.png +0 -0
- package/src/assets/heading@3x.png +0 -0
- package/src/assets/png.d.ts +4 -0
- package/{javascript → src}/components/Annotation.tsx +8 -8
- package/{javascript → src}/components/BackgroundLayer.tsx +4 -4
- package/{javascript → src}/components/Callout.tsx +5 -5
- package/{javascript → src}/components/Camera.tsx +5 -5
- package/{javascript → src}/components/CircleLayer.tsx +4 -4
- package/{javascript → src}/components/FillExtrusionLayer.tsx +4 -4
- package/{javascript → src}/components/FillLayer.tsx +4 -4
- package/{javascript → src}/components/HeadingIndicator.tsx +3 -4
- package/{javascript → src}/components/HeatmapLayer.tsx +4 -4
- package/{javascript → src}/components/ImageSource.tsx +2 -2
- package/{javascript → src}/components/Images.tsx +7 -7
- package/{javascript → src}/components/Light.tsx +6 -4
- package/{javascript → src}/components/LineLayer.tsx +4 -4
- package/{javascript → src}/components/MapView.tsx +12 -11
- package/{javascript → src}/components/MarkerView.tsx +2 -2
- package/{javascript → src}/components/NativeUserLocation.tsx +1 -1
- package/{javascript → src}/components/PointAnnotation.tsx +5 -5
- package/{javascript → src}/components/RasterLayer.tsx +4 -4
- package/{javascript → src}/components/RasterSource.tsx +1 -1
- package/{javascript → src}/components/ShapeSource.tsx +13 -9
- package/{javascript → src}/components/Style.tsx +32 -29
- package/{javascript → src}/components/SymbolLayer.tsx +7 -7
- package/{javascript → src}/components/UserLocation.tsx +18 -8
- package/{javascript → src}/components/VectorSource.tsx +6 -6
- package/{javascript → src}/hooks/useAbstractLayer.ts +9 -9
- package/{javascript → src}/hooks/useAbstractSource.ts +2 -2
- package/{javascript → src}/hooks/useNativeBridge.ts +2 -2
- package/{javascript → src}/hooks/useNativeRef.ts +2 -2
- package/src/index.ts +4 -0
- package/{javascript → src}/modules/location/locationManager.ts +1 -1
- package/{javascript → src}/modules/offline/offlineManager.ts +18 -13
- package/{javascript → src}/modules/snapshot/snapshotManager.ts +1 -1
- package/{javascript → src}/requestAndroidLocationPermissions.ts +3 -3
- package/src/types/BaseProps.ts +3 -0
- package/src/types/MapLibreRNEvent.ts +7 -0
- package/{javascript → src}/types/OnPressEvent.ts +1 -3
- package/src/types/StyleURL.ts +3 -0
- package/{javascript → src}/utils/BridgeValue.ts +8 -8
- package/{javascript → src}/utils/Logger.ts +1 -1
- package/{javascript/utils/MaplibreStyles.d.ts → src/utils/MapLibreRNStyles.d.ts} +1 -1
- package/{javascript → src}/utils/StyleValue.ts +2 -2
- package/{javascript → src}/utils/animated/Animated.ts +2 -2
- package/{javascript → src}/utils/animated/AnimatedCoordinatesArray.ts +24 -19
- package/{javascript → src}/utils/animated/AnimatedPoint.ts +4 -4
- package/{javascript → src}/utils/animated/AnimatedRouteCoordinatesArray.ts +14 -9
- package/{javascript → src}/utils/filterUtils.ts +1 -1
- package/{javascript → src}/utils/index.ts +5 -5
- package/.eslintrc.js +0 -5
- package/.git-blame-ignore-revs +0 -3
- package/.gitattributes +0 -1
- package/.nvmrc +0 -1
- package/.sonarcloud.properties +0 -15
- package/CODE_OF_CONDUCT.md +0 -2
- package/CONTRIBUTING.md +0 -61
- package/RELEASE.md +0 -30
- package/assets/indoor_building_map_android.png +0 -0
- package/assets/indoor_building_map_ios.png +0 -0
- package/babel.config.js +0 -12
- package/docs/Annotation.md +0 -29
- package/docs/Annotations.md +0 -12
- package/docs/BackgroundLayer.md +0 -166
- package/docs/Callout.md +0 -16
- package/docs/Camera.md +0 -132
- package/docs/CircleLayer.md +0 -487
- package/docs/CustomHttpHeaders.md +0 -87
- package/docs/FillExtrusionLayer.md +0 -349
- package/docs/FillLayer.md +0 -317
- package/docs/GettingStarted.md +0 -113
- package/docs/HeadingIndicator.md +0 -11
- package/docs/HeatmapLayer.md +0 -214
- package/docs/ImageSource.md +0 -14
- package/docs/Images.md +0 -15
- package/docs/Light.md +0 -167
- package/docs/LineLayer.md +0 -603
- package/docs/Logger.md +0 -23
- package/docs/MapLibreGL.md +0 -65
- package/docs/MapView.md +0 -178
- package/docs/MarkerView.md +0 -17
- package/docs/NativeUserLocation.md +0 -13
- package/docs/PointAnnotation.md +0 -28
- package/docs/RasterLayer.md +0 -357
- package/docs/RasterSource.md +0 -19
- package/docs/ShapeSource.md +0 -104
- package/docs/Style.md +0 -11
- package/docs/StyleSheet.md +0 -451
- package/docs/SymbolLayer.md +0 -1752
- package/docs/UserLocation.md +0 -43
- package/docs/VectorSource.md +0 -50
- package/docs/coordinates.md +0 -7
- package/docs/docs.json +0 -5390
- package/docs/location.md +0 -7
- package/docs/offlineManager.md +0 -231
- package/docs/snapshotManager.md +0 -54
- package/javascript/index.ts +0 -4
- package/javascript/types/BaseProps.ts +0 -5
- package/javascript/types/index.ts +0 -11
- package/jest-setup.ts +0 -113
- package/jest.config.js +0 -8
- package/plugin/install.md +0 -25
- package/scripts/.eslintrc.js +0 -3
- package/scripts/codegen.ts +0 -344
- package/scripts/templates/MaplibreStyles.ts.ejs +0 -102
- package/scripts/templates/RCTMLNStyle.h.ejs +0 -34
- package/scripts/templates/RCTMLNStyle.m.ejs +0 -98
- package/scripts/templates/RCTMLNStyleFactory.java.ejs +0 -108
- package/scripts/templates/component.md.ejs +0 -125
- package/scripts/templates/styleMap.ts.ejs +0 -86
- package/scripts/utils/DocJSONBuilder.ts +0 -463
- package/scripts/utils/JSDocNodeTree.ts +0 -135
- package/scripts/utils/MarkdownBuilder.ts +0 -44
- package/scripts/utils/TemplateHelpers.ts +0 -505
- package/scripts/utils/getNativeVersion.ts +0 -53
- package/tsconfig.json +0 -22
- /package/{assets → lib/commonjs/assets}/heading.png +0 -0
- /package/{assets → lib/commonjs/assets}/heading@2x.png +0 -0
- /package/{assets → lib/commonjs/assets}/heading@3x.png +0 -0
- /package/{javascript → src}/MLNModule.ts +0 -0
- /package/{javascript → src}/hooks/useOnce.ts +0 -0
- /package/{javascript → src}/modules/offline/OfflineCreatePackOptions.ts +0 -0
- /package/{javascript → src}/modules/offline/OfflinePack.ts +0 -0
- /package/{javascript → src}/modules/snapshot/SnapshotOptions.ts +0 -0
- /package/{javascript → src}/types/CameraMode.ts +0 -0
- /package/{javascript → src}/utils/animated/AbstractAnimatedCoordinates.ts +0 -0
- /package/{javascript → src}/utils/animated/AnimatedExtractCoordinateFromArray.ts +0 -0
- /package/{javascript → src}/utils/animated/AnimatedShape.ts +0 -0
- /package/{javascript → src}/utils/deprecation.ts +0 -0
- /package/{javascript → src}/utils/makeNativeBounds.ts +0 -0
- /package/{javascript → src}/utils/styleMap.ts +0 -0
package/docs/FillLayer.md
DELETED
|
@@ -1,317 +0,0 @@
|
|
|
1
|
-
<!-- DO NOT MODIFY -->
|
|
2
|
-
<!-- This file is auto-generated from javascript/components/FillLayer.tsx -->
|
|
3
|
-
# `<MapLibreGL.FillLayer />`
|
|
4
|
-
FillLayer is a style layer that renders one or more filled (and optionally stroked) polygons on the map.
|
|
5
|
-
|
|
6
|
-
## Props
|
|
7
|
-
| Prop | Type | Default | Required | Description |
|
|
8
|
-
| ---- | :--: | :-----: | :------: | :----------: |
|
|
9
|
-
| style | `FillLayerStyleProps` | `none` | `false` | Customizable style attributes |
|
|
10
|
-
| sourceID | `FIX ME UNKNOWN TYPE` | `MapLibreGL.StyleSource.DefaultSourceID` | `false` | FIX ME NO DESCRIPTION |
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
## Styles
|
|
14
|
-
|
|
15
|
-
* <a href="#name">`fillSortKey`</a><br/>
|
|
16
|
-
* <a href="#name-1">`visibility`</a><br/>
|
|
17
|
-
* <a href="#name-2">`fillAntialias`</a><br/>
|
|
18
|
-
* <a href="#name-3">`fillOpacity`</a><br/>
|
|
19
|
-
* <a href="#name-4">`fillColor`</a><br/>
|
|
20
|
-
* <a href="#name-5">`fillOutlineColor`</a><br/>
|
|
21
|
-
* <a href="#name-6">`fillTranslate`</a><br/>
|
|
22
|
-
* <a href="#name-7">`fillTranslateAnchor`</a><br/>
|
|
23
|
-
* <a href="#name-8">`fillPattern`</a><br/>
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
### `fillSortKey`
|
|
27
|
-
|
|
28
|
-
Sorts features in ascending order based on this value. Features with a higher sort key will appear above features with a lower sort key.
|
|
29
|
-
|
|
30
|
-
<dl>
|
|
31
|
-
<dt>Type</dt>
|
|
32
|
-
<dd>
|
|
33
|
-
<code>number</code>
|
|
34
|
-
</dd>
|
|
35
|
-
</ul>
|
|
36
|
-
</dd>
|
|
37
|
-
<dt>Expression Parameters</dt>
|
|
38
|
-
<dd><code>zoom, feature</code></dd>
|
|
39
|
-
</dl>
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
### `visibility`
|
|
44
|
-
|
|
45
|
-
Whether this layer is displayed.
|
|
46
|
-
|
|
47
|
-
<dl>
|
|
48
|
-
<dt>Type</dt>
|
|
49
|
-
<dd>
|
|
50
|
-
<code>enum</code>
|
|
51
|
-
</dd>
|
|
52
|
-
<dt>Default Value</dt>
|
|
53
|
-
<dd><code>visible</code></dd>
|
|
54
|
-
<dt>Supported Values</dt>
|
|
55
|
-
<dd>
|
|
56
|
-
<ul>
|
|
57
|
-
<li>
|
|
58
|
-
<code>visible</code>: The layer is shown.
|
|
59
|
-
</li>
|
|
60
|
-
<li>
|
|
61
|
-
<code>none</code>: The layer is not shown.
|
|
62
|
-
</li>
|
|
63
|
-
</ul>
|
|
64
|
-
</dd>
|
|
65
|
-
</dl>
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
### `fillAntialias`
|
|
70
|
-
|
|
71
|
-
Whether or not the fill should be antialiased.
|
|
72
|
-
|
|
73
|
-
<dl>
|
|
74
|
-
<dt>Type</dt>
|
|
75
|
-
<dd>
|
|
76
|
-
<code>boolean</code>
|
|
77
|
-
</dd>
|
|
78
|
-
<dt>Default Value</dt>
|
|
79
|
-
<dd><code>true</code></dd>
|
|
80
|
-
</ul>
|
|
81
|
-
</dd>
|
|
82
|
-
<dt>Expression Parameters</dt>
|
|
83
|
-
<dd><code>zoom</code></dd>
|
|
84
|
-
</dl>
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
### `fillOpacity`
|
|
89
|
-
|
|
90
|
-
The opacity of the entire fill layer. In contrast to the `fillColor`, this value will also affect the 1px stroke around the fill, if the stroke is used.
|
|
91
|
-
|
|
92
|
-
<dl>
|
|
93
|
-
<dt>Type</dt>
|
|
94
|
-
<dd>
|
|
95
|
-
<code>number</code>
|
|
96
|
-
</dd>
|
|
97
|
-
<dt>Default Value</dt>
|
|
98
|
-
<dd><code>1</code></dd>
|
|
99
|
-
</ul>
|
|
100
|
-
</dd>
|
|
101
|
-
<dt>Minimum</dt>
|
|
102
|
-
<dd><code>0</code></dd>
|
|
103
|
-
<dt>Maximum</dt>
|
|
104
|
-
<dd><code>1</code></dd>
|
|
105
|
-
<dt>Expression Parameters</dt>
|
|
106
|
-
<dd><code>zoom, feature, feature-state</code></dd>
|
|
107
|
-
</dl>
|
|
108
|
-
|
|
109
|
-
### `fillOpacityTransition`
|
|
110
|
-
|
|
111
|
-
The transition affecting any changes to this layer’s fillOpacity property.
|
|
112
|
-
|
|
113
|
-
<dl>
|
|
114
|
-
<dt>Type</dt>
|
|
115
|
-
<dd>
|
|
116
|
-
<code>{ duration, delay }</code>
|
|
117
|
-
</dd>
|
|
118
|
-
|
|
119
|
-
<dt>Units</dt>
|
|
120
|
-
<dd>
|
|
121
|
-
<code>milliseconds</code>
|
|
122
|
-
</dd>
|
|
123
|
-
|
|
124
|
-
<dt>Default Value</dt>
|
|
125
|
-
<dd>
|
|
126
|
-
<code>{duration: 300, delay: 0}</code>
|
|
127
|
-
</dd>
|
|
128
|
-
</dl>
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
### `fillColor`
|
|
132
|
-
|
|
133
|
-
The color of the filled part of this layer. This color can be specified as `rgba` with an alpha component and the color's opacity will not affect the opacity of the 1px stroke, if it is used.
|
|
134
|
-
|
|
135
|
-
<dl>
|
|
136
|
-
<dt>Type</dt>
|
|
137
|
-
<dd>
|
|
138
|
-
<code>color</code>
|
|
139
|
-
</dd>
|
|
140
|
-
<dt>Default Value</dt>
|
|
141
|
-
<dd><code>#000000</code></dd>
|
|
142
|
-
</ul>
|
|
143
|
-
</dd>
|
|
144
|
-
<dt>Disabled By</dt>
|
|
145
|
-
<dd><code>fillPattern</code></dd>
|
|
146
|
-
<dt>Expression Parameters</dt>
|
|
147
|
-
<dd><code>zoom, feature, feature-state</code></dd>
|
|
148
|
-
</dl>
|
|
149
|
-
|
|
150
|
-
### `fillColorTransition`
|
|
151
|
-
|
|
152
|
-
The transition affecting any changes to this layer’s fillColor property.
|
|
153
|
-
|
|
154
|
-
<dl>
|
|
155
|
-
<dt>Type</dt>
|
|
156
|
-
<dd>
|
|
157
|
-
<code>{ duration, delay }</code>
|
|
158
|
-
</dd>
|
|
159
|
-
|
|
160
|
-
<dt>Units</dt>
|
|
161
|
-
<dd>
|
|
162
|
-
<code>milliseconds</code>
|
|
163
|
-
</dd>
|
|
164
|
-
|
|
165
|
-
<dt>Default Value</dt>
|
|
166
|
-
<dd>
|
|
167
|
-
<code>{duration: 300, delay: 0}</code>
|
|
168
|
-
</dd>
|
|
169
|
-
</dl>
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
### `fillOutlineColor`
|
|
173
|
-
|
|
174
|
-
The outline color of the fill. Matches the value of `fillColor` if unspecified.
|
|
175
|
-
|
|
176
|
-
<dl>
|
|
177
|
-
<dt>Type</dt>
|
|
178
|
-
<dd>
|
|
179
|
-
<code>color</code>
|
|
180
|
-
</dd>
|
|
181
|
-
</ul>
|
|
182
|
-
</dd>
|
|
183
|
-
<dt>Disabled By</dt>
|
|
184
|
-
<dd><code>fillPattern</code></dd>
|
|
185
|
-
<dt>Expression Parameters</dt>
|
|
186
|
-
<dd><code>zoom, feature, feature-state</code></dd>
|
|
187
|
-
</dl>
|
|
188
|
-
|
|
189
|
-
### `fillOutlineColorTransition`
|
|
190
|
-
|
|
191
|
-
The transition affecting any changes to this layer’s fillOutlineColor property.
|
|
192
|
-
|
|
193
|
-
<dl>
|
|
194
|
-
<dt>Type</dt>
|
|
195
|
-
<dd>
|
|
196
|
-
<code>{ duration, delay }</code>
|
|
197
|
-
</dd>
|
|
198
|
-
|
|
199
|
-
<dt>Units</dt>
|
|
200
|
-
<dd>
|
|
201
|
-
<code>milliseconds</code>
|
|
202
|
-
</dd>
|
|
203
|
-
|
|
204
|
-
<dt>Default Value</dt>
|
|
205
|
-
<dd>
|
|
206
|
-
<code>{duration: 300, delay: 0}</code>
|
|
207
|
-
</dd>
|
|
208
|
-
</dl>
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
### `fillTranslate`
|
|
212
|
-
|
|
213
|
-
The geometry's offset. Values are [x, y] where negatives indicate left and up, respectively.
|
|
214
|
-
|
|
215
|
-
<dl>
|
|
216
|
-
<dt>Type</dt>
|
|
217
|
-
<dd>
|
|
218
|
-
<code>array<number></code>
|
|
219
|
-
</dd>
|
|
220
|
-
<dt>Default Value</dt>
|
|
221
|
-
<dd><code>[0,0]</code></dd>
|
|
222
|
-
</ul>
|
|
223
|
-
</dd>
|
|
224
|
-
<dt>Units</dt>
|
|
225
|
-
<dd><code>pixels</code></dd>
|
|
226
|
-
<dt>Expression Parameters</dt>
|
|
227
|
-
<dd><code>zoom</code></dd>
|
|
228
|
-
</dl>
|
|
229
|
-
|
|
230
|
-
### `fillTranslateTransition`
|
|
231
|
-
|
|
232
|
-
The transition affecting any changes to this layer’s fillTranslate property.
|
|
233
|
-
|
|
234
|
-
<dl>
|
|
235
|
-
<dt>Type</dt>
|
|
236
|
-
<dd>
|
|
237
|
-
<code>{ duration, delay }</code>
|
|
238
|
-
</dd>
|
|
239
|
-
|
|
240
|
-
<dt>Units</dt>
|
|
241
|
-
<dd>
|
|
242
|
-
<code>milliseconds</code>
|
|
243
|
-
</dd>
|
|
244
|
-
|
|
245
|
-
<dt>Default Value</dt>
|
|
246
|
-
<dd>
|
|
247
|
-
<code>{duration: 300, delay: 0}</code>
|
|
248
|
-
</dd>
|
|
249
|
-
</dl>
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
### `fillTranslateAnchor`
|
|
253
|
-
|
|
254
|
-
Controls the frame of reference for `fillTranslate`.
|
|
255
|
-
|
|
256
|
-
<dl>
|
|
257
|
-
<dt>Type</dt>
|
|
258
|
-
<dd>
|
|
259
|
-
<code>enum</code>
|
|
260
|
-
</dd>
|
|
261
|
-
<dt>Default Value</dt>
|
|
262
|
-
<dd><code>map</code></dd>
|
|
263
|
-
<dt>Supported Values</dt>
|
|
264
|
-
<dd>
|
|
265
|
-
<ul>
|
|
266
|
-
<li>
|
|
267
|
-
<code>map</code>: The fill is translated relative to the map.
|
|
268
|
-
</li>
|
|
269
|
-
<li>
|
|
270
|
-
<code>viewport</code>: The fill is translated relative to the viewport.
|
|
271
|
-
</li>
|
|
272
|
-
</ul>
|
|
273
|
-
</dd>
|
|
274
|
-
<dt>Requires</dt>
|
|
275
|
-
<dd><code>fillTranslate</code></dd>
|
|
276
|
-
<dt>Expression Parameters</dt>
|
|
277
|
-
<dd><code>zoom</code></dd>
|
|
278
|
-
</dl>
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
### `fillPattern`
|
|
283
|
-
|
|
284
|
-
Name of image in sprite to use for drawing image fills. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512). Note that zoomDependent expressions will be evaluated only at integer zoom levels.
|
|
285
|
-
|
|
286
|
-
<dl>
|
|
287
|
-
<dt>Type</dt>
|
|
288
|
-
<dd>
|
|
289
|
-
<code>resolvedImage</code>
|
|
290
|
-
</dd>
|
|
291
|
-
</ul>
|
|
292
|
-
</dd>
|
|
293
|
-
<dt>Expression Parameters</dt>
|
|
294
|
-
<dd><code>zoom, feature</code></dd>
|
|
295
|
-
</dl>
|
|
296
|
-
|
|
297
|
-
### `fillPatternTransition`
|
|
298
|
-
|
|
299
|
-
The transition affecting any changes to this layer’s fillPattern property.
|
|
300
|
-
|
|
301
|
-
<dl>
|
|
302
|
-
<dt>Type</dt>
|
|
303
|
-
<dd>
|
|
304
|
-
<code>{ duration, delay }</code>
|
|
305
|
-
</dd>
|
|
306
|
-
|
|
307
|
-
<dt>Units</dt>
|
|
308
|
-
<dd>
|
|
309
|
-
<code>milliseconds</code>
|
|
310
|
-
</dd>
|
|
311
|
-
|
|
312
|
-
<dt>Default Value</dt>
|
|
313
|
-
<dd>
|
|
314
|
-
<code>{duration: 300, delay: 0}</code>
|
|
315
|
-
</dd>
|
|
316
|
-
</dl>
|
|
317
|
-
|
package/docs/GettingStarted.md
DELETED
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
# Getting Started
|
|
2
|
-
|
|
3
|
-
This quickstart guide provides a zero-to-map intro using React Native. From there you can check out the
|
|
4
|
-
[examples](/packages/examples) folder if you want to jump in the deep end.
|
|
5
|
-
|
|
6
|
-
## Prerequisites
|
|
7
|
-
|
|
8
|
-
1. On Android we support API 23 and higher
|
|
9
|
-
2. You will need a vector tile source (such as Stadia Maps or MapTiler) for production use; a demonstration URL is used in the below example.
|
|
10
|
-
|
|
11
|
-
## Dependencies
|
|
12
|
-
|
|
13
|
-
- [node](https://nodejs.org)
|
|
14
|
-
- [npm](https://www.npmjs.com/)
|
|
15
|
-
- [React Native](https://facebook.github.io/react-native/) (0.60+)
|
|
16
|
-
|
|
17
|
-
## Installation
|
|
18
|
-
|
|
19
|
-
### Set up a React Native project
|
|
20
|
-
|
|
21
|
-
If you don't have an existing React Native project, create one:
|
|
22
|
-
|
|
23
|
-
```shell
|
|
24
|
-
npx react-native init MyApp
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
### Install Package
|
|
28
|
-
|
|
29
|
-
From your React Native project's root directory, add the package via
|
|
30
|
-
either `yarn` or `npm` (pick one).
|
|
31
|
-
|
|
32
|
-
```shell
|
|
33
|
-
# install with Yarn
|
|
34
|
-
yarn add @maplibre/maplibre-react-native
|
|
35
|
-
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
```shell
|
|
39
|
-
# install with NPM
|
|
40
|
-
npm install @maplibre/maplibre-react-native --save
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
### Review platform specific Details
|
|
44
|
-
|
|
45
|
-
Check out the installation guide(s) for additional information about platform-specific setup, quirks,
|
|
46
|
-
and steps required before running.
|
|
47
|
-
|
|
48
|
-
- [Android](/android/install.md)
|
|
49
|
-
- [iOS](/ios/install.md)
|
|
50
|
-
- [Expo](/plugin/install.md)
|
|
51
|
-
|
|
52
|
-
## Adding a map
|
|
53
|
-
|
|
54
|
-
Here is an example minimal App.js
|
|
55
|
-
|
|
56
|
-
```js
|
|
57
|
-
import React, {Component} from 'react';
|
|
58
|
-
import {StyleSheet, View} from 'react-native';
|
|
59
|
-
import MapLibreGL from '@maplibre/maplibre-react-native';
|
|
60
|
-
|
|
61
|
-
// Will be null for most users (only Mapbox authenticates this way).
|
|
62
|
-
// Required on Android. See Android installation notes.
|
|
63
|
-
MapLibreGL.setAccessToken(null);
|
|
64
|
-
|
|
65
|
-
const styles = StyleSheet.create({
|
|
66
|
-
page: {
|
|
67
|
-
flex: 1,
|
|
68
|
-
justifyContent: 'center',
|
|
69
|
-
alignItems: 'center',
|
|
70
|
-
backgroundColor: '#F5FCFF',
|
|
71
|
-
},
|
|
72
|
-
map: {
|
|
73
|
-
flex: 1,
|
|
74
|
-
alignSelf: 'stretch',
|
|
75
|
-
},
|
|
76
|
-
});
|
|
77
|
-
|
|
78
|
-
export default class App extends Component {
|
|
79
|
-
render() {
|
|
80
|
-
return (
|
|
81
|
-
<View style={styles.page}>
|
|
82
|
-
<MapLibreGL.MapView
|
|
83
|
-
style={styles.map}
|
|
84
|
-
logoEnabled={false}
|
|
85
|
-
styleURL="https://demotiles.maplibre.org/style.json"
|
|
86
|
-
/>
|
|
87
|
-
</View>
|
|
88
|
-
);
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
```
|
|
92
|
-
|
|
93
|
-
## Run it!
|
|
94
|
-
|
|
95
|
-
### iOS
|
|
96
|
-
|
|
97
|
-
```shell
|
|
98
|
-
# Run with yarn
|
|
99
|
-
yarn run ios
|
|
100
|
-
|
|
101
|
-
# or Run with NPM
|
|
102
|
-
npm run ios
|
|
103
|
-
```
|
|
104
|
-
|
|
105
|
-
### Android
|
|
106
|
-
|
|
107
|
-
```shell
|
|
108
|
-
# Run with yarn
|
|
109
|
-
yarn run android
|
|
110
|
-
|
|
111
|
-
# or Run with NPM
|
|
112
|
-
npm run android
|
|
113
|
-
```
|
package/docs/HeadingIndicator.md
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<!-- DO NOT MODIFY -->
|
|
2
|
-
<!-- This file is auto-generated from javascript/components/HeadingIndicator.tsx -->
|
|
3
|
-
# `<MapLibreGL.HeadingIndicator />`
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
## Props
|
|
7
|
-
| Prop | Type | Default | Required | Description |
|
|
8
|
-
| ---- | :--: | :-----: | :------: | :----------: |
|
|
9
|
-
| heading | `number` | `none` | `false` | FIX ME NO DESCRIPTION |
|
|
10
|
-
|
|
11
|
-
|
package/docs/HeatmapLayer.md
DELETED
|
@@ -1,214 +0,0 @@
|
|
|
1
|
-
<!-- DO NOT MODIFY -->
|
|
2
|
-
<!-- This file is auto-generated from javascript/components/HeatmapLayer.tsx -->
|
|
3
|
-
# `<MapLibreGL.HeatmapLayer />`
|
|
4
|
-
HeatmapLayer is a style layer that renders one or more filled circles on the map.
|
|
5
|
-
|
|
6
|
-
## Props
|
|
7
|
-
| Prop | Type | Default | Required | Description |
|
|
8
|
-
| ---- | :--: | :-----: | :------: | :----------: |
|
|
9
|
-
| style | `HeatmapLayerStyleProps` | `none` | `false` | Customizable style attributes |
|
|
10
|
-
| sourceID | `FIX ME UNKNOWN TYPE` | `MapLibreGL.StyleSource.DefaultSourceID` | `false` | FIX ME NO DESCRIPTION |
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
## Styles
|
|
14
|
-
|
|
15
|
-
* <a href="#name">`visibility`</a><br/>
|
|
16
|
-
* <a href="#name-1">`heatmapRadius`</a><br/>
|
|
17
|
-
* <a href="#name-2">`heatmapWeight`</a><br/>
|
|
18
|
-
* <a href="#name-3">`heatmapIntensity`</a><br/>
|
|
19
|
-
* <a href="#name-4">`heatmapColor`</a><br/>
|
|
20
|
-
* <a href="#name-5">`heatmapOpacity`</a><br/>
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
### `visibility`
|
|
24
|
-
|
|
25
|
-
Whether this layer is displayed.
|
|
26
|
-
|
|
27
|
-
<dl>
|
|
28
|
-
<dt>Type</dt>
|
|
29
|
-
<dd>
|
|
30
|
-
<code>enum</code>
|
|
31
|
-
</dd>
|
|
32
|
-
<dt>Default Value</dt>
|
|
33
|
-
<dd><code>visible</code></dd>
|
|
34
|
-
<dt>Supported Values</dt>
|
|
35
|
-
<dd>
|
|
36
|
-
<ul>
|
|
37
|
-
<li>
|
|
38
|
-
<code>visible</code>: The layer is shown.
|
|
39
|
-
</li>
|
|
40
|
-
<li>
|
|
41
|
-
<code>none</code>: The layer is not shown.
|
|
42
|
-
</li>
|
|
43
|
-
</ul>
|
|
44
|
-
</dd>
|
|
45
|
-
</dl>
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
### `heatmapRadius`
|
|
50
|
-
|
|
51
|
-
Radius of influence of one heatmap point in pixels. Increasing the value makes the heatmap smoother, but less detailed.
|
|
52
|
-
|
|
53
|
-
<dl>
|
|
54
|
-
<dt>Type</dt>
|
|
55
|
-
<dd>
|
|
56
|
-
<code>number</code>
|
|
57
|
-
</dd>
|
|
58
|
-
<dt>Default Value</dt>
|
|
59
|
-
<dd><code>30</code></dd>
|
|
60
|
-
</ul>
|
|
61
|
-
</dd>
|
|
62
|
-
<dt>Units</dt>
|
|
63
|
-
<dd><code>pixels</code></dd>
|
|
64
|
-
<dt>Minimum</dt>
|
|
65
|
-
<dd><code>1</code></dd>
|
|
66
|
-
<dt>Expression Parameters</dt>
|
|
67
|
-
<dd><code>zoom, feature, feature-state</code></dd>
|
|
68
|
-
</dl>
|
|
69
|
-
|
|
70
|
-
### `heatmapRadiusTransition`
|
|
71
|
-
|
|
72
|
-
The transition affecting any changes to this layer’s heatmapRadius property.
|
|
73
|
-
|
|
74
|
-
<dl>
|
|
75
|
-
<dt>Type</dt>
|
|
76
|
-
<dd>
|
|
77
|
-
<code>{ duration, delay }</code>
|
|
78
|
-
</dd>
|
|
79
|
-
|
|
80
|
-
<dt>Units</dt>
|
|
81
|
-
<dd>
|
|
82
|
-
<code>milliseconds</code>
|
|
83
|
-
</dd>
|
|
84
|
-
|
|
85
|
-
<dt>Default Value</dt>
|
|
86
|
-
<dd>
|
|
87
|
-
<code>{duration: 300, delay: 0}</code>
|
|
88
|
-
</dd>
|
|
89
|
-
</dl>
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
### `heatmapWeight`
|
|
93
|
-
|
|
94
|
-
A measure of how much an individual point contributes to the heatmap. A value of 10 would be equivalent to having 10 points of weight 1 in the same spot. Especially useful when combined with clustering.
|
|
95
|
-
|
|
96
|
-
<dl>
|
|
97
|
-
<dt>Type</dt>
|
|
98
|
-
<dd>
|
|
99
|
-
<code>number</code>
|
|
100
|
-
</dd>
|
|
101
|
-
<dt>Default Value</dt>
|
|
102
|
-
<dd><code>1</code></dd>
|
|
103
|
-
</ul>
|
|
104
|
-
</dd>
|
|
105
|
-
<dt>Minimum</dt>
|
|
106
|
-
<dd><code>0</code></dd>
|
|
107
|
-
<dt>Expression Parameters</dt>
|
|
108
|
-
<dd><code>zoom, feature, feature-state</code></dd>
|
|
109
|
-
</dl>
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
### `heatmapIntensity`
|
|
114
|
-
|
|
115
|
-
Similar to `heatmapWeight` but controls the intensity of the heatmap globally. Primarily used for adjusting the heatmap based on zoom level.
|
|
116
|
-
|
|
117
|
-
<dl>
|
|
118
|
-
<dt>Type</dt>
|
|
119
|
-
<dd>
|
|
120
|
-
<code>number</code>
|
|
121
|
-
</dd>
|
|
122
|
-
<dt>Default Value</dt>
|
|
123
|
-
<dd><code>1</code></dd>
|
|
124
|
-
</ul>
|
|
125
|
-
</dd>
|
|
126
|
-
<dt>Minimum</dt>
|
|
127
|
-
<dd><code>0</code></dd>
|
|
128
|
-
<dt>Expression Parameters</dt>
|
|
129
|
-
<dd><code>zoom</code></dd>
|
|
130
|
-
</dl>
|
|
131
|
-
|
|
132
|
-
### `heatmapIntensityTransition`
|
|
133
|
-
|
|
134
|
-
The transition affecting any changes to this layer’s heatmapIntensity property.
|
|
135
|
-
|
|
136
|
-
<dl>
|
|
137
|
-
<dt>Type</dt>
|
|
138
|
-
<dd>
|
|
139
|
-
<code>{ duration, delay }</code>
|
|
140
|
-
</dd>
|
|
141
|
-
|
|
142
|
-
<dt>Units</dt>
|
|
143
|
-
<dd>
|
|
144
|
-
<code>milliseconds</code>
|
|
145
|
-
</dd>
|
|
146
|
-
|
|
147
|
-
<dt>Default Value</dt>
|
|
148
|
-
<dd>
|
|
149
|
-
<code>{duration: 300, delay: 0}</code>
|
|
150
|
-
</dd>
|
|
151
|
-
</dl>
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
### `heatmapColor`
|
|
155
|
-
|
|
156
|
-
Defines the color of each pixel based on its density value in a heatmap. Should be an expression that uses `["heatmapDensity"]` as input.
|
|
157
|
-
|
|
158
|
-
<dl>
|
|
159
|
-
<dt>Type</dt>
|
|
160
|
-
<dd>
|
|
161
|
-
<code>color</code>
|
|
162
|
-
</dd>
|
|
163
|
-
<dt>Default Value</dt>
|
|
164
|
-
<dd><code>interpolate,linear,heatmap-density,0,rgba(0, 0, 255, 0),0.1,royalblue,0.3,cyan,0.5,lime,0.7,yellow,1,red</code></dd>
|
|
165
|
-
</ul>
|
|
166
|
-
</dd>
|
|
167
|
-
<dt>Expression Parameters</dt>
|
|
168
|
-
<dd><code>heatmap-density</code></dd>
|
|
169
|
-
</dl>
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
### `heatmapOpacity`
|
|
174
|
-
|
|
175
|
-
The global opacity at which the heatmap layer will be drawn.
|
|
176
|
-
|
|
177
|
-
<dl>
|
|
178
|
-
<dt>Type</dt>
|
|
179
|
-
<dd>
|
|
180
|
-
<code>number</code>
|
|
181
|
-
</dd>
|
|
182
|
-
<dt>Default Value</dt>
|
|
183
|
-
<dd><code>1</code></dd>
|
|
184
|
-
</ul>
|
|
185
|
-
</dd>
|
|
186
|
-
<dt>Minimum</dt>
|
|
187
|
-
<dd><code>0</code></dd>
|
|
188
|
-
<dt>Maximum</dt>
|
|
189
|
-
<dd><code>1</code></dd>
|
|
190
|
-
<dt>Expression Parameters</dt>
|
|
191
|
-
<dd><code>zoom</code></dd>
|
|
192
|
-
</dl>
|
|
193
|
-
|
|
194
|
-
### `heatmapOpacityTransition`
|
|
195
|
-
|
|
196
|
-
The transition affecting any changes to this layer’s heatmapOpacity property.
|
|
197
|
-
|
|
198
|
-
<dl>
|
|
199
|
-
<dt>Type</dt>
|
|
200
|
-
<dd>
|
|
201
|
-
<code>{ duration, delay }</code>
|
|
202
|
-
</dd>
|
|
203
|
-
|
|
204
|
-
<dt>Units</dt>
|
|
205
|
-
<dd>
|
|
206
|
-
<code>milliseconds</code>
|
|
207
|
-
</dd>
|
|
208
|
-
|
|
209
|
-
<dt>Default Value</dt>
|
|
210
|
-
<dd>
|
|
211
|
-
<code>{duration: 300, delay: 0}</code>
|
|
212
|
-
</dd>
|
|
213
|
-
</dl>
|
|
214
|
-
|
package/docs/ImageSource.md
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
<!-- DO NOT MODIFY -->
|
|
2
|
-
<!-- This file is auto-generated from javascript/components/ImageSource.tsx -->
|
|
3
|
-
# `<MapLibreGL.ImageSource />`
|
|
4
|
-
ImageSource is a content source that is used for a georeferenced raster image to be shown on the map.<br/>The georeferenced image scales and rotates as the user zooms and rotates the map
|
|
5
|
-
|
|
6
|
-
## Props
|
|
7
|
-
| Prop | Type | Default | Required | Description |
|
|
8
|
-
| ---- | :--: | :-----: | :------: | :----------: |
|
|
9
|
-
| id | `string` | `none` | `true` | A string that uniquely identifies the source. |
|
|
10
|
-
| url | `number \| string` | `none` | `false` | An HTTP(S) URL, absolute file URL, or local file URL to the source image.<br/>Gifs are currently not supported. |
|
|
11
|
-
| coordinates | `tuple` | `none` | `false` | The top left, top right, bottom right, and bottom left coordinates for the image. |
|
|
12
|
-
| children | `ReactElement \| ReactElement[]` | `none` | `false` | FIX ME NO DESCRIPTION |
|
|
13
|
-
|
|
14
|
-
|
package/docs/Images.md
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<!-- DO NOT MODIFY -->
|
|
2
|
-
<!-- This file is auto-generated from javascript/components/Images.tsx -->
|
|
3
|
-
# `<MapLibreGL.Images />`
|
|
4
|
-
Images defines the images used in Symbol etc layers
|
|
5
|
-
|
|
6
|
-
## Props
|
|
7
|
-
| Prop | Type | Default | Required | Description |
|
|
8
|
-
| ---- | :--: | :-----: | :------: | :----------: |
|
|
9
|
-
| images | `shape` | `none` | `false` | Specifies the external images in key-value pairs required for the shape source.<br/>Keys are names - see iconImage expressions, values can be either urls-s objects<br/>with format {uri: 'http://...'}` or `require('image.png')` or `import 'image.png'` |
|
|
10
|
-
| [object Object] | `union` | `none` | `true` | FIX ME NO DESCRIPTION |
|
|
11
|
-
| nativeAssetImages | `Array` | `none` | `false` | If you have an asset under Image.xcassets on iOS and the drawables directory on android<br/>you can specify an array of string names with assets as the key `['pin']`. |
|
|
12
|
-
| id | `string` | `none` | `false` | FIX ME NO DESCRIPTION |
|
|
13
|
-
| children | `ReactElement` | `none` | `true` | FIX ME NO DESCRIPTION |
|
|
14
|
-
|
|
15
|
-
|