@maplibre/maplibre-react-native 10.0.0-alpha.2 → 10.0.0-alpha.21

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.
Files changed (400) hide show
  1. package/.sonarcloud.properties +1 -1
  2. package/CHANGELOG.md +141 -50
  3. package/CONTRIBUTING.md +10 -9
  4. package/README.md +1 -1
  5. package/android/build.gradle +1 -1
  6. package/android/rctmln/.settings/org.eclipse.buildship.core.prefs +2 -0
  7. package/android/{rctmgl → rctmln}/build.gradle +5 -5
  8. package/android/{rctmgl → rctmln}/src/main/AndroidManifest.xml +1 -1
  9. package/android/rctmln/src/main/java/com/maplibre/rctmln/RCTMLNPackage.java +99 -0
  10. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/components/AbstractEvent.java +1 -1
  11. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/components/AbstractEventEmitter.java +2 -2
  12. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/components/AbstractMapFeature.java +4 -4
  13. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/components/annotation/MarkerView.java +3 -3
  14. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/components/annotation/MarkerViewManager.java +12 -10
  15. 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
  16. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNCalloutManager.java +22 -0
  17. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/annotation/RCTMGLMarkerView.java → rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNMarkerView.java} +18 -18
  18. 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
  19. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/annotation/RCTMGLPointAnnotation.java → rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNPointAnnotation.java} +27 -26
  20. 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
  21. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/components/camera/CameraStop.java +21 -19
  22. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/components/camera/CameraUpdateItem.java +12 -12
  23. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/components/camera/CameraUpdateQueue.java +4 -4
  24. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/camera/RCTMGLCamera.java → rctmln/src/main/java/com/maplibre/rctmln/components/camera/RCTMLNCamera.java} +50 -50
  25. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/camera/RCTMGLCameraManager.java → rctmln/src/main/java/com/maplibre/rctmln/components/camera/RCTMLNCameraManager.java} +19 -19
  26. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/components/camera/constants/CameraMode.java +1 -1
  27. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/images/RCTMGLImages.java → rctmln/src/main/java/com/maplibre/rctmln/components/images/RCTMLNImages.java} +27 -27
  28. 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
  29. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/components/location/LocationComponentManager.java +25 -16
  30. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/location/RCTMGLNativeUserLocation.java → rctmln/src/main/java/com/maplibre/rctmln/components/location/RCTMLNNativeUserLocation.java} +25 -15
  31. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/location/RCTMGLNativeUserLocationManager.java → rctmln/src/main/java/com/maplibre/rctmln/components/location/RCTMLNNativeUserLocationManager.java} +12 -7
  32. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/components/mapview/LayerSourceInfo.java +10 -10
  33. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/mapview/RCTMLNAndroidTextureMapView.java +16 -0
  34. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/mapview/RCTMLNAndroidTextureMapViewManager.java +31 -0
  35. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/mapview/RCTMGLMapView.java → rctmln/src/main/java/com/maplibre/rctmln/components/mapview/RCTMLNMapView.java} +171 -171
  36. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/mapview/RCTMGLMapViewManager.java → rctmln/src/main/java/com/maplibre/rctmln/components/mapview/RCTMLNMapViewManager.java} +46 -46
  37. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/components/mapview/helpers/CameraChangeTracker.java +1 -1
  38. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/RCTMGLStyle.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/RCTMLNStyle.java} +12 -12
  39. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/RCTMGLStyleFactory.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/RCTMLNStyleFactory.java} +434 -423
  40. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/RCTMGLStyleFunctionParser.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/RCTMLNStyleFunctionParser.java} +8 -9
  41. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/RCTMGLStyleValue.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/RCTMLNStyleValue.java} +9 -9
  42. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/components/styles/layers/RCTLayer.java +17 -17
  43. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNBackgroundLayer.java +27 -0
  44. 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
  45. 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} +10 -10
  46. 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
  47. 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} +10 -10
  48. 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
  49. 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} +10 -10
  50. 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
  51. 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} +10 -10
  52. 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
  53. 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} +10 -10
  54. 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
  55. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNRasterLayer.java +27 -0
  56. 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
  57. 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} +10 -10
  58. 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
  59. 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} +16 -16
  60. 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
  61. 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} +7 -7
  62. 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} +15 -15
  63. 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} +6 -6
  64. 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
  65. 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} +22 -22
  66. 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} +35 -35
  67. 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} +5 -5
  68. 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
  69. 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} +10 -10
  70. 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
  71. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/components/styles/sources/RCTSource.java +14 -14
  72. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/events/AbstractEvent.java +1 -1
  73. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/events/AndroidCallbackEvent.java +2 -2
  74. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/events/EventEmitter.java +1 -1
  75. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/events/FeatureClickEvent.java +8 -8
  76. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/events/IEvent.java +1 -1
  77. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/events/ImageMissingEvent.java +3 -3
  78. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/events/LocationEvent.java +6 -6
  79. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/events/MapChangeEvent.java +3 -3
  80. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/events/MapClickEvent.java +5 -5
  81. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/events/MapUserTrackingModeEvent.java +4 -4
  82. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/events/OfflineEvent.java +1 -1
  83. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/events/PointAnnotationClickEvent.java +10 -10
  84. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/events/PointAnnotationDragEvent.java +10 -10
  85. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/events/constants/EventKeys.java +1 -1
  86. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/events/constants/EventTypes.java +1 -1
  87. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/http/CustomHeadersInterceptor.java +1 -1
  88. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/location/LocationManager.java +7 -7
  89. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/location/UserLocation.java +2 -2
  90. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/location/UserLocationVerticalAlignment.java +1 -1
  91. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/location/UserTrackingMode.java +4 -4
  92. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/location/UserTrackingState.java +1 -1
  93. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/modules/RCTMGLLocationModule.java → rctmln/src/main/java/com/maplibre/rctmln/modules/RCTMLNLocationModule.java} +11 -11
  94. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/modules/RCTMGLLogging.java → rctmln/src/main/java/com/maplibre/rctmln/modules/RCTMLNLogging.java} +7 -7
  95. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/modules/RCTMGLModule.java → rctmln/src/main/java/com/maplibre/rctmln/modules/RCTMLNModule.java} +30 -30
  96. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/modules/RCTMGLOfflineModule.java → rctmln/src/main/java/com/maplibre/rctmln/modules/RCTMLNOfflineModule.java} +21 -21
  97. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/modules/RCTMGLSnapshotModule.java → rctmln/src/main/java/com/maplibre/rctmln/modules/RCTMLNSnapshotModule.java} +14 -14
  98. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/utils/BitmapUtils.java +1 -1
  99. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/utils/ClusterPropertyEntry.java +2 -2
  100. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/utils/ConvertUtils.java +1 -1
  101. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/utils/DownloadMapImageTask.java +6 -6
  102. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/utils/ExpressionParser.java +3 -3
  103. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/utils/GeoJSONUtils.java +14 -14
  104. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/utils/GeoViewport.java +4 -4
  105. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/utils/ImageEntry.java +1 -1
  106. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/utils/ResourceUtils.java +1 -1
  107. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/utils/SimpleEventCallback.java +5 -5
  108. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/utils/SphericalMercator.java +2 -2
  109. package/android/rctmln/src/main/res/values/strings.xml +3 -0
  110. package/android/settings.gradle +1 -1
  111. package/docs/Annotations.md +1 -1
  112. package/docs/Callout.md +1 -1
  113. package/docs/Camera.md +4 -4
  114. package/docs/CustomHttpHeaders.md +4 -4
  115. package/docs/FillExtrusionLayer.md +19 -0
  116. package/docs/MapView.md +12 -36
  117. package/docs/MarkerView.md +1 -1
  118. package/docs/NativeUserLocation.md +2 -1
  119. package/docs/PointAnnotation.md +2 -2
  120. package/docs/RasterLayer.md +1 -1
  121. package/docs/SymbolLayer.md +7 -5
  122. package/docs/UserLocation.md +13 -4
  123. package/docs/docs.json +79 -52
  124. package/docs/offlineManager.md +246 -0
  125. package/ios/{RCTMGL → RCTMLN}/CameraMode.h +1 -1
  126. package/ios/{RCTMGL → RCTMLN}/CameraMode.m +1 -1
  127. package/ios/{RCTMGL → RCTMLN}/CameraStop.h +4 -4
  128. package/ios/{RCTMGL → RCTMLN}/CameraStop.m +7 -7
  129. package/ios/{RCTMGL → RCTMLN}/CameraUpdateItem.h +3 -3
  130. package/ios/{RCTMGL → RCTMLN}/CameraUpdateItem.m +19 -19
  131. package/ios/{RCTMGL → RCTMLN}/CameraUpdateQueue.h +3 -3
  132. package/ios/{RCTMGL → RCTMLN}/CameraUpdateQueue.m +3 -3
  133. package/ios/{RCTMGL → RCTMLN}/FilterParser.h +1 -1
  134. package/ios/{RCTMGL → RCTMLN}/FilterParser.m +3 -3
  135. package/ios/{RCTMGL/MGLCustomHeaders.h → RCTMLN/MLNCustomHeaders.h} +3 -3
  136. package/ios/{RCTMGL/MGLCustomHeaders.m → RCTMLN/MLNCustomHeaders.m} +11 -11
  137. package/ios/RCTMLN/MLNFaux3DUserLocationAnnotationView.h +23 -0
  138. package/ios/{RCTMGL/MGLFaux3DUserLocationAnnotationView.m → RCTMLN/MLNFaux3DUserLocationAnnotationView.m} +38 -38
  139. package/ios/{RCTMGL/MGLModule.h → RCTMLN/MLNModule.h} +3 -3
  140. package/ios/{RCTMGL/MGLModule.m → RCTMLN/MLNModule.m} +91 -91
  141. package/ios/{RCTMGL/MGLOfflineModule.h → RCTMLN/MLNOfflineModule.h} +4 -4
  142. package/ios/{RCTMGL/MGLOfflineModule.m → RCTMLN/MLNOfflineModule.m} +120 -99
  143. package/ios/{RCTMGL/MGLSnapshotModule.h → RCTMLN/MLNSnapshotModule.h} +3 -3
  144. package/ios/{RCTMGL/MGLSnapshotModule.m → RCTMLN/MLNSnapshotModule.m} +14 -14
  145. package/ios/{RCTMGL/MGLUserLocationHeadingArrowLayer.h → RCTMLN/MLNUserLocationHeadingArrowLayer.h} +4 -4
  146. package/ios/{RCTMGL/MGLUserLocationHeadingArrowLayer.m → RCTMLN/MLNUserLocationHeadingArrowLayer.m} +7 -7
  147. package/ios/RCTMLN/MLNUserLocationHeadingBeamLayer.h +11 -0
  148. package/ios/{RCTMGL/MGLUserLocationHeadingBeamLayer.m → RCTMLN/MLNUserLocationHeadingBeamLayer.m} +10 -10
  149. package/ios/{RCTMGL/MGLUserLocationHeadingIndicator.h → RCTMLN/MLNUserLocationHeadingIndicator.h} +3 -3
  150. package/ios/{RCTMGL → RCTMLN}/RCTConvert+Mapbox.h +1 -1
  151. package/ios/{RCTMGL → RCTMLN}/RCTConvert+Mapbox.m +1 -1
  152. package/ios/{RCTMGL/RCTMGL.h → RCTMLN/RCTMLN.h} +3 -3
  153. package/ios/{RCTMGL/RCTMGL.m → RCTMLN/RCTMLN.m} +4 -4
  154. package/ios/RCTMLN/RCTMLNBackgroundLayer.h +14 -0
  155. package/ios/RCTMLN/RCTMLNBackgroundLayer.m +27 -0
  156. package/ios/{RCTMGL/RCTMGLBackgroundLayerManager.h → RCTMLN/RCTMLNBackgroundLayerManager.h} +3 -3
  157. package/ios/{RCTMGL/RCTMGLBackgroundLayerManager.m → RCTMLN/RCTMLNBackgroundLayerManager.m} +6 -6
  158. package/ios/{RCTMGL/RCTMGLCallout.h → RCTMLN/RCTMLNCallout.h} +4 -4
  159. package/ios/{RCTMGL/RCTMGLCallout.m → RCTMLN/RCTMLNCallout.m} +6 -6
  160. package/ios/{RCTMGL/RCTMGLCalloutManager.h → RCTMLN/RCTMLNCalloutManager.h} +3 -3
  161. package/ios/RCTMLN/RCTMLNCalloutManager.m +21 -0
  162. package/ios/{RCTMGL/RCTMGLCamera.h → RCTMLN/RCTMLNCamera.h} +6 -6
  163. package/ios/{RCTMGL/RCTMGLCamera.m → RCTMLN/RCTMLNCamera.m} +30 -30
  164. package/ios/{RCTMGL/RCTMGLCameraManager.h → RCTMLN/RCTMLNCameraManager.h} +3 -3
  165. package/ios/{RCTMGL/RCTMGLCameraManager.m → RCTMLN/RCTMLNCameraManager.m} +7 -7
  166. package/ios/RCTMLN/RCTMLNCircleLayer.h +13 -0
  167. package/ios/{RCTMGL/RCTMGLCircleLayer.m → RCTMLN/RCTMLNCircleLayer.m} +10 -10
  168. package/ios/{RCTMGL/RCTMGLCircleLayerManager.h → RCTMLN/RCTMLNCircleLayerManager.h} +3 -3
  169. package/ios/{RCTMGL/RCTMGLCircleLayerManager.m → RCTMLN/RCTMLNCircleLayerManager.m} +6 -6
  170. package/ios/{RCTMGL/RCTMGLEvent.h → RCTMLN/RCTMLNEvent.h} +6 -6
  171. package/ios/{RCTMGL/RCTMGLEvent.m → RCTMLN/RCTMLNEvent.m} +8 -8
  172. package/ios/{RCTMGL/RCTMGLEventProtocol.h → RCTMLN/RCTMLNEventProtocol.h} +3 -3
  173. package/ios/{RCTMGL/RCTMGLEventTypes.h → RCTMLN/RCTMLNEventTypes.h} +3 -3
  174. package/ios/{RCTMGL/RCTMGLEventTypes.m → RCTMLN/RCTMLNEventTypes.m} +4 -4
  175. package/ios/RCTMLN/RCTMLNFillExtrusionLayer.h +14 -0
  176. package/ios/{RCTMGL/RCTMGLFillExtrusionLayer.m → RCTMLN/RCTMLNFillExtrusionLayer.m} +10 -10
  177. package/ios/{RCTMGL/RCTMGLFillExtrusionLayerManager.h → RCTMLN/RCTMLNFillExtrusionLayerManager.h} +3 -3
  178. package/ios/{RCTMGL/RCTMGLFillExtrusionLayerManager.m → RCTMLN/RCTMLNFillExtrusionLayerManager.m} +6 -6
  179. package/ios/RCTMLN/RCTMLNFillLayer.h +14 -0
  180. package/ios/{RCTMGL/RCTMGLFillLayer.m → RCTMLN/RCTMLNFillLayer.m} +10 -10
  181. package/ios/{RCTMGL/RCTMGLFillLayerManager.h → RCTMLN/RCTMLNFillLayerManager.h} +3 -3
  182. package/ios/{RCTMGL/RCTMGLFillLayerManager.m → RCTMLN/RCTMLNFillLayerManager.m} +6 -6
  183. package/ios/RCTMLN/RCTMLNHeatmapLayer.h +12 -0
  184. package/ios/RCTMLN/RCTMLNHeatmapLayer.m +30 -0
  185. package/ios/RCTMLN/RCTMLNHeatmapLayerManager.h +12 -0
  186. package/ios/{RCTMGL/RCTMGLHeatmapLayerManager.m → RCTMLN/RCTMLNHeatmapLayerManager.m} +6 -6
  187. package/ios/{RCTMGL/RCTMGLImageQueue.h → RCTMLN/RCTMLNImageQueue.h} +3 -3
  188. package/ios/{RCTMGL/RCTMGLImageQueue.m → RCTMLN/RCTMLNImageQueue.m} +10 -10
  189. package/ios/{RCTMGL/RCTMGLImageQueueOperation.h → RCTMLN/RCTMLNImageQueueOperation.h} +3 -3
  190. package/ios/{RCTMGL/RCTMGLImageQueueOperation.m → RCTMLN/RCTMLNImageQueueOperation.m} +12 -12
  191. package/ios/{RCTMGL/RCTMGLImageSource.h → RCTMLN/RCTMLNImageSource.h} +4 -4
  192. package/ios/{RCTMGL/RCTMGLImageSource.m → RCTMLN/RCTMLNImageSource.m} +11 -11
  193. package/ios/{RCTMGL/RCTMGLImageSourceManager.h → RCTMLN/RCTMLNImageSourceManager.h} +3 -3
  194. package/ios/{RCTMGL/RCTMGLImageSourceManager.m → RCTMLN/RCTMLNImageSourceManager.m} +6 -6
  195. package/ios/{RCTMGL/RCTMGLImages.h → RCTMLN/RCTMLNImages.h} +4 -4
  196. package/ios/{RCTMGL/RCTMGLImages.m → RCTMLN/RCTMLNImages.m} +10 -10
  197. package/ios/RCTMLN/RCTMLNImagesManager.h +5 -0
  198. package/ios/{RCTMGL/RCTMGLImagesManager.m → RCTMLN/RCTMLNImagesManager.m} +4 -4
  199. package/ios/{RCTMGL/RCTMGLLayer.h → RCTMLN/RCTMLNLayer.h} +11 -11
  200. package/ios/{RCTMGL/RCTMGLLayer.m → RCTMLN/RCTMLNLayer.m} +17 -17
  201. package/ios/{RCTMGL/RCTMGLLight.h → RCTMLN/RCTMLNLight.h} +5 -5
  202. package/ios/{RCTMGL/RCTMGLLight.m → RCTMLN/RCTMLNLight.m} +9 -9
  203. package/ios/{RCTMGL/RCTMGLLightManager.h → RCTMLN/RCTMLNLightManager.h} +3 -3
  204. package/ios/{RCTMGL/RCTMGLLightManager.m → RCTMLN/RCTMLNLightManager.m} +6 -6
  205. package/ios/RCTMLN/RCTMLNLineLayer.h +14 -0
  206. package/ios/{RCTMGL/RCTMGLLineLayer.m → RCTMLN/RCTMLNLineLayer.m} +10 -10
  207. package/ios/{RCTMGL/RCTMGLLineLayerManager.h → RCTMLN/RCTMLNLineLayerManager.h} +3 -3
  208. package/ios/{RCTMGL/RCTMGLLineLayerManager.m → RCTMLN/RCTMLNLineLayerManager.m} +6 -6
  209. package/ios/{RCTMGL/RCTMGLLocation.h → RCTMLN/RCTMLNLocation.h} +3 -3
  210. package/ios/{RCTMGL/RCTMGLLocation.m → RCTMLN/RCTMLNLocation.m} +4 -4
  211. package/ios/RCTMLN/RCTMLNLocationManager.h +30 -0
  212. package/ios/{RCTMGL/RCTMGLLocationManager.m → RCTMLN/RCTMLNLocationManager.m} +16 -16
  213. package/ios/RCTMLN/RCTMLNLocationManagerDelegate.h +20 -0
  214. package/ios/{RCTMGL/RCTMGLLocationModule.h → RCTMLN/RCTMLNLocationModule.h} +3 -3
  215. package/ios/{RCTMGL/RCTMGLLocationModule.m → RCTMLN/RCTMLNLocationModule.m} +13 -13
  216. package/ios/RCTMLN/RCTMLNLogging.h +18 -0
  217. package/ios/{RCTMGL/RCTMGLLogging.m → RCTMLN/RCTMLNLogging.m} +29 -29
  218. package/ios/{RCTMGL/RCTMGLMapTouchEvent.h → RCTMLN/RCTMLNMapTouchEvent.h} +10 -10
  219. package/ios/{RCTMGL/RCTMGLMapTouchEvent.m → RCTMLN/RCTMLNMapTouchEvent.m} +18 -18
  220. package/ios/{RCTMGL/RCTMGLMapView.h → RCTMLN/RCTMLNMapView.h} +30 -30
  221. package/ios/{RCTMGL/RCTMGLMapView.m → RCTMLN/RCTMLNMapView.m} +82 -82
  222. package/ios/{RCTMGL/RCTMGLMapViewManager.h → RCTMLN/RCTMLNMapViewManager.h} +4 -4
  223. package/ios/{RCTMGL/RCTMGLMapViewManager.m → RCTMLN/RCTMLNMapViewManager.m} +117 -117
  224. package/ios/{RCTMGL/RCTMGLNativeUserLocation.h → RCTMLN/RCTMLNNativeUserLocation.h} +5 -5
  225. package/ios/{RCTMGL/RCTMGLNativeUserLocation.m → RCTMLN/RCTMLNNativeUserLocation.m} +10 -10
  226. package/ios/RCTMLN/RCTMLNNativeUserLocationManager.h +5 -0
  227. package/ios/RCTMLN/RCTMLNNativeUserLocationManager.m +25 -0
  228. package/ios/{RCTMGL/RCTMGLPointAnnotation.h → RCTMLN/RCTMLNPointAnnotation.h} +8 -8
  229. package/ios/{RCTMGL/RCTMGLPointAnnotation.m → RCTMLN/RCTMLNPointAnnotation.m} +21 -21
  230. package/ios/{RCTMGL/RCTMGLPointAnnotationManager.h → RCTMLN/RCTMLNPointAnnotationManager.h} +3 -3
  231. package/ios/{RCTMGL/RCTMGLPointAnnotationManager.m → RCTMLN/RCTMLNPointAnnotationManager.m} +6 -6
  232. package/ios/RCTMLN/RCTMLNRasterLayer.h +14 -0
  233. package/ios/RCTMLN/RCTMLNRasterLayer.m +30 -0
  234. package/ios/{RCTMGL/RCTMGLRasterLayerManager.h → RCTMLN/RCTMLNRasterLayerManager.h} +3 -3
  235. package/ios/{RCTMGL/RCTMGLRasterLayerManager.m → RCTMLN/RCTMLNRasterLayerManager.m} +6 -6
  236. package/ios/{RCTMGL/RCTMGLRasterSource.h → RCTMLN/RCTMLNRasterSource.h} +5 -5
  237. package/ios/{RCTMGL/RCTMGLRasterSource.m → RCTMLN/RCTMLNRasterSource.m} +11 -11
  238. package/ios/{RCTMGL/RCTMGLRasterSourceManager.h → RCTMLN/RCTMLNRasterSourceManager.h} +3 -3
  239. package/ios/{RCTMGL/RCTMGLRasterSourceManager.m → RCTMLN/RCTMLNRasterSourceManager.m} +6 -6
  240. package/ios/{RCTMGL/RCTMGLShapeSource.h → RCTMLN/RCTMLNShapeSource.h} +10 -10
  241. package/ios/{RCTMGL/RCTMGLShapeSource.m → RCTMLN/RCTMLNShapeSource.m} +50 -50
  242. package/ios/{RCTMGL/RCTMGLShapeSourceManager.h → RCTMLN/RCTMLNShapeSourceManager.h} +3 -3
  243. package/ios/{RCTMGL/RCTMGLShapeSourceManager.m → RCTMLN/RCTMLNShapeSourceManager.m} +25 -25
  244. package/ios/{RCTMGL/RCTMGLSource.h → RCTMLN/RCTMLNSource.h} +8 -8
  245. package/ios/{RCTMGL/RCTMGLSource.m → RCTMLN/RCTMLNSource.m} +15 -15
  246. package/ios/RCTMLN/RCTMLNStyle.h +223 -0
  247. package/ios/{RCTMGL/RCTMGLStyle.m → RCTMLN/RCTMLNStyle.m} +352 -345
  248. package/ios/{RCTMGL/RCTMGLStyleValue.h → RCTMLN/RCTMLNStyleValue.h} +7 -7
  249. package/ios/{RCTMGL/RCTMGLStyleValue.m → RCTMLN/RCTMLNStyleValue.m} +24 -24
  250. package/ios/{RCTMGL/RCTMGLSymbolLayer.h → RCTMLN/RCTMLNSymbolLayer.h} +4 -4
  251. package/ios/{RCTMGL/RCTMGLSymbolLayer.m → RCTMLN/RCTMLNSymbolLayer.m} +12 -12
  252. package/ios/{RCTMGL/RCTMGLSymbolLayerManager.h → RCTMLN/RCTMLNSymbolLayerManager.h} +3 -3
  253. package/ios/{RCTMGL/RCTMGLSymbolLayerManager.m → RCTMLN/RCTMLNSymbolLayerManager.m} +6 -6
  254. package/ios/{RCTMGL/RCTMGLTileSource.h → RCTMLN/RCTMLNTileSource.h} +6 -6
  255. package/ios/RCTMLN/RCTMLNTileSource.m +31 -0
  256. package/ios/RCTMLN/RCTMLNUserLocation.h +15 -0
  257. package/ios/{RCTMGL/RCTMGLUserLocation.m → RCTMLN/RCTMLNUserLocation.m} +8 -8
  258. package/ios/{RCTMGL/RCTMGLUtils.h → RCTMLN/RCTMLNUtils.h} +7 -7
  259. package/ios/{RCTMGL/RCTMGLUtils.m → RCTMLN/RCTMLNUtils.m} +20 -20
  260. package/ios/{RCTMGL/RCTMGLVectorLayer.h → RCTMLN/RCTMLNVectorLayer.h} +4 -4
  261. package/ios/{RCTMGL/RCTMGLVectorLayer.m → RCTMLN/RCTMLNVectorLayer.m} +7 -7
  262. package/ios/{RCTMGL/RCTMGLVectorSource.h → RCTMLN/RCTMLNVectorSource.h} +6 -6
  263. package/ios/{RCTMGL/RCTMGLVectorSource.m → RCTMLN/RCTMLNVectorSource.m} +9 -9
  264. package/ios/{RCTMGL/RCTMGLVectorSourceManager.h → RCTMLN/RCTMLNVectorSourceManager.h} +3 -3
  265. package/ios/{RCTMGL/RCTMGLVectorSourceManager.m → RCTMLN/RCTMLNVectorSourceManager.m} +11 -11
  266. package/ios/{RCTMGL → RCTMLN}/RNMBImageUtils.h +1 -1
  267. package/ios/{RCTMGL → RCTMLN}/RNMBImageUtils.m +2 -2
  268. package/ios/{RCTMGL → RCTMLN}/ViewManager.h +3 -3
  269. package/ios/{RCTMGL → RCTMLN}/ViewManager.m +4 -4
  270. package/ios/RCTMLN.xcodeproj/project.pbxproj +775 -0
  271. package/ios/install.md +6 -7
  272. package/javascript/{MGLModule.ts → MLNModule.ts} +4 -4
  273. package/javascript/Maplibre.ts +44 -39
  274. package/javascript/components/BackgroundLayer.tsx +34 -27
  275. package/javascript/components/Callout.tsx +59 -59
  276. package/javascript/components/Camera.tsx +436 -493
  277. package/javascript/components/CircleLayer.tsx +35 -28
  278. package/javascript/components/FillExtrusionLayer.tsx +29 -29
  279. package/javascript/components/FillLayer.tsx +28 -25
  280. package/javascript/components/HeadingIndicator.tsx +8 -8
  281. package/javascript/components/HeatmapLayer.tsx +28 -26
  282. package/javascript/components/ImageSource.tsx +31 -38
  283. package/javascript/components/Images.tsx +54 -54
  284. package/javascript/components/Light.tsx +25 -52
  285. package/javascript/components/LineLayer.tsx +29 -26
  286. package/javascript/components/MapView.tsx +635 -580
  287. package/javascript/components/MarkerView.tsx +34 -49
  288. package/javascript/components/NativeUserLocation.tsx +12 -10
  289. package/javascript/components/PointAnnotation.tsx +121 -97
  290. package/javascript/components/RasterLayer.tsx +28 -25
  291. package/javascript/components/RasterSource.tsx +45 -48
  292. package/javascript/components/ShapeSource.tsx +300 -250
  293. package/javascript/components/Style.tsx +69 -59
  294. package/javascript/components/SymbolLayer.tsx +41 -35
  295. package/javascript/components/UserLocation.tsx +189 -168
  296. package/javascript/components/VectorSource.tsx +139 -128
  297. package/javascript/components/annotations/Annotation.tsx +119 -89
  298. package/javascript/hooks/useAbstractLayer.ts +127 -0
  299. package/javascript/hooks/useAbstractSource.ts +34 -0
  300. package/javascript/hooks/useNativeBridge.ts +125 -0
  301. package/javascript/hooks/useNativeRef.ts +13 -0
  302. package/javascript/hooks/useOnce.ts +12 -0
  303. package/javascript/index.ts +2 -2
  304. package/javascript/modules/location/locationManager.ts +6 -6
  305. package/javascript/modules/offline/OfflineCreatePackOptions.ts +5 -5
  306. package/javascript/modules/offline/OfflinePack.ts +5 -5
  307. package/javascript/modules/offline/offlineManager.ts +13 -14
  308. package/javascript/modules/snapshot/SnapshotOptions.ts +5 -5
  309. package/javascript/modules/snapshot/snapshotManager.ts +3 -3
  310. package/javascript/requestAndroidLocationPermissions.ts +3 -3
  311. package/javascript/types/OnPressEvent.ts +1 -1
  312. package/javascript/types/index.ts +6 -2
  313. package/javascript/utils/BridgeValue.ts +20 -20
  314. package/javascript/utils/Logger.ts +17 -17
  315. package/javascript/utils/MaplibreStyles.d.ts +399 -393
  316. package/javascript/utils/StyleValue.ts +12 -12
  317. package/javascript/utils/animated/AbstractAnimatedCoordinates.ts +6 -6
  318. package/javascript/utils/animated/Animated.ts +38 -16
  319. package/javascript/utils/animated/AnimatedCoordinatesArray.ts +7 -11
  320. package/javascript/utils/animated/AnimatedExtractCoordinateFromArray.ts +3 -3
  321. package/javascript/utils/animated/AnimatedPoint.ts +7 -7
  322. package/javascript/utils/animated/AnimatedRouteCoordinatesArray.ts +16 -20
  323. package/javascript/utils/animated/AnimatedShape.ts +16 -16
  324. package/javascript/utils/deprecation.ts +6 -3
  325. package/javascript/utils/filterUtils.ts +1 -1
  326. package/javascript/utils/geoUtils.ts +8 -8
  327. package/javascript/utils/index.ts +14 -14
  328. package/javascript/utils/styleMap.ts +19 -18
  329. package/maplibre-react-native.podspec +8 -8
  330. package/package.json +58 -39
  331. package/plugin/build/withMapLibre.d.ts +2 -2
  332. package/plugin/build/withMapLibre.js +33 -34
  333. package/react-native.config.js +1 -1
  334. package/scripts/autogenHelpers/globals.js +11 -10
  335. package/scripts/autogenerate.js +24 -17
  336. package/scripts/templates/{RCTMGLStyle.h.ejs → RCTMLNStyle.h.ejs} +8 -8
  337. package/scripts/templates/{RCTMGLStyle.m.ejs → RCTMLNStyle.m.ejs} +10 -10
  338. package/scripts/templates/{RCTMGLStyleFactory.java.ejs → RCTMLNStyleFactory.java.ejs} +24 -24
  339. package/setup-jest.js +4 -10
  340. package/style-spec/v8.json +1248 -655
  341. package/tsconfig.json +0 -1
  342. package/.eslintignore +0 -3
  343. package/.eslintrc.js +0 -166
  344. package/.prettierrc.js +0 -7
  345. package/.yarn/plugins/@yarnpkg/plugin-typescript.cjs +0 -9
  346. package/.yarn/sdks/eslint/bin/eslint.js +0 -20
  347. package/.yarn/sdks/eslint/lib/api.js +0 -20
  348. package/.yarn/sdks/eslint/package.json +0 -6
  349. package/.yarn/sdks/integrations.yml +0 -5
  350. package/.yarn/sdks/prettier/index.js +0 -20
  351. package/.yarn/sdks/prettier/package.json +0 -6
  352. package/.yarn/sdks/typescript/bin/tsc +0 -20
  353. package/.yarn/sdks/typescript/bin/tsserver +0 -20
  354. package/.yarn/sdks/typescript/lib/tsc.js +0 -20
  355. package/.yarn/sdks/typescript/lib/tsserver.js +0 -225
  356. package/.yarn/sdks/typescript/lib/tsserverlibrary.js +0 -225
  357. package/.yarn/sdks/typescript/lib/typescript.js +0 -20
  358. package/.yarn/sdks/typescript/package.json +0 -6
  359. package/android/rctmgl/.settings/org.eclipse.buildship.core.prefs +0 -2
  360. package/android/rctmgl/src/main/java/com/mapbox/rctmgl/RCTMGLPackage.java +0 -99
  361. package/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/annotation/RCTMGLCalloutManager.java +0 -22
  362. package/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/mapview/RCTMGLAndroidTextureMapView.java +0 -16
  363. package/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/mapview/RCTMGLAndroidTextureMapViewManager.java +0 -31
  364. package/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLBackgroundLayer.java +0 -27
  365. package/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLRasterLayer.java +0 -27
  366. package/android/rctmgl/src/main/res/values/strings.xml +0 -3
  367. package/ios/RCTMGL/MGLFaux3DUserLocationAnnotationView.h +0 -23
  368. package/ios/RCTMGL/MGLUserLocationHeadingBeamLayer.h +0 -11
  369. package/ios/RCTMGL/RCTMGLBackgroundLayer.h +0 -14
  370. package/ios/RCTMGL/RCTMGLBackgroundLayer.m +0 -27
  371. package/ios/RCTMGL/RCTMGLCalloutManager.m +0 -21
  372. package/ios/RCTMGL/RCTMGLCircleLayer.h +0 -13
  373. package/ios/RCTMGL/RCTMGLFillExtrusionLayer.h +0 -14
  374. package/ios/RCTMGL/RCTMGLFillLayer.h +0 -14
  375. package/ios/RCTMGL/RCTMGLHeatmapLayer.h +0 -12
  376. package/ios/RCTMGL/RCTMGLHeatmapLayer.m +0 -30
  377. package/ios/RCTMGL/RCTMGLHeatmapLayerManager.h +0 -12
  378. package/ios/RCTMGL/RCTMGLImagesManager.h +0 -5
  379. package/ios/RCTMGL/RCTMGLLineLayer.h +0 -14
  380. package/ios/RCTMGL/RCTMGLLocationManager.h +0 -30
  381. package/ios/RCTMGL/RCTMGLLocationManagerDelegate.h +0 -20
  382. package/ios/RCTMGL/RCTMGLLogging.h +0 -18
  383. package/ios/RCTMGL/RCTMGLNativeUserLocationManager.h +0 -5
  384. package/ios/RCTMGL/RCTMGLNativeUserLocationManager.m +0 -25
  385. package/ios/RCTMGL/RCTMGLRasterLayer.h +0 -14
  386. package/ios/RCTMGL/RCTMGLRasterLayer.m +0 -30
  387. package/ios/RCTMGL/RCTMGLStyle.h +0 -222
  388. package/ios/RCTMGL/RCTMGLTileSource.m +0 -31
  389. package/ios/RCTMGL/RCTMGLUserLocation.h +0 -15
  390. package/ios/RCTMGL.xcodeproj/project.pbxproj +0 -775
  391. package/javascript/@types/assets.d.ts +0 -4
  392. package/javascript/components/AbstractLayer.tsx +0 -107
  393. package/javascript/components/AbstractSource.tsx +0 -27
  394. package/javascript/components/NativeBridgeComponent.tsx +0 -117
  395. /package/android/{rctmgl → rctmln}/proguard-rules.pro +0 -0
  396. /package/android/{rctmgl → rctmln}/src/main/res/drawable/empty.xml +0 -0
  397. /package/android/{rctmgl → rctmln}/src/main/res/drawable/empty_drawable.png +0 -0
  398. /package/android/{rctmgl → rctmln}/src/main/res/drawable-xxhdpi/red_marker.png +0 -0
  399. /package/android/{rctmgl → rctmln}/src/main/res/layout/annotation.xml +0 -0
  400. /package/ios/{RCTMGL → RCTMLN}/index.d.ts +0 -0
@@ -1,7 +1,7 @@
1
1
  /* This file was generated from MapboxStyle.ts.ejs do not modify */
2
- import {type ImageSourcePropType} from 'react-native';
2
+ import { type ImageSourcePropType } from "react-native";
3
3
 
4
- export type Translation = {x: number; y: number} | [number, number];
4
+ export type Translation = { x: number; y: number } | [number, number];
5
5
 
6
6
  export interface Transition {
7
7
  duration: number;
@@ -12,98 +12,98 @@ export type FormattedString = string; /* TODO */
12
12
 
13
13
  type ExpressionName =
14
14
  // Types
15
- | 'array'
16
- | 'boolean'
17
- | 'collator'
18
- | 'format'
19
- | 'image'
20
- | 'literal'
21
- | 'number'
22
- | 'number-format'
23
- | 'object'
24
- | 'string'
25
- | 'to-boolean'
26
- | 'to-color'
27
- | 'to-number'
28
- | 'to-string'
29
- | 'typeof'
15
+ | "array"
16
+ | "boolean"
17
+ | "collator"
18
+ | "format"
19
+ | "image"
20
+ | "literal"
21
+ | "number"
22
+ | "number-format"
23
+ | "object"
24
+ | "string"
25
+ | "to-boolean"
26
+ | "to-color"
27
+ | "to-number"
28
+ | "to-string"
29
+ | "typeof"
30
30
  // Feature data
31
- | 'accumulated'
32
- | 'feature-state'
33
- | 'geometry-type'
34
- | 'id'
35
- | 'line-progress'
36
- | 'properties'
31
+ | "accumulated"
32
+ | "feature-state"
33
+ | "geometry-type"
34
+ | "id"
35
+ | "line-progress"
36
+ | "properties"
37
37
  // Lookup
38
- | 'at'
39
- | 'get'
40
- | 'has'
41
- | 'in'
42
- | 'index-of'
43
- | 'length'
44
- | 'slice'
38
+ | "at"
39
+ | "get"
40
+ | "has"
41
+ | "in"
42
+ | "index-of"
43
+ | "length"
44
+ | "slice"
45
45
  // Decision
46
- | '!'
47
- | '!='
48
- | '<'
49
- | '<='
50
- | '=='
51
- | '>'
52
- | '>='
53
- | 'all'
54
- | 'any'
55
- | 'case'
56
- | 'match'
57
- | 'coalesce'
58
- | 'within'
46
+ | "!"
47
+ | "!="
48
+ | "<"
49
+ | "<="
50
+ | "=="
51
+ | ">"
52
+ | ">="
53
+ | "all"
54
+ | "any"
55
+ | "case"
56
+ | "match"
57
+ | "coalesce"
58
+ | "within"
59
59
  // Ramps, scales, curves
60
- | 'interpolate'
61
- | 'interpolate-hcl'
62
- | 'interpolate-lab'
63
- | 'step'
60
+ | "interpolate"
61
+ | "interpolate-hcl"
62
+ | "interpolate-lab"
63
+ | "step"
64
64
  // Variable binding
65
- | 'let'
66
- | 'var'
65
+ | "let"
66
+ | "var"
67
67
  // String
68
- | 'concat'
69
- | 'downcase'
70
- | 'is-supported-script'
71
- | 'resolved-locale'
72
- | 'upcase'
68
+ | "concat"
69
+ | "downcase"
70
+ | "is-supported-script"
71
+ | "resolved-locale"
72
+ | "upcase"
73
73
  // Color
74
- | 'rgb'
75
- | 'rgba'
76
- | 'to-rgba'
74
+ | "rgb"
75
+ | "rgba"
76
+ | "to-rgba"
77
77
  // Math
78
- | '-'
79
- | '*'
80
- | '/'
81
- | '%'
82
- | '^'
83
- | '+'
84
- | 'abs'
85
- | 'acos'
86
- | 'asin'
87
- | 'atan'
88
- | 'ceil'
89
- | 'cos'
90
- | 'distance'
91
- | 'e'
92
- | 'floor'
93
- | 'ln'
94
- | 'ln2'
95
- | 'log10'
96
- | 'log2'
97
- | 'max'
98
- | 'min'
99
- | 'pi'
100
- | 'round'
101
- | 'sin'
102
- | 'sqrt'
103
- | 'tan'
78
+ | "-"
79
+ | "*"
80
+ | "/"
81
+ | "%"
82
+ | "^"
83
+ | "+"
84
+ | "abs"
85
+ | "acos"
86
+ | "asin"
87
+ | "atan"
88
+ | "ceil"
89
+ | "cos"
90
+ | "distance"
91
+ | "e"
92
+ | "floor"
93
+ | "ln"
94
+ | "ln2"
95
+ | "log10"
96
+ | "log2"
97
+ | "max"
98
+ | "min"
99
+ | "pi"
100
+ | "round"
101
+ | "sin"
102
+ | "sqrt"
103
+ | "tan"
104
104
  // Zoom, Heatmap
105
- | 'zoom'
106
- | 'heatmap-density';
105
+ | "zoom"
106
+ | "heatmap-density";
107
107
 
108
108
  type ExpressionField =
109
109
  | string
@@ -111,19 +111,19 @@ type ExpressionField =
111
111
  | boolean
112
112
  | Expression
113
113
  | ExpressionField[]
114
- | {[key: string]: ExpressionField};
114
+ | { [key: string]: ExpressionField };
115
115
 
116
116
  export type Expression = readonly [ExpressionName, ...ExpressionField[]];
117
117
 
118
118
  export type FilterExpression = Expression;
119
119
 
120
120
  type ExpressionParameters =
121
- | 'zoom'
122
- | 'feature'
123
- | 'feature-state'
124
- | 'sky-radial-progress'
125
- | 'line-progress'
126
- | 'heatmap-density';
121
+ | "zoom"
122
+ | "feature"
123
+ | "feature-state"
124
+ | "sky-radial-progress"
125
+ | "line-progress"
126
+ | "heatmap-density";
127
127
 
128
128
  type ResolvedImageType = ImageSourcePropType | string;
129
129
 
@@ -132,296 +132,296 @@ export type Value<T, AllowedParameters extends ExpressionParameters[] = []> =
132
132
  | T
133
133
  | Expression;
134
134
 
135
- enum VisibilityEnum {
135
+ export enum VisibilityEnum {
136
136
  /** The layer is shown. */
137
- Visible = 'visible',
137
+ Visible = "visible",
138
138
  /** The layer is not shown. */
139
- None = 'none',
139
+ None = "none",
140
140
  }
141
- type VisibilityEnumValues = 'visible' | 'none';
142
- enum FillTranslateAnchorEnum {
141
+ type VisibilityEnumValues = "visible" | "none";
142
+ export enum FillTranslateAnchorEnum {
143
143
  /** The fill is translated relative to the map. */
144
- Map = 'map',
144
+ Map = "map",
145
145
  /** The fill is translated relative to the viewport. */
146
- Viewport = 'viewport',
146
+ Viewport = "viewport",
147
147
  }
148
- type FillTranslateAnchorEnumValues = 'map' | 'viewport';
149
- enum LineCapEnum {
148
+ type FillTranslateAnchorEnumValues = "map" | "viewport";
149
+ export enum LineCapEnum {
150
150
  /** A cap with a squared-off end which is drawn to the exact endpoint of the line. */
151
- Butt = 'butt',
151
+ Butt = "butt",
152
152
  /** A cap with a rounded end which is drawn beyond the endpoint of the line at a radius of one-half of the line's width and centered on the endpoint of the line. */
153
- Round = 'round',
153
+ Round = "round",
154
154
  /** A cap with a squared-off end which is drawn beyond the endpoint of the line at a distance of one-half of the line's width. */
155
- Square = 'square',
155
+ Square = "square",
156
156
  }
157
- type LineCapEnumValues = 'butt' | 'round' | 'square';
158
- enum LineJoinEnum {
157
+ type LineCapEnumValues = "butt" | "round" | "square";
158
+ export enum LineJoinEnum {
159
159
  /** A join with a squared-off end which is drawn beyond the endpoint of the line at a distance of one-half of the line's width. */
160
- Bevel = 'bevel',
160
+ Bevel = "bevel",
161
161
  /** A join with a rounded end which is drawn beyond the endpoint of the line at a radius of one-half of the line's width and centered on the endpoint of the line. */
162
- Round = 'round',
162
+ Round = "round",
163
163
  /** A join with a sharp, angled corner which is drawn with the outer sides beyond the endpoint of the path until they meet. */
164
- Miter = 'miter',
164
+ Miter = "miter",
165
165
  }
166
- type LineJoinEnumValues = 'bevel' | 'round' | 'miter';
167
- enum LineTranslateAnchorEnum {
166
+ type LineJoinEnumValues = "bevel" | "round" | "miter";
167
+ export enum LineTranslateAnchorEnum {
168
168
  /** The line is translated relative to the map. */
169
- Map = 'map',
169
+ Map = "map",
170
170
  /** The line is translated relative to the viewport. */
171
- Viewport = 'viewport',
171
+ Viewport = "viewport",
172
172
  }
173
- type LineTranslateAnchorEnumValues = 'map' | 'viewport';
174
- enum SymbolPlacementEnum {
173
+ type LineTranslateAnchorEnumValues = "map" | "viewport";
174
+ export enum SymbolPlacementEnum {
175
175
  /** The label is placed at the point where the geometry is located. */
176
- Point = 'point',
176
+ Point = "point",
177
177
  /** The label is placed along the line of the geometry. Can only be used on `LineString` and `Polygon` geometries. */
178
- Line = 'line',
178
+ Line = "line",
179
179
  /** The label is placed at the center of the line of the geometry. Can only be used on `LineString` and `Polygon` geometries. Note that a single feature in a vector tile may contain multiple line geometries. */
180
- LineCenter = 'line-center',
180
+ LineCenter = "line-center",
181
181
  }
182
- type SymbolPlacementEnumValues = 'point' | 'line' | 'line-center';
183
- enum SymbolZOrderEnum {
182
+ type SymbolPlacementEnumValues = "point" | "line" | "line-center";
183
+ export enum SymbolZOrderEnum {
184
184
  /** Sorts symbols by `symbol-sort-key` if set. Otherwise, sorts symbols by their y-position relative to the viewport if `icon-allow-overlap` or `text-allow-overlap` is set to `true` or `icon-ignore-placement` or `text-ignore-placement` is `false`. */
185
- Auto = 'auto',
185
+ Auto = "auto",
186
186
  /** Sorts symbols by their y-position relative to the viewport if `icon-allow-overlap` or `text-allow-overlap` is set to `true` or `icon-ignore-placement` or `text-ignore-placement` is `false`. */
187
- ViewportY = 'viewport-y',
187
+ ViewportY = "viewport-y",
188
188
  /** Sorts symbols by `symbol-sort-key` if set. Otherwise, no sorting is applied; symbols are rendered in the same order as the source data. */
189
- Source = 'source',
189
+ Source = "source",
190
190
  }
191
- type SymbolZOrderEnumValues = 'auto' | 'viewport-y' | 'source';
192
- enum IconRotationAlignmentEnum {
191
+ type SymbolZOrderEnumValues = "auto" | "viewport-y" | "source";
192
+ export enum IconRotationAlignmentEnum {
193
193
  /** When `symbol-placement` is set to `point`, aligns icons east-west. When `symbol-placement` is set to `line` or `line-center`, aligns icon x-axes with the line. */
194
- Map = 'map',
194
+ Map = "map",
195
195
  /** Produces icons whose x-axes are aligned with the x-axis of the viewport, regardless of the value of `symbol-placement`. */
196
- Viewport = 'viewport',
196
+ Viewport = "viewport",
197
197
  /** When `symbol-placement` is set to `point`, this is equivalent to `viewport`. When `symbol-placement` is set to `line` or `line-center`, this is equivalent to `map`. */
198
- Auto = 'auto',
198
+ Auto = "auto",
199
199
  }
200
- type IconRotationAlignmentEnumValues = 'map' | 'viewport' | 'auto';
201
- enum IconTextFitEnum {
200
+ type IconRotationAlignmentEnumValues = "map" | "viewport" | "auto";
201
+ export enum IconTextFitEnum {
202
202
  /** The icon is displayed at its intrinsic aspect ratio. */
203
- None = 'none',
203
+ None = "none",
204
204
  /** The icon is scaled in the x-dimension to fit the width of the text. */
205
- Width = 'width',
205
+ Width = "width",
206
206
  /** The icon is scaled in the y-dimension to fit the height of the text. */
207
- Height = 'height',
207
+ Height = "height",
208
208
  /** The icon is scaled in both x- and y-dimensions. */
209
- Both = 'both',
209
+ Both = "both",
210
210
  }
211
- type IconTextFitEnumValues = 'none' | 'width' | 'height' | 'both';
212
- enum IconAnchorEnum {
211
+ type IconTextFitEnumValues = "none" | "width" | "height" | "both";
212
+ export enum IconAnchorEnum {
213
213
  /** The center of the icon is placed closest to the anchor. */
214
- Center = 'center',
214
+ Center = "center",
215
215
  /** The left side of the icon is placed closest to the anchor. */
216
- Left = 'left',
216
+ Left = "left",
217
217
  /** The right side of the icon is placed closest to the anchor. */
218
- Right = 'right',
218
+ Right = "right",
219
219
  /** The top of the icon is placed closest to the anchor. */
220
- Top = 'top',
220
+ Top = "top",
221
221
  /** The bottom of the icon is placed closest to the anchor. */
222
- Bottom = 'bottom',
222
+ Bottom = "bottom",
223
223
  /** The top left corner of the icon is placed closest to the anchor. */
224
- TopLeft = 'top-left',
224
+ TopLeft = "top-left",
225
225
  /** The top right corner of the icon is placed closest to the anchor. */
226
- TopRight = 'top-right',
226
+ TopRight = "top-right",
227
227
  /** The bottom left corner of the icon is placed closest to the anchor. */
228
- BottomLeft = 'bottom-left',
228
+ BottomLeft = "bottom-left",
229
229
  /** The bottom right corner of the icon is placed closest to the anchor. */
230
- BottomRight = 'bottom-right',
230
+ BottomRight = "bottom-right",
231
231
  }
232
232
  type IconAnchorEnumValues =
233
- | 'center'
234
- | 'left'
235
- | 'right'
236
- | 'top'
237
- | 'bottom'
238
- | 'top-left'
239
- | 'top-right'
240
- | 'bottom-left'
241
- | 'bottom-right';
242
- enum IconPitchAlignmentEnum {
233
+ | "center"
234
+ | "left"
235
+ | "right"
236
+ | "top"
237
+ | "bottom"
238
+ | "top-left"
239
+ | "top-right"
240
+ | "bottom-left"
241
+ | "bottom-right";
242
+ export enum IconPitchAlignmentEnum {
243
243
  /** The icon is aligned to the plane of the map. */
244
- Map = 'map',
244
+ Map = "map",
245
245
  /** The icon is aligned to the plane of the viewport. */
246
- Viewport = 'viewport',
246
+ Viewport = "viewport",
247
247
  /** Automatically matches the value of `icon-rotation-alignment`. */
248
- Auto = 'auto',
248
+ Auto = "auto",
249
249
  }
250
- type IconPitchAlignmentEnumValues = 'map' | 'viewport' | 'auto';
251
- enum TextPitchAlignmentEnum {
250
+ type IconPitchAlignmentEnumValues = "map" | "viewport" | "auto";
251
+ export enum TextPitchAlignmentEnum {
252
252
  /** The text is aligned to the plane of the map. */
253
- Map = 'map',
253
+ Map = "map",
254
254
  /** The text is aligned to the plane of the viewport. */
255
- Viewport = 'viewport',
255
+ Viewport = "viewport",
256
256
  /** Automatically matches the value of `text-rotation-alignment`. */
257
- Auto = 'auto',
257
+ Auto = "auto",
258
258
  }
259
- type TextPitchAlignmentEnumValues = 'map' | 'viewport' | 'auto';
260
- enum TextRotationAlignmentEnum {
259
+ type TextPitchAlignmentEnumValues = "map" | "viewport" | "auto";
260
+ export enum TextRotationAlignmentEnum {
261
261
  /** When `symbol-placement` is set to `point`, aligns text east-west. When `symbol-placement` is set to `line` or `line-center`, aligns text x-axes with the line. */
262
- Map = 'map',
262
+ Map = "map",
263
263
  /** Produces glyphs whose x-axes are aligned with the x-axis of the viewport, regardless of the value of `symbol-placement`. */
264
- Viewport = 'viewport',
264
+ Viewport = "viewport",
265
265
  /** When `symbol-placement` is set to `point`, aligns text to the x-axis of the viewport. When `symbol-placement` is set to `line` or `line-center`, aligns glyphs to the x-axis of the viewport and places them along the line. */
266
- ViewportGlyph = 'viewport-glyph',
266
+ ViewportGlyph = "viewport-glyph",
267
267
  /** When `symbol-placement` is set to `point`, this is equivalent to `viewport`. When `symbol-placement` is set to `line` or `line-center`, this is equivalent to `map`. */
268
- Auto = 'auto',
268
+ Auto = "auto",
269
269
  }
270
270
  type TextRotationAlignmentEnumValues =
271
- | 'map'
272
- | 'viewport'
273
- | 'viewport-glyph'
274
- | 'auto';
275
- enum TextJustifyEnum {
271
+ | "map"
272
+ | "viewport"
273
+ | "viewport-glyph"
274
+ | "auto";
275
+ export enum TextJustifyEnum {
276
276
  /** The text is aligned towards the anchor position. */
277
- Auto = 'auto',
277
+ Auto = "auto",
278
278
  /** The text is aligned to the left. */
279
- Left = 'left',
279
+ Left = "left",
280
280
  /** The text is centered. */
281
- Center = 'center',
281
+ Center = "center",
282
282
  /** The text is aligned to the right. */
283
- Right = 'right',
283
+ Right = "right",
284
284
  }
285
- type TextJustifyEnumValues = 'auto' | 'left' | 'center' | 'right';
286
- enum TextVariableAnchorEnum {
285
+ type TextJustifyEnumValues = "auto" | "left" | "center" | "right";
286
+ export enum TextVariableAnchorEnum {
287
287
  /** The center of the text is placed closest to the anchor. */
288
- Center = 'center',
288
+ Center = "center",
289
289
  /** The left side of the text is placed closest to the anchor. */
290
- Left = 'left',
290
+ Left = "left",
291
291
  /** The right side of the text is placed closest to the anchor. */
292
- Right = 'right',
292
+ Right = "right",
293
293
  /** The top of the text is placed closest to the anchor. */
294
- Top = 'top',
294
+ Top = "top",
295
295
  /** The bottom of the text is placed closest to the anchor. */
296
- Bottom = 'bottom',
296
+ Bottom = "bottom",
297
297
  /** The top left corner of the text is placed closest to the anchor. */
298
- TopLeft = 'top-left',
298
+ TopLeft = "top-left",
299
299
  /** The top right corner of the text is placed closest to the anchor. */
300
- TopRight = 'top-right',
300
+ TopRight = "top-right",
301
301
  /** The bottom left corner of the text is placed closest to the anchor. */
302
- BottomLeft = 'bottom-left',
302
+ BottomLeft = "bottom-left",
303
303
  /** The bottom right corner of the text is placed closest to the anchor. */
304
- BottomRight = 'bottom-right',
304
+ BottomRight = "bottom-right",
305
305
  }
306
306
  type TextVariableAnchorEnumValues =
307
- | 'center'
308
- | 'left'
309
- | 'right'
310
- | 'top'
311
- | 'bottom'
312
- | 'top-left'
313
- | 'top-right'
314
- | 'bottom-left'
315
- | 'bottom-right';
316
- enum TextAnchorEnum {
307
+ | "center"
308
+ | "left"
309
+ | "right"
310
+ | "top"
311
+ | "bottom"
312
+ | "top-left"
313
+ | "top-right"
314
+ | "bottom-left"
315
+ | "bottom-right";
316
+ export enum TextAnchorEnum {
317
317
  /** The center of the text is placed closest to the anchor. */
318
- Center = 'center',
318
+ Center = "center",
319
319
  /** The left side of the text is placed closest to the anchor. */
320
- Left = 'left',
320
+ Left = "left",
321
321
  /** The right side of the text is placed closest to the anchor. */
322
- Right = 'right',
322
+ Right = "right",
323
323
  /** The top of the text is placed closest to the anchor. */
324
- Top = 'top',
324
+ Top = "top",
325
325
  /** The bottom of the text is placed closest to the anchor. */
326
- Bottom = 'bottom',
326
+ Bottom = "bottom",
327
327
  /** The top left corner of the text is placed closest to the anchor. */
328
- TopLeft = 'top-left',
328
+ TopLeft = "top-left",
329
329
  /** The top right corner of the text is placed closest to the anchor. */
330
- TopRight = 'top-right',
330
+ TopRight = "top-right",
331
331
  /** The bottom left corner of the text is placed closest to the anchor. */
332
- BottomLeft = 'bottom-left',
332
+ BottomLeft = "bottom-left",
333
333
  /** The bottom right corner of the text is placed closest to the anchor. */
334
- BottomRight = 'bottom-right',
334
+ BottomRight = "bottom-right",
335
335
  }
336
336
  type TextAnchorEnumValues =
337
- | 'center'
338
- | 'left'
339
- | 'right'
340
- | 'top'
341
- | 'bottom'
342
- | 'top-left'
343
- | 'top-right'
344
- | 'bottom-left'
345
- | 'bottom-right';
346
- enum TextWritingModeEnum {
337
+ | "center"
338
+ | "left"
339
+ | "right"
340
+ | "top"
341
+ | "bottom"
342
+ | "top-left"
343
+ | "top-right"
344
+ | "bottom-left"
345
+ | "bottom-right";
346
+ export enum TextWritingModeEnum {
347
347
  /** If a text's language supports horizontal writing mode, symbols with point placement would be laid out horizontally. */
348
- Horizontal = 'horizontal',
348
+ Horizontal = "horizontal",
349
349
  /** If a text's language supports vertical writing mode, symbols with point placement would be laid out vertically. */
350
- Vertical = 'vertical',
350
+ Vertical = "vertical",
351
351
  }
352
- type TextWritingModeEnumValues = 'horizontal' | 'vertical';
353
- enum TextTransformEnum {
352
+ type TextWritingModeEnumValues = "horizontal" | "vertical";
353
+ export enum TextTransformEnum {
354
354
  /** The text is not altered. */
355
- None = 'none',
355
+ None = "none",
356
356
  /** Forces all letters to be displayed in uppercase. */
357
- Uppercase = 'uppercase',
357
+ Uppercase = "uppercase",
358
358
  /** Forces all letters to be displayed in lowercase. */
359
- Lowercase = 'lowercase',
359
+ Lowercase = "lowercase",
360
360
  }
361
- type TextTransformEnumValues = 'none' | 'uppercase' | 'lowercase';
362
- enum IconTranslateAnchorEnum {
361
+ type TextTransformEnumValues = "none" | "uppercase" | "lowercase";
362
+ export enum IconTranslateAnchorEnum {
363
363
  /** Icons are translated relative to the map. */
364
- Map = 'map',
364
+ Map = "map",
365
365
  /** Icons are translated relative to the viewport. */
366
- Viewport = 'viewport',
366
+ Viewport = "viewport",
367
367
  }
368
- type IconTranslateAnchorEnumValues = 'map' | 'viewport';
369
- enum TextTranslateAnchorEnum {
368
+ type IconTranslateAnchorEnumValues = "map" | "viewport";
369
+ export enum TextTranslateAnchorEnum {
370
370
  /** The text is translated relative to the map. */
371
- Map = 'map',
371
+ Map = "map",
372
372
  /** The text is translated relative to the viewport. */
373
- Viewport = 'viewport',
373
+ Viewport = "viewport",
374
374
  }
375
- type TextTranslateAnchorEnumValues = 'map' | 'viewport';
376
- enum CircleTranslateAnchorEnum {
375
+ type TextTranslateAnchorEnumValues = "map" | "viewport";
376
+ export enum CircleTranslateAnchorEnum {
377
377
  /** The circle is translated relative to the map. */
378
- Map = 'map',
378
+ Map = "map",
379
379
  /** The circle is translated relative to the viewport. */
380
- Viewport = 'viewport',
380
+ Viewport = "viewport",
381
381
  }
382
- type CircleTranslateAnchorEnumValues = 'map' | 'viewport';
383
- enum CirclePitchScaleEnum {
382
+ type CircleTranslateAnchorEnumValues = "map" | "viewport";
383
+ export enum CirclePitchScaleEnum {
384
384
  /** Circles are scaled according to their apparent distance to the camera. */
385
- Map = 'map',
385
+ Map = "map",
386
386
  /** Circles are not scaled. */
387
- Viewport = 'viewport',
387
+ Viewport = "viewport",
388
388
  }
389
- type CirclePitchScaleEnumValues = 'map' | 'viewport';
390
- enum CirclePitchAlignmentEnum {
389
+ type CirclePitchScaleEnumValues = "map" | "viewport";
390
+ export enum CirclePitchAlignmentEnum {
391
391
  /** The circle is aligned to the plane of the map. */
392
- Map = 'map',
392
+ Map = "map",
393
393
  /** The circle is aligned to the plane of the viewport. */
394
- Viewport = 'viewport',
394
+ Viewport = "viewport",
395
395
  }
396
- type CirclePitchAlignmentEnumValues = 'map' | 'viewport';
397
- enum FillExtrusionTranslateAnchorEnum {
396
+ type CirclePitchAlignmentEnumValues = "map" | "viewport";
397
+ export enum FillExtrusionTranslateAnchorEnum {
398
398
  /** The fill extrusion is translated relative to the map. */
399
- Map = 'map',
399
+ Map = "map",
400
400
  /** The fill extrusion is translated relative to the viewport. */
401
- Viewport = 'viewport',
401
+ Viewport = "viewport",
402
402
  }
403
- type FillExtrusionTranslateAnchorEnumValues = 'map' | 'viewport';
404
- enum RasterResamplingEnum {
403
+ type FillExtrusionTranslateAnchorEnumValues = "map" | "viewport";
404
+ export enum RasterResamplingEnum {
405
405
  /** (Bi)linear filtering interpolates pixel values using the weighted average of the four closest original source pixels creating a smooth but blurry look when overscaled */
406
- Linear = 'linear',
406
+ Linear = "linear",
407
407
  /** Nearest neighbor filtering interpolates pixel values using the nearest original source pixel creating a sharp but pixelated look when overscaled */
408
- Nearest = 'nearest',
408
+ Nearest = "nearest",
409
409
  }
410
- type RasterResamplingEnumValues = 'linear' | 'nearest';
411
- enum HillshadeIlluminationAnchorEnum {
410
+ type RasterResamplingEnumValues = "linear" | "nearest";
411
+ export enum HillshadeIlluminationAnchorEnum {
412
412
  /** The hillshade illumination is relative to the north direction. */
413
- Map = 'map',
413
+ Map = "map",
414
414
  /** The hillshade illumination is relative to the top of the viewport. */
415
- Viewport = 'viewport',
415
+ Viewport = "viewport",
416
416
  }
417
- type HillshadeIlluminationAnchorEnumValues = 'map' | 'viewport';
418
- enum AnchorEnum {
417
+ type HillshadeIlluminationAnchorEnumValues = "map" | "viewport";
418
+ export enum AnchorEnum {
419
419
  /** The position of the light source is aligned to the rotation of the map. */
420
- Map = 'map',
420
+ Map = "map",
421
421
  /** The position of the light source is aligned to the rotation of the viewport. */
422
- Viewport = 'viewport',
422
+ Viewport = "viewport",
423
423
  }
424
- type AnchorEnumValues = 'map' | 'viewport';
424
+ type AnchorEnumValues = "map" | "viewport";
425
425
 
426
426
  type Enum<EnumType, EnumValues> = EnumType | EnumValues;
427
427
 
@@ -429,7 +429,7 @@ export interface FillLayerStyleProps {
429
429
  /**
430
430
  * Sorts features in ascending order based on this value. Features with a higher sort key will appear above features with a lower sort key.
431
431
  */
432
- fillSortKey?: Value<number, ['zoom', 'feature']>;
432
+ fillSortKey?: Value<number, ["zoom", "feature"]>;
433
433
  /**
434
434
  * Whether this layer is displayed.
435
435
  */
@@ -437,11 +437,11 @@ export interface FillLayerStyleProps {
437
437
  /**
438
438
  * Whether or not the fill should be antialiased.
439
439
  */
440
- fillAntialias?: Value<boolean, ['zoom']>;
440
+ fillAntialias?: Value<boolean, ["zoom"]>;
441
441
  /**
442
442
  * The opacity of the entire fill layer. In contrast to the `fillColor`, this value will also affect the 1px stroke around the fill, if the stroke is used.
443
443
  */
444
- fillOpacity?: Value<number, ['zoom', 'feature', 'feature-state']>;
444
+ fillOpacity?: Value<number, ["zoom", "feature", "feature-state"]>;
445
445
 
446
446
  /**
447
447
  * The transition affecting any changes to this layer’s fillOpacity property.
@@ -452,7 +452,7 @@ export interface FillLayerStyleProps {
452
452
  *
453
453
  * @disabledBy fillPattern
454
454
  */
455
- fillColor?: Value<string, ['zoom', 'feature', 'feature-state']>;
455
+ fillColor?: Value<string, ["zoom", "feature", "feature-state"]>;
456
456
 
457
457
  /**
458
458
  * The transition affecting any changes to this layer’s fillColor property.
@@ -463,7 +463,7 @@ export interface FillLayerStyleProps {
463
463
  *
464
464
  * @disabledBy fillPattern
465
465
  */
466
- fillOutlineColor?: Value<string, ['zoom', 'feature', 'feature-state']>;
466
+ fillOutlineColor?: Value<string, ["zoom", "feature", "feature-state"]>;
467
467
 
468
468
  /**
469
469
  * The transition affecting any changes to this layer’s fillOutlineColor property.
@@ -472,7 +472,7 @@ export interface FillLayerStyleProps {
472
472
  /**
473
473
  * The geometry's offset. Values are [x, y] where negatives indicate left and up, respectively.
474
474
  */
475
- fillTranslate?: Value<Translation, ['zoom']>;
475
+ fillTranslate?: Value<Translation, ["zoom"]>;
476
476
 
477
477
  /**
478
478
  * The transition affecting any changes to this layer’s fillTranslate property.
@@ -485,12 +485,12 @@ export interface FillLayerStyleProps {
485
485
  */
486
486
  fillTranslateAnchor?: Value<
487
487
  Enum<FillTranslateAnchorEnum, FillTranslateAnchorEnumValues>,
488
- ['zoom']
488
+ ["zoom"]
489
489
  >;
490
490
  /**
491
491
  * Name of image in sprite to use for drawing image fills. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512). Note that zoomDependent expressions will be evaluated only at integer zoom levels.
492
492
  */
493
- fillPattern?: Value<ResolvedImageType, ['zoom', 'feature']>;
493
+ fillPattern?: Value<ResolvedImageType, ["zoom", "feature"]>;
494
494
 
495
495
  /**
496
496
  * The transition affecting any changes to this layer’s fillPattern property.
@@ -501,23 +501,23 @@ export interface LineLayerStyleProps {
501
501
  /**
502
502
  * The display of line endings.
503
503
  */
504
- lineCap?: Value<Enum<LineCapEnum, LineCapEnumValues>, ['zoom']>;
504
+ lineCap?: Value<Enum<LineCapEnum, LineCapEnumValues>, ["zoom"]>;
505
505
  /**
506
506
  * The display of lines when joining.
507
507
  */
508
- lineJoin?: Value<Enum<LineJoinEnum, LineJoinEnumValues>, ['zoom', 'feature']>;
508
+ lineJoin?: Value<Enum<LineJoinEnum, LineJoinEnumValues>, ["zoom", "feature"]>;
509
509
  /**
510
510
  * Used to automatically convert miter joins to bevel joins for sharp angles.
511
511
  */
512
- lineMiterLimit?: Value<number, ['zoom']>;
512
+ lineMiterLimit?: Value<number, ["zoom"]>;
513
513
  /**
514
514
  * Used to automatically convert round joins to miter joins for shallow angles.
515
515
  */
516
- lineRoundLimit?: Value<number, ['zoom']>;
516
+ lineRoundLimit?: Value<number, ["zoom"]>;
517
517
  /**
518
518
  * Sorts features in ascending order based on this value. Features with a higher sort key will appear above features with a lower sort key.
519
519
  */
520
- lineSortKey?: Value<number, ['zoom', 'feature']>;
520
+ lineSortKey?: Value<number, ["zoom", "feature"]>;
521
521
  /**
522
522
  * Whether this layer is displayed.
523
523
  */
@@ -525,7 +525,7 @@ export interface LineLayerStyleProps {
525
525
  /**
526
526
  * The opacity at which the line will be drawn.
527
527
  */
528
- lineOpacity?: Value<number, ['zoom', 'feature', 'feature-state']>;
528
+ lineOpacity?: Value<number, ["zoom", "feature", "feature-state"]>;
529
529
 
530
530
  /**
531
531
  * The transition affecting any changes to this layer’s lineOpacity property.
@@ -536,7 +536,7 @@ export interface LineLayerStyleProps {
536
536
  *
537
537
  * @disabledBy linePattern
538
538
  */
539
- lineColor?: Value<string, ['zoom', 'feature', 'feature-state']>;
539
+ lineColor?: Value<string, ["zoom", "feature", "feature-state"]>;
540
540
 
541
541
  /**
542
542
  * The transition affecting any changes to this layer’s lineColor property.
@@ -545,7 +545,7 @@ export interface LineLayerStyleProps {
545
545
  /**
546
546
  * The geometry's offset. Values are [x, y] where negatives indicate left and up, respectively.
547
547
  */
548
- lineTranslate?: Value<Translation, ['zoom']>;
548
+ lineTranslate?: Value<Translation, ["zoom"]>;
549
549
 
550
550
  /**
551
551
  * The transition affecting any changes to this layer’s lineTranslate property.
@@ -558,12 +558,12 @@ export interface LineLayerStyleProps {
558
558
  */
559
559
  lineTranslateAnchor?: Value<
560
560
  Enum<LineTranslateAnchorEnum, LineTranslateAnchorEnumValues>,
561
- ['zoom']
561
+ ["zoom"]
562
562
  >;
563
563
  /**
564
564
  * Stroke thickness.
565
565
  */
566
- lineWidth?: Value<number, ['zoom', 'feature', 'feature-state']>;
566
+ lineWidth?: Value<number, ["zoom", "feature", "feature-state"]>;
567
567
 
568
568
  /**
569
569
  * The transition affecting any changes to this layer’s lineWidth property.
@@ -572,7 +572,7 @@ export interface LineLayerStyleProps {
572
572
  /**
573
573
  * Draws a line casing outside of a line's actual path. Value indicates the width of the inner gap.
574
574
  */
575
- lineGapWidth?: Value<number, ['zoom', 'feature', 'feature-state']>;
575
+ lineGapWidth?: Value<number, ["zoom", "feature", "feature-state"]>;
576
576
 
577
577
  /**
578
578
  * The transition affecting any changes to this layer’s lineGapWidth property.
@@ -581,7 +581,7 @@ export interface LineLayerStyleProps {
581
581
  /**
582
582
  * The line's offset. For linear features, a positive value offsets the line to the right, relative to the direction of the line, and a negative value to the left. For polygon features, a positive value results in an inset, and a negative value results in an outset.
583
583
  */
584
- lineOffset?: Value<number, ['zoom', 'feature', 'feature-state']>;
584
+ lineOffset?: Value<number, ["zoom", "feature", "feature-state"]>;
585
585
 
586
586
  /**
587
587
  * The transition affecting any changes to this layer’s lineOffset property.
@@ -590,7 +590,7 @@ export interface LineLayerStyleProps {
590
590
  /**
591
591
  * Blur applied to the line, in pixels.
592
592
  */
593
- lineBlur?: Value<number, ['zoom', 'feature', 'feature-state']>;
593
+ lineBlur?: Value<number, ["zoom", "feature", "feature-state"]>;
594
594
 
595
595
  /**
596
596
  * The transition affecting any changes to this layer’s lineBlur property.
@@ -601,7 +601,7 @@ export interface LineLayerStyleProps {
601
601
  *
602
602
  * @disabledBy linePattern
603
603
  */
604
- lineDasharray?: Value<number[], ['zoom']>;
604
+ lineDasharray?: Value<number[], ["zoom"]>;
605
605
 
606
606
  /**
607
607
  * The transition affecting any changes to this layer’s lineDasharray property.
@@ -610,7 +610,7 @@ export interface LineLayerStyleProps {
610
610
  /**
611
611
  * Name of image in sprite to use for drawing image lines. For seamless patterns, image width must be a factor of two (2, 4, 8, ..., 512). Note that zoomDependent expressions will be evaluated only at integer zoom levels.
612
612
  */
613
- linePattern?: Value<ResolvedImageType, ['zoom', 'feature']>;
613
+ linePattern?: Value<ResolvedImageType, ["zoom", "feature"]>;
614
614
 
615
615
  /**
616
616
  * The transition affecting any changes to this layer’s linePattern property.
@@ -621,7 +621,7 @@ export interface LineLayerStyleProps {
621
621
  *
622
622
  * @disabledBy lineDasharray, linePattern
623
623
  */
624
- lineGradient?: Value<string, ['line-progress']>;
624
+ lineGradient?: Value<string, ["line-progress"]>;
625
625
  }
626
626
  export interface SymbolLayerStyleProps {
627
627
  /**
@@ -629,26 +629,26 @@ export interface SymbolLayerStyleProps {
629
629
  */
630
630
  symbolPlacement?: Value<
631
631
  Enum<SymbolPlacementEnum, SymbolPlacementEnumValues>,
632
- ['zoom']
632
+ ["zoom"]
633
633
  >;
634
634
  /**
635
635
  * Distance between two symbol anchors.
636
636
  */
637
- symbolSpacing?: Value<number, ['zoom']>;
637
+ symbolSpacing?: Value<number, ["zoom"]>;
638
638
  /**
639
639
  * If true, the symbols will not cross tile edges to avoid mutual collisions. Recommended in layers that don't have enough padding in the vector tile to prevent collisions, or if it is a point symbol layer placed after a line symbol layer. When using a client that supports global collision detection, like MapLibre GL JS version 0.42.0 or greater, enabling this property is not needed to prevent clipped labels at tile boundaries.
640
640
  */
641
- symbolAvoidEdges?: Value<boolean, ['zoom']>;
641
+ symbolAvoidEdges?: Value<boolean, ["zoom"]>;
642
642
  /**
643
643
  * Sorts features in ascending order based on this value. Features with lower sort keys are drawn and placed first. When `iconAllowOverlap` or `textAllowOverlap` is `false`, features with a lower sort key will have priority during placement. When `iconAllowOverlap` or `textAllowOverlap` is set to `true`, features with a higher sort key will overlap over features with a lower sort key.
644
644
  */
645
- symbolSortKey?: Value<number, ['zoom', 'feature']>;
645
+ symbolSortKey?: Value<number, ["zoom", "feature"]>;
646
646
  /**
647
647
  * Determines whether overlapping symbols in the same layer are rendered in the order that they appear in the data source or by their yPosition relative to the viewport. To control the order and prioritization of symbols otherwise, use `symbolSortKey`.
648
648
  */
649
649
  symbolZOrder?: Value<
650
650
  Enum<SymbolZOrderEnum, SymbolZOrderEnumValues>,
651
- ['zoom']
651
+ ["zoom"]
652
652
  >;
653
653
  /**
654
654
  * If true, the icon will be visible even if it collides with other previously drawn symbols.
@@ -657,19 +657,19 @@ export interface SymbolLayerStyleProps {
657
657
  *
658
658
  * @disabledBy iconOverlap
659
659
  */
660
- iconAllowOverlap?: Value<boolean, ['zoom']>;
660
+ iconAllowOverlap?: Value<boolean, ["zoom"]>;
661
661
  /**
662
662
  * If true, other symbols can be visible even if they collide with the icon.
663
663
  *
664
664
  * @requires iconImage
665
665
  */
666
- iconIgnorePlacement?: Value<boolean, ['zoom']>;
666
+ iconIgnorePlacement?: Value<boolean, ["zoom"]>;
667
667
  /**
668
668
  * If true, text will display without their corresponding icons when the icon collides with other symbols and the text does not.
669
669
  *
670
670
  * @requires iconImage, textField
671
671
  */
672
- iconOptional?: Value<boolean, ['zoom']>;
672
+ iconOptional?: Value<boolean, ["zoom"]>;
673
673
  /**
674
674
  * In combination with `symbolPlacement`, determines the rotation behavior of icons.
675
675
  *
@@ -677,54 +677,54 @@ export interface SymbolLayerStyleProps {
677
677
  */
678
678
  iconRotationAlignment?: Value<
679
679
  Enum<IconRotationAlignmentEnum, IconRotationAlignmentEnumValues>,
680
- ['zoom']
680
+ ["zoom"]
681
681
  >;
682
682
  /**
683
683
  * Scales the original size of the icon by the provided factor. The new pixel size of the image will be the original pixel size multiplied by `iconSize`. 1 is the original size; 3 triples the size of the image.
684
684
  *
685
685
  * @requires iconImage
686
686
  */
687
- iconSize?: Value<number, ['zoom', 'feature']>;
687
+ iconSize?: Value<number, ["zoom", "feature"]>;
688
688
  /**
689
689
  * Scales the icon to fit around the associated text.
690
690
  *
691
691
  * @requires iconImage, textField
692
692
  */
693
- iconTextFit?: Value<Enum<IconTextFitEnum, IconTextFitEnumValues>, ['zoom']>;
693
+ iconTextFit?: Value<Enum<IconTextFitEnum, IconTextFitEnumValues>, ["zoom"]>;
694
694
  /**
695
695
  * Size of the additional area added to dimensions determined by `iconTextFit`, in clockwise order: top, right, bottom, left.
696
696
  *
697
697
  * @requires iconImage, textField
698
698
  */
699
- iconTextFitPadding?: Value<number[], ['zoom']>;
699
+ iconTextFitPadding?: Value<number[], ["zoom"]>;
700
700
  /**
701
701
  * Name of image in sprite to use for drawing an image background.
702
702
  */
703
- iconImage?: Value<ResolvedImageType, ['zoom', 'feature']>;
703
+ iconImage?: Value<ResolvedImageType, ["zoom", "feature"]>;
704
704
  /**
705
705
  * Rotates the icon clockwise.
706
706
  *
707
707
  * @requires iconImage
708
708
  */
709
- iconRotate?: Value<number, ['zoom', 'feature']>;
709
+ iconRotate?: Value<number, ["zoom", "feature"]>;
710
710
  /**
711
- * Size of additional area round the icon bounding box used for detecting symbol collisions. Values are declared using CSS margin shorthand syntax: a single value applies to all four sides; two values apply to [top/bottom, left/right]; three values apply to [top, left/right, bottom]; four values apply to [top, right, bottom, left]. For backwards compatibility, a single bare number is accepted, and treated the same as a oneElement array padding applied to all sides.
711
+ * Size of additional area round the icon bounding box used for detecting symbol collisions.
712
712
  *
713
713
  * @requires iconImage
714
714
  */
715
- iconPadding?: Value<number, ['zoom', 'feature']>;
715
+ iconPadding?: Value<number[], ["zoom", "feature"]>;
716
716
  /**
717
717
  * If true, the icon may be flipped to prevent it from being rendered upsideDown.
718
718
  *
719
719
  * @requires iconImage
720
720
  */
721
- iconKeepUpright?: Value<boolean, ['zoom']>;
721
+ iconKeepUpright?: Value<boolean, ["zoom"]>;
722
722
  /**
723
723
  * Offset distance of icon from its anchor. Positive values indicate right and down, while negative values indicate left and up. Each component is multiplied by the value of `iconSize` to obtain the final offset in pixels. When combined with `iconRotate` the offset will be as if the rotated direction was up.
724
724
  *
725
725
  * @requires iconImage
726
726
  */
727
- iconOffset?: Value<number[], ['zoom', 'feature']>;
727
+ iconOffset?: Value<number[], ["zoom", "feature"]>;
728
728
  /**
729
729
  * Part of the icon placed closest to the anchor.
730
730
  *
@@ -732,7 +732,7 @@ export interface SymbolLayerStyleProps {
732
732
  */
733
733
  iconAnchor?: Value<
734
734
  Enum<IconAnchorEnum, IconAnchorEnumValues>,
735
- ['zoom', 'feature']
735
+ ["zoom", "feature"]
736
736
  >;
737
737
  /**
738
738
  * Orientation of icon when map is pitched.
@@ -741,7 +741,7 @@ export interface SymbolLayerStyleProps {
741
741
  */
742
742
  iconPitchAlignment?: Value<
743
743
  Enum<IconPitchAlignmentEnum, IconPitchAlignmentEnumValues>,
744
- ['zoom']
744
+ ["zoom"]
745
745
  >;
746
746
  /**
747
747
  * Orientation of text when map is pitched.
@@ -750,7 +750,7 @@ export interface SymbolLayerStyleProps {
750
750
  */
751
751
  textPitchAlignment?: Value<
752
752
  Enum<TextPitchAlignmentEnum, TextPitchAlignmentEnumValues>,
753
- ['zoom']
753
+ ["zoom"]
754
754
  >;
755
755
  /**
756
756
  * In combination with `symbolPlacement`, determines the rotation behavior of the individual glyphs forming the text.
@@ -759,42 +759,42 @@ export interface SymbolLayerStyleProps {
759
759
  */
760
760
  textRotationAlignment?: Value<
761
761
  Enum<TextRotationAlignmentEnum, TextRotationAlignmentEnumValues>,
762
- ['zoom']
762
+ ["zoom"]
763
763
  >;
764
764
  /**
765
765
  * Value to use for a text label. If a plain `string` is provided, it will be treated as a `formatted` with default/inherited formatting options.
766
766
  */
767
- textField?: Value<FormattedString, ['zoom', 'feature']>;
767
+ textField?: Value<FormattedString, ["zoom", "feature"]>;
768
768
  /**
769
769
  * Font stack to use for displaying text.
770
770
  *
771
771
  * @requires textField
772
772
  */
773
- textFont?: Value<string[], ['zoom', 'feature']>;
773
+ textFont?: Value<string[], ["zoom", "feature"]>;
774
774
  /**
775
775
  * Font size.
776
776
  *
777
777
  * @requires textField
778
778
  */
779
- textSize?: Value<number, ['zoom', 'feature']>;
779
+ textSize?: Value<number, ["zoom", "feature"]>;
780
780
  /**
781
781
  * The maximum line width for text wrapping.
782
782
  *
783
783
  * @requires textField
784
784
  */
785
- textMaxWidth?: Value<number, ['zoom', 'feature']>;
785
+ textMaxWidth?: Value<number, ["zoom", "feature"]>;
786
786
  /**
787
787
  * Text leading value for multiLine text.
788
788
  *
789
789
  * @requires textField
790
790
  */
791
- textLineHeight?: Value<number, ['zoom']>;
791
+ textLineHeight?: Value<number, ["zoom"]>;
792
792
  /**
793
793
  * Text tracking amount.
794
794
  *
795
795
  * @requires textField
796
796
  */
797
- textLetterSpacing?: Value<number, ['zoom', 'feature']>;
797
+ textLetterSpacing?: Value<number, ["zoom", "feature"]>;
798
798
  /**
799
799
  * Text justification options.
800
800
  *
@@ -802,14 +802,14 @@ export interface SymbolLayerStyleProps {
802
802
  */
803
803
  textJustify?: Value<
804
804
  Enum<TextJustifyEnum, TextJustifyEnumValues>,
805
- ['zoom', 'feature']
805
+ ["zoom", "feature"]
806
806
  >;
807
807
  /**
808
808
  * Radial offset of text, in the direction of the symbol's anchor. Useful in combination with `textVariableAnchor`, which defaults to using the twoDimensional `textOffset` if present.
809
809
  *
810
810
  * @requires textField
811
811
  */
812
- textRadialOffset?: Value<number, ['zoom', 'feature']>;
812
+ textRadialOffset?: Value<number, ["zoom", "feature"]>;
813
813
  /**
814
814
  * To increase the chance of placing highPriority labels on the map, you can provide an array of `textAnchor` locations: the renderer will attempt to place the label at each location, in order, before moving onto the next label. Use `textJustify: auto` to choose justification based on anchor position. To apply an offset, use the `textRadialOffset` or the twoDimensional `textOffset`.
815
815
  *
@@ -817,7 +817,7 @@ export interface SymbolLayerStyleProps {
817
817
  */
818
818
  textVariableAnchor?: Value<
819
819
  Enum<TextVariableAnchorEnum, TextVariableAnchorEnumValues>[],
820
- ['zoom']
820
+ ["zoom"]
821
821
  >;
822
822
  /**
823
823
  * Part of the text placed closest to the anchor.
@@ -828,14 +828,14 @@ export interface SymbolLayerStyleProps {
828
828
  */
829
829
  textAnchor?: Value<
830
830
  Enum<TextAnchorEnum, TextAnchorEnumValues>,
831
- ['zoom', 'feature']
831
+ ["zoom", "feature"]
832
832
  >;
833
833
  /**
834
834
  * Maximum angle change between adjacent characters.
835
835
  *
836
836
  * @requires textField
837
837
  */
838
- textMaxAngle?: Value<number, ['zoom']>;
838
+ textMaxAngle?: Value<number, ["zoom"]>;
839
839
  /**
840
840
  * The property allows control over a symbol's orientation. Note that the property values act as a hint, so that a symbol whose language doesn’t support the provided orientation will be laid out in its natural orientation. Example: English point symbol will be rendered horizontally even if array value contains single 'vertical' enum value. The order of elements in an array define priority order for the placement of an orientation variant.
841
841
  *
@@ -843,26 +843,26 @@ export interface SymbolLayerStyleProps {
843
843
  */
844
844
  textWritingMode?: Value<
845
845
  Enum<TextWritingModeEnum, TextWritingModeEnumValues>[],
846
- ['zoom']
846
+ ["zoom"]
847
847
  >;
848
848
  /**
849
849
  * Rotates the text clockwise.
850
850
  *
851
851
  * @requires textField
852
852
  */
853
- textRotate?: Value<number, ['zoom', 'feature']>;
853
+ textRotate?: Value<number, ["zoom", "feature"]>;
854
854
  /**
855
855
  * Size of the additional area around the text bounding box used for detecting symbol collisions.
856
856
  *
857
857
  * @requires textField
858
858
  */
859
- textPadding?: Value<number, ['zoom']>;
859
+ textPadding?: Value<number, ["zoom"]>;
860
860
  /**
861
861
  * If true, the text may be flipped vertically to prevent it from being rendered upsideDown.
862
862
  *
863
863
  * @requires textField
864
864
  */
865
- textKeepUpright?: Value<boolean, ['zoom']>;
865
+ textKeepUpright?: Value<boolean, ["zoom"]>;
866
866
  /**
867
867
  * Specifies how to capitalize text, similar to the CSS `textTransform` property.
868
868
  *
@@ -870,7 +870,7 @@ export interface SymbolLayerStyleProps {
870
870
  */
871
871
  textTransform?: Value<
872
872
  Enum<TextTransformEnum, TextTransformEnumValues>,
873
- ['zoom', 'feature']
873
+ ["zoom", "feature"]
874
874
  >;
875
875
  /**
876
876
  * Offset distance of text from its anchor. Positive values indicate right and down, while negative values indicate left and up. If used with textVariableAnchor, input values will be taken as absolute values. Offsets along the x and yAxis will be applied automatically based on the anchor position.
@@ -879,7 +879,7 @@ export interface SymbolLayerStyleProps {
879
879
  *
880
880
  * @disabledBy textRadialOffset
881
881
  */
882
- textOffset?: Value<number[], ['zoom', 'feature']>;
882
+ textOffset?: Value<number[], ["zoom", "feature"]>;
883
883
  /**
884
884
  * If true, the text will be visible even if it collides with other previously drawn symbols.
885
885
  *
@@ -887,19 +887,19 @@ export interface SymbolLayerStyleProps {
887
887
  *
888
888
  * @disabledBy textOverlap
889
889
  */
890
- textAllowOverlap?: Value<boolean, ['zoom']>;
890
+ textAllowOverlap?: Value<boolean, ["zoom"]>;
891
891
  /**
892
892
  * If true, other symbols can be visible even if they collide with the text.
893
893
  *
894
894
  * @requires textField
895
895
  */
896
- textIgnorePlacement?: Value<boolean, ['zoom']>;
896
+ textIgnorePlacement?: Value<boolean, ["zoom"]>;
897
897
  /**
898
898
  * If true, icons will display without their corresponding text when the text collides with other symbols and the icon does not.
899
899
  *
900
900
  * @requires textField, iconImage
901
901
  */
902
- textOptional?: Value<boolean, ['zoom']>;
902
+ textOptional?: Value<boolean, ["zoom"]>;
903
903
  /**
904
904
  * Whether this layer is displayed.
905
905
  */
@@ -909,18 +909,18 @@ export interface SymbolLayerStyleProps {
909
909
  *
910
910
  * @requires iconImage
911
911
  */
912
- iconOpacity?: Value<number, ['zoom', 'feature', 'feature-state']>;
912
+ iconOpacity?: Value<number, ["zoom", "feature", "feature-state"]>;
913
913
 
914
914
  /**
915
915
  * The transition affecting any changes to this layer’s iconOpacity property.
916
916
  */
917
917
  iconOpacityTransition?: Transition;
918
918
  /**
919
- * The color of the icon. This can only be used with sdf icons.
919
+ * The color of the icon. This can only be used with SDF icons.
920
920
  *
921
921
  * @requires iconImage
922
922
  */
923
- iconColor?: Value<string, ['zoom', 'feature', 'feature-state']>;
923
+ iconColor?: Value<string, ["zoom", "feature", "feature-state"]>;
924
924
 
925
925
  /**
926
926
  * The transition affecting any changes to this layer’s iconColor property.
@@ -931,18 +931,20 @@ export interface SymbolLayerStyleProps {
931
931
  *
932
932
  * @requires iconImage
933
933
  */
934
- iconHaloColor?: Value<string, ['zoom', 'feature', 'feature-state']>;
934
+ iconHaloColor?: Value<string, ["zoom", "feature", "feature-state"]>;
935
935
 
936
936
  /**
937
937
  * The transition affecting any changes to this layer’s iconHaloColor property.
938
938
  */
939
939
  iconHaloColorTransition?: Transition;
940
940
  /**
941
- * Distance of halo to the icon outline.
942
- *
943
- * @requires iconImage
944
- */
945
- iconHaloWidth?: Value<number, ['zoom', 'feature', 'feature-state']>;
941
+ * Distance of halo to the icon outline.
942
+
943
+ The unit is in pixels only for SDF sprites that were created with a blur radius of 8, multiplied by the display density. I.e., the radius needs to be 16 for `@2x` sprites, etc.
944
+ *
945
+ * @requires iconImage
946
+ */
947
+ iconHaloWidth?: Value<number, ["zoom", "feature", "feature-state"]>;
946
948
 
947
949
  /**
948
950
  * The transition affecting any changes to this layer’s iconHaloWidth property.
@@ -953,7 +955,7 @@ export interface SymbolLayerStyleProps {
953
955
  *
954
956
  * @requires iconImage
955
957
  */
956
- iconHaloBlur?: Value<number, ['zoom', 'feature', 'feature-state']>;
958
+ iconHaloBlur?: Value<number, ["zoom", "feature", "feature-state"]>;
957
959
 
958
960
  /**
959
961
  * The transition affecting any changes to this layer’s iconHaloBlur property.
@@ -964,7 +966,7 @@ export interface SymbolLayerStyleProps {
964
966
  *
965
967
  * @requires iconImage
966
968
  */
967
- iconTranslate?: Value<Translation, ['zoom']>;
969
+ iconTranslate?: Value<Translation, ["zoom"]>;
968
970
 
969
971
  /**
970
972
  * The transition affecting any changes to this layer’s iconTranslate property.
@@ -977,14 +979,14 @@ export interface SymbolLayerStyleProps {
977
979
  */
978
980
  iconTranslateAnchor?: Value<
979
981
  Enum<IconTranslateAnchorEnum, IconTranslateAnchorEnumValues>,
980
- ['zoom']
982
+ ["zoom"]
981
983
  >;
982
984
  /**
983
985
  * The opacity at which the text will be drawn.
984
986
  *
985
987
  * @requires textField
986
988
  */
987
- textOpacity?: Value<number, ['zoom', 'feature', 'feature-state']>;
989
+ textOpacity?: Value<number, ["zoom", "feature", "feature-state"]>;
988
990
 
989
991
  /**
990
992
  * The transition affecting any changes to this layer’s textOpacity property.
@@ -995,7 +997,7 @@ export interface SymbolLayerStyleProps {
995
997
  *
996
998
  * @requires textField
997
999
  */
998
- textColor?: Value<string, ['zoom', 'feature', 'feature-state']>;
1000
+ textColor?: Value<string, ["zoom", "feature", "feature-state"]>;
999
1001
 
1000
1002
  /**
1001
1003
  * The transition affecting any changes to this layer’s textColor property.
@@ -1006,7 +1008,7 @@ export interface SymbolLayerStyleProps {
1006
1008
  *
1007
1009
  * @requires textField
1008
1010
  */
1009
- textHaloColor?: Value<string, ['zoom', 'feature', 'feature-state']>;
1011
+ textHaloColor?: Value<string, ["zoom", "feature", "feature-state"]>;
1010
1012
 
1011
1013
  /**
1012
1014
  * The transition affecting any changes to this layer’s textHaloColor property.
@@ -1017,7 +1019,7 @@ export interface SymbolLayerStyleProps {
1017
1019
  *
1018
1020
  * @requires textField
1019
1021
  */
1020
- textHaloWidth?: Value<number, ['zoom', 'feature', 'feature-state']>;
1022
+ textHaloWidth?: Value<number, ["zoom", "feature", "feature-state"]>;
1021
1023
 
1022
1024
  /**
1023
1025
  * The transition affecting any changes to this layer’s textHaloWidth property.
@@ -1028,7 +1030,7 @@ export interface SymbolLayerStyleProps {
1028
1030
  *
1029
1031
  * @requires textField
1030
1032
  */
1031
- textHaloBlur?: Value<number, ['zoom', 'feature', 'feature-state']>;
1033
+ textHaloBlur?: Value<number, ["zoom", "feature", "feature-state"]>;
1032
1034
 
1033
1035
  /**
1034
1036
  * The transition affecting any changes to this layer’s textHaloBlur property.
@@ -1039,7 +1041,7 @@ export interface SymbolLayerStyleProps {
1039
1041
  *
1040
1042
  * @requires textField
1041
1043
  */
1042
- textTranslate?: Value<Translation, ['zoom']>;
1044
+ textTranslate?: Value<Translation, ["zoom"]>;
1043
1045
 
1044
1046
  /**
1045
1047
  * The transition affecting any changes to this layer’s textTranslate property.
@@ -1052,14 +1054,14 @@ export interface SymbolLayerStyleProps {
1052
1054
  */
1053
1055
  textTranslateAnchor?: Value<
1054
1056
  Enum<TextTranslateAnchorEnum, TextTranslateAnchorEnumValues>,
1055
- ['zoom']
1057
+ ["zoom"]
1056
1058
  >;
1057
1059
  }
1058
1060
  export interface CircleLayerStyleProps {
1059
1061
  /**
1060
1062
  * Sorts features in ascending order based on this value. Features with a higher sort key will appear above features with a lower sort key.
1061
1063
  */
1062
- circleSortKey?: Value<number, ['zoom', 'feature']>;
1064
+ circleSortKey?: Value<number, ["zoom", "feature"]>;
1063
1065
  /**
1064
1066
  * Whether this layer is displayed.
1065
1067
  */
@@ -1067,7 +1069,7 @@ export interface CircleLayerStyleProps {
1067
1069
  /**
1068
1070
  * Circle radius.
1069
1071
  */
1070
- circleRadius?: Value<number, ['zoom', 'feature', 'feature-state']>;
1072
+ circleRadius?: Value<number, ["zoom", "feature", "feature-state"]>;
1071
1073
 
1072
1074
  /**
1073
1075
  * The transition affecting any changes to this layer’s circleRadius property.
@@ -1076,7 +1078,7 @@ export interface CircleLayerStyleProps {
1076
1078
  /**
1077
1079
  * The fill color of the circle.
1078
1080
  */
1079
- circleColor?: Value<string, ['zoom', 'feature', 'feature-state']>;
1081
+ circleColor?: Value<string, ["zoom", "feature", "feature-state"]>;
1080
1082
 
1081
1083
  /**
1082
1084
  * The transition affecting any changes to this layer’s circleColor property.
@@ -1085,7 +1087,7 @@ export interface CircleLayerStyleProps {
1085
1087
  /**
1086
1088
  * Amount to blur the circle. 1 blurs the circle such that only the centerpoint is full opacity.
1087
1089
  */
1088
- circleBlur?: Value<number, ['zoom', 'feature', 'feature-state']>;
1090
+ circleBlur?: Value<number, ["zoom", "feature", "feature-state"]>;
1089
1091
 
1090
1092
  /**
1091
1093
  * The transition affecting any changes to this layer’s circleBlur property.
@@ -1094,7 +1096,7 @@ export interface CircleLayerStyleProps {
1094
1096
  /**
1095
1097
  * The opacity at which the circle will be drawn.
1096
1098
  */
1097
- circleOpacity?: Value<number, ['zoom', 'feature', 'feature-state']>;
1099
+ circleOpacity?: Value<number, ["zoom", "feature", "feature-state"]>;
1098
1100
 
1099
1101
  /**
1100
1102
  * The transition affecting any changes to this layer’s circleOpacity property.
@@ -1103,7 +1105,7 @@ export interface CircleLayerStyleProps {
1103
1105
  /**
1104
1106
  * The geometry's offset. Values are [x, y] where negatives indicate left and up, respectively.
1105
1107
  */
1106
- circleTranslate?: Value<Translation, ['zoom']>;
1108
+ circleTranslate?: Value<Translation, ["zoom"]>;
1107
1109
 
1108
1110
  /**
1109
1111
  * The transition affecting any changes to this layer’s circleTranslate property.
@@ -1116,26 +1118,26 @@ export interface CircleLayerStyleProps {
1116
1118
  */
1117
1119
  circleTranslateAnchor?: Value<
1118
1120
  Enum<CircleTranslateAnchorEnum, CircleTranslateAnchorEnumValues>,
1119
- ['zoom']
1121
+ ["zoom"]
1120
1122
  >;
1121
1123
  /**
1122
1124
  * Controls the scaling behavior of the circle when the map is pitched.
1123
1125
  */
1124
1126
  circlePitchScale?: Value<
1125
1127
  Enum<CirclePitchScaleEnum, CirclePitchScaleEnumValues>,
1126
- ['zoom']
1128
+ ["zoom"]
1127
1129
  >;
1128
1130
  /**
1129
1131
  * Orientation of circle when map is pitched.
1130
1132
  */
1131
1133
  circlePitchAlignment?: Value<
1132
1134
  Enum<CirclePitchAlignmentEnum, CirclePitchAlignmentEnumValues>,
1133
- ['zoom']
1135
+ ["zoom"]
1134
1136
  >;
1135
1137
  /**
1136
1138
  * The width of the circle's stroke. Strokes are placed outside of the `circleRadius`.
1137
1139
  */
1138
- circleStrokeWidth?: Value<number, ['zoom', 'feature', 'feature-state']>;
1140
+ circleStrokeWidth?: Value<number, ["zoom", "feature", "feature-state"]>;
1139
1141
 
1140
1142
  /**
1141
1143
  * The transition affecting any changes to this layer’s circleStrokeWidth property.
@@ -1144,7 +1146,7 @@ export interface CircleLayerStyleProps {
1144
1146
  /**
1145
1147
  * The stroke color of the circle.
1146
1148
  */
1147
- circleStrokeColor?: Value<string, ['zoom', 'feature', 'feature-state']>;
1149
+ circleStrokeColor?: Value<string, ["zoom", "feature", "feature-state"]>;
1148
1150
 
1149
1151
  /**
1150
1152
  * The transition affecting any changes to this layer’s circleStrokeColor property.
@@ -1153,7 +1155,7 @@ export interface CircleLayerStyleProps {
1153
1155
  /**
1154
1156
  * The opacity of the circle's stroke.
1155
1157
  */
1156
- circleStrokeOpacity?: Value<number, ['zoom', 'feature', 'feature-state']>;
1158
+ circleStrokeOpacity?: Value<number, ["zoom", "feature", "feature-state"]>;
1157
1159
 
1158
1160
  /**
1159
1161
  * The transition affecting any changes to this layer’s circleStrokeOpacity property.
@@ -1168,7 +1170,7 @@ export interface HeatmapLayerStyleProps {
1168
1170
  /**
1169
1171
  * Radius of influence of one heatmap point in pixels. Increasing the value makes the heatmap smoother, but less detailed.
1170
1172
  */
1171
- heatmapRadius?: Value<number, ['zoom', 'feature', 'feature-state']>;
1173
+ heatmapRadius?: Value<number, ["zoom", "feature", "feature-state"]>;
1172
1174
 
1173
1175
  /**
1174
1176
  * The transition affecting any changes to this layer’s heatmapRadius property.
@@ -1177,11 +1179,11 @@ export interface HeatmapLayerStyleProps {
1177
1179
  /**
1178
1180
  * A measure of how much an individual point contributes to the heatmap. A value of 10 would be equivalent to having 10 points of weight 1 in the same spot. Especially useful when combined with clustering.
1179
1181
  */
1180
- heatmapWeight?: Value<number, ['zoom', 'feature', 'feature-state']>;
1182
+ heatmapWeight?: Value<number, ["zoom", "feature", "feature-state"]>;
1181
1183
  /**
1182
1184
  * Similar to `heatmapWeight` but controls the intensity of the heatmap globally. Primarily used for adjusting the heatmap based on zoom level.
1183
1185
  */
1184
- heatmapIntensity?: Value<number, ['zoom']>;
1186
+ heatmapIntensity?: Value<number, ["zoom"]>;
1185
1187
 
1186
1188
  /**
1187
1189
  * The transition affecting any changes to this layer’s heatmapIntensity property.
@@ -1190,11 +1192,11 @@ export interface HeatmapLayerStyleProps {
1190
1192
  /**
1191
1193
  * Defines the color of each pixel based on its density value in a heatmap. Should be an expression that uses `["heatmapDensity"]` as input.
1192
1194
  */
1193
- heatmapColor?: Value<string, ['heatmap-density']>;
1195
+ heatmapColor?: Value<string, ["heatmap-density"]>;
1194
1196
  /**
1195
1197
  * The global opacity at which the heatmap layer will be drawn.
1196
1198
  */
1197
- heatmapOpacity?: Value<number, ['zoom']>;
1199
+ heatmapOpacity?: Value<number, ["zoom"]>;
1198
1200
 
1199
1201
  /**
1200
1202
  * The transition affecting any changes to this layer’s heatmapOpacity property.
@@ -1209,7 +1211,7 @@ export interface FillExtrusionLayerStyleProps {
1209
1211
  /**
1210
1212
  * The opacity of the entire fill extrusion layer. This is rendered on a perLayer, not perFeature, basis, and dataDriven styling is not available.
1211
1213
  */
1212
- fillExtrusionOpacity?: Value<number, ['zoom']>;
1214
+ fillExtrusionOpacity?: Value<number, ["zoom"]>;
1213
1215
 
1214
1216
  /**
1215
1217
  * The transition affecting any changes to this layer’s fillExtrusionOpacity property.
@@ -1220,7 +1222,7 @@ export interface FillExtrusionLayerStyleProps {
1220
1222
  *
1221
1223
  * @disabledBy fillExtrusionPattern
1222
1224
  */
1223
- fillExtrusionColor?: Value<string, ['zoom', 'feature', 'feature-state']>;
1225
+ fillExtrusionColor?: Value<string, ["zoom", "feature", "feature-state"]>;
1224
1226
 
1225
1227
  /**
1226
1228
  * The transition affecting any changes to this layer’s fillExtrusionColor property.
@@ -1229,7 +1231,7 @@ export interface FillExtrusionLayerStyleProps {
1229
1231
  /**
1230
1232
  * The geometry's offset. Values are [x, y] where negatives indicate left and up (on the flat plane), respectively.
1231
1233
  */
1232
- fillExtrusionTranslate?: Value<Translation, ['zoom']>;
1234
+ fillExtrusionTranslate?: Value<Translation, ["zoom"]>;
1233
1235
 
1234
1236
  /**
1235
1237
  * The transition affecting any changes to this layer’s fillExtrusionTranslate property.
@@ -1245,12 +1247,12 @@ export interface FillExtrusionLayerStyleProps {
1245
1247
  FillExtrusionTranslateAnchorEnum,
1246
1248
  FillExtrusionTranslateAnchorEnumValues
1247
1249
  >,
1248
- ['zoom']
1250
+ ["zoom"]
1249
1251
  >;
1250
1252
  /**
1251
1253
  * Name of image in sprite to use for drawing images on extruded fills. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512). Note that zoomDependent expressions will be evaluated only at integer zoom levels.
1252
1254
  */
1253
- fillExtrusionPattern?: Value<ResolvedImageType, ['zoom', 'feature']>;
1255
+ fillExtrusionPattern?: Value<ResolvedImageType, ["zoom", "feature"]>;
1254
1256
 
1255
1257
  /**
1256
1258
  * The transition affecting any changes to this layer’s fillExtrusionPattern property.
@@ -1259,7 +1261,7 @@ export interface FillExtrusionLayerStyleProps {
1259
1261
  /**
1260
1262
  * The height with which to extrude this layer.
1261
1263
  */
1262
- fillExtrusionHeight?: Value<number, ['zoom', 'feature', 'feature-state']>;
1264
+ fillExtrusionHeight?: Value<number, ["zoom", "feature", "feature-state"]>;
1263
1265
 
1264
1266
  /**
1265
1267
  * The transition affecting any changes to this layer’s fillExtrusionHeight property.
@@ -1270,12 +1272,16 @@ export interface FillExtrusionLayerStyleProps {
1270
1272
  *
1271
1273
  * @requires fillExtrusionHeight
1272
1274
  */
1273
- fillExtrusionBase?: Value<number, ['zoom', 'feature', 'feature-state']>;
1275
+ fillExtrusionBase?: Value<number, ["zoom", "feature", "feature-state"]>;
1274
1276
 
1275
1277
  /**
1276
1278
  * The transition affecting any changes to this layer’s fillExtrusionBase property.
1277
1279
  */
1278
1280
  fillExtrusionBaseTransition?: Transition;
1281
+ /**
1282
+ * Whether to apply a vertical gradient to the sides of a fillExtrusion layer. If true, sides will be shaded slightly darker farther down.
1283
+ */
1284
+ fillExtrusionVerticalGradient?: Value<boolean, ["zoom"]>;
1279
1285
  }
1280
1286
  export interface RasterLayerStyleProps {
1281
1287
  /**
@@ -1285,7 +1291,7 @@ export interface RasterLayerStyleProps {
1285
1291
  /**
1286
1292
  * The opacity at which the image will be drawn.
1287
1293
  */
1288
- rasterOpacity?: Value<number, ['zoom']>;
1294
+ rasterOpacity?: Value<number, ["zoom"]>;
1289
1295
 
1290
1296
  /**
1291
1297
  * The transition affecting any changes to this layer’s rasterOpacity property.
@@ -1294,7 +1300,7 @@ export interface RasterLayerStyleProps {
1294
1300
  /**
1295
1301
  * Rotates hues around the color wheel.
1296
1302
  */
1297
- rasterHueRotate?: Value<number, ['zoom']>;
1303
+ rasterHueRotate?: Value<number, ["zoom"]>;
1298
1304
 
1299
1305
  /**
1300
1306
  * The transition affecting any changes to this layer’s rasterHueRotate property.
@@ -1303,7 +1309,7 @@ export interface RasterLayerStyleProps {
1303
1309
  /**
1304
1310
  * Increase or reduce the brightness of the image. The value is the minimum brightness.
1305
1311
  */
1306
- rasterBrightnessMin?: Value<number, ['zoom']>;
1312
+ rasterBrightnessMin?: Value<number, ["zoom"]>;
1307
1313
 
1308
1314
  /**
1309
1315
  * The transition affecting any changes to this layer’s rasterBrightnessMin property.
@@ -1312,7 +1318,7 @@ export interface RasterLayerStyleProps {
1312
1318
  /**
1313
1319
  * Increase or reduce the brightness of the image. The value is the maximum brightness.
1314
1320
  */
1315
- rasterBrightnessMax?: Value<number, ['zoom']>;
1321
+ rasterBrightnessMax?: Value<number, ["zoom"]>;
1316
1322
 
1317
1323
  /**
1318
1324
  * The transition affecting any changes to this layer’s rasterBrightnessMax property.
@@ -1321,7 +1327,7 @@ export interface RasterLayerStyleProps {
1321
1327
  /**
1322
1328
  * Increase or reduce the saturation of the image.
1323
1329
  */
1324
- rasterSaturation?: Value<number, ['zoom']>;
1330
+ rasterSaturation?: Value<number, ["zoom"]>;
1325
1331
 
1326
1332
  /**
1327
1333
  * The transition affecting any changes to this layer’s rasterSaturation property.
@@ -1330,7 +1336,7 @@ export interface RasterLayerStyleProps {
1330
1336
  /**
1331
1337
  * Increase or reduce the contrast of the image.
1332
1338
  */
1333
- rasterContrast?: Value<number, ['zoom']>;
1339
+ rasterContrast?: Value<number, ["zoom"]>;
1334
1340
 
1335
1341
  /**
1336
1342
  * The transition affecting any changes to this layer’s rasterContrast property.
@@ -1341,12 +1347,12 @@ export interface RasterLayerStyleProps {
1341
1347
  */
1342
1348
  rasterResampling?: Value<
1343
1349
  Enum<RasterResamplingEnum, RasterResamplingEnumValues>,
1344
- ['zoom']
1350
+ ["zoom"]
1345
1351
  >;
1346
1352
  /**
1347
- * Fade duration when a new tile is added.
1353
+ * Fade duration when a new tile is added, or when a video is started or its coordinates are updated.
1348
1354
  */
1349
- rasterFadeDuration?: Value<number, ['zoom']>;
1355
+ rasterFadeDuration?: Value<number, ["zoom"]>;
1350
1356
  }
1351
1357
  export interface HillshadeLayerStyleProps {
1352
1358
  /**
@@ -1356,7 +1362,7 @@ export interface HillshadeLayerStyleProps {
1356
1362
  /**
1357
1363
  * The direction of the light source used to generate the hillshading with 0 as the top of the viewport if `hillshadeIlluminationAnchor` is set to `viewport` and due north if `hillshadeIlluminationAnchor` is set to `map`.
1358
1364
  */
1359
- hillshadeIlluminationDirection?: Value<number, ['zoom']>;
1365
+ hillshadeIlluminationDirection?: Value<number, ["zoom"]>;
1360
1366
  /**
1361
1367
  * Direction of light source when map is rotated.
1362
1368
  */
@@ -1365,12 +1371,12 @@ export interface HillshadeLayerStyleProps {
1365
1371
  HillshadeIlluminationAnchorEnum,
1366
1372
  HillshadeIlluminationAnchorEnumValues
1367
1373
  >,
1368
- ['zoom']
1374
+ ["zoom"]
1369
1375
  >;
1370
1376
  /**
1371
1377
  * Intensity of the hillshade
1372
1378
  */
1373
- hillshadeExaggeration?: Value<number, ['zoom']>;
1379
+ hillshadeExaggeration?: Value<number, ["zoom"]>;
1374
1380
 
1375
1381
  /**
1376
1382
  * The transition affecting any changes to this layer’s hillshadeExaggeration property.
@@ -1379,7 +1385,7 @@ export interface HillshadeLayerStyleProps {
1379
1385
  /**
1380
1386
  * The shading color of areas that face away from the light source.
1381
1387
  */
1382
- hillshadeShadowColor?: Value<string, ['zoom']>;
1388
+ hillshadeShadowColor?: Value<string, ["zoom"]>;
1383
1389
 
1384
1390
  /**
1385
1391
  * The transition affecting any changes to this layer’s hillshadeShadowColor property.
@@ -1388,7 +1394,7 @@ export interface HillshadeLayerStyleProps {
1388
1394
  /**
1389
1395
  * The shading color of areas that faces towards the light source.
1390
1396
  */
1391
- hillshadeHighlightColor?: Value<string, ['zoom']>;
1397
+ hillshadeHighlightColor?: Value<string, ["zoom"]>;
1392
1398
 
1393
1399
  /**
1394
1400
  * The transition affecting any changes to this layer’s hillshadeHighlightColor property.
@@ -1397,7 +1403,7 @@ export interface HillshadeLayerStyleProps {
1397
1403
  /**
1398
1404
  * The shading color used to accentuate rugged terrain like sharp cliffs and gorges.
1399
1405
  */
1400
- hillshadeAccentColor?: Value<string, ['zoom']>;
1406
+ hillshadeAccentColor?: Value<string, ["zoom"]>;
1401
1407
 
1402
1408
  /**
1403
1409
  * The transition affecting any changes to this layer’s hillshadeAccentColor property.
@@ -1414,7 +1420,7 @@ export interface BackgroundLayerStyleProps {
1414
1420
  *
1415
1421
  * @disabledBy backgroundPattern
1416
1422
  */
1417
- backgroundColor?: Value<string, ['zoom']>;
1423
+ backgroundColor?: Value<string, ["zoom"]>;
1418
1424
 
1419
1425
  /**
1420
1426
  * The transition affecting any changes to this layer’s backgroundColor property.
@@ -1423,7 +1429,7 @@ export interface BackgroundLayerStyleProps {
1423
1429
  /**
1424
1430
  * Name of image in sprite to use for drawing an image background. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512). Note that zoomDependent expressions will be evaluated only at integer zoom levels.
1425
1431
  */
1426
- backgroundPattern?: Value<ResolvedImageType, ['zoom']>;
1432
+ backgroundPattern?: Value<ResolvedImageType, ["zoom"]>;
1427
1433
 
1428
1434
  /**
1429
1435
  * The transition affecting any changes to this layer’s backgroundPattern property.
@@ -1432,7 +1438,7 @@ export interface BackgroundLayerStyleProps {
1432
1438
  /**
1433
1439
  * The opacity at which the background will be drawn.
1434
1440
  */
1435
- backgroundOpacity?: Value<number, ['zoom']>;
1441
+ backgroundOpacity?: Value<number, ["zoom"]>;
1436
1442
 
1437
1443
  /**
1438
1444
  * The transition affecting any changes to this layer’s backgroundOpacity property.
@@ -1443,11 +1449,11 @@ export interface LightLayerStyleProps {
1443
1449
  /**
1444
1450
  * Whether extruded geometries are lit relative to the map or viewport.
1445
1451
  */
1446
- anchor?: Value<Enum<AnchorEnum, AnchorEnumValues>, ['zoom']>;
1452
+ anchor?: Value<Enum<AnchorEnum, AnchorEnumValues>, ["zoom"]>;
1447
1453
  /**
1448
1454
  * Position of the light source relative to lit (extruded) geometries, in [r radial coordinate, a azimuthal angle, p polar angle] where r indicates the distance from the center of the base of an object to its light, a indicates the position of the light relative to 0° (0° when `light.anchor` is set to `viewport` corresponds to the top of the viewport, or 0° when `light.anchor` is set to `map` corresponds to due north, and degrees proceed clockwise), and p indicates the height of the light (from 0°, directly above, to 180°, directly below).
1449
1455
  */
1450
- position?: Value<number[], ['zoom']>;
1456
+ position?: Value<number[], ["zoom"]>;
1451
1457
 
1452
1458
  /**
1453
1459
  * The transition affecting any changes to this layer’s position property.
@@ -1456,7 +1462,7 @@ export interface LightLayerStyleProps {
1456
1462
  /**
1457
1463
  * Color tint for lighting extruded geometries.
1458
1464
  */
1459
- color?: Value<string, ['zoom']>;
1465
+ color?: Value<string, ["zoom"]>;
1460
1466
 
1461
1467
  /**
1462
1468
  * The transition affecting any changes to this layer’s color property.
@@ -1465,7 +1471,7 @@ export interface LightLayerStyleProps {
1465
1471
  /**
1466
1472
  * Intensity of lighting (on a scale from 0 to 1). Higher numbers will present as more extreme contrast.
1467
1473
  */
1468
- intensity?: Value<number, ['zoom']>;
1474
+ intensity?: Value<number, ["zoom"]>;
1469
1475
 
1470
1476
  /**
1471
1477
  * The transition affecting any changes to this layer’s intensity property.