@maplibre/maplibre-react-native 11.0.0-beta.9 → 11.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (718) hide show
  1. package/MapLibreReactNative.podspec +1 -1
  2. package/README.md +0 -5
  3. package/android/build.gradle +3 -1
  4. package/android/gradle.properties +2 -2
  5. package/android/src/main/java/org/maplibre/reactnative/MLRNPackage.kt +14 -1
  6. package/android/src/main/java/org/maplibre/reactnative/components/annotations/markerview/MLRNMarkerView.kt +35 -29
  7. package/android/src/main/java/org/maplibre/reactnative/components/annotations/markerview/MLRNMarkerViewManager.kt +8 -1
  8. package/android/src/main/java/org/maplibre/reactnative/components/annotations/markerview/MarkerViewManager.kt +8 -5
  9. package/android/src/main/java/org/maplibre/reactnative/components/annotations/pointannotation/MLRNPointAnnotation.kt +45 -25
  10. package/android/src/main/java/org/maplibre/reactnative/components/annotations/pointannotation/MLRNPointAnnotationManager.kt +2 -1
  11. package/android/src/main/java/org/maplibre/reactnative/components/layer/MLRNLayer.kt +8 -8
  12. package/android/src/main/java/org/maplibre/reactnative/components/layer/style/MLRNStyle.kt +60 -0
  13. package/android/src/main/java/org/maplibre/reactnative/components/layer/style/MLRNStyleFactory.kt +3005 -0
  14. package/android/src/main/java/org/maplibre/reactnative/components/layer/style/MLRNStyleValue.kt +159 -0
  15. package/android/src/main/java/org/maplibre/reactnative/components/mapview/MLRNMapView.kt +234 -128
  16. package/android/src/main/java/org/maplibre/reactnative/components/mapview/MLRNMapViewManager.kt +37 -3
  17. package/android/src/main/java/org/maplibre/reactnative/components/mapview/MLRNMapViewModule.kt +3 -1
  18. package/android/src/main/java/org/maplibre/reactnative/modules/MLRNLogModule.kt +2 -0
  19. package/android/src/main/java/org/maplibre/reactnative/modules/MLRNNetworkModule.kt +0 -42
  20. package/android/src/main/java/org/maplibre/reactnative/modules/MLRNOfflineModule.kt +27 -4
  21. package/android/src/main/java/org/maplibre/reactnative/modules/MLRNTransformRequestModule.kt +144 -0
  22. package/android/src/main/java/org/maplibre/reactnative/modules/TransformRequestInterceptor.kt +184 -0
  23. package/ios/components/annotations/point-annotation/MLRNPointAnnotation.h +3 -2
  24. package/ios/components/annotations/point-annotation/MLRNPointAnnotation.m +65 -2
  25. package/ios/components/annotations/point-annotation/MLRNPointAnnotationComponentView.mm +24 -6
  26. package/ios/components/images/MLRNImageLoader.h +27 -0
  27. package/ios/components/images/MLRNImageLoader.m +85 -0
  28. package/ios/components/images/MLRNImageQueue.h +2 -2
  29. package/ios/components/images/MLRNImageQueue.m +2 -2
  30. package/ios/components/images/MLRNImageQueueOperation.h +2 -2
  31. package/ios/components/images/MLRNImageQueueOperation.m +3 -3
  32. package/ios/components/images/MLRNImages.h +0 -3
  33. package/ios/components/images/MLRNImages.m +6 -6
  34. package/ios/components/images/MLRNImagesComponentView.mm +0 -3
  35. package/ios/components/images/MLRNImagesModule.h +6 -0
  36. package/ios/components/images/MLRNImagesModule.mm +23 -0
  37. package/ios/components/layer/MLRNLayer.h +0 -3
  38. package/ios/components/layer/MLRNLayer.m +0 -1
  39. package/ios/components/layer/MLRNLayerComponentView.mm +0 -2
  40. package/ios/components/layer/style/MLRNStyle.h +1 -3
  41. package/ios/components/layer/style/MLRNStyle.m +68 -71
  42. package/ios/components/map-view/MLRNMapView.h +8 -1
  43. package/ios/components/map-view/MLRNMapView.m +106 -24
  44. package/ios/components/map-view/MLRNMapViewComponentView.mm +28 -2
  45. package/ios/components/sources/geojson-source/MLRNGeoJSONSource.h +0 -3
  46. package/ios/modules/logging/MLRNLogging.h +4 -0
  47. package/ios/modules/logging/MLRNLogging.m +8 -0
  48. package/ios/modules/network/MLRNNetworkModule.mm +0 -10
  49. package/ios/modules/offline/MLRNOfflineModule.h +1 -2
  50. package/ios/modules/offline/MLRNOfflineModule.mm +9 -9
  51. package/ios/modules/transform-request/MLRNTransformRequest.h +38 -0
  52. package/ios/modules/transform-request/MLRNTransformRequest.m +413 -0
  53. package/ios/modules/transform-request/MLRNTransformRequestModule.h +9 -0
  54. package/ios/modules/transform-request/MLRNTransformRequestModule.mm +72 -0
  55. package/ios/utils/MLRNUtils.h +0 -14
  56. package/ios/utils/MLRNUtils.m +0 -71
  57. package/lib/commonjs/components/annotations/callout/Callout.js +2 -1
  58. package/lib/commonjs/components/annotations/callout/Callout.js.map +1 -1
  59. package/lib/commonjs/components/annotations/marker/Marker.js +17 -3
  60. package/lib/commonjs/components/annotations/marker/Marker.js.map +1 -1
  61. package/lib/commonjs/components/annotations/marker/MarkerViewNativeComponent.ts +10 -0
  62. package/lib/commonjs/components/annotations/view-annotation/PointAnnotationNativeComponent.ts +3 -2
  63. package/lib/commonjs/components/annotations/view-annotation/ViewAnnotation.js +20 -17
  64. package/lib/commonjs/components/annotations/view-annotation/ViewAnnotation.js.map +1 -1
  65. package/lib/commonjs/components/camera/Camera.js +52 -3
  66. package/lib/commonjs/components/camera/Camera.js.map +1 -1
  67. package/lib/commonjs/components/images/Images.js +12 -2
  68. package/lib/commonjs/components/images/Images.js.map +1 -1
  69. package/lib/commonjs/components/images/NativeImagesModule.js +10 -0
  70. package/lib/commonjs/components/images/NativeImagesModule.js.map +1 -0
  71. package/lib/commonjs/components/layer/Layer.js +18 -8
  72. package/lib/commonjs/components/layer/Layer.js.map +1 -1
  73. package/lib/commonjs/components/map/AndroidTextureMapViewNativeComponent.ts +7 -2
  74. package/lib/commonjs/components/map/Map.js +29 -4
  75. package/lib/commonjs/components/map/Map.js.map +1 -1
  76. package/lib/commonjs/components/map/MapViewNativeComponent.ts +6 -1
  77. package/lib/commonjs/components/sources/geojson-source/GeoJSONSource.js +6 -5
  78. package/lib/commonjs/components/sources/geojson-source/GeoJSONSource.js.map +1 -1
  79. package/lib/commonjs/components/sources/image-source/ImageSource.js +3 -2
  80. package/lib/commonjs/components/sources/image-source/ImageSource.js.map +1 -1
  81. package/lib/commonjs/components/sources/raster-source/RasterSource.js +4 -3
  82. package/lib/commonjs/components/sources/raster-source/RasterSource.js.map +1 -1
  83. package/lib/commonjs/components/sources/vector-source/VectorSource.js +8 -5
  84. package/lib/commonjs/components/sources/vector-source/VectorSource.js.map +1 -1
  85. package/lib/commonjs/components/user-location/NativeUserLocation.js.map +1 -1
  86. package/lib/commonjs/components/user-location/UserLocation.js.map +1 -1
  87. package/lib/commonjs/index.js +7 -0
  88. package/lib/commonjs/index.js.map +1 -1
  89. package/lib/commonjs/modules/log/LogManager.js +5 -4
  90. package/lib/commonjs/modules/log/LogManager.js.map +1 -1
  91. package/lib/commonjs/modules/network/NativeNetworkModule.js.map +1 -1
  92. package/lib/commonjs/modules/network/NetworkManager.js +6 -44
  93. package/lib/commonjs/modules/network/NetworkManager.js.map +1 -1
  94. package/lib/commonjs/modules/offline/OfflineManager.js +109 -62
  95. package/lib/commonjs/modules/offline/OfflineManager.js.map +1 -1
  96. package/lib/commonjs/modules/static-map/StaticMapManager.js +13 -5
  97. package/lib/commonjs/modules/static-map/StaticMapManager.js.map +1 -1
  98. package/lib/commonjs/modules/transform-request/NativeTransformRequestModule.js +9 -0
  99. package/lib/commonjs/modules/transform-request/NativeTransformRequestModule.js.map +1 -0
  100. package/lib/commonjs/modules/transform-request/TransformRequestManager.js +233 -0
  101. package/lib/commonjs/modules/transform-request/TransformRequestManager.js.map +1 -0
  102. package/lib/commonjs/plugin/ios.js +28 -15
  103. package/lib/commonjs/plugin/ios.js.map +1 -1
  104. package/lib/commonjs/types/Anchor.js +5 -6
  105. package/lib/commonjs/types/Anchor.js.map +1 -1
  106. package/lib/commonjs/types/PressableSourceProps.js.map +1 -0
  107. package/lib/commonjs/utils/animated/AbstractAnimatedCoordinates.js +2 -2
  108. package/lib/commonjs/utils/animated/AnimatedCoordinatesArray.js +6 -6
  109. package/lib/commonjs/utils/animated/AnimatedGeoJSON.js +2 -1
  110. package/lib/commonjs/utils/animated/AnimatedGeoJSON.js.map +1 -1
  111. package/lib/commonjs/utils/animated/AnimatedRouteCoordinatesArray.js +6 -6
  112. package/lib/commonjs/utils/convertStyleSpec.js +4 -4
  113. package/lib/commonjs/utils/getStylePropertyType.js +1 -1
  114. package/lib/module/components/annotations/callout/Callout.js +2 -1
  115. package/lib/module/components/annotations/callout/Callout.js.map +1 -1
  116. package/lib/module/components/annotations/marker/Marker.js +17 -3
  117. package/lib/module/components/annotations/marker/Marker.js.map +1 -1
  118. package/lib/module/components/annotations/marker/MarkerViewNativeComponent.ts +10 -0
  119. package/lib/module/components/annotations/view-annotation/PointAnnotationNativeComponent.ts +3 -2
  120. package/lib/module/components/annotations/view-annotation/ViewAnnotation.js +20 -17
  121. package/lib/module/components/annotations/view-annotation/ViewAnnotation.js.map +1 -1
  122. package/lib/module/components/camera/Camera.js +53 -4
  123. package/lib/module/components/camera/Camera.js.map +1 -1
  124. package/lib/module/components/images/Images.js +12 -2
  125. package/lib/module/components/images/Images.js.map +1 -1
  126. package/lib/module/components/images/NativeImagesModule.js +7 -0
  127. package/lib/module/components/images/NativeImagesModule.js.map +1 -0
  128. package/lib/module/components/layer/Layer.js +18 -8
  129. package/lib/module/components/layer/Layer.js.map +1 -1
  130. package/lib/module/components/map/AndroidTextureMapViewNativeComponent.ts +7 -2
  131. package/lib/module/components/map/Map.js +30 -5
  132. package/lib/module/components/map/Map.js.map +1 -1
  133. package/lib/module/components/map/MapViewNativeComponent.ts +6 -1
  134. package/lib/module/components/sources/geojson-source/GeoJSONSource.js +7 -6
  135. package/lib/module/components/sources/geojson-source/GeoJSONSource.js.map +1 -1
  136. package/lib/module/components/sources/image-source/ImageSource.js +3 -2
  137. package/lib/module/components/sources/image-source/ImageSource.js.map +1 -1
  138. package/lib/module/components/sources/raster-source/RasterSource.js +4 -3
  139. package/lib/module/components/sources/raster-source/RasterSource.js.map +1 -1
  140. package/lib/module/components/sources/vector-source/VectorSource.js +9 -6
  141. package/lib/module/components/sources/vector-source/VectorSource.js.map +1 -1
  142. package/lib/module/components/user-location/NativeUserLocation.js.map +1 -1
  143. package/lib/module/components/user-location/UserLocation.js.map +1 -1
  144. package/lib/module/index.js +1 -0
  145. package/lib/module/index.js.map +1 -1
  146. package/lib/module/modules/log/LogManager.js +5 -4
  147. package/lib/module/modules/log/LogManager.js.map +1 -1
  148. package/lib/module/modules/network/NativeNetworkModule.js.map +1 -1
  149. package/lib/module/modules/network/NetworkManager.js +6 -44
  150. package/lib/module/modules/network/NetworkManager.js.map +1 -1
  151. package/lib/module/modules/offline/OfflineManager.js +109 -62
  152. package/lib/module/modules/offline/OfflineManager.js.map +1 -1
  153. package/lib/module/modules/static-map/StaticMapManager.js +13 -5
  154. package/lib/module/modules/static-map/StaticMapManager.js.map +1 -1
  155. package/lib/module/modules/transform-request/NativeTransformRequestModule.js +5 -0
  156. package/lib/module/modules/transform-request/NativeTransformRequestModule.js.map +1 -0
  157. package/lib/module/modules/transform-request/TransformRequestManager.js +230 -0
  158. package/lib/module/modules/transform-request/TransformRequestManager.js.map +1 -0
  159. package/lib/module/plugin/ios.js +28 -15
  160. package/lib/module/plugin/ios.js.map +1 -1
  161. package/lib/module/types/Anchor.js +5 -6
  162. package/lib/module/types/Anchor.js.map +1 -1
  163. package/lib/module/types/PressableSourceProps.js.map +1 -0
  164. package/lib/module/utils/animated/AbstractAnimatedCoordinates.js +2 -2
  165. package/lib/module/utils/animated/AnimatedCoordinatesArray.js +6 -6
  166. package/lib/module/utils/animated/AnimatedGeoJSON.js +2 -1
  167. package/lib/module/utils/animated/AnimatedGeoJSON.js.map +1 -1
  168. package/lib/module/utils/animated/AnimatedRouteCoordinatesArray.js +6 -6
  169. package/lib/module/utils/convertStyleSpec.js +4 -4
  170. package/lib/module/utils/getStylePropertyType.js +1 -1
  171. package/lib/typescript/commonjs/components/annotations/LayerAnnotation.d.ts.map +1 -0
  172. package/lib/typescript/commonjs/{src/components → components}/annotations/callout/Callout.d.ts +3 -2
  173. package/lib/typescript/commonjs/components/annotations/callout/Callout.d.ts.map +1 -0
  174. package/lib/typescript/commonjs/components/annotations/callout/CalloutNativeComponent.d.ts.map +1 -0
  175. package/lib/typescript/{module/src → commonjs}/components/annotations/marker/Marker.d.ts +29 -22
  176. package/lib/typescript/commonjs/components/annotations/marker/Marker.d.ts.map +1 -0
  177. package/lib/typescript/commonjs/{src/components → components}/annotations/marker/MarkerViewNativeComponent.d.ts +10 -0
  178. package/lib/typescript/commonjs/components/annotations/marker/MarkerViewNativeComponent.d.ts.map +1 -0
  179. package/lib/typescript/{module/src → commonjs}/components/annotations/view-annotation/PointAnnotationNativeComponent.d.ts +3 -2
  180. package/lib/typescript/commonjs/components/annotations/view-annotation/PointAnnotationNativeComponent.d.ts.map +1 -0
  181. package/lib/typescript/commonjs/{src/components → components}/annotations/view-annotation/ViewAnnotation.d.ts +35 -29
  182. package/lib/typescript/commonjs/components/annotations/view-annotation/ViewAnnotation.d.ts.map +1 -0
  183. package/lib/typescript/commonjs/{src/components → components}/camera/Camera.d.ts +85 -43
  184. package/lib/typescript/commonjs/components/camera/Camera.d.ts.map +1 -0
  185. package/lib/typescript/commonjs/components/camera/CameraNativeComponent.d.ts.map +1 -0
  186. package/lib/typescript/commonjs/components/camera/NativeCameraModule.d.ts.map +1 -0
  187. package/lib/typescript/commonjs/{src/components → components}/images/Images.d.ts +20 -12
  188. package/lib/typescript/commonjs/components/images/Images.d.ts.map +1 -0
  189. package/lib/typescript/commonjs/components/images/ImagesNativeComponent.d.ts.map +1 -0
  190. package/lib/typescript/commonjs/components/images/NativeImagesModule.d.ts +6 -0
  191. package/lib/typescript/commonjs/components/images/NativeImagesModule.d.ts.map +1 -0
  192. package/lib/typescript/commonjs/{src/components → components}/layer/Layer.d.ts +18 -8
  193. package/lib/typescript/commonjs/components/layer/Layer.d.ts.map +1 -0
  194. package/lib/typescript/commonjs/components/layer/LayerNativeComponent.d.ts.map +1 -0
  195. package/lib/typescript/commonjs/{src/components → components}/map/AndroidTextureMapViewNativeComponent.d.ts +5 -1
  196. package/lib/typescript/commonjs/components/map/AndroidTextureMapViewNativeComponent.d.ts.map +1 -0
  197. package/lib/typescript/commonjs/{src/components → components}/map/Map.d.ts +151 -75
  198. package/lib/typescript/commonjs/components/map/Map.d.ts.map +1 -0
  199. package/lib/typescript/{module/src → commonjs}/components/map/MapViewNativeComponent.d.ts +5 -1
  200. package/lib/typescript/commonjs/components/map/MapViewNativeComponent.d.ts.map +1 -0
  201. package/lib/typescript/commonjs/components/map/NativeMapViewModule.d.ts.map +1 -0
  202. package/lib/typescript/commonjs/{src/components → components}/sources/geojson-source/GeoJSONSource.d.ts +47 -44
  203. package/lib/typescript/commonjs/components/sources/geojson-source/GeoJSONSource.d.ts.map +1 -0
  204. package/lib/typescript/commonjs/components/sources/geojson-source/GeoJSONSourceNativeComponent.d.ts.map +1 -0
  205. package/lib/typescript/commonjs/components/sources/geojson-source/NativeGeoJSONSourceModule.d.ts.map +1 -0
  206. package/lib/typescript/commonjs/{src/components → components}/sources/image-source/ImageSource.d.ts +5 -3
  207. package/lib/typescript/commonjs/components/sources/image-source/ImageSource.d.ts.map +1 -0
  208. package/lib/typescript/commonjs/components/sources/image-source/ImageSourceNativeComponent.d.ts.map +1 -0
  209. package/lib/typescript/commonjs/{src/components → components}/sources/raster-source/RasterSource.d.ts +20 -15
  210. package/lib/typescript/commonjs/components/sources/raster-source/RasterSource.d.ts.map +1 -0
  211. package/lib/typescript/commonjs/components/sources/raster-source/RasterSourceNativeComponent.d.ts.map +1 -0
  212. package/lib/typescript/commonjs/components/sources/vector-source/NativeVectorSourceModule.d.ts.map +1 -0
  213. package/lib/typescript/commonjs/components/sources/vector-source/VectorSource.d.ts +75 -0
  214. package/lib/typescript/commonjs/components/sources/vector-source/VectorSource.d.ts.map +1 -0
  215. package/lib/typescript/commonjs/components/sources/vector-source/VectorSourceNativeComponent.d.ts.map +1 -0
  216. package/lib/typescript/{module/src → commonjs}/components/user-location/NativeUserLocation.d.ts +9 -6
  217. package/lib/typescript/commonjs/components/user-location/NativeUserLocation.d.ts.map +1 -0
  218. package/lib/typescript/commonjs/{src/components → components}/user-location/UserLocation.d.ts +4 -2
  219. package/lib/typescript/commonjs/components/user-location/UserLocation.d.ts.map +1 -0
  220. package/lib/typescript/commonjs/components/user-location/UserLocationNativeComponent.d.ts.map +1 -0
  221. package/lib/typescript/commonjs/components/user-location/UserLocationPuck.d.ts.map +1 -0
  222. package/lib/typescript/commonjs/components/user-location/UserLocationPuckHeading.d.ts.map +1 -0
  223. package/lib/typescript/commonjs/{src/hooks → hooks}/useCurrentPosition.d.ts +2 -2
  224. package/lib/typescript/commonjs/hooks/useCurrentPosition.d.ts.map +1 -0
  225. package/lib/typescript/commonjs/hooks/useFrozenId.d.ts.map +1 -0
  226. package/lib/typescript/commonjs/hooks/useNativeBridge.d.ts.map +1 -0
  227. package/lib/typescript/commonjs/{src/index.d.ts → index.d.ts} +3 -2
  228. package/lib/typescript/commonjs/index.d.ts.map +1 -0
  229. package/lib/typescript/commonjs/modules/location/LocationManager.d.ts.map +1 -0
  230. package/lib/typescript/commonjs/modules/location/NativeLocationModule.d.ts.map +1 -0
  231. package/lib/typescript/commonjs/{src/modules → modules}/log/LogManager.d.ts +5 -4
  232. package/lib/typescript/commonjs/modules/log/LogManager.d.ts.map +1 -0
  233. package/lib/typescript/commonjs/modules/log/NativeLogModule.d.ts.map +1 -0
  234. package/lib/typescript/commonjs/{src/modules → modules}/network/NativeNetworkModule.d.ts +0 -2
  235. package/lib/typescript/commonjs/modules/network/NativeNetworkModule.d.ts.map +1 -0
  236. package/lib/typescript/commonjs/modules/network/NetworkManager.d.ts +24 -0
  237. package/lib/typescript/commonjs/modules/network/NetworkManager.d.ts.map +1 -0
  238. package/lib/typescript/commonjs/modules/offline/NativeOfflineModule.d.ts.map +1 -0
  239. package/lib/typescript/commonjs/{src/modules → modules}/offline/OfflineManager.d.ts +110 -63
  240. package/lib/typescript/commonjs/modules/offline/OfflineManager.d.ts.map +1 -0
  241. package/lib/typescript/commonjs/modules/offline/OfflinePack.d.ts.map +1 -0
  242. package/lib/typescript/commonjs/modules/static-map/NativeStaticMapModule.d.ts.map +1 -0
  243. package/lib/typescript/commonjs/{src/modules → modules}/static-map/StaticMapManager.d.ts +15 -7
  244. package/lib/typescript/commonjs/modules/static-map/StaticMapManager.d.ts.map +1 -0
  245. package/lib/typescript/commonjs/modules/transform-request/NativeTransformRequestModule.d.ts +15 -0
  246. package/lib/typescript/commonjs/modules/transform-request/NativeTransformRequestModule.d.ts.map +1 -0
  247. package/lib/typescript/commonjs/modules/transform-request/TransformRequestManager.d.ts +213 -0
  248. package/lib/typescript/commonjs/modules/transform-request/TransformRequestManager.d.ts.map +1 -0
  249. package/lib/typescript/{module/src → commonjs}/plugin/MapLibrePluginProps.d.ts +10 -15
  250. package/lib/typescript/commonjs/plugin/MapLibrePluginProps.d.ts.map +1 -0
  251. package/lib/typescript/commonjs/plugin/android.d.ts.map +1 -0
  252. package/lib/typescript/commonjs/{src/plugin → plugin}/ios.d.ts +2 -2
  253. package/lib/typescript/commonjs/plugin/ios.d.ts.map +1 -0
  254. package/lib/typescript/commonjs/plugin/withMapLibre.d.ts.map +1 -0
  255. package/lib/typescript/commonjs/types/Anchor.d.ts +16 -0
  256. package/lib/typescript/commonjs/types/Anchor.d.ts.map +1 -0
  257. package/lib/typescript/commonjs/types/BaseProps.d.ts +7 -0
  258. package/lib/typescript/commonjs/types/BaseProps.d.ts.map +1 -0
  259. package/lib/typescript/commonjs/types/LngLat.d.ts.map +1 -0
  260. package/lib/typescript/commonjs/{src/types → types}/LngLatBounds.d.ts +2 -1
  261. package/lib/typescript/commonjs/types/LngLatBounds.d.ts.map +1 -0
  262. package/lib/typescript/commonjs/{src/types → types}/MapLibreRNStyles.d.ts +316 -132
  263. package/lib/typescript/commonjs/types/MapLibreRNStyles.d.ts.map +1 -0
  264. package/lib/typescript/commonjs/types/PixelPoint.d.ts.map +1 -0
  265. package/lib/typescript/commonjs/types/PixelPointBounds.d.ts.map +1 -0
  266. package/lib/typescript/{module/src → commonjs}/types/PressEvent.d.ts +3 -0
  267. package/lib/typescript/commonjs/types/PressEvent.d.ts.map +1 -0
  268. package/lib/typescript/commonjs/{src/types → types}/PressEventWithFeatures.d.ts +3 -0
  269. package/lib/typescript/commonjs/types/PressEventWithFeatures.d.ts.map +1 -0
  270. package/lib/typescript/{module/src/types/sources → commonjs/types}/PressableSourceProps.d.ts +6 -4
  271. package/lib/typescript/commonjs/types/PressableSourceProps.d.ts.map +1 -0
  272. package/lib/typescript/{module/src → commonjs}/types/ViewPadding.d.ts +3 -0
  273. package/lib/typescript/commonjs/types/ViewPadding.d.ts.map +1 -0
  274. package/lib/typescript/commonjs/types/codegen/UnsafeMixed.d.ts.map +1 -0
  275. package/lib/typescript/commonjs/utils/BridgeValue.d.ts.map +1 -0
  276. package/lib/typescript/commonjs/utils/StyleValue.d.ts.map +1 -0
  277. package/lib/typescript/{module/src → commonjs}/utils/animated/AbstractAnimatedCoordinates.d.ts +2 -2
  278. package/lib/typescript/commonjs/utils/animated/AbstractAnimatedCoordinates.d.ts.map +1 -0
  279. package/lib/typescript/{module/src → commonjs}/utils/animated/Animated.d.ts +1 -1
  280. package/lib/typescript/commonjs/utils/animated/Animated.d.ts.map +1 -0
  281. package/lib/typescript/commonjs/{src/utils → utils}/animated/AnimatedCoordinatesArray.d.ts +6 -6
  282. package/lib/typescript/commonjs/utils/animated/AnimatedCoordinatesArray.d.ts.map +1 -0
  283. package/lib/typescript/commonjs/utils/animated/AnimatedExtractCoordinateFromArray.d.ts.map +1 -0
  284. package/lib/typescript/commonjs/{src/utils → utils}/animated/AnimatedGeoJSON.d.ts +2 -1
  285. package/lib/typescript/commonjs/utils/animated/AnimatedGeoJSON.d.ts.map +1 -0
  286. package/lib/typescript/commonjs/utils/animated/AnimatedPoint.d.ts.map +1 -0
  287. package/lib/typescript/commonjs/{src/utils → utils}/animated/AnimatedRouteCoordinatesArray.d.ts +6 -6
  288. package/lib/typescript/commonjs/utils/animated/AnimatedRouteCoordinatesArray.d.ts.map +1 -0
  289. package/lib/typescript/{module/src → commonjs}/utils/convertStyleSpec.d.ts +4 -4
  290. package/lib/typescript/commonjs/utils/convertStyleSpec.d.ts.map +1 -0
  291. package/lib/typescript/commonjs/utils/findNodeHandle.d.ts.map +1 -0
  292. package/lib/typescript/commonjs/utils/getNativeFilter.d.ts.map +1 -0
  293. package/lib/typescript/commonjs/utils/getStylePropertyType.d.ts.map +1 -0
  294. package/lib/typescript/commonjs/utils/index.d.ts.map +1 -0
  295. package/lib/typescript/module/components/annotations/LayerAnnotation.d.ts.map +1 -0
  296. package/lib/typescript/module/{src/components → components}/annotations/callout/Callout.d.ts +3 -2
  297. package/lib/typescript/module/components/annotations/callout/Callout.d.ts.map +1 -0
  298. package/lib/typescript/module/components/annotations/callout/CalloutNativeComponent.d.ts.map +1 -0
  299. package/lib/typescript/{commonjs/src → module}/components/annotations/marker/Marker.d.ts +29 -22
  300. package/lib/typescript/module/components/annotations/marker/Marker.d.ts.map +1 -0
  301. package/lib/typescript/module/{src/components → components}/annotations/marker/MarkerViewNativeComponent.d.ts +10 -0
  302. package/lib/typescript/module/components/annotations/marker/MarkerViewNativeComponent.d.ts.map +1 -0
  303. package/lib/typescript/{commonjs/src → module}/components/annotations/view-annotation/PointAnnotationNativeComponent.d.ts +3 -2
  304. package/lib/typescript/module/components/annotations/view-annotation/PointAnnotationNativeComponent.d.ts.map +1 -0
  305. package/lib/typescript/module/{src/components → components}/annotations/view-annotation/ViewAnnotation.d.ts +35 -29
  306. package/lib/typescript/module/components/annotations/view-annotation/ViewAnnotation.d.ts.map +1 -0
  307. package/lib/typescript/module/{src/components → components}/camera/Camera.d.ts +85 -43
  308. package/lib/typescript/module/components/camera/Camera.d.ts.map +1 -0
  309. package/lib/typescript/module/components/camera/CameraNativeComponent.d.ts.map +1 -0
  310. package/lib/typescript/module/components/camera/NativeCameraModule.d.ts.map +1 -0
  311. package/lib/typescript/module/{src/components → components}/images/Images.d.ts +20 -12
  312. package/lib/typescript/module/components/images/Images.d.ts.map +1 -0
  313. package/lib/typescript/module/components/images/ImagesNativeComponent.d.ts.map +1 -0
  314. package/lib/typescript/module/components/images/NativeImagesModule.d.ts +6 -0
  315. package/lib/typescript/module/components/images/NativeImagesModule.d.ts.map +1 -0
  316. package/lib/typescript/module/{src/components → components}/layer/Layer.d.ts +18 -8
  317. package/lib/typescript/module/components/layer/Layer.d.ts.map +1 -0
  318. package/lib/typescript/module/components/layer/LayerNativeComponent.d.ts.map +1 -0
  319. package/lib/typescript/module/{src/components → components}/map/AndroidTextureMapViewNativeComponent.d.ts +5 -1
  320. package/lib/typescript/module/components/map/AndroidTextureMapViewNativeComponent.d.ts.map +1 -0
  321. package/lib/typescript/module/{src/components → components}/map/Map.d.ts +151 -75
  322. package/lib/typescript/module/components/map/Map.d.ts.map +1 -0
  323. package/lib/typescript/{commonjs/src → module}/components/map/MapViewNativeComponent.d.ts +5 -1
  324. package/lib/typescript/module/components/map/MapViewNativeComponent.d.ts.map +1 -0
  325. package/lib/typescript/module/components/map/NativeMapViewModule.d.ts.map +1 -0
  326. package/lib/typescript/module/{src/components → components}/sources/geojson-source/GeoJSONSource.d.ts +47 -44
  327. package/lib/typescript/module/components/sources/geojson-source/GeoJSONSource.d.ts.map +1 -0
  328. package/lib/typescript/module/components/sources/geojson-source/GeoJSONSourceNativeComponent.d.ts.map +1 -0
  329. package/lib/typescript/module/components/sources/geojson-source/NativeGeoJSONSourceModule.d.ts.map +1 -0
  330. package/lib/typescript/module/{src/components → components}/sources/image-source/ImageSource.d.ts +5 -3
  331. package/lib/typescript/module/components/sources/image-source/ImageSource.d.ts.map +1 -0
  332. package/lib/typescript/module/components/sources/image-source/ImageSourceNativeComponent.d.ts.map +1 -0
  333. package/lib/typescript/module/{src/components → components}/sources/raster-source/RasterSource.d.ts +20 -15
  334. package/lib/typescript/module/components/sources/raster-source/RasterSource.d.ts.map +1 -0
  335. package/lib/typescript/module/components/sources/raster-source/RasterSourceNativeComponent.d.ts.map +1 -0
  336. package/lib/typescript/module/components/sources/vector-source/NativeVectorSourceModule.d.ts.map +1 -0
  337. package/lib/typescript/module/components/sources/vector-source/VectorSource.d.ts +75 -0
  338. package/lib/typescript/module/components/sources/vector-source/VectorSource.d.ts.map +1 -0
  339. package/lib/typescript/module/components/sources/vector-source/VectorSourceNativeComponent.d.ts.map +1 -0
  340. package/lib/typescript/{commonjs/src → module}/components/user-location/NativeUserLocation.d.ts +9 -6
  341. package/lib/typescript/module/components/user-location/NativeUserLocation.d.ts.map +1 -0
  342. package/lib/typescript/module/{src/components → components}/user-location/UserLocation.d.ts +4 -2
  343. package/lib/typescript/module/components/user-location/UserLocation.d.ts.map +1 -0
  344. package/lib/typescript/module/components/user-location/UserLocationNativeComponent.d.ts.map +1 -0
  345. package/lib/typescript/module/components/user-location/UserLocationPuck.d.ts.map +1 -0
  346. package/lib/typescript/module/components/user-location/UserLocationPuckHeading.d.ts.map +1 -0
  347. package/lib/typescript/module/{src/hooks → hooks}/useCurrentPosition.d.ts +2 -2
  348. package/lib/typescript/module/hooks/useCurrentPosition.d.ts.map +1 -0
  349. package/lib/typescript/module/hooks/useFrozenId.d.ts.map +1 -0
  350. package/lib/typescript/module/hooks/useNativeBridge.d.ts.map +1 -0
  351. package/lib/typescript/module/{src/index.d.ts → index.d.ts} +3 -2
  352. package/lib/typescript/module/index.d.ts.map +1 -0
  353. package/lib/typescript/module/modules/location/LocationManager.d.ts.map +1 -0
  354. package/lib/typescript/module/modules/location/NativeLocationModule.d.ts.map +1 -0
  355. package/lib/typescript/module/{src/modules → modules}/log/LogManager.d.ts +5 -4
  356. package/lib/typescript/module/modules/log/LogManager.d.ts.map +1 -0
  357. package/lib/typescript/module/modules/log/NativeLogModule.d.ts.map +1 -0
  358. package/lib/typescript/module/{src/modules → modules}/network/NativeNetworkModule.d.ts +0 -2
  359. package/lib/typescript/module/modules/network/NativeNetworkModule.d.ts.map +1 -0
  360. package/lib/typescript/module/modules/network/NetworkManager.d.ts +24 -0
  361. package/lib/typescript/module/modules/network/NetworkManager.d.ts.map +1 -0
  362. package/lib/typescript/module/modules/offline/NativeOfflineModule.d.ts.map +1 -0
  363. package/lib/typescript/module/{src/modules → modules}/offline/OfflineManager.d.ts +110 -63
  364. package/lib/typescript/module/modules/offline/OfflineManager.d.ts.map +1 -0
  365. package/lib/typescript/module/modules/offline/OfflinePack.d.ts.map +1 -0
  366. package/lib/typescript/module/modules/static-map/NativeStaticMapModule.d.ts.map +1 -0
  367. package/lib/typescript/module/{src/modules → modules}/static-map/StaticMapManager.d.ts +15 -7
  368. package/lib/typescript/module/modules/static-map/StaticMapManager.d.ts.map +1 -0
  369. package/lib/typescript/module/modules/transform-request/NativeTransformRequestModule.d.ts +15 -0
  370. package/lib/typescript/module/modules/transform-request/NativeTransformRequestModule.d.ts.map +1 -0
  371. package/lib/typescript/module/modules/transform-request/TransformRequestManager.d.ts +213 -0
  372. package/lib/typescript/module/modules/transform-request/TransformRequestManager.d.ts.map +1 -0
  373. package/lib/typescript/{commonjs/src → module}/plugin/MapLibrePluginProps.d.ts +10 -15
  374. package/lib/typescript/module/plugin/MapLibrePluginProps.d.ts.map +1 -0
  375. package/lib/typescript/module/plugin/android.d.ts.map +1 -0
  376. package/lib/typescript/module/{src/plugin → plugin}/ios.d.ts +2 -2
  377. package/lib/typescript/module/plugin/ios.d.ts.map +1 -0
  378. package/lib/typescript/module/plugin/withMapLibre.d.ts.map +1 -0
  379. package/lib/typescript/module/types/Anchor.d.ts +16 -0
  380. package/lib/typescript/module/types/Anchor.d.ts.map +1 -0
  381. package/lib/typescript/module/types/BaseProps.d.ts +7 -0
  382. package/lib/typescript/module/types/BaseProps.d.ts.map +1 -0
  383. package/lib/typescript/module/types/LngLat.d.ts.map +1 -0
  384. package/lib/typescript/module/{src/types → types}/LngLatBounds.d.ts +2 -1
  385. package/lib/typescript/module/types/LngLatBounds.d.ts.map +1 -0
  386. package/lib/typescript/module/{src/types → types}/MapLibreRNStyles.d.ts +316 -132
  387. package/lib/typescript/module/types/MapLibreRNStyles.d.ts.map +1 -0
  388. package/lib/typescript/module/types/PixelPoint.d.ts.map +1 -0
  389. package/lib/typescript/module/types/PixelPointBounds.d.ts.map +1 -0
  390. package/lib/typescript/{commonjs/src → module}/types/PressEvent.d.ts +3 -0
  391. package/lib/typescript/module/types/PressEvent.d.ts.map +1 -0
  392. package/lib/typescript/module/{src/types → types}/PressEventWithFeatures.d.ts +3 -0
  393. package/lib/typescript/module/types/PressEventWithFeatures.d.ts.map +1 -0
  394. package/lib/typescript/{commonjs/src/types/sources → module/types}/PressableSourceProps.d.ts +6 -4
  395. package/lib/typescript/module/types/PressableSourceProps.d.ts.map +1 -0
  396. package/lib/typescript/{commonjs/src → module}/types/ViewPadding.d.ts +3 -0
  397. package/lib/typescript/module/types/ViewPadding.d.ts.map +1 -0
  398. package/lib/typescript/module/types/codegen/UnsafeMixed.d.ts.map +1 -0
  399. package/lib/typescript/module/utils/BridgeValue.d.ts.map +1 -0
  400. package/lib/typescript/module/utils/StyleValue.d.ts.map +1 -0
  401. package/lib/typescript/{commonjs/src → module}/utils/animated/AbstractAnimatedCoordinates.d.ts +2 -2
  402. package/lib/typescript/module/utils/animated/AbstractAnimatedCoordinates.d.ts.map +1 -0
  403. package/lib/typescript/{commonjs/src → module}/utils/animated/Animated.d.ts +1 -1
  404. package/lib/typescript/module/utils/animated/Animated.d.ts.map +1 -0
  405. package/lib/typescript/module/{src/utils → utils}/animated/AnimatedCoordinatesArray.d.ts +6 -6
  406. package/lib/typescript/module/utils/animated/AnimatedCoordinatesArray.d.ts.map +1 -0
  407. package/lib/typescript/module/utils/animated/AnimatedExtractCoordinateFromArray.d.ts.map +1 -0
  408. package/lib/typescript/module/{src/utils → utils}/animated/AnimatedGeoJSON.d.ts +2 -1
  409. package/lib/typescript/module/utils/animated/AnimatedGeoJSON.d.ts.map +1 -0
  410. package/lib/typescript/module/utils/animated/AnimatedPoint.d.ts.map +1 -0
  411. package/lib/typescript/module/{src/utils → utils}/animated/AnimatedRouteCoordinatesArray.d.ts +6 -6
  412. package/lib/typescript/module/utils/animated/AnimatedRouteCoordinatesArray.d.ts.map +1 -0
  413. package/lib/typescript/{commonjs/src → module}/utils/convertStyleSpec.d.ts +4 -4
  414. package/lib/typescript/module/utils/convertStyleSpec.d.ts.map +1 -0
  415. package/lib/typescript/module/utils/findNodeHandle.d.ts.map +1 -0
  416. package/lib/typescript/module/utils/getNativeFilter.d.ts.map +1 -0
  417. package/lib/typescript/module/utils/getStylePropertyType.d.ts.map +1 -0
  418. package/lib/typescript/module/utils/index.d.ts.map +1 -0
  419. package/package.json +19 -40
  420. package/src/components/annotations/callout/Callout.tsx +3 -2
  421. package/src/components/annotations/marker/Marker.tsx +47 -30
  422. package/src/components/annotations/marker/MarkerViewNativeComponent.ts +10 -0
  423. package/src/components/annotations/view-annotation/PointAnnotationNativeComponent.ts +3 -2
  424. package/src/components/annotations/view-annotation/ViewAnnotation.tsx +53 -47
  425. package/src/components/camera/Camera.tsx +148 -110
  426. package/src/components/images/Images.tsx +20 -12
  427. package/src/components/images/NativeImagesModule.ts +11 -0
  428. package/src/components/layer/Layer.tsx +18 -8
  429. package/src/components/map/AndroidTextureMapViewNativeComponent.ts +7 -2
  430. package/src/components/map/Map.tsx +296 -229
  431. package/src/components/map/MapViewNativeComponent.ts +6 -1
  432. package/src/components/sources/geojson-source/GeoJSONSource.tsx +105 -103
  433. package/src/components/sources/image-source/ImageSource.tsx +5 -3
  434. package/src/components/sources/raster-source/RasterSource.tsx +20 -15
  435. package/src/components/sources/vector-source/VectorSource.tsx +66 -58
  436. package/src/components/user-location/NativeUserLocation.tsx +9 -6
  437. package/src/components/user-location/UserLocation.tsx +4 -2
  438. package/src/hooks/useCurrentPosition.ts +2 -2
  439. package/src/index.ts +12 -3
  440. package/src/modules/log/LogManager.ts +5 -4
  441. package/src/modules/network/NativeNetworkModule.ts +0 -4
  442. package/src/modules/network/NetworkManager.ts +6 -52
  443. package/src/modules/offline/OfflineManager.ts +109 -62
  444. package/src/modules/static-map/StaticMapManager.ts +15 -7
  445. package/src/modules/transform-request/NativeTransformRequestModule.ts +41 -0
  446. package/src/modules/transform-request/TransformRequestManager.ts +304 -0
  447. package/src/plugin/MapLibrePluginProps.ts +10 -15
  448. package/src/plugin/ios.ts +43 -21
  449. package/src/types/Anchor.ts +5 -6
  450. package/src/types/BaseProps.ts +3 -0
  451. package/src/types/LngLatBounds.ts +2 -1
  452. package/src/types/MapLibreRNStyles.ts +326 -192
  453. package/src/types/PressEvent.ts +3 -0
  454. package/src/types/PressEventWithFeatures.ts +3 -0
  455. package/src/types/{sources/PressableSourceProps.ts → PressableSourceProps.ts} +6 -4
  456. package/src/types/ViewPadding.ts +3 -0
  457. package/src/utils/animated/AbstractAnimatedCoordinates.ts +2 -2
  458. package/src/utils/animated/AnimatedCoordinatesArray.ts +6 -6
  459. package/src/utils/animated/AnimatedGeoJSON.ts +2 -1
  460. package/src/utils/animated/AnimatedRouteCoordinatesArray.ts +6 -6
  461. package/src/utils/convertStyleSpec.ts +4 -4
  462. package/src/utils/getStylePropertyType.ts +1 -1
  463. package/android/src/main/java/org/maplibre/reactnative/components/layer/style/MLRNStyle.java +0 -76
  464. package/android/src/main/java/org/maplibre/reactnative/components/layer/style/MLRNStyleFactory.java +0 -2285
  465. package/android/src/main/java/org/maplibre/reactnative/components/layer/style/MLRNStyleFunctionParser.java +0 -94
  466. package/android/src/main/java/org/maplibre/reactnative/components/layer/style/MLRNStyleValue.java +0 -207
  467. package/android/src/main/java/org/maplibre/reactnative/events/AndroidCallbackEvent.java +0 -34
  468. package/android/src/main/java/org/maplibre/reactnative/http/RequestHeadersInterceptor.kt +0 -65
  469. package/android/src/main/res/layout/annotation.xml +0 -17
  470. package/ios/modules/network/MLRNNetworkHTTPHeaders.h +0 -14
  471. package/ios/modules/network/MLRNNetworkHTTPHeaders.m +0 -97
  472. package/lib/commonjs/types/sources/PressableSourceProps.js.map +0 -1
  473. package/lib/module/types/sources/PressableSourceProps.js.map +0 -1
  474. package/lib/typescript/commonjs/src/components/annotations/LayerAnnotation.d.ts.map +0 -1
  475. package/lib/typescript/commonjs/src/components/annotations/callout/Callout.d.ts.map +0 -1
  476. package/lib/typescript/commonjs/src/components/annotations/callout/CalloutNativeComponent.d.ts.map +0 -1
  477. package/lib/typescript/commonjs/src/components/annotations/marker/Marker.d.ts.map +0 -1
  478. package/lib/typescript/commonjs/src/components/annotations/marker/MarkerViewNativeComponent.d.ts.map +0 -1
  479. package/lib/typescript/commonjs/src/components/annotations/view-annotation/PointAnnotationNativeComponent.d.ts.map +0 -1
  480. package/lib/typescript/commonjs/src/components/annotations/view-annotation/ViewAnnotation.d.ts.map +0 -1
  481. package/lib/typescript/commonjs/src/components/camera/Camera.d.ts.map +0 -1
  482. package/lib/typescript/commonjs/src/components/camera/CameraNativeComponent.d.ts.map +0 -1
  483. package/lib/typescript/commonjs/src/components/camera/NativeCameraModule.d.ts.map +0 -1
  484. package/lib/typescript/commonjs/src/components/images/Images.d.ts.map +0 -1
  485. package/lib/typescript/commonjs/src/components/images/ImagesNativeComponent.d.ts.map +0 -1
  486. package/lib/typescript/commonjs/src/components/layer/Layer.d.ts.map +0 -1
  487. package/lib/typescript/commonjs/src/components/layer/LayerNativeComponent.d.ts.map +0 -1
  488. package/lib/typescript/commonjs/src/components/map/AndroidTextureMapViewNativeComponent.d.ts.map +0 -1
  489. package/lib/typescript/commonjs/src/components/map/Map.d.ts.map +0 -1
  490. package/lib/typescript/commonjs/src/components/map/MapViewNativeComponent.d.ts.map +0 -1
  491. package/lib/typescript/commonjs/src/components/map/NativeMapViewModule.d.ts.map +0 -1
  492. package/lib/typescript/commonjs/src/components/sources/geojson-source/GeoJSONSource.d.ts.map +0 -1
  493. package/lib/typescript/commonjs/src/components/sources/geojson-source/GeoJSONSourceNativeComponent.d.ts.map +0 -1
  494. package/lib/typescript/commonjs/src/components/sources/geojson-source/NativeGeoJSONSourceModule.d.ts.map +0 -1
  495. package/lib/typescript/commonjs/src/components/sources/image-source/ImageSource.d.ts.map +0 -1
  496. package/lib/typescript/commonjs/src/components/sources/image-source/ImageSourceNativeComponent.d.ts.map +0 -1
  497. package/lib/typescript/commonjs/src/components/sources/raster-source/RasterSource.d.ts.map +0 -1
  498. package/lib/typescript/commonjs/src/components/sources/raster-source/RasterSourceNativeComponent.d.ts.map +0 -1
  499. package/lib/typescript/commonjs/src/components/sources/vector-source/NativeVectorSourceModule.d.ts.map +0 -1
  500. package/lib/typescript/commonjs/src/components/sources/vector-source/VectorSource.d.ts +0 -66
  501. package/lib/typescript/commonjs/src/components/sources/vector-source/VectorSource.d.ts.map +0 -1
  502. package/lib/typescript/commonjs/src/components/sources/vector-source/VectorSourceNativeComponent.d.ts.map +0 -1
  503. package/lib/typescript/commonjs/src/components/user-location/NativeUserLocation.d.ts.map +0 -1
  504. package/lib/typescript/commonjs/src/components/user-location/UserLocation.d.ts.map +0 -1
  505. package/lib/typescript/commonjs/src/components/user-location/UserLocationNativeComponent.d.ts.map +0 -1
  506. package/lib/typescript/commonjs/src/components/user-location/UserLocationPuck.d.ts.map +0 -1
  507. package/lib/typescript/commonjs/src/components/user-location/UserLocationPuckHeading.d.ts.map +0 -1
  508. package/lib/typescript/commonjs/src/hooks/useCurrentPosition.d.ts.map +0 -1
  509. package/lib/typescript/commonjs/src/hooks/useFrozenId.d.ts.map +0 -1
  510. package/lib/typescript/commonjs/src/hooks/useNativeBridge.d.ts.map +0 -1
  511. package/lib/typescript/commonjs/src/index.d.ts.map +0 -1
  512. package/lib/typescript/commonjs/src/modules/location/LocationManager.d.ts.map +0 -1
  513. package/lib/typescript/commonjs/src/modules/location/NativeLocationModule.d.ts.map +0 -1
  514. package/lib/typescript/commonjs/src/modules/log/LogManager.d.ts.map +0 -1
  515. package/lib/typescript/commonjs/src/modules/log/NativeLogModule.d.ts.map +0 -1
  516. package/lib/typescript/commonjs/src/modules/network/NativeNetworkModule.d.ts.map +0 -1
  517. package/lib/typescript/commonjs/src/modules/network/NetworkManager.d.ts +0 -56
  518. package/lib/typescript/commonjs/src/modules/network/NetworkManager.d.ts.map +0 -1
  519. package/lib/typescript/commonjs/src/modules/offline/NativeOfflineModule.d.ts.map +0 -1
  520. package/lib/typescript/commonjs/src/modules/offline/OfflineManager.d.ts.map +0 -1
  521. package/lib/typescript/commonjs/src/modules/offline/OfflinePack.d.ts.map +0 -1
  522. package/lib/typescript/commonjs/src/modules/static-map/NativeStaticMapModule.d.ts.map +0 -1
  523. package/lib/typescript/commonjs/src/modules/static-map/StaticMapManager.d.ts.map +0 -1
  524. package/lib/typescript/commonjs/src/plugin/MapLibrePluginProps.d.ts.map +0 -1
  525. package/lib/typescript/commonjs/src/plugin/android.d.ts.map +0 -1
  526. package/lib/typescript/commonjs/src/plugin/ios.d.ts.map +0 -1
  527. package/lib/typescript/commonjs/src/plugin/withMapLibre.d.ts.map +0 -1
  528. package/lib/typescript/commonjs/src/types/Anchor.d.ts +0 -17
  529. package/lib/typescript/commonjs/src/types/Anchor.d.ts.map +0 -1
  530. package/lib/typescript/commonjs/src/types/BaseProps.d.ts +0 -4
  531. package/lib/typescript/commonjs/src/types/BaseProps.d.ts.map +0 -1
  532. package/lib/typescript/commonjs/src/types/LngLat.d.ts.map +0 -1
  533. package/lib/typescript/commonjs/src/types/LngLatBounds.d.ts.map +0 -1
  534. package/lib/typescript/commonjs/src/types/MapLibreRNStyles.d.ts.map +0 -1
  535. package/lib/typescript/commonjs/src/types/PixelPoint.d.ts.map +0 -1
  536. package/lib/typescript/commonjs/src/types/PixelPointBounds.d.ts.map +0 -1
  537. package/lib/typescript/commonjs/src/types/PressEvent.d.ts.map +0 -1
  538. package/lib/typescript/commonjs/src/types/PressEventWithFeatures.d.ts.map +0 -1
  539. package/lib/typescript/commonjs/src/types/ViewPadding.d.ts.map +0 -1
  540. package/lib/typescript/commonjs/src/types/codegen/UnsafeMixed.d.ts.map +0 -1
  541. package/lib/typescript/commonjs/src/types/sources/PressableSourceProps.d.ts.map +0 -1
  542. package/lib/typescript/commonjs/src/utils/BridgeValue.d.ts.map +0 -1
  543. package/lib/typescript/commonjs/src/utils/StyleValue.d.ts.map +0 -1
  544. package/lib/typescript/commonjs/src/utils/animated/AbstractAnimatedCoordinates.d.ts.map +0 -1
  545. package/lib/typescript/commonjs/src/utils/animated/Animated.d.ts.map +0 -1
  546. package/lib/typescript/commonjs/src/utils/animated/AnimatedCoordinatesArray.d.ts.map +0 -1
  547. package/lib/typescript/commonjs/src/utils/animated/AnimatedExtractCoordinateFromArray.d.ts.map +0 -1
  548. package/lib/typescript/commonjs/src/utils/animated/AnimatedGeoJSON.d.ts.map +0 -1
  549. package/lib/typescript/commonjs/src/utils/animated/AnimatedPoint.d.ts.map +0 -1
  550. package/lib/typescript/commonjs/src/utils/animated/AnimatedRouteCoordinatesArray.d.ts.map +0 -1
  551. package/lib/typescript/commonjs/src/utils/convertStyleSpec.d.ts.map +0 -1
  552. package/lib/typescript/commonjs/src/utils/findNodeHandle.d.ts.map +0 -1
  553. package/lib/typescript/commonjs/src/utils/getNativeFilter.d.ts.map +0 -1
  554. package/lib/typescript/commonjs/src/utils/getStylePropertyType.d.ts.map +0 -1
  555. package/lib/typescript/commonjs/src/utils/index.d.ts.map +0 -1
  556. package/lib/typescript/module/src/components/annotations/LayerAnnotation.d.ts.map +0 -1
  557. package/lib/typescript/module/src/components/annotations/callout/Callout.d.ts.map +0 -1
  558. package/lib/typescript/module/src/components/annotations/callout/CalloutNativeComponent.d.ts.map +0 -1
  559. package/lib/typescript/module/src/components/annotations/marker/Marker.d.ts.map +0 -1
  560. package/lib/typescript/module/src/components/annotations/marker/MarkerViewNativeComponent.d.ts.map +0 -1
  561. package/lib/typescript/module/src/components/annotations/view-annotation/PointAnnotationNativeComponent.d.ts.map +0 -1
  562. package/lib/typescript/module/src/components/annotations/view-annotation/ViewAnnotation.d.ts.map +0 -1
  563. package/lib/typescript/module/src/components/camera/Camera.d.ts.map +0 -1
  564. package/lib/typescript/module/src/components/camera/CameraNativeComponent.d.ts.map +0 -1
  565. package/lib/typescript/module/src/components/camera/NativeCameraModule.d.ts.map +0 -1
  566. package/lib/typescript/module/src/components/images/Images.d.ts.map +0 -1
  567. package/lib/typescript/module/src/components/images/ImagesNativeComponent.d.ts.map +0 -1
  568. package/lib/typescript/module/src/components/layer/Layer.d.ts.map +0 -1
  569. package/lib/typescript/module/src/components/layer/LayerNativeComponent.d.ts.map +0 -1
  570. package/lib/typescript/module/src/components/map/AndroidTextureMapViewNativeComponent.d.ts.map +0 -1
  571. package/lib/typescript/module/src/components/map/Map.d.ts.map +0 -1
  572. package/lib/typescript/module/src/components/map/MapViewNativeComponent.d.ts.map +0 -1
  573. package/lib/typescript/module/src/components/map/NativeMapViewModule.d.ts.map +0 -1
  574. package/lib/typescript/module/src/components/sources/geojson-source/GeoJSONSource.d.ts.map +0 -1
  575. package/lib/typescript/module/src/components/sources/geojson-source/GeoJSONSourceNativeComponent.d.ts.map +0 -1
  576. package/lib/typescript/module/src/components/sources/geojson-source/NativeGeoJSONSourceModule.d.ts.map +0 -1
  577. package/lib/typescript/module/src/components/sources/image-source/ImageSource.d.ts.map +0 -1
  578. package/lib/typescript/module/src/components/sources/image-source/ImageSourceNativeComponent.d.ts.map +0 -1
  579. package/lib/typescript/module/src/components/sources/raster-source/RasterSource.d.ts.map +0 -1
  580. package/lib/typescript/module/src/components/sources/raster-source/RasterSourceNativeComponent.d.ts.map +0 -1
  581. package/lib/typescript/module/src/components/sources/vector-source/NativeVectorSourceModule.d.ts.map +0 -1
  582. package/lib/typescript/module/src/components/sources/vector-source/VectorSource.d.ts +0 -66
  583. package/lib/typescript/module/src/components/sources/vector-source/VectorSource.d.ts.map +0 -1
  584. package/lib/typescript/module/src/components/sources/vector-source/VectorSourceNativeComponent.d.ts.map +0 -1
  585. package/lib/typescript/module/src/components/user-location/NativeUserLocation.d.ts.map +0 -1
  586. package/lib/typescript/module/src/components/user-location/UserLocation.d.ts.map +0 -1
  587. package/lib/typescript/module/src/components/user-location/UserLocationNativeComponent.d.ts.map +0 -1
  588. package/lib/typescript/module/src/components/user-location/UserLocationPuck.d.ts.map +0 -1
  589. package/lib/typescript/module/src/components/user-location/UserLocationPuckHeading.d.ts.map +0 -1
  590. package/lib/typescript/module/src/hooks/useCurrentPosition.d.ts.map +0 -1
  591. package/lib/typescript/module/src/hooks/useFrozenId.d.ts.map +0 -1
  592. package/lib/typescript/module/src/hooks/useNativeBridge.d.ts.map +0 -1
  593. package/lib/typescript/module/src/index.d.ts.map +0 -1
  594. package/lib/typescript/module/src/modules/location/LocationManager.d.ts.map +0 -1
  595. package/lib/typescript/module/src/modules/location/NativeLocationModule.d.ts.map +0 -1
  596. package/lib/typescript/module/src/modules/log/LogManager.d.ts.map +0 -1
  597. package/lib/typescript/module/src/modules/log/NativeLogModule.d.ts.map +0 -1
  598. package/lib/typescript/module/src/modules/network/NativeNetworkModule.d.ts.map +0 -1
  599. package/lib/typescript/module/src/modules/network/NetworkManager.d.ts +0 -56
  600. package/lib/typescript/module/src/modules/network/NetworkManager.d.ts.map +0 -1
  601. package/lib/typescript/module/src/modules/offline/NativeOfflineModule.d.ts.map +0 -1
  602. package/lib/typescript/module/src/modules/offline/OfflineManager.d.ts.map +0 -1
  603. package/lib/typescript/module/src/modules/offline/OfflinePack.d.ts.map +0 -1
  604. package/lib/typescript/module/src/modules/static-map/NativeStaticMapModule.d.ts.map +0 -1
  605. package/lib/typescript/module/src/modules/static-map/StaticMapManager.d.ts.map +0 -1
  606. package/lib/typescript/module/src/plugin/MapLibrePluginProps.d.ts.map +0 -1
  607. package/lib/typescript/module/src/plugin/android.d.ts.map +0 -1
  608. package/lib/typescript/module/src/plugin/ios.d.ts.map +0 -1
  609. package/lib/typescript/module/src/plugin/withMapLibre.d.ts.map +0 -1
  610. package/lib/typescript/module/src/types/Anchor.d.ts +0 -17
  611. package/lib/typescript/module/src/types/Anchor.d.ts.map +0 -1
  612. package/lib/typescript/module/src/types/BaseProps.d.ts +0 -4
  613. package/lib/typescript/module/src/types/BaseProps.d.ts.map +0 -1
  614. package/lib/typescript/module/src/types/LngLat.d.ts.map +0 -1
  615. package/lib/typescript/module/src/types/LngLatBounds.d.ts.map +0 -1
  616. package/lib/typescript/module/src/types/MapLibreRNStyles.d.ts.map +0 -1
  617. package/lib/typescript/module/src/types/PixelPoint.d.ts.map +0 -1
  618. package/lib/typescript/module/src/types/PixelPointBounds.d.ts.map +0 -1
  619. package/lib/typescript/module/src/types/PressEvent.d.ts.map +0 -1
  620. package/lib/typescript/module/src/types/PressEventWithFeatures.d.ts.map +0 -1
  621. package/lib/typescript/module/src/types/ViewPadding.d.ts.map +0 -1
  622. package/lib/typescript/module/src/types/codegen/UnsafeMixed.d.ts.map +0 -1
  623. package/lib/typescript/module/src/types/sources/PressableSourceProps.d.ts.map +0 -1
  624. package/lib/typescript/module/src/utils/BridgeValue.d.ts.map +0 -1
  625. package/lib/typescript/module/src/utils/StyleValue.d.ts.map +0 -1
  626. package/lib/typescript/module/src/utils/animated/AbstractAnimatedCoordinates.d.ts.map +0 -1
  627. package/lib/typescript/module/src/utils/animated/Animated.d.ts.map +0 -1
  628. package/lib/typescript/module/src/utils/animated/AnimatedCoordinatesArray.d.ts.map +0 -1
  629. package/lib/typescript/module/src/utils/animated/AnimatedExtractCoordinateFromArray.d.ts.map +0 -1
  630. package/lib/typescript/module/src/utils/animated/AnimatedGeoJSON.d.ts.map +0 -1
  631. package/lib/typescript/module/src/utils/animated/AnimatedPoint.d.ts.map +0 -1
  632. package/lib/typescript/module/src/utils/animated/AnimatedRouteCoordinatesArray.d.ts.map +0 -1
  633. package/lib/typescript/module/src/utils/convertStyleSpec.d.ts.map +0 -1
  634. package/lib/typescript/module/src/utils/findNodeHandle.d.ts.map +0 -1
  635. package/lib/typescript/module/src/utils/getNativeFilter.d.ts.map +0 -1
  636. package/lib/typescript/module/src/utils/getStylePropertyType.d.ts.map +0 -1
  637. package/lib/typescript/module/src/utils/index.d.ts.map +0 -1
  638. /package/android/src/main/res/drawable-xxhdpi/{red_marker.png → default_marker.png} +0 -0
  639. /package/ios/{components/images → utils}/MLRNImageUtils.h +0 -0
  640. /package/ios/{components/images → utils}/MLRNImageUtils.m +0 -0
  641. /package/lib/commonjs/types/{sources/PressableSourceProps.js → PressableSourceProps.js} +0 -0
  642. /package/lib/module/types/{sources/PressableSourceProps.js → PressableSourceProps.js} +0 -0
  643. /package/lib/typescript/commonjs/{src/components → components}/annotations/LayerAnnotation.d.ts +0 -0
  644. /package/lib/typescript/commonjs/{src/components → components}/annotations/callout/CalloutNativeComponent.d.ts +0 -0
  645. /package/lib/typescript/commonjs/{src/components → components}/camera/CameraNativeComponent.d.ts +0 -0
  646. /package/lib/typescript/commonjs/{src/components → components}/camera/NativeCameraModule.d.ts +0 -0
  647. /package/lib/typescript/commonjs/{src/components → components}/images/ImagesNativeComponent.d.ts +0 -0
  648. /package/lib/typescript/commonjs/{src/components → components}/layer/LayerNativeComponent.d.ts +0 -0
  649. /package/lib/typescript/commonjs/{src/components → components}/map/NativeMapViewModule.d.ts +0 -0
  650. /package/lib/typescript/commonjs/{src/components → components}/sources/geojson-source/GeoJSONSourceNativeComponent.d.ts +0 -0
  651. /package/lib/typescript/commonjs/{src/components → components}/sources/geojson-source/NativeGeoJSONSourceModule.d.ts +0 -0
  652. /package/lib/typescript/commonjs/{src/components → components}/sources/image-source/ImageSourceNativeComponent.d.ts +0 -0
  653. /package/lib/typescript/commonjs/{src/components → components}/sources/raster-source/RasterSourceNativeComponent.d.ts +0 -0
  654. /package/lib/typescript/commonjs/{src/components → components}/sources/vector-source/NativeVectorSourceModule.d.ts +0 -0
  655. /package/lib/typescript/commonjs/{src/components → components}/sources/vector-source/VectorSourceNativeComponent.d.ts +0 -0
  656. /package/lib/typescript/commonjs/{src/components → components}/user-location/UserLocationNativeComponent.d.ts +0 -0
  657. /package/lib/typescript/commonjs/{src/components → components}/user-location/UserLocationPuck.d.ts +0 -0
  658. /package/lib/typescript/commonjs/{src/components → components}/user-location/UserLocationPuckHeading.d.ts +0 -0
  659. /package/lib/typescript/commonjs/{src/hooks → hooks}/useFrozenId.d.ts +0 -0
  660. /package/lib/typescript/commonjs/{src/hooks → hooks}/useNativeBridge.d.ts +0 -0
  661. /package/lib/typescript/commonjs/{src/modules → modules}/location/LocationManager.d.ts +0 -0
  662. /package/lib/typescript/commonjs/{src/modules → modules}/location/NativeLocationModule.d.ts +0 -0
  663. /package/lib/typescript/commonjs/{src/modules → modules}/log/NativeLogModule.d.ts +0 -0
  664. /package/lib/typescript/commonjs/{src/modules → modules}/offline/NativeOfflineModule.d.ts +0 -0
  665. /package/lib/typescript/commonjs/{src/modules → modules}/offline/OfflinePack.d.ts +0 -0
  666. /package/lib/typescript/commonjs/{src/modules → modules}/static-map/NativeStaticMapModule.d.ts +0 -0
  667. /package/lib/typescript/commonjs/{src/plugin → plugin}/android.d.ts +0 -0
  668. /package/lib/typescript/commonjs/{src/plugin → plugin}/withMapLibre.d.ts +0 -0
  669. /package/lib/typescript/commonjs/{src/types → types}/LngLat.d.ts +0 -0
  670. /package/lib/typescript/commonjs/{src/types → types}/PixelPoint.d.ts +0 -0
  671. /package/lib/typescript/commonjs/{src/types → types}/PixelPointBounds.d.ts +0 -0
  672. /package/lib/typescript/commonjs/{src/types → types}/codegen/UnsafeMixed.d.ts +0 -0
  673. /package/lib/typescript/commonjs/{src/utils → utils}/BridgeValue.d.ts +0 -0
  674. /package/lib/typescript/commonjs/{src/utils → utils}/StyleValue.d.ts +0 -0
  675. /package/lib/typescript/commonjs/{src/utils → utils}/animated/AnimatedExtractCoordinateFromArray.d.ts +0 -0
  676. /package/lib/typescript/commonjs/{src/utils → utils}/animated/AnimatedPoint.d.ts +0 -0
  677. /package/lib/typescript/commonjs/{src/utils → utils}/findNodeHandle.d.ts +0 -0
  678. /package/lib/typescript/commonjs/{src/utils → utils}/getNativeFilter.d.ts +0 -0
  679. /package/lib/typescript/commonjs/{src/utils → utils}/getStylePropertyType.d.ts +0 -0
  680. /package/lib/typescript/commonjs/{src/utils → utils}/index.d.ts +0 -0
  681. /package/lib/typescript/module/{src/components → components}/annotations/LayerAnnotation.d.ts +0 -0
  682. /package/lib/typescript/module/{src/components → components}/annotations/callout/CalloutNativeComponent.d.ts +0 -0
  683. /package/lib/typescript/module/{src/components → components}/camera/CameraNativeComponent.d.ts +0 -0
  684. /package/lib/typescript/module/{src/components → components}/camera/NativeCameraModule.d.ts +0 -0
  685. /package/lib/typescript/module/{src/components → components}/images/ImagesNativeComponent.d.ts +0 -0
  686. /package/lib/typescript/module/{src/components → components}/layer/LayerNativeComponent.d.ts +0 -0
  687. /package/lib/typescript/module/{src/components → components}/map/NativeMapViewModule.d.ts +0 -0
  688. /package/lib/typescript/module/{src/components → components}/sources/geojson-source/GeoJSONSourceNativeComponent.d.ts +0 -0
  689. /package/lib/typescript/module/{src/components → components}/sources/geojson-source/NativeGeoJSONSourceModule.d.ts +0 -0
  690. /package/lib/typescript/module/{src/components → components}/sources/image-source/ImageSourceNativeComponent.d.ts +0 -0
  691. /package/lib/typescript/module/{src/components → components}/sources/raster-source/RasterSourceNativeComponent.d.ts +0 -0
  692. /package/lib/typescript/module/{src/components → components}/sources/vector-source/NativeVectorSourceModule.d.ts +0 -0
  693. /package/lib/typescript/module/{src/components → components}/sources/vector-source/VectorSourceNativeComponent.d.ts +0 -0
  694. /package/lib/typescript/module/{src/components → components}/user-location/UserLocationNativeComponent.d.ts +0 -0
  695. /package/lib/typescript/module/{src/components → components}/user-location/UserLocationPuck.d.ts +0 -0
  696. /package/lib/typescript/module/{src/components → components}/user-location/UserLocationPuckHeading.d.ts +0 -0
  697. /package/lib/typescript/module/{src/hooks → hooks}/useFrozenId.d.ts +0 -0
  698. /package/lib/typescript/module/{src/hooks → hooks}/useNativeBridge.d.ts +0 -0
  699. /package/lib/typescript/module/{src/modules → modules}/location/LocationManager.d.ts +0 -0
  700. /package/lib/typescript/module/{src/modules → modules}/location/NativeLocationModule.d.ts +0 -0
  701. /package/lib/typescript/module/{src/modules → modules}/log/NativeLogModule.d.ts +0 -0
  702. /package/lib/typescript/module/{src/modules → modules}/offline/NativeOfflineModule.d.ts +0 -0
  703. /package/lib/typescript/module/{src/modules → modules}/offline/OfflinePack.d.ts +0 -0
  704. /package/lib/typescript/module/{src/modules → modules}/static-map/NativeStaticMapModule.d.ts +0 -0
  705. /package/lib/typescript/module/{src/plugin → plugin}/android.d.ts +0 -0
  706. /package/lib/typescript/module/{src/plugin → plugin}/withMapLibre.d.ts +0 -0
  707. /package/lib/typescript/module/{src/types → types}/LngLat.d.ts +0 -0
  708. /package/lib/typescript/module/{src/types → types}/PixelPoint.d.ts +0 -0
  709. /package/lib/typescript/module/{src/types → types}/PixelPointBounds.d.ts +0 -0
  710. /package/lib/typescript/module/{src/types → types}/codegen/UnsafeMixed.d.ts +0 -0
  711. /package/lib/typescript/module/{src/utils → utils}/BridgeValue.d.ts +0 -0
  712. /package/lib/typescript/module/{src/utils → utils}/StyleValue.d.ts +0 -0
  713. /package/lib/typescript/module/{src/utils → utils}/animated/AnimatedExtractCoordinateFromArray.d.ts +0 -0
  714. /package/lib/typescript/module/{src/utils → utils}/animated/AnimatedPoint.d.ts +0 -0
  715. /package/lib/typescript/module/{src/utils → utils}/findNodeHandle.d.ts +0 -0
  716. /package/lib/typescript/module/{src/utils → utils}/getNativeFilter.d.ts +0 -0
  717. /package/lib/typescript/module/{src/utils → utils}/getStylePropertyType.d.ts +0 -0
  718. /package/lib/typescript/module/{src/utils → utils}/index.d.ts +0 -0
@@ -12,13 +12,20 @@ export type ExpressionName = "array" | "boolean" | "collator" | "format" | "imag
12
12
  export type ExpressionField = string | number | boolean | Expression | ExpressionField[] | {
13
13
  [key: string]: ExpressionField;
14
14
  };
15
+ /**
16
+ * @deprecated
17
+ */
15
18
  export type Expression = [ExpressionName, ...ExpressionField[]];
16
19
  type ExpressionParameters = "zoom" | "feature" | "feature-state" | "global-state" | "sky-radial-progress" | "line-progress" | "heatmap-density";
17
20
  type ResolvedImageType = ImageSourcePropType | string;
18
21
  export type Value<T, AllowedParameters extends ExpressionParameters[] = []> = T | Expression;
22
+ /**
23
+ * @deprecated
24
+ */
19
25
  export interface FillLayerStyle {
20
26
  /**
21
- * Sorts features in ascending order based on this value. Features with a higher sort key will appear above features with a lower sort key.
27
+ * Sorts features in ascending order based on this value. Features with a higher
28
+ * sort key will appear above features with a lower sort key.
22
29
  */
23
30
  fillSortKey?: Value<number, ["zoom", "feature"]>;
24
31
  /**
@@ -30,39 +37,45 @@ export interface FillLayerStyle {
30
37
  */
31
38
  fillAntialias?: Value<boolean, ["zoom"]>;
32
39
  /**
33
- * 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.
40
+ * The opacity of the entire fill layer. In contrast to the `fillColor` , this
41
+ * value will also affect the 1px stroke around the fill, if the stroke is used.
34
42
  */
35
43
  fillOpacity?: Value<number, ["zoom", "feature", "feature-state"]>;
36
44
  /**
37
- * The transition affecting any changes to this layers fillOpacity property.
45
+ * The transition affecting any changes to this layer's fillOpacity property.
38
46
  */
39
47
  fillOpacityTransition?: Transition;
40
48
  /**
41
- * The color of the filled part of this layer. This color can be specified as `rgba` with an alpha component and the color's opacity will not affect the opacity of the 1px stroke, if it is used.
49
+ * The color of the filled part of this layer. This color can be specified as
50
+ * `rgba` with an alpha component and the color's opacity will not affect the
51
+ * opacity of the 1px stroke, if it is used.
42
52
  *
43
53
  * @disabledBy fillPattern
44
54
  */
45
55
  fillColor?: Value<string, ["zoom", "feature", "feature-state"]>;
46
56
  /**
47
- * The transition affecting any changes to this layers fillColor property.
57
+ * The transition affecting any changes to this layer's fillColor property.
48
58
  */
49
59
  fillColorTransition?: Transition;
50
60
  /**
51
- * The outline color of the fill. Matches the value of `fillColor` if unspecified.
61
+ * The outline color of the fill. Matches the value of `fillColor` if
62
+ * unspecified.
52
63
  *
53
64
  * @disabledBy fillPattern
54
65
  */
55
66
  fillOutlineColor?: Value<string, ["zoom", "feature", "feature-state"]>;
56
67
  /**
57
- * The transition affecting any changes to this layers fillOutlineColor property.
68
+ * The transition affecting any changes to this layer's fillOutlineColor
69
+ * property.
58
70
  */
59
71
  fillOutlineColorTransition?: Transition;
60
72
  /**
61
- * The geometry's offset. Values are [x, y] where negatives indicate left and up, respectively.
73
+ * The geometry's offset. Values are [x, y] where negatives indicate left and
74
+ * up, respectively.
62
75
  */
63
76
  fillTranslate?: Value<Translation, ["zoom"]>;
64
77
  /**
65
- * The transition affecting any changes to this layers fillTranslate property.
78
+ * The transition affecting any changes to this layer's fillTranslate property.
66
79
  */
67
80
  fillTranslateTransition?: Transition;
68
81
  /**
@@ -72,19 +85,25 @@ export interface FillLayerStyle {
72
85
  */
73
86
  fillTranslateAnchor?: Value<"map" | "viewport", ["zoom"]>;
74
87
  /**
75
- * 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.
88
+ * Name of image in sprite to use for drawing image fills. For seamless
89
+ * patterns, image width and height must be a factor of two (2, 4, 8, ..., 512).
90
+ * Note that zoomDependent expressions will be evaluated only at integer zoom
91
+ * levels.
76
92
  */
77
93
  fillPattern?: Value<ResolvedImageType, ["zoom", "feature"]>;
78
94
  /**
79
- * The transition affecting any changes to this layers fillPattern property.
95
+ * The transition affecting any changes to this layer's fillPattern property.
80
96
  */
81
97
  fillPatternTransition?: Transition;
82
98
  }
99
+ /**
100
+ * @deprecated
101
+ */
83
102
  export interface LineLayerStyle {
84
103
  /**
85
104
  * The display of line endings.
86
105
  */
87
- lineCap?: Value<"butt" | "round" | "square", ["zoom"]>;
106
+ lineCap?: Value<"butt" | "round" | "square", ["zoom", "feature"]>;
88
107
  /**
89
108
  * The display of lines when joining.
90
109
  */
@@ -92,13 +111,14 @@ export interface LineLayerStyle {
92
111
  /**
93
112
  * Used to automatically convert miter joins to bevel joins for sharp angles.
94
113
  */
95
- lineMiterLimit?: Value<number, ["zoom"]>;
114
+ lineMiterLimit?: Value<number, ["zoom", "feature"]>;
96
115
  /**
97
116
  * Used to automatically convert round joins to miter joins for shallow angles.
98
117
  */
99
- lineRoundLimit?: Value<number, ["zoom"]>;
118
+ lineRoundLimit?: Value<number, ["zoom", "feature"]>;
100
119
  /**
101
- * Sorts features in ascending order based on this value. Features with a higher sort key will appear above features with a lower sort key.
120
+ * Sorts features in ascending order based on this value. Features with a higher
121
+ * sort key will appear above features with a lower sort key.
102
122
  */
103
123
  lineSortKey?: Value<number, ["zoom", "feature"]>;
104
124
  /**
@@ -110,7 +130,7 @@ export interface LineLayerStyle {
110
130
  */
111
131
  lineOpacity?: Value<number, ["zoom", "feature", "feature-state"]>;
112
132
  /**
113
- * The transition affecting any changes to this layers lineOpacity property.
133
+ * The transition affecting any changes to this layer's lineOpacity property.
114
134
  */
115
135
  lineOpacityTransition?: Transition;
116
136
  /**
@@ -120,15 +140,16 @@ export interface LineLayerStyle {
120
140
  */
121
141
  lineColor?: Value<string, ["zoom", "feature", "feature-state"]>;
122
142
  /**
123
- * The transition affecting any changes to this layers lineColor property.
143
+ * The transition affecting any changes to this layer's lineColor property.
124
144
  */
125
145
  lineColorTransition?: Transition;
126
146
  /**
127
- * The geometry's offset. Values are [x, y] where negatives indicate left and up, respectively.
147
+ * The geometry's offset. Values are [x, y] where negatives indicate left and
148
+ * up, respectively.
128
149
  */
129
150
  lineTranslate?: Value<Translation, ["zoom"]>;
130
151
  /**
131
- * The transition affecting any changes to this layers lineTranslate property.
152
+ * The transition affecting any changes to this layer's lineTranslate property.
132
153
  */
133
154
  lineTranslateTransition?: Transition;
134
155
  /**
@@ -142,23 +163,27 @@ export interface LineLayerStyle {
142
163
  */
143
164
  lineWidth?: Value<number, ["zoom", "feature", "feature-state"]>;
144
165
  /**
145
- * The transition affecting any changes to this layers lineWidth property.
166
+ * The transition affecting any changes to this layer's lineWidth property.
146
167
  */
147
168
  lineWidthTransition?: Transition;
148
169
  /**
149
- * Draws a line casing outside of a line's actual path. Value indicates the width of the inner gap.
170
+ * Draws a line casing outside of a line's actual path. Value indicates the
171
+ * width of the inner gap.
150
172
  */
151
173
  lineGapWidth?: Value<number, ["zoom", "feature", "feature-state"]>;
152
174
  /**
153
- * The transition affecting any changes to this layers lineGapWidth property.
175
+ * The transition affecting any changes to this layer's lineGapWidth property.
154
176
  */
155
177
  lineGapWidthTransition?: Transition;
156
178
  /**
157
- * 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.
179
+ * The line's offset. For linear features, a positive value offsets the line to
180
+ * the right, relative to the direction of the line, and a negative value to the
181
+ * left. For polygon features, a positive value results in an inset, and a
182
+ * negative value results in an outset.
158
183
  */
159
184
  lineOffset?: Value<number, ["zoom", "feature", "feature-state"]>;
160
185
  /**
161
- * The transition affecting any changes to this layers lineOffset property.
186
+ * The transition affecting any changes to this layer's lineOffset property.
162
187
  */
163
188
  lineOffsetTransition?: Transition;
164
189
  /**
@@ -166,34 +191,47 @@ export interface LineLayerStyle {
166
191
  */
167
192
  lineBlur?: Value<number, ["zoom", "feature", "feature-state"]>;
168
193
  /**
169
- * The transition affecting any changes to this layers lineBlur property.
194
+ * The transition affecting any changes to this layer's lineBlur property.
170
195
  */
171
196
  lineBlurTransition?: Transition;
172
197
  /**
173
- * Specifies the lengths of the alternating dashes and gaps that form the dash pattern. The lengths are later scaled by the line width. To convert a dash length to pixels, multiply the length by the current line width. GeoJSON sources with `lineMetrics: true` specified won't render dashed lines to the expected scale. ZoomDependent expressions will be evaluated only at integer zoom levels. The only way to create an array value is using `["literal", [...]]`; arrays cannot be read from or derived from feature properties.
198
+ * Specifies the lengths of the alternating dashes and gaps that form the dash
199
+ * pattern. The lengths are later scaled by the line width. To convert a dash
200
+ * length to pixels, multiply the length by the current line width. GeoJSON
201
+ * sources with `lineMetrics: true` specified won't render dashed lines to the
202
+ * expected scale. ZoomDependent expressions will be evaluated only at integer
203
+ * zoom levels. The only way to create an array value is using
204
+ * `["literal", [...]]` ; arrays cannot be read from or derived from feature
205
+ * properties.
174
206
  *
175
207
  * @disabledBy linePattern
176
208
  */
177
209
  lineDasharray?: Value<number[], ["zoom", "feature"]>;
178
210
  /**
179
- * The transition affecting any changes to this layers lineDasharray property.
211
+ * The transition affecting any changes to this layer's lineDasharray property.
180
212
  */
181
213
  lineDasharrayTransition?: Transition;
182
214
  /**
183
- * 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.
215
+ * Name of image in sprite to use for drawing image lines. For seamless
216
+ * patterns, image width must be a factor of two (2, 4, 8, ..., 512). Note that
217
+ * zoomDependent expressions will be evaluated only at integer zoom levels.
184
218
  */
185
219
  linePattern?: Value<ResolvedImageType, ["zoom", "feature"]>;
186
220
  /**
187
- * The transition affecting any changes to this layers linePattern property.
221
+ * The transition affecting any changes to this layer's linePattern property.
188
222
  */
189
223
  linePatternTransition?: Transition;
190
224
  /**
191
- * Defines a gradient with which to color a line feature. Can only be used with GeoJSON sources that specify `"lineMetrics": true`.
225
+ * Defines a gradient with which to color a line feature. Can only be used with
226
+ * GeoJSON sources that specify `"lineMetrics": true` .
192
227
  *
193
228
  * @disabledBy lineDasharray, linePattern
194
229
  */
195
230
  lineGradient?: Value<string, ["line-progress"]>;
196
231
  }
232
+ /**
233
+ * @deprecated
234
+ */
197
235
  export interface SymbolLayerStyle {
198
236
  /**
199
237
  * Label placement relative to its geometry.
@@ -204,19 +242,33 @@ export interface SymbolLayerStyle {
204
242
  */
205
243
  symbolSpacing?: Value<number, ["zoom"]>;
206
244
  /**
207
- * 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.
245
+ * If true, the symbols will not cross tile edges to avoid mutual collisions.
246
+ * Recommended in layers that don't have enough padding in the vector tile to
247
+ * prevent collisions, or if it is a point symbol layer placed after a line
248
+ * symbol layer. When using a client that supports global collision detection,
249
+ * like MapLibre GL JS version 0.42.0 or greater, enabling this property is not
250
+ * needed to prevent clipped labels at tile boundaries.
208
251
  */
209
252
  symbolAvoidEdges?: Value<boolean, ["zoom"]>;
210
253
  /**
211
- * 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.
254
+ * Sorts features in ascending order based on this value. Features with lower
255
+ * sort keys are drawn and placed first. When `iconAllowOverlap` or
256
+ * `textAllowOverlap` is `false` , features with a lower sort key will have
257
+ * priority during placement. When `iconAllowOverlap` or `textAllowOverlap` is
258
+ * set to `true` , features with a higher sort key will overlap over features
259
+ * with a lower sort key.
212
260
  */
213
261
  symbolSortKey?: Value<number, ["zoom", "feature"]>;
214
262
  /**
215
- * 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`.
263
+ * Determines whether overlapping symbols in the same layer are rendered in the
264
+ * order that they appear in the data source or by their yPosition relative to
265
+ * the viewport. To control the order and prioritization of symbols otherwise,
266
+ * use `symbolSortKey` .
216
267
  */
217
268
  symbolZOrder?: Value<"auto" | "viewport-y" | "source", ["zoom"]>;
218
269
  /**
219
- * If true, the icon will be visible even if it collides with other previously drawn symbols.
270
+ * If true, the icon will be visible even if it collides with other previously
271
+ * drawn symbols.
220
272
  *
221
273
  * @requires iconImage
222
274
  *
@@ -230,19 +282,23 @@ export interface SymbolLayerStyle {
230
282
  */
231
283
  iconIgnorePlacement?: Value<boolean, ["zoom"]>;
232
284
  /**
233
- * If true, text will display without their corresponding icons when the icon collides with other symbols and the text does not.
285
+ * If true, text will display without their corresponding icons when the icon
286
+ * collides with other symbols and the text does not.
234
287
  *
235
288
  * @requires iconImage, textField
236
289
  */
237
290
  iconOptional?: Value<boolean, ["zoom"]>;
238
291
  /**
239
- * In combination with `symbolPlacement`, determines the rotation behavior of icons.
292
+ * In combination with `symbolPlacement` , determines the rotation behavior of
293
+ * icons.
240
294
  *
241
295
  * @requires iconImage
242
296
  */
243
297
  iconRotationAlignment?: Value<"map" | "viewport" | "auto", ["zoom"]>;
244
298
  /**
245
- * 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.
299
+ * Scales the original size of the icon by the provided factor. The new pixel
300
+ * size of the image will be the original pixel size multiplied by `iconSize` .
301
+ * 1 is the original size; 3 triples the size of the image.
246
302
  *
247
303
  * @requires iconImage
248
304
  */
@@ -254,7 +310,8 @@ export interface SymbolLayerStyle {
254
310
  */
255
311
  iconTextFit?: Value<"none" | "width" | "height" | "both", ["zoom"]>;
256
312
  /**
257
- * Size of the additional area added to dimensions determined by `iconTextFit`, in clockwise order: top, right, bottom, left.
313
+ * Size of the additional area added to dimensions determined by `iconTextFit` ,
314
+ * in clockwise order: top, right, bottom, left.
258
315
  *
259
316
  * @requires iconImage, textField
260
317
  */
@@ -270,19 +327,25 @@ export interface SymbolLayerStyle {
270
327
  */
271
328
  iconRotate?: Value<number, ["zoom", "feature"]>;
272
329
  /**
273
- * Size of additional area round the icon bounding box used for detecting symbol collisions.
330
+ * Size of additional area round the icon bounding box used for detecting symbol
331
+ * collisions.
274
332
  *
275
333
  * @requires iconImage
276
334
  */
277
335
  iconPadding?: Value<number[], ["zoom", "feature"]>;
278
336
  /**
279
- * If true, the icon may be flipped to prevent it from being rendered upsideDown.
337
+ * If true, the icon may be flipped to prevent it from being rendered
338
+ * upsideDown.
280
339
  *
281
340
  * @requires iconImage
282
341
  */
283
342
  iconKeepUpright?: Value<boolean, ["zoom"]>;
284
343
  /**
285
- * 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.
344
+ * Offset distance of icon from its anchor. Positive values indicate right and
345
+ * down, while negative values indicate left and up. Each component is
346
+ * multiplied by the value of `iconSize` to obtain the final offset in pixels.
347
+ * When combined with `iconRotate` the offset will be as if the rotated
348
+ * direction was up.
286
349
  *
287
350
  * @requires iconImage
288
351
  */
@@ -309,7 +372,8 @@ export interface SymbolLayerStyle {
309
372
  */
310
373
  textPitchAlignment?: Value<"map" | "viewport" | "auto", ["zoom"]>;
311
374
  /**
312
- * In combination with `symbolPlacement`, determines the rotation behavior of the individual glyphs forming the text.
375
+ * In combination with `symbolPlacement` , determines the rotation behavior of
376
+ * the individual glyphs forming the text.
313
377
  *
314
378
  * @requires textField
315
379
  */
@@ -317,11 +381,15 @@ export interface SymbolLayerStyle {
317
381
  "zoom"
318
382
  ]>;
319
383
  /**
320
- * 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.
384
+ * Value to use for a text label. If a plain `string` is provided, it will be
385
+ * treated as a `formatted` with default/inherited formatting options.
321
386
  */
322
387
  textField?: Value<FormattedString, ["zoom", "feature"]>;
323
388
  /**
324
- * Fonts to use for displaying text. If the `glyphs` root property is specified, this array is joined together and interpreted as a font stack name. Otherwise, it is interpreted as a cascading fallback list of local font names.
389
+ * Fonts to use for displaying text. If the `glyphs` root property is specified,
390
+ * this array is joined together and interpreted as a font stack name.
391
+ * Otherwise, it is interpreted as a cascading fallback list of local font
392
+ * names.
325
393
  *
326
394
  * @requires textField
327
395
  */
@@ -360,13 +428,20 @@ export interface SymbolLayerStyle {
360
428
  "feature"
361
429
  ]>;
362
430
  /**
363
- * 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.
431
+ * Radial offset of text, in the direction of the symbol's anchor. Useful in
432
+ * combination with `textVariableAnchor` , which defaults to using the
433
+ * twoDimensional `textOffset` if present.
364
434
  *
365
435
  * @requires textField
366
436
  */
367
437
  textRadialOffset?: Value<number, ["zoom", "feature"]>;
368
438
  /**
369
- * 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`.
439
+ * To increase the chance of placing highPriority labels on the map, you can
440
+ * provide an array of `textAnchor` locations: the renderer will attempt to
441
+ * place the label at each location, in order, before moving onto the next
442
+ * label. Use `textJustify: auto` to choose justification based on anchor
443
+ * position. To apply an offset, use the `textRadialOffset` or the
444
+ * twoDimensional `textOffset` .
370
445
  *
371
446
  * @requires textField
372
447
  */
@@ -391,7 +466,12 @@ export interface SymbolLayerStyle {
391
466
  */
392
467
  textMaxAngle?: Value<number, ["zoom"]>;
393
468
  /**
394
- * 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.
469
+ * The property allows control over a symbol's orientation. Note that the
470
+ * property values act as a hint, so that a symbol whose language doesn’t
471
+ * support the provided orientation will be laid out in its natural orientation.
472
+ * Example: English point symbol will be rendered horizontally even if array
473
+ * value contains single 'vertical' enum value. The order of elements in an
474
+ * array define priority order for the placement of an orientation variant.
395
475
  *
396
476
  * @requires textField
397
477
  */
@@ -403,19 +483,22 @@ export interface SymbolLayerStyle {
403
483
  */
404
484
  textRotate?: Value<number, ["zoom", "feature"]>;
405
485
  /**
406
- * Size of the additional area around the text bounding box used for detecting symbol collisions.
486
+ * Size of the additional area around the text bounding box used for detecting
487
+ * symbol collisions.
407
488
  *
408
489
  * @requires textField
409
490
  */
410
491
  textPadding?: Value<number, ["zoom"]>;
411
492
  /**
412
- * If true, the text may be flipped vertically to prevent it from being rendered upsideDown.
493
+ * If true, the text may be flipped vertically to prevent it from being rendered
494
+ * upsideDown.
413
495
  *
414
496
  * @requires textField
415
497
  */
416
498
  textKeepUpright?: Value<boolean, ["zoom"]>;
417
499
  /**
418
- * Specifies how to capitalize text, similar to the CSS `textTransform` property.
500
+ * Specifies how to capitalize text, similar to the CSS `textTransform`
501
+ * property.
419
502
  *
420
503
  * @requires textField
421
504
  */
@@ -424,7 +507,11 @@ export interface SymbolLayerStyle {
424
507
  "feature"
425
508
  ]>;
426
509
  /**
427
- * 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.
510
+ * Offset distance of text from its anchor. Positive values indicate right and
511
+ * down, while negative values indicate left and up. If used with
512
+ * textVariableAnchor, input values will be taken as absolute values. Offsets
513
+ * along the x and yAxis will be applied automatically based on the anchor
514
+ * position.
428
515
  *
429
516
  * @requires textField
430
517
  *
@@ -432,7 +519,8 @@ export interface SymbolLayerStyle {
432
519
  */
433
520
  textOffset?: Value<number[], ["zoom", "feature"]>;
434
521
  /**
435
- * If true, the text will be visible even if it collides with other previously drawn symbols.
522
+ * If true, the text will be visible even if it collides with other previously
523
+ * drawn symbols.
436
524
  *
437
525
  * @requires textField
438
526
  *
@@ -446,7 +534,8 @@ export interface SymbolLayerStyle {
446
534
  */
447
535
  textIgnorePlacement?: Value<boolean, ["zoom"]>;
448
536
  /**
449
- * If true, icons will display without their corresponding text when the text collides with other symbols and the icon does not.
537
+ * If true, icons will display without their corresponding text when the text
538
+ * collides with other symbols and the icon does not.
450
539
  *
451
540
  * @requires textField, iconImage
452
541
  */
@@ -462,7 +551,7 @@ export interface SymbolLayerStyle {
462
551
  */
463
552
  iconOpacity?: Value<number, ["zoom", "feature", "feature-state"]>;
464
553
  /**
465
- * The transition affecting any changes to this layers iconOpacity property.
554
+ * The transition affecting any changes to this layer's iconOpacity property.
466
555
  */
467
556
  iconOpacityTransition?: Transition;
468
557
  /**
@@ -472,7 +561,7 @@ export interface SymbolLayerStyle {
472
561
  */
473
562
  iconColor?: Value<string, ["zoom", "feature", "feature-state"]>;
474
563
  /**
475
- * The transition affecting any changes to this layers iconColor property.
564
+ * The transition affecting any changes to this layer's iconColor property.
476
565
  */
477
566
  iconColorTransition?: Transition;
478
567
  /**
@@ -482,19 +571,21 @@ export interface SymbolLayerStyle {
482
571
  */
483
572
  iconHaloColor?: Value<string, ["zoom", "feature", "feature-state"]>;
484
573
  /**
485
- * The transition affecting any changes to this layers iconHaloColor property.
574
+ * The transition affecting any changes to this layer's iconHaloColor property.
486
575
  */
487
576
  iconHaloColorTransition?: Transition;
488
577
  /**
489
- * Distance of halo to the icon outline.
490
-
491
- 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.
492
- *
493
- * @requires iconImage
494
- */
578
+ * Distance of halo to the icon outline.
579
+ *
580
+ * The unit is in pixels only for SDF sprites that were created with a blur
581
+ * radius of 8, multiplied by the display density. I.e., the radius needs to be
582
+ * 16 for `@2x` sprites, etc.
583
+ *
584
+ * @requires iconImage
585
+ */
495
586
  iconHaloWidth?: Value<number, ["zoom", "feature", "feature-state"]>;
496
587
  /**
497
- * The transition affecting any changes to this layers iconHaloWidth property.
588
+ * The transition affecting any changes to this layer's iconHaloWidth property.
498
589
  */
499
590
  iconHaloWidthTransition?: Transition;
500
591
  /**
@@ -504,17 +595,19 @@ export interface SymbolLayerStyle {
504
595
  */
505
596
  iconHaloBlur?: Value<number, ["zoom", "feature", "feature-state"]>;
506
597
  /**
507
- * The transition affecting any changes to this layers iconHaloBlur property.
598
+ * The transition affecting any changes to this layer's iconHaloBlur property.
508
599
  */
509
600
  iconHaloBlurTransition?: Transition;
510
601
  /**
511
- * Distance that the icon's anchor is moved from its original placement. Positive values indicate right and down, while negative values indicate left and up.
602
+ * Distance that the icon's anchor is moved from its original placement.
603
+ * Positive values indicate right and down, while negative values indicate left
604
+ * and up.
512
605
  *
513
606
  * @requires iconImage
514
607
  */
515
608
  iconTranslate?: Value<Translation, ["zoom"]>;
516
609
  /**
517
- * The transition affecting any changes to this layers iconTranslate property.
610
+ * The transition affecting any changes to this layer's iconTranslate property.
518
611
  */
519
612
  iconTranslateTransition?: Transition;
520
613
  /**
@@ -530,7 +623,7 @@ export interface SymbolLayerStyle {
530
623
  */
531
624
  textOpacity?: Value<number, ["zoom", "feature", "feature-state"]>;
532
625
  /**
533
- * The transition affecting any changes to this layers textOpacity property.
626
+ * The transition affecting any changes to this layer's textOpacity property.
534
627
  */
535
628
  textOpacityTransition?: Transition;
536
629
  /**
@@ -540,7 +633,7 @@ export interface SymbolLayerStyle {
540
633
  */
541
634
  textColor?: Value<string, ["zoom", "feature", "feature-state"]>;
542
635
  /**
543
- * The transition affecting any changes to this layers textColor property.
636
+ * The transition affecting any changes to this layer's textColor property.
544
637
  */
545
638
  textColorTransition?: Transition;
546
639
  /**
@@ -550,17 +643,18 @@ export interface SymbolLayerStyle {
550
643
  */
551
644
  textHaloColor?: Value<string, ["zoom", "feature", "feature-state"]>;
552
645
  /**
553
- * The transition affecting any changes to this layers textHaloColor property.
646
+ * The transition affecting any changes to this layer's textHaloColor property.
554
647
  */
555
648
  textHaloColorTransition?: Transition;
556
649
  /**
557
- * Distance of halo to the font outline. Max text halo width is 1/4 of the fontSize.
650
+ * Distance of halo to the font outline. Max text halo width is 1/4 of the
651
+ * fontSize.
558
652
  *
559
653
  * @requires textField
560
654
  */
561
655
  textHaloWidth?: Value<number, ["zoom", "feature", "feature-state"]>;
562
656
  /**
563
- * The transition affecting any changes to this layers textHaloWidth property.
657
+ * The transition affecting any changes to this layer's textHaloWidth property.
564
658
  */
565
659
  textHaloWidthTransition?: Transition;
566
660
  /**
@@ -570,17 +664,19 @@ export interface SymbolLayerStyle {
570
664
  */
571
665
  textHaloBlur?: Value<number, ["zoom", "feature", "feature-state"]>;
572
666
  /**
573
- * The transition affecting any changes to this layers textHaloBlur property.
667
+ * The transition affecting any changes to this layer's textHaloBlur property.
574
668
  */
575
669
  textHaloBlurTransition?: Transition;
576
670
  /**
577
- * Distance that the text's anchor is moved from its original placement. Positive values indicate right and down, while negative values indicate left and up.
671
+ * Distance that the text's anchor is moved from its original placement.
672
+ * Positive values indicate right and down, while negative values indicate left
673
+ * and up.
578
674
  *
579
675
  * @requires textField
580
676
  */
581
677
  textTranslate?: Value<Translation, ["zoom"]>;
582
678
  /**
583
- * The transition affecting any changes to this layers textTranslate property.
679
+ * The transition affecting any changes to this layer's textTranslate property.
584
680
  */
585
681
  textTranslateTransition?: Transition;
586
682
  /**
@@ -590,9 +686,13 @@ export interface SymbolLayerStyle {
590
686
  */
591
687
  textTranslateAnchor?: Value<"map" | "viewport", ["zoom"]>;
592
688
  }
689
+ /**
690
+ * @deprecated
691
+ */
593
692
  export interface CircleLayerStyle {
594
693
  /**
595
- * Sorts features in ascending order based on this value. Features with a higher sort key will appear above features with a lower sort key.
694
+ * Sorts features in ascending order based on this value. Features with a higher
695
+ * sort key will appear above features with a lower sort key.
596
696
  */
597
697
  circleSortKey?: Value<number, ["zoom", "feature"]>;
598
698
  /**
@@ -604,7 +704,7 @@ export interface CircleLayerStyle {
604
704
  */
605
705
  circleRadius?: Value<number, ["zoom", "feature", "feature-state"]>;
606
706
  /**
607
- * The transition affecting any changes to this layers circleRadius property.
707
+ * The transition affecting any changes to this layer's circleRadius property.
608
708
  */
609
709
  circleRadiusTransition?: Transition;
610
710
  /**
@@ -612,15 +712,16 @@ export interface CircleLayerStyle {
612
712
  */
613
713
  circleColor?: Value<string, ["zoom", "feature", "feature-state"]>;
614
714
  /**
615
- * The transition affecting any changes to this layers circleColor property.
715
+ * The transition affecting any changes to this layer's circleColor property.
616
716
  */
617
717
  circleColorTransition?: Transition;
618
718
  /**
619
- * Amount to blur the circle. 1 blurs the circle such that only the centerpoint is full opacity.
719
+ * Amount to blur the circle. 1 blurs the circle such that only the centerpoint
720
+ * is full opacity.
620
721
  */
621
722
  circleBlur?: Value<number, ["zoom", "feature", "feature-state"]>;
622
723
  /**
623
- * The transition affecting any changes to this layers circleBlur property.
724
+ * The transition affecting any changes to this layer's circleBlur property.
624
725
  */
625
726
  circleBlurTransition?: Transition;
626
727
  /**
@@ -628,15 +729,17 @@ export interface CircleLayerStyle {
628
729
  */
629
730
  circleOpacity?: Value<number, ["zoom", "feature", "feature-state"]>;
630
731
  /**
631
- * The transition affecting any changes to this layers circleOpacity property.
732
+ * The transition affecting any changes to this layer's circleOpacity property.
632
733
  */
633
734
  circleOpacityTransition?: Transition;
634
735
  /**
635
- * The geometry's offset. Values are [x, y] where negatives indicate left and up, respectively.
736
+ * The geometry's offset. Values are [x, y] where negatives indicate left and
737
+ * up, respectively.
636
738
  */
637
739
  circleTranslate?: Value<Translation, ["zoom"]>;
638
740
  /**
639
- * The transition affecting any changes to this layers circleTranslate property.
741
+ * The transition affecting any changes to this layer's circleTranslate
742
+ * property.
640
743
  */
641
744
  circleTranslateTransition?: Transition;
642
745
  /**
@@ -654,11 +757,13 @@ export interface CircleLayerStyle {
654
757
  */
655
758
  circlePitchAlignment?: Value<"map" | "viewport", ["zoom"]>;
656
759
  /**
657
- * The width of the circle's stroke. Strokes are placed outside of the `circleRadius`.
760
+ * The width of the circle's stroke. Strokes are placed outside of the
761
+ * `circleRadius` .
658
762
  */
659
763
  circleStrokeWidth?: Value<number, ["zoom", "feature", "feature-state"]>;
660
764
  /**
661
- * The transition affecting any changes to this layers circleStrokeWidth property.
765
+ * The transition affecting any changes to this layer's circleStrokeWidth
766
+ * property.
662
767
  */
663
768
  circleStrokeWidthTransition?: Transition;
664
769
  /**
@@ -666,7 +771,8 @@ export interface CircleLayerStyle {
666
771
  */
667
772
  circleStrokeColor?: Value<string, ["zoom", "feature", "feature-state"]>;
668
773
  /**
669
- * The transition affecting any changes to this layers circleStrokeColor property.
774
+ * The transition affecting any changes to this layer's circleStrokeColor
775
+ * property.
670
776
  */
671
777
  circleStrokeColorTransition?: Transition;
672
778
  /**
@@ -674,37 +780,47 @@ export interface CircleLayerStyle {
674
780
  */
675
781
  circleStrokeOpacity?: Value<number, ["zoom", "feature", "feature-state"]>;
676
782
  /**
677
- * The transition affecting any changes to this layers circleStrokeOpacity property.
783
+ * The transition affecting any changes to this layer's circleStrokeOpacity
784
+ * property.
678
785
  */
679
786
  circleStrokeOpacityTransition?: Transition;
680
787
  }
788
+ /**
789
+ * @deprecated
790
+ */
681
791
  export interface HeatmapLayerStyle {
682
792
  /**
683
793
  * Whether this layer is displayed.
684
794
  */
685
795
  visibility?: Value<"visible" | "none", ["global-state"]>;
686
796
  /**
687
- * Radius of influence of one heatmap point in pixels. Increasing the value makes the heatmap smoother, but less detailed.
797
+ * Radius of influence of one heatmap point in pixels. Increasing the value
798
+ * makes the heatmap smoother, but less detailed.
688
799
  */
689
800
  heatmapRadius?: Value<number, ["zoom", "feature", "feature-state"]>;
690
801
  /**
691
- * The transition affecting any changes to this layers heatmapRadius property.
802
+ * The transition affecting any changes to this layer's heatmapRadius property.
692
803
  */
693
804
  heatmapRadiusTransition?: Transition;
694
805
  /**
695
- * 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.
806
+ * A measure of how much an individual point contributes to the heatmap. A value
807
+ * of 10 would be equivalent to having 10 points of weight 1 in the same spot.
808
+ * Especially useful when combined with clustering.
696
809
  */
697
810
  heatmapWeight?: Value<number, ["zoom", "feature", "feature-state"]>;
698
811
  /**
699
- * Similar to `heatmapWeight` but controls the intensity of the heatmap globally. Primarily used for adjusting the heatmap based on zoom level.
812
+ * Similar to `heatmapWeight` but controls the intensity of the heatmap
813
+ * globally. Primarily used for adjusting the heatmap based on zoom level.
700
814
  */
701
815
  heatmapIntensity?: Value<number, ["zoom"]>;
702
816
  /**
703
- * The transition affecting any changes to this layers heatmapIntensity property.
817
+ * The transition affecting any changes to this layer's heatmapIntensity
818
+ * property.
704
819
  */
705
820
  heatmapIntensityTransition?: Transition;
706
821
  /**
707
- * Defines the color of each pixel based on its density value in a heatmap. Should be an expression that uses `["heatmapDensity"]` as input.
822
+ * Defines the color of each pixel based on its density value in a heatmap.
823
+ * Should be an expression that uses `["heatmapDensity"]` as input.
708
824
  */
709
825
  heatmapColor?: Value<string, ["heatmap-density"]>;
710
826
  /**
@@ -712,39 +828,51 @@ export interface HeatmapLayerStyle {
712
828
  */
713
829
  heatmapOpacity?: Value<number, ["zoom"]>;
714
830
  /**
715
- * The transition affecting any changes to this layers heatmapOpacity property.
831
+ * The transition affecting any changes to this layer's heatmapOpacity property.
716
832
  */
717
833
  heatmapOpacityTransition?: Transition;
718
834
  }
835
+ /**
836
+ * @deprecated
837
+ */
719
838
  export interface FillExtrusionLayerStyle {
720
839
  /**
721
840
  * Whether this layer is displayed.
722
841
  */
723
842
  visibility?: Value<"visible" | "none", ["global-state"]>;
724
843
  /**
725
- * The opacity of the entire fill extrusion layer. This is rendered on a perLayer, not perFeature, basis, and dataDriven styling is not available.
844
+ * The opacity of the entire fill extrusion layer. This is rendered on a
845
+ * perLayer, not perFeature, basis, and dataDriven styling is not available.
726
846
  */
727
847
  fillExtrusionOpacity?: Value<number, ["zoom"]>;
728
848
  /**
729
- * The transition affecting any changes to this layers fillExtrusionOpacity property.
849
+ * The transition affecting any changes to this layer's fillExtrusionOpacity
850
+ * property.
730
851
  */
731
852
  fillExtrusionOpacityTransition?: Transition;
732
853
  /**
733
- * The base color of the extruded fill. The extrusion's surfaces will be shaded differently based on this color in combination with the root `light` settings. If this color is specified as `rgba` with an alpha component, the alpha component will be ignored; use `fillExtrusionOpacity` to set layer opacity.
854
+ * The base color of the extruded fill. The extrusion's surfaces will be shaded
855
+ * differently based on this color in combination with the root `light`
856
+ * settings. If this color is specified as `rgba` with an alpha component, the
857
+ * alpha component will be ignored; use `fillExtrusionOpacity` to set layer
858
+ * opacity.
734
859
  *
735
860
  * @disabledBy fillExtrusionPattern
736
861
  */
737
862
  fillExtrusionColor?: Value<string, ["zoom", "feature", "feature-state"]>;
738
863
  /**
739
- * The transition affecting any changes to this layers fillExtrusionColor property.
864
+ * The transition affecting any changes to this layer's fillExtrusionColor
865
+ * property.
740
866
  */
741
867
  fillExtrusionColorTransition?: Transition;
742
868
  /**
743
- * The geometry's offset. Values are [x, y] where negatives indicate left and up (on the flat plane), respectively.
869
+ * The geometry's offset. Values are [x, y] where negatives indicate left and up
870
+ * (on the flat plane), respectively.
744
871
  */
745
872
  fillExtrusionTranslate?: Value<Translation, ["zoom"]>;
746
873
  /**
747
- * The transition affecting any changes to this layers fillExtrusionTranslate property.
874
+ * The transition affecting any changes to this layer's fillExtrusionTranslate
875
+ * property.
748
876
  */
749
877
  fillExtrusionTranslateTransition?: Transition;
750
878
  /**
@@ -754,11 +882,15 @@ export interface FillExtrusionLayerStyle {
754
882
  */
755
883
  fillExtrusionTranslateAnchor?: Value<"map" | "viewport", ["zoom"]>;
756
884
  /**
757
- * 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.
885
+ * Name of image in sprite to use for drawing images on extruded fills. For
886
+ * seamless patterns, image width and height must be a factor of two (2, 4, 8,
887
+ * ..., 512). Note that zoomDependent expressions will be evaluated only at
888
+ * integer zoom levels.
758
889
  */
759
890
  fillExtrusionPattern?: Value<ResolvedImageType, ["zoom", "feature"]>;
760
891
  /**
761
- * The transition affecting any changes to this layers fillExtrusionPattern property.
892
+ * The transition affecting any changes to this layer's fillExtrusionPattern
893
+ * property.
762
894
  */
763
895
  fillExtrusionPatternTransition?: Transition;
764
896
  /**
@@ -766,24 +898,31 @@ export interface FillExtrusionLayerStyle {
766
898
  */
767
899
  fillExtrusionHeight?: Value<number, ["zoom", "feature", "feature-state"]>;
768
900
  /**
769
- * The transition affecting any changes to this layers fillExtrusionHeight property.
901
+ * The transition affecting any changes to this layer's fillExtrusionHeight
902
+ * property.
770
903
  */
771
904
  fillExtrusionHeightTransition?: Transition;
772
905
  /**
773
- * The height with which to extrude the base of this layer. Must be less than or equal to `fillExtrusionHeight`.
906
+ * The height with which to extrude the base of this layer. Must be less than or
907
+ * equal to `fillExtrusionHeight` .
774
908
  *
775
909
  * @requires fillExtrusionHeight
776
910
  */
777
911
  fillExtrusionBase?: Value<number, ["zoom", "feature", "feature-state"]>;
778
912
  /**
779
- * The transition affecting any changes to this layers fillExtrusionBase property.
913
+ * The transition affecting any changes to this layer's fillExtrusionBase
914
+ * property.
780
915
  */
781
916
  fillExtrusionBaseTransition?: Transition;
782
917
  /**
783
- * Whether to apply a vertical gradient to the sides of a fillExtrusion layer. If true, sides will be shaded slightly darker farther down.
918
+ * Whether to apply a vertical gradient to the sides of a fillExtrusion layer.
919
+ * If true, sides will be shaded slightly darker farther down.
784
920
  */
785
921
  fillExtrusionVerticalGradient?: Value<boolean, ["zoom"]>;
786
922
  }
923
+ /**
924
+ * @deprecated
925
+ */
787
926
  export interface RasterLayerStyle {
788
927
  /**
789
928
  * Whether this layer is displayed.
@@ -794,7 +933,7 @@ export interface RasterLayerStyle {
794
933
  */
795
934
  rasterOpacity?: Value<number, ["zoom"]>;
796
935
  /**
797
- * The transition affecting any changes to this layers rasterOpacity property.
936
+ * The transition affecting any changes to this layer's rasterOpacity property.
798
937
  */
799
938
  rasterOpacityTransition?: Transition;
800
939
  /**
@@ -802,23 +941,28 @@ export interface RasterLayerStyle {
802
941
  */
803
942
  rasterHueRotate?: Value<number, ["zoom"]>;
804
943
  /**
805
- * The transition affecting any changes to this layers rasterHueRotate property.
944
+ * The transition affecting any changes to this layer's rasterHueRotate
945
+ * property.
806
946
  */
807
947
  rasterHueRotateTransition?: Transition;
808
948
  /**
809
- * Increase or reduce the brightness of the image. The value is the minimum brightness.
949
+ * Increase or reduce the brightness of the image. The value is the minimum
950
+ * brightness.
810
951
  */
811
952
  rasterBrightnessMin?: Value<number, ["zoom"]>;
812
953
  /**
813
- * The transition affecting any changes to this layers rasterBrightnessMin property.
954
+ * The transition affecting any changes to this layer's rasterBrightnessMin
955
+ * property.
814
956
  */
815
957
  rasterBrightnessMinTransition?: Transition;
816
958
  /**
817
- * Increase or reduce the brightness of the image. The value is the maximum brightness.
959
+ * Increase or reduce the brightness of the image. The value is the maximum
960
+ * brightness.
818
961
  */
819
962
  rasterBrightnessMax?: Value<number, ["zoom"]>;
820
963
  /**
821
- * The transition affecting any changes to this layers rasterBrightnessMax property.
964
+ * The transition affecting any changes to this layer's rasterBrightnessMax
965
+ * property.
822
966
  */
823
967
  rasterBrightnessMaxTransition?: Transition;
824
968
  /**
@@ -826,7 +970,8 @@ export interface RasterLayerStyle {
826
970
  */
827
971
  rasterSaturation?: Value<number, ["zoom"]>;
828
972
  /**
829
- * The transition affecting any changes to this layers rasterSaturation property.
973
+ * The transition affecting any changes to this layer's rasterSaturation
974
+ * property.
830
975
  */
831
976
  rasterSaturationTransition?: Transition;
832
977
  /**
@@ -834,25 +979,35 @@ export interface RasterLayerStyle {
834
979
  */
835
980
  rasterContrast?: Value<number, ["zoom"]>;
836
981
  /**
837
- * The transition affecting any changes to this layers rasterContrast property.
982
+ * The transition affecting any changes to this layer's rasterContrast property.
838
983
  */
839
984
  rasterContrastTransition?: Transition;
840
985
  /**
841
- * The resampling/interpolation method to use for overscaling, also known as texture magnification filter
986
+ * The resampling/interpolation method to use for overscaling, also known as
987
+ * texture magnification filter. It is advised to use the generic `resampling`
988
+ * paint property instead.
842
989
  */
843
990
  rasterResampling?: Value<"linear" | "nearest", ["zoom"]>;
844
991
  /**
845
- * Fade duration when a new tile is added, or when a video is started or its coordinates are updated.
992
+ * Fade duration when a new tile is added, or when a video is started or its
993
+ * coordinates are updated.
846
994
  */
847
995
  rasterFadeDuration?: Value<number, ["zoom"]>;
848
996
  }
997
+ /**
998
+ * @deprecated
999
+ */
849
1000
  export interface HillshadeLayerStyle {
850
1001
  /**
851
1002
  * Whether this layer is displayed.
852
1003
  */
853
1004
  visibility?: Value<"visible" | "none", ["global-state"]>;
854
1005
  /**
855
- * The direction of the light source(s) 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`. Only when `hillshadeMethod` is set to `multidirectional` can you specify multiple light sources.
1006
+ * The direction of the light source(s) used to generate the hillshading with 0
1007
+ * as the top of the viewport if `hillshadeIlluminationAnchor` is set to
1008
+ * `viewport` and due north if `hillshadeIlluminationAnchor` is set to `map` .
1009
+ * Only when `hillshadeMethod` is set to `multidirectional` can you specify
1010
+ * multiple light sources.
856
1011
  */
857
1012
  hillshadeIlluminationDirection?: Value<number, ["zoom"]>;
858
1013
  /**
@@ -864,34 +1019,46 @@ export interface HillshadeLayerStyle {
864
1019
  */
865
1020
  hillshadeExaggeration?: Value<number, ["zoom"]>;
866
1021
  /**
867
- * The transition affecting any changes to this layers hillshadeExaggeration property.
1022
+ * The transition affecting any changes to this layer's hillshadeExaggeration
1023
+ * property.
868
1024
  */
869
1025
  hillshadeExaggerationTransition?: Transition;
870
1026
  /**
871
- * The shading color of areas that face away from the light source(s). Only when `hillshadeMethod` is set to `multidirectional` can you specify multiple light sources.
1027
+ * The shading color of areas that face away from the light source(s). Only when
1028
+ * `hillshadeMethod` is set to `multidirectional` can you specify multiple light
1029
+ * sources.
872
1030
  */
873
1031
  hillshadeShadowColor?: Value<string, ["zoom"]>;
874
1032
  /**
875
- * The transition affecting any changes to this layers hillshadeShadowColor property.
1033
+ * The transition affecting any changes to this layer's hillshadeShadowColor
1034
+ * property.
876
1035
  */
877
1036
  hillshadeShadowColorTransition?: Transition;
878
1037
  /**
879
- * The shading color of areas that faces towards the light source(s). Only when `hillshadeMethod` is set to `multidirectional` can you specify multiple light sources.
1038
+ * The shading color of areas that faces towards the light source(s). Only when
1039
+ * `hillshadeMethod` is set to `multidirectional` can you specify multiple light
1040
+ * sources.
880
1041
  */
881
1042
  hillshadeHighlightColor?: Value<string, ["zoom"]>;
882
1043
  /**
883
- * The transition affecting any changes to this layers hillshadeHighlightColor property.
1044
+ * The transition affecting any changes to this layer's hillshadeHighlightColor
1045
+ * property.
884
1046
  */
885
1047
  hillshadeHighlightColorTransition?: Transition;
886
1048
  /**
887
- * The shading color used to accentuate rugged terrain like sharp cliffs and gorges.
1049
+ * The shading color used to accentuate rugged terrain like sharp cliffs and
1050
+ * gorges.
888
1051
  */
889
1052
  hillshadeAccentColor?: Value<string, ["zoom"]>;
890
1053
  /**
891
- * The transition affecting any changes to this layers hillshadeAccentColor property.
1054
+ * The transition affecting any changes to this layer's hillshadeAccentColor
1055
+ * property.
892
1056
  */
893
1057
  hillshadeAccentColorTransition?: Transition;
894
1058
  }
1059
+ /**
1060
+ * @deprecated
1061
+ */
895
1062
  export interface BackgroundLayerStyle {
896
1063
  /**
897
1064
  * Whether this layer is displayed.
@@ -904,15 +1071,20 @@ export interface BackgroundLayerStyle {
904
1071
  */
905
1072
  backgroundColor?: Value<string, ["zoom"]>;
906
1073
  /**
907
- * The transition affecting any changes to this layers backgroundColor property.
1074
+ * The transition affecting any changes to this layer's backgroundColor
1075
+ * property.
908
1076
  */
909
1077
  backgroundColorTransition?: Transition;
910
1078
  /**
911
- * 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.
1079
+ * Name of image in sprite to use for drawing an image background. For seamless
1080
+ * patterns, image width and height must be a factor of two (2, 4, 8, ..., 512).
1081
+ * Note that zoomDependent expressions will be evaluated only at integer zoom
1082
+ * levels.
912
1083
  */
913
1084
  backgroundPattern?: Value<ResolvedImageType, ["zoom"]>;
914
1085
  /**
915
- * The transition affecting any changes to this layers backgroundPattern property.
1086
+ * The transition affecting any changes to this layer's backgroundPattern
1087
+ * property.
916
1088
  */
917
1089
  backgroundPatternTransition?: Transition;
918
1090
  /**
@@ -920,21 +1092,32 @@ export interface BackgroundLayerStyle {
920
1092
  */
921
1093
  backgroundOpacity?: Value<number, ["zoom"]>;
922
1094
  /**
923
- * The transition affecting any changes to this layers backgroundOpacity property.
1095
+ * The transition affecting any changes to this layer's backgroundOpacity
1096
+ * property.
924
1097
  */
925
1098
  backgroundOpacityTransition?: Transition;
926
1099
  }
1100
+ /**
1101
+ * @deprecated
1102
+ */
927
1103
  export interface LightLayerStyle {
928
1104
  /**
929
1105
  * Whether extruded geometries are lit relative to the map or viewport.
930
1106
  */
931
1107
  anchor?: Value<"map" | "viewport", ["zoom"]>;
932
1108
  /**
933
- * 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).
1109
+ * Position of the light source relative to lit (extruded) geometries, in [r
1110
+ * radial coordinate, a azimuthal angle, p polar angle] where r indicates the
1111
+ * distance from the center of the base of an object to its light, a indicates
1112
+ * the position of the light relative to 0° (0° when `light.anchor` is set to
1113
+ * `viewport` corresponds to the top of the viewport, or 0° when `light.anchor`
1114
+ * is set to `map` corresponds to due north, and degrees proceed clockwise),
1115
+ * and p indicates the height of the light (from 0°, directly above, to 180°,
1116
+ * directly below).
934
1117
  */
935
1118
  position?: Value<number[], ["zoom"]>;
936
1119
  /**
937
- * The transition affecting any changes to this layers position property.
1120
+ * The transition affecting any changes to this layer's position property.
938
1121
  */
939
1122
  positionTransition?: Transition;
940
1123
  /**
@@ -942,15 +1125,16 @@ export interface LightLayerStyle {
942
1125
  */
943
1126
  color?: Value<string, ["zoom"]>;
944
1127
  /**
945
- * The transition affecting any changes to this layers color property.
1128
+ * The transition affecting any changes to this layer's color property.
946
1129
  */
947
1130
  colorTransition?: Transition;
948
1131
  /**
949
- * Intensity of lighting (on a scale from 0 to 1). Higher numbers will present as more extreme contrast.
1132
+ * Intensity of lighting (on a scale from 0 to 1). Higher numbers will present
1133
+ * as more extreme contrast.
950
1134
  */
951
1135
  intensity?: Value<number, ["zoom"]>;
952
1136
  /**
953
- * The transition affecting any changes to this layers intensity property.
1137
+ * The transition affecting any changes to this layer's intensity property.
954
1138
  */
955
1139
  intensityTransition?: Transition;
956
1140
  }