@maplibre/maplibre-react-native 10.0.0-alpha.3 → 10.0.0-alpha.5
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/.sonarcloud.properties +1 -1
- package/CHANGELOG.md +9 -0
- package/android/{rctmgl → rctmln}/src/main/AndroidManifest.xml +1 -1
- package/android/rctmln/src/main/java/com/maplibre/rctmln/RCTMLNPackage.java +99 -0
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/components/AbstractEvent.java +1 -1
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/components/AbstractEventEmitter.java +2 -2
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/components/AbstractMapFeature.java +4 -4
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/components/annotation/MarkerView.java +1 -1
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/components/annotation/MarkerViewManager.java +1 -1
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/annotation/RCTMGLCallout.java → rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNCallout.java} +3 -3
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNCalloutManager.java +22 -0
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/annotation/RCTMGLMarkerView.java → rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNMarkerView.java} +13 -13
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/annotation/RCTMGLMarkerViewManager.java → rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNMarkerViewManager.java} +10 -10
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/annotation/RCTMGLPointAnnotation.java → rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNPointAnnotation.java} +18 -18
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/annotation/RCTMGLPointAnnotationManager.java → rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNPointAnnotationManager.java} +14 -14
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/components/camera/CameraStop.java +6 -6
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/components/camera/CameraUpdateItem.java +2 -2
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/components/camera/CameraUpdateQueue.java +3 -3
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/camera/RCTMGLCamera.java → rctmln/src/main/java/com/maplibre/rctmln/components/camera/RCTMLNCamera.java} +24 -24
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/camera/RCTMGLCameraManager.java → rctmln/src/main/java/com/maplibre/rctmln/components/camera/RCTMLNCameraManager.java} +18 -18
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/components/camera/constants/CameraMode.java +1 -1
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/images/RCTMGLImages.java → rctmln/src/main/java/com/maplibre/rctmln/components/images/RCTMLNImages.java} +15 -15
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/images/RCTMGLImagesManager.java → rctmln/src/main/java/com/maplibre/rctmln/components/images/RCTMLNImagesManager.java} +17 -17
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/components/location/LocationComponentManager.java +7 -7
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/location/RCTMGLNativeUserLocation.java → rctmln/src/main/java/com/maplibre/rctmln/components/location/RCTMLNNativeUserLocation.java} +8 -8
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/location/RCTMGLNativeUserLocationManager.java → rctmln/src/main/java/com/maplibre/rctmln/components/location/RCTMLNNativeUserLocationManager.java} +6 -6
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/components/mapview/LayerSourceInfo.java +1 -1
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/mapview/RCTMGLAndroidTextureMapView.java → rctmln/src/main/java/com/maplibre/rctmln/components/mapview/RCTMLNAndroidTextureMapView.java} +4 -4
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/mapview/RCTMGLAndroidTextureMapViewManager.java → rctmln/src/main/java/com/maplibre/rctmln/components/mapview/RCTMLNAndroidTextureMapViewManager.java} +7 -7
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/mapview/RCTMGLMapView.java → rctmln/src/main/java/com/maplibre/rctmln/components/mapview/RCTMLNMapView.java} +66 -66
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/mapview/RCTMGLMapViewManager.java → rctmln/src/main/java/com/maplibre/rctmln/components/mapview/RCTMLNMapViewManager.java} +40 -40
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/components/mapview/helpers/CameraChangeTracker.java +1 -1
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/RCTMGLStyle.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/RCTMLNStyle.java} +10 -10
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/RCTMGLStyleFactory.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/RCTMLNStyleFactory.java} +407 -407
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/RCTMGLStyleFunctionParser.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/RCTMLNStyleFunctionParser.java} +6 -6
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/RCTMGLStyleValue.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/RCTMLNStyleValue.java} +7 -7
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/components/styles/layers/RCTLayer.java +9 -9
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNBackgroundLayer.java +27 -0
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLBackgroundLayerManager.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNBackgroundLayerManager.java} +13 -13
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLCircleLayer.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNCircleLayer.java} +8 -8
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLCircleLayerManager.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNCircleLayerManager.java} +15 -15
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLFillExtrusionLayer.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNFillExtrusionLayer.java} +8 -8
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLFillExtrusionLayerManager.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNFillExtrusionLayerManager.java} +16 -16
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLFillLayer.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNFillLayer.java} +8 -8
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLFillLayerManager.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNFillLayerManager.java} +16 -16
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLHeatmapLayer.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNHeatmapLayer.java} +8 -8
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLHeatmapLayerManager.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNHeatmapLayerManager.java} +15 -15
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLLineLayer.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNLineLayer.java} +8 -8
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLLineLayerManager.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNLineLayerManager.java} +17 -17
- package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNRasterLayer.java +27 -0
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLRasterLayerManager.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNRasterLayerManager.java} +13 -13
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLSymbolLayer.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNSymbolLayer.java} +8 -8
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLSymbolLayerManager.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNSymbolLayerManager.java} +15 -15
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/light/RCTMGLLight.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/light/RCTMLNLight.java} +10 -10
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/light/RCTMGLLightManager.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/light/RCTMLNLightManager.java} +6 -6
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/sources/RCTMGLImageSource.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNImageSource.java} +4 -4
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/sources/RCTMGLImageSourceManager.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNImageSourceManager.java} +14 -14
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/sources/RCTMGLRasterSource.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNRasterSource.java} +3 -3
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/sources/RCTMGLRasterSourceManager.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNRasterSourceManager.java} +7 -7
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/sources/RCTMGLShapeSource.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNShapeSource.java} +13 -13
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/sources/RCTMGLShapeSourceManager.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNShapeSourceManager.java} +34 -34
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/sources/RCTMGLTileSource.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNTileSource.java} +3 -3
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/sources/RCTMGLTileSourceManager.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNTileSourceManager.java} +4 -4
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/sources/RCTMGLVectorSource.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNVectorSource.java} +6 -6
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/sources/RCTMGLVectorSourceManager.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNVectorSourceManager.java} +12 -12
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/components/styles/sources/RCTSource.java +7 -7
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/events/AbstractEvent.java +1 -1
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/events/AndroidCallbackEvent.java +2 -2
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/events/EventEmitter.java +1 -1
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/events/FeatureClickEvent.java +6 -6
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/events/IEvent.java +1 -1
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/events/ImageMissingEvent.java +3 -3
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/events/LocationEvent.java +6 -6
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/events/MapChangeEvent.java +3 -3
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/events/MapClickEvent.java +4 -4
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/events/MapUserTrackingModeEvent.java +4 -4
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/events/OfflineEvent.java +1 -1
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/events/PointAnnotationClickEvent.java +8 -8
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/events/PointAnnotationDragEvent.java +8 -8
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/events/constants/EventKeys.java +1 -1
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/events/constants/EventTypes.java +1 -1
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/http/CustomHeadersInterceptor.java +1 -1
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/location/LocationManager.java +1 -1
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/location/UserLocation.java +1 -1
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/location/UserLocationVerticalAlignment.java +1 -1
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/location/UserTrackingMode.java +1 -1
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/location/UserTrackingState.java +1 -1
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/modules/RCTMGLLocationModule.java → rctmln/src/main/java/com/maplibre/rctmln/modules/RCTMLNLocationModule.java} +8 -8
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/modules/RCTMGLLogging.java → rctmln/src/main/java/com/maplibre/rctmln/modules/RCTMLNLogging.java} +5 -5
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/modules/RCTMGLModule.java → rctmln/src/main/java/com/maplibre/rctmln/modules/RCTMLNModule.java} +22 -22
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/modules/RCTMGLOfflineModule.java → rctmln/src/main/java/com/maplibre/rctmln/modules/RCTMLNOfflineModule.java} +10 -10
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/modules/RCTMGLSnapshotModule.java → rctmln/src/main/java/com/maplibre/rctmln/modules/RCTMLNSnapshotModule.java} +7 -7
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/utils/BitmapUtils.java +1 -1
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/utils/ClusterPropertyEntry.java +1 -1
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/utils/ConvertUtils.java +1 -1
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/utils/DownloadMapImageTask.java +1 -1
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/utils/ExpressionParser.java +1 -1
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/utils/GeoJSONUtils.java +1 -1
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/utils/GeoViewport.java +1 -1
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/utils/ImageEntry.java +1 -1
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/utils/ResourceUtils.java +1 -1
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/utils/SimpleEventCallback.java +3 -3
- package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/utils/SphericalMercator.java +1 -1
- package/android/rctmln/src/main/res/values/strings.xml +3 -0
- package/android/settings.gradle +1 -1
- package/docs/Annotations.md +1 -1
- package/docs/Callout.md +1 -1
- package/docs/CustomHttpHeaders.md +4 -4
- package/docs/MapView.md +3 -3
- package/docs/docs.json +17 -8
- package/ios/{RCTMGL → RCTMLN}/CameraMode.h +1 -1
- package/ios/{RCTMGL → RCTMLN}/CameraMode.m +1 -1
- package/ios/{RCTMGL → RCTMLN}/CameraStop.h +4 -4
- package/ios/{RCTMGL → RCTMLN}/CameraStop.m +7 -7
- package/ios/{RCTMGL → RCTMLN}/CameraUpdateItem.h +3 -3
- package/ios/{RCTMGL → RCTMLN}/CameraUpdateItem.m +19 -19
- package/ios/{RCTMGL → RCTMLN}/CameraUpdateQueue.h +3 -3
- package/ios/{RCTMGL → RCTMLN}/CameraUpdateQueue.m +3 -3
- package/ios/{RCTMGL → RCTMLN}/FilterParser.h +1 -1
- package/ios/{RCTMGL → RCTMLN}/FilterParser.m +3 -3
- package/ios/{RCTMGL/MGLCustomHeaders.h → RCTMLN/MLNCustomHeaders.h} +3 -3
- package/ios/{RCTMGL/MGLCustomHeaders.m → RCTMLN/MLNCustomHeaders.m} +10 -10
- package/ios/RCTMLN/MLNFaux3DUserLocationAnnotationView.h +23 -0
- package/ios/{RCTMGL/MGLFaux3DUserLocationAnnotationView.m → RCTMLN/MLNFaux3DUserLocationAnnotationView.m} +38 -38
- package/ios/{RCTMGL/MGLModule.h → RCTMLN/MLNModule.h} +3 -3
- package/ios/{RCTMGL/MGLModule.m → RCTMLN/MLNModule.m} +91 -91
- package/ios/{RCTMGL/MGLOfflineModule.h → RCTMLN/MLNOfflineModule.h} +4 -4
- package/ios/{RCTMGL/MGLOfflineModule.m → RCTMLN/MLNOfflineModule.m} +59 -59
- package/ios/{RCTMGL/MGLSnapshotModule.h → RCTMLN/MLNSnapshotModule.h} +3 -3
- package/ios/{RCTMGL/MGLSnapshotModule.m → RCTMLN/MLNSnapshotModule.m} +14 -14
- package/ios/{RCTMGL/MGLUserLocationHeadingArrowLayer.h → RCTMLN/MLNUserLocationHeadingArrowLayer.h} +4 -4
- package/ios/{RCTMGL/MGLUserLocationHeadingArrowLayer.m → RCTMLN/MLNUserLocationHeadingArrowLayer.m} +7 -7
- package/ios/RCTMLN/MLNUserLocationHeadingBeamLayer.h +11 -0
- package/ios/{RCTMGL/MGLUserLocationHeadingBeamLayer.m → RCTMLN/MLNUserLocationHeadingBeamLayer.m} +10 -10
- package/ios/{RCTMGL/MGLUserLocationHeadingIndicator.h → RCTMLN/MLNUserLocationHeadingIndicator.h} +3 -3
- package/ios/{RCTMGL → RCTMLN}/RCTConvert+Mapbox.h +1 -1
- package/ios/{RCTMGL → RCTMLN}/RCTConvert+Mapbox.m +1 -1
- package/ios/{RCTMGL/RCTMGL.h → RCTMLN/RCTMLN.h} +3 -3
- package/ios/{RCTMGL/RCTMGL.m → RCTMLN/RCTMLN.m} +4 -4
- package/ios/RCTMLN/RCTMLNBackgroundLayer.h +14 -0
- package/ios/RCTMLN/RCTMLNBackgroundLayer.m +27 -0
- package/ios/{RCTMGL/RCTMGLBackgroundLayerManager.h → RCTMLN/RCTMLNBackgroundLayerManager.h} +3 -3
- package/ios/{RCTMGL/RCTMGLBackgroundLayerManager.m → RCTMLN/RCTMLNBackgroundLayerManager.m} +6 -6
- package/ios/{RCTMGL/RCTMGLCallout.h → RCTMLN/RCTMLNCallout.h} +4 -4
- package/ios/{RCTMGL/RCTMGLCallout.m → RCTMLN/RCTMLNCallout.m} +6 -6
- package/ios/{RCTMGL/RCTMGLCalloutManager.h → RCTMLN/RCTMLNCalloutManager.h} +3 -3
- package/ios/RCTMLN/RCTMLNCalloutManager.m +21 -0
- package/ios/{RCTMGL/RCTMGLCamera.h → RCTMLN/RCTMLNCamera.h} +6 -6
- package/ios/{RCTMGL/RCTMGLCamera.m → RCTMLN/RCTMLNCamera.m} +30 -30
- package/ios/{RCTMGL/RCTMGLCameraManager.h → RCTMLN/RCTMLNCameraManager.h} +3 -3
- package/ios/{RCTMGL/RCTMGLCameraManager.m → RCTMLN/RCTMLNCameraManager.m} +7 -7
- package/ios/RCTMLN/RCTMLNCircleLayer.h +13 -0
- package/ios/{RCTMGL/RCTMGLCircleLayer.m → RCTMLN/RCTMLNCircleLayer.m} +10 -10
- package/ios/{RCTMGL/RCTMGLCircleLayerManager.h → RCTMLN/RCTMLNCircleLayerManager.h} +3 -3
- package/ios/{RCTMGL/RCTMGLCircleLayerManager.m → RCTMLN/RCTMLNCircleLayerManager.m} +6 -6
- package/ios/{RCTMGL/RCTMGLEvent.h → RCTMLN/RCTMLNEvent.h} +6 -6
- package/ios/{RCTMGL/RCTMGLEvent.m → RCTMLN/RCTMLNEvent.m} +8 -8
- package/ios/{RCTMGL/RCTMGLEventProtocol.h → RCTMLN/RCTMLNEventProtocol.h} +3 -3
- package/ios/{RCTMGL/RCTMGLEventTypes.h → RCTMLN/RCTMLNEventTypes.h} +3 -3
- package/ios/{RCTMGL/RCTMGLEventTypes.m → RCTMLN/RCTMLNEventTypes.m} +4 -4
- package/ios/RCTMLN/RCTMLNFillExtrusionLayer.h +14 -0
- package/ios/{RCTMGL/RCTMGLFillExtrusionLayer.m → RCTMLN/RCTMLNFillExtrusionLayer.m} +10 -10
- package/ios/{RCTMGL/RCTMGLFillExtrusionLayerManager.h → RCTMLN/RCTMLNFillExtrusionLayerManager.h} +3 -3
- package/ios/{RCTMGL/RCTMGLFillExtrusionLayerManager.m → RCTMLN/RCTMLNFillExtrusionLayerManager.m} +6 -6
- package/ios/RCTMLN/RCTMLNFillLayer.h +14 -0
- package/ios/{RCTMGL/RCTMGLFillLayer.m → RCTMLN/RCTMLNFillLayer.m} +10 -10
- package/ios/{RCTMGL/RCTMGLFillLayerManager.h → RCTMLN/RCTMLNFillLayerManager.h} +3 -3
- package/ios/{RCTMGL/RCTMGLFillLayerManager.m → RCTMLN/RCTMLNFillLayerManager.m} +6 -6
- package/ios/RCTMLN/RCTMLNHeatmapLayer.h +12 -0
- package/ios/RCTMLN/RCTMLNHeatmapLayer.m +30 -0
- package/ios/RCTMLN/RCTMLNHeatmapLayerManager.h +12 -0
- package/ios/{RCTMGL/RCTMGLHeatmapLayerManager.m → RCTMLN/RCTMLNHeatmapLayerManager.m} +6 -6
- package/ios/{RCTMGL/RCTMGLImageQueue.h → RCTMLN/RCTMLNImageQueue.h} +3 -3
- package/ios/{RCTMGL/RCTMGLImageQueue.m → RCTMLN/RCTMLNImageQueue.m} +10 -10
- package/ios/{RCTMGL/RCTMGLImageQueueOperation.h → RCTMLN/RCTMLNImageQueueOperation.h} +3 -3
- package/ios/{RCTMGL/RCTMGLImageQueueOperation.m → RCTMLN/RCTMLNImageQueueOperation.m} +12 -12
- package/ios/{RCTMGL/RCTMGLImageSource.h → RCTMLN/RCTMLNImageSource.h} +4 -4
- package/ios/{RCTMGL/RCTMGLImageSource.m → RCTMLN/RCTMLNImageSource.m} +11 -11
- package/ios/{RCTMGL/RCTMGLImageSourceManager.h → RCTMLN/RCTMLNImageSourceManager.h} +3 -3
- package/ios/{RCTMGL/RCTMGLImageSourceManager.m → RCTMLN/RCTMLNImageSourceManager.m} +6 -6
- package/ios/{RCTMGL/RCTMGLImages.h → RCTMLN/RCTMLNImages.h} +4 -4
- package/ios/{RCTMGL/RCTMGLImages.m → RCTMLN/RCTMLNImages.m} +10 -10
- package/ios/RCTMLN/RCTMLNImagesManager.h +5 -0
- package/ios/{RCTMGL/RCTMGLImagesManager.m → RCTMLN/RCTMLNImagesManager.m} +4 -4
- package/ios/{RCTMGL/RCTMGLLayer.h → RCTMLN/RCTMLNLayer.h} +11 -11
- package/ios/{RCTMGL/RCTMGLLayer.m → RCTMLN/RCTMLNLayer.m} +17 -17
- package/ios/{RCTMGL/RCTMGLLight.h → RCTMLN/RCTMLNLight.h} +5 -5
- package/ios/{RCTMGL/RCTMGLLight.m → RCTMLN/RCTMLNLight.m} +9 -9
- package/ios/{RCTMGL/RCTMGLLightManager.h → RCTMLN/RCTMLNLightManager.h} +3 -3
- package/ios/{RCTMGL/RCTMGLLightManager.m → RCTMLN/RCTMLNLightManager.m} +6 -6
- package/ios/RCTMLN/RCTMLNLineLayer.h +14 -0
- package/ios/{RCTMGL/RCTMGLLineLayer.m → RCTMLN/RCTMLNLineLayer.m} +10 -10
- package/ios/{RCTMGL/RCTMGLLineLayerManager.h → RCTMLN/RCTMLNLineLayerManager.h} +3 -3
- package/ios/{RCTMGL/RCTMGLLineLayerManager.m → RCTMLN/RCTMLNLineLayerManager.m} +6 -6
- package/ios/{RCTMGL/RCTMGLLocation.h → RCTMLN/RCTMLNLocation.h} +3 -3
- package/ios/{RCTMGL/RCTMGLLocation.m → RCTMLN/RCTMLNLocation.m} +4 -4
- package/ios/RCTMLN/RCTMLNLocationManager.h +30 -0
- package/ios/{RCTMGL/RCTMGLLocationManager.m → RCTMLN/RCTMLNLocationManager.m} +16 -16
- package/ios/RCTMLN/RCTMLNLocationManagerDelegate.h +20 -0
- package/ios/{RCTMGL/RCTMGLLocationModule.h → RCTMLN/RCTMLNLocationModule.h} +3 -3
- package/ios/{RCTMGL/RCTMGLLocationModule.m → RCTMLN/RCTMLNLocationModule.m} +13 -13
- package/ios/RCTMLN/RCTMLNLogging.h +18 -0
- package/ios/{RCTMGL/RCTMGLLogging.m → RCTMLN/RCTMLNLogging.m} +29 -29
- package/ios/{RCTMGL/RCTMGLMapTouchEvent.h → RCTMLN/RCTMLNMapTouchEvent.h} +10 -10
- package/ios/{RCTMGL/RCTMGLMapTouchEvent.m → RCTMLN/RCTMLNMapTouchEvent.m} +18 -18
- package/ios/{RCTMGL/RCTMGLMapView.h → RCTMLN/RCTMLNMapView.h} +30 -30
- package/ios/{RCTMGL/RCTMGLMapView.m → RCTMLN/RCTMLNMapView.m} +82 -82
- package/ios/{RCTMGL/RCTMGLMapViewManager.h → RCTMLN/RCTMLNMapViewManager.h} +4 -4
- package/ios/{RCTMGL/RCTMGLMapViewManager.m → RCTMLN/RCTMLNMapViewManager.m} +117 -117
- package/ios/{RCTMGL/RCTMGLNativeUserLocation.h → RCTMLN/RCTMLNNativeUserLocation.h} +5 -5
- package/ios/{RCTMGL/RCTMGLNativeUserLocation.m → RCTMLN/RCTMLNNativeUserLocation.m} +10 -10
- package/ios/RCTMLN/RCTMLNNativeUserLocationManager.h +5 -0
- package/ios/RCTMLN/RCTMLNNativeUserLocationManager.m +25 -0
- package/ios/{RCTMGL/RCTMGLPointAnnotation.h → RCTMLN/RCTMLNPointAnnotation.h} +8 -8
- package/ios/{RCTMGL/RCTMGLPointAnnotation.m → RCTMLN/RCTMLNPointAnnotation.m} +21 -21
- package/ios/{RCTMGL/RCTMGLPointAnnotationManager.h → RCTMLN/RCTMLNPointAnnotationManager.h} +3 -3
- package/ios/{RCTMGL/RCTMGLPointAnnotationManager.m → RCTMLN/RCTMLNPointAnnotationManager.m} +6 -6
- package/ios/RCTMLN/RCTMLNRasterLayer.h +14 -0
- package/ios/RCTMLN/RCTMLNRasterLayer.m +30 -0
- package/ios/{RCTMGL/RCTMGLRasterLayerManager.h → RCTMLN/RCTMLNRasterLayerManager.h} +3 -3
- package/ios/{RCTMGL/RCTMGLRasterLayerManager.m → RCTMLN/RCTMLNRasterLayerManager.m} +6 -6
- package/ios/{RCTMGL/RCTMGLRasterSource.h → RCTMLN/RCTMLNRasterSource.h} +5 -5
- package/ios/{RCTMGL/RCTMGLRasterSource.m → RCTMLN/RCTMLNRasterSource.m} +11 -11
- package/ios/{RCTMGL/RCTMGLRasterSourceManager.h → RCTMLN/RCTMLNRasterSourceManager.h} +3 -3
- package/ios/{RCTMGL/RCTMGLRasterSourceManager.m → RCTMLN/RCTMLNRasterSourceManager.m} +6 -6
- package/ios/{RCTMGL/RCTMGLShapeSource.h → RCTMLN/RCTMLNShapeSource.h} +10 -10
- package/ios/{RCTMGL/RCTMGLShapeSource.m → RCTMLN/RCTMLNShapeSource.m} +50 -50
- package/ios/{RCTMGL/RCTMGLShapeSourceManager.h → RCTMLN/RCTMLNShapeSourceManager.h} +3 -3
- package/ios/{RCTMGL/RCTMGLShapeSourceManager.m → RCTMLN/RCTMLNShapeSourceManager.m} +25 -25
- package/ios/{RCTMGL/RCTMGLSource.h → RCTMLN/RCTMLNSource.h} +8 -8
- package/ios/{RCTMGL/RCTMGLSource.m → RCTMLN/RCTMLNSource.m} +15 -15
- package/ios/RCTMLN/RCTMLNStyle.h +222 -0
- package/ios/{RCTMGL/RCTMGLStyle.m → RCTMLN/RCTMLNStyle.m} +345 -345
- package/ios/{RCTMGL/RCTMGLStyleValue.h → RCTMLN/RCTMLNStyleValue.h} +7 -7
- package/ios/{RCTMGL/RCTMGLStyleValue.m → RCTMLN/RCTMLNStyleValue.m} +24 -24
- package/ios/{RCTMGL/RCTMGLSymbolLayer.h → RCTMLN/RCTMLNSymbolLayer.h} +4 -4
- package/ios/{RCTMGL/RCTMGLSymbolLayer.m → RCTMLN/RCTMLNSymbolLayer.m} +12 -12
- package/ios/{RCTMGL/RCTMGLSymbolLayerManager.h → RCTMLN/RCTMLNSymbolLayerManager.h} +3 -3
- package/ios/{RCTMGL/RCTMGLSymbolLayerManager.m → RCTMLN/RCTMLNSymbolLayerManager.m} +6 -6
- package/ios/{RCTMGL/RCTMGLTileSource.h → RCTMLN/RCTMLNTileSource.h} +6 -6
- package/ios/RCTMLN/RCTMLNTileSource.m +31 -0
- package/ios/RCTMLN/RCTMLNUserLocation.h +15 -0
- package/ios/{RCTMGL/RCTMGLUserLocation.m → RCTMLN/RCTMLNUserLocation.m} +8 -8
- package/ios/{RCTMGL/RCTMGLUtils.h → RCTMLN/RCTMLNUtils.h} +7 -7
- package/ios/{RCTMGL/RCTMGLUtils.m → RCTMLN/RCTMLNUtils.m} +20 -20
- package/ios/{RCTMGL/RCTMGLVectorLayer.h → RCTMLN/RCTMLNVectorLayer.h} +4 -4
- package/ios/{RCTMGL/RCTMGLVectorLayer.m → RCTMLN/RCTMLNVectorLayer.m} +7 -7
- package/ios/{RCTMGL/RCTMGLVectorSource.h → RCTMLN/RCTMLNVectorSource.h} +6 -6
- package/ios/{RCTMGL/RCTMGLVectorSource.m → RCTMLN/RCTMLNVectorSource.m} +9 -9
- package/ios/{RCTMGL/RCTMGLVectorSourceManager.h → RCTMLN/RCTMLNVectorSourceManager.h} +3 -3
- package/ios/{RCTMGL/RCTMGLVectorSourceManager.m → RCTMLN/RCTMLNVectorSourceManager.m} +11 -11
- package/ios/{RCTMGL → RCTMLN}/RNMBImageUtils.h +1 -1
- package/ios/{RCTMGL → RCTMLN}/RNMBImageUtils.m +2 -2
- package/ios/{RCTMGL → RCTMLN}/ViewManager.h +3 -3
- package/ios/{RCTMGL → RCTMLN}/ViewManager.m +4 -4
- package/ios/RCTMLN.xcodeproj/project.pbxproj +775 -0
- package/ios/install.md +6 -7
- package/javascript/{MGLModule.ts → MLNModule.ts} +3 -3
- package/javascript/Maplibre.ts +1 -1
- package/javascript/components/BackgroundLayer.tsx +5 -5
- package/javascript/components/Callout.tsx +5 -5
- package/javascript/components/Camera.tsx +4 -4
- package/javascript/components/CircleLayer.tsx +5 -5
- package/javascript/components/FillExtrusionLayer.tsx +4 -4
- package/javascript/components/FillLayer.tsx +4 -4
- package/javascript/components/HeatmapLayer.tsx +4 -4
- package/javascript/components/ImageSource.tsx +4 -4
- package/javascript/components/Images.tsx +3 -3
- package/javascript/components/Light.tsx +4 -4
- package/javascript/components/LineLayer.tsx +4 -4
- package/javascript/components/MapView.tsx +30 -29
- package/javascript/components/MarkerView.tsx +3 -3
- package/javascript/components/NativeUserLocation.tsx +3 -3
- package/javascript/components/PointAnnotation.tsx +4 -4
- package/javascript/components/RasterLayer.tsx +4 -4
- package/javascript/components/RasterSource.tsx +5 -5
- package/javascript/components/ShapeSource.tsx +5 -5
- package/javascript/components/SymbolLayer.tsx +5 -5
- package/javascript/components/VectorSource.tsx +5 -5
- package/javascript/modules/location/locationManager.ts +2 -2
- package/javascript/modules/offline/OfflinePack.ts +1 -1
- package/javascript/modules/offline/offlineManager.ts +2 -2
- package/javascript/modules/snapshot/SnapshotOptions.ts +1 -1
- package/javascript/modules/snapshot/snapshotManager.ts +1 -1
- package/javascript/utils/Logger.ts +3 -3
- package/javascript/utils/animated/AnimatedShape.ts +1 -1
- package/maplibre-react-native.podspec +8 -8
- package/package.json +1 -2
- package/plugin/build/withMapLibre.js +2 -2
- package/react-native.config.js +1 -1
- package/scripts/autogenHelpers/globals.js +10 -10
- package/scripts/autogenerate.js +11 -11
- package/scripts/templates/{RCTMGLStyle.h.ejs → RCTMLNStyle.h.ejs} +8 -8
- package/scripts/templates/{RCTMGLStyle.m.ejs → RCTMLNStyle.m.ejs} +10 -10
- package/scripts/templates/{RCTMGLStyleFactory.java.ejs → RCTMLNStyleFactory.java.ejs} +10 -10
- package/setup-jest.js +4 -10
- package/android/rctmgl/src/main/java/com/mapbox/rctmgl/RCTMGLPackage.java +0 -99
- package/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/annotation/RCTMGLCalloutManager.java +0 -22
- package/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLBackgroundLayer.java +0 -27
- package/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLRasterLayer.java +0 -27
- package/android/rctmgl/src/main/res/values/strings.xml +0 -3
- package/ios/RCTMGL/MGLFaux3DUserLocationAnnotationView.h +0 -23
- package/ios/RCTMGL/MGLUserLocationHeadingBeamLayer.h +0 -11
- package/ios/RCTMGL/RCTMGLBackgroundLayer.h +0 -14
- package/ios/RCTMGL/RCTMGLBackgroundLayer.m +0 -27
- package/ios/RCTMGL/RCTMGLCalloutManager.m +0 -21
- package/ios/RCTMGL/RCTMGLCircleLayer.h +0 -13
- package/ios/RCTMGL/RCTMGLFillExtrusionLayer.h +0 -14
- package/ios/RCTMGL/RCTMGLFillLayer.h +0 -14
- package/ios/RCTMGL/RCTMGLHeatmapLayer.h +0 -12
- package/ios/RCTMGL/RCTMGLHeatmapLayer.m +0 -30
- package/ios/RCTMGL/RCTMGLHeatmapLayerManager.h +0 -12
- package/ios/RCTMGL/RCTMGLImagesManager.h +0 -5
- package/ios/RCTMGL/RCTMGLLineLayer.h +0 -14
- package/ios/RCTMGL/RCTMGLLocationManager.h +0 -30
- package/ios/RCTMGL/RCTMGLLocationManagerDelegate.h +0 -20
- package/ios/RCTMGL/RCTMGLLogging.h +0 -18
- package/ios/RCTMGL/RCTMGLNativeUserLocationManager.h +0 -5
- package/ios/RCTMGL/RCTMGLNativeUserLocationManager.m +0 -25
- package/ios/RCTMGL/RCTMGLRasterLayer.h +0 -14
- package/ios/RCTMGL/RCTMGLRasterLayer.m +0 -30
- package/ios/RCTMGL/RCTMGLStyle.h +0 -222
- package/ios/RCTMGL/RCTMGLTileSource.m +0 -31
- package/ios/RCTMGL/RCTMGLUserLocation.h +0 -15
- package/ios/RCTMGL.xcodeproj/project.pbxproj +0 -775
- /package/android/{rctmgl → rctmln}/.settings/org.eclipse.buildship.core.prefs +0 -0
- /package/android/{rctmgl → rctmln}/build.gradle +0 -0
- /package/android/{rctmgl → rctmln}/proguard-rules.pro +0 -0
- /package/android/{rctmgl → rctmln}/src/main/res/drawable/empty.xml +0 -0
- /package/android/{rctmgl → rctmln}/src/main/res/drawable/empty_drawable.png +0 -0
- /package/android/{rctmgl → rctmln}/src/main/res/drawable-xxhdpi/red_marker.png +0 -0
- /package/android/{rctmgl → rctmln}/src/main/res/layout/annotation.xml +0 -0
- /package/ios/{RCTMGL → RCTMLN}/index.d.ts +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// DO NOT MODIFY
|
|
2
2
|
// THIS FILE IS AUTOGENERATED
|
|
3
3
|
|
|
4
|
-
package com.
|
|
4
|
+
package com.maplibre.rctmln.components.styles;
|
|
5
5
|
|
|
6
6
|
import com.mapbox.mapboxsdk.style.layers.BackgroundLayer;
|
|
7
7
|
import com.mapbox.mapboxsdk.style.layers.CircleLayer;
|
|
@@ -17,15 +17,15 @@ import com.mapbox.mapboxsdk.style.layers.HillshadeLayer;
|
|
|
17
17
|
import com.mapbox.mapboxsdk.style.layers.TransitionOptions;
|
|
18
18
|
import com.mapbox.mapboxsdk.style.light.Light;
|
|
19
19
|
import com.mapbox.mapboxsdk.style.light.Position;
|
|
20
|
-
import com.
|
|
20
|
+
import com.maplibre.rctmln.utils.DownloadMapImageTask;
|
|
21
21
|
|
|
22
22
|
import java.util.List;
|
|
23
23
|
|
|
24
|
-
public class
|
|
24
|
+
public class RCTMLNStyleFactory {
|
|
25
25
|
public static final String VALUE_KEY = "value";
|
|
26
26
|
public static final String SHOULD_ADD_IMAGE_KEY = "shouldAddImage";
|
|
27
27
|
|
|
28
|
-
public static void setFillLayerStyle(final FillLayer layer,
|
|
28
|
+
public static void setFillLayerStyle(final FillLayer layer, RCTMLNStyle style) {
|
|
29
29
|
List<String> styleKeys = style.getAllStyleKeys();
|
|
30
30
|
|
|
31
31
|
if (styleKeys.size() == 0) {
|
|
@@ -33,60 +33,60 @@ public class RCTMGLStyleFactory {
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
for (String styleKey : styleKeys) {
|
|
36
|
-
final
|
|
36
|
+
final RCTMLNStyleValue styleValue = style.getStyleValueForKey(styleKey);
|
|
37
37
|
|
|
38
38
|
switch (styleKey) {
|
|
39
39
|
case "fillSortKey":
|
|
40
|
-
|
|
40
|
+
RCTMLNStyleFactory.setFillSortKey(layer, styleValue);
|
|
41
41
|
break;
|
|
42
42
|
case "visibility":
|
|
43
|
-
|
|
43
|
+
RCTMLNStyleFactory.setVisibility(layer, styleValue);
|
|
44
44
|
break;
|
|
45
45
|
case "fillAntialias":
|
|
46
|
-
|
|
46
|
+
RCTMLNStyleFactory.setFillAntialias(layer, styleValue);
|
|
47
47
|
break;
|
|
48
48
|
case "fillOpacity":
|
|
49
|
-
|
|
49
|
+
RCTMLNStyleFactory.setFillOpacity(layer, styleValue);
|
|
50
50
|
break;
|
|
51
51
|
case "fillOpacityTransition":
|
|
52
|
-
|
|
52
|
+
RCTMLNStyleFactory.setFillOpacityTransition(layer, styleValue);
|
|
53
53
|
break;
|
|
54
54
|
case "fillColor":
|
|
55
|
-
|
|
55
|
+
RCTMLNStyleFactory.setFillColor(layer, styleValue);
|
|
56
56
|
break;
|
|
57
57
|
case "fillColorTransition":
|
|
58
|
-
|
|
58
|
+
RCTMLNStyleFactory.setFillColorTransition(layer, styleValue);
|
|
59
59
|
break;
|
|
60
60
|
case "fillOutlineColor":
|
|
61
|
-
|
|
61
|
+
RCTMLNStyleFactory.setFillOutlineColor(layer, styleValue);
|
|
62
62
|
break;
|
|
63
63
|
case "fillOutlineColorTransition":
|
|
64
|
-
|
|
64
|
+
RCTMLNStyleFactory.setFillOutlineColorTransition(layer, styleValue);
|
|
65
65
|
break;
|
|
66
66
|
case "fillTranslate":
|
|
67
|
-
|
|
67
|
+
RCTMLNStyleFactory.setFillTranslate(layer, styleValue);
|
|
68
68
|
break;
|
|
69
69
|
case "fillTranslateTransition":
|
|
70
|
-
|
|
70
|
+
RCTMLNStyleFactory.setFillTranslateTransition(layer, styleValue);
|
|
71
71
|
break;
|
|
72
72
|
case "fillTranslateAnchor":
|
|
73
|
-
|
|
73
|
+
RCTMLNStyleFactory.setFillTranslateAnchor(layer, styleValue);
|
|
74
74
|
break;
|
|
75
75
|
case "fillPattern":
|
|
76
76
|
style.addImage(styleValue, new DownloadMapImageTask.OnAllImagesLoaded() {
|
|
77
77
|
@Override
|
|
78
78
|
public void onAllImagesLoaded() {
|
|
79
|
-
|
|
79
|
+
RCTMLNStyleFactory.setFillPattern(layer, styleValue);
|
|
80
80
|
}
|
|
81
81
|
});
|
|
82
82
|
break;
|
|
83
83
|
case "fillPatternTransition":
|
|
84
|
-
|
|
84
|
+
RCTMLNStyleFactory.setFillPatternTransition(layer, styleValue);
|
|
85
85
|
break;
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
|
-
public static void setLineLayerStyle(final LineLayer layer,
|
|
89
|
+
public static void setLineLayerStyle(final LineLayer layer, RCTMLNStyle style) {
|
|
90
90
|
List<String> styleKeys = style.getAllStyleKeys();
|
|
91
91
|
|
|
92
92
|
if (styleKeys.size() == 0) {
|
|
@@ -94,96 +94,96 @@ public class RCTMGLStyleFactory {
|
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
for (String styleKey : styleKeys) {
|
|
97
|
-
final
|
|
97
|
+
final RCTMLNStyleValue styleValue = style.getStyleValueForKey(styleKey);
|
|
98
98
|
|
|
99
99
|
switch (styleKey) {
|
|
100
100
|
case "lineCap":
|
|
101
|
-
|
|
101
|
+
RCTMLNStyleFactory.setLineCap(layer, styleValue);
|
|
102
102
|
break;
|
|
103
103
|
case "lineJoin":
|
|
104
|
-
|
|
104
|
+
RCTMLNStyleFactory.setLineJoin(layer, styleValue);
|
|
105
105
|
break;
|
|
106
106
|
case "lineMiterLimit":
|
|
107
|
-
|
|
107
|
+
RCTMLNStyleFactory.setLineMiterLimit(layer, styleValue);
|
|
108
108
|
break;
|
|
109
109
|
case "lineRoundLimit":
|
|
110
|
-
|
|
110
|
+
RCTMLNStyleFactory.setLineRoundLimit(layer, styleValue);
|
|
111
111
|
break;
|
|
112
112
|
case "lineSortKey":
|
|
113
|
-
|
|
113
|
+
RCTMLNStyleFactory.setLineSortKey(layer, styleValue);
|
|
114
114
|
break;
|
|
115
115
|
case "visibility":
|
|
116
|
-
|
|
116
|
+
RCTMLNStyleFactory.setVisibility(layer, styleValue);
|
|
117
117
|
break;
|
|
118
118
|
case "lineOpacity":
|
|
119
|
-
|
|
119
|
+
RCTMLNStyleFactory.setLineOpacity(layer, styleValue);
|
|
120
120
|
break;
|
|
121
121
|
case "lineOpacityTransition":
|
|
122
|
-
|
|
122
|
+
RCTMLNStyleFactory.setLineOpacityTransition(layer, styleValue);
|
|
123
123
|
break;
|
|
124
124
|
case "lineColor":
|
|
125
|
-
|
|
125
|
+
RCTMLNStyleFactory.setLineColor(layer, styleValue);
|
|
126
126
|
break;
|
|
127
127
|
case "lineColorTransition":
|
|
128
|
-
|
|
128
|
+
RCTMLNStyleFactory.setLineColorTransition(layer, styleValue);
|
|
129
129
|
break;
|
|
130
130
|
case "lineTranslate":
|
|
131
|
-
|
|
131
|
+
RCTMLNStyleFactory.setLineTranslate(layer, styleValue);
|
|
132
132
|
break;
|
|
133
133
|
case "lineTranslateTransition":
|
|
134
|
-
|
|
134
|
+
RCTMLNStyleFactory.setLineTranslateTransition(layer, styleValue);
|
|
135
135
|
break;
|
|
136
136
|
case "lineTranslateAnchor":
|
|
137
|
-
|
|
137
|
+
RCTMLNStyleFactory.setLineTranslateAnchor(layer, styleValue);
|
|
138
138
|
break;
|
|
139
139
|
case "lineWidth":
|
|
140
|
-
|
|
140
|
+
RCTMLNStyleFactory.setLineWidth(layer, styleValue);
|
|
141
141
|
break;
|
|
142
142
|
case "lineWidthTransition":
|
|
143
|
-
|
|
143
|
+
RCTMLNStyleFactory.setLineWidthTransition(layer, styleValue);
|
|
144
144
|
break;
|
|
145
145
|
case "lineGapWidth":
|
|
146
|
-
|
|
146
|
+
RCTMLNStyleFactory.setLineGapWidth(layer, styleValue);
|
|
147
147
|
break;
|
|
148
148
|
case "lineGapWidthTransition":
|
|
149
|
-
|
|
149
|
+
RCTMLNStyleFactory.setLineGapWidthTransition(layer, styleValue);
|
|
150
150
|
break;
|
|
151
151
|
case "lineOffset":
|
|
152
|
-
|
|
152
|
+
RCTMLNStyleFactory.setLineOffset(layer, styleValue);
|
|
153
153
|
break;
|
|
154
154
|
case "lineOffsetTransition":
|
|
155
|
-
|
|
155
|
+
RCTMLNStyleFactory.setLineOffsetTransition(layer, styleValue);
|
|
156
156
|
break;
|
|
157
157
|
case "lineBlur":
|
|
158
|
-
|
|
158
|
+
RCTMLNStyleFactory.setLineBlur(layer, styleValue);
|
|
159
159
|
break;
|
|
160
160
|
case "lineBlurTransition":
|
|
161
|
-
|
|
161
|
+
RCTMLNStyleFactory.setLineBlurTransition(layer, styleValue);
|
|
162
162
|
break;
|
|
163
163
|
case "lineDasharray":
|
|
164
|
-
|
|
164
|
+
RCTMLNStyleFactory.setLineDasharray(layer, styleValue);
|
|
165
165
|
break;
|
|
166
166
|
case "lineDasharrayTransition":
|
|
167
|
-
|
|
167
|
+
RCTMLNStyleFactory.setLineDasharrayTransition(layer, styleValue);
|
|
168
168
|
break;
|
|
169
169
|
case "linePattern":
|
|
170
170
|
style.addImage(styleValue, new DownloadMapImageTask.OnAllImagesLoaded() {
|
|
171
171
|
@Override
|
|
172
172
|
public void onAllImagesLoaded() {
|
|
173
|
-
|
|
173
|
+
RCTMLNStyleFactory.setLinePattern(layer, styleValue);
|
|
174
174
|
}
|
|
175
175
|
});
|
|
176
176
|
break;
|
|
177
177
|
case "linePatternTransition":
|
|
178
|
-
|
|
178
|
+
RCTMLNStyleFactory.setLinePatternTransition(layer, styleValue);
|
|
179
179
|
break;
|
|
180
180
|
case "lineGradient":
|
|
181
|
-
|
|
181
|
+
RCTMLNStyleFactory.setLineGradient(layer, styleValue);
|
|
182
182
|
break;
|
|
183
183
|
}
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
|
-
public static void setSymbolLayerStyle(final SymbolLayer layer,
|
|
186
|
+
public static void setSymbolLayerStyle(final SymbolLayer layer, RCTMLNStyle style) {
|
|
187
187
|
List<String> styleKeys = style.getAllStyleKeys();
|
|
188
188
|
|
|
189
189
|
if (styleKeys.size() == 0) {
|
|
@@ -191,222 +191,222 @@ public class RCTMGLStyleFactory {
|
|
|
191
191
|
}
|
|
192
192
|
|
|
193
193
|
for (String styleKey : styleKeys) {
|
|
194
|
-
final
|
|
194
|
+
final RCTMLNStyleValue styleValue = style.getStyleValueForKey(styleKey);
|
|
195
195
|
|
|
196
196
|
switch (styleKey) {
|
|
197
197
|
case "symbolPlacement":
|
|
198
|
-
|
|
198
|
+
RCTMLNStyleFactory.setSymbolPlacement(layer, styleValue);
|
|
199
199
|
break;
|
|
200
200
|
case "symbolSpacing":
|
|
201
|
-
|
|
201
|
+
RCTMLNStyleFactory.setSymbolSpacing(layer, styleValue);
|
|
202
202
|
break;
|
|
203
203
|
case "symbolAvoidEdges":
|
|
204
|
-
|
|
204
|
+
RCTMLNStyleFactory.setSymbolAvoidEdges(layer, styleValue);
|
|
205
205
|
break;
|
|
206
206
|
case "symbolSortKey":
|
|
207
|
-
|
|
207
|
+
RCTMLNStyleFactory.setSymbolSortKey(layer, styleValue);
|
|
208
208
|
break;
|
|
209
209
|
case "symbolZOrder":
|
|
210
|
-
|
|
210
|
+
RCTMLNStyleFactory.setSymbolZOrder(layer, styleValue);
|
|
211
211
|
break;
|
|
212
212
|
case "iconAllowOverlap":
|
|
213
|
-
|
|
213
|
+
RCTMLNStyleFactory.setIconAllowOverlap(layer, styleValue);
|
|
214
214
|
break;
|
|
215
215
|
case "iconIgnorePlacement":
|
|
216
|
-
|
|
216
|
+
RCTMLNStyleFactory.setIconIgnorePlacement(layer, styleValue);
|
|
217
217
|
break;
|
|
218
218
|
case "iconOptional":
|
|
219
|
-
|
|
219
|
+
RCTMLNStyleFactory.setIconOptional(layer, styleValue);
|
|
220
220
|
break;
|
|
221
221
|
case "iconRotationAlignment":
|
|
222
|
-
|
|
222
|
+
RCTMLNStyleFactory.setIconRotationAlignment(layer, styleValue);
|
|
223
223
|
break;
|
|
224
224
|
case "iconSize":
|
|
225
|
-
|
|
225
|
+
RCTMLNStyleFactory.setIconSize(layer, styleValue);
|
|
226
226
|
break;
|
|
227
227
|
case "iconTextFit":
|
|
228
|
-
|
|
228
|
+
RCTMLNStyleFactory.setIconTextFit(layer, styleValue);
|
|
229
229
|
break;
|
|
230
230
|
case "iconTextFitPadding":
|
|
231
|
-
|
|
231
|
+
RCTMLNStyleFactory.setIconTextFitPadding(layer, styleValue);
|
|
232
232
|
break;
|
|
233
233
|
case "iconImage":
|
|
234
234
|
style.addImage(styleValue, new DownloadMapImageTask.OnAllImagesLoaded() {
|
|
235
235
|
@Override
|
|
236
236
|
public void onAllImagesLoaded() {
|
|
237
|
-
|
|
237
|
+
RCTMLNStyleFactory.setIconImage(layer, styleValue);
|
|
238
238
|
}
|
|
239
239
|
});
|
|
240
240
|
break;
|
|
241
241
|
case "iconRotate":
|
|
242
|
-
|
|
242
|
+
RCTMLNStyleFactory.setIconRotate(layer, styleValue);
|
|
243
243
|
break;
|
|
244
244
|
case "iconPadding":
|
|
245
|
-
|
|
245
|
+
RCTMLNStyleFactory.setIconPadding(layer, styleValue);
|
|
246
246
|
break;
|
|
247
247
|
case "iconKeepUpright":
|
|
248
|
-
|
|
248
|
+
RCTMLNStyleFactory.setIconKeepUpright(layer, styleValue);
|
|
249
249
|
break;
|
|
250
250
|
case "iconOffset":
|
|
251
|
-
|
|
251
|
+
RCTMLNStyleFactory.setIconOffset(layer, styleValue);
|
|
252
252
|
break;
|
|
253
253
|
case "iconAnchor":
|
|
254
|
-
|
|
254
|
+
RCTMLNStyleFactory.setIconAnchor(layer, styleValue);
|
|
255
255
|
break;
|
|
256
256
|
case "iconPitchAlignment":
|
|
257
|
-
|
|
257
|
+
RCTMLNStyleFactory.setIconPitchAlignment(layer, styleValue);
|
|
258
258
|
break;
|
|
259
259
|
case "textPitchAlignment":
|
|
260
|
-
|
|
260
|
+
RCTMLNStyleFactory.setTextPitchAlignment(layer, styleValue);
|
|
261
261
|
break;
|
|
262
262
|
case "textRotationAlignment":
|
|
263
|
-
|
|
263
|
+
RCTMLNStyleFactory.setTextRotationAlignment(layer, styleValue);
|
|
264
264
|
break;
|
|
265
265
|
case "textField":
|
|
266
|
-
|
|
266
|
+
RCTMLNStyleFactory.setTextField(layer, styleValue);
|
|
267
267
|
break;
|
|
268
268
|
case "textFont":
|
|
269
|
-
|
|
269
|
+
RCTMLNStyleFactory.setTextFont(layer, styleValue);
|
|
270
270
|
break;
|
|
271
271
|
case "textSize":
|
|
272
|
-
|
|
272
|
+
RCTMLNStyleFactory.setTextSize(layer, styleValue);
|
|
273
273
|
break;
|
|
274
274
|
case "textMaxWidth":
|
|
275
|
-
|
|
275
|
+
RCTMLNStyleFactory.setTextMaxWidth(layer, styleValue);
|
|
276
276
|
break;
|
|
277
277
|
case "textLineHeight":
|
|
278
|
-
|
|
278
|
+
RCTMLNStyleFactory.setTextLineHeight(layer, styleValue);
|
|
279
279
|
break;
|
|
280
280
|
case "textLetterSpacing":
|
|
281
|
-
|
|
281
|
+
RCTMLNStyleFactory.setTextLetterSpacing(layer, styleValue);
|
|
282
282
|
break;
|
|
283
283
|
case "textJustify":
|
|
284
|
-
|
|
284
|
+
RCTMLNStyleFactory.setTextJustify(layer, styleValue);
|
|
285
285
|
break;
|
|
286
286
|
case "textRadialOffset":
|
|
287
|
-
|
|
287
|
+
RCTMLNStyleFactory.setTextRadialOffset(layer, styleValue);
|
|
288
288
|
break;
|
|
289
289
|
case "textVariableAnchor":
|
|
290
|
-
|
|
290
|
+
RCTMLNStyleFactory.setTextVariableAnchor(layer, styleValue);
|
|
291
291
|
break;
|
|
292
292
|
case "textAnchor":
|
|
293
|
-
|
|
293
|
+
RCTMLNStyleFactory.setTextAnchor(layer, styleValue);
|
|
294
294
|
break;
|
|
295
295
|
case "textMaxAngle":
|
|
296
|
-
|
|
296
|
+
RCTMLNStyleFactory.setTextMaxAngle(layer, styleValue);
|
|
297
297
|
break;
|
|
298
298
|
case "textWritingMode":
|
|
299
|
-
|
|
299
|
+
RCTMLNStyleFactory.setTextWritingMode(layer, styleValue);
|
|
300
300
|
break;
|
|
301
301
|
case "textRotate":
|
|
302
|
-
|
|
302
|
+
RCTMLNStyleFactory.setTextRotate(layer, styleValue);
|
|
303
303
|
break;
|
|
304
304
|
case "textPadding":
|
|
305
|
-
|
|
305
|
+
RCTMLNStyleFactory.setTextPadding(layer, styleValue);
|
|
306
306
|
break;
|
|
307
307
|
case "textKeepUpright":
|
|
308
|
-
|
|
308
|
+
RCTMLNStyleFactory.setTextKeepUpright(layer, styleValue);
|
|
309
309
|
break;
|
|
310
310
|
case "textTransform":
|
|
311
|
-
|
|
311
|
+
RCTMLNStyleFactory.setTextTransform(layer, styleValue);
|
|
312
312
|
break;
|
|
313
313
|
case "textOffset":
|
|
314
|
-
|
|
314
|
+
RCTMLNStyleFactory.setTextOffset(layer, styleValue);
|
|
315
315
|
break;
|
|
316
316
|
case "textAllowOverlap":
|
|
317
|
-
|
|
317
|
+
RCTMLNStyleFactory.setTextAllowOverlap(layer, styleValue);
|
|
318
318
|
break;
|
|
319
319
|
case "textIgnorePlacement":
|
|
320
|
-
|
|
320
|
+
RCTMLNStyleFactory.setTextIgnorePlacement(layer, styleValue);
|
|
321
321
|
break;
|
|
322
322
|
case "textOptional":
|
|
323
|
-
|
|
323
|
+
RCTMLNStyleFactory.setTextOptional(layer, styleValue);
|
|
324
324
|
break;
|
|
325
325
|
case "visibility":
|
|
326
|
-
|
|
326
|
+
RCTMLNStyleFactory.setVisibility(layer, styleValue);
|
|
327
327
|
break;
|
|
328
328
|
case "iconOpacity":
|
|
329
|
-
|
|
329
|
+
RCTMLNStyleFactory.setIconOpacity(layer, styleValue);
|
|
330
330
|
break;
|
|
331
331
|
case "iconOpacityTransition":
|
|
332
|
-
|
|
332
|
+
RCTMLNStyleFactory.setIconOpacityTransition(layer, styleValue);
|
|
333
333
|
break;
|
|
334
334
|
case "iconColor":
|
|
335
|
-
|
|
335
|
+
RCTMLNStyleFactory.setIconColor(layer, styleValue);
|
|
336
336
|
break;
|
|
337
337
|
case "iconColorTransition":
|
|
338
|
-
|
|
338
|
+
RCTMLNStyleFactory.setIconColorTransition(layer, styleValue);
|
|
339
339
|
break;
|
|
340
340
|
case "iconHaloColor":
|
|
341
|
-
|
|
341
|
+
RCTMLNStyleFactory.setIconHaloColor(layer, styleValue);
|
|
342
342
|
break;
|
|
343
343
|
case "iconHaloColorTransition":
|
|
344
|
-
|
|
344
|
+
RCTMLNStyleFactory.setIconHaloColorTransition(layer, styleValue);
|
|
345
345
|
break;
|
|
346
346
|
case "iconHaloWidth":
|
|
347
|
-
|
|
347
|
+
RCTMLNStyleFactory.setIconHaloWidth(layer, styleValue);
|
|
348
348
|
break;
|
|
349
349
|
case "iconHaloWidthTransition":
|
|
350
|
-
|
|
350
|
+
RCTMLNStyleFactory.setIconHaloWidthTransition(layer, styleValue);
|
|
351
351
|
break;
|
|
352
352
|
case "iconHaloBlur":
|
|
353
|
-
|
|
353
|
+
RCTMLNStyleFactory.setIconHaloBlur(layer, styleValue);
|
|
354
354
|
break;
|
|
355
355
|
case "iconHaloBlurTransition":
|
|
356
|
-
|
|
356
|
+
RCTMLNStyleFactory.setIconHaloBlurTransition(layer, styleValue);
|
|
357
357
|
break;
|
|
358
358
|
case "iconTranslate":
|
|
359
|
-
|
|
359
|
+
RCTMLNStyleFactory.setIconTranslate(layer, styleValue);
|
|
360
360
|
break;
|
|
361
361
|
case "iconTranslateTransition":
|
|
362
|
-
|
|
362
|
+
RCTMLNStyleFactory.setIconTranslateTransition(layer, styleValue);
|
|
363
363
|
break;
|
|
364
364
|
case "iconTranslateAnchor":
|
|
365
|
-
|
|
365
|
+
RCTMLNStyleFactory.setIconTranslateAnchor(layer, styleValue);
|
|
366
366
|
break;
|
|
367
367
|
case "textOpacity":
|
|
368
|
-
|
|
368
|
+
RCTMLNStyleFactory.setTextOpacity(layer, styleValue);
|
|
369
369
|
break;
|
|
370
370
|
case "textOpacityTransition":
|
|
371
|
-
|
|
371
|
+
RCTMLNStyleFactory.setTextOpacityTransition(layer, styleValue);
|
|
372
372
|
break;
|
|
373
373
|
case "textColor":
|
|
374
|
-
|
|
374
|
+
RCTMLNStyleFactory.setTextColor(layer, styleValue);
|
|
375
375
|
break;
|
|
376
376
|
case "textColorTransition":
|
|
377
|
-
|
|
377
|
+
RCTMLNStyleFactory.setTextColorTransition(layer, styleValue);
|
|
378
378
|
break;
|
|
379
379
|
case "textHaloColor":
|
|
380
|
-
|
|
380
|
+
RCTMLNStyleFactory.setTextHaloColor(layer, styleValue);
|
|
381
381
|
break;
|
|
382
382
|
case "textHaloColorTransition":
|
|
383
|
-
|
|
383
|
+
RCTMLNStyleFactory.setTextHaloColorTransition(layer, styleValue);
|
|
384
384
|
break;
|
|
385
385
|
case "textHaloWidth":
|
|
386
|
-
|
|
386
|
+
RCTMLNStyleFactory.setTextHaloWidth(layer, styleValue);
|
|
387
387
|
break;
|
|
388
388
|
case "textHaloWidthTransition":
|
|
389
|
-
|
|
389
|
+
RCTMLNStyleFactory.setTextHaloWidthTransition(layer, styleValue);
|
|
390
390
|
break;
|
|
391
391
|
case "textHaloBlur":
|
|
392
|
-
|
|
392
|
+
RCTMLNStyleFactory.setTextHaloBlur(layer, styleValue);
|
|
393
393
|
break;
|
|
394
394
|
case "textHaloBlurTransition":
|
|
395
|
-
|
|
395
|
+
RCTMLNStyleFactory.setTextHaloBlurTransition(layer, styleValue);
|
|
396
396
|
break;
|
|
397
397
|
case "textTranslate":
|
|
398
|
-
|
|
398
|
+
RCTMLNStyleFactory.setTextTranslate(layer, styleValue);
|
|
399
399
|
break;
|
|
400
400
|
case "textTranslateTransition":
|
|
401
|
-
|
|
401
|
+
RCTMLNStyleFactory.setTextTranslateTransition(layer, styleValue);
|
|
402
402
|
break;
|
|
403
403
|
case "textTranslateAnchor":
|
|
404
|
-
|
|
404
|
+
RCTMLNStyleFactory.setTextTranslateAnchor(layer, styleValue);
|
|
405
405
|
break;
|
|
406
406
|
}
|
|
407
407
|
}
|
|
408
408
|
}
|
|
409
|
-
public static void setCircleLayerStyle(final CircleLayer layer,
|
|
409
|
+
public static void setCircleLayerStyle(final CircleLayer layer, RCTMLNStyle style) {
|
|
410
410
|
List<String> styleKeys = style.getAllStyleKeys();
|
|
411
411
|
|
|
412
412
|
if (styleKeys.size() == 0) {
|
|
@@ -414,76 +414,76 @@ public class RCTMGLStyleFactory {
|
|
|
414
414
|
}
|
|
415
415
|
|
|
416
416
|
for (String styleKey : styleKeys) {
|
|
417
|
-
final
|
|
417
|
+
final RCTMLNStyleValue styleValue = style.getStyleValueForKey(styleKey);
|
|
418
418
|
|
|
419
419
|
switch (styleKey) {
|
|
420
420
|
case "circleSortKey":
|
|
421
|
-
|
|
421
|
+
RCTMLNStyleFactory.setCircleSortKey(layer, styleValue);
|
|
422
422
|
break;
|
|
423
423
|
case "visibility":
|
|
424
|
-
|
|
424
|
+
RCTMLNStyleFactory.setVisibility(layer, styleValue);
|
|
425
425
|
break;
|
|
426
426
|
case "circleRadius":
|
|
427
|
-
|
|
427
|
+
RCTMLNStyleFactory.setCircleRadius(layer, styleValue);
|
|
428
428
|
break;
|
|
429
429
|
case "circleRadiusTransition":
|
|
430
|
-
|
|
430
|
+
RCTMLNStyleFactory.setCircleRadiusTransition(layer, styleValue);
|
|
431
431
|
break;
|
|
432
432
|
case "circleColor":
|
|
433
|
-
|
|
433
|
+
RCTMLNStyleFactory.setCircleColor(layer, styleValue);
|
|
434
434
|
break;
|
|
435
435
|
case "circleColorTransition":
|
|
436
|
-
|
|
436
|
+
RCTMLNStyleFactory.setCircleColorTransition(layer, styleValue);
|
|
437
437
|
break;
|
|
438
438
|
case "circleBlur":
|
|
439
|
-
|
|
439
|
+
RCTMLNStyleFactory.setCircleBlur(layer, styleValue);
|
|
440
440
|
break;
|
|
441
441
|
case "circleBlurTransition":
|
|
442
|
-
|
|
442
|
+
RCTMLNStyleFactory.setCircleBlurTransition(layer, styleValue);
|
|
443
443
|
break;
|
|
444
444
|
case "circleOpacity":
|
|
445
|
-
|
|
445
|
+
RCTMLNStyleFactory.setCircleOpacity(layer, styleValue);
|
|
446
446
|
break;
|
|
447
447
|
case "circleOpacityTransition":
|
|
448
|
-
|
|
448
|
+
RCTMLNStyleFactory.setCircleOpacityTransition(layer, styleValue);
|
|
449
449
|
break;
|
|
450
450
|
case "circleTranslate":
|
|
451
|
-
|
|
451
|
+
RCTMLNStyleFactory.setCircleTranslate(layer, styleValue);
|
|
452
452
|
break;
|
|
453
453
|
case "circleTranslateTransition":
|
|
454
|
-
|
|
454
|
+
RCTMLNStyleFactory.setCircleTranslateTransition(layer, styleValue);
|
|
455
455
|
break;
|
|
456
456
|
case "circleTranslateAnchor":
|
|
457
|
-
|
|
457
|
+
RCTMLNStyleFactory.setCircleTranslateAnchor(layer, styleValue);
|
|
458
458
|
break;
|
|
459
459
|
case "circlePitchScale":
|
|
460
|
-
|
|
460
|
+
RCTMLNStyleFactory.setCirclePitchScale(layer, styleValue);
|
|
461
461
|
break;
|
|
462
462
|
case "circlePitchAlignment":
|
|
463
|
-
|
|
463
|
+
RCTMLNStyleFactory.setCirclePitchAlignment(layer, styleValue);
|
|
464
464
|
break;
|
|
465
465
|
case "circleStrokeWidth":
|
|
466
|
-
|
|
466
|
+
RCTMLNStyleFactory.setCircleStrokeWidth(layer, styleValue);
|
|
467
467
|
break;
|
|
468
468
|
case "circleStrokeWidthTransition":
|
|
469
|
-
|
|
469
|
+
RCTMLNStyleFactory.setCircleStrokeWidthTransition(layer, styleValue);
|
|
470
470
|
break;
|
|
471
471
|
case "circleStrokeColor":
|
|
472
|
-
|
|
472
|
+
RCTMLNStyleFactory.setCircleStrokeColor(layer, styleValue);
|
|
473
473
|
break;
|
|
474
474
|
case "circleStrokeColorTransition":
|
|
475
|
-
|
|
475
|
+
RCTMLNStyleFactory.setCircleStrokeColorTransition(layer, styleValue);
|
|
476
476
|
break;
|
|
477
477
|
case "circleStrokeOpacity":
|
|
478
|
-
|
|
478
|
+
RCTMLNStyleFactory.setCircleStrokeOpacity(layer, styleValue);
|
|
479
479
|
break;
|
|
480
480
|
case "circleStrokeOpacityTransition":
|
|
481
|
-
|
|
481
|
+
RCTMLNStyleFactory.setCircleStrokeOpacityTransition(layer, styleValue);
|
|
482
482
|
break;
|
|
483
483
|
}
|
|
484
484
|
}
|
|
485
485
|
}
|
|
486
|
-
public static void setHeatmapLayerStyle(final HeatmapLayer layer,
|
|
486
|
+
public static void setHeatmapLayerStyle(final HeatmapLayer layer, RCTMLNStyle style) {
|
|
487
487
|
List<String> styleKeys = style.getAllStyleKeys();
|
|
488
488
|
|
|
489
489
|
if (styleKeys.size() == 0) {
|
|
@@ -491,40 +491,40 @@ public class RCTMGLStyleFactory {
|
|
|
491
491
|
}
|
|
492
492
|
|
|
493
493
|
for (String styleKey : styleKeys) {
|
|
494
|
-
final
|
|
494
|
+
final RCTMLNStyleValue styleValue = style.getStyleValueForKey(styleKey);
|
|
495
495
|
|
|
496
496
|
switch (styleKey) {
|
|
497
497
|
case "visibility":
|
|
498
|
-
|
|
498
|
+
RCTMLNStyleFactory.setVisibility(layer, styleValue);
|
|
499
499
|
break;
|
|
500
500
|
case "heatmapRadius":
|
|
501
|
-
|
|
501
|
+
RCTMLNStyleFactory.setHeatmapRadius(layer, styleValue);
|
|
502
502
|
break;
|
|
503
503
|
case "heatmapRadiusTransition":
|
|
504
|
-
|
|
504
|
+
RCTMLNStyleFactory.setHeatmapRadiusTransition(layer, styleValue);
|
|
505
505
|
break;
|
|
506
506
|
case "heatmapWeight":
|
|
507
|
-
|
|
507
|
+
RCTMLNStyleFactory.setHeatmapWeight(layer, styleValue);
|
|
508
508
|
break;
|
|
509
509
|
case "heatmapIntensity":
|
|
510
|
-
|
|
510
|
+
RCTMLNStyleFactory.setHeatmapIntensity(layer, styleValue);
|
|
511
511
|
break;
|
|
512
512
|
case "heatmapIntensityTransition":
|
|
513
|
-
|
|
513
|
+
RCTMLNStyleFactory.setHeatmapIntensityTransition(layer, styleValue);
|
|
514
514
|
break;
|
|
515
515
|
case "heatmapColor":
|
|
516
|
-
|
|
516
|
+
RCTMLNStyleFactory.setHeatmapColor(layer, styleValue);
|
|
517
517
|
break;
|
|
518
518
|
case "heatmapOpacity":
|
|
519
|
-
|
|
519
|
+
RCTMLNStyleFactory.setHeatmapOpacity(layer, styleValue);
|
|
520
520
|
break;
|
|
521
521
|
case "heatmapOpacityTransition":
|
|
522
|
-
|
|
522
|
+
RCTMLNStyleFactory.setHeatmapOpacityTransition(layer, styleValue);
|
|
523
523
|
break;
|
|
524
524
|
}
|
|
525
525
|
}
|
|
526
526
|
}
|
|
527
|
-
public static void setFillExtrusionLayerStyle(final FillExtrusionLayer layer,
|
|
527
|
+
public static void setFillExtrusionLayerStyle(final FillExtrusionLayer layer, RCTMLNStyle style) {
|
|
528
528
|
List<String> styleKeys = style.getAllStyleKeys();
|
|
529
529
|
|
|
530
530
|
if (styleKeys.size() == 0) {
|
|
@@ -532,60 +532,60 @@ public class RCTMGLStyleFactory {
|
|
|
532
532
|
}
|
|
533
533
|
|
|
534
534
|
for (String styleKey : styleKeys) {
|
|
535
|
-
final
|
|
535
|
+
final RCTMLNStyleValue styleValue = style.getStyleValueForKey(styleKey);
|
|
536
536
|
|
|
537
537
|
switch (styleKey) {
|
|
538
538
|
case "visibility":
|
|
539
|
-
|
|
539
|
+
RCTMLNStyleFactory.setVisibility(layer, styleValue);
|
|
540
540
|
break;
|
|
541
541
|
case "fillExtrusionOpacity":
|
|
542
|
-
|
|
542
|
+
RCTMLNStyleFactory.setFillExtrusionOpacity(layer, styleValue);
|
|
543
543
|
break;
|
|
544
544
|
case "fillExtrusionOpacityTransition":
|
|
545
|
-
|
|
545
|
+
RCTMLNStyleFactory.setFillExtrusionOpacityTransition(layer, styleValue);
|
|
546
546
|
break;
|
|
547
547
|
case "fillExtrusionColor":
|
|
548
|
-
|
|
548
|
+
RCTMLNStyleFactory.setFillExtrusionColor(layer, styleValue);
|
|
549
549
|
break;
|
|
550
550
|
case "fillExtrusionColorTransition":
|
|
551
|
-
|
|
551
|
+
RCTMLNStyleFactory.setFillExtrusionColorTransition(layer, styleValue);
|
|
552
552
|
break;
|
|
553
553
|
case "fillExtrusionTranslate":
|
|
554
|
-
|
|
554
|
+
RCTMLNStyleFactory.setFillExtrusionTranslate(layer, styleValue);
|
|
555
555
|
break;
|
|
556
556
|
case "fillExtrusionTranslateTransition":
|
|
557
|
-
|
|
557
|
+
RCTMLNStyleFactory.setFillExtrusionTranslateTransition(layer, styleValue);
|
|
558
558
|
break;
|
|
559
559
|
case "fillExtrusionTranslateAnchor":
|
|
560
|
-
|
|
560
|
+
RCTMLNStyleFactory.setFillExtrusionTranslateAnchor(layer, styleValue);
|
|
561
561
|
break;
|
|
562
562
|
case "fillExtrusionPattern":
|
|
563
563
|
style.addImage(styleValue, new DownloadMapImageTask.OnAllImagesLoaded() {
|
|
564
564
|
@Override
|
|
565
565
|
public void onAllImagesLoaded() {
|
|
566
|
-
|
|
566
|
+
RCTMLNStyleFactory.setFillExtrusionPattern(layer, styleValue);
|
|
567
567
|
}
|
|
568
568
|
});
|
|
569
569
|
break;
|
|
570
570
|
case "fillExtrusionPatternTransition":
|
|
571
|
-
|
|
571
|
+
RCTMLNStyleFactory.setFillExtrusionPatternTransition(layer, styleValue);
|
|
572
572
|
break;
|
|
573
573
|
case "fillExtrusionHeight":
|
|
574
|
-
|
|
574
|
+
RCTMLNStyleFactory.setFillExtrusionHeight(layer, styleValue);
|
|
575
575
|
break;
|
|
576
576
|
case "fillExtrusionHeightTransition":
|
|
577
|
-
|
|
577
|
+
RCTMLNStyleFactory.setFillExtrusionHeightTransition(layer, styleValue);
|
|
578
578
|
break;
|
|
579
579
|
case "fillExtrusionBase":
|
|
580
|
-
|
|
580
|
+
RCTMLNStyleFactory.setFillExtrusionBase(layer, styleValue);
|
|
581
581
|
break;
|
|
582
582
|
case "fillExtrusionBaseTransition":
|
|
583
|
-
|
|
583
|
+
RCTMLNStyleFactory.setFillExtrusionBaseTransition(layer, styleValue);
|
|
584
584
|
break;
|
|
585
585
|
}
|
|
586
586
|
}
|
|
587
587
|
}
|
|
588
|
-
public static void setRasterLayerStyle(final RasterLayer layer,
|
|
588
|
+
public static void setRasterLayerStyle(final RasterLayer layer, RCTMLNStyle style) {
|
|
589
589
|
List<String> styleKeys = style.getAllStyleKeys();
|
|
590
590
|
|
|
591
591
|
if (styleKeys.size() == 0) {
|
|
@@ -593,58 +593,58 @@ public class RCTMGLStyleFactory {
|
|
|
593
593
|
}
|
|
594
594
|
|
|
595
595
|
for (String styleKey : styleKeys) {
|
|
596
|
-
final
|
|
596
|
+
final RCTMLNStyleValue styleValue = style.getStyleValueForKey(styleKey);
|
|
597
597
|
|
|
598
598
|
switch (styleKey) {
|
|
599
599
|
case "visibility":
|
|
600
|
-
|
|
600
|
+
RCTMLNStyleFactory.setVisibility(layer, styleValue);
|
|
601
601
|
break;
|
|
602
602
|
case "rasterOpacity":
|
|
603
|
-
|
|
603
|
+
RCTMLNStyleFactory.setRasterOpacity(layer, styleValue);
|
|
604
604
|
break;
|
|
605
605
|
case "rasterOpacityTransition":
|
|
606
|
-
|
|
606
|
+
RCTMLNStyleFactory.setRasterOpacityTransition(layer, styleValue);
|
|
607
607
|
break;
|
|
608
608
|
case "rasterHueRotate":
|
|
609
|
-
|
|
609
|
+
RCTMLNStyleFactory.setRasterHueRotate(layer, styleValue);
|
|
610
610
|
break;
|
|
611
611
|
case "rasterHueRotateTransition":
|
|
612
|
-
|
|
612
|
+
RCTMLNStyleFactory.setRasterHueRotateTransition(layer, styleValue);
|
|
613
613
|
break;
|
|
614
614
|
case "rasterBrightnessMin":
|
|
615
|
-
|
|
615
|
+
RCTMLNStyleFactory.setRasterBrightnessMin(layer, styleValue);
|
|
616
616
|
break;
|
|
617
617
|
case "rasterBrightnessMinTransition":
|
|
618
|
-
|
|
618
|
+
RCTMLNStyleFactory.setRasterBrightnessMinTransition(layer, styleValue);
|
|
619
619
|
break;
|
|
620
620
|
case "rasterBrightnessMax":
|
|
621
|
-
|
|
621
|
+
RCTMLNStyleFactory.setRasterBrightnessMax(layer, styleValue);
|
|
622
622
|
break;
|
|
623
623
|
case "rasterBrightnessMaxTransition":
|
|
624
|
-
|
|
624
|
+
RCTMLNStyleFactory.setRasterBrightnessMaxTransition(layer, styleValue);
|
|
625
625
|
break;
|
|
626
626
|
case "rasterSaturation":
|
|
627
|
-
|
|
627
|
+
RCTMLNStyleFactory.setRasterSaturation(layer, styleValue);
|
|
628
628
|
break;
|
|
629
629
|
case "rasterSaturationTransition":
|
|
630
|
-
|
|
630
|
+
RCTMLNStyleFactory.setRasterSaturationTransition(layer, styleValue);
|
|
631
631
|
break;
|
|
632
632
|
case "rasterContrast":
|
|
633
|
-
|
|
633
|
+
RCTMLNStyleFactory.setRasterContrast(layer, styleValue);
|
|
634
634
|
break;
|
|
635
635
|
case "rasterContrastTransition":
|
|
636
|
-
|
|
636
|
+
RCTMLNStyleFactory.setRasterContrastTransition(layer, styleValue);
|
|
637
637
|
break;
|
|
638
638
|
case "rasterResampling":
|
|
639
|
-
|
|
639
|
+
RCTMLNStyleFactory.setRasterResampling(layer, styleValue);
|
|
640
640
|
break;
|
|
641
641
|
case "rasterFadeDuration":
|
|
642
|
-
|
|
642
|
+
RCTMLNStyleFactory.setRasterFadeDuration(layer, styleValue);
|
|
643
643
|
break;
|
|
644
644
|
}
|
|
645
645
|
}
|
|
646
646
|
}
|
|
647
|
-
public static void setHillshadeLayerStyle(final HillshadeLayer layer,
|
|
647
|
+
public static void setHillshadeLayerStyle(final HillshadeLayer layer, RCTMLNStyle style) {
|
|
648
648
|
List<String> styleKeys = style.getAllStyleKeys();
|
|
649
649
|
|
|
650
650
|
if (styleKeys.size() == 0) {
|
|
@@ -652,46 +652,46 @@ public class RCTMGLStyleFactory {
|
|
|
652
652
|
}
|
|
653
653
|
|
|
654
654
|
for (String styleKey : styleKeys) {
|
|
655
|
-
final
|
|
655
|
+
final RCTMLNStyleValue styleValue = style.getStyleValueForKey(styleKey);
|
|
656
656
|
|
|
657
657
|
switch (styleKey) {
|
|
658
658
|
case "visibility":
|
|
659
|
-
|
|
659
|
+
RCTMLNStyleFactory.setVisibility(layer, styleValue);
|
|
660
660
|
break;
|
|
661
661
|
case "hillshadeIlluminationDirection":
|
|
662
|
-
|
|
662
|
+
RCTMLNStyleFactory.setHillshadeIlluminationDirection(layer, styleValue);
|
|
663
663
|
break;
|
|
664
664
|
case "hillshadeIlluminationAnchor":
|
|
665
|
-
|
|
665
|
+
RCTMLNStyleFactory.setHillshadeIlluminationAnchor(layer, styleValue);
|
|
666
666
|
break;
|
|
667
667
|
case "hillshadeExaggeration":
|
|
668
|
-
|
|
668
|
+
RCTMLNStyleFactory.setHillshadeExaggeration(layer, styleValue);
|
|
669
669
|
break;
|
|
670
670
|
case "hillshadeExaggerationTransition":
|
|
671
|
-
|
|
671
|
+
RCTMLNStyleFactory.setHillshadeExaggerationTransition(layer, styleValue);
|
|
672
672
|
break;
|
|
673
673
|
case "hillshadeShadowColor":
|
|
674
|
-
|
|
674
|
+
RCTMLNStyleFactory.setHillshadeShadowColor(layer, styleValue);
|
|
675
675
|
break;
|
|
676
676
|
case "hillshadeShadowColorTransition":
|
|
677
|
-
|
|
677
|
+
RCTMLNStyleFactory.setHillshadeShadowColorTransition(layer, styleValue);
|
|
678
678
|
break;
|
|
679
679
|
case "hillshadeHighlightColor":
|
|
680
|
-
|
|
680
|
+
RCTMLNStyleFactory.setHillshadeHighlightColor(layer, styleValue);
|
|
681
681
|
break;
|
|
682
682
|
case "hillshadeHighlightColorTransition":
|
|
683
|
-
|
|
683
|
+
RCTMLNStyleFactory.setHillshadeHighlightColorTransition(layer, styleValue);
|
|
684
684
|
break;
|
|
685
685
|
case "hillshadeAccentColor":
|
|
686
|
-
|
|
686
|
+
RCTMLNStyleFactory.setHillshadeAccentColor(layer, styleValue);
|
|
687
687
|
break;
|
|
688
688
|
case "hillshadeAccentColorTransition":
|
|
689
|
-
|
|
689
|
+
RCTMLNStyleFactory.setHillshadeAccentColorTransition(layer, styleValue);
|
|
690
690
|
break;
|
|
691
691
|
}
|
|
692
692
|
}
|
|
693
693
|
}
|
|
694
|
-
public static void setBackgroundLayerStyle(final BackgroundLayer layer,
|
|
694
|
+
public static void setBackgroundLayerStyle(final BackgroundLayer layer, RCTMLNStyle style) {
|
|
695
695
|
List<String> styleKeys = style.getAllStyleKeys();
|
|
696
696
|
|
|
697
697
|
if (styleKeys.size() == 0) {
|
|
@@ -699,39 +699,39 @@ public class RCTMGLStyleFactory {
|
|
|
699
699
|
}
|
|
700
700
|
|
|
701
701
|
for (String styleKey : styleKeys) {
|
|
702
|
-
final
|
|
702
|
+
final RCTMLNStyleValue styleValue = style.getStyleValueForKey(styleKey);
|
|
703
703
|
|
|
704
704
|
switch (styleKey) {
|
|
705
705
|
case "visibility":
|
|
706
|
-
|
|
706
|
+
RCTMLNStyleFactory.setVisibility(layer, styleValue);
|
|
707
707
|
break;
|
|
708
708
|
case "backgroundColor":
|
|
709
|
-
|
|
709
|
+
RCTMLNStyleFactory.setBackgroundColor(layer, styleValue);
|
|
710
710
|
break;
|
|
711
711
|
case "backgroundColorTransition":
|
|
712
|
-
|
|
712
|
+
RCTMLNStyleFactory.setBackgroundColorTransition(layer, styleValue);
|
|
713
713
|
break;
|
|
714
714
|
case "backgroundPattern":
|
|
715
715
|
style.addImage(styleValue, new DownloadMapImageTask.OnAllImagesLoaded() {
|
|
716
716
|
@Override
|
|
717
717
|
public void onAllImagesLoaded() {
|
|
718
|
-
|
|
718
|
+
RCTMLNStyleFactory.setBackgroundPattern(layer, styleValue);
|
|
719
719
|
}
|
|
720
720
|
});
|
|
721
721
|
break;
|
|
722
722
|
case "backgroundPatternTransition":
|
|
723
|
-
|
|
723
|
+
RCTMLNStyleFactory.setBackgroundPatternTransition(layer, styleValue);
|
|
724
724
|
break;
|
|
725
725
|
case "backgroundOpacity":
|
|
726
|
-
|
|
726
|
+
RCTMLNStyleFactory.setBackgroundOpacity(layer, styleValue);
|
|
727
727
|
break;
|
|
728
728
|
case "backgroundOpacityTransition":
|
|
729
|
-
|
|
729
|
+
RCTMLNStyleFactory.setBackgroundOpacityTransition(layer, styleValue);
|
|
730
730
|
break;
|
|
731
731
|
}
|
|
732
732
|
}
|
|
733
733
|
}
|
|
734
|
-
public static void setLightLayerStyle(final Light layer,
|
|
734
|
+
public static void setLightLayerStyle(final Light layer, RCTMLNStyle style) {
|
|
735
735
|
List<String> styleKeys = style.getAllStyleKeys();
|
|
736
736
|
|
|
737
737
|
if (styleKeys.size() == 0) {
|
|
@@ -739,35 +739,35 @@ public class RCTMGLStyleFactory {
|
|
|
739
739
|
}
|
|
740
740
|
|
|
741
741
|
for (String styleKey : styleKeys) {
|
|
742
|
-
final
|
|
742
|
+
final RCTMLNStyleValue styleValue = style.getStyleValueForKey(styleKey);
|
|
743
743
|
|
|
744
744
|
switch (styleKey) {
|
|
745
745
|
case "anchor":
|
|
746
|
-
|
|
746
|
+
RCTMLNStyleFactory.setAnchor(layer, styleValue);
|
|
747
747
|
break;
|
|
748
748
|
case "position":
|
|
749
|
-
|
|
749
|
+
RCTMLNStyleFactory.setPosition(layer, styleValue);
|
|
750
750
|
break;
|
|
751
751
|
case "positionTransition":
|
|
752
|
-
|
|
752
|
+
RCTMLNStyleFactory.setPositionTransition(layer, styleValue);
|
|
753
753
|
break;
|
|
754
754
|
case "color":
|
|
755
|
-
|
|
755
|
+
RCTMLNStyleFactory.setColor(layer, styleValue);
|
|
756
756
|
break;
|
|
757
757
|
case "colorTransition":
|
|
758
|
-
|
|
758
|
+
RCTMLNStyleFactory.setColorTransition(layer, styleValue);
|
|
759
759
|
break;
|
|
760
760
|
case "intensity":
|
|
761
|
-
|
|
761
|
+
RCTMLNStyleFactory.setIntensity(layer, styleValue);
|
|
762
762
|
break;
|
|
763
763
|
case "intensityTransition":
|
|
764
|
-
|
|
764
|
+
RCTMLNStyleFactory.setIntensityTransition(layer, styleValue);
|
|
765
765
|
break;
|
|
766
766
|
}
|
|
767
767
|
}
|
|
768
768
|
}
|
|
769
769
|
|
|
770
|
-
public static void setFillSortKey(FillLayer layer,
|
|
770
|
+
public static void setFillSortKey(FillLayer layer, RCTMLNStyleValue styleValue) {
|
|
771
771
|
if (styleValue.isExpression()) {
|
|
772
772
|
layer.setProperties(PropertyFactory.fillSortKey(styleValue.getExpression()));
|
|
773
773
|
} else {
|
|
@@ -775,11 +775,11 @@ public class RCTMGLStyleFactory {
|
|
|
775
775
|
}
|
|
776
776
|
}
|
|
777
777
|
|
|
778
|
-
public static void setVisibility(FillLayer layer,
|
|
778
|
+
public static void setVisibility(FillLayer layer, RCTMLNStyleValue styleValue) {
|
|
779
779
|
layer.setProperties(PropertyFactory.visibility(styleValue.getString(VALUE_KEY)));
|
|
780
780
|
}
|
|
781
781
|
|
|
782
|
-
public static void setFillAntialias(FillLayer layer,
|
|
782
|
+
public static void setFillAntialias(FillLayer layer, RCTMLNStyleValue styleValue) {
|
|
783
783
|
if (styleValue.isExpression()) {
|
|
784
784
|
layer.setProperties(PropertyFactory.fillAntialias(styleValue.getExpression()));
|
|
785
785
|
} else {
|
|
@@ -787,7 +787,7 @@ public class RCTMGLStyleFactory {
|
|
|
787
787
|
}
|
|
788
788
|
}
|
|
789
789
|
|
|
790
|
-
public static void setFillOpacity(FillLayer layer,
|
|
790
|
+
public static void setFillOpacity(FillLayer layer, RCTMLNStyleValue styleValue) {
|
|
791
791
|
if (styleValue.isExpression()) {
|
|
792
792
|
layer.setProperties(PropertyFactory.fillOpacity(styleValue.getExpression()));
|
|
793
793
|
} else {
|
|
@@ -796,14 +796,14 @@ public class RCTMGLStyleFactory {
|
|
|
796
796
|
}
|
|
797
797
|
|
|
798
798
|
|
|
799
|
-
public static void setFillOpacityTransition(FillLayer layer,
|
|
799
|
+
public static void setFillOpacityTransition(FillLayer layer, RCTMLNStyleValue styleValue) {
|
|
800
800
|
TransitionOptions transition = styleValue.getTransition();
|
|
801
801
|
if (transition != null) {
|
|
802
802
|
layer.setFillOpacityTransition(transition);
|
|
803
803
|
}
|
|
804
804
|
}
|
|
805
805
|
|
|
806
|
-
public static void setFillColor(FillLayer layer,
|
|
806
|
+
public static void setFillColor(FillLayer layer, RCTMLNStyleValue styleValue) {
|
|
807
807
|
if (styleValue.isExpression()) {
|
|
808
808
|
layer.setProperties(PropertyFactory.fillColor(styleValue.getExpression()));
|
|
809
809
|
} else {
|
|
@@ -812,14 +812,14 @@ public class RCTMGLStyleFactory {
|
|
|
812
812
|
}
|
|
813
813
|
|
|
814
814
|
|
|
815
|
-
public static void setFillColorTransition(FillLayer layer,
|
|
815
|
+
public static void setFillColorTransition(FillLayer layer, RCTMLNStyleValue styleValue) {
|
|
816
816
|
TransitionOptions transition = styleValue.getTransition();
|
|
817
817
|
if (transition != null) {
|
|
818
818
|
layer.setFillColorTransition(transition);
|
|
819
819
|
}
|
|
820
820
|
}
|
|
821
821
|
|
|
822
|
-
public static void setFillOutlineColor(FillLayer layer,
|
|
822
|
+
public static void setFillOutlineColor(FillLayer layer, RCTMLNStyleValue styleValue) {
|
|
823
823
|
if (styleValue.isExpression()) {
|
|
824
824
|
layer.setProperties(PropertyFactory.fillOutlineColor(styleValue.getExpression()));
|
|
825
825
|
} else {
|
|
@@ -828,14 +828,14 @@ public class RCTMGLStyleFactory {
|
|
|
828
828
|
}
|
|
829
829
|
|
|
830
830
|
|
|
831
|
-
public static void setFillOutlineColorTransition(FillLayer layer,
|
|
831
|
+
public static void setFillOutlineColorTransition(FillLayer layer, RCTMLNStyleValue styleValue) {
|
|
832
832
|
TransitionOptions transition = styleValue.getTransition();
|
|
833
833
|
if (transition != null) {
|
|
834
834
|
layer.setFillOutlineColorTransition(transition);
|
|
835
835
|
}
|
|
836
836
|
}
|
|
837
837
|
|
|
838
|
-
public static void setFillTranslate(FillLayer layer,
|
|
838
|
+
public static void setFillTranslate(FillLayer layer, RCTMLNStyleValue styleValue) {
|
|
839
839
|
if (styleValue.isExpression()) {
|
|
840
840
|
layer.setProperties(PropertyFactory.fillTranslate(styleValue.getExpression()));
|
|
841
841
|
} else {
|
|
@@ -844,14 +844,14 @@ public class RCTMGLStyleFactory {
|
|
|
844
844
|
}
|
|
845
845
|
|
|
846
846
|
|
|
847
|
-
public static void setFillTranslateTransition(FillLayer layer,
|
|
847
|
+
public static void setFillTranslateTransition(FillLayer layer, RCTMLNStyleValue styleValue) {
|
|
848
848
|
TransitionOptions transition = styleValue.getTransition();
|
|
849
849
|
if (transition != null) {
|
|
850
850
|
layer.setFillTranslateTransition(transition);
|
|
851
851
|
}
|
|
852
852
|
}
|
|
853
853
|
|
|
854
|
-
public static void setFillTranslateAnchor(FillLayer layer,
|
|
854
|
+
public static void setFillTranslateAnchor(FillLayer layer, RCTMLNStyleValue styleValue) {
|
|
855
855
|
if (styleValue.isExpression()) {
|
|
856
856
|
layer.setProperties(PropertyFactory.fillTranslateAnchor(styleValue.getExpression()));
|
|
857
857
|
} else {
|
|
@@ -859,7 +859,7 @@ public class RCTMGLStyleFactory {
|
|
|
859
859
|
}
|
|
860
860
|
}
|
|
861
861
|
|
|
862
|
-
public static void setFillPattern(FillLayer layer,
|
|
862
|
+
public static void setFillPattern(FillLayer layer, RCTMLNStyleValue styleValue) {
|
|
863
863
|
if (styleValue.isExpression()) {
|
|
864
864
|
if (styleValue.isImageStringValue()) {
|
|
865
865
|
layer.setProperties(PropertyFactory.fillPattern(styleValue.getImageStringValue()));
|
|
@@ -872,14 +872,14 @@ public class RCTMGLStyleFactory {
|
|
|
872
872
|
}
|
|
873
873
|
|
|
874
874
|
|
|
875
|
-
public static void setFillPatternTransition(FillLayer layer,
|
|
875
|
+
public static void setFillPatternTransition(FillLayer layer, RCTMLNStyleValue styleValue) {
|
|
876
876
|
TransitionOptions transition = styleValue.getTransition();
|
|
877
877
|
if (transition != null) {
|
|
878
878
|
layer.setFillPatternTransition(transition);
|
|
879
879
|
}
|
|
880
880
|
}
|
|
881
881
|
|
|
882
|
-
public static void setLineCap(LineLayer layer,
|
|
882
|
+
public static void setLineCap(LineLayer layer, RCTMLNStyleValue styleValue) {
|
|
883
883
|
if (styleValue.isExpression()) {
|
|
884
884
|
layer.setProperties(PropertyFactory.lineCap(styleValue.getExpression()));
|
|
885
885
|
} else {
|
|
@@ -887,7 +887,7 @@ public class RCTMGLStyleFactory {
|
|
|
887
887
|
}
|
|
888
888
|
}
|
|
889
889
|
|
|
890
|
-
public static void setLineJoin(LineLayer layer,
|
|
890
|
+
public static void setLineJoin(LineLayer layer, RCTMLNStyleValue styleValue) {
|
|
891
891
|
if (styleValue.isExpression()) {
|
|
892
892
|
layer.setProperties(PropertyFactory.lineJoin(styleValue.getExpression()));
|
|
893
893
|
} else {
|
|
@@ -895,7 +895,7 @@ public class RCTMGLStyleFactory {
|
|
|
895
895
|
}
|
|
896
896
|
}
|
|
897
897
|
|
|
898
|
-
public static void setLineMiterLimit(LineLayer layer,
|
|
898
|
+
public static void setLineMiterLimit(LineLayer layer, RCTMLNStyleValue styleValue) {
|
|
899
899
|
if (styleValue.isExpression()) {
|
|
900
900
|
layer.setProperties(PropertyFactory.lineMiterLimit(styleValue.getExpression()));
|
|
901
901
|
} else {
|
|
@@ -903,7 +903,7 @@ public class RCTMGLStyleFactory {
|
|
|
903
903
|
}
|
|
904
904
|
}
|
|
905
905
|
|
|
906
|
-
public static void setLineRoundLimit(LineLayer layer,
|
|
906
|
+
public static void setLineRoundLimit(LineLayer layer, RCTMLNStyleValue styleValue) {
|
|
907
907
|
if (styleValue.isExpression()) {
|
|
908
908
|
layer.setProperties(PropertyFactory.lineRoundLimit(styleValue.getExpression()));
|
|
909
909
|
} else {
|
|
@@ -911,7 +911,7 @@ public class RCTMGLStyleFactory {
|
|
|
911
911
|
}
|
|
912
912
|
}
|
|
913
913
|
|
|
914
|
-
public static void setLineSortKey(LineLayer layer,
|
|
914
|
+
public static void setLineSortKey(LineLayer layer, RCTMLNStyleValue styleValue) {
|
|
915
915
|
if (styleValue.isExpression()) {
|
|
916
916
|
layer.setProperties(PropertyFactory.lineSortKey(styleValue.getExpression()));
|
|
917
917
|
} else {
|
|
@@ -919,11 +919,11 @@ public class RCTMGLStyleFactory {
|
|
|
919
919
|
}
|
|
920
920
|
}
|
|
921
921
|
|
|
922
|
-
public static void setVisibility(LineLayer layer,
|
|
922
|
+
public static void setVisibility(LineLayer layer, RCTMLNStyleValue styleValue) {
|
|
923
923
|
layer.setProperties(PropertyFactory.visibility(styleValue.getString(VALUE_KEY)));
|
|
924
924
|
}
|
|
925
925
|
|
|
926
|
-
public static void setLineOpacity(LineLayer layer,
|
|
926
|
+
public static void setLineOpacity(LineLayer layer, RCTMLNStyleValue styleValue) {
|
|
927
927
|
if (styleValue.isExpression()) {
|
|
928
928
|
layer.setProperties(PropertyFactory.lineOpacity(styleValue.getExpression()));
|
|
929
929
|
} else {
|
|
@@ -932,14 +932,14 @@ public class RCTMGLStyleFactory {
|
|
|
932
932
|
}
|
|
933
933
|
|
|
934
934
|
|
|
935
|
-
public static void setLineOpacityTransition(LineLayer layer,
|
|
935
|
+
public static void setLineOpacityTransition(LineLayer layer, RCTMLNStyleValue styleValue) {
|
|
936
936
|
TransitionOptions transition = styleValue.getTransition();
|
|
937
937
|
if (transition != null) {
|
|
938
938
|
layer.setLineOpacityTransition(transition);
|
|
939
939
|
}
|
|
940
940
|
}
|
|
941
941
|
|
|
942
|
-
public static void setLineColor(LineLayer layer,
|
|
942
|
+
public static void setLineColor(LineLayer layer, RCTMLNStyleValue styleValue) {
|
|
943
943
|
if (styleValue.isExpression()) {
|
|
944
944
|
layer.setProperties(PropertyFactory.lineColor(styleValue.getExpression()));
|
|
945
945
|
} else {
|
|
@@ -948,14 +948,14 @@ public class RCTMGLStyleFactory {
|
|
|
948
948
|
}
|
|
949
949
|
|
|
950
950
|
|
|
951
|
-
public static void setLineColorTransition(LineLayer layer,
|
|
951
|
+
public static void setLineColorTransition(LineLayer layer, RCTMLNStyleValue styleValue) {
|
|
952
952
|
TransitionOptions transition = styleValue.getTransition();
|
|
953
953
|
if (transition != null) {
|
|
954
954
|
layer.setLineColorTransition(transition);
|
|
955
955
|
}
|
|
956
956
|
}
|
|
957
957
|
|
|
958
|
-
public static void setLineTranslate(LineLayer layer,
|
|
958
|
+
public static void setLineTranslate(LineLayer layer, RCTMLNStyleValue styleValue) {
|
|
959
959
|
if (styleValue.isExpression()) {
|
|
960
960
|
layer.setProperties(PropertyFactory.lineTranslate(styleValue.getExpression()));
|
|
961
961
|
} else {
|
|
@@ -964,14 +964,14 @@ public class RCTMGLStyleFactory {
|
|
|
964
964
|
}
|
|
965
965
|
|
|
966
966
|
|
|
967
|
-
public static void setLineTranslateTransition(LineLayer layer,
|
|
967
|
+
public static void setLineTranslateTransition(LineLayer layer, RCTMLNStyleValue styleValue) {
|
|
968
968
|
TransitionOptions transition = styleValue.getTransition();
|
|
969
969
|
if (transition != null) {
|
|
970
970
|
layer.setLineTranslateTransition(transition);
|
|
971
971
|
}
|
|
972
972
|
}
|
|
973
973
|
|
|
974
|
-
public static void setLineTranslateAnchor(LineLayer layer,
|
|
974
|
+
public static void setLineTranslateAnchor(LineLayer layer, RCTMLNStyleValue styleValue) {
|
|
975
975
|
if (styleValue.isExpression()) {
|
|
976
976
|
layer.setProperties(PropertyFactory.lineTranslateAnchor(styleValue.getExpression()));
|
|
977
977
|
} else {
|
|
@@ -979,7 +979,7 @@ public class RCTMGLStyleFactory {
|
|
|
979
979
|
}
|
|
980
980
|
}
|
|
981
981
|
|
|
982
|
-
public static void setLineWidth(LineLayer layer,
|
|
982
|
+
public static void setLineWidth(LineLayer layer, RCTMLNStyleValue styleValue) {
|
|
983
983
|
if (styleValue.isExpression()) {
|
|
984
984
|
layer.setProperties(PropertyFactory.lineWidth(styleValue.getExpression()));
|
|
985
985
|
} else {
|
|
@@ -988,14 +988,14 @@ public class RCTMGLStyleFactory {
|
|
|
988
988
|
}
|
|
989
989
|
|
|
990
990
|
|
|
991
|
-
public static void setLineWidthTransition(LineLayer layer,
|
|
991
|
+
public static void setLineWidthTransition(LineLayer layer, RCTMLNStyleValue styleValue) {
|
|
992
992
|
TransitionOptions transition = styleValue.getTransition();
|
|
993
993
|
if (transition != null) {
|
|
994
994
|
layer.setLineWidthTransition(transition);
|
|
995
995
|
}
|
|
996
996
|
}
|
|
997
997
|
|
|
998
|
-
public static void setLineGapWidth(LineLayer layer,
|
|
998
|
+
public static void setLineGapWidth(LineLayer layer, RCTMLNStyleValue styleValue) {
|
|
999
999
|
if (styleValue.isExpression()) {
|
|
1000
1000
|
layer.setProperties(PropertyFactory.lineGapWidth(styleValue.getExpression()));
|
|
1001
1001
|
} else {
|
|
@@ -1004,14 +1004,14 @@ public class RCTMGLStyleFactory {
|
|
|
1004
1004
|
}
|
|
1005
1005
|
|
|
1006
1006
|
|
|
1007
|
-
public static void setLineGapWidthTransition(LineLayer layer,
|
|
1007
|
+
public static void setLineGapWidthTransition(LineLayer layer, RCTMLNStyleValue styleValue) {
|
|
1008
1008
|
TransitionOptions transition = styleValue.getTransition();
|
|
1009
1009
|
if (transition != null) {
|
|
1010
1010
|
layer.setLineGapWidthTransition(transition);
|
|
1011
1011
|
}
|
|
1012
1012
|
}
|
|
1013
1013
|
|
|
1014
|
-
public static void setLineOffset(LineLayer layer,
|
|
1014
|
+
public static void setLineOffset(LineLayer layer, RCTMLNStyleValue styleValue) {
|
|
1015
1015
|
if (styleValue.isExpression()) {
|
|
1016
1016
|
layer.setProperties(PropertyFactory.lineOffset(styleValue.getExpression()));
|
|
1017
1017
|
} else {
|
|
@@ -1020,14 +1020,14 @@ public class RCTMGLStyleFactory {
|
|
|
1020
1020
|
}
|
|
1021
1021
|
|
|
1022
1022
|
|
|
1023
|
-
public static void setLineOffsetTransition(LineLayer layer,
|
|
1023
|
+
public static void setLineOffsetTransition(LineLayer layer, RCTMLNStyleValue styleValue) {
|
|
1024
1024
|
TransitionOptions transition = styleValue.getTransition();
|
|
1025
1025
|
if (transition != null) {
|
|
1026
1026
|
layer.setLineOffsetTransition(transition);
|
|
1027
1027
|
}
|
|
1028
1028
|
}
|
|
1029
1029
|
|
|
1030
|
-
public static void setLineBlur(LineLayer layer,
|
|
1030
|
+
public static void setLineBlur(LineLayer layer, RCTMLNStyleValue styleValue) {
|
|
1031
1031
|
if (styleValue.isExpression()) {
|
|
1032
1032
|
layer.setProperties(PropertyFactory.lineBlur(styleValue.getExpression()));
|
|
1033
1033
|
} else {
|
|
@@ -1036,14 +1036,14 @@ public class RCTMGLStyleFactory {
|
|
|
1036
1036
|
}
|
|
1037
1037
|
|
|
1038
1038
|
|
|
1039
|
-
public static void setLineBlurTransition(LineLayer layer,
|
|
1039
|
+
public static void setLineBlurTransition(LineLayer layer, RCTMLNStyleValue styleValue) {
|
|
1040
1040
|
TransitionOptions transition = styleValue.getTransition();
|
|
1041
1041
|
if (transition != null) {
|
|
1042
1042
|
layer.setLineBlurTransition(transition);
|
|
1043
1043
|
}
|
|
1044
1044
|
}
|
|
1045
1045
|
|
|
1046
|
-
public static void setLineDasharray(LineLayer layer,
|
|
1046
|
+
public static void setLineDasharray(LineLayer layer, RCTMLNStyleValue styleValue) {
|
|
1047
1047
|
if (styleValue.isExpression()) {
|
|
1048
1048
|
layer.setProperties(PropertyFactory.lineDasharray(styleValue.getExpression()));
|
|
1049
1049
|
} else {
|
|
@@ -1052,14 +1052,14 @@ public class RCTMGLStyleFactory {
|
|
|
1052
1052
|
}
|
|
1053
1053
|
|
|
1054
1054
|
|
|
1055
|
-
public static void setLineDasharrayTransition(LineLayer layer,
|
|
1055
|
+
public static void setLineDasharrayTransition(LineLayer layer, RCTMLNStyleValue styleValue) {
|
|
1056
1056
|
TransitionOptions transition = styleValue.getTransition();
|
|
1057
1057
|
if (transition != null) {
|
|
1058
1058
|
layer.setLineDasharrayTransition(transition);
|
|
1059
1059
|
}
|
|
1060
1060
|
}
|
|
1061
1061
|
|
|
1062
|
-
public static void setLinePattern(LineLayer layer,
|
|
1062
|
+
public static void setLinePattern(LineLayer layer, RCTMLNStyleValue styleValue) {
|
|
1063
1063
|
if (styleValue.isExpression()) {
|
|
1064
1064
|
if (styleValue.isImageStringValue()) {
|
|
1065
1065
|
layer.setProperties(PropertyFactory.linePattern(styleValue.getImageStringValue()));
|
|
@@ -1072,14 +1072,14 @@ public class RCTMGLStyleFactory {
|
|
|
1072
1072
|
}
|
|
1073
1073
|
|
|
1074
1074
|
|
|
1075
|
-
public static void setLinePatternTransition(LineLayer layer,
|
|
1075
|
+
public static void setLinePatternTransition(LineLayer layer, RCTMLNStyleValue styleValue) {
|
|
1076
1076
|
TransitionOptions transition = styleValue.getTransition();
|
|
1077
1077
|
if (transition != null) {
|
|
1078
1078
|
layer.setLinePatternTransition(transition);
|
|
1079
1079
|
}
|
|
1080
1080
|
}
|
|
1081
1081
|
|
|
1082
|
-
public static void setLineGradient(LineLayer layer,
|
|
1082
|
+
public static void setLineGradient(LineLayer layer, RCTMLNStyleValue styleValue) {
|
|
1083
1083
|
if (styleValue.isExpression()) {
|
|
1084
1084
|
layer.setProperties(PropertyFactory.lineGradient(styleValue.getExpression()));
|
|
1085
1085
|
} else {
|
|
@@ -1087,7 +1087,7 @@ public class RCTMGLStyleFactory {
|
|
|
1087
1087
|
}
|
|
1088
1088
|
}
|
|
1089
1089
|
|
|
1090
|
-
public static void setSymbolPlacement(SymbolLayer layer,
|
|
1090
|
+
public static void setSymbolPlacement(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1091
1091
|
if (styleValue.isExpression()) {
|
|
1092
1092
|
layer.setProperties(PropertyFactory.symbolPlacement(styleValue.getExpression()));
|
|
1093
1093
|
} else {
|
|
@@ -1095,7 +1095,7 @@ public class RCTMGLStyleFactory {
|
|
|
1095
1095
|
}
|
|
1096
1096
|
}
|
|
1097
1097
|
|
|
1098
|
-
public static void setSymbolSpacing(SymbolLayer layer,
|
|
1098
|
+
public static void setSymbolSpacing(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1099
1099
|
if (styleValue.isExpression()) {
|
|
1100
1100
|
layer.setProperties(PropertyFactory.symbolSpacing(styleValue.getExpression()));
|
|
1101
1101
|
} else {
|
|
@@ -1103,7 +1103,7 @@ public class RCTMGLStyleFactory {
|
|
|
1103
1103
|
}
|
|
1104
1104
|
}
|
|
1105
1105
|
|
|
1106
|
-
public static void setSymbolAvoidEdges(SymbolLayer layer,
|
|
1106
|
+
public static void setSymbolAvoidEdges(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1107
1107
|
if (styleValue.isExpression()) {
|
|
1108
1108
|
layer.setProperties(PropertyFactory.symbolAvoidEdges(styleValue.getExpression()));
|
|
1109
1109
|
} else {
|
|
@@ -1111,7 +1111,7 @@ public class RCTMGLStyleFactory {
|
|
|
1111
1111
|
}
|
|
1112
1112
|
}
|
|
1113
1113
|
|
|
1114
|
-
public static void setSymbolSortKey(SymbolLayer layer,
|
|
1114
|
+
public static void setSymbolSortKey(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1115
1115
|
if (styleValue.isExpression()) {
|
|
1116
1116
|
layer.setProperties(PropertyFactory.symbolSortKey(styleValue.getExpression()));
|
|
1117
1117
|
} else {
|
|
@@ -1119,7 +1119,7 @@ public class RCTMGLStyleFactory {
|
|
|
1119
1119
|
}
|
|
1120
1120
|
}
|
|
1121
1121
|
|
|
1122
|
-
public static void setSymbolZOrder(SymbolLayer layer,
|
|
1122
|
+
public static void setSymbolZOrder(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1123
1123
|
if (styleValue.isExpression()) {
|
|
1124
1124
|
layer.setProperties(PropertyFactory.symbolZOrder(styleValue.getExpression()));
|
|
1125
1125
|
} else {
|
|
@@ -1127,7 +1127,7 @@ public class RCTMGLStyleFactory {
|
|
|
1127
1127
|
}
|
|
1128
1128
|
}
|
|
1129
1129
|
|
|
1130
|
-
public static void setIconAllowOverlap(SymbolLayer layer,
|
|
1130
|
+
public static void setIconAllowOverlap(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1131
1131
|
if (styleValue.isExpression()) {
|
|
1132
1132
|
layer.setProperties(PropertyFactory.iconAllowOverlap(styleValue.getExpression()));
|
|
1133
1133
|
} else {
|
|
@@ -1135,7 +1135,7 @@ public class RCTMGLStyleFactory {
|
|
|
1135
1135
|
}
|
|
1136
1136
|
}
|
|
1137
1137
|
|
|
1138
|
-
public static void setIconIgnorePlacement(SymbolLayer layer,
|
|
1138
|
+
public static void setIconIgnorePlacement(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1139
1139
|
if (styleValue.isExpression()) {
|
|
1140
1140
|
layer.setProperties(PropertyFactory.iconIgnorePlacement(styleValue.getExpression()));
|
|
1141
1141
|
} else {
|
|
@@ -1143,7 +1143,7 @@ public class RCTMGLStyleFactory {
|
|
|
1143
1143
|
}
|
|
1144
1144
|
}
|
|
1145
1145
|
|
|
1146
|
-
public static void setIconOptional(SymbolLayer layer,
|
|
1146
|
+
public static void setIconOptional(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1147
1147
|
if (styleValue.isExpression()) {
|
|
1148
1148
|
layer.setProperties(PropertyFactory.iconOptional(styleValue.getExpression()));
|
|
1149
1149
|
} else {
|
|
@@ -1151,7 +1151,7 @@ public class RCTMGLStyleFactory {
|
|
|
1151
1151
|
}
|
|
1152
1152
|
}
|
|
1153
1153
|
|
|
1154
|
-
public static void setIconRotationAlignment(SymbolLayer layer,
|
|
1154
|
+
public static void setIconRotationAlignment(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1155
1155
|
if (styleValue.isExpression()) {
|
|
1156
1156
|
layer.setProperties(PropertyFactory.iconRotationAlignment(styleValue.getExpression()));
|
|
1157
1157
|
} else {
|
|
@@ -1159,7 +1159,7 @@ public class RCTMGLStyleFactory {
|
|
|
1159
1159
|
}
|
|
1160
1160
|
}
|
|
1161
1161
|
|
|
1162
|
-
public static void setIconSize(SymbolLayer layer,
|
|
1162
|
+
public static void setIconSize(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1163
1163
|
if (styleValue.isExpression()) {
|
|
1164
1164
|
layer.setProperties(PropertyFactory.iconSize(styleValue.getExpression()));
|
|
1165
1165
|
} else {
|
|
@@ -1167,7 +1167,7 @@ public class RCTMGLStyleFactory {
|
|
|
1167
1167
|
}
|
|
1168
1168
|
}
|
|
1169
1169
|
|
|
1170
|
-
public static void setIconTextFit(SymbolLayer layer,
|
|
1170
|
+
public static void setIconTextFit(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1171
1171
|
if (styleValue.isExpression()) {
|
|
1172
1172
|
layer.setProperties(PropertyFactory.iconTextFit(styleValue.getExpression()));
|
|
1173
1173
|
} else {
|
|
@@ -1175,7 +1175,7 @@ public class RCTMGLStyleFactory {
|
|
|
1175
1175
|
}
|
|
1176
1176
|
}
|
|
1177
1177
|
|
|
1178
|
-
public static void setIconTextFitPadding(SymbolLayer layer,
|
|
1178
|
+
public static void setIconTextFitPadding(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1179
1179
|
if (styleValue.isExpression()) {
|
|
1180
1180
|
layer.setProperties(PropertyFactory.iconTextFitPadding(styleValue.getExpression()));
|
|
1181
1181
|
} else {
|
|
@@ -1183,7 +1183,7 @@ public class RCTMGLStyleFactory {
|
|
|
1183
1183
|
}
|
|
1184
1184
|
}
|
|
1185
1185
|
|
|
1186
|
-
public static void setIconImage(SymbolLayer layer,
|
|
1186
|
+
public static void setIconImage(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1187
1187
|
if (styleValue.isExpression()) {
|
|
1188
1188
|
if (styleValue.isImageStringValue()) {
|
|
1189
1189
|
layer.setProperties(PropertyFactory.iconImage(styleValue.getImageStringValue()));
|
|
@@ -1195,7 +1195,7 @@ public class RCTMGLStyleFactory {
|
|
|
1195
1195
|
}
|
|
1196
1196
|
}
|
|
1197
1197
|
|
|
1198
|
-
public static void setIconRotate(SymbolLayer layer,
|
|
1198
|
+
public static void setIconRotate(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1199
1199
|
if (styleValue.isExpression()) {
|
|
1200
1200
|
layer.setProperties(PropertyFactory.iconRotate(styleValue.getExpression()));
|
|
1201
1201
|
} else {
|
|
@@ -1203,7 +1203,7 @@ public class RCTMGLStyleFactory {
|
|
|
1203
1203
|
}
|
|
1204
1204
|
}
|
|
1205
1205
|
|
|
1206
|
-
public static void setIconPadding(SymbolLayer layer,
|
|
1206
|
+
public static void setIconPadding(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1207
1207
|
if (styleValue.isExpression()) {
|
|
1208
1208
|
layer.setProperties(PropertyFactory.iconPadding(styleValue.getExpression()));
|
|
1209
1209
|
} else {
|
|
@@ -1211,7 +1211,7 @@ public class RCTMGLStyleFactory {
|
|
|
1211
1211
|
}
|
|
1212
1212
|
}
|
|
1213
1213
|
|
|
1214
|
-
public static void setIconKeepUpright(SymbolLayer layer,
|
|
1214
|
+
public static void setIconKeepUpright(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1215
1215
|
if (styleValue.isExpression()) {
|
|
1216
1216
|
layer.setProperties(PropertyFactory.iconKeepUpright(styleValue.getExpression()));
|
|
1217
1217
|
} else {
|
|
@@ -1219,7 +1219,7 @@ public class RCTMGLStyleFactory {
|
|
|
1219
1219
|
}
|
|
1220
1220
|
}
|
|
1221
1221
|
|
|
1222
|
-
public static void setIconOffset(SymbolLayer layer,
|
|
1222
|
+
public static void setIconOffset(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1223
1223
|
if (styleValue.isExpression()) {
|
|
1224
1224
|
layer.setProperties(PropertyFactory.iconOffset(styleValue.getExpression()));
|
|
1225
1225
|
} else {
|
|
@@ -1227,7 +1227,7 @@ public class RCTMGLStyleFactory {
|
|
|
1227
1227
|
}
|
|
1228
1228
|
}
|
|
1229
1229
|
|
|
1230
|
-
public static void setIconAnchor(SymbolLayer layer,
|
|
1230
|
+
public static void setIconAnchor(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1231
1231
|
if (styleValue.isExpression()) {
|
|
1232
1232
|
layer.setProperties(PropertyFactory.iconAnchor(styleValue.getExpression()));
|
|
1233
1233
|
} else {
|
|
@@ -1235,7 +1235,7 @@ public class RCTMGLStyleFactory {
|
|
|
1235
1235
|
}
|
|
1236
1236
|
}
|
|
1237
1237
|
|
|
1238
|
-
public static void setIconPitchAlignment(SymbolLayer layer,
|
|
1238
|
+
public static void setIconPitchAlignment(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1239
1239
|
if (styleValue.isExpression()) {
|
|
1240
1240
|
layer.setProperties(PropertyFactory.iconPitchAlignment(styleValue.getExpression()));
|
|
1241
1241
|
} else {
|
|
@@ -1243,7 +1243,7 @@ public class RCTMGLStyleFactory {
|
|
|
1243
1243
|
}
|
|
1244
1244
|
}
|
|
1245
1245
|
|
|
1246
|
-
public static void setTextPitchAlignment(SymbolLayer layer,
|
|
1246
|
+
public static void setTextPitchAlignment(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1247
1247
|
if (styleValue.isExpression()) {
|
|
1248
1248
|
layer.setProperties(PropertyFactory.textPitchAlignment(styleValue.getExpression()));
|
|
1249
1249
|
} else {
|
|
@@ -1251,7 +1251,7 @@ public class RCTMGLStyleFactory {
|
|
|
1251
1251
|
}
|
|
1252
1252
|
}
|
|
1253
1253
|
|
|
1254
|
-
public static void setTextRotationAlignment(SymbolLayer layer,
|
|
1254
|
+
public static void setTextRotationAlignment(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1255
1255
|
if (styleValue.isExpression()) {
|
|
1256
1256
|
layer.setProperties(PropertyFactory.textRotationAlignment(styleValue.getExpression()));
|
|
1257
1257
|
} else {
|
|
@@ -1259,7 +1259,7 @@ public class RCTMGLStyleFactory {
|
|
|
1259
1259
|
}
|
|
1260
1260
|
}
|
|
1261
1261
|
|
|
1262
|
-
public static void setTextField(SymbolLayer layer,
|
|
1262
|
+
public static void setTextField(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1263
1263
|
if (styleValue.isExpression()) {
|
|
1264
1264
|
layer.setProperties(PropertyFactory.textField(styleValue.getExpression()));
|
|
1265
1265
|
} else {
|
|
@@ -1267,7 +1267,7 @@ public class RCTMGLStyleFactory {
|
|
|
1267
1267
|
}
|
|
1268
1268
|
}
|
|
1269
1269
|
|
|
1270
|
-
public static void setTextFont(SymbolLayer layer,
|
|
1270
|
+
public static void setTextFont(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1271
1271
|
if (styleValue.isExpression()) {
|
|
1272
1272
|
layer.setProperties(PropertyFactory.textFont(styleValue.getExpression()));
|
|
1273
1273
|
} else {
|
|
@@ -1275,7 +1275,7 @@ public class RCTMGLStyleFactory {
|
|
|
1275
1275
|
}
|
|
1276
1276
|
}
|
|
1277
1277
|
|
|
1278
|
-
public static void setTextSize(SymbolLayer layer,
|
|
1278
|
+
public static void setTextSize(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1279
1279
|
if (styleValue.isExpression()) {
|
|
1280
1280
|
layer.setProperties(PropertyFactory.textSize(styleValue.getExpression()));
|
|
1281
1281
|
} else {
|
|
@@ -1283,7 +1283,7 @@ public class RCTMGLStyleFactory {
|
|
|
1283
1283
|
}
|
|
1284
1284
|
}
|
|
1285
1285
|
|
|
1286
|
-
public static void setTextMaxWidth(SymbolLayer layer,
|
|
1286
|
+
public static void setTextMaxWidth(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1287
1287
|
if (styleValue.isExpression()) {
|
|
1288
1288
|
layer.setProperties(PropertyFactory.textMaxWidth(styleValue.getExpression()));
|
|
1289
1289
|
} else {
|
|
@@ -1291,7 +1291,7 @@ public class RCTMGLStyleFactory {
|
|
|
1291
1291
|
}
|
|
1292
1292
|
}
|
|
1293
1293
|
|
|
1294
|
-
public static void setTextLineHeight(SymbolLayer layer,
|
|
1294
|
+
public static void setTextLineHeight(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1295
1295
|
if (styleValue.isExpression()) {
|
|
1296
1296
|
layer.setProperties(PropertyFactory.textLineHeight(styleValue.getExpression()));
|
|
1297
1297
|
} else {
|
|
@@ -1299,7 +1299,7 @@ public class RCTMGLStyleFactory {
|
|
|
1299
1299
|
}
|
|
1300
1300
|
}
|
|
1301
1301
|
|
|
1302
|
-
public static void setTextLetterSpacing(SymbolLayer layer,
|
|
1302
|
+
public static void setTextLetterSpacing(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1303
1303
|
if (styleValue.isExpression()) {
|
|
1304
1304
|
layer.setProperties(PropertyFactory.textLetterSpacing(styleValue.getExpression()));
|
|
1305
1305
|
} else {
|
|
@@ -1307,7 +1307,7 @@ public class RCTMGLStyleFactory {
|
|
|
1307
1307
|
}
|
|
1308
1308
|
}
|
|
1309
1309
|
|
|
1310
|
-
public static void setTextJustify(SymbolLayer layer,
|
|
1310
|
+
public static void setTextJustify(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1311
1311
|
if (styleValue.isExpression()) {
|
|
1312
1312
|
layer.setProperties(PropertyFactory.textJustify(styleValue.getExpression()));
|
|
1313
1313
|
} else {
|
|
@@ -1315,7 +1315,7 @@ public class RCTMGLStyleFactory {
|
|
|
1315
1315
|
}
|
|
1316
1316
|
}
|
|
1317
1317
|
|
|
1318
|
-
public static void setTextRadialOffset(SymbolLayer layer,
|
|
1318
|
+
public static void setTextRadialOffset(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1319
1319
|
if (styleValue.isExpression()) {
|
|
1320
1320
|
layer.setProperties(PropertyFactory.textRadialOffset(styleValue.getExpression()));
|
|
1321
1321
|
} else {
|
|
@@ -1323,7 +1323,7 @@ public class RCTMGLStyleFactory {
|
|
|
1323
1323
|
}
|
|
1324
1324
|
}
|
|
1325
1325
|
|
|
1326
|
-
public static void setTextVariableAnchor(SymbolLayer layer,
|
|
1326
|
+
public static void setTextVariableAnchor(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1327
1327
|
if (styleValue.isExpression()) {
|
|
1328
1328
|
layer.setProperties(PropertyFactory.textVariableAnchor(styleValue.getExpression()));
|
|
1329
1329
|
} else {
|
|
@@ -1331,7 +1331,7 @@ public class RCTMGLStyleFactory {
|
|
|
1331
1331
|
}
|
|
1332
1332
|
}
|
|
1333
1333
|
|
|
1334
|
-
public static void setTextAnchor(SymbolLayer layer,
|
|
1334
|
+
public static void setTextAnchor(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1335
1335
|
if (styleValue.isExpression()) {
|
|
1336
1336
|
layer.setProperties(PropertyFactory.textAnchor(styleValue.getExpression()));
|
|
1337
1337
|
} else {
|
|
@@ -1339,7 +1339,7 @@ public class RCTMGLStyleFactory {
|
|
|
1339
1339
|
}
|
|
1340
1340
|
}
|
|
1341
1341
|
|
|
1342
|
-
public static void setTextMaxAngle(SymbolLayer layer,
|
|
1342
|
+
public static void setTextMaxAngle(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1343
1343
|
if (styleValue.isExpression()) {
|
|
1344
1344
|
layer.setProperties(PropertyFactory.textMaxAngle(styleValue.getExpression()));
|
|
1345
1345
|
} else {
|
|
@@ -1347,7 +1347,7 @@ public class RCTMGLStyleFactory {
|
|
|
1347
1347
|
}
|
|
1348
1348
|
}
|
|
1349
1349
|
|
|
1350
|
-
public static void setTextWritingMode(SymbolLayer layer,
|
|
1350
|
+
public static void setTextWritingMode(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1351
1351
|
if (styleValue.isExpression()) {
|
|
1352
1352
|
layer.setProperties(PropertyFactory.textWritingMode(styleValue.getExpression()));
|
|
1353
1353
|
} else {
|
|
@@ -1355,7 +1355,7 @@ public class RCTMGLStyleFactory {
|
|
|
1355
1355
|
}
|
|
1356
1356
|
}
|
|
1357
1357
|
|
|
1358
|
-
public static void setTextRotate(SymbolLayer layer,
|
|
1358
|
+
public static void setTextRotate(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1359
1359
|
if (styleValue.isExpression()) {
|
|
1360
1360
|
layer.setProperties(PropertyFactory.textRotate(styleValue.getExpression()));
|
|
1361
1361
|
} else {
|
|
@@ -1363,7 +1363,7 @@ public class RCTMGLStyleFactory {
|
|
|
1363
1363
|
}
|
|
1364
1364
|
}
|
|
1365
1365
|
|
|
1366
|
-
public static void setTextPadding(SymbolLayer layer,
|
|
1366
|
+
public static void setTextPadding(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1367
1367
|
if (styleValue.isExpression()) {
|
|
1368
1368
|
layer.setProperties(PropertyFactory.textPadding(styleValue.getExpression()));
|
|
1369
1369
|
} else {
|
|
@@ -1371,7 +1371,7 @@ public class RCTMGLStyleFactory {
|
|
|
1371
1371
|
}
|
|
1372
1372
|
}
|
|
1373
1373
|
|
|
1374
|
-
public static void setTextKeepUpright(SymbolLayer layer,
|
|
1374
|
+
public static void setTextKeepUpright(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1375
1375
|
if (styleValue.isExpression()) {
|
|
1376
1376
|
layer.setProperties(PropertyFactory.textKeepUpright(styleValue.getExpression()));
|
|
1377
1377
|
} else {
|
|
@@ -1379,7 +1379,7 @@ public class RCTMGLStyleFactory {
|
|
|
1379
1379
|
}
|
|
1380
1380
|
}
|
|
1381
1381
|
|
|
1382
|
-
public static void setTextTransform(SymbolLayer layer,
|
|
1382
|
+
public static void setTextTransform(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1383
1383
|
if (styleValue.isExpression()) {
|
|
1384
1384
|
layer.setProperties(PropertyFactory.textTransform(styleValue.getExpression()));
|
|
1385
1385
|
} else {
|
|
@@ -1387,7 +1387,7 @@ public class RCTMGLStyleFactory {
|
|
|
1387
1387
|
}
|
|
1388
1388
|
}
|
|
1389
1389
|
|
|
1390
|
-
public static void setTextOffset(SymbolLayer layer,
|
|
1390
|
+
public static void setTextOffset(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1391
1391
|
if (styleValue.isExpression()) {
|
|
1392
1392
|
layer.setProperties(PropertyFactory.textOffset(styleValue.getExpression()));
|
|
1393
1393
|
} else {
|
|
@@ -1395,7 +1395,7 @@ public class RCTMGLStyleFactory {
|
|
|
1395
1395
|
}
|
|
1396
1396
|
}
|
|
1397
1397
|
|
|
1398
|
-
public static void setTextAllowOverlap(SymbolLayer layer,
|
|
1398
|
+
public static void setTextAllowOverlap(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1399
1399
|
if (styleValue.isExpression()) {
|
|
1400
1400
|
layer.setProperties(PropertyFactory.textAllowOverlap(styleValue.getExpression()));
|
|
1401
1401
|
} else {
|
|
@@ -1403,7 +1403,7 @@ public class RCTMGLStyleFactory {
|
|
|
1403
1403
|
}
|
|
1404
1404
|
}
|
|
1405
1405
|
|
|
1406
|
-
public static void setTextIgnorePlacement(SymbolLayer layer,
|
|
1406
|
+
public static void setTextIgnorePlacement(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1407
1407
|
if (styleValue.isExpression()) {
|
|
1408
1408
|
layer.setProperties(PropertyFactory.textIgnorePlacement(styleValue.getExpression()));
|
|
1409
1409
|
} else {
|
|
@@ -1411,7 +1411,7 @@ public class RCTMGLStyleFactory {
|
|
|
1411
1411
|
}
|
|
1412
1412
|
}
|
|
1413
1413
|
|
|
1414
|
-
public static void setTextOptional(SymbolLayer layer,
|
|
1414
|
+
public static void setTextOptional(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1415
1415
|
if (styleValue.isExpression()) {
|
|
1416
1416
|
layer.setProperties(PropertyFactory.textOptional(styleValue.getExpression()));
|
|
1417
1417
|
} else {
|
|
@@ -1419,11 +1419,11 @@ public class RCTMGLStyleFactory {
|
|
|
1419
1419
|
}
|
|
1420
1420
|
}
|
|
1421
1421
|
|
|
1422
|
-
public static void setVisibility(SymbolLayer layer,
|
|
1422
|
+
public static void setVisibility(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1423
1423
|
layer.setProperties(PropertyFactory.visibility(styleValue.getString(VALUE_KEY)));
|
|
1424
1424
|
}
|
|
1425
1425
|
|
|
1426
|
-
public static void setIconOpacity(SymbolLayer layer,
|
|
1426
|
+
public static void setIconOpacity(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1427
1427
|
if (styleValue.isExpression()) {
|
|
1428
1428
|
layer.setProperties(PropertyFactory.iconOpacity(styleValue.getExpression()));
|
|
1429
1429
|
} else {
|
|
@@ -1432,14 +1432,14 @@ public class RCTMGLStyleFactory {
|
|
|
1432
1432
|
}
|
|
1433
1433
|
|
|
1434
1434
|
|
|
1435
|
-
public static void setIconOpacityTransition(SymbolLayer layer,
|
|
1435
|
+
public static void setIconOpacityTransition(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1436
1436
|
TransitionOptions transition = styleValue.getTransition();
|
|
1437
1437
|
if (transition != null) {
|
|
1438
1438
|
layer.setIconOpacityTransition(transition);
|
|
1439
1439
|
}
|
|
1440
1440
|
}
|
|
1441
1441
|
|
|
1442
|
-
public static void setIconColor(SymbolLayer layer,
|
|
1442
|
+
public static void setIconColor(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1443
1443
|
if (styleValue.isExpression()) {
|
|
1444
1444
|
layer.setProperties(PropertyFactory.iconColor(styleValue.getExpression()));
|
|
1445
1445
|
} else {
|
|
@@ -1448,14 +1448,14 @@ public class RCTMGLStyleFactory {
|
|
|
1448
1448
|
}
|
|
1449
1449
|
|
|
1450
1450
|
|
|
1451
|
-
public static void setIconColorTransition(SymbolLayer layer,
|
|
1451
|
+
public static void setIconColorTransition(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1452
1452
|
TransitionOptions transition = styleValue.getTransition();
|
|
1453
1453
|
if (transition != null) {
|
|
1454
1454
|
layer.setIconColorTransition(transition);
|
|
1455
1455
|
}
|
|
1456
1456
|
}
|
|
1457
1457
|
|
|
1458
|
-
public static void setIconHaloColor(SymbolLayer layer,
|
|
1458
|
+
public static void setIconHaloColor(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1459
1459
|
if (styleValue.isExpression()) {
|
|
1460
1460
|
layer.setProperties(PropertyFactory.iconHaloColor(styleValue.getExpression()));
|
|
1461
1461
|
} else {
|
|
@@ -1464,14 +1464,14 @@ public class RCTMGLStyleFactory {
|
|
|
1464
1464
|
}
|
|
1465
1465
|
|
|
1466
1466
|
|
|
1467
|
-
public static void setIconHaloColorTransition(SymbolLayer layer,
|
|
1467
|
+
public static void setIconHaloColorTransition(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1468
1468
|
TransitionOptions transition = styleValue.getTransition();
|
|
1469
1469
|
if (transition != null) {
|
|
1470
1470
|
layer.setIconHaloColorTransition(transition);
|
|
1471
1471
|
}
|
|
1472
1472
|
}
|
|
1473
1473
|
|
|
1474
|
-
public static void setIconHaloWidth(SymbolLayer layer,
|
|
1474
|
+
public static void setIconHaloWidth(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1475
1475
|
if (styleValue.isExpression()) {
|
|
1476
1476
|
layer.setProperties(PropertyFactory.iconHaloWidth(styleValue.getExpression()));
|
|
1477
1477
|
} else {
|
|
@@ -1480,14 +1480,14 @@ public class RCTMGLStyleFactory {
|
|
|
1480
1480
|
}
|
|
1481
1481
|
|
|
1482
1482
|
|
|
1483
|
-
public static void setIconHaloWidthTransition(SymbolLayer layer,
|
|
1483
|
+
public static void setIconHaloWidthTransition(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1484
1484
|
TransitionOptions transition = styleValue.getTransition();
|
|
1485
1485
|
if (transition != null) {
|
|
1486
1486
|
layer.setIconHaloWidthTransition(transition);
|
|
1487
1487
|
}
|
|
1488
1488
|
}
|
|
1489
1489
|
|
|
1490
|
-
public static void setIconHaloBlur(SymbolLayer layer,
|
|
1490
|
+
public static void setIconHaloBlur(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1491
1491
|
if (styleValue.isExpression()) {
|
|
1492
1492
|
layer.setProperties(PropertyFactory.iconHaloBlur(styleValue.getExpression()));
|
|
1493
1493
|
} else {
|
|
@@ -1496,14 +1496,14 @@ public class RCTMGLStyleFactory {
|
|
|
1496
1496
|
}
|
|
1497
1497
|
|
|
1498
1498
|
|
|
1499
|
-
public static void setIconHaloBlurTransition(SymbolLayer layer,
|
|
1499
|
+
public static void setIconHaloBlurTransition(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1500
1500
|
TransitionOptions transition = styleValue.getTransition();
|
|
1501
1501
|
if (transition != null) {
|
|
1502
1502
|
layer.setIconHaloBlurTransition(transition);
|
|
1503
1503
|
}
|
|
1504
1504
|
}
|
|
1505
1505
|
|
|
1506
|
-
public static void setIconTranslate(SymbolLayer layer,
|
|
1506
|
+
public static void setIconTranslate(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1507
1507
|
if (styleValue.isExpression()) {
|
|
1508
1508
|
layer.setProperties(PropertyFactory.iconTranslate(styleValue.getExpression()));
|
|
1509
1509
|
} else {
|
|
@@ -1512,14 +1512,14 @@ public class RCTMGLStyleFactory {
|
|
|
1512
1512
|
}
|
|
1513
1513
|
|
|
1514
1514
|
|
|
1515
|
-
public static void setIconTranslateTransition(SymbolLayer layer,
|
|
1515
|
+
public static void setIconTranslateTransition(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1516
1516
|
TransitionOptions transition = styleValue.getTransition();
|
|
1517
1517
|
if (transition != null) {
|
|
1518
1518
|
layer.setIconTranslateTransition(transition);
|
|
1519
1519
|
}
|
|
1520
1520
|
}
|
|
1521
1521
|
|
|
1522
|
-
public static void setIconTranslateAnchor(SymbolLayer layer,
|
|
1522
|
+
public static void setIconTranslateAnchor(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1523
1523
|
if (styleValue.isExpression()) {
|
|
1524
1524
|
layer.setProperties(PropertyFactory.iconTranslateAnchor(styleValue.getExpression()));
|
|
1525
1525
|
} else {
|
|
@@ -1527,7 +1527,7 @@ public class RCTMGLStyleFactory {
|
|
|
1527
1527
|
}
|
|
1528
1528
|
}
|
|
1529
1529
|
|
|
1530
|
-
public static void setTextOpacity(SymbolLayer layer,
|
|
1530
|
+
public static void setTextOpacity(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1531
1531
|
if (styleValue.isExpression()) {
|
|
1532
1532
|
layer.setProperties(PropertyFactory.textOpacity(styleValue.getExpression()));
|
|
1533
1533
|
} else {
|
|
@@ -1536,14 +1536,14 @@ public class RCTMGLStyleFactory {
|
|
|
1536
1536
|
}
|
|
1537
1537
|
|
|
1538
1538
|
|
|
1539
|
-
public static void setTextOpacityTransition(SymbolLayer layer,
|
|
1539
|
+
public static void setTextOpacityTransition(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1540
1540
|
TransitionOptions transition = styleValue.getTransition();
|
|
1541
1541
|
if (transition != null) {
|
|
1542
1542
|
layer.setTextOpacityTransition(transition);
|
|
1543
1543
|
}
|
|
1544
1544
|
}
|
|
1545
1545
|
|
|
1546
|
-
public static void setTextColor(SymbolLayer layer,
|
|
1546
|
+
public static void setTextColor(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1547
1547
|
if (styleValue.isExpression()) {
|
|
1548
1548
|
layer.setProperties(PropertyFactory.textColor(styleValue.getExpression()));
|
|
1549
1549
|
} else {
|
|
@@ -1552,14 +1552,14 @@ public class RCTMGLStyleFactory {
|
|
|
1552
1552
|
}
|
|
1553
1553
|
|
|
1554
1554
|
|
|
1555
|
-
public static void setTextColorTransition(SymbolLayer layer,
|
|
1555
|
+
public static void setTextColorTransition(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1556
1556
|
TransitionOptions transition = styleValue.getTransition();
|
|
1557
1557
|
if (transition != null) {
|
|
1558
1558
|
layer.setTextColorTransition(transition);
|
|
1559
1559
|
}
|
|
1560
1560
|
}
|
|
1561
1561
|
|
|
1562
|
-
public static void setTextHaloColor(SymbolLayer layer,
|
|
1562
|
+
public static void setTextHaloColor(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1563
1563
|
if (styleValue.isExpression()) {
|
|
1564
1564
|
layer.setProperties(PropertyFactory.textHaloColor(styleValue.getExpression()));
|
|
1565
1565
|
} else {
|
|
@@ -1568,14 +1568,14 @@ public class RCTMGLStyleFactory {
|
|
|
1568
1568
|
}
|
|
1569
1569
|
|
|
1570
1570
|
|
|
1571
|
-
public static void setTextHaloColorTransition(SymbolLayer layer,
|
|
1571
|
+
public static void setTextHaloColorTransition(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1572
1572
|
TransitionOptions transition = styleValue.getTransition();
|
|
1573
1573
|
if (transition != null) {
|
|
1574
1574
|
layer.setTextHaloColorTransition(transition);
|
|
1575
1575
|
}
|
|
1576
1576
|
}
|
|
1577
1577
|
|
|
1578
|
-
public static void setTextHaloWidth(SymbolLayer layer,
|
|
1578
|
+
public static void setTextHaloWidth(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1579
1579
|
if (styleValue.isExpression()) {
|
|
1580
1580
|
layer.setProperties(PropertyFactory.textHaloWidth(styleValue.getExpression()));
|
|
1581
1581
|
} else {
|
|
@@ -1584,14 +1584,14 @@ public class RCTMGLStyleFactory {
|
|
|
1584
1584
|
}
|
|
1585
1585
|
|
|
1586
1586
|
|
|
1587
|
-
public static void setTextHaloWidthTransition(SymbolLayer layer,
|
|
1587
|
+
public static void setTextHaloWidthTransition(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1588
1588
|
TransitionOptions transition = styleValue.getTransition();
|
|
1589
1589
|
if (transition != null) {
|
|
1590
1590
|
layer.setTextHaloWidthTransition(transition);
|
|
1591
1591
|
}
|
|
1592
1592
|
}
|
|
1593
1593
|
|
|
1594
|
-
public static void setTextHaloBlur(SymbolLayer layer,
|
|
1594
|
+
public static void setTextHaloBlur(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1595
1595
|
if (styleValue.isExpression()) {
|
|
1596
1596
|
layer.setProperties(PropertyFactory.textHaloBlur(styleValue.getExpression()));
|
|
1597
1597
|
} else {
|
|
@@ -1600,14 +1600,14 @@ public class RCTMGLStyleFactory {
|
|
|
1600
1600
|
}
|
|
1601
1601
|
|
|
1602
1602
|
|
|
1603
|
-
public static void setTextHaloBlurTransition(SymbolLayer layer,
|
|
1603
|
+
public static void setTextHaloBlurTransition(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1604
1604
|
TransitionOptions transition = styleValue.getTransition();
|
|
1605
1605
|
if (transition != null) {
|
|
1606
1606
|
layer.setTextHaloBlurTransition(transition);
|
|
1607
1607
|
}
|
|
1608
1608
|
}
|
|
1609
1609
|
|
|
1610
|
-
public static void setTextTranslate(SymbolLayer layer,
|
|
1610
|
+
public static void setTextTranslate(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1611
1611
|
if (styleValue.isExpression()) {
|
|
1612
1612
|
layer.setProperties(PropertyFactory.textTranslate(styleValue.getExpression()));
|
|
1613
1613
|
} else {
|
|
@@ -1616,14 +1616,14 @@ public class RCTMGLStyleFactory {
|
|
|
1616
1616
|
}
|
|
1617
1617
|
|
|
1618
1618
|
|
|
1619
|
-
public static void setTextTranslateTransition(SymbolLayer layer,
|
|
1619
|
+
public static void setTextTranslateTransition(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1620
1620
|
TransitionOptions transition = styleValue.getTransition();
|
|
1621
1621
|
if (transition != null) {
|
|
1622
1622
|
layer.setTextTranslateTransition(transition);
|
|
1623
1623
|
}
|
|
1624
1624
|
}
|
|
1625
1625
|
|
|
1626
|
-
public static void setTextTranslateAnchor(SymbolLayer layer,
|
|
1626
|
+
public static void setTextTranslateAnchor(SymbolLayer layer, RCTMLNStyleValue styleValue) {
|
|
1627
1627
|
if (styleValue.isExpression()) {
|
|
1628
1628
|
layer.setProperties(PropertyFactory.textTranslateAnchor(styleValue.getExpression()));
|
|
1629
1629
|
} else {
|
|
@@ -1631,7 +1631,7 @@ public class RCTMGLStyleFactory {
|
|
|
1631
1631
|
}
|
|
1632
1632
|
}
|
|
1633
1633
|
|
|
1634
|
-
public static void setCircleSortKey(CircleLayer layer,
|
|
1634
|
+
public static void setCircleSortKey(CircleLayer layer, RCTMLNStyleValue styleValue) {
|
|
1635
1635
|
if (styleValue.isExpression()) {
|
|
1636
1636
|
layer.setProperties(PropertyFactory.circleSortKey(styleValue.getExpression()));
|
|
1637
1637
|
} else {
|
|
@@ -1639,11 +1639,11 @@ public class RCTMGLStyleFactory {
|
|
|
1639
1639
|
}
|
|
1640
1640
|
}
|
|
1641
1641
|
|
|
1642
|
-
public static void setVisibility(CircleLayer layer,
|
|
1642
|
+
public static void setVisibility(CircleLayer layer, RCTMLNStyleValue styleValue) {
|
|
1643
1643
|
layer.setProperties(PropertyFactory.visibility(styleValue.getString(VALUE_KEY)));
|
|
1644
1644
|
}
|
|
1645
1645
|
|
|
1646
|
-
public static void setCircleRadius(CircleLayer layer,
|
|
1646
|
+
public static void setCircleRadius(CircleLayer layer, RCTMLNStyleValue styleValue) {
|
|
1647
1647
|
if (styleValue.isExpression()) {
|
|
1648
1648
|
layer.setProperties(PropertyFactory.circleRadius(styleValue.getExpression()));
|
|
1649
1649
|
} else {
|
|
@@ -1652,14 +1652,14 @@ public class RCTMGLStyleFactory {
|
|
|
1652
1652
|
}
|
|
1653
1653
|
|
|
1654
1654
|
|
|
1655
|
-
public static void setCircleRadiusTransition(CircleLayer layer,
|
|
1655
|
+
public static void setCircleRadiusTransition(CircleLayer layer, RCTMLNStyleValue styleValue) {
|
|
1656
1656
|
TransitionOptions transition = styleValue.getTransition();
|
|
1657
1657
|
if (transition != null) {
|
|
1658
1658
|
layer.setCircleRadiusTransition(transition);
|
|
1659
1659
|
}
|
|
1660
1660
|
}
|
|
1661
1661
|
|
|
1662
|
-
public static void setCircleColor(CircleLayer layer,
|
|
1662
|
+
public static void setCircleColor(CircleLayer layer, RCTMLNStyleValue styleValue) {
|
|
1663
1663
|
if (styleValue.isExpression()) {
|
|
1664
1664
|
layer.setProperties(PropertyFactory.circleColor(styleValue.getExpression()));
|
|
1665
1665
|
} else {
|
|
@@ -1668,14 +1668,14 @@ public class RCTMGLStyleFactory {
|
|
|
1668
1668
|
}
|
|
1669
1669
|
|
|
1670
1670
|
|
|
1671
|
-
public static void setCircleColorTransition(CircleLayer layer,
|
|
1671
|
+
public static void setCircleColorTransition(CircleLayer layer, RCTMLNStyleValue styleValue) {
|
|
1672
1672
|
TransitionOptions transition = styleValue.getTransition();
|
|
1673
1673
|
if (transition != null) {
|
|
1674
1674
|
layer.setCircleColorTransition(transition);
|
|
1675
1675
|
}
|
|
1676
1676
|
}
|
|
1677
1677
|
|
|
1678
|
-
public static void setCircleBlur(CircleLayer layer,
|
|
1678
|
+
public static void setCircleBlur(CircleLayer layer, RCTMLNStyleValue styleValue) {
|
|
1679
1679
|
if (styleValue.isExpression()) {
|
|
1680
1680
|
layer.setProperties(PropertyFactory.circleBlur(styleValue.getExpression()));
|
|
1681
1681
|
} else {
|
|
@@ -1684,14 +1684,14 @@ public class RCTMGLStyleFactory {
|
|
|
1684
1684
|
}
|
|
1685
1685
|
|
|
1686
1686
|
|
|
1687
|
-
public static void setCircleBlurTransition(CircleLayer layer,
|
|
1687
|
+
public static void setCircleBlurTransition(CircleLayer layer, RCTMLNStyleValue styleValue) {
|
|
1688
1688
|
TransitionOptions transition = styleValue.getTransition();
|
|
1689
1689
|
if (transition != null) {
|
|
1690
1690
|
layer.setCircleBlurTransition(transition);
|
|
1691
1691
|
}
|
|
1692
1692
|
}
|
|
1693
1693
|
|
|
1694
|
-
public static void setCircleOpacity(CircleLayer layer,
|
|
1694
|
+
public static void setCircleOpacity(CircleLayer layer, RCTMLNStyleValue styleValue) {
|
|
1695
1695
|
if (styleValue.isExpression()) {
|
|
1696
1696
|
layer.setProperties(PropertyFactory.circleOpacity(styleValue.getExpression()));
|
|
1697
1697
|
} else {
|
|
@@ -1700,14 +1700,14 @@ public class RCTMGLStyleFactory {
|
|
|
1700
1700
|
}
|
|
1701
1701
|
|
|
1702
1702
|
|
|
1703
|
-
public static void setCircleOpacityTransition(CircleLayer layer,
|
|
1703
|
+
public static void setCircleOpacityTransition(CircleLayer layer, RCTMLNStyleValue styleValue) {
|
|
1704
1704
|
TransitionOptions transition = styleValue.getTransition();
|
|
1705
1705
|
if (transition != null) {
|
|
1706
1706
|
layer.setCircleOpacityTransition(transition);
|
|
1707
1707
|
}
|
|
1708
1708
|
}
|
|
1709
1709
|
|
|
1710
|
-
public static void setCircleTranslate(CircleLayer layer,
|
|
1710
|
+
public static void setCircleTranslate(CircleLayer layer, RCTMLNStyleValue styleValue) {
|
|
1711
1711
|
if (styleValue.isExpression()) {
|
|
1712
1712
|
layer.setProperties(PropertyFactory.circleTranslate(styleValue.getExpression()));
|
|
1713
1713
|
} else {
|
|
@@ -1716,14 +1716,14 @@ public class RCTMGLStyleFactory {
|
|
|
1716
1716
|
}
|
|
1717
1717
|
|
|
1718
1718
|
|
|
1719
|
-
public static void setCircleTranslateTransition(CircleLayer layer,
|
|
1719
|
+
public static void setCircleTranslateTransition(CircleLayer layer, RCTMLNStyleValue styleValue) {
|
|
1720
1720
|
TransitionOptions transition = styleValue.getTransition();
|
|
1721
1721
|
if (transition != null) {
|
|
1722
1722
|
layer.setCircleTranslateTransition(transition);
|
|
1723
1723
|
}
|
|
1724
1724
|
}
|
|
1725
1725
|
|
|
1726
|
-
public static void setCircleTranslateAnchor(CircleLayer layer,
|
|
1726
|
+
public static void setCircleTranslateAnchor(CircleLayer layer, RCTMLNStyleValue styleValue) {
|
|
1727
1727
|
if (styleValue.isExpression()) {
|
|
1728
1728
|
layer.setProperties(PropertyFactory.circleTranslateAnchor(styleValue.getExpression()));
|
|
1729
1729
|
} else {
|
|
@@ -1731,7 +1731,7 @@ public class RCTMGLStyleFactory {
|
|
|
1731
1731
|
}
|
|
1732
1732
|
}
|
|
1733
1733
|
|
|
1734
|
-
public static void setCirclePitchScale(CircleLayer layer,
|
|
1734
|
+
public static void setCirclePitchScale(CircleLayer layer, RCTMLNStyleValue styleValue) {
|
|
1735
1735
|
if (styleValue.isExpression()) {
|
|
1736
1736
|
layer.setProperties(PropertyFactory.circlePitchScale(styleValue.getExpression()));
|
|
1737
1737
|
} else {
|
|
@@ -1739,7 +1739,7 @@ public class RCTMGLStyleFactory {
|
|
|
1739
1739
|
}
|
|
1740
1740
|
}
|
|
1741
1741
|
|
|
1742
|
-
public static void setCirclePitchAlignment(CircleLayer layer,
|
|
1742
|
+
public static void setCirclePitchAlignment(CircleLayer layer, RCTMLNStyleValue styleValue) {
|
|
1743
1743
|
if (styleValue.isExpression()) {
|
|
1744
1744
|
layer.setProperties(PropertyFactory.circlePitchAlignment(styleValue.getExpression()));
|
|
1745
1745
|
} else {
|
|
@@ -1747,7 +1747,7 @@ public class RCTMGLStyleFactory {
|
|
|
1747
1747
|
}
|
|
1748
1748
|
}
|
|
1749
1749
|
|
|
1750
|
-
public static void setCircleStrokeWidth(CircleLayer layer,
|
|
1750
|
+
public static void setCircleStrokeWidth(CircleLayer layer, RCTMLNStyleValue styleValue) {
|
|
1751
1751
|
if (styleValue.isExpression()) {
|
|
1752
1752
|
layer.setProperties(PropertyFactory.circleStrokeWidth(styleValue.getExpression()));
|
|
1753
1753
|
} else {
|
|
@@ -1756,14 +1756,14 @@ public class RCTMGLStyleFactory {
|
|
|
1756
1756
|
}
|
|
1757
1757
|
|
|
1758
1758
|
|
|
1759
|
-
public static void setCircleStrokeWidthTransition(CircleLayer layer,
|
|
1759
|
+
public static void setCircleStrokeWidthTransition(CircleLayer layer, RCTMLNStyleValue styleValue) {
|
|
1760
1760
|
TransitionOptions transition = styleValue.getTransition();
|
|
1761
1761
|
if (transition != null) {
|
|
1762
1762
|
layer.setCircleStrokeWidthTransition(transition);
|
|
1763
1763
|
}
|
|
1764
1764
|
}
|
|
1765
1765
|
|
|
1766
|
-
public static void setCircleStrokeColor(CircleLayer layer,
|
|
1766
|
+
public static void setCircleStrokeColor(CircleLayer layer, RCTMLNStyleValue styleValue) {
|
|
1767
1767
|
if (styleValue.isExpression()) {
|
|
1768
1768
|
layer.setProperties(PropertyFactory.circleStrokeColor(styleValue.getExpression()));
|
|
1769
1769
|
} else {
|
|
@@ -1772,14 +1772,14 @@ public class RCTMGLStyleFactory {
|
|
|
1772
1772
|
}
|
|
1773
1773
|
|
|
1774
1774
|
|
|
1775
|
-
public static void setCircleStrokeColorTransition(CircleLayer layer,
|
|
1775
|
+
public static void setCircleStrokeColorTransition(CircleLayer layer, RCTMLNStyleValue styleValue) {
|
|
1776
1776
|
TransitionOptions transition = styleValue.getTransition();
|
|
1777
1777
|
if (transition != null) {
|
|
1778
1778
|
layer.setCircleStrokeColorTransition(transition);
|
|
1779
1779
|
}
|
|
1780
1780
|
}
|
|
1781
1781
|
|
|
1782
|
-
public static void setCircleStrokeOpacity(CircleLayer layer,
|
|
1782
|
+
public static void setCircleStrokeOpacity(CircleLayer layer, RCTMLNStyleValue styleValue) {
|
|
1783
1783
|
if (styleValue.isExpression()) {
|
|
1784
1784
|
layer.setProperties(PropertyFactory.circleStrokeOpacity(styleValue.getExpression()));
|
|
1785
1785
|
} else {
|
|
@@ -1788,18 +1788,18 @@ public class RCTMGLStyleFactory {
|
|
|
1788
1788
|
}
|
|
1789
1789
|
|
|
1790
1790
|
|
|
1791
|
-
public static void setCircleStrokeOpacityTransition(CircleLayer layer,
|
|
1791
|
+
public static void setCircleStrokeOpacityTransition(CircleLayer layer, RCTMLNStyleValue styleValue) {
|
|
1792
1792
|
TransitionOptions transition = styleValue.getTransition();
|
|
1793
1793
|
if (transition != null) {
|
|
1794
1794
|
layer.setCircleStrokeOpacityTransition(transition);
|
|
1795
1795
|
}
|
|
1796
1796
|
}
|
|
1797
1797
|
|
|
1798
|
-
public static void setVisibility(HeatmapLayer layer,
|
|
1798
|
+
public static void setVisibility(HeatmapLayer layer, RCTMLNStyleValue styleValue) {
|
|
1799
1799
|
layer.setProperties(PropertyFactory.visibility(styleValue.getString(VALUE_KEY)));
|
|
1800
1800
|
}
|
|
1801
1801
|
|
|
1802
|
-
public static void setHeatmapRadius(HeatmapLayer layer,
|
|
1802
|
+
public static void setHeatmapRadius(HeatmapLayer layer, RCTMLNStyleValue styleValue) {
|
|
1803
1803
|
if (styleValue.isExpression()) {
|
|
1804
1804
|
layer.setProperties(PropertyFactory.heatmapRadius(styleValue.getExpression()));
|
|
1805
1805
|
} else {
|
|
@@ -1808,14 +1808,14 @@ public class RCTMGLStyleFactory {
|
|
|
1808
1808
|
}
|
|
1809
1809
|
|
|
1810
1810
|
|
|
1811
|
-
public static void setHeatmapRadiusTransition(HeatmapLayer layer,
|
|
1811
|
+
public static void setHeatmapRadiusTransition(HeatmapLayer layer, RCTMLNStyleValue styleValue) {
|
|
1812
1812
|
TransitionOptions transition = styleValue.getTransition();
|
|
1813
1813
|
if (transition != null) {
|
|
1814
1814
|
layer.setHeatmapRadiusTransition(transition);
|
|
1815
1815
|
}
|
|
1816
1816
|
}
|
|
1817
1817
|
|
|
1818
|
-
public static void setHeatmapWeight(HeatmapLayer layer,
|
|
1818
|
+
public static void setHeatmapWeight(HeatmapLayer layer, RCTMLNStyleValue styleValue) {
|
|
1819
1819
|
if (styleValue.isExpression()) {
|
|
1820
1820
|
layer.setProperties(PropertyFactory.heatmapWeight(styleValue.getExpression()));
|
|
1821
1821
|
} else {
|
|
@@ -1823,7 +1823,7 @@ public class RCTMGLStyleFactory {
|
|
|
1823
1823
|
}
|
|
1824
1824
|
}
|
|
1825
1825
|
|
|
1826
|
-
public static void setHeatmapIntensity(HeatmapLayer layer,
|
|
1826
|
+
public static void setHeatmapIntensity(HeatmapLayer layer, RCTMLNStyleValue styleValue) {
|
|
1827
1827
|
if (styleValue.isExpression()) {
|
|
1828
1828
|
layer.setProperties(PropertyFactory.heatmapIntensity(styleValue.getExpression()));
|
|
1829
1829
|
} else {
|
|
@@ -1832,14 +1832,14 @@ public class RCTMGLStyleFactory {
|
|
|
1832
1832
|
}
|
|
1833
1833
|
|
|
1834
1834
|
|
|
1835
|
-
public static void setHeatmapIntensityTransition(HeatmapLayer layer,
|
|
1835
|
+
public static void setHeatmapIntensityTransition(HeatmapLayer layer, RCTMLNStyleValue styleValue) {
|
|
1836
1836
|
TransitionOptions transition = styleValue.getTransition();
|
|
1837
1837
|
if (transition != null) {
|
|
1838
1838
|
layer.setHeatmapIntensityTransition(transition);
|
|
1839
1839
|
}
|
|
1840
1840
|
}
|
|
1841
1841
|
|
|
1842
|
-
public static void setHeatmapColor(HeatmapLayer layer,
|
|
1842
|
+
public static void setHeatmapColor(HeatmapLayer layer, RCTMLNStyleValue styleValue) {
|
|
1843
1843
|
if (styleValue.isExpression()) {
|
|
1844
1844
|
layer.setProperties(PropertyFactory.heatmapColor(styleValue.getExpression()));
|
|
1845
1845
|
} else {
|
|
@@ -1847,7 +1847,7 @@ public class RCTMGLStyleFactory {
|
|
|
1847
1847
|
}
|
|
1848
1848
|
}
|
|
1849
1849
|
|
|
1850
|
-
public static void setHeatmapOpacity(HeatmapLayer layer,
|
|
1850
|
+
public static void setHeatmapOpacity(HeatmapLayer layer, RCTMLNStyleValue styleValue) {
|
|
1851
1851
|
if (styleValue.isExpression()) {
|
|
1852
1852
|
layer.setProperties(PropertyFactory.heatmapOpacity(styleValue.getExpression()));
|
|
1853
1853
|
} else {
|
|
@@ -1856,18 +1856,18 @@ public class RCTMGLStyleFactory {
|
|
|
1856
1856
|
}
|
|
1857
1857
|
|
|
1858
1858
|
|
|
1859
|
-
public static void setHeatmapOpacityTransition(HeatmapLayer layer,
|
|
1859
|
+
public static void setHeatmapOpacityTransition(HeatmapLayer layer, RCTMLNStyleValue styleValue) {
|
|
1860
1860
|
TransitionOptions transition = styleValue.getTransition();
|
|
1861
1861
|
if (transition != null) {
|
|
1862
1862
|
layer.setHeatmapOpacityTransition(transition);
|
|
1863
1863
|
}
|
|
1864
1864
|
}
|
|
1865
1865
|
|
|
1866
|
-
public static void setVisibility(FillExtrusionLayer layer,
|
|
1866
|
+
public static void setVisibility(FillExtrusionLayer layer, RCTMLNStyleValue styleValue) {
|
|
1867
1867
|
layer.setProperties(PropertyFactory.visibility(styleValue.getString(VALUE_KEY)));
|
|
1868
1868
|
}
|
|
1869
1869
|
|
|
1870
|
-
public static void setFillExtrusionOpacity(FillExtrusionLayer layer,
|
|
1870
|
+
public static void setFillExtrusionOpacity(FillExtrusionLayer layer, RCTMLNStyleValue styleValue) {
|
|
1871
1871
|
if (styleValue.isExpression()) {
|
|
1872
1872
|
layer.setProperties(PropertyFactory.fillExtrusionOpacity(styleValue.getExpression()));
|
|
1873
1873
|
} else {
|
|
@@ -1876,14 +1876,14 @@ public class RCTMGLStyleFactory {
|
|
|
1876
1876
|
}
|
|
1877
1877
|
|
|
1878
1878
|
|
|
1879
|
-
public static void setFillExtrusionOpacityTransition(FillExtrusionLayer layer,
|
|
1879
|
+
public static void setFillExtrusionOpacityTransition(FillExtrusionLayer layer, RCTMLNStyleValue styleValue) {
|
|
1880
1880
|
TransitionOptions transition = styleValue.getTransition();
|
|
1881
1881
|
if (transition != null) {
|
|
1882
1882
|
layer.setFillExtrusionOpacityTransition(transition);
|
|
1883
1883
|
}
|
|
1884
1884
|
}
|
|
1885
1885
|
|
|
1886
|
-
public static void setFillExtrusionColor(FillExtrusionLayer layer,
|
|
1886
|
+
public static void setFillExtrusionColor(FillExtrusionLayer layer, RCTMLNStyleValue styleValue) {
|
|
1887
1887
|
if (styleValue.isExpression()) {
|
|
1888
1888
|
layer.setProperties(PropertyFactory.fillExtrusionColor(styleValue.getExpression()));
|
|
1889
1889
|
} else {
|
|
@@ -1892,14 +1892,14 @@ public class RCTMGLStyleFactory {
|
|
|
1892
1892
|
}
|
|
1893
1893
|
|
|
1894
1894
|
|
|
1895
|
-
public static void setFillExtrusionColorTransition(FillExtrusionLayer layer,
|
|
1895
|
+
public static void setFillExtrusionColorTransition(FillExtrusionLayer layer, RCTMLNStyleValue styleValue) {
|
|
1896
1896
|
TransitionOptions transition = styleValue.getTransition();
|
|
1897
1897
|
if (transition != null) {
|
|
1898
1898
|
layer.setFillExtrusionColorTransition(transition);
|
|
1899
1899
|
}
|
|
1900
1900
|
}
|
|
1901
1901
|
|
|
1902
|
-
public static void setFillExtrusionTranslate(FillExtrusionLayer layer,
|
|
1902
|
+
public static void setFillExtrusionTranslate(FillExtrusionLayer layer, RCTMLNStyleValue styleValue) {
|
|
1903
1903
|
if (styleValue.isExpression()) {
|
|
1904
1904
|
layer.setProperties(PropertyFactory.fillExtrusionTranslate(styleValue.getExpression()));
|
|
1905
1905
|
} else {
|
|
@@ -1908,14 +1908,14 @@ public class RCTMGLStyleFactory {
|
|
|
1908
1908
|
}
|
|
1909
1909
|
|
|
1910
1910
|
|
|
1911
|
-
public static void setFillExtrusionTranslateTransition(FillExtrusionLayer layer,
|
|
1911
|
+
public static void setFillExtrusionTranslateTransition(FillExtrusionLayer layer, RCTMLNStyleValue styleValue) {
|
|
1912
1912
|
TransitionOptions transition = styleValue.getTransition();
|
|
1913
1913
|
if (transition != null) {
|
|
1914
1914
|
layer.setFillExtrusionTranslateTransition(transition);
|
|
1915
1915
|
}
|
|
1916
1916
|
}
|
|
1917
1917
|
|
|
1918
|
-
public static void setFillExtrusionTranslateAnchor(FillExtrusionLayer layer,
|
|
1918
|
+
public static void setFillExtrusionTranslateAnchor(FillExtrusionLayer layer, RCTMLNStyleValue styleValue) {
|
|
1919
1919
|
if (styleValue.isExpression()) {
|
|
1920
1920
|
layer.setProperties(PropertyFactory.fillExtrusionTranslateAnchor(styleValue.getExpression()));
|
|
1921
1921
|
} else {
|
|
@@ -1923,7 +1923,7 @@ public class RCTMGLStyleFactory {
|
|
|
1923
1923
|
}
|
|
1924
1924
|
}
|
|
1925
1925
|
|
|
1926
|
-
public static void setFillExtrusionPattern(FillExtrusionLayer layer,
|
|
1926
|
+
public static void setFillExtrusionPattern(FillExtrusionLayer layer, RCTMLNStyleValue styleValue) {
|
|
1927
1927
|
if (styleValue.isExpression()) {
|
|
1928
1928
|
if (styleValue.isImageStringValue()) {
|
|
1929
1929
|
layer.setProperties(PropertyFactory.fillExtrusionPattern(styleValue.getImageStringValue()));
|
|
@@ -1936,14 +1936,14 @@ public class RCTMGLStyleFactory {
|
|
|
1936
1936
|
}
|
|
1937
1937
|
|
|
1938
1938
|
|
|
1939
|
-
public static void setFillExtrusionPatternTransition(FillExtrusionLayer layer,
|
|
1939
|
+
public static void setFillExtrusionPatternTransition(FillExtrusionLayer layer, RCTMLNStyleValue styleValue) {
|
|
1940
1940
|
TransitionOptions transition = styleValue.getTransition();
|
|
1941
1941
|
if (transition != null) {
|
|
1942
1942
|
layer.setFillExtrusionPatternTransition(transition);
|
|
1943
1943
|
}
|
|
1944
1944
|
}
|
|
1945
1945
|
|
|
1946
|
-
public static void setFillExtrusionHeight(FillExtrusionLayer layer,
|
|
1946
|
+
public static void setFillExtrusionHeight(FillExtrusionLayer layer, RCTMLNStyleValue styleValue) {
|
|
1947
1947
|
if (styleValue.isExpression()) {
|
|
1948
1948
|
layer.setProperties(PropertyFactory.fillExtrusionHeight(styleValue.getExpression()));
|
|
1949
1949
|
} else {
|
|
@@ -1952,14 +1952,14 @@ public class RCTMGLStyleFactory {
|
|
|
1952
1952
|
}
|
|
1953
1953
|
|
|
1954
1954
|
|
|
1955
|
-
public static void setFillExtrusionHeightTransition(FillExtrusionLayer layer,
|
|
1955
|
+
public static void setFillExtrusionHeightTransition(FillExtrusionLayer layer, RCTMLNStyleValue styleValue) {
|
|
1956
1956
|
TransitionOptions transition = styleValue.getTransition();
|
|
1957
1957
|
if (transition != null) {
|
|
1958
1958
|
layer.setFillExtrusionHeightTransition(transition);
|
|
1959
1959
|
}
|
|
1960
1960
|
}
|
|
1961
1961
|
|
|
1962
|
-
public static void setFillExtrusionBase(FillExtrusionLayer layer,
|
|
1962
|
+
public static void setFillExtrusionBase(FillExtrusionLayer layer, RCTMLNStyleValue styleValue) {
|
|
1963
1963
|
if (styleValue.isExpression()) {
|
|
1964
1964
|
layer.setProperties(PropertyFactory.fillExtrusionBase(styleValue.getExpression()));
|
|
1965
1965
|
} else {
|
|
@@ -1968,18 +1968,18 @@ public class RCTMGLStyleFactory {
|
|
|
1968
1968
|
}
|
|
1969
1969
|
|
|
1970
1970
|
|
|
1971
|
-
public static void setFillExtrusionBaseTransition(FillExtrusionLayer layer,
|
|
1971
|
+
public static void setFillExtrusionBaseTransition(FillExtrusionLayer layer, RCTMLNStyleValue styleValue) {
|
|
1972
1972
|
TransitionOptions transition = styleValue.getTransition();
|
|
1973
1973
|
if (transition != null) {
|
|
1974
1974
|
layer.setFillExtrusionBaseTransition(transition);
|
|
1975
1975
|
}
|
|
1976
1976
|
}
|
|
1977
1977
|
|
|
1978
|
-
public static void setVisibility(RasterLayer layer,
|
|
1978
|
+
public static void setVisibility(RasterLayer layer, RCTMLNStyleValue styleValue) {
|
|
1979
1979
|
layer.setProperties(PropertyFactory.visibility(styleValue.getString(VALUE_KEY)));
|
|
1980
1980
|
}
|
|
1981
1981
|
|
|
1982
|
-
public static void setRasterOpacity(RasterLayer layer,
|
|
1982
|
+
public static void setRasterOpacity(RasterLayer layer, RCTMLNStyleValue styleValue) {
|
|
1983
1983
|
if (styleValue.isExpression()) {
|
|
1984
1984
|
layer.setProperties(PropertyFactory.rasterOpacity(styleValue.getExpression()));
|
|
1985
1985
|
} else {
|
|
@@ -1988,14 +1988,14 @@ public class RCTMGLStyleFactory {
|
|
|
1988
1988
|
}
|
|
1989
1989
|
|
|
1990
1990
|
|
|
1991
|
-
public static void setRasterOpacityTransition(RasterLayer layer,
|
|
1991
|
+
public static void setRasterOpacityTransition(RasterLayer layer, RCTMLNStyleValue styleValue) {
|
|
1992
1992
|
TransitionOptions transition = styleValue.getTransition();
|
|
1993
1993
|
if (transition != null) {
|
|
1994
1994
|
layer.setRasterOpacityTransition(transition);
|
|
1995
1995
|
}
|
|
1996
1996
|
}
|
|
1997
1997
|
|
|
1998
|
-
public static void setRasterHueRotate(RasterLayer layer,
|
|
1998
|
+
public static void setRasterHueRotate(RasterLayer layer, RCTMLNStyleValue styleValue) {
|
|
1999
1999
|
if (styleValue.isExpression()) {
|
|
2000
2000
|
layer.setProperties(PropertyFactory.rasterHueRotate(styleValue.getExpression()));
|
|
2001
2001
|
} else {
|
|
@@ -2004,14 +2004,14 @@ public class RCTMGLStyleFactory {
|
|
|
2004
2004
|
}
|
|
2005
2005
|
|
|
2006
2006
|
|
|
2007
|
-
public static void setRasterHueRotateTransition(RasterLayer layer,
|
|
2007
|
+
public static void setRasterHueRotateTransition(RasterLayer layer, RCTMLNStyleValue styleValue) {
|
|
2008
2008
|
TransitionOptions transition = styleValue.getTransition();
|
|
2009
2009
|
if (transition != null) {
|
|
2010
2010
|
layer.setRasterHueRotateTransition(transition);
|
|
2011
2011
|
}
|
|
2012
2012
|
}
|
|
2013
2013
|
|
|
2014
|
-
public static void setRasterBrightnessMin(RasterLayer layer,
|
|
2014
|
+
public static void setRasterBrightnessMin(RasterLayer layer, RCTMLNStyleValue styleValue) {
|
|
2015
2015
|
if (styleValue.isExpression()) {
|
|
2016
2016
|
layer.setProperties(PropertyFactory.rasterBrightnessMin(styleValue.getExpression()));
|
|
2017
2017
|
} else {
|
|
@@ -2020,14 +2020,14 @@ public class RCTMGLStyleFactory {
|
|
|
2020
2020
|
}
|
|
2021
2021
|
|
|
2022
2022
|
|
|
2023
|
-
public static void setRasterBrightnessMinTransition(RasterLayer layer,
|
|
2023
|
+
public static void setRasterBrightnessMinTransition(RasterLayer layer, RCTMLNStyleValue styleValue) {
|
|
2024
2024
|
TransitionOptions transition = styleValue.getTransition();
|
|
2025
2025
|
if (transition != null) {
|
|
2026
2026
|
layer.setRasterBrightnessMinTransition(transition);
|
|
2027
2027
|
}
|
|
2028
2028
|
}
|
|
2029
2029
|
|
|
2030
|
-
public static void setRasterBrightnessMax(RasterLayer layer,
|
|
2030
|
+
public static void setRasterBrightnessMax(RasterLayer layer, RCTMLNStyleValue styleValue) {
|
|
2031
2031
|
if (styleValue.isExpression()) {
|
|
2032
2032
|
layer.setProperties(PropertyFactory.rasterBrightnessMax(styleValue.getExpression()));
|
|
2033
2033
|
} else {
|
|
@@ -2036,14 +2036,14 @@ public class RCTMGLStyleFactory {
|
|
|
2036
2036
|
}
|
|
2037
2037
|
|
|
2038
2038
|
|
|
2039
|
-
public static void setRasterBrightnessMaxTransition(RasterLayer layer,
|
|
2039
|
+
public static void setRasterBrightnessMaxTransition(RasterLayer layer, RCTMLNStyleValue styleValue) {
|
|
2040
2040
|
TransitionOptions transition = styleValue.getTransition();
|
|
2041
2041
|
if (transition != null) {
|
|
2042
2042
|
layer.setRasterBrightnessMaxTransition(transition);
|
|
2043
2043
|
}
|
|
2044
2044
|
}
|
|
2045
2045
|
|
|
2046
|
-
public static void setRasterSaturation(RasterLayer layer,
|
|
2046
|
+
public static void setRasterSaturation(RasterLayer layer, RCTMLNStyleValue styleValue) {
|
|
2047
2047
|
if (styleValue.isExpression()) {
|
|
2048
2048
|
layer.setProperties(PropertyFactory.rasterSaturation(styleValue.getExpression()));
|
|
2049
2049
|
} else {
|
|
@@ -2052,14 +2052,14 @@ public class RCTMGLStyleFactory {
|
|
|
2052
2052
|
}
|
|
2053
2053
|
|
|
2054
2054
|
|
|
2055
|
-
public static void setRasterSaturationTransition(RasterLayer layer,
|
|
2055
|
+
public static void setRasterSaturationTransition(RasterLayer layer, RCTMLNStyleValue styleValue) {
|
|
2056
2056
|
TransitionOptions transition = styleValue.getTransition();
|
|
2057
2057
|
if (transition != null) {
|
|
2058
2058
|
layer.setRasterSaturationTransition(transition);
|
|
2059
2059
|
}
|
|
2060
2060
|
}
|
|
2061
2061
|
|
|
2062
|
-
public static void setRasterContrast(RasterLayer layer,
|
|
2062
|
+
public static void setRasterContrast(RasterLayer layer, RCTMLNStyleValue styleValue) {
|
|
2063
2063
|
if (styleValue.isExpression()) {
|
|
2064
2064
|
layer.setProperties(PropertyFactory.rasterContrast(styleValue.getExpression()));
|
|
2065
2065
|
} else {
|
|
@@ -2068,14 +2068,14 @@ public class RCTMGLStyleFactory {
|
|
|
2068
2068
|
}
|
|
2069
2069
|
|
|
2070
2070
|
|
|
2071
|
-
public static void setRasterContrastTransition(RasterLayer layer,
|
|
2071
|
+
public static void setRasterContrastTransition(RasterLayer layer, RCTMLNStyleValue styleValue) {
|
|
2072
2072
|
TransitionOptions transition = styleValue.getTransition();
|
|
2073
2073
|
if (transition != null) {
|
|
2074
2074
|
layer.setRasterContrastTransition(transition);
|
|
2075
2075
|
}
|
|
2076
2076
|
}
|
|
2077
2077
|
|
|
2078
|
-
public static void setRasterResampling(RasterLayer layer,
|
|
2078
|
+
public static void setRasterResampling(RasterLayer layer, RCTMLNStyleValue styleValue) {
|
|
2079
2079
|
if (styleValue.isExpression()) {
|
|
2080
2080
|
layer.setProperties(PropertyFactory.rasterResampling(styleValue.getExpression()));
|
|
2081
2081
|
} else {
|
|
@@ -2083,7 +2083,7 @@ public class RCTMGLStyleFactory {
|
|
|
2083
2083
|
}
|
|
2084
2084
|
}
|
|
2085
2085
|
|
|
2086
|
-
public static void setRasterFadeDuration(RasterLayer layer,
|
|
2086
|
+
public static void setRasterFadeDuration(RasterLayer layer, RCTMLNStyleValue styleValue) {
|
|
2087
2087
|
if (styleValue.isExpression()) {
|
|
2088
2088
|
layer.setProperties(PropertyFactory.rasterFadeDuration(styleValue.getExpression()));
|
|
2089
2089
|
} else {
|
|
@@ -2091,11 +2091,11 @@ public class RCTMGLStyleFactory {
|
|
|
2091
2091
|
}
|
|
2092
2092
|
}
|
|
2093
2093
|
|
|
2094
|
-
public static void setVisibility(HillshadeLayer layer,
|
|
2094
|
+
public static void setVisibility(HillshadeLayer layer, RCTMLNStyleValue styleValue) {
|
|
2095
2095
|
layer.setProperties(PropertyFactory.visibility(styleValue.getString(VALUE_KEY)));
|
|
2096
2096
|
}
|
|
2097
2097
|
|
|
2098
|
-
public static void setHillshadeIlluminationDirection(HillshadeLayer layer,
|
|
2098
|
+
public static void setHillshadeIlluminationDirection(HillshadeLayer layer, RCTMLNStyleValue styleValue) {
|
|
2099
2099
|
if (styleValue.isExpression()) {
|
|
2100
2100
|
layer.setProperties(PropertyFactory.hillshadeIlluminationDirection(styleValue.getExpression()));
|
|
2101
2101
|
} else {
|
|
@@ -2103,7 +2103,7 @@ public class RCTMGLStyleFactory {
|
|
|
2103
2103
|
}
|
|
2104
2104
|
}
|
|
2105
2105
|
|
|
2106
|
-
public static void setHillshadeIlluminationAnchor(HillshadeLayer layer,
|
|
2106
|
+
public static void setHillshadeIlluminationAnchor(HillshadeLayer layer, RCTMLNStyleValue styleValue) {
|
|
2107
2107
|
if (styleValue.isExpression()) {
|
|
2108
2108
|
layer.setProperties(PropertyFactory.hillshadeIlluminationAnchor(styleValue.getExpression()));
|
|
2109
2109
|
} else {
|
|
@@ -2111,7 +2111,7 @@ public class RCTMGLStyleFactory {
|
|
|
2111
2111
|
}
|
|
2112
2112
|
}
|
|
2113
2113
|
|
|
2114
|
-
public static void setHillshadeExaggeration(HillshadeLayer layer,
|
|
2114
|
+
public static void setHillshadeExaggeration(HillshadeLayer layer, RCTMLNStyleValue styleValue) {
|
|
2115
2115
|
if (styleValue.isExpression()) {
|
|
2116
2116
|
layer.setProperties(PropertyFactory.hillshadeExaggeration(styleValue.getExpression()));
|
|
2117
2117
|
} else {
|
|
@@ -2120,14 +2120,14 @@ public class RCTMGLStyleFactory {
|
|
|
2120
2120
|
}
|
|
2121
2121
|
|
|
2122
2122
|
|
|
2123
|
-
public static void setHillshadeExaggerationTransition(HillshadeLayer layer,
|
|
2123
|
+
public static void setHillshadeExaggerationTransition(HillshadeLayer layer, RCTMLNStyleValue styleValue) {
|
|
2124
2124
|
TransitionOptions transition = styleValue.getTransition();
|
|
2125
2125
|
if (transition != null) {
|
|
2126
2126
|
layer.setHillshadeExaggerationTransition(transition);
|
|
2127
2127
|
}
|
|
2128
2128
|
}
|
|
2129
2129
|
|
|
2130
|
-
public static void setHillshadeShadowColor(HillshadeLayer layer,
|
|
2130
|
+
public static void setHillshadeShadowColor(HillshadeLayer layer, RCTMLNStyleValue styleValue) {
|
|
2131
2131
|
if (styleValue.isExpression()) {
|
|
2132
2132
|
layer.setProperties(PropertyFactory.hillshadeShadowColor(styleValue.getExpression()));
|
|
2133
2133
|
} else {
|
|
@@ -2136,14 +2136,14 @@ public class RCTMGLStyleFactory {
|
|
|
2136
2136
|
}
|
|
2137
2137
|
|
|
2138
2138
|
|
|
2139
|
-
public static void setHillshadeShadowColorTransition(HillshadeLayer layer,
|
|
2139
|
+
public static void setHillshadeShadowColorTransition(HillshadeLayer layer, RCTMLNStyleValue styleValue) {
|
|
2140
2140
|
TransitionOptions transition = styleValue.getTransition();
|
|
2141
2141
|
if (transition != null) {
|
|
2142
2142
|
layer.setHillshadeShadowColorTransition(transition);
|
|
2143
2143
|
}
|
|
2144
2144
|
}
|
|
2145
2145
|
|
|
2146
|
-
public static void setHillshadeHighlightColor(HillshadeLayer layer,
|
|
2146
|
+
public static void setHillshadeHighlightColor(HillshadeLayer layer, RCTMLNStyleValue styleValue) {
|
|
2147
2147
|
if (styleValue.isExpression()) {
|
|
2148
2148
|
layer.setProperties(PropertyFactory.hillshadeHighlightColor(styleValue.getExpression()));
|
|
2149
2149
|
} else {
|
|
@@ -2152,14 +2152,14 @@ public class RCTMGLStyleFactory {
|
|
|
2152
2152
|
}
|
|
2153
2153
|
|
|
2154
2154
|
|
|
2155
|
-
public static void setHillshadeHighlightColorTransition(HillshadeLayer layer,
|
|
2155
|
+
public static void setHillshadeHighlightColorTransition(HillshadeLayer layer, RCTMLNStyleValue styleValue) {
|
|
2156
2156
|
TransitionOptions transition = styleValue.getTransition();
|
|
2157
2157
|
if (transition != null) {
|
|
2158
2158
|
layer.setHillshadeHighlightColorTransition(transition);
|
|
2159
2159
|
}
|
|
2160
2160
|
}
|
|
2161
2161
|
|
|
2162
|
-
public static void setHillshadeAccentColor(HillshadeLayer layer,
|
|
2162
|
+
public static void setHillshadeAccentColor(HillshadeLayer layer, RCTMLNStyleValue styleValue) {
|
|
2163
2163
|
if (styleValue.isExpression()) {
|
|
2164
2164
|
layer.setProperties(PropertyFactory.hillshadeAccentColor(styleValue.getExpression()));
|
|
2165
2165
|
} else {
|
|
@@ -2168,18 +2168,18 @@ public class RCTMGLStyleFactory {
|
|
|
2168
2168
|
}
|
|
2169
2169
|
|
|
2170
2170
|
|
|
2171
|
-
public static void setHillshadeAccentColorTransition(HillshadeLayer layer,
|
|
2171
|
+
public static void setHillshadeAccentColorTransition(HillshadeLayer layer, RCTMLNStyleValue styleValue) {
|
|
2172
2172
|
TransitionOptions transition = styleValue.getTransition();
|
|
2173
2173
|
if (transition != null) {
|
|
2174
2174
|
layer.setHillshadeAccentColorTransition(transition);
|
|
2175
2175
|
}
|
|
2176
2176
|
}
|
|
2177
2177
|
|
|
2178
|
-
public static void setVisibility(BackgroundLayer layer,
|
|
2178
|
+
public static void setVisibility(BackgroundLayer layer, RCTMLNStyleValue styleValue) {
|
|
2179
2179
|
layer.setProperties(PropertyFactory.visibility(styleValue.getString(VALUE_KEY)));
|
|
2180
2180
|
}
|
|
2181
2181
|
|
|
2182
|
-
public static void setBackgroundColor(BackgroundLayer layer,
|
|
2182
|
+
public static void setBackgroundColor(BackgroundLayer layer, RCTMLNStyleValue styleValue) {
|
|
2183
2183
|
if (styleValue.isExpression()) {
|
|
2184
2184
|
layer.setProperties(PropertyFactory.backgroundColor(styleValue.getExpression()));
|
|
2185
2185
|
} else {
|
|
@@ -2188,14 +2188,14 @@ public class RCTMGLStyleFactory {
|
|
|
2188
2188
|
}
|
|
2189
2189
|
|
|
2190
2190
|
|
|
2191
|
-
public static void setBackgroundColorTransition(BackgroundLayer layer,
|
|
2191
|
+
public static void setBackgroundColorTransition(BackgroundLayer layer, RCTMLNStyleValue styleValue) {
|
|
2192
2192
|
TransitionOptions transition = styleValue.getTransition();
|
|
2193
2193
|
if (transition != null) {
|
|
2194
2194
|
layer.setBackgroundColorTransition(transition);
|
|
2195
2195
|
}
|
|
2196
2196
|
}
|
|
2197
2197
|
|
|
2198
|
-
public static void setBackgroundPattern(BackgroundLayer layer,
|
|
2198
|
+
public static void setBackgroundPattern(BackgroundLayer layer, RCTMLNStyleValue styleValue) {
|
|
2199
2199
|
if (styleValue.isExpression()) {
|
|
2200
2200
|
if (styleValue.isImageStringValue()) {
|
|
2201
2201
|
layer.setProperties(PropertyFactory.backgroundPattern(styleValue.getImageStringValue()));
|
|
@@ -2208,14 +2208,14 @@ public class RCTMGLStyleFactory {
|
|
|
2208
2208
|
}
|
|
2209
2209
|
|
|
2210
2210
|
|
|
2211
|
-
public static void setBackgroundPatternTransition(BackgroundLayer layer,
|
|
2211
|
+
public static void setBackgroundPatternTransition(BackgroundLayer layer, RCTMLNStyleValue styleValue) {
|
|
2212
2212
|
TransitionOptions transition = styleValue.getTransition();
|
|
2213
2213
|
if (transition != null) {
|
|
2214
2214
|
layer.setBackgroundPatternTransition(transition);
|
|
2215
2215
|
}
|
|
2216
2216
|
}
|
|
2217
2217
|
|
|
2218
|
-
public static void setBackgroundOpacity(BackgroundLayer layer,
|
|
2218
|
+
public static void setBackgroundOpacity(BackgroundLayer layer, RCTMLNStyleValue styleValue) {
|
|
2219
2219
|
if (styleValue.isExpression()) {
|
|
2220
2220
|
layer.setProperties(PropertyFactory.backgroundOpacity(styleValue.getExpression()));
|
|
2221
2221
|
} else {
|
|
@@ -2224,48 +2224,48 @@ public class RCTMGLStyleFactory {
|
|
|
2224
2224
|
}
|
|
2225
2225
|
|
|
2226
2226
|
|
|
2227
|
-
public static void setBackgroundOpacityTransition(BackgroundLayer layer,
|
|
2227
|
+
public static void setBackgroundOpacityTransition(BackgroundLayer layer, RCTMLNStyleValue styleValue) {
|
|
2228
2228
|
TransitionOptions transition = styleValue.getTransition();
|
|
2229
2229
|
if (transition != null) {
|
|
2230
2230
|
layer.setBackgroundOpacityTransition(transition);
|
|
2231
2231
|
}
|
|
2232
2232
|
}
|
|
2233
2233
|
|
|
2234
|
-
public static void setAnchor(Light layer,
|
|
2234
|
+
public static void setAnchor(Light layer, RCTMLNStyleValue styleValue) {
|
|
2235
2235
|
layer.setAnchor(styleValue.getString(VALUE_KEY));
|
|
2236
2236
|
}
|
|
2237
2237
|
|
|
2238
|
-
public static void setPosition(Light layer,
|
|
2238
|
+
public static void setPosition(Light layer, RCTMLNStyleValue styleValue) {
|
|
2239
2239
|
Float[] values = styleValue.getFloatArray(VALUE_KEY);
|
|
2240
2240
|
layer.setPosition(Position.fromPosition(values[0], values[1], values[2]));
|
|
2241
2241
|
}
|
|
2242
2242
|
|
|
2243
2243
|
|
|
2244
|
-
public static void setPositionTransition(Light layer,
|
|
2244
|
+
public static void setPositionTransition(Light layer, RCTMLNStyleValue styleValue) {
|
|
2245
2245
|
TransitionOptions transition = styleValue.getTransition();
|
|
2246
2246
|
if (transition != null) {
|
|
2247
2247
|
layer.setPositionTransition(transition);
|
|
2248
2248
|
}
|
|
2249
2249
|
}
|
|
2250
2250
|
|
|
2251
|
-
public static void setColor(Light layer,
|
|
2251
|
+
public static void setColor(Light layer, RCTMLNStyleValue styleValue) {
|
|
2252
2252
|
layer.setColor(styleValue.getInt(VALUE_KEY));
|
|
2253
2253
|
}
|
|
2254
2254
|
|
|
2255
2255
|
|
|
2256
|
-
public static void setColorTransition(Light layer,
|
|
2256
|
+
public static void setColorTransition(Light layer, RCTMLNStyleValue styleValue) {
|
|
2257
2257
|
TransitionOptions transition = styleValue.getTransition();
|
|
2258
2258
|
if (transition != null) {
|
|
2259
2259
|
layer.setColorTransition(transition);
|
|
2260
2260
|
}
|
|
2261
2261
|
}
|
|
2262
2262
|
|
|
2263
|
-
public static void setIntensity(Light layer,
|
|
2263
|
+
public static void setIntensity(Light layer, RCTMLNStyleValue styleValue) {
|
|
2264
2264
|
layer.setIntensity(styleValue.getFloat(VALUE_KEY));
|
|
2265
2265
|
}
|
|
2266
2266
|
|
|
2267
2267
|
|
|
2268
|
-
public static void setIntensityTransition(Light layer,
|
|
2268
|
+
public static void setIntensityTransition(Light layer, RCTMLNStyleValue styleValue) {
|
|
2269
2269
|
TransitionOptions transition = styleValue.getTransition();
|
|
2270
2270
|
if (transition != null) {
|
|
2271
2271
|
layer.setIntensityTransition(transition);
|