@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/LineLayer.md
DELETED
|
@@ -1,603 +0,0 @@
|
|
|
1
|
-
<!-- DO NOT MODIFY -->
|
|
2
|
-
<!-- This file is auto-generated from javascript/components/LineLayer.tsx -->
|
|
3
|
-
# `<MapLibreGL.LineLayer />`
|
|
4
|
-
LineLayer is a style layer that renders one or more stroked polylines on the map.
|
|
5
|
-
|
|
6
|
-
## Props
|
|
7
|
-
| Prop | Type | Default | Required | Description |
|
|
8
|
-
| ---- | :--: | :-----: | :------: | :----------: |
|
|
9
|
-
| style | `LineLayerStyleProps` | `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">`lineCap`</a><br/>
|
|
16
|
-
* <a href="#name-1">`lineJoin`</a><br/>
|
|
17
|
-
* <a href="#name-2">`lineMiterLimit`</a><br/>
|
|
18
|
-
* <a href="#name-3">`lineRoundLimit`</a><br/>
|
|
19
|
-
* <a href="#name-4">`lineSortKey`</a><br/>
|
|
20
|
-
* <a href="#name-5">`visibility`</a><br/>
|
|
21
|
-
* <a href="#name-6">`lineOpacity`</a><br/>
|
|
22
|
-
* <a href="#name-7">`lineColor`</a><br/>
|
|
23
|
-
* <a href="#name-8">`lineTranslate`</a><br/>
|
|
24
|
-
* <a href="#name-9">`lineTranslateAnchor`</a><br/>
|
|
25
|
-
* <a href="#name-10">`lineWidth`</a><br/>
|
|
26
|
-
* <a href="#name-11">`lineGapWidth`</a><br/>
|
|
27
|
-
* <a href="#name-12">`lineOffset`</a><br/>
|
|
28
|
-
* <a href="#name-13">`lineBlur`</a><br/>
|
|
29
|
-
* <a href="#name-14">`lineDasharray`</a><br/>
|
|
30
|
-
* <a href="#name-15">`linePattern`</a><br/>
|
|
31
|
-
* <a href="#name-16">`lineGradient`</a><br/>
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
### `lineCap`
|
|
35
|
-
|
|
36
|
-
The display of line endings.
|
|
37
|
-
|
|
38
|
-
<dl>
|
|
39
|
-
<dt>Type</dt>
|
|
40
|
-
<dd>
|
|
41
|
-
<code>enum</code>
|
|
42
|
-
</dd>
|
|
43
|
-
<dt>Default Value</dt>
|
|
44
|
-
<dd><code>butt</code></dd>
|
|
45
|
-
<dt>Supported Values</dt>
|
|
46
|
-
<dd>
|
|
47
|
-
<ul>
|
|
48
|
-
<li>
|
|
49
|
-
<code>butt</code>: A cap with a squared-off end which is drawn to the exact endpoint of the line.
|
|
50
|
-
</li>
|
|
51
|
-
<li>
|
|
52
|
-
<code>round</code>: A cap with a rounded end which is drawn beyond the endpoint of the line at a radius of one-half of the line's width and centered on the endpoint of the line.
|
|
53
|
-
</li>
|
|
54
|
-
<li>
|
|
55
|
-
<code>square</code>: A cap with a squared-off end which is drawn beyond the endpoint of the line at a distance of one-half of the line's width.
|
|
56
|
-
</li>
|
|
57
|
-
</ul>
|
|
58
|
-
</dd>
|
|
59
|
-
<dt>Expression Parameters</dt>
|
|
60
|
-
<dd><code>zoom</code></dd>
|
|
61
|
-
</dl>
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
### `lineJoin`
|
|
66
|
-
|
|
67
|
-
The display of lines when joining.
|
|
68
|
-
|
|
69
|
-
<dl>
|
|
70
|
-
<dt>Type</dt>
|
|
71
|
-
<dd>
|
|
72
|
-
<code>enum</code>
|
|
73
|
-
</dd>
|
|
74
|
-
<dt>Default Value</dt>
|
|
75
|
-
<dd><code>miter</code></dd>
|
|
76
|
-
<dt>Supported Values</dt>
|
|
77
|
-
<dd>
|
|
78
|
-
<ul>
|
|
79
|
-
<li>
|
|
80
|
-
<code>bevel</code>: A join with a squared-off end which is drawn beyond the endpoint of the line at a distance of one-half of the line's width.
|
|
81
|
-
</li>
|
|
82
|
-
<li>
|
|
83
|
-
<code>round</code>: A join with a rounded end which is drawn beyond the endpoint of the line at a radius of one-half of the line's width and centered on the endpoint of the line.
|
|
84
|
-
</li>
|
|
85
|
-
<li>
|
|
86
|
-
<code>miter</code>: A join with a sharp, angled corner which is drawn with the outer sides beyond the endpoint of the path until they meet.
|
|
87
|
-
</li>
|
|
88
|
-
</ul>
|
|
89
|
-
</dd>
|
|
90
|
-
<dt>Supported Style Functions</dt>
|
|
91
|
-
<dd><code>camera</code></dd>
|
|
92
|
-
<dt>Expression Parameters</dt>
|
|
93
|
-
<dd><code>zoom, feature</code></dd>
|
|
94
|
-
</dl>
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
### `lineMiterLimit`
|
|
99
|
-
|
|
100
|
-
Used to automatically convert miter joins to bevel joins for sharp angles.
|
|
101
|
-
|
|
102
|
-
<dl>
|
|
103
|
-
<dt>Type</dt>
|
|
104
|
-
<dd>
|
|
105
|
-
<code>number</code>
|
|
106
|
-
</dd>
|
|
107
|
-
<dt>Default Value</dt>
|
|
108
|
-
<dd><code>2</code></dd>
|
|
109
|
-
</ul>
|
|
110
|
-
</dd>
|
|
111
|
-
<dt>Expression Parameters</dt>
|
|
112
|
-
<dd><code>zoom</code></dd>
|
|
113
|
-
</dl>
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
### `lineRoundLimit`
|
|
118
|
-
|
|
119
|
-
Used to automatically convert round joins to miter joins for shallow angles.
|
|
120
|
-
|
|
121
|
-
<dl>
|
|
122
|
-
<dt>Type</dt>
|
|
123
|
-
<dd>
|
|
124
|
-
<code>number</code>
|
|
125
|
-
</dd>
|
|
126
|
-
<dt>Default Value</dt>
|
|
127
|
-
<dd><code>1.05</code></dd>
|
|
128
|
-
</ul>
|
|
129
|
-
</dd>
|
|
130
|
-
<dt>Expression Parameters</dt>
|
|
131
|
-
<dd><code>zoom</code></dd>
|
|
132
|
-
</dl>
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
### `lineSortKey`
|
|
137
|
-
|
|
138
|
-
Sorts features in ascending order based on this value. Features with a higher sort key will appear above features with a lower sort key.
|
|
139
|
-
|
|
140
|
-
<dl>
|
|
141
|
-
<dt>Type</dt>
|
|
142
|
-
<dd>
|
|
143
|
-
<code>number</code>
|
|
144
|
-
</dd>
|
|
145
|
-
</ul>
|
|
146
|
-
</dd>
|
|
147
|
-
<dt>Expression Parameters</dt>
|
|
148
|
-
<dd><code>zoom, feature</code></dd>
|
|
149
|
-
</dl>
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
### `visibility`
|
|
154
|
-
|
|
155
|
-
Whether this layer is displayed.
|
|
156
|
-
|
|
157
|
-
<dl>
|
|
158
|
-
<dt>Type</dt>
|
|
159
|
-
<dd>
|
|
160
|
-
<code>enum</code>
|
|
161
|
-
</dd>
|
|
162
|
-
<dt>Default Value</dt>
|
|
163
|
-
<dd><code>visible</code></dd>
|
|
164
|
-
<dt>Supported Values</dt>
|
|
165
|
-
<dd>
|
|
166
|
-
<ul>
|
|
167
|
-
<li>
|
|
168
|
-
<code>visible</code>: The layer is shown.
|
|
169
|
-
</li>
|
|
170
|
-
<li>
|
|
171
|
-
<code>none</code>: The layer is not shown.
|
|
172
|
-
</li>
|
|
173
|
-
</ul>
|
|
174
|
-
</dd>
|
|
175
|
-
</dl>
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
### `lineOpacity`
|
|
180
|
-
|
|
181
|
-
The opacity at which the line will be drawn.
|
|
182
|
-
|
|
183
|
-
<dl>
|
|
184
|
-
<dt>Type</dt>
|
|
185
|
-
<dd>
|
|
186
|
-
<code>number</code>
|
|
187
|
-
</dd>
|
|
188
|
-
<dt>Default Value</dt>
|
|
189
|
-
<dd><code>1</code></dd>
|
|
190
|
-
</ul>
|
|
191
|
-
</dd>
|
|
192
|
-
<dt>Minimum</dt>
|
|
193
|
-
<dd><code>0</code></dd>
|
|
194
|
-
<dt>Maximum</dt>
|
|
195
|
-
<dd><code>1</code></dd>
|
|
196
|
-
<dt>Expression Parameters</dt>
|
|
197
|
-
<dd><code>zoom, feature, feature-state</code></dd>
|
|
198
|
-
</dl>
|
|
199
|
-
|
|
200
|
-
### `lineOpacityTransition`
|
|
201
|
-
|
|
202
|
-
The transition affecting any changes to this layer’s lineOpacity property.
|
|
203
|
-
|
|
204
|
-
<dl>
|
|
205
|
-
<dt>Type</dt>
|
|
206
|
-
<dd>
|
|
207
|
-
<code>{ duration, delay }</code>
|
|
208
|
-
</dd>
|
|
209
|
-
|
|
210
|
-
<dt>Units</dt>
|
|
211
|
-
<dd>
|
|
212
|
-
<code>milliseconds</code>
|
|
213
|
-
</dd>
|
|
214
|
-
|
|
215
|
-
<dt>Default Value</dt>
|
|
216
|
-
<dd>
|
|
217
|
-
<code>{duration: 300, delay: 0}</code>
|
|
218
|
-
</dd>
|
|
219
|
-
</dl>
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
### `lineColor`
|
|
223
|
-
|
|
224
|
-
The color with which the line will be drawn.
|
|
225
|
-
|
|
226
|
-
<dl>
|
|
227
|
-
<dt>Type</dt>
|
|
228
|
-
<dd>
|
|
229
|
-
<code>color</code>
|
|
230
|
-
</dd>
|
|
231
|
-
<dt>Default Value</dt>
|
|
232
|
-
<dd><code>#000000</code></dd>
|
|
233
|
-
</ul>
|
|
234
|
-
</dd>
|
|
235
|
-
<dt>Disabled By</dt>
|
|
236
|
-
<dd><code>linePattern</code></dd>
|
|
237
|
-
<dt>Expression Parameters</dt>
|
|
238
|
-
<dd><code>zoom, feature, feature-state</code></dd>
|
|
239
|
-
</dl>
|
|
240
|
-
|
|
241
|
-
### `lineColorTransition`
|
|
242
|
-
|
|
243
|
-
The transition affecting any changes to this layer’s lineColor property.
|
|
244
|
-
|
|
245
|
-
<dl>
|
|
246
|
-
<dt>Type</dt>
|
|
247
|
-
<dd>
|
|
248
|
-
<code>{ duration, delay }</code>
|
|
249
|
-
</dd>
|
|
250
|
-
|
|
251
|
-
<dt>Units</dt>
|
|
252
|
-
<dd>
|
|
253
|
-
<code>milliseconds</code>
|
|
254
|
-
</dd>
|
|
255
|
-
|
|
256
|
-
<dt>Default Value</dt>
|
|
257
|
-
<dd>
|
|
258
|
-
<code>{duration: 300, delay: 0}</code>
|
|
259
|
-
</dd>
|
|
260
|
-
</dl>
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
### `lineTranslate`
|
|
264
|
-
|
|
265
|
-
The geometry's offset. Values are [x, y] where negatives indicate left and up, respectively.
|
|
266
|
-
|
|
267
|
-
<dl>
|
|
268
|
-
<dt>Type</dt>
|
|
269
|
-
<dd>
|
|
270
|
-
<code>array<number></code>
|
|
271
|
-
</dd>
|
|
272
|
-
<dt>Default Value</dt>
|
|
273
|
-
<dd><code>[0,0]</code></dd>
|
|
274
|
-
</ul>
|
|
275
|
-
</dd>
|
|
276
|
-
<dt>Units</dt>
|
|
277
|
-
<dd><code>pixels</code></dd>
|
|
278
|
-
<dt>Expression Parameters</dt>
|
|
279
|
-
<dd><code>zoom</code></dd>
|
|
280
|
-
</dl>
|
|
281
|
-
|
|
282
|
-
### `lineTranslateTransition`
|
|
283
|
-
|
|
284
|
-
The transition affecting any changes to this layer’s lineTranslate property.
|
|
285
|
-
|
|
286
|
-
<dl>
|
|
287
|
-
<dt>Type</dt>
|
|
288
|
-
<dd>
|
|
289
|
-
<code>{ duration, delay }</code>
|
|
290
|
-
</dd>
|
|
291
|
-
|
|
292
|
-
<dt>Units</dt>
|
|
293
|
-
<dd>
|
|
294
|
-
<code>milliseconds</code>
|
|
295
|
-
</dd>
|
|
296
|
-
|
|
297
|
-
<dt>Default Value</dt>
|
|
298
|
-
<dd>
|
|
299
|
-
<code>{duration: 300, delay: 0}</code>
|
|
300
|
-
</dd>
|
|
301
|
-
</dl>
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
### `lineTranslateAnchor`
|
|
305
|
-
|
|
306
|
-
Controls the frame of reference for `lineTranslate`.
|
|
307
|
-
|
|
308
|
-
<dl>
|
|
309
|
-
<dt>Type</dt>
|
|
310
|
-
<dd>
|
|
311
|
-
<code>enum</code>
|
|
312
|
-
</dd>
|
|
313
|
-
<dt>Default Value</dt>
|
|
314
|
-
<dd><code>map</code></dd>
|
|
315
|
-
<dt>Supported Values</dt>
|
|
316
|
-
<dd>
|
|
317
|
-
<ul>
|
|
318
|
-
<li>
|
|
319
|
-
<code>map</code>: The line is translated relative to the map.
|
|
320
|
-
</li>
|
|
321
|
-
<li>
|
|
322
|
-
<code>viewport</code>: The line is translated relative to the viewport.
|
|
323
|
-
</li>
|
|
324
|
-
</ul>
|
|
325
|
-
</dd>
|
|
326
|
-
<dt>Requires</dt>
|
|
327
|
-
<dd><code>lineTranslate</code></dd>
|
|
328
|
-
<dt>Expression Parameters</dt>
|
|
329
|
-
<dd><code>zoom</code></dd>
|
|
330
|
-
</dl>
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
### `lineWidth`
|
|
335
|
-
|
|
336
|
-
Stroke thickness.
|
|
337
|
-
|
|
338
|
-
<dl>
|
|
339
|
-
<dt>Type</dt>
|
|
340
|
-
<dd>
|
|
341
|
-
<code>number</code>
|
|
342
|
-
</dd>
|
|
343
|
-
<dt>Default Value</dt>
|
|
344
|
-
<dd><code>1</code></dd>
|
|
345
|
-
</ul>
|
|
346
|
-
</dd>
|
|
347
|
-
<dt>Units</dt>
|
|
348
|
-
<dd><code>pixels</code></dd>
|
|
349
|
-
<dt>Minimum</dt>
|
|
350
|
-
<dd><code>0</code></dd>
|
|
351
|
-
<dt>Supported Style Functions</dt>
|
|
352
|
-
<dd><code>camera</code></dd>
|
|
353
|
-
<dt>Expression Parameters</dt>
|
|
354
|
-
<dd><code>zoom, feature, feature-state</code></dd>
|
|
355
|
-
</dl>
|
|
356
|
-
|
|
357
|
-
### `lineWidthTransition`
|
|
358
|
-
|
|
359
|
-
The transition affecting any changes to this layer’s lineWidth property.
|
|
360
|
-
|
|
361
|
-
<dl>
|
|
362
|
-
<dt>Type</dt>
|
|
363
|
-
<dd>
|
|
364
|
-
<code>{ duration, delay }</code>
|
|
365
|
-
</dd>
|
|
366
|
-
|
|
367
|
-
<dt>Units</dt>
|
|
368
|
-
<dd>
|
|
369
|
-
<code>milliseconds</code>
|
|
370
|
-
</dd>
|
|
371
|
-
|
|
372
|
-
<dt>Default Value</dt>
|
|
373
|
-
<dd>
|
|
374
|
-
<code>{duration: 300, delay: 0}</code>
|
|
375
|
-
</dd>
|
|
376
|
-
</dl>
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
### `lineGapWidth`
|
|
380
|
-
|
|
381
|
-
Draws a line casing outside of a line's actual path. Value indicates the width of the inner gap.
|
|
382
|
-
|
|
383
|
-
<dl>
|
|
384
|
-
<dt>Type</dt>
|
|
385
|
-
<dd>
|
|
386
|
-
<code>number</code>
|
|
387
|
-
</dd>
|
|
388
|
-
<dt>Default Value</dt>
|
|
389
|
-
<dd><code>0</code></dd>
|
|
390
|
-
</ul>
|
|
391
|
-
</dd>
|
|
392
|
-
<dt>Units</dt>
|
|
393
|
-
<dd><code>pixels</code></dd>
|
|
394
|
-
<dt>Minimum</dt>
|
|
395
|
-
<dd><code>0</code></dd>
|
|
396
|
-
<dt>Expression Parameters</dt>
|
|
397
|
-
<dd><code>zoom, feature, feature-state</code></dd>
|
|
398
|
-
</dl>
|
|
399
|
-
|
|
400
|
-
### `lineGapWidthTransition`
|
|
401
|
-
|
|
402
|
-
The transition affecting any changes to this layer’s lineGapWidth property.
|
|
403
|
-
|
|
404
|
-
<dl>
|
|
405
|
-
<dt>Type</dt>
|
|
406
|
-
<dd>
|
|
407
|
-
<code>{ duration, delay }</code>
|
|
408
|
-
</dd>
|
|
409
|
-
|
|
410
|
-
<dt>Units</dt>
|
|
411
|
-
<dd>
|
|
412
|
-
<code>milliseconds</code>
|
|
413
|
-
</dd>
|
|
414
|
-
|
|
415
|
-
<dt>Default Value</dt>
|
|
416
|
-
<dd>
|
|
417
|
-
<code>{duration: 300, delay: 0}</code>
|
|
418
|
-
</dd>
|
|
419
|
-
</dl>
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
### `lineOffset`
|
|
423
|
-
|
|
424
|
-
The line's offset. For linear features, a positive value offsets the line to the right, relative to the direction of the line, and a negative value to the left. For polygon features, a positive value results in an inset, and a negative value results in an outset.
|
|
425
|
-
|
|
426
|
-
<dl>
|
|
427
|
-
<dt>Type</dt>
|
|
428
|
-
<dd>
|
|
429
|
-
<code>number</code>
|
|
430
|
-
</dd>
|
|
431
|
-
<dt>Default Value</dt>
|
|
432
|
-
<dd><code>0</code></dd>
|
|
433
|
-
</ul>
|
|
434
|
-
</dd>
|
|
435
|
-
<dt>Units</dt>
|
|
436
|
-
<dd><code>pixels</code></dd>
|
|
437
|
-
<dt>Expression Parameters</dt>
|
|
438
|
-
<dd><code>zoom, feature, feature-state</code></dd>
|
|
439
|
-
</dl>
|
|
440
|
-
|
|
441
|
-
### `lineOffsetTransition`
|
|
442
|
-
|
|
443
|
-
The transition affecting any changes to this layer’s lineOffset property.
|
|
444
|
-
|
|
445
|
-
<dl>
|
|
446
|
-
<dt>Type</dt>
|
|
447
|
-
<dd>
|
|
448
|
-
<code>{ duration, delay }</code>
|
|
449
|
-
</dd>
|
|
450
|
-
|
|
451
|
-
<dt>Units</dt>
|
|
452
|
-
<dd>
|
|
453
|
-
<code>milliseconds</code>
|
|
454
|
-
</dd>
|
|
455
|
-
|
|
456
|
-
<dt>Default Value</dt>
|
|
457
|
-
<dd>
|
|
458
|
-
<code>{duration: 300, delay: 0}</code>
|
|
459
|
-
</dd>
|
|
460
|
-
</dl>
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
### `lineBlur`
|
|
464
|
-
|
|
465
|
-
Blur applied to the line, in pixels.
|
|
466
|
-
|
|
467
|
-
<dl>
|
|
468
|
-
<dt>Type</dt>
|
|
469
|
-
<dd>
|
|
470
|
-
<code>number</code>
|
|
471
|
-
</dd>
|
|
472
|
-
<dt>Default Value</dt>
|
|
473
|
-
<dd><code>0</code></dd>
|
|
474
|
-
</ul>
|
|
475
|
-
</dd>
|
|
476
|
-
<dt>Units</dt>
|
|
477
|
-
<dd><code>pixels</code></dd>
|
|
478
|
-
<dt>Minimum</dt>
|
|
479
|
-
<dd><code>0</code></dd>
|
|
480
|
-
<dt>Expression Parameters</dt>
|
|
481
|
-
<dd><code>zoom, feature, feature-state</code></dd>
|
|
482
|
-
</dl>
|
|
483
|
-
|
|
484
|
-
### `lineBlurTransition`
|
|
485
|
-
|
|
486
|
-
The transition affecting any changes to this layer’s lineBlur property.
|
|
487
|
-
|
|
488
|
-
<dl>
|
|
489
|
-
<dt>Type</dt>
|
|
490
|
-
<dd>
|
|
491
|
-
<code>{ duration, delay }</code>
|
|
492
|
-
</dd>
|
|
493
|
-
|
|
494
|
-
<dt>Units</dt>
|
|
495
|
-
<dd>
|
|
496
|
-
<code>milliseconds</code>
|
|
497
|
-
</dd>
|
|
498
|
-
|
|
499
|
-
<dt>Default Value</dt>
|
|
500
|
-
<dd>
|
|
501
|
-
<code>{duration: 300, delay: 0}</code>
|
|
502
|
-
</dd>
|
|
503
|
-
</dl>
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
### `lineDasharray`
|
|
507
|
-
|
|
508
|
-
Specifies the lengths of the alternating dashes and gaps that form the dash pattern. The lengths are later scaled by the line width. To convert a dash length to pixels, multiply the length by the current line width. Note that GeoJSON sources with `lineMetrics: true` specified won't render dashed lines to the expected scale. Also note that zoomDependent expressions will be evaluated only at integer zoom levels.
|
|
509
|
-
|
|
510
|
-
<dl>
|
|
511
|
-
<dt>Type</dt>
|
|
512
|
-
<dd>
|
|
513
|
-
<code>array<number></code>
|
|
514
|
-
</dd>
|
|
515
|
-
</ul>
|
|
516
|
-
</dd>
|
|
517
|
-
<dt>Units</dt>
|
|
518
|
-
<dd><code>line widths</code></dd>
|
|
519
|
-
<dt>Minimum</dt>
|
|
520
|
-
<dd><code>0</code></dd>
|
|
521
|
-
<dt>Disabled By</dt>
|
|
522
|
-
<dd><code>linePattern</code></dd>
|
|
523
|
-
<dt>Expression Parameters</dt>
|
|
524
|
-
<dd><code>zoom</code></dd>
|
|
525
|
-
</dl>
|
|
526
|
-
|
|
527
|
-
### `lineDasharrayTransition`
|
|
528
|
-
|
|
529
|
-
The transition affecting any changes to this layer’s lineDasharray property.
|
|
530
|
-
|
|
531
|
-
<dl>
|
|
532
|
-
<dt>Type</dt>
|
|
533
|
-
<dd>
|
|
534
|
-
<code>{ duration, delay }</code>
|
|
535
|
-
</dd>
|
|
536
|
-
|
|
537
|
-
<dt>Units</dt>
|
|
538
|
-
<dd>
|
|
539
|
-
<code>milliseconds</code>
|
|
540
|
-
</dd>
|
|
541
|
-
|
|
542
|
-
<dt>Default Value</dt>
|
|
543
|
-
<dd>
|
|
544
|
-
<code>{duration: 300, delay: 0}</code>
|
|
545
|
-
</dd>
|
|
546
|
-
</dl>
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
### `linePattern`
|
|
550
|
-
|
|
551
|
-
Name of image in sprite to use for drawing image lines. For seamless patterns, image width must be a factor of two (2, 4, 8, ..., 512). Note that zoomDependent expressions will be evaluated only at integer zoom levels.
|
|
552
|
-
|
|
553
|
-
<dl>
|
|
554
|
-
<dt>Type</dt>
|
|
555
|
-
<dd>
|
|
556
|
-
<code>resolvedImage</code>
|
|
557
|
-
</dd>
|
|
558
|
-
</ul>
|
|
559
|
-
</dd>
|
|
560
|
-
<dt>Expression Parameters</dt>
|
|
561
|
-
<dd><code>zoom, feature</code></dd>
|
|
562
|
-
</dl>
|
|
563
|
-
|
|
564
|
-
### `linePatternTransition`
|
|
565
|
-
|
|
566
|
-
The transition affecting any changes to this layer’s linePattern property.
|
|
567
|
-
|
|
568
|
-
<dl>
|
|
569
|
-
<dt>Type</dt>
|
|
570
|
-
<dd>
|
|
571
|
-
<code>{ duration, delay }</code>
|
|
572
|
-
</dd>
|
|
573
|
-
|
|
574
|
-
<dt>Units</dt>
|
|
575
|
-
<dd>
|
|
576
|
-
<code>milliseconds</code>
|
|
577
|
-
</dd>
|
|
578
|
-
|
|
579
|
-
<dt>Default Value</dt>
|
|
580
|
-
<dd>
|
|
581
|
-
<code>{duration: 300, delay: 0}</code>
|
|
582
|
-
</dd>
|
|
583
|
-
</dl>
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
### `lineGradient`
|
|
587
|
-
|
|
588
|
-
Defines a gradient with which to color a line feature. Can only be used with GeoJSON sources that specify `"lineMetrics": true`.
|
|
589
|
-
|
|
590
|
-
<dl>
|
|
591
|
-
<dt>Type</dt>
|
|
592
|
-
<dd>
|
|
593
|
-
<code>color</code>
|
|
594
|
-
</dd>
|
|
595
|
-
</ul>
|
|
596
|
-
</dd>
|
|
597
|
-
<dt>Disabled By</dt>
|
|
598
|
-
<dd><code>lineDasharray, linePattern</code></dd>
|
|
599
|
-
<dt>Expression Parameters</dt>
|
|
600
|
-
<dd><code>line-progress</code></dd>
|
|
601
|
-
</dl>
|
|
602
|
-
|
|
603
|
-
|
package/docs/Logger.md
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
## Logger
|
|
2
|
-
###
|
|
3
|
-
|
|
4
|
-
### methods
|
|
5
|
-
#### setLogLevel(LogLevel)
|
|
6
|
-
|
|
7
|
-
##### arguments
|
|
8
|
-
| Name | Type | Required | Description |
|
|
9
|
-
| ---- | :--: | :------: | :----------: |
|
|
10
|
-
| `LogLevel` | `String` | `Yes` | required level of logging, can be `"error" | "warning" | "info" | "debug" | "verbose"` |
|
|
11
|
-
|
|
12
|
-
##### Description
|
|
13
|
-
sets the amount of logging
|
|
14
|
-
|
|
15
|
-
#### setLogCallback(LogCallback)
|
|
16
|
-
|
|
17
|
-
##### arguments
|
|
18
|
-
| Name | Type | Required | Description |
|
|
19
|
-
| ---- | :--: | :------: | :----------: |
|
|
20
|
-
| `LogCallback` | `function` | `Yes` | callback taking a log object `{ message: String, level: LogLevel, tag: String }` as param. If callback return falsy value then default logging will take place. |
|
|
21
|
-
|
|
22
|
-
##### Description
|
|
23
|
-
overwrite logging - good to mute specific errors/ warnings
|
package/docs/MapLibreGL.md
DELETED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
## MapLibreGL
|
|
2
|
-
###
|
|
3
|
-
|
|
4
|
-
### methods
|
|
5
|
-
#### setAccessToken(accessToken)
|
|
6
|
-
|
|
7
|
-
##### arguments
|
|
8
|
-
| Name | Type | Required | Description |
|
|
9
|
-
| ---- | :--: | :------: | :----------: |
|
|
10
|
-
| `accessToken` | `String` | `Yes` | access token to pull Mapbox-hosted tiles; can be `null` for other tile hosts |
|
|
11
|
-
|
|
12
|
-
##### Description
|
|
13
|
-
sets the accessToken, which is required when you want to use mapbox tiles
|
|
14
|
-
not required when using other tiles
|
|
15
|
-
|
|
16
|
-
#### getAccessToken()
|
|
17
|
-
|
|
18
|
-
##### arguments
|
|
19
|
-
| Name | Type | Required | Description |
|
|
20
|
-
| ---- | :--: | :------: | :----------: |
|
|
21
|
-
| `accessToken` | `String` | `Yes` | access token to pull Mapbox-hosted tiles; can be `null` if for other tile hosts |
|
|
22
|
-
|
|
23
|
-
##### Description
|
|
24
|
-
gets the accessToken
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
#### addCustomHeader(headerName, headerValue)
|
|
28
|
-
|
|
29
|
-
##### arguments
|
|
30
|
-
| Name | Type | Required | Description |
|
|
31
|
-
| ---- | :--: | :------: | :----------: |
|
|
32
|
-
| `headerName` | `String` | `Yes` | name for customHeader |
|
|
33
|
-
| `headerValue` | `String` | `Yes` | value for customHeader |
|
|
34
|
-
|
|
35
|
-
##### Description
|
|
36
|
-
also see [CustomHttpHeaders](/docs/CustomHttpHeaders.md)
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
#### removeCustomHeader(headerName)
|
|
40
|
-
|
|
41
|
-
##### arguments
|
|
42
|
-
| Name | Type | Required | Description |
|
|
43
|
-
| ---- | :--: | :------: | :----------: |
|
|
44
|
-
| `headerName` | `String` | `Yes` | name of customHeader to be removed |
|
|
45
|
-
|
|
46
|
-
##### Description
|
|
47
|
-
also see [CustomHttpHeaders](/docs/CustomHttpHeaders.md)
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
### Android only
|
|
51
|
-
#### requestAndroidLocationPermissions()
|
|
52
|
-
##### Description
|
|
53
|
-
Opens Android Location Permission prompt.
|
|
54
|
-
Returns a Promise which resolves into a boolean.
|
|
55
|
-
Either permission was granted or denied.
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
#### setConnected(connected)
|
|
59
|
-
##### arguments
|
|
60
|
-
| Name | Type | Required | Description |
|
|
61
|
-
| ---- | :--: | :------: | :----------: |
|
|
62
|
-
| `connected` | `Boolean` | `Yes` | whether or not the SDK should assume it is online |
|
|
63
|
-
|
|
64
|
-
#### Description
|
|
65
|
-
If you want to fully block map tile requests over the network, such as for a low-data / offline application.
|