@rnmapbox/maps 10.1.0-rc.6 → 10.1.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 (661) hide show
  1. package/CHANGELOG.md +5 -9
  2. package/README.md +31 -5
  3. package/android/build.gradle +2 -6
  4. package/android/install.md +21 -5
  5. package/android/src/main/AndroidManifest.xml +1 -1
  6. package/android/src/main/java/com/rnmapbox/rnmbx/RNMBXPackage.kt +12 -76
  7. package/android/src/main/java/com/rnmapbox/rnmbx/components/AbstractEvent.java +35 -0
  8. package/android/src/main/java/com/rnmapbox/rnmbx/components/AbstractEventEmitter.kt +0 -5
  9. package/android/src/main/java/com/rnmapbox/rnmbx/components/annotation/RNMBXMarkerView.kt +6 -17
  10. package/android/src/main/java/com/rnmapbox/rnmbx/components/annotation/RNMBXMarkerViewManager.kt +9 -8
  11. package/android/src/main/java/com/rnmapbox/rnmbx/components/annotation/RNMBXPointAnnotation.kt +35 -33
  12. package/android/src/main/java/com/rnmapbox/rnmbx/components/annotation/RNMBXPointAnnotationManager.kt +7 -8
  13. package/android/src/main/java/com/rnmapbox/rnmbx/components/camera/RNMBXCamera.kt +4 -4
  14. package/android/src/main/java/com/rnmapbox/rnmbx/components/images/RNMBXImages.kt +1 -2
  15. package/android/src/main/java/com/rnmapbox/rnmbx/components/images/RNMBXImagesManager.kt +6 -31
  16. package/android/src/main/java/com/rnmapbox/rnmbx/components/location/LocationComponentManager.kt +47 -78
  17. package/android/src/main/java/com/rnmapbox/rnmbx/components/location/RNMBXNativeUserLocation.kt +25 -246
  18. package/android/src/main/java/com/rnmapbox/rnmbx/components/location/RNMBXNativeUserLocationManager.kt +7 -90
  19. package/android/src/main/java/com/rnmapbox/rnmbx/components/mapview/NativeMapViewModule.kt +8 -1
  20. package/android/src/main/java/com/rnmapbox/rnmbx/components/mapview/RNMBXMapView.kt +114 -185
  21. package/android/src/main/java/com/rnmapbox/rnmbx/components/mapview/RNMBXMapViewManager.kt +8 -16
  22. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/RNMBXStyle.kt +1 -1
  23. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/RNMBXStyleFactory.kt +101 -1176
  24. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/layers/RNMBXCircleLayerManager.kt +0 -8
  25. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/layers/RNMBXFillLayerManager.kt +5 -12
  26. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/layers/RNMBXHeatmapLayerManager.kt +0 -7
  27. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/layers/RNMBXLayer.kt +6 -25
  28. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/layers/RNMBXLineLayerManager.kt +0 -7
  29. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/layers/RNMBXRasterLayer.kt +0 -4
  30. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/layers/RNMBXRasterLayerManager.kt +2 -8
  31. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/layers/RNMBXSymbolLayerManager.kt +0 -8
  32. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/sources/RNMBXShapeSource.kt +6 -56
  33. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/sources/RNMBXShapeSourceManager.kt +5 -7
  34. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/sources/RNMBXVectorSource.kt +1 -1
  35. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/sources/RNMBXVectorSourceManager.kt +4 -5
  36. package/android/src/main/java/com/rnmapbox/rnmbx/events/AndroidCallbackEvent.java +1 -1
  37. package/android/src/main/java/com/rnmapbox/rnmbx/events/FeatureClickEvent.java +3 -3
  38. package/android/src/main/java/com/rnmapbox/rnmbx/events/IEvent.kt +4 -1
  39. package/android/src/main/java/com/rnmapbox/rnmbx/events/ImageMissingEvent.java +1 -1
  40. package/android/src/main/java/com/rnmapbox/rnmbx/events/LocationEvent.kt +1 -1
  41. package/android/src/main/java/com/rnmapbox/rnmbx/events/MapChangeEvent.kt +1 -1
  42. package/android/src/main/java/com/rnmapbox/rnmbx/events/MapClickEvent.java +2 -2
  43. package/android/src/main/java/com/rnmapbox/rnmbx/events/MapUserTrackingModeEvent.kt +4 -4
  44. package/android/src/main/java/com/rnmapbox/rnmbx/events/PointAnnotationClickEvent.java +1 -1
  45. package/android/src/main/java/com/rnmapbox/rnmbx/events/PointAnnotationDragEvent.java +3 -3
  46. package/android/src/main/java/com/rnmapbox/rnmbx/events/constants/EventKeys.java +39 -0
  47. package/android/src/main/java/com/rnmapbox/rnmbx/modules/RNMBXModule.kt +1 -18
  48. package/android/src/main/java/com/rnmapbox/rnmbx/modules/RNMBXOfflineModule.kt +1 -4
  49. package/android/src/main/java/com/rnmapbox/rnmbx/utils/BitmapUtils.kt +0 -3
  50. package/android/src/main/java/com/rnmapbox/rnmbx/utils/DownloadMapImageTask.kt +2 -5
  51. package/android/src/main/java/com/rnmapbox/rnmbx/utils/GeoJSONUtils.kt +0 -5
  52. package/android/src/main/java/com/rnmapbox/rnmbx/utils/extensions/ReadableArray.kt +1 -21
  53. package/android/src/main/java/com/rnmapbox/rnmbx/utils/extensions/ReadableMap.kt +0 -111
  54. package/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/Annotation.kt +1 -33
  55. package/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/Image.kt +1 -17
  56. package/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/Location.kt +9 -6
  57. package/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/MapboxMap.kt +0 -11
  58. package/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/OfflineManager.kt +0 -6
  59. package/android/src/main/mapbox-v11-compat/v11/com/rnmapbox/rnmbx/v11compat/Annotation.kt +1 -29
  60. package/android/src/main/mapbox-v11-compat/v11/com/rnmapbox/rnmbx/v11compat/Image.kt +1 -21
  61. package/android/src/main/mapbox-v11-compat/v11/com/rnmapbox/rnmbx/v11compat/Location.kt +2 -2
  62. package/android/src/main/mapbox-v11-compat/v11/com/rnmapbox/rnmbx/v11compat/MapboxMap.kt +0 -5
  63. package/android/src/main/mapbox-v11-compat/v11/com/rnmapbox/rnmbx/v11compat/OfflineManager.kt +0 -4
  64. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXCircleLayerManagerDelegate.java +6 -9
  65. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXCircleLayerManagerInterface.java +2 -3
  66. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXFillLayerManagerDelegate.java +6 -9
  67. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXFillLayerManagerInterface.java +2 -3
  68. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXHeatmapLayerManagerDelegate.java +6 -9
  69. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXHeatmapLayerManagerInterface.java +2 -3
  70. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXLineLayerManagerDelegate.java +6 -9
  71. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXLineLayerManagerInterface.java +2 -3
  72. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXMapViewManagerDelegate.java +0 -3
  73. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXMapViewManagerInterface.java +0 -1
  74. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXMarkerViewManagerDelegate.java +0 -3
  75. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXMarkerViewManagerInterface.java +0 -1
  76. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXNativeUserLocationManagerDelegate.java +2 -23
  77. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXNativeUserLocationManagerInterface.java +1 -8
  78. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXRasterLayerManagerDelegate.java +6 -9
  79. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXRasterLayerManagerInterface.java +2 -3
  80. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXSymbolLayerManagerDelegate.java +6 -9
  81. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXSymbolLayerManagerInterface.java +2 -3
  82. package/ios/RNMBX/CommonLayerProperties.H +0 -2
  83. package/ios/RNMBX/CustomHttpHeaders.swift +9 -2
  84. package/ios/RNMBX/RNMBXCamera.swift +4 -4
  85. package/ios/RNMBX/RNMBXEvent.swift +0 -2
  86. package/ios/RNMBX/RNMBXImageModule.mm +2 -2
  87. package/ios/RNMBX/RNMBXImages.swift +6 -22
  88. package/ios/RNMBX/RNMBXImagesComponentView.mm +1 -19
  89. package/ios/RNMBX/RNMBXInteractiveElement.swift +1 -1
  90. package/ios/RNMBX/RNMBXLayer.swift +0 -27
  91. package/ios/RNMBX/RNMBXLocationModule.swift +14 -25
  92. package/ios/RNMBX/RNMBXLocationModuleV11.swift +14 -81
  93. package/ios/RNMBX/RNMBXLogging.swift +0 -8
  94. package/ios/RNMBX/RNMBXMapView.swift +207 -507
  95. package/ios/RNMBX/RNMBXMapViewComponentView.mm +20 -28
  96. package/ios/RNMBX/RNMBXMapViewManager.m +0 -1
  97. package/ios/RNMBX/RNMBXMapViewManager.swift +1 -0
  98. package/ios/RNMBX/RNMBXMapViewModule.mm +1 -0
  99. package/ios/RNMBX/RNMBXMarkerView.swift +3 -11
  100. package/ios/RNMBX/RNMBXMarkerViewComponentView.mm +0 -5
  101. package/ios/RNMBX/RNMBXMarkerViewManager.m +0 -1
  102. package/ios/RNMBX/RNMBXModule.m +1 -1
  103. package/ios/RNMBX/RNMBXModule.swift +0 -24
  104. package/ios/RNMBX/RNMBXNativeUserLocation.swift +19 -248
  105. package/ios/RNMBX/RNMBXNativeUserLocationComponentView.mm +6 -15
  106. package/ios/RNMBX/RNMBXNativeUserLocationViewManager.m +0 -8
  107. package/ios/RNMBX/RNMBXOfflineModule.m +1 -1
  108. package/ios/RNMBX/RNMBXPointAnnotation.swift +1 -34
  109. package/ios/RNMBX/RNMBXPointAnnotationModule.mm +2 -2
  110. package/ios/RNMBX/RNMBXShapeSource.swift +15 -54
  111. package/ios/RNMBX/RNMBXStyle.swift +1 -786
  112. package/ios/RNMBX/RNMBXStyleValue.swift +4 -56
  113. package/ios/RNMBX/RNMBXUtils.swift +7 -2
  114. package/ios/RNMBX/rnmapbox_maps-Swift.pre.h +0 -3
  115. package/ios/install.md +26 -5
  116. package/lib/commonjs/Mapbox.js +0 -63
  117. package/lib/commonjs/Mapbox.js.map +1 -1
  118. package/lib/commonjs/RNMBXModule.js +1 -3
  119. package/lib/commonjs/RNMBXModule.js.map +1 -1
  120. package/lib/commonjs/classes/AnimatedCoordinatesArray.js.map +1 -1
  121. package/lib/commonjs/classes/AnimatedExtractCoordinateFromArray.js.map +1 -1
  122. package/lib/commonjs/classes/AnimatedPoint.js.map +1 -1
  123. package/lib/commonjs/classes/AnimatedRouteCoordinatesArray.js.map +1 -1
  124. package/lib/commonjs/classes/AnimatedShape.js.map +1 -1
  125. package/lib/commonjs/classes/index.d.js.map +1 -1
  126. package/lib/commonjs/classes/index.js.map +1 -1
  127. package/lib/commonjs/components/AbstractLayer.js +1 -1
  128. package/lib/commonjs/components/AbstractLayer.js.map +1 -1
  129. package/lib/commonjs/components/AbstractSource.js.map +1 -1
  130. package/lib/commonjs/components/Annotation.js.map +1 -1
  131. package/lib/commonjs/components/Atmosphere.js.map +1 -1
  132. package/lib/commonjs/components/BackgroundLayer.js.map +1 -1
  133. package/lib/commonjs/components/Callout.js.map +1 -1
  134. package/lib/commonjs/components/Camera.js.map +1 -1
  135. package/lib/commonjs/components/CircleLayer.js +2 -7
  136. package/lib/commonjs/components/CircleLayer.js.map +1 -1
  137. package/lib/commonjs/components/FillExtrusionLayer.js.map +1 -1
  138. package/lib/commonjs/components/FillLayer.js +2 -7
  139. package/lib/commonjs/components/FillLayer.js.map +1 -1
  140. package/lib/commonjs/components/HeadingIndicator.js.map +1 -1
  141. package/lib/commonjs/components/HeatmapLayer.js +2 -7
  142. package/lib/commonjs/components/HeatmapLayer.js.map +1 -1
  143. package/lib/commonjs/components/Image.js.map +1 -1
  144. package/lib/commonjs/components/ImageSource.js.map +1 -1
  145. package/lib/commonjs/components/Images.js.map +1 -1
  146. package/lib/commonjs/components/Light.js.map +1 -1
  147. package/lib/commonjs/components/LineLayer.js +2 -7
  148. package/lib/commonjs/components/LineLayer.js.map +1 -1
  149. package/lib/commonjs/components/MapView.js +8 -0
  150. package/lib/commonjs/components/MapView.js.map +1 -1
  151. package/lib/commonjs/components/MarkerView.js +3 -5
  152. package/lib/commonjs/components/MarkerView.js.map +1 -1
  153. package/lib/commonjs/components/NativeBridgeComponent.js.map +1 -1
  154. package/lib/commonjs/components/{CustomLocationProvider.js → NativeUserLocation.js} +5 -5
  155. package/lib/commonjs/components/NativeUserLocation.js.map +1 -0
  156. package/lib/commonjs/components/PointAnnotation.js.map +1 -1
  157. package/lib/commonjs/components/RasterDemSource.js.map +1 -1
  158. package/lib/commonjs/components/RasterLayer.js +2 -7
  159. package/lib/commonjs/components/RasterLayer.js.map +1 -1
  160. package/lib/commonjs/components/RasterSource.js.map +1 -1
  161. package/lib/commonjs/components/ShapeSource.js.map +1 -1
  162. package/lib/commonjs/components/SkyLayer.js +2 -2
  163. package/lib/commonjs/components/SkyLayer.js.map +1 -1
  164. package/lib/commonjs/components/Style.js.map +1 -1
  165. package/lib/commonjs/components/StyleImport.js.map +1 -1
  166. package/lib/commonjs/components/SymbolLayer.js +2 -7
  167. package/lib/commonjs/components/SymbolLayer.js.map +1 -1
  168. package/lib/commonjs/components/Terrain.js.map +1 -1
  169. package/lib/commonjs/components/UserLocation.js +2 -2
  170. package/lib/commonjs/components/UserLocation.js.map +1 -1
  171. package/lib/commonjs/components/VectorSource.js.map +1 -1
  172. package/lib/commonjs/global.d.js.map +1 -1
  173. package/lib/commonjs/index.js.map +1 -1
  174. package/lib/commonjs/index.web.js.map +1 -1
  175. package/lib/commonjs/modules/location/locationManager.js.map +1 -1
  176. package/lib/commonjs/modules/offline/OfflineCreatePackOptions.js.map +1 -1
  177. package/lib/commonjs/modules/offline/OfflinePack.js.map +1 -1
  178. package/lib/commonjs/modules/offline/offlineManager.js +4 -4
  179. package/lib/commonjs/modules/offline/offlineManager.js.map +1 -1
  180. package/lib/commonjs/modules/snapshot/SnapshotOptions.js.map +1 -1
  181. package/lib/commonjs/modules/snapshot/snapshotManager.js.map +1 -1
  182. package/lib/commonjs/requestAndroidLocationPermissions.js.map +1 -1
  183. package/lib/commonjs/specs/NativeMapViewModule.js.map +1 -1
  184. package/lib/commonjs/specs/NativeRNMBXImageModule.js.map +1 -1
  185. package/lib/commonjs/specs/NativeRNMBXPointAnnotationModule.js.map +1 -1
  186. package/lib/commonjs/specs/NativeRNMBXShapeSourceModule.js.map +1 -1
  187. package/lib/commonjs/specs/RNMBXAtmosphereNativeComponent.js.map +1 -1
  188. package/lib/commonjs/specs/RNMBXBackgroundLayerNativeComponent.js.map +1 -1
  189. package/lib/commonjs/specs/RNMBXCalloutNativeComponent.js.map +1 -1
  190. package/lib/commonjs/specs/RNMBXCameraNativeComponent.js.map +1 -1
  191. package/lib/commonjs/specs/RNMBXCircleLayerNativeComponent.js +0 -2
  192. package/lib/commonjs/specs/RNMBXCircleLayerNativeComponent.js.map +1 -1
  193. package/lib/commonjs/specs/RNMBXFillExtrusionLayerNativeComponent.js.map +1 -1
  194. package/lib/commonjs/specs/RNMBXFillLayerNativeComponent.js +0 -2
  195. package/lib/commonjs/specs/RNMBXFillLayerNativeComponent.js.map +1 -1
  196. package/lib/commonjs/specs/RNMBXHeatmapLayerNativeComponent.js +0 -2
  197. package/lib/commonjs/specs/RNMBXHeatmapLayerNativeComponent.js.map +1 -1
  198. package/lib/commonjs/specs/RNMBXImageNativeComponent.js.map +1 -1
  199. package/lib/commonjs/specs/RNMBXImageSourceNativeComponent.js.map +1 -1
  200. package/lib/commonjs/specs/RNMBXImagesNativeComponent.js.map +1 -1
  201. package/lib/commonjs/specs/RNMBXLightNativeComponent.js.map +1 -1
  202. package/lib/commonjs/specs/RNMBXLineLayerNativeComponent.js +0 -2
  203. package/lib/commonjs/specs/RNMBXLineLayerNativeComponent.js.map +1 -1
  204. package/lib/commonjs/specs/RNMBXMapViewNativeComponent.js.map +1 -1
  205. package/lib/commonjs/specs/RNMBXMarkerViewNativeComponent.js.map +1 -1
  206. package/lib/commonjs/specs/RNMBXNativeUserLocationNativeComponent.js +0 -1
  207. package/lib/commonjs/specs/RNMBXNativeUserLocationNativeComponent.js.map +1 -1
  208. package/lib/commonjs/specs/RNMBXPointAnnotationNativeComponent.js.map +1 -1
  209. package/lib/commonjs/specs/RNMBXRasterDemSourceNativeComponent.js.map +1 -1
  210. package/lib/commonjs/specs/RNMBXRasterLayerNativeComponent.js +0 -2
  211. package/lib/commonjs/specs/RNMBXRasterLayerNativeComponent.js.map +1 -1
  212. package/lib/commonjs/specs/RNMBXRasterSourceNativeComponent.js.map +1 -1
  213. package/lib/commonjs/specs/RNMBXShapeSourceNativeComponent.js.map +1 -1
  214. package/lib/commonjs/specs/RNMBXSkyLayerNativeComponent.js.map +1 -1
  215. package/lib/commonjs/specs/RNMBXStyleImportNativeComponent.js.map +1 -1
  216. package/lib/commonjs/specs/RNMBXSymbolLayerNativeComponent.js +0 -2
  217. package/lib/commonjs/specs/RNMBXSymbolLayerNativeComponent.js.map +1 -1
  218. package/lib/commonjs/specs/RNMBXTerrainNativeComponent.js.map +1 -1
  219. package/lib/commonjs/specs/RNMBXVectorSourceNativeComponent.js.map +1 -1
  220. package/lib/commonjs/specs/codegenUtils.js.map +1 -1
  221. package/lib/commonjs/types/BaseProps.js.map +1 -1
  222. package/lib/commonjs/types/OnPressEvent.js.map +1 -1
  223. package/lib/commonjs/types/Position.js.map +1 -1
  224. package/lib/commonjs/types/index.js.map +1 -1
  225. package/lib/commonjs/utils/BridgeValue.js.map +1 -1
  226. package/lib/commonjs/utils/Logger.js.map +1 -1
  227. package/lib/commonjs/utils/MapboxStyles.d.js +0 -5
  228. package/lib/commonjs/utils/MapboxStyles.d.js.map +1 -1
  229. package/lib/commonjs/utils/StyleValue.js.map +1 -1
  230. package/lib/commonjs/utils/animated/Animated.js.map +1 -1
  231. package/lib/commonjs/utils/checkRequiredProps.js.map +1 -1
  232. package/lib/commonjs/utils/deprecation.js.map +1 -1
  233. package/lib/commonjs/utils/filterUtils.js.map +1 -1
  234. package/lib/commonjs/utils/geoUtils.js.map +1 -1
  235. package/lib/commonjs/utils/getAnnotationsLayerID.js.map +1 -1
  236. package/lib/commonjs/utils/index.js.map +1 -1
  237. package/lib/commonjs/utils/nativeRef.js.map +1 -1
  238. package/lib/commonjs/utils/styleMap.js +2 -67
  239. package/lib/commonjs/utils/styleMap.js.map +1 -1
  240. package/lib/commonjs/web/MapContext.js.map +1 -1
  241. package/lib/commonjs/web/MapboxModule.js.map +1 -1
  242. package/lib/commonjs/web/UnimplementedComponent.js.map +1 -1
  243. package/lib/commonjs/web/components/Camera.js.map +1 -1
  244. package/lib/commonjs/web/components/MapView.js.map +1 -1
  245. package/lib/commonjs/web/index.js.map +1 -1
  246. package/lib/commonjs/web/utils/Logger.js.map +1 -1
  247. package/lib/module/Mapbox.js +0 -18
  248. package/lib/module/Mapbox.js.map +1 -1
  249. package/lib/module/RNMBXModule.js +0 -1
  250. package/lib/module/RNMBXModule.js.map +1 -1
  251. package/lib/module/classes/AnimatedCoordinatesArray.js.map +1 -1
  252. package/lib/module/classes/AnimatedExtractCoordinateFromArray.js.map +1 -1
  253. package/lib/module/classes/AnimatedPoint.js.map +1 -1
  254. package/lib/module/classes/AnimatedRouteCoordinatesArray.js.map +1 -1
  255. package/lib/module/classes/AnimatedShape.js.map +1 -1
  256. package/lib/module/classes/index.d.js.map +1 -1
  257. package/lib/module/classes/index.js.map +1 -1
  258. package/lib/module/components/AbstractLayer.js +1 -1
  259. package/lib/module/components/AbstractLayer.js.map +1 -1
  260. package/lib/module/components/AbstractSource.js.map +1 -1
  261. package/lib/module/components/Annotation.js.map +1 -1
  262. package/lib/module/components/Atmosphere.js.map +1 -1
  263. package/lib/module/components/BackgroundLayer.js.map +1 -1
  264. package/lib/module/components/Callout.js.map +1 -1
  265. package/lib/module/components/Camera.js.map +1 -1
  266. package/lib/module/components/CircleLayer.js +2 -7
  267. package/lib/module/components/CircleLayer.js.map +1 -1
  268. package/lib/module/components/FillExtrusionLayer.js.map +1 -1
  269. package/lib/module/components/FillLayer.js +2 -7
  270. package/lib/module/components/FillLayer.js.map +1 -1
  271. package/lib/module/components/HeadingIndicator.js.map +1 -1
  272. package/lib/module/components/HeatmapLayer.js +2 -7
  273. package/lib/module/components/HeatmapLayer.js.map +1 -1
  274. package/lib/module/components/Image.js.map +1 -1
  275. package/lib/module/components/ImageSource.js.map +1 -1
  276. package/lib/module/components/Images.js.map +1 -1
  277. package/lib/module/components/Light.js.map +1 -1
  278. package/lib/module/components/LineLayer.js +2 -7
  279. package/lib/module/components/LineLayer.js.map +1 -1
  280. package/lib/module/components/MapView.js +8 -0
  281. package/lib/module/components/MapView.js.map +1 -1
  282. package/lib/module/components/MarkerView.js +3 -5
  283. package/lib/module/components/MarkerView.js.map +1 -1
  284. package/lib/module/components/NativeBridgeComponent.js.map +1 -1
  285. package/lib/module/components/NativeUserLocation.js +7 -0
  286. package/lib/module/components/NativeUserLocation.js.map +1 -0
  287. package/lib/module/components/PointAnnotation.js.map +1 -1
  288. package/lib/module/components/RasterDemSource.js.map +1 -1
  289. package/lib/module/components/RasterLayer.js +2 -7
  290. package/lib/module/components/RasterLayer.js.map +1 -1
  291. package/lib/module/components/RasterSource.js.map +1 -1
  292. package/lib/module/components/ShapeSource.js.map +1 -1
  293. package/lib/module/components/SkyLayer.js +2 -2
  294. package/lib/module/components/SkyLayer.js.map +1 -1
  295. package/lib/module/components/Style.js.map +1 -1
  296. package/lib/module/components/StyleImport.js.map +1 -1
  297. package/lib/module/components/SymbolLayer.js +2 -7
  298. package/lib/module/components/SymbolLayer.js.map +1 -1
  299. package/lib/module/components/Terrain.js.map +1 -1
  300. package/lib/module/components/UserLocation.js +1 -1
  301. package/lib/module/components/UserLocation.js.map +1 -1
  302. package/lib/module/components/VectorSource.js.map +1 -1
  303. package/lib/module/global.d.js.map +1 -1
  304. package/lib/module/index.js.map +1 -1
  305. package/lib/module/index.web.js.map +1 -1
  306. package/lib/module/modules/location/locationManager.js.map +1 -1
  307. package/lib/module/modules/offline/OfflineCreatePackOptions.js.map +1 -1
  308. package/lib/module/modules/offline/OfflinePack.js.map +1 -1
  309. package/lib/module/modules/offline/offlineManager.js +4 -4
  310. package/lib/module/modules/offline/offlineManager.js.map +1 -1
  311. package/lib/module/modules/snapshot/SnapshotOptions.js.map +1 -1
  312. package/lib/module/modules/snapshot/snapshotManager.js.map +1 -1
  313. package/lib/module/requestAndroidLocationPermissions.js.map +1 -1
  314. package/lib/module/specs/NativeMapViewModule.js.map +1 -1
  315. package/lib/module/specs/NativeRNMBXImageModule.js.map +1 -1
  316. package/lib/module/specs/NativeRNMBXPointAnnotationModule.js.map +1 -1
  317. package/lib/module/specs/NativeRNMBXShapeSourceModule.js.map +1 -1
  318. package/lib/module/specs/RNMBXAtmosphereNativeComponent.js.map +1 -1
  319. package/lib/module/specs/RNMBXBackgroundLayerNativeComponent.js.map +1 -1
  320. package/lib/module/specs/RNMBXCalloutNativeComponent.js.map +1 -1
  321. package/lib/module/specs/RNMBXCameraNativeComponent.js.map +1 -1
  322. package/lib/module/specs/RNMBXCircleLayerNativeComponent.js +0 -3
  323. package/lib/module/specs/RNMBXCircleLayerNativeComponent.js.map +1 -1
  324. package/lib/module/specs/RNMBXFillExtrusionLayerNativeComponent.js.map +1 -1
  325. package/lib/module/specs/RNMBXFillLayerNativeComponent.js +0 -3
  326. package/lib/module/specs/RNMBXFillLayerNativeComponent.js.map +1 -1
  327. package/lib/module/specs/RNMBXHeatmapLayerNativeComponent.js +0 -3
  328. package/lib/module/specs/RNMBXHeatmapLayerNativeComponent.js.map +1 -1
  329. package/lib/module/specs/RNMBXImageNativeComponent.js.map +1 -1
  330. package/lib/module/specs/RNMBXImageSourceNativeComponent.js.map +1 -1
  331. package/lib/module/specs/RNMBXImagesNativeComponent.js.map +1 -1
  332. package/lib/module/specs/RNMBXLightNativeComponent.js.map +1 -1
  333. package/lib/module/specs/RNMBXLineLayerNativeComponent.js +0 -3
  334. package/lib/module/specs/RNMBXLineLayerNativeComponent.js.map +1 -1
  335. package/lib/module/specs/RNMBXMapViewNativeComponent.js.map +1 -1
  336. package/lib/module/specs/RNMBXMarkerViewNativeComponent.js.map +1 -1
  337. package/lib/module/specs/RNMBXNativeUserLocationNativeComponent.js +0 -3
  338. package/lib/module/specs/RNMBXNativeUserLocationNativeComponent.js.map +1 -1
  339. package/lib/module/specs/RNMBXPointAnnotationNativeComponent.js.map +1 -1
  340. package/lib/module/specs/RNMBXRasterDemSourceNativeComponent.js.map +1 -1
  341. package/lib/module/specs/RNMBXRasterLayerNativeComponent.js +0 -3
  342. package/lib/module/specs/RNMBXRasterLayerNativeComponent.js.map +1 -1
  343. package/lib/module/specs/RNMBXRasterSourceNativeComponent.js.map +1 -1
  344. package/lib/module/specs/RNMBXShapeSourceNativeComponent.js.map +1 -1
  345. package/lib/module/specs/RNMBXSkyLayerNativeComponent.js.map +1 -1
  346. package/lib/module/specs/RNMBXStyleImportNativeComponent.js.map +1 -1
  347. package/lib/module/specs/RNMBXSymbolLayerNativeComponent.js +0 -3
  348. package/lib/module/specs/RNMBXSymbolLayerNativeComponent.js.map +1 -1
  349. package/lib/module/specs/RNMBXTerrainNativeComponent.js.map +1 -1
  350. package/lib/module/specs/RNMBXVectorSourceNativeComponent.js.map +1 -1
  351. package/lib/module/specs/codegenUtils.js.map +1 -1
  352. package/lib/module/types/BaseProps.js.map +1 -1
  353. package/lib/module/types/OnPressEvent.js.map +1 -1
  354. package/lib/module/types/Position.js.map +1 -1
  355. package/lib/module/types/index.js.map +1 -1
  356. package/lib/module/utils/BridgeValue.js.map +1 -1
  357. package/lib/module/utils/Logger.js.map +1 -1
  358. package/lib/module/utils/MapboxStyles.d.js +0 -5
  359. package/lib/module/utils/MapboxStyles.d.js.map +1 -1
  360. package/lib/module/utils/StyleValue.js.map +1 -1
  361. package/lib/module/utils/animated/Animated.js.map +1 -1
  362. package/lib/module/utils/checkRequiredProps.js.map +1 -1
  363. package/lib/module/utils/deprecation.js.map +1 -1
  364. package/lib/module/utils/filterUtils.js.map +1 -1
  365. package/lib/module/utils/geoUtils.js.map +1 -1
  366. package/lib/module/utils/getAnnotationsLayerID.js.map +1 -1
  367. package/lib/module/utils/index.js.map +1 -1
  368. package/lib/module/utils/nativeRef.js.map +1 -1
  369. package/lib/module/utils/styleMap.js +2 -67
  370. package/lib/module/utils/styleMap.js.map +1 -1
  371. package/lib/module/web/MapContext.js.map +1 -1
  372. package/lib/module/web/MapboxModule.js.map +1 -1
  373. package/lib/module/web/UnimplementedComponent.js.map +1 -1
  374. package/lib/module/web/components/Camera.js.map +1 -1
  375. package/lib/module/web/components/MapView.js.map +1 -1
  376. package/lib/module/web/index.js.map +1 -1
  377. package/lib/module/web/utils/Logger.js.map +1 -1
  378. package/lib/typescript/src/Mapbox.d.ts +2 -16
  379. package/lib/typescript/src/Mapbox.d.ts.map +1 -1
  380. package/lib/typescript/src/RNMBXModule.d.ts +1 -1
  381. package/lib/typescript/src/RNMBXModule.d.ts.map +1 -1
  382. package/lib/typescript/src/components/AbstractLayer.d.ts +4 -9
  383. package/lib/typescript/src/components/AbstractLayer.d.ts.map +1 -1
  384. package/lib/typescript/src/components/Camera.d.ts +3 -5
  385. package/lib/typescript/src/components/Camera.d.ts.map +1 -1
  386. package/lib/typescript/src/components/CircleLayer.d.ts +3 -11
  387. package/lib/typescript/src/components/CircleLayer.d.ts.map +1 -1
  388. package/lib/typescript/src/components/FillLayer.d.ts +1 -10
  389. package/lib/typescript/src/components/FillLayer.d.ts.map +1 -1
  390. package/lib/typescript/src/components/HeatmapLayer.d.ts +4 -12
  391. package/lib/typescript/src/components/HeatmapLayer.d.ts.map +1 -1
  392. package/lib/typescript/src/components/Images.d.ts +1 -1
  393. package/lib/typescript/src/components/LineLayer.d.ts +1 -10
  394. package/lib/typescript/src/components/LineLayer.d.ts.map +1 -1
  395. package/lib/typescript/src/components/MapView.d.ts +6 -6
  396. package/lib/typescript/src/components/MapView.d.ts.map +1 -1
  397. package/lib/typescript/src/components/MarkerView.d.ts +1 -5
  398. package/lib/typescript/src/components/MarkerView.d.ts.map +1 -1
  399. package/lib/typescript/src/components/NativeUserLocation.d.ts +22 -0
  400. package/lib/typescript/src/components/NativeUserLocation.d.ts.map +1 -0
  401. package/lib/typescript/src/components/RasterLayer.d.ts +2 -11
  402. package/lib/typescript/src/components/RasterLayer.d.ts.map +1 -1
  403. package/lib/typescript/src/components/SymbolLayer.d.ts +5 -17
  404. package/lib/typescript/src/components/SymbolLayer.d.ts.map +1 -1
  405. package/lib/typescript/src/components/UserLocation.d.ts +0 -1
  406. package/lib/typescript/src/components/UserLocation.d.ts.map +1 -1
  407. package/lib/typescript/src/modules/offline/offlineManager.d.ts +1 -1
  408. package/lib/typescript/src/modules/offline/offlineManager.d.ts.map +1 -1
  409. package/lib/typescript/src/specs/NativeMapViewModule.d.ts +1 -0
  410. package/lib/typescript/src/specs/NativeMapViewModule.d.ts.map +1 -1
  411. package/lib/typescript/src/specs/NativeRNMBXImageModule.d.ts +1 -0
  412. package/lib/typescript/src/specs/NativeRNMBXImageModule.d.ts.map +1 -1
  413. package/lib/typescript/src/specs/NativeRNMBXPointAnnotationModule.d.ts +1 -0
  414. package/lib/typescript/src/specs/NativeRNMBXPointAnnotationModule.d.ts.map +1 -1
  415. package/lib/typescript/src/specs/NativeRNMBXShapeSourceModule.d.ts +1 -0
  416. package/lib/typescript/src/specs/NativeRNMBXShapeSourceModule.d.ts.map +1 -1
  417. package/lib/typescript/src/specs/RNMBXCircleLayerNativeComponent.d.ts +11 -16
  418. package/lib/typescript/src/specs/RNMBXCircleLayerNativeComponent.d.ts.map +1 -1
  419. package/lib/typescript/src/specs/RNMBXFillLayerNativeComponent.d.ts +4 -9
  420. package/lib/typescript/src/specs/RNMBXFillLayerNativeComponent.d.ts.map +1 -1
  421. package/lib/typescript/src/specs/RNMBXHeatmapLayerNativeComponent.d.ts +4 -9
  422. package/lib/typescript/src/specs/RNMBXHeatmapLayerNativeComponent.d.ts.map +1 -1
  423. package/lib/typescript/src/specs/RNMBXLineLayerNativeComponent.d.ts +4 -9
  424. package/lib/typescript/src/specs/RNMBXLineLayerNativeComponent.d.ts.map +1 -1
  425. package/lib/typescript/src/specs/RNMBXMapViewNativeComponent.d.ts +0 -1
  426. package/lib/typescript/src/specs/RNMBXMapViewNativeComponent.d.ts.map +1 -1
  427. package/lib/typescript/src/specs/RNMBXMarkerViewNativeComponent.d.ts +0 -1
  428. package/lib/typescript/src/specs/RNMBXMarkerViewNativeComponent.d.ts.map +1 -1
  429. package/lib/typescript/src/specs/RNMBXNativeUserLocationNativeComponent.d.ts +3 -20
  430. package/lib/typescript/src/specs/RNMBXNativeUserLocationNativeComponent.d.ts.map +1 -1
  431. package/lib/typescript/src/specs/RNMBXRasterLayerNativeComponent.d.ts +4 -9
  432. package/lib/typescript/src/specs/RNMBXRasterLayerNativeComponent.d.ts.map +1 -1
  433. package/lib/typescript/src/specs/RNMBXSymbolLayerNativeComponent.d.ts +4 -9
  434. package/lib/typescript/src/specs/RNMBXSymbolLayerNativeComponent.d.ts.map +1 -1
  435. package/lib/typescript/src/specs/codegenUtils.d.ts +1 -0
  436. package/lib/typescript/src/specs/codegenUtils.d.ts.map +1 -1
  437. package/lib/typescript/src/types/Position.d.ts +0 -3
  438. package/lib/typescript/src/types/Position.d.ts.map +1 -1
  439. package/lib/typescript/src/utils/styleMap.d.ts.map +1 -1
  440. package/package.json +10 -11
  441. package/plugin/install.md +14 -6
  442. package/rnmapbox-maps.podspec +4 -26
  443. package/setup-jest.js +1 -30
  444. package/src/Mapbox.ts +0 -21
  445. package/src/RNMBXModule.ts +0 -2
  446. package/src/components/AbstractLayer.tsx +5 -11
  447. package/src/components/Camera.tsx +3 -8
  448. package/src/components/CircleLayer.tsx +5 -17
  449. package/src/components/FillLayer.tsx +3 -16
  450. package/src/components/HeatmapLayer.tsx +6 -18
  451. package/src/components/Images.tsx +1 -1
  452. package/src/components/LineLayer.tsx +3 -16
  453. package/src/components/MapView.tsx +9 -7
  454. package/src/components/MarkerView.tsx +5 -12
  455. package/src/components/NativeUserLocation.tsx +29 -0
  456. package/src/components/RasterLayer.tsx +4 -17
  457. package/src/components/SkyLayer.tsx +2 -2
  458. package/src/components/SymbolLayer.tsx +7 -26
  459. package/src/components/UserLocation.tsx +1 -2
  460. package/src/modules/offline/offlineManager.ts +4 -4
  461. package/src/specs/RNMBXCircleLayerNativeComponent.ts +12 -21
  462. package/src/specs/RNMBXFillLayerNativeComponent.ts +4 -13
  463. package/src/specs/RNMBXHeatmapLayerNativeComponent.ts +4 -13
  464. package/src/specs/RNMBXLineLayerNativeComponent.ts +4 -13
  465. package/src/specs/RNMBXMapViewNativeComponent.ts +0 -2
  466. package/src/specs/RNMBXMarkerViewNativeComponent.ts +0 -1
  467. package/src/specs/RNMBXNativeUserLocationNativeComponent.ts +3 -29
  468. package/src/specs/RNMBXRasterLayerNativeComponent.ts +4 -13
  469. package/src/specs/RNMBXSymbolLayerNativeComponent.ts +4 -13
  470. package/src/types/Position.ts +0 -3
  471. package/src/utils/MapboxStyles.d.ts +63 -526
  472. package/src/utils/styleMap.ts +2 -69
  473. package/android/src/main/java/com/rnmapbox/rnmbx/components/AbstractEvent.kt +0 -24
  474. package/android/src/main/java/com/rnmapbox/rnmbx/components/annotation/RNMBXMarkerViewContent.kt +0 -31
  475. package/android/src/main/java/com/rnmapbox/rnmbx/components/annotation/RNMBXMarkerViewContentManager.kt +0 -23
  476. package/android/src/main/java/com/rnmapbox/rnmbx/components/camera/RNMBXVIewportManager.kt +0 -55
  477. package/android/src/main/java/com/rnmapbox/rnmbx/components/camera/RNMBXViewport.kt +0 -408
  478. package/android/src/main/java/com/rnmapbox/rnmbx/components/camera/RNMBXViewportModule.kt +0 -66
  479. package/android/src/main/java/com/rnmapbox/rnmbx/components/images/ImageManager.kt +0 -53
  480. package/android/src/main/java/com/rnmapbox/rnmbx/components/location/RNMBXCustomLocationProvider.kt +0 -114
  481. package/android/src/main/java/com/rnmapbox/rnmbx/components/location/RNMBXCustomLocationProviderManager.kt +0 -54
  482. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/layers/RNMBXModelLayer.kt +0 -33
  483. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/layers/RNMBXModelLayerManager.kt +0 -85
  484. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/layers/codeparts/LayerManagerCommonProps.codepart-kt.ejs +0 -59
  485. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/model/RNMBXModels.kt +0 -33
  486. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/model/RNMBXModelsManager.kt +0 -59
  487. package/android/src/main/java/com/rnmapbox/rnmbx/events/constants/EventKeys.kt +0 -44
  488. package/android/src/main/java/com/rnmapbox/rnmbx/modules/RNMBXOfflineModuleLegacy.kt +0 -444
  489. package/android/src/main/java/com/rnmapbox/rnmbx/shape_animators/RNMBXMovePointShapeAnimatorModule.kt +0 -55
  490. package/android/src/main/java/com/rnmapbox/rnmbx/shape_animators/ShapeAnimatorCommon.kt +0 -110
  491. package/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/Cancelable.kt +0 -15
  492. package/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/Layer.kt +0 -7
  493. package/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt +0 -395
  494. package/android/src/main/mapbox-v11-compat/v11/com/rnmapbox/rnmbx/v11compat/Cancelable.kt +0 -3
  495. package/android/src/main/mapbox-v11-compat/v11/com/rnmapbox/rnmbx/v11compat/Layer.kt +0 -3
  496. package/android/src/main/mapbox-v11-compat/v11/com/rnmapbox/rnmbx/v11compat/StyleFactory.kt +0 -8
  497. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXCustomLocationProviderManagerDelegate.java +0 -35
  498. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXCustomLocationProviderManagerInterface.java +0 -18
  499. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXMarkerViewContentManagerDelegate.java +0 -25
  500. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXMarkerViewContentManagerInterface.java +0 -16
  501. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXModelLayerManagerDelegate.java +0 -65
  502. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXModelLayerManagerInterface.java +0 -28
  503. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXModelsManagerDelegate.java +0 -32
  504. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXModelsManagerInterface.java +0 -17
  505. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXViewportManagerDelegate.java +0 -35
  506. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXViewportManagerInterface.java +0 -18
  507. package/android/src/main/old-arch/com/rnmapbox/rnmbx/NativeRNMBXMovePointShapeAnimatorModuleSpec.java +0 -44
  508. package/android/src/main/old-arch/com/rnmapbox/rnmbx/NativeRNMBXViewportModuleSpec.java +0 -49
  509. package/ios/RNMBX/ImageManager.swift +0 -41
  510. package/ios/RNMBX/RNMBXCustomLocationProvider.swift +0 -274
  511. package/ios/RNMBX/RNMBXCustomLocationProviderComponentView.h +0 -15
  512. package/ios/RNMBX/RNMBXCustomLocationProviderComponentView.mm +0 -67
  513. package/ios/RNMBX/RNMBXCustomLocationProviderVIewManager.swift +0 -13
  514. package/ios/RNMBX/RNMBXCustomLocationProviderViewManager.m +0 -10
  515. package/ios/RNMBX/RNMBXFabricPropConvert.h +0 -47
  516. package/ios/RNMBX/RNMBXFabricPropConvert.mm +0 -136
  517. package/ios/RNMBX/RNMBXMarkerViewContentComponentView.h +0 -15
  518. package/ios/RNMBX/RNMBXMarkerViewContentComponentView.mm +0 -55
  519. package/ios/RNMBX/RNMBXMarkerViewContentManager.m +0 -6
  520. package/ios/RNMBX/RNMBXMarkerViewContentManager.swift +0 -14
  521. package/ios/RNMBX/RNMBXModelLayer.swift +0 -59
  522. package/ios/RNMBX/RNMBXModelLayerComponentView.h +0 -15
  523. package/ios/RNMBX/RNMBXModelLayerComponentView.mm +0 -70
  524. package/ios/RNMBX/RNMBXModelLayerViewManager.m +0 -12
  525. package/ios/RNMBX/RNMBXModelLayerViewManager.swift +0 -13
  526. package/ios/RNMBX/RNMBXModels.swift +0 -63
  527. package/ios/RNMBX/RNMBXModelsComponentView.h +0 -17
  528. package/ios/RNMBX/RNMBXModelsComponentView.mm +0 -67
  529. package/ios/RNMBX/RNMBXModelsManager.mm +0 -9
  530. package/ios/RNMBX/RNMBXModelsManager.swift +0 -13
  531. package/ios/RNMBX/RNMBXOfflineModuleLegacy.m +0 -33
  532. package/ios/RNMBX/RNMBXOfflineModuleLegacy.swift +0 -431
  533. package/ios/RNMBX/RNMBXViewport.swift +0 -349
  534. package/ios/RNMBX/RNMBXViewportComponentView.h +0 -17
  535. package/ios/RNMBX/RNMBXViewportComponentView.mm +0 -119
  536. package/ios/RNMBX/RNMBXViewportManager.m +0 -12
  537. package/ios/RNMBX/RNMBXViewportManager.swift +0 -38
  538. package/ios/RNMBX/RNMBXViewportModule.h +0 -18
  539. package/ios/RNMBX/RNMBXViewportModule.mm +0 -87
  540. package/ios/RNMBX/ShapeAnimators/RNMBXMovePointShapeAnimatorModule.m +0 -61
  541. package/ios/RNMBX/ShapeAnimators/RNMBXMovePointShapeAnimatorModule.swift +0 -47
  542. package/ios/RNMBX/ShapeAnimators/ShapeAnimatorCommon.swift +0 -76
  543. package/ios/RNMBX/ShapeAnimators/ShapeAnimatorManager.swift +0 -45
  544. package/ios/RNMBX/Uitls/PropertyChanges.swift +0 -57
  545. package/lib/commonjs/components/CustomLocationProvider.js.map +0 -1
  546. package/lib/commonjs/components/LocationPuck.js +0 -66
  547. package/lib/commonjs/components/LocationPuck.js.map +0 -1
  548. package/lib/commonjs/components/ModelLayer.js +0 -37
  549. package/lib/commonjs/components/ModelLayer.js.map +0 -1
  550. package/lib/commonjs/components/Models.js +0 -43
  551. package/lib/commonjs/components/Models.js.map +0 -1
  552. package/lib/commonjs/components/Viewport.js +0 -105
  553. package/lib/commonjs/components/Viewport.js.map +0 -1
  554. package/lib/commonjs/components/codeparts/LayerPropsCommon.codepart-tsx +0 -62
  555. package/lib/commonjs/modules/offline/OfflinePackLegacy.js +0 -40
  556. package/lib/commonjs/modules/offline/OfflinePackLegacy.js.map +0 -1
  557. package/lib/commonjs/modules/offline/offlineManagerLegacy.js +0 -166
  558. package/lib/commonjs/modules/offline/offlineManagerLegacy.js.map +0 -1
  559. package/lib/commonjs/shape_animators/MovePointShapeAnimator.js +0 -21
  560. package/lib/commonjs/shape_animators/MovePointShapeAnimator.js.map +0 -1
  561. package/lib/commonjs/shape_animators/ShapeAnimatorManager.js +0 -15
  562. package/lib/commonjs/shape_animators/ShapeAnimatorManager.js.map +0 -1
  563. package/lib/commonjs/specs/NativeRNMBXMovePointShapeAnimatorModule.js +0 -10
  564. package/lib/commonjs/specs/NativeRNMBXMovePointShapeAnimatorModule.js.map +0 -1
  565. package/lib/commonjs/specs/NativeRNMBXViewportModule.js +0 -10
  566. package/lib/commonjs/specs/NativeRNMBXViewportModule.js.map +0 -1
  567. package/lib/commonjs/specs/RNMBXCustomLocationProviderNativeComponent.js +0 -11
  568. package/lib/commonjs/specs/RNMBXCustomLocationProviderNativeComponent.js.map +0 -1
  569. package/lib/commonjs/specs/RNMBXMarkerViewContentNativeComponent.js +0 -11
  570. package/lib/commonjs/specs/RNMBXMarkerViewContentNativeComponent.js.map +0 -1
  571. package/lib/commonjs/specs/RNMBXModelLayerNativeComponent.js +0 -13
  572. package/lib/commonjs/specs/RNMBXModelLayerNativeComponent.js.map +0 -1
  573. package/lib/commonjs/specs/RNMBXModelsNativeComponent.js +0 -10
  574. package/lib/commonjs/specs/RNMBXModelsNativeComponent.js.map +0 -1
  575. package/lib/commonjs/specs/RNMBXViewportNativeComponent.js +0 -36
  576. package/lib/commonjs/specs/RNMBXViewportNativeComponent.js.map +0 -1
  577. package/lib/commonjs/specs/codeparts/CommonLayerNativeComponentsProps.codepart-ts +0 -18
  578. package/lib/module/components/CustomLocationProvider.js +0 -7
  579. package/lib/module/components/CustomLocationProvider.js.map +0 -1
  580. package/lib/module/components/LocationPuck.js +0 -57
  581. package/lib/module/components/LocationPuck.js.map +0 -1
  582. package/lib/module/components/ModelLayer.js +0 -30
  583. package/lib/module/components/ModelLayer.js.map +0 -1
  584. package/lib/module/components/Models.js +0 -36
  585. package/lib/module/components/Models.js.map +0 -1
  586. package/lib/module/components/Viewport.js +0 -96
  587. package/lib/module/components/Viewport.js.map +0 -1
  588. package/lib/module/components/codeparts/LayerPropsCommon.codepart-tsx +0 -62
  589. package/lib/module/modules/offline/OfflinePackLegacy.js +0 -34
  590. package/lib/module/modules/offline/OfflinePackLegacy.js.map +0 -1
  591. package/lib/module/modules/offline/offlineManagerLegacy.js +0 -154
  592. package/lib/module/modules/offline/offlineManagerLegacy.js.map +0 -1
  593. package/lib/module/shape_animators/MovePointShapeAnimator.js +0 -13
  594. package/lib/module/shape_animators/MovePointShapeAnimator.js.map +0 -1
  595. package/lib/module/shape_animators/ShapeAnimatorManager.js +0 -8
  596. package/lib/module/shape_animators/ShapeAnimatorManager.js.map +0 -1
  597. package/lib/module/specs/NativeRNMBXMovePointShapeAnimatorModule.js +0 -6
  598. package/lib/module/specs/NativeRNMBXMovePointShapeAnimatorModule.js.map +0 -1
  599. package/lib/module/specs/NativeRNMBXViewportModule.js +0 -6
  600. package/lib/module/specs/NativeRNMBXViewportModule.js.map +0 -1
  601. package/lib/module/specs/RNMBXCustomLocationProviderNativeComponent.js +0 -6
  602. package/lib/module/specs/RNMBXCustomLocationProviderNativeComponent.js.map +0 -1
  603. package/lib/module/specs/RNMBXMarkerViewContentNativeComponent.js +0 -6
  604. package/lib/module/specs/RNMBXMarkerViewContentNativeComponent.js.map +0 -1
  605. package/lib/module/specs/RNMBXModelLayerNativeComponent.js +0 -9
  606. package/lib/module/specs/RNMBXModelLayerNativeComponent.js.map +0 -1
  607. package/lib/module/specs/RNMBXModelsNativeComponent.js +0 -3
  608. package/lib/module/specs/RNMBXModelsNativeComponent.js.map +0 -1
  609. package/lib/module/specs/RNMBXViewportNativeComponent.js +0 -33
  610. package/lib/module/specs/RNMBXViewportNativeComponent.js.map +0 -1
  611. package/lib/module/specs/codeparts/CommonLayerNativeComponentsProps.codepart-ts +0 -18
  612. package/lib/typescript/src/components/CustomLocationProvider.d.ts +0 -15
  613. package/lib/typescript/src/components/CustomLocationProvider.d.ts.map +0 -1
  614. package/lib/typescript/src/components/LocationPuck.d.ts +0 -85
  615. package/lib/typescript/src/components/LocationPuck.d.ts.map +0 -1
  616. package/lib/typescript/src/components/ModelLayer.d.ts +0 -77
  617. package/lib/typescript/src/components/ModelLayer.d.ts.map +0 -1
  618. package/lib/typescript/src/components/Models.d.ts +0 -15
  619. package/lib/typescript/src/components/Models.d.ts.map +0 -1
  620. package/lib/typescript/src/components/Viewport.d.ts +0 -136
  621. package/lib/typescript/src/components/Viewport.d.ts.map +0 -1
  622. package/lib/typescript/src/modules/offline/OfflinePackLegacy.d.ts +0 -24
  623. package/lib/typescript/src/modules/offline/OfflinePackLegacy.d.ts.map +0 -1
  624. package/lib/typescript/src/modules/offline/offlineManagerLegacy.d.ts +0 -93
  625. package/lib/typescript/src/modules/offline/offlineManagerLegacy.d.ts.map +0 -1
  626. package/lib/typescript/src/shape_animators/MovePointShapeAnimator.d.ts +0 -7
  627. package/lib/typescript/src/shape_animators/MovePointShapeAnimator.d.ts.map +0 -1
  628. package/lib/typescript/src/shape_animators/ShapeAnimatorManager.d.ts +0 -5
  629. package/lib/typescript/src/shape_animators/ShapeAnimatorManager.d.ts.map +0 -1
  630. package/lib/typescript/src/specs/NativeRNMBXMovePointShapeAnimatorModule.d.ts +0 -10
  631. package/lib/typescript/src/specs/NativeRNMBXMovePointShapeAnimatorModule.d.ts.map +0 -1
  632. package/lib/typescript/src/specs/NativeRNMBXViewportModule.d.ts +0 -35
  633. package/lib/typescript/src/specs/NativeRNMBXViewportModule.d.ts.map +0 -1
  634. package/lib/typescript/src/specs/RNMBXCustomLocationProviderNativeComponent.d.ts +0 -12
  635. package/lib/typescript/src/specs/RNMBXCustomLocationProviderNativeComponent.d.ts.map +0 -1
  636. package/lib/typescript/src/specs/RNMBXMarkerViewContentNativeComponent.d.ts +0 -6
  637. package/lib/typescript/src/specs/RNMBXMarkerViewContentNativeComponent.d.ts.map +0 -1
  638. package/lib/typescript/src/specs/RNMBXModelLayerNativeComponent.d.ts +0 -28
  639. package/lib/typescript/src/specs/RNMBXModelLayerNativeComponent.d.ts.map +0 -1
  640. package/lib/typescript/src/specs/RNMBXModelsNativeComponent.d.ts +0 -15
  641. package/lib/typescript/src/specs/RNMBXModelsNativeComponent.d.ts.map +0 -1
  642. package/lib/typescript/src/specs/RNMBXViewportNativeComponent.d.ts +0 -59
  643. package/lib/typescript/src/specs/RNMBXViewportNativeComponent.d.ts.map +0 -1
  644. package/src/components/CustomLocationProvider.tsx +0 -22
  645. package/src/components/LocationPuck.tsx +0 -143
  646. package/src/components/ModelLayer.tsx +0 -107
  647. package/src/components/Models.tsx +0 -44
  648. package/src/components/Viewport.tsx +0 -330
  649. package/src/components/codeparts/LayerPropsCommon.codepart-tsx +0 -62
  650. package/src/modules/offline/OfflinePackLegacy.ts +0 -55
  651. package/src/modules/offline/offlineManagerLegacy.ts +0 -181
  652. package/src/shape_animators/MovePointShapeAnimator.ts +0 -18
  653. package/src/shape_animators/ShapeAnimatorManager.tsx +0 -8
  654. package/src/specs/NativeRNMBXMovePointShapeAnimatorModule.ts +0 -16
  655. package/src/specs/NativeRNMBXViewportModule.ts +0 -41
  656. package/src/specs/RNMBXCustomLocationProviderNativeComponent.ts +0 -19
  657. package/src/specs/RNMBXMarkerViewContentNativeComponent.ts +0 -9
  658. package/src/specs/RNMBXModelLayerNativeComponent.ts +0 -38
  659. package/src/specs/RNMBXModelsNativeComponent.ts +0 -18
  660. package/src/specs/RNMBXViewportNativeComponent.ts +0 -117
  661. package/src/specs/codeparts/CommonLayerNativeComponentsProps.codepart-ts +0 -18
@@ -409,13 +409,6 @@ enum HillshadeIlluminationAnchorEnum {
409
409
  Viewport = 'viewport',
410
410
  }
411
411
  type HillshadeIlluminationAnchorEnumValues = 'map' | 'viewport';
412
- enum ModelTypeEnum {
413
- /** Integrated to 3D scene, using depth testing, along with terrain, fill-extrusions and custom layer. */
414
- Common3d = 'common-3d',
415
- /** Displayed over other 3D content, occluded by terrain. */
416
- LocationIndicator = 'location-indicator',
417
- }
418
- type ModelTypeEnumValues = 'common-3d' | 'location-indicator';
419
412
  enum SkyTypeEnum {
420
413
  /** Renders the sky with a gradient that can be configured with `sky-gradient-radius` and `sky-gradient`. */
421
414
  Gradient = 'gradient',
@@ -441,7 +434,7 @@ export interface FillLayerStyleProps {
441
434
  /**
442
435
  * Whether this layer is displayed.
443
436
  */
444
- visibility?: Value<Enum<VisibilityEnum, VisibilityEnumValues>>;
437
+ visibility?: Enum<VisibilityEnum, VisibilityEnumValues>;
445
438
  /**
446
439
  * Whether or not the fill should be antialiased.
447
440
  */
@@ -449,10 +442,7 @@ export interface FillLayerStyleProps {
449
442
  /**
450
443
  * 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.
451
444
  */
452
- fillOpacity?: Value<
453
- number,
454
- ['zoom', 'feature', 'feature-state', 'measure-light']
455
- >;
445
+ fillOpacity?: Value<number, ['zoom', 'feature', 'feature-state']>;
456
446
 
457
447
  /**
458
448
  * The transition affecting any changes to this layer’s fillOpacity property.
@@ -463,10 +453,7 @@ export interface FillLayerStyleProps {
463
453
  *
464
454
  * @disabledBy fillPattern
465
455
  */
466
- fillColor?: Value<
467
- string,
468
- ['zoom', 'feature', 'feature-state', 'measure-light']
469
- >;
456
+ fillColor?: Value<string, ['zoom', 'feature', 'feature-state']>;
470
457
 
471
458
  /**
472
459
  * The transition affecting any changes to this layer’s fillColor property.
@@ -477,10 +464,7 @@ export interface FillLayerStyleProps {
477
464
  *
478
465
  * @disabledBy fillPattern
479
466
  */
480
- fillOutlineColor?: Value<
481
- string,
482
- ['zoom', 'feature', 'feature-state', 'measure-light']
483
- >;
467
+ fillOutlineColor?: Value<string, ['zoom', 'feature', 'feature-state']>;
484
468
 
485
469
  /**
486
470
  * The transition affecting any changes to this layer’s fillOutlineColor property.
@@ -508,17 +492,6 @@ export interface FillLayerStyleProps {
508
492
  * 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.
509
493
  */
510
494
  fillPattern?: Value<ResolvedImageType, ['zoom', 'feature']>;
511
- /**
512
- * Controls the intensity of light emitted on the source features.
513
- *
514
- * @requires lights
515
- */
516
- fillEmissiveStrength?: Value<number, ['zoom', 'measure-light']>;
517
-
518
- /**
519
- * The transition affecting any changes to this layer’s fillEmissiveStrength property.
520
- */
521
- fillEmissiveStrengthTransition?: Transition;
522
495
  }
523
496
  export interface LineLayerStyleProps {
524
497
  /**
@@ -544,14 +517,11 @@ export interface LineLayerStyleProps {
544
517
  /**
545
518
  * Whether this layer is displayed.
546
519
  */
547
- visibility?: Value<Enum<VisibilityEnum, VisibilityEnumValues>>;
520
+ visibility?: Enum<VisibilityEnum, VisibilityEnumValues>;
548
521
  /**
549
522
  * The opacity at which the line will be drawn.
550
523
  */
551
- lineOpacity?: Value<
552
- number,
553
- ['zoom', 'feature', 'feature-state', 'measure-light']
554
- >;
524
+ lineOpacity?: Value<number, ['zoom', 'feature', 'feature-state']>;
555
525
 
556
526
  /**
557
527
  * The transition affecting any changes to this layer’s lineOpacity property.
@@ -562,10 +532,7 @@ export interface LineLayerStyleProps {
562
532
  *
563
533
  * @disabledBy linePattern
564
534
  */
565
- lineColor?: Value<
566
- string,
567
- ['zoom', 'feature', 'feature-state', 'measure-light']
568
- >;
535
+ lineColor?: Value<string, ['zoom', 'feature', 'feature-state']>;
569
536
 
570
537
  /**
571
538
  * The transition affecting any changes to this layer’s lineColor property.
@@ -592,10 +559,7 @@ export interface LineLayerStyleProps {
592
559
  /**
593
560
  * Stroke thickness.
594
561
  */
595
- lineWidth?: Value<
596
- number,
597
- ['zoom', 'feature', 'feature-state', 'measure-light']
598
- >;
562
+ lineWidth?: Value<number, ['zoom', 'feature', 'feature-state']>;
599
563
 
600
564
  /**
601
565
  * The transition affecting any changes to this layer’s lineWidth property.
@@ -604,10 +568,7 @@ export interface LineLayerStyleProps {
604
568
  /**
605
569
  * Draws a line casing outside of a line's actual path. Value indicates the width of the inner gap.
606
570
  */
607
- lineGapWidth?: Value<
608
- number,
609
- ['zoom', 'feature', 'feature-state', 'measure-light']
610
- >;
571
+ lineGapWidth?: Value<number, ['zoom', 'feature', 'feature-state']>;
611
572
 
612
573
  /**
613
574
  * The transition affecting any changes to this layer’s lineGapWidth property.
@@ -616,10 +577,7 @@ export interface LineLayerStyleProps {
616
577
  /**
617
578
  * 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.
618
579
  */
619
- lineOffset?: Value<
620
- number,
621
- ['zoom', 'feature', 'feature-state', 'measure-light']
622
- >;
580
+ lineOffset?: Value<number, ['zoom', 'feature', 'feature-state']>;
623
581
 
624
582
  /**
625
583
  * The transition affecting any changes to this layer’s lineOffset property.
@@ -628,10 +586,7 @@ export interface LineLayerStyleProps {
628
586
  /**
629
587
  * Blur applied to the line, in pixels.
630
588
  */
631
- lineBlur?: Value<
632
- number,
633
- ['zoom', 'feature', 'feature-state', 'measure-light']
634
- >;
589
+ lineBlur?: Value<number, ['zoom', 'feature', 'feature-state']>;
635
590
 
636
591
  /**
637
592
  * The transition affecting any changes to this layer’s lineBlur property.
@@ -648,7 +603,7 @@ export interface LineLayerStyleProps {
648
603
  */
649
604
  linePattern?: Value<ResolvedImageType, ['zoom', 'feature']>;
650
605
  /**
651
- * A gradient used to color a line feature at various distances along its length. Defined using a `step` or `interpolate` expression which outputs a color for each corresponding `lineProgress` input value. `lineProgress` is a percentage of the line feature's total length as measured on the webmercator projected coordinate plane (a `number` between `0` and `1`). Can only be used with GeoJSON sources that specify `"lineMetrics": true`.
606
+ * Defines a gradient with which to color a line feature. Can only be used with GeoJSON sources that specify `"lineMetrics": true`.
652
607
  *
653
608
  * @disabledBy linePattern
654
609
  */
@@ -657,17 +612,6 @@ export interface LineLayerStyleProps {
657
612
  * The line part between [trimStart, trimEnd] will be marked as transparent to make a route vanishing effect. The line trimOff offset is based on the whole line range [0.0, 1.0].
658
613
  */
659
614
  lineTrimOffset?: number[];
660
- /**
661
- * Controls the intensity of light emitted on the source features.
662
- *
663
- * @requires lights
664
- */
665
- lineEmissiveStrength?: Value<number, ['zoom', 'measure-light']>;
666
-
667
- /**
668
- * The transition affecting any changes to this layer’s lineEmissiveStrength property.
669
- */
670
- lineEmissiveStrengthTransition?: Transition;
671
615
  }
672
616
  export interface SymbolLayerStyleProps {
673
617
  /**
@@ -686,7 +630,7 @@ export interface SymbolLayerStyleProps {
686
630
  */
687
631
  symbolAvoidEdges?: Value<boolean, ['zoom']>;
688
632
  /**
689
- * 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.
633
+ * 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.
690
634
  */
691
635
  symbolSortKey?: Value<number, ['zoom', 'feature']>;
692
636
  /**
@@ -734,16 +678,13 @@ export interface SymbolLayerStyleProps {
734
678
  *
735
679
  * @requires iconImage, textField
736
680
  */
737
- iconTextFit?: Value<
738
- Enum<IconTextFitEnum, IconTextFitEnumValues>,
739
- ['zoom', 'feature']
740
- >;
681
+ iconTextFit?: Value<Enum<IconTextFitEnum, IconTextFitEnumValues>, ['zoom']>;
741
682
  /**
742
683
  * Size of the additional area added to dimensions determined by `iconTextFit`, in clockwise order: top, right, bottom, left.
743
684
  *
744
685
  * @requires iconImage, textField
745
686
  */
746
- iconTextFitPadding?: Value<number[], ['zoom', 'feature']>;
687
+ iconTextFitPadding?: Value<number[], ['zoom']>;
747
688
  /**
748
689
  * Name of image in sprite to use for drawing an image background.
749
690
  */
@@ -948,16 +889,13 @@ export interface SymbolLayerStyleProps {
948
889
  /**
949
890
  * Whether this layer is displayed.
950
891
  */
951
- visibility?: Value<Enum<VisibilityEnum, VisibilityEnumValues>>;
892
+ visibility?: Enum<VisibilityEnum, VisibilityEnumValues>;
952
893
  /**
953
894
  * The opacity at which the icon will be drawn.
954
895
  *
955
896
  * @requires iconImage
956
897
  */
957
- iconOpacity?: Value<
958
- number,
959
- ['zoom', 'feature', 'feature-state', 'measure-light']
960
- >;
898
+ iconOpacity?: Value<number, ['zoom', 'feature', 'feature-state']>;
961
899
 
962
900
  /**
963
901
  * The transition affecting any changes to this layer’s iconOpacity property.
@@ -968,10 +906,7 @@ export interface SymbolLayerStyleProps {
968
906
  *
969
907
  * @requires iconImage
970
908
  */
971
- iconColor?: Value<
972
- string,
973
- ['zoom', 'feature', 'feature-state', 'measure-light']
974
- >;
909
+ iconColor?: Value<string, ['zoom', 'feature', 'feature-state']>;
975
910
 
976
911
  /**
977
912
  * The transition affecting any changes to this layer’s iconColor property.
@@ -982,10 +917,7 @@ export interface SymbolLayerStyleProps {
982
917
  *
983
918
  * @requires iconImage
984
919
  */
985
- iconHaloColor?: Value<
986
- string,
987
- ['zoom', 'feature', 'feature-state', 'measure-light']
988
- >;
920
+ iconHaloColor?: Value<string, ['zoom', 'feature', 'feature-state']>;
989
921
 
990
922
  /**
991
923
  * The transition affecting any changes to this layer’s iconHaloColor property.
@@ -996,10 +928,7 @@ export interface SymbolLayerStyleProps {
996
928
  *
997
929
  * @requires iconImage
998
930
  */
999
- iconHaloWidth?: Value<
1000
- number,
1001
- ['zoom', 'feature', 'feature-state', 'measure-light']
1002
- >;
931
+ iconHaloWidth?: Value<number, ['zoom', 'feature', 'feature-state']>;
1003
932
 
1004
933
  /**
1005
934
  * The transition affecting any changes to this layer’s iconHaloWidth property.
@@ -1010,10 +939,7 @@ export interface SymbolLayerStyleProps {
1010
939
  *
1011
940
  * @requires iconImage
1012
941
  */
1013
- iconHaloBlur?: Value<
1014
- number,
1015
- ['zoom', 'feature', 'feature-state', 'measure-light']
1016
- >;
942
+ iconHaloBlur?: Value<number, ['zoom', 'feature', 'feature-state']>;
1017
943
 
1018
944
  /**
1019
945
  * The transition affecting any changes to this layer’s iconHaloBlur property.
@@ -1044,10 +970,7 @@ export interface SymbolLayerStyleProps {
1044
970
  *
1045
971
  * @requires textField
1046
972
  */
1047
- textOpacity?: Value<
1048
- number,
1049
- ['zoom', 'feature', 'feature-state', 'measure-light']
1050
- >;
973
+ textOpacity?: Value<number, ['zoom', 'feature', 'feature-state']>;
1051
974
 
1052
975
  /**
1053
976
  * The transition affecting any changes to this layer’s textOpacity property.
@@ -1058,10 +981,7 @@ export interface SymbolLayerStyleProps {
1058
981
  *
1059
982
  * @requires textField
1060
983
  */
1061
- textColor?: Value<
1062
- string,
1063
- ['zoom', 'feature', 'feature-state', 'measure-light']
1064
- >;
984
+ textColor?: Value<string, ['zoom', 'feature', 'feature-state']>;
1065
985
 
1066
986
  /**
1067
987
  * The transition affecting any changes to this layer’s textColor property.
@@ -1072,10 +992,7 @@ export interface SymbolLayerStyleProps {
1072
992
  *
1073
993
  * @requires textField
1074
994
  */
1075
- textHaloColor?: Value<
1076
- string,
1077
- ['zoom', 'feature', 'feature-state', 'measure-light']
1078
- >;
995
+ textHaloColor?: Value<string, ['zoom', 'feature', 'feature-state']>;
1079
996
 
1080
997
  /**
1081
998
  * The transition affecting any changes to this layer’s textHaloColor property.
@@ -1086,10 +1003,7 @@ export interface SymbolLayerStyleProps {
1086
1003
  *
1087
1004
  * @requires textField
1088
1005
  */
1089
- textHaloWidth?: Value<
1090
- number,
1091
- ['zoom', 'feature', 'feature-state', 'measure-light']
1092
- >;
1006
+ textHaloWidth?: Value<number, ['zoom', 'feature', 'feature-state']>;
1093
1007
 
1094
1008
  /**
1095
1009
  * The transition affecting any changes to this layer’s textHaloWidth property.
@@ -1100,10 +1014,7 @@ export interface SymbolLayerStyleProps {
1100
1014
  *
1101
1015
  * @requires textField
1102
1016
  */
1103
- textHaloBlur?: Value<
1104
- number,
1105
- ['zoom', 'feature', 'feature-state', 'measure-light']
1106
- >;
1017
+ textHaloBlur?: Value<number, ['zoom', 'feature', 'feature-state']>;
1107
1018
 
1108
1019
  /**
1109
1020
  * The transition affecting any changes to this layer’s textHaloBlur property.
@@ -1129,44 +1040,6 @@ export interface SymbolLayerStyleProps {
1129
1040
  Enum<TextTranslateAnchorEnum, TextTranslateAnchorEnumValues>,
1130
1041
  ['zoom']
1131
1042
  >;
1132
- /**
1133
- * Position symbol on buildings (both fill extrusions and models) roof tops. In order to have minimal impact on performance, this is supported only when `fillExtrusionHeight` is not zoomDependent and not edited after initial bucket creation. For fading in buildings when zooming in, fillExtrusionVerticalScale should be used and symbols would raise with building roofs. Symbols are sorted by elevation, except in case when `viewportY` sorting or `symbolSortKey` are applied.
1134
- */
1135
- symbolZElevate?: Value<boolean, ['zoom']>;
1136
- /**
1137
- * Controls the intensity of light emitted on the source features.
1138
- *
1139
- * @requires lights
1140
- */
1141
- iconEmissiveStrength?: Value<number, ['zoom', 'measure-light']>;
1142
-
1143
- /**
1144
- * The transition affecting any changes to this layer’s iconEmissiveStrength property.
1145
- */
1146
- iconEmissiveStrengthTransition?: Transition;
1147
- /**
1148
- * Controls the intensity of light emitted on the source features.
1149
- *
1150
- * @requires lights
1151
- */
1152
- textEmissiveStrength?: Value<number, ['zoom', 'measure-light']>;
1153
-
1154
- /**
1155
- * The transition affecting any changes to this layer’s textEmissiveStrength property.
1156
- */
1157
- textEmissiveStrengthTransition?: Transition;
1158
- /**
1159
- * Controls the transition progress between the image variants of iconImage. Zero means the first variant is used, one is the second, and in between they are blended together.
1160
- */
1161
- iconImageCrossFade?: Value<
1162
- number,
1163
- ['zoom', 'feature', 'feature-state', 'measure-light']
1164
- >;
1165
-
1166
- /**
1167
- * The transition affecting any changes to this layer’s iconImageCrossFade property.
1168
- */
1169
- iconImageCrossFadeTransition?: Transition;
1170
1043
  }
1171
1044
  export interface CircleLayerStyleProps {
1172
1045
  /**
@@ -1176,14 +1049,11 @@ export interface CircleLayerStyleProps {
1176
1049
  /**
1177
1050
  * Whether this layer is displayed.
1178
1051
  */
1179
- visibility?: Value<Enum<VisibilityEnum, VisibilityEnumValues>>;
1052
+ visibility?: Enum<VisibilityEnum, VisibilityEnumValues>;
1180
1053
  /**
1181
1054
  * Circle radius.
1182
1055
  */
1183
- circleRadius?: Value<
1184
- number,
1185
- ['zoom', 'feature', 'feature-state', 'measure-light']
1186
- >;
1056
+ circleRadius?: Value<number, ['zoom', 'feature', 'feature-state']>;
1187
1057
 
1188
1058
  /**
1189
1059
  * The transition affecting any changes to this layer’s circleRadius property.
@@ -1192,10 +1062,7 @@ export interface CircleLayerStyleProps {
1192
1062
  /**
1193
1063
  * The fill color of the circle.
1194
1064
  */
1195
- circleColor?: Value<
1196
- string,
1197
- ['zoom', 'feature', 'feature-state', 'measure-light']
1198
- >;
1065
+ circleColor?: Value<string, ['zoom', 'feature', 'feature-state']>;
1199
1066
 
1200
1067
  /**
1201
1068
  * The transition affecting any changes to this layer’s circleColor property.
@@ -1204,10 +1071,7 @@ export interface CircleLayerStyleProps {
1204
1071
  /**
1205
1072
  * Amount to blur the circle. 1 blurs the circle such that only the centerpoint is full opacity.
1206
1073
  */
1207
- circleBlur?: Value<
1208
- number,
1209
- ['zoom', 'feature', 'feature-state', 'measure-light']
1210
- >;
1074
+ circleBlur?: Value<number, ['zoom', 'feature', 'feature-state']>;
1211
1075
 
1212
1076
  /**
1213
1077
  * The transition affecting any changes to this layer’s circleBlur property.
@@ -1216,10 +1080,7 @@ export interface CircleLayerStyleProps {
1216
1080
  /**
1217
1081
  * The opacity at which the circle will be drawn.
1218
1082
  */
1219
- circleOpacity?: Value<
1220
- number,
1221
- ['zoom', 'feature', 'feature-state', 'measure-light']
1222
- >;
1083
+ circleOpacity?: Value<number, ['zoom', 'feature', 'feature-state']>;
1223
1084
 
1224
1085
  /**
1225
1086
  * The transition affecting any changes to this layer’s circleOpacity property.
@@ -1260,10 +1121,7 @@ export interface CircleLayerStyleProps {
1260
1121
  /**
1261
1122
  * The width of the circle's stroke. Strokes are placed outside of the `circleRadius`.
1262
1123
  */
1263
- circleStrokeWidth?: Value<
1264
- number,
1265
- ['zoom', 'feature', 'feature-state', 'measure-light']
1266
- >;
1124
+ circleStrokeWidth?: Value<number, ['zoom', 'feature', 'feature-state']>;
1267
1125
 
1268
1126
  /**
1269
1127
  * The transition affecting any changes to this layer’s circleStrokeWidth property.
@@ -1272,10 +1130,7 @@ export interface CircleLayerStyleProps {
1272
1130
  /**
1273
1131
  * The stroke color of the circle.
1274
1132
  */
1275
- circleStrokeColor?: Value<
1276
- string,
1277
- ['zoom', 'feature', 'feature-state', 'measure-light']
1278
- >;
1133
+ circleStrokeColor?: Value<string, ['zoom', 'feature', 'feature-state']>;
1279
1134
 
1280
1135
  /**
1281
1136
  * The transition affecting any changes to this layer’s circleStrokeColor property.
@@ -1284,39 +1139,22 @@ export interface CircleLayerStyleProps {
1284
1139
  /**
1285
1140
  * The opacity of the circle's stroke.
1286
1141
  */
1287
- circleStrokeOpacity?: Value<
1288
- number,
1289
- ['zoom', 'feature', 'feature-state', 'measure-light']
1290
- >;
1142
+ circleStrokeOpacity?: Value<number, ['zoom', 'feature', 'feature-state']>;
1291
1143
 
1292
1144
  /**
1293
1145
  * The transition affecting any changes to this layer’s circleStrokeOpacity property.
1294
1146
  */
1295
1147
  circleStrokeOpacityTransition?: Transition;
1296
- /**
1297
- * Controls the intensity of light emitted on the source features.
1298
- *
1299
- * @requires lights
1300
- */
1301
- circleEmissiveStrength?: Value<number, ['zoom', 'measure-light']>;
1302
-
1303
- /**
1304
- * The transition affecting any changes to this layer’s circleEmissiveStrength property.
1305
- */
1306
- circleEmissiveStrengthTransition?: Transition;
1307
1148
  }
1308
1149
  export interface HeatmapLayerStyleProps {
1309
1150
  /**
1310
1151
  * Whether this layer is displayed.
1311
1152
  */
1312
- visibility?: Value<Enum<VisibilityEnum, VisibilityEnumValues>>;
1153
+ visibility?: Enum<VisibilityEnum, VisibilityEnumValues>;
1313
1154
  /**
1314
1155
  * Radius of influence of one heatmap point in pixels. Increasing the value makes the heatmap smoother, but less detailed. `queryRenderedFeatures` on heatmap layers will return points within this radius.
1315
1156
  */
1316
- heatmapRadius?: Value<
1317
- number,
1318
- ['zoom', 'feature', 'feature-state', 'measure-light']
1319
- >;
1157
+ heatmapRadius?: Value<number, ['zoom', 'feature', 'feature-state']>;
1320
1158
 
1321
1159
  /**
1322
1160
  * The transition affecting any changes to this layer’s heatmapRadius property.
@@ -1325,10 +1163,7 @@ export interface HeatmapLayerStyleProps {
1325
1163
  /**
1326
1164
  * 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.
1327
1165
  */
1328
- heatmapWeight?: Value<
1329
- number,
1330
- ['zoom', 'feature', 'feature-state', 'measure-light']
1331
- >;
1166
+ heatmapWeight?: Value<number, ['zoom', 'feature', 'feature-state']>;
1332
1167
  /**
1333
1168
  * Similar to `heatmapWeight` but controls the intensity of the heatmap globally. Primarily used for adjusting the heatmap based on zoom level.
1334
1169
  */
@@ -1339,7 +1174,7 @@ export interface HeatmapLayerStyleProps {
1339
1174
  */
1340
1175
  heatmapIntensityTransition?: Transition;
1341
1176
  /**
1342
- * Defines the color of each pixel based on its density value in a heatmap. Should be an expression that uses `["heatmapDensity"]` as input.
1177
+ * Defines the color of each pixel based on its density value in a heatmap. Should be an expression that uses `["heatmapDensity"]` as input.
1343
1178
  */
1344
1179
  heatmapColor?: Value<string, ['heatmap-density']>;
1345
1180
  /**
@@ -1356,7 +1191,7 @@ export interface FillExtrusionLayerStyleProps {
1356
1191
  /**
1357
1192
  * Whether this layer is displayed.
1358
1193
  */
1359
- visibility?: Value<Enum<VisibilityEnum, VisibilityEnumValues>>;
1194
+ visibility?: Enum<VisibilityEnum, VisibilityEnumValues>;
1360
1195
  /**
1361
1196
  * The opacity of the entire fill extrusion layer. This is rendered on a perLayer, not perFeature, basis, and dataDriven styling is not available.
1362
1197
  */
@@ -1371,10 +1206,7 @@ export interface FillExtrusionLayerStyleProps {
1371
1206
  *
1372
1207
  * @disabledBy fillExtrusionPattern
1373
1208
  */
1374
- fillExtrusionColor?: Value<
1375
- string,
1376
- ['zoom', 'feature', 'feature-state', 'measure-light']
1377
- >;
1209
+ fillExtrusionColor?: Value<string, ['zoom', 'feature', 'feature-state']>;
1378
1210
 
1379
1211
  /**
1380
1212
  * The transition affecting any changes to this layer’s fillExtrusionColor property.
@@ -1429,141 +1261,12 @@ export interface FillExtrusionLayerStyleProps {
1429
1261
  * Whether to apply a vertical gradient to the sides of a fillExtrusion layer. If true, sides will be shaded slightly darker farther down.
1430
1262
  */
1431
1263
  fillExtrusionVerticalGradient?: Value<boolean, ['zoom']>;
1432
- /**
1433
- * Indicates whether top edges should be rounded when fillExtrusionEdgeRadius has a value greater than 0. If false, rounded edges are only applied to the sides. Default is true.
1434
- *
1435
- * @requires fillExtrusionEdgeRadius
1436
- */
1437
- fillExtrusionRoundedRoof?: Value<boolean, ['zoom']>;
1438
- /**
1439
- * Shades area near ground and concave angles between walls where the radius defines only vertical impact. Default value 3.0 corresponds to height of one floor and brings the most plausible results for buildings.
1440
- *
1441
- * @requires lights, fillExtrusionEdgeRadius
1442
- *
1443
- * @disabledBy fillExtrusionFloodLightIntensity
1444
- */
1445
- fillExtrusionAmbientOcclusionWallRadius?: Value<number, ['zoom']>;
1446
-
1447
- /**
1448
- * The transition affecting any changes to this layer’s fillExtrusionAmbientOcclusionWallRadius property.
1449
- */
1450
- fillExtrusionAmbientOcclusionWallRadiusTransition?: Transition;
1451
- /**
1452
- * The extent of the ambient occlusion effect on the ground beneath the extruded buildings in meters.
1453
- *
1454
- * @requires lights
1455
- *
1456
- * @disabledBy fillExtrusionFloodLightIntensity
1457
- */
1458
- fillExtrusionAmbientOcclusionGroundRadius?: Value<number, ['zoom']>;
1459
-
1460
- /**
1461
- * The transition affecting any changes to this layer’s fillExtrusionAmbientOcclusionGroundRadius property.
1462
- */
1463
- fillExtrusionAmbientOcclusionGroundRadiusTransition?: Transition;
1464
- /**
1465
- * Provides a control to futher fineTune the look of the ambient occlusion on the ground beneath the extruded buildings. Lower values give the effect a more solid look while higher values make it smoother.
1466
- *
1467
- * @requires lights
1468
- *
1469
- * @disabledBy fillExtrusionFloodLightIntensity
1470
- */
1471
- fillExtrusionAmbientOcclusionGroundAttenuation?: Value<number, ['zoom']>;
1472
-
1473
- /**
1474
- * The transition affecting any changes to this layer’s fillExtrusionAmbientOcclusionGroundAttenuation property.
1475
- */
1476
- fillExtrusionAmbientOcclusionGroundAttenuationTransition?: Transition;
1477
- /**
1478
- * The color of the flood light effect on the walls of the extruded buildings.
1479
- *
1480
- * @requires lights
1481
- *
1482
- * @disabledBy fillExtrusionAmbientOcclusionIntensity
1483
- */
1484
- fillExtrusionFloodLightColor?: Value<string, ['zoom', 'measure-light']>;
1485
-
1486
- /**
1487
- * The transition affecting any changes to this layer’s fillExtrusionFloodLightColor property.
1488
- */
1489
- fillExtrusionFloodLightColorTransition?: Transition;
1490
- /**
1491
- * The intensity of the flood light color.
1492
- *
1493
- * @requires lights
1494
- *
1495
- * @disabledBy fillExtrusionAmbientOcclusionIntensity
1496
- */
1497
- fillExtrusionFloodLightIntensity?: Value<number, ['zoom', 'measure-light']>;
1498
-
1499
- /**
1500
- * The transition affecting any changes to this layer’s fillExtrusionFloodLightIntensity property.
1501
- */
1502
- fillExtrusionFloodLightIntensityTransition?: Transition;
1503
- /**
1504
- * The extent of the flood light effect on the walls of the extruded buildings in meters.
1505
- *
1506
- * @requires lights
1507
- *
1508
- * @disabledBy fillExtrusionAmbientOcclusionIntensity
1509
- */
1510
- fillExtrusionFloodLightWallRadius?: Value<
1511
- number,
1512
- ['feature', 'feature-state']
1513
- >;
1514
-
1515
- /**
1516
- * The transition affecting any changes to this layer’s fillExtrusionFloodLightWallRadius property.
1517
- */
1518
- fillExtrusionFloodLightWallRadiusTransition?: Transition;
1519
- /**
1520
- * The extent of the flood light effect on the ground beneath the extruded buildings in meters.
1521
- *
1522
- * @requires lights
1523
- *
1524
- * @disabledBy fillExtrusionAmbientOcclusionIntensity
1525
- */
1526
- fillExtrusionFloodLightGroundRadius?: Value<
1527
- number,
1528
- ['feature', 'feature-state']
1529
- >;
1530
-
1531
- /**
1532
- * The transition affecting any changes to this layer’s fillExtrusionFloodLightGroundRadius property.
1533
- */
1534
- fillExtrusionFloodLightGroundRadiusTransition?: Transition;
1535
- /**
1536
- * Provides a control to futher fineTune the look of the flood light on the ground beneath the extruded buildings. Lower values give the effect a more solid look while higher values make it smoother.
1537
- *
1538
- * @requires lights
1539
- *
1540
- * @disabledBy fillExtrusionAmbientOcclusionIntensity
1541
- */
1542
- fillExtrusionFloodLightGroundAttenuation?: Value<number, ['zoom']>;
1543
-
1544
- /**
1545
- * The transition affecting any changes to this layer’s fillExtrusionFloodLightGroundAttenuation property.
1546
- */
1547
- fillExtrusionFloodLightGroundAttenuationTransition?: Transition;
1548
- /**
1549
- * A global multiplier that can be used to scale base, height, AO, and flood light of the fill extrusions.
1550
- */
1551
- fillExtrusionVerticalScale?: Value<number, ['zoom']>;
1552
-
1553
- /**
1554
- * The transition affecting any changes to this layer’s fillExtrusionVerticalScale property.
1555
- */
1556
- fillExtrusionVerticalScaleTransition?: Transition;
1557
- /**
1558
- * This parameter defines the range for the fadeOut effect before an automatic content cutoff on pitched map views. The automatic cutoff range is calculated according to the minimum required zoom level of the source and layer. The fade range is expressed in relation to the height of the map view. A value of 1.0 indicates that the content is faded to the same extent as the map's height in pixels, while a value close to zero represents a sharp cutoff. When the value is set to 0.0, the cutoff is completely disabled. Note: The property has no effect on the map if terrain is enabled.
1559
- */
1560
- fillExtrusionCutoffFadeRange?: Value<number>;
1561
1264
  }
1562
1265
  export interface RasterLayerStyleProps {
1563
1266
  /**
1564
1267
  * Whether this layer is displayed.
1565
1268
  */
1566
- visibility?: Value<Enum<VisibilityEnum, VisibilityEnumValues>>;
1269
+ visibility?: Enum<VisibilityEnum, VisibilityEnumValues>;
1567
1270
  /**
1568
1271
  * The opacity at which the image will be drawn.
1569
1272
  */
@@ -1629,40 +1332,14 @@ export interface RasterLayerStyleProps {
1629
1332
  * Fade duration when a new tile is added.
1630
1333
  */
1631
1334
  rasterFadeDuration?: Value<number, ['zoom']>;
1632
- /**
1633
- * Defines a color map by which to colorize a raster layer, parameterized by the `["rasterValue"]` expression and evaluated at 256 uniformly spaced steps over the range specified by `rasterColorRange`.
1634
- */
1635
- rasterColor?: Value<string, ['raster-value']>;
1636
- /**
1637
- * When `rasterColor` is active, specifies the combination of source RGB channels used to compute the raster value. Computed using the equation `mix.r * src.r + mix.g * src.g + mix.b * src.b + mix.a`. The first three components specify the mix of source red, green, and blue channels, respectively. The fourth component serves as a constant offset and is *not* multipled by source alpha. Source alpha is instead carried through and applied as opacity to the colorized result. Default value corresponds to RGB luminosity.
1638
- *
1639
- * @requires rasterColor
1640
- */
1641
- rasterColorMix?: Value<number[], ['zoom']>;
1642
-
1643
- /**
1644
- * The transition affecting any changes to this layer’s rasterColorMix property.
1645
- */
1646
- rasterColorMixTransition?: Transition;
1647
- /**
1648
- * When `rasterColor` is active, specifies the range over which `rasterColor` is tabulated. Units correspond to the computed raster value via `rasterColorMix`.
1649
- *
1650
- * @requires rasterColor
1651
- */
1652
- rasterColorRange?: Value<number[], ['zoom']>;
1653
-
1654
- /**
1655
- * The transition affecting any changes to this layer’s rasterColorRange property.
1656
- */
1657
- rasterColorRangeTransition?: Transition;
1658
1335
  }
1659
1336
  export interface HillshadeLayerStyleProps {
1660
1337
  /**
1661
1338
  * Whether this layer is displayed.
1662
1339
  */
1663
- visibility?: Value<Enum<VisibilityEnum, VisibilityEnumValues>>;
1340
+ visibility?: Enum<VisibilityEnum, VisibilityEnumValues>;
1664
1341
  /**
1665
- * The direction of the light source used to generate the hillshading with 0 as the top of the viewport if `hillshadeIlluminationAnchor` is set to `viewport` and due north if `hillshadeIlluminationAnchor` is set to `map` and no 3d lights enabled. If `hillshadeIlluminationAnchor` is set to `map` and 3d lights enabled, the direction from 3d lights is used instead.
1342
+ * The direction of the light source used to generate the hillshading with 0 as the top of the viewport if `hillshadeIlluminationAnchor` is set to `viewport` and due north if `hillshadeIlluminationAnchor` is set to `map`.
1666
1343
  */
1667
1344
  hillshadeIlluminationDirection?: Value<number, ['zoom']>;
1668
1345
  /**
@@ -1687,7 +1364,7 @@ export interface HillshadeLayerStyleProps {
1687
1364
  /**
1688
1365
  * The shading color of areas that face away from the light source.
1689
1366
  */
1690
- hillshadeShadowColor?: Value<string, ['zoom', 'measure-light']>;
1367
+ hillshadeShadowColor?: Value<string, ['zoom']>;
1691
1368
 
1692
1369
  /**
1693
1370
  * The transition affecting any changes to this layer’s hillshadeShadowColor property.
@@ -1696,7 +1373,7 @@ export interface HillshadeLayerStyleProps {
1696
1373
  /**
1697
1374
  * The shading color of areas that faces towards the light source.
1698
1375
  */
1699
- hillshadeHighlightColor?: Value<string, ['zoom', 'measure-light']>;
1376
+ hillshadeHighlightColor?: Value<string, ['zoom']>;
1700
1377
 
1701
1378
  /**
1702
1379
  * The transition affecting any changes to this layer’s hillshadeHighlightColor property.
@@ -1705,146 +1382,18 @@ export interface HillshadeLayerStyleProps {
1705
1382
  /**
1706
1383
  * The shading color used to accentuate rugged terrain like sharp cliffs and gorges.
1707
1384
  */
1708
- hillshadeAccentColor?: Value<string, ['zoom', 'measure-light']>;
1385
+ hillshadeAccentColor?: Value<string, ['zoom']>;
1709
1386
 
1710
1387
  /**
1711
1388
  * The transition affecting any changes to this layer’s hillshadeAccentColor property.
1712
1389
  */
1713
1390
  hillshadeAccentColorTransition?: Transition;
1714
1391
  }
1715
- export interface ModelLayerStyleProps {
1716
- /**
1717
- * Whether this layer is displayed.
1718
- */
1719
- visibility?: Value<Enum<VisibilityEnum, VisibilityEnumValues>>;
1720
- /**
1721
- * Model to render.
1722
- */
1723
- modelId?: Value<string, ['zoom', 'feature']>;
1724
- /**
1725
- * The opacity of the model layer.
1726
- */
1727
- modelOpacity?: Value<number, ['zoom']>;
1728
-
1729
- /**
1730
- * The transition affecting any changes to this layer’s modelOpacity property.
1731
- */
1732
- modelOpacityTransition?: Transition;
1733
- /**
1734
- * The rotation of the model in euler angles [lon, lat, z].
1735
- */
1736
- modelRotation?: Value<number[], ['feature', 'feature-state', 'zoom']>;
1737
-
1738
- /**
1739
- * The transition affecting any changes to this layer’s modelRotation property.
1740
- */
1741
- modelRotationTransition?: Transition;
1742
- /**
1743
- * The scale of the model. Expressions that are zoomDependent are not supported if using GeoJSON or vector tile as the model layer source.
1744
- */
1745
- modelScale?: Value<number[], ['feature', 'feature-state', 'zoom']>;
1746
-
1747
- /**
1748
- * The transition affecting any changes to this layer’s modelScale property.
1749
- */
1750
- modelScaleTransition?: Transition;
1751
- /**
1752
- * The translation of the model in meters in form of [longitudal, latitudal, altitude] offsets.
1753
- */
1754
- modelTranslation?: Value<number[], ['feature', 'feature-state', 'zoom']>;
1755
-
1756
- /**
1757
- * The transition affecting any changes to this layer’s modelTranslation property.
1758
- */
1759
- modelTranslationTransition?: Transition;
1760
- /**
1761
- * The tint color of the model layer. modelColorMixIntensity (defaults to 0) defines tint(mix) intensity this means that, this color is not used unless modelColorMixIntensity gets value greater than 0. Expressions that depend on measureLight are not supported when using GeoJSON or vector tile as the model layer source.
1762
- */
1763
- modelColor?: Value<
1764
- string,
1765
- ['feature', 'feature-state', 'measure-light', 'zoom']
1766
- >;
1767
-
1768
- /**
1769
- * The transition affecting any changes to this layer’s modelColor property.
1770
- */
1771
- modelColorTransition?: Transition;
1772
- /**
1773
- * Intensity of modelColor (on a scale from 0 to 1) in color mix with original 3D model's colors. Higher number will present a higher modelColor contribution in mix. Expressions that depend on measureLight are not supported when using GeoJSON or vector tile as the model layer source.
1774
- */
1775
- modelColorMixIntensity?: Value<
1776
- number,
1777
- ['feature', 'feature-state', 'measure-light']
1778
- >;
1779
-
1780
- /**
1781
- * The transition affecting any changes to this layer’s modelColorMixIntensity property.
1782
- */
1783
- modelColorMixIntensityTransition?: Transition;
1784
- /**
1785
- * Defines rendering behavior of model in respect to other 3D scene objects.
1786
- */
1787
- modelType?: Enum<ModelTypeEnum, ModelTypeEnumValues>;
1788
- /**
1789
- * Enable/Disable shadow casting for this layer
1790
- */
1791
- modelCastShadows?: Value<boolean>;
1792
- /**
1793
- * Enable/Disable shadow receiving for this layer
1794
- */
1795
- modelReceiveShadows?: Value<boolean>;
1796
- /**
1797
- * Intensity of the ambient occlusion if present in the 3D model.
1798
- */
1799
- modelAmbientOcclusionIntensity?: Value<number, ['zoom']>;
1800
-
1801
- /**
1802
- * The transition affecting any changes to this layer’s modelAmbientOcclusionIntensity property.
1803
- */
1804
- modelAmbientOcclusionIntensityTransition?: Transition;
1805
- /**
1806
- * Strength of the emission. There is no emission for value 0. For value 1.0, only emissive component (no shading) is displayed and values above 1.0 produce light contribution to surrounding area, for some of the parts (e.g. doors). Expressions that depend on measureLight are not supported when using GeoJSON or vector tile as the model layer source.
1807
- */
1808
- modelEmissiveStrength?: Value<
1809
- number,
1810
- ['feature', 'feature-state', 'measure-light']
1811
- >;
1812
-
1813
- /**
1814
- * The transition affecting any changes to this layer’s modelEmissiveStrength property.
1815
- */
1816
- modelEmissiveStrengthTransition?: Transition;
1817
- /**
1818
- * Material roughness. Material is fully smooth for value 0, and fully rough for value 1. Affects only layers using batchedModel source.
1819
- */
1820
- modelRoughness?: Value<number, ['feature', 'feature-state']>;
1821
-
1822
- /**
1823
- * The transition affecting any changes to this layer’s modelRoughness property.
1824
- */
1825
- modelRoughnessTransition?: Transition;
1826
- /**
1827
- * Emissive strength multiplier along model height (gradient begin, gradient end, value at begin, value at end, gradient curve power (logarithmic scale, curve power = pow(10, val)).
1828
- */
1829
- modelHeightBasedEmissiveStrengthMultiplier?: Value<
1830
- number[],
1831
- ['feature', 'feature-state', 'measure-light']
1832
- >;
1833
-
1834
- /**
1835
- * The transition affecting any changes to this layer’s modelHeightBasedEmissiveStrengthMultiplier property.
1836
- */
1837
- modelHeightBasedEmissiveStrengthMultiplierTransition?: Transition;
1838
- /**
1839
- * This parameter defines the range for the fadeOut effect before an automatic content cutoff on pitched map views. The automatic cutoff range is calculated according to the minimum required zoom level of the source and layer. The fade range is expressed in relation to the height of the map view. A value of 1.0 indicates that the content is faded to the same extent as the map's height in pixels, while a value close to zero represents a sharp cutoff. When the value is set to 0.0, the cutoff is completely disabled. Note: The property has no effect on the map if terrain is enabled.
1840
- */
1841
- modelCutoffFadeRange?: Value<number>;
1842
- }
1843
1392
  export interface BackgroundLayerStyleProps {
1844
1393
  /**
1845
1394
  * Whether this layer is displayed.
1846
1395
  */
1847
- visibility?: Value<Enum<VisibilityEnum, VisibilityEnumValues>>;
1396
+ visibility?: Enum<VisibilityEnum, VisibilityEnumValues>;
1848
1397
  /**
1849
1398
  * The color with which the background will be drawn.
1850
1399
  *
@@ -1869,23 +1418,12 @@ export interface BackgroundLayerStyleProps {
1869
1418
  * The transition affecting any changes to this layer’s backgroundOpacity property.
1870
1419
  */
1871
1420
  backgroundOpacityTransition?: Transition;
1872
- /**
1873
- * Controls the intensity of light emitted on the source features.
1874
- *
1875
- * @requires lights
1876
- */
1877
- backgroundEmissiveStrength?: Value<number, ['zoom', 'measure-light']>;
1878
-
1879
- /**
1880
- * The transition affecting any changes to this layer’s backgroundEmissiveStrength property.
1881
- */
1882
- backgroundEmissiveStrengthTransition?: Transition;
1883
1421
  }
1884
1422
  export interface SkyLayerStyleProps {
1885
1423
  /**
1886
1424
  * Whether this layer is displayed.
1887
1425
  */
1888
- visibility?: Value<Enum<VisibilityEnum, VisibilityEnumValues>>;
1426
+ visibility?: Enum<VisibilityEnum, VisibilityEnumValues>;
1889
1427
  /**
1890
1428
  * The type of the sky
1891
1429
  */
@@ -1965,7 +1503,7 @@ export interface AtmosphereLayerStyleProps {
1965
1503
  /**
1966
1504
  * The start and end distance range in which fog fades from fully transparent to fully opaque. The distance to the point at the center of the map is defined as zero, so that negative range values are closer to the camera, and positive values are farther away.
1967
1505
  */
1968
- range?: Value<number[], ['zoom', 'measure-light']>;
1506
+ range?: Value<number[], ['zoom']>;
1969
1507
 
1970
1508
  /**
1971
1509
  * The transition affecting any changes to this layer’s range property.
@@ -1974,7 +1512,7 @@ export interface AtmosphereLayerStyleProps {
1974
1512
  /**
1975
1513
  * The color of the atmosphere region immediately below the horizon and within the `range` and above the horizon and within `horizonBlend`. Using opacity is recommended only for smoothly transitioning fog on/off as anything less than 100% opacity results in more tiles loaded and drawn.
1976
1514
  */
1977
- color?: Value<string, ['zoom', 'measure-light']>;
1515
+ color?: Value<string, ['zoom']>;
1978
1516
 
1979
1517
  /**
1980
1518
  * The transition affecting any changes to this layer’s color property.
@@ -1983,7 +1521,7 @@ export interface AtmosphereLayerStyleProps {
1983
1521
  /**
1984
1522
  * The color of the atmosphere region above the horizon, `highColor` extends further above the horizon than the `color` property and its spread can be controlled with `horizonBlend`. The opacity can be set to `0` to remove the high atmosphere color contribution.
1985
1523
  */
1986
- highColor?: Value<string, ['zoom', 'measure-light']>;
1524
+ highColor?: Value<string, ['zoom']>;
1987
1525
 
1988
1526
  /**
1989
1527
  * The transition affecting any changes to this layer’s highColor property.
@@ -1992,7 +1530,7 @@ export interface AtmosphereLayerStyleProps {
1992
1530
  /**
1993
1531
  * The color of the region above the horizon and after the end of the `horizonBlend` contribution. The opacity can be set to `0` to have a transparent background.
1994
1532
  */
1995
- spaceColor?: Value<string, ['zoom', 'measure-light']>;
1533
+ spaceColor?: Value<string, ['zoom']>;
1996
1534
 
1997
1535
  /**
1998
1536
  * The transition affecting any changes to this layer’s spaceColor property.
@@ -2001,7 +1539,7 @@ export interface AtmosphereLayerStyleProps {
2001
1539
  /**
2002
1540
  * Horizon blend applies a smooth fade from the color of the atmosphere to the color of space. A value of zero leaves a sharp transition from atmosphere to space. Increasing the value blends the color of atmosphere into increasingly high angles of the sky.
2003
1541
  */
2004
- horizonBlend?: Value<number, ['zoom', 'measure-light']>;
1542
+ horizonBlend?: Value<number, ['zoom']>;
2005
1543
 
2006
1544
  /**
2007
1545
  * The transition affecting any changes to this layer’s horizonBlend property.
@@ -2010,29 +1548,29 @@ export interface AtmosphereLayerStyleProps {
2010
1548
  /**
2011
1549
  * A value controlling the star intensity where `0` will show no stars and `1` will show stars at their maximum intensity.
2012
1550
  */
2013
- starIntensity?: Value<number, ['zoom', 'measure-light']>;
1551
+ starIntensity?: Value<number, ['zoom']>;
2014
1552
 
2015
1553
  /**
2016
1554
  * The transition affecting any changes to this layer’s starIntensity property.
2017
1555
  */
2018
1556
  starIntensityTransition?: Transition;
2019
- /**
2020
- * An array of two number values, specifying the vertical range, measured in meters, over which the fog should gradually fade out. When both parameters are set to zero, the fog will be rendered without any vertical constraints.
2021
- */
2022
- verticalRange?: Value<number[], ['zoom', 'measure-light']>;
2023
-
2024
- /**
2025
- * The transition affecting any changes to this layer’s verticalRange property.
2026
- */
2027
- verticalRangeTransition?: Transition;
2028
1557
  }
2029
1558
  export interface TerrainLayerStyleProps {
1559
+ /**
1560
+ * Name of a source of `raster_dem` type to be used for terrain elevation.
1561
+ */
1562
+ source?: string;
2030
1563
  /**
2031
1564
  * Exaggerates the elevation of the terrain by multiplying the data from the DEM with this value.
2032
1565
  *
2033
1566
  * @requires source
2034
1567
  */
2035
1568
  exaggeration?: Value<number, ['zoom']>;
1569
+
1570
+ /**
1571
+ * The transition affecting any changes to this layer’s exaggeration property.
1572
+ */
1573
+ exaggerationTransition?: Transition;
2036
1574
  }
2037
1575
 
2038
1576
  export type AllLayerStyleProps =
@@ -2044,7 +1582,6 @@ export type AllLayerStyleProps =
2044
1582
  | FillExtrusionLayerStyleProps
2045
1583
  | RasterLayerStyleProps
2046
1584
  | HillshadeLayerStyleProps
2047
- | ModelLayerStyleProps
2048
1585
  | BackgroundLayerStyleProps
2049
1586
  | SkyLayerStyleProps
2050
1587
  | LightLayerStyleProps