@maplibre/maplibre-react-native 10.0.0-alpha.8 → 10.0.0-beta.1

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 (1201) hide show
  1. package/LICENSE.md +2 -2
  2. package/README.md +25 -27
  3. package/android/build.gradle +51 -16
  4. package/android/install.md +3 -2
  5. package/android/src/main/AndroidManifest.xml +4 -0
  6. package/android/src/main/java/org/maplibre/reactnative/MLRNPackage.java +95 -0
  7. package/android/src/main/java/org/maplibre/reactnative/components/AbstractEvent.java +35 -0
  8. package/android/src/main/java/org/maplibre/reactnative/components/AbstractEventEmitter.java +84 -0
  9. package/android/src/main/java/org/maplibre/reactnative/components/AbstractMapFeature.java +15 -0
  10. package/android/src/main/java/org/maplibre/reactnative/components/annotation/MLRNCallout.java +11 -0
  11. package/android/src/main/java/org/maplibre/reactnative/components/annotation/MLRNCalloutManager.java +18 -0
  12. package/android/src/main/java/org/maplibre/reactnative/components/annotation/MLRNMarkerView.java +112 -0
  13. package/android/src/main/java/org/maplibre/reactnative/components/annotation/MLRNMarkerViewManager.java +45 -0
  14. package/android/src/main/java/org/maplibre/reactnative/components/annotation/MLRNPointAnnotation.java +361 -0
  15. package/android/src/main/java/org/maplibre/reactnative/components/annotation/MLRNPointAnnotationManager.java +84 -0
  16. package/android/src/main/java/org/maplibre/reactnative/components/annotation/MarkerView.java +23 -0
  17. package/android/src/main/java/org/maplibre/reactnative/components/annotation/MarkerViewManager.java +69 -0
  18. package/android/src/main/java/org/maplibre/reactnative/components/camera/CameraStop.java +245 -0
  19. package/android/src/main/java/org/maplibre/reactnative/components/camera/CameraUpdateItem.java +121 -0
  20. package/android/src/main/java/org/maplibre/reactnative/components/camera/CameraUpdateQueue.java +68 -0
  21. package/android/src/main/java/org/maplibre/reactnative/components/camera/MLRNCamera.java +530 -0
  22. package/android/src/main/java/org/maplibre/reactnative/components/camera/MLRNCameraManager.java +101 -0
  23. package/android/src/main/java/org/maplibre/reactnative/components/camera/constants/CameraMode.java +18 -0
  24. package/android/src/main/java/org/maplibre/reactnative/components/images/MLRNImages.java +234 -0
  25. package/android/src/main/java/org/maplibre/reactnative/components/images/MLRNImagesManager.java +103 -0
  26. package/android/src/main/java/org/maplibre/reactnative/components/location/LocationComponentManager.java +158 -0
  27. package/android/src/main/java/org/maplibre/reactnative/components/location/MLRNNativeUserLocation.java +76 -0
  28. package/android/src/main/java/org/maplibre/reactnative/components/location/MLRNNativeUserLocationManager.java +40 -0
  29. package/android/src/main/java/org/maplibre/reactnative/components/mapview/LayerSourceInfo.java +59 -0
  30. package/android/src/main/java/org/maplibre/reactnative/components/mapview/MLRNAndroidTextureMapView.java +13 -0
  31. package/android/src/main/java/org/maplibre/reactnative/components/mapview/MLRNAndroidTextureMapViewManager.java +27 -0
  32. package/android/src/main/java/org/maplibre/reactnative/components/mapview/MLRNMapView.java +1523 -0
  33. package/android/src/main/java/org/maplibre/reactnative/components/mapview/MLRNMapViewManager.java +349 -0
  34. package/android/src/main/java/org/maplibre/reactnative/components/mapview/helpers/CameraChangeTracker.java +37 -0
  35. package/android/src/main/java/org/maplibre/reactnative/components/styles/MLRNStyle.java +79 -0
  36. package/android/src/main/java/org/maplibre/reactnative/components/styles/MLRNStyleFactory.java +2286 -0
  37. package/android/src/main/java/org/maplibre/reactnative/components/styles/MLRNStyleFunctionParser.java +103 -0
  38. package/android/src/main/java/org/maplibre/reactnative/components/styles/MLRNStyleValue.java +208 -0
  39. package/android/src/main/java/org/maplibre/reactnative/components/styles/layers/MLRNBackgroundLayer.java +23 -0
  40. package/android/src/main/java/org/maplibre/reactnative/components/styles/layers/MLRNBackgroundLayerManager.java +60 -0
  41. package/android/src/main/java/org/maplibre/reactnative/components/styles/layers/MLRNCircleLayer.java +51 -0
  42. package/android/src/main/java/org/maplibre/reactnative/components/styles/layers/MLRNCircleLayerManager.java +73 -0
  43. package/android/src/main/java/org/maplibre/reactnative/components/styles/layers/MLRNFillExtrusionLayer.java +51 -0
  44. package/android/src/main/java/org/maplibre/reactnative/components/styles/layers/MLRNFillExtrusionLayerManager.java +76 -0
  45. package/android/src/main/java/org/maplibre/reactnative/components/styles/layers/MLRNFillLayer.java +51 -0
  46. package/android/src/main/java/org/maplibre/reactnative/components/styles/layers/MLRNFillLayerManager.java +76 -0
  47. package/android/src/main/java/org/maplibre/reactnative/components/styles/layers/MLRNHeatmapLayer.java +51 -0
  48. package/android/src/main/java/org/maplibre/reactnative/components/styles/layers/MLRNHeatmapLayerManager.java +73 -0
  49. package/android/src/main/java/org/maplibre/reactnative/components/styles/layers/MLRNLayer.java +283 -0
  50. package/android/src/main/java/org/maplibre/reactnative/components/styles/layers/MLRNLineLayer.java +51 -0
  51. package/android/src/main/java/org/maplibre/reactnative/components/styles/layers/MLRNLineLayerManager.java +75 -0
  52. package/android/src/main/java/org/maplibre/reactnative/components/styles/layers/MLRNRasterLayer.java +23 -0
  53. package/android/src/main/java/org/maplibre/reactnative/components/styles/layers/MLRNRasterLayerManager.java +60 -0
  54. package/android/src/main/java/org/maplibre/reactnative/components/styles/layers/MLRNSymbolLayer.java +51 -0
  55. package/android/src/main/java/org/maplibre/reactnative/components/styles/layers/MLRNSymbolLayerManager.java +71 -0
  56. package/android/src/main/java/org/maplibre/reactnative/components/styles/light/MLRNLight.java +61 -0
  57. package/android/src/main/java/org/maplibre/reactnative/components/styles/light/MLRNLightManager.java +25 -0
  58. package/android/src/main/java/org/maplibre/reactnative/components/styles/sources/MLRNImageSource.java +77 -0
  59. package/android/src/main/java/org/maplibre/reactnative/components/styles/sources/MLRNImageSourceManager.java +68 -0
  60. package/android/src/main/java/org/maplibre/reactnative/components/styles/sources/MLRNRasterSource.java +41 -0
  61. package/android/src/main/java/org/maplibre/reactnative/components/styles/sources/MLRNRasterSourceManager.java +39 -0
  62. package/android/src/main/java/org/maplibre/reactnative/components/styles/sources/MLRNShapeSource.java +312 -0
  63. package/android/src/main/java/org/maplibre/reactnative/components/styles/sources/MLRNShapeSourceManager.java +249 -0
  64. package/android/src/main/java/org/maplibre/reactnative/components/styles/sources/MLRNSource.java +240 -0
  65. package/android/src/main/java/org/maplibre/reactnative/components/styles/sources/MLRNTileSource.java +97 -0
  66. package/android/src/main/java/org/maplibre/reactnative/components/styles/sources/MLRNTileSourceManager.java +80 -0
  67. package/android/src/main/java/org/maplibre/reactnative/components/styles/sources/MLRNVectorSource.java +60 -0
  68. package/android/src/main/java/org/maplibre/reactnative/components/styles/sources/MLRNVectorSourceManager.java +80 -0
  69. package/android/src/main/java/org/maplibre/reactnative/events/AbstractEvent.java +62 -0
  70. package/android/src/main/java/org/maplibre/reactnative/events/AndroidCallbackEvent.java +34 -0
  71. package/android/src/main/java/org/maplibre/reactnative/events/EventEmitter.java +45 -0
  72. package/android/src/main/java/org/maplibre/reactnative/events/FeatureClickEvent.java +75 -0
  73. package/android/src/main/java/org/maplibre/reactnative/events/IEvent.java +14 -0
  74. package/android/src/main/java/org/maplibre/reactnative/events/ImageMissingEvent.java +42 -0
  75. package/android/src/main/java/org/maplibre/reactnative/events/LocationEvent.java +100 -0
  76. package/android/src/main/java/org/maplibre/reactnative/events/MapChangeEvent.java +43 -0
  77. package/android/src/main/java/org/maplibre/reactnative/events/MapClickEvent.java +47 -0
  78. package/android/src/main/java/org/maplibre/reactnative/events/MapUserTrackingModeEvent.java +32 -0
  79. package/android/src/main/java/org/maplibre/reactnative/events/OfflineEvent.java +25 -0
  80. package/android/src/main/java/org/maplibre/reactnative/events/PointAnnotationClickEvent.java +42 -0
  81. package/android/src/main/java/org/maplibre/reactnative/events/PointAnnotationDragEvent.java +51 -0
  82. package/android/src/main/java/org/maplibre/reactnative/events/constants/EventKeys.java +35 -0
  83. package/android/src/main/java/org/maplibre/reactnative/events/constants/EventTypes.java +47 -0
  84. package/android/src/main/java/org/maplibre/reactnative/http/CustomHeadersInterceptor.java +38 -0
  85. package/android/src/main/java/org/maplibre/reactnative/location/LocationManager.java +164 -0
  86. package/android/src/main/java/org/maplibre/reactnative/location/UserLocation.java +59 -0
  87. package/android/src/main/java/org/maplibre/reactnative/location/UserLocationVerticalAlignment.java +7 -0
  88. package/android/src/main/java/org/maplibre/reactnative/location/UserTrackingMode.java +59 -0
  89. package/android/src/main/java/org/maplibre/reactnative/location/UserTrackingState.java +15 -0
  90. package/android/src/main/java/org/maplibre/reactnative/modules/MLRNLocationModule.java +158 -0
  91. package/android/src/main/java/org/maplibre/reactnative/modules/MLRNLogging.java +140 -0
  92. package/android/src/main/java/org/maplibre/reactnative/modules/MLRNModule.java +344 -0
  93. package/android/src/main/java/org/maplibre/reactnative/modules/MLRNOfflineModule.java +588 -0
  94. package/android/src/main/java/org/maplibre/reactnative/modules/MLRNSnapshotModule.java +135 -0
  95. package/android/src/main/java/org/maplibre/reactnative/utils/BitmapUtils.java +125 -0
  96. package/android/src/main/java/org/maplibre/reactnative/utils/ClusterPropertyEntry.java +13 -0
  97. package/android/src/main/java/org/maplibre/reactnative/utils/ConvertUtils.java +253 -0
  98. package/android/src/main/java/org/maplibre/reactnative/utils/DownloadMapImageTask.java +155 -0
  99. package/android/src/main/java/org/maplibre/reactnative/utils/ExpressionParser.java +74 -0
  100. package/android/src/main/java/org/maplibre/reactnative/utils/GeoJSONUtils.java +205 -0
  101. package/android/src/main/java/org/maplibre/reactnative/utils/GeoViewport.java +37 -0
  102. package/android/src/main/java/org/maplibre/reactnative/utils/ImageEntry.java +25 -0
  103. package/android/src/main/java/org/maplibre/reactnative/utils/ResourceUtils.java +26 -0
  104. package/android/src/main/java/org/maplibre/reactnative/utils/SimpleEventCallback.java +26 -0
  105. package/android/src/main/java/org/maplibre/reactnative/utils/SphericalMercator.java +68 -0
  106. package/android/src/main/res/values/strings.xml +3 -0
  107. package/app.plugin.js +1 -1
  108. package/ios/MLRN/CameraMode.h +10 -0
  109. package/ios/MLRN/CameraMode.m +10 -0
  110. package/ios/MLRN/CameraStop.h +18 -0
  111. package/ios/MLRN/CameraStop.m +75 -0
  112. package/ios/MLRN/CameraUpdateItem.h +10 -0
  113. package/ios/MLRN/CameraUpdateItem.m +169 -0
  114. package/ios/MLRN/CameraUpdateQueue.h +13 -0
  115. package/ios/MLRN/CameraUpdateQueue.m +66 -0
  116. package/ios/MLRN/FilterParser.h +7 -0
  117. package/ios/MLRN/FilterParser.m +14 -0
  118. package/ios/MLRN/MLRN.h +5 -0
  119. package/ios/MLRN/MLRN.m +5 -0
  120. package/ios/MLRN/MLRNBackgroundLayer.h +6 -0
  121. package/ios/MLRN/MLRNBackgroundLayer.m +19 -0
  122. package/ios/MLRN/MLRNBackgroundLayerManager.h +5 -0
  123. package/ios/MLRN/MLRNBackgroundLayerManager.m +27 -0
  124. package/ios/MLRN/MLRNCallout.h +7 -0
  125. package/ios/MLRN/MLRNCallout.m +66 -0
  126. package/ios/MLRN/MLRNCalloutManager.h +5 -0
  127. package/ios/MLRN/MLRNCalloutManager.m +13 -0
  128. package/ios/MLRN/MLRNCamera.h +29 -0
  129. package/ios/MLRN/MLRNCamera.m +250 -0
  130. package/ios/MLRN/MLRNCameraManager.h +5 -0
  131. package/ios/MLRN/MLRNCameraManager.m +41 -0
  132. package/ios/MLRN/MLRNCircleLayer.h +5 -0
  133. package/ios/MLRN/MLRNCircleLayer.m +26 -0
  134. package/ios/MLRN/MLRNCircleLayerManager.h +5 -0
  135. package/ios/MLRN/MLRNCircleLayerManager.m +31 -0
  136. package/ios/MLRN/MLRNCustomHeaders.h +20 -0
  137. package/ios/MLRN/MLRNCustomHeaders.m +98 -0
  138. package/ios/MLRN/MLRNEvent.h +13 -0
  139. package/ios/MLRN/MLRNEvent.m +39 -0
  140. package/ios/MLRN/MLRNEventProtocol.h +8 -0
  141. package/ios/MLRN/MLRNEventTypes.h +42 -0
  142. package/ios/MLRN/MLRNEventTypes.m +41 -0
  143. package/ios/MLRN/MLRNFillExtrusionLayer.h +6 -0
  144. package/ios/MLRN/MLRNFillExtrusionLayer.m +24 -0
  145. package/ios/MLRN/MLRNFillExtrusionLayerManager.h +5 -0
  146. package/ios/MLRN/MLRNFillExtrusionLayerManager.m +31 -0
  147. package/ios/MLRN/MLRNFillLayer.h +6 -0
  148. package/ios/MLRN/MLRNFillLayer.m +25 -0
  149. package/ios/MLRN/MLRNFillLayerManager.h +5 -0
  150. package/ios/MLRN/MLRNFillLayerManager.m +29 -0
  151. package/ios/MLRN/MLRNHeatmapLayer.h +5 -0
  152. package/ios/MLRN/MLRNHeatmapLayer.m +24 -0
  153. package/ios/MLRN/MLRNHeatmapLayerManager.h +5 -0
  154. package/ios/MLRN/MLRNHeatmapLayerManager.m +31 -0
  155. package/ios/MLRN/MLRNImageQueue.h +11 -0
  156. package/ios/MLRN/MLRNImageQueue.m +49 -0
  157. package/ios/MLRN/MLRNImageQueueOperation.h +10 -0
  158. package/ios/MLRN/MLRNImageQueueOperation.m +130 -0
  159. package/ios/MLRN/MLRNImageSource.h +8 -0
  160. package/ios/MLRN/MLRNImageSource.m +52 -0
  161. package/ios/MLRN/MLRNImageSourceManager.h +5 -0
  162. package/ios/MLRN/MLRNImageSourceManager.m +17 -0
  163. package/ios/MLRN/MLRNImageUtils.h +9 -0
  164. package/ios/MLRN/MLRNImageUtils.m +23 -0
  165. package/ios/MLRN/MLRNImages.h +25 -0
  166. package/ios/MLRN/MLRNImages.m +126 -0
  167. package/ios/MLRN/MLRNImagesManager.h +5 -0
  168. package/ios/MLRN/MLRNImagesManager.m +21 -0
  169. package/ios/MLRN/MLRNLayer.h +44 -0
  170. package/ios/MLRN/MLRNLayer.m +228 -0
  171. package/ios/MLRN/MLRNLight.h +9 -0
  172. package/ios/MLRN/MLRNLight.m +38 -0
  173. package/ios/MLRN/MLRNLightManager.h +5 -0
  174. package/ios/MLRN/MLRNLightManager.m +15 -0
  175. package/ios/MLRN/MLRNLineLayer.h +6 -0
  176. package/ios/MLRN/MLRNLineLayer.m +25 -0
  177. package/ios/MLRN/MLRNLineLayerManager.h +5 -0
  178. package/ios/MLRN/MLRNLineLayerManager.m +32 -0
  179. package/ios/MLRN/MLRNLocation.h +11 -0
  180. package/ios/MLRN/MLRNLocation.m +24 -0
  181. package/ios/MLRN/MLRNLocationManager.h +22 -0
  182. package/ios/MLRN/MLRNLocationManager.m +172 -0
  183. package/ios/MLRN/MLRNLocationManagerDelegate.h +12 -0
  184. package/ios/MLRN/MLRNLocationModule.h +7 -0
  185. package/ios/MLRN/MLRNLocationModule.m +91 -0
  186. package/ios/MLRN/MLRNLogging.h +18 -0
  187. package/ios/MLRN/MLRNLogging.m +132 -0
  188. package/ios/MLRN/MLRNMapTouchEvent.h +17 -0
  189. package/ios/MLRN/MLRNMapTouchEvent.m +69 -0
  190. package/ios/MLRN/MLRNMapView.h +83 -0
  191. package/ios/MLRN/MLRNMapView.m +528 -0
  192. package/ios/MLRN/MLRNMapViewManager.h +9 -0
  193. package/ios/MLRN/MLRNMapViewManager.m +617 -0
  194. package/ios/MLRN/MLRNModule.h +5 -0
  195. package/ios/MLRN/MLRNModule.m +261 -0
  196. package/ios/MLRN/MLRNNativeUserLocation.h +11 -0
  197. package/ios/MLRN/MLRNNativeUserLocation.m +41 -0
  198. package/ios/MLRN/MLRNNativeUserLocationManager.h +5 -0
  199. package/ios/MLRN/MLRNNativeUserLocationManager.m +25 -0
  200. package/ios/MLRN/MLRNOfflineModule.h +11 -0
  201. package/ios/MLRN/MLRNOfflineModule.m +529 -0
  202. package/ios/MLRN/MLRNPointAnnotation.h +33 -0
  203. package/ios/MLRN/MLRNPointAnnotation.m +243 -0
  204. package/ios/MLRN/MLRNPointAnnotationManager.h +5 -0
  205. package/ios/MLRN/MLRNPointAnnotationManager.m +28 -0
  206. package/ios/MLRN/MLRNRasterLayer.h +6 -0
  207. package/ios/MLRN/MLRNRasterLayer.m +22 -0
  208. package/ios/MLRN/MLRNRasterLayerManager.h +5 -0
  209. package/ios/MLRN/MLRNRasterLayerManager.m +27 -0
  210. package/ios/MLRN/MLRNRasterSource.h +8 -0
  211. package/ios/MLRN/MLRNRasterSource.m +27 -0
  212. package/ios/MLRN/MLRNRasterSourceManager.h +5 -0
  213. package/ios/MLRN/MLRNRasterSourceManager.m +24 -0
  214. package/ios/MLRN/MLRNShapeSource.h +45 -0
  215. package/ios/MLRN/MLRNShapeSource.m +186 -0
  216. package/ios/MLRN/MLRNShapeSourceManager.h +6 -0
  217. package/ios/MLRN/MLRNShapeSourceManager.m +199 -0
  218. package/ios/MLRN/MLRNSnapshotModule.h +5 -0
  219. package/ios/MLRN/MLRNSnapshotModule.m +72 -0
  220. package/ios/MLRN/MLRNSource.h +27 -0
  221. package/ios/MLRN/MLRNSource.m +135 -0
  222. package/ios/MLRN/MLRNStyle.h +223 -0
  223. package/ios/MLRN/MLRNStyle.m +1682 -0
  224. package/ios/MLRN/MLRNStyleValue.h +19 -0
  225. package/ios/MLRN/MLRNStyleValue.m +159 -0
  226. package/ios/MLRN/MLRNSymbolLayer.h +11 -0
  227. package/ios/MLRN/MLRNSymbolLayer.m +113 -0
  228. package/ios/MLRN/MLRNSymbolLayerManager.h +5 -0
  229. package/ios/MLRN/MLRNSymbolLayerManager.m +32 -0
  230. package/ios/MLRN/MLRNTileSource.h +22 -0
  231. package/ios/MLRN/MLRNTileSource.m +31 -0
  232. package/ios/MLRN/MLRNUserLocation.h +15 -0
  233. package/ios/MLRN/MLRNUserLocation.m +38 -0
  234. package/ios/MLRN/MLRNUtils.h +23 -0
  235. package/ios/MLRN/MLRNUtils.m +210 -0
  236. package/ios/MLRN/MLRNVectorLayer.h +7 -0
  237. package/ios/MLRN/MLRNVectorLayer.m +51 -0
  238. package/ios/MLRN/MLRNVectorSource.h +8 -0
  239. package/ios/MLRN/MLRNVectorSource.m +20 -0
  240. package/ios/MLRN/MLRNVectorSourceManager.h +6 -0
  241. package/ios/MLRN/MLRNVectorSourceManager.m +71 -0
  242. package/ios/MLRN/ViewManager.h +8 -0
  243. package/ios/MLRN/ViewManager.m +55 -0
  244. package/ios/MLRN.xcodeproj/project.pbxproj +1 -0
  245. package/ios/install.md +6 -6
  246. package/lib/commonjs/MLRNModule.js +27 -0
  247. package/lib/commonjs/MLRNModule.js.map +1 -0
  248. package/lib/commonjs/MapLibreRN.js +281 -0
  249. package/lib/commonjs/MapLibreRN.js.map +1 -0
  250. package/lib/commonjs/assets/png.d.js +2 -0
  251. package/lib/commonjs/assets/png.d.js.map +1 -0
  252. package/lib/commonjs/components/Annotation.js +109 -0
  253. package/lib/commonjs/components/Annotation.js.map +1 -0
  254. package/lib/commonjs/components/BackgroundLayer.js +33 -0
  255. package/lib/commonjs/components/BackgroundLayer.js.map +1 -0
  256. package/lib/commonjs/components/Callout.js +101 -0
  257. package/lib/commonjs/components/Callout.js.map +1 -0
  258. package/lib/commonjs/components/Camera.js +285 -0
  259. package/lib/commonjs/components/Camera.js.map +1 -0
  260. package/lib/commonjs/components/CircleLayer.js +37 -0
  261. package/lib/commonjs/components/CircleLayer.js.map +1 -0
  262. package/lib/commonjs/components/FillExtrusionLayer.js +36 -0
  263. package/lib/commonjs/components/FillExtrusionLayer.js.map +1 -0
  264. package/lib/commonjs/components/FillLayer.js +36 -0
  265. package/lib/commonjs/components/FillLayer.js.map +1 -0
  266. package/lib/commonjs/components/HeadingIndicator.js +28 -0
  267. package/lib/commonjs/components/HeadingIndicator.js.map +1 -0
  268. package/lib/commonjs/components/HeatmapLayer.js +35 -0
  269. package/lib/commonjs/components/HeatmapLayer.js.map +1 -0
  270. package/lib/commonjs/components/ImageSource.js +42 -0
  271. package/lib/commonjs/components/ImageSource.js.map +1 -0
  272. package/lib/commonjs/components/Images.js +80 -0
  273. package/lib/commonjs/components/Images.js.map +1 -0
  274. package/lib/commonjs/components/Light.js +32 -0
  275. package/lib/commonjs/components/Light.js.map +1 -0
  276. package/lib/commonjs/components/LineLayer.js +36 -0
  277. package/lib/commonjs/components/LineLayer.js.map +1 -0
  278. package/lib/commonjs/components/MapView.js +463 -0
  279. package/lib/commonjs/components/MapView.js.map +1 -0
  280. package/lib/commonjs/components/MarkerView.js +61 -0
  281. package/lib/commonjs/components/MarkerView.js.map +1 -0
  282. package/lib/commonjs/components/NativeUserLocation.js +17 -0
  283. package/lib/commonjs/components/NativeUserLocation.js.map +1 -0
  284. package/lib/commonjs/components/PointAnnotation.js +121 -0
  285. package/lib/commonjs/components/PointAnnotation.js.map +1 -0
  286. package/lib/commonjs/components/RasterLayer.js +32 -0
  287. package/lib/commonjs/components/RasterLayer.js.map +1 -0
  288. package/lib/commonjs/components/RasterSource.js +67 -0
  289. package/lib/commonjs/components/RasterSource.js.map +1 -0
  290. package/lib/commonjs/components/ShapeSource.js +203 -0
  291. package/lib/commonjs/components/ShapeSource.js.map +1 -0
  292. package/lib/commonjs/components/Style.js +266 -0
  293. package/lib/commonjs/components/Style.js.map +1 -0
  294. package/lib/commonjs/components/SymbolLayer.js +53 -0
  295. package/lib/commonjs/components/SymbolLayer.js.map +1 -0
  296. package/lib/commonjs/components/UserLocation.js +188 -0
  297. package/lib/commonjs/components/UserLocation.js.map +1 -0
  298. package/lib/commonjs/components/VectorSource.js +129 -0
  299. package/lib/commonjs/components/VectorSource.js.map +1 -0
  300. package/lib/commonjs/hooks/useAbstractLayer.js +53 -0
  301. package/lib/commonjs/hooks/useAbstractLayer.js.map +1 -0
  302. package/lib/commonjs/hooks/useAbstractSource.js +24 -0
  303. package/lib/commonjs/hooks/useAbstractSource.js.map +1 -0
  304. package/lib/commonjs/hooks/useNativeBridge.js +84 -0
  305. package/lib/commonjs/hooks/useNativeBridge.js.map +1 -0
  306. package/lib/commonjs/hooks/useNativeRef.js +14 -0
  307. package/lib/commonjs/hooks/useNativeRef.js.map +1 -0
  308. package/lib/commonjs/hooks/useOnce.js +16 -0
  309. package/lib/commonjs/hooks/useOnce.js.map +1 -0
  310. package/lib/commonjs/index.js +23 -0
  311. package/lib/commonjs/index.js.map +1 -0
  312. package/lib/commonjs/modules/location/locationManager.js +91 -0
  313. package/lib/commonjs/modules/location/locationManager.js.map +1 -0
  314. package/lib/commonjs/modules/offline/OfflineCreatePackOptions.js +37 -0
  315. package/lib/commonjs/modules/offline/OfflineCreatePackOptions.js.map +1 -0
  316. package/lib/commonjs/modules/offline/OfflinePack.js +40 -0
  317. package/lib/commonjs/modules/offline/OfflinePack.js.map +1 -0
  318. package/lib/commonjs/modules/offline/offlineManager.js +346 -0
  319. package/lib/commonjs/modules/offline/offlineManager.js.map +1 -0
  320. package/lib/commonjs/modules/snapshot/SnapshotOptions.js +58 -0
  321. package/lib/commonjs/modules/snapshot/SnapshotOptions.js.map +1 -0
  322. package/lib/commonjs/modules/snapshot/snapshotManager.js +66 -0
  323. package/lib/commonjs/modules/snapshot/snapshotManager.js.map +1 -0
  324. package/lib/commonjs/requestAndroidLocationPermissions.js +25 -0
  325. package/lib/commonjs/requestAndroidLocationPermissions.js.map +1 -0
  326. package/lib/commonjs/types/BaseProps.js +2 -0
  327. package/lib/commonjs/types/BaseProps.js.map +1 -0
  328. package/lib/commonjs/types/CameraMode.js +14 -0
  329. package/lib/commonjs/types/CameraMode.js.map +1 -0
  330. package/lib/commonjs/types/MapLibreRNEvent.js +6 -0
  331. package/lib/commonjs/types/MapLibreRNEvent.js.map +1 -0
  332. package/lib/commonjs/types/OnPressEvent.js +2 -0
  333. package/lib/commonjs/types/OnPressEvent.js.map +1 -0
  334. package/lib/commonjs/types/StyleURL.js +11 -0
  335. package/lib/commonjs/types/StyleURL.js.map +1 -0
  336. package/lib/commonjs/utils/BridgeValue.js +59 -0
  337. package/lib/commonjs/utils/BridgeValue.js.map +1 -0
  338. package/lib/commonjs/utils/Logger.js +116 -0
  339. package/lib/commonjs/utils/Logger.js.map +1 -0
  340. package/lib/commonjs/utils/MapLibreRNStyles.d.js +181 -0
  341. package/lib/commonjs/utils/MapLibreRNStyles.d.js.map +1 -0
  342. package/lib/commonjs/utils/StyleValue.js +39 -0
  343. package/lib/commonjs/utils/StyleValue.js.map +1 -0
  344. package/lib/commonjs/utils/animated/AbstractAnimatedCoordinates.js +95 -0
  345. package/lib/commonjs/utils/animated/AbstractAnimatedCoordinates.js.map +1 -0
  346. package/lib/commonjs/utils/animated/Animated.js +47 -0
  347. package/lib/commonjs/utils/animated/Animated.js.map +1 -0
  348. package/lib/commonjs/utils/animated/AnimatedCoordinatesArray.js +92 -0
  349. package/lib/commonjs/utils/animated/AnimatedCoordinatesArray.js.map +1 -0
  350. package/lib/commonjs/utils/animated/AnimatedExtractCoordinateFromArray.js +40 -0
  351. package/lib/commonjs/utils/animated/AnimatedExtractCoordinateFromArray.js.map +1 -0
  352. package/lib/commonjs/utils/animated/AnimatedPoint.js +111 -0
  353. package/lib/commonjs/utils/animated/AnimatedPoint.js.map +1 -0
  354. package/lib/commonjs/utils/animated/AnimatedRouteCoordinatesArray.js +137 -0
  355. package/lib/commonjs/utils/animated/AnimatedRouteCoordinatesArray.js.map +1 -0
  356. package/lib/commonjs/utils/animated/AnimatedShape.js +75 -0
  357. package/lib/commonjs/utils/animated/AnimatedShape.js.map +1 -0
  358. package/lib/commonjs/utils/deprecation.js +31 -0
  359. package/lib/commonjs/utils/deprecation.js.map +1 -0
  360. package/lib/commonjs/utils/filterUtils.js +13 -0
  361. package/lib/commonjs/utils/filterUtils.js.map +1 -0
  362. package/lib/commonjs/utils/index.js +84 -0
  363. package/lib/commonjs/utils/index.js.map +1 -0
  364. package/lib/commonjs/utils/makeNativeBounds.js +11 -0
  365. package/lib/commonjs/utils/makeNativeBounds.js.map +1 -0
  366. package/lib/commonjs/utils/styleMap.js +255 -0
  367. package/lib/commonjs/utils/styleMap.js.map +1 -0
  368. package/lib/module/MLRNModule.js +15 -0
  369. package/lib/module/MLRNModule.js.map +1 -0
  370. package/lib/module/MapLibreRN.js +37 -0
  371. package/lib/module/MapLibreRN.js.map +1 -0
  372. package/lib/module/assets/heading.png +0 -0
  373. package/lib/module/assets/heading@2x.png +0 -0
  374. package/lib/module/assets/heading@3x.png +0 -0
  375. package/lib/module/assets/png.d.js +2 -0
  376. package/lib/module/assets/png.d.js.map +1 -0
  377. package/lib/module/components/Annotation.js +104 -0
  378. package/lib/module/components/Annotation.js.map +1 -0
  379. package/lib/module/components/BackgroundLayer.js +28 -0
  380. package/lib/module/components/BackgroundLayer.js.map +1 -0
  381. package/lib/module/components/Callout.js +97 -0
  382. package/lib/module/components/Callout.js.map +1 -0
  383. package/lib/module/components/Camera.js +280 -0
  384. package/lib/module/components/Camera.js.map +1 -0
  385. package/lib/module/components/CircleLayer.js +32 -0
  386. package/lib/module/components/CircleLayer.js.map +1 -0
  387. package/lib/module/components/FillExtrusionLayer.js +31 -0
  388. package/lib/module/components/FillExtrusionLayer.js.map +1 -0
  389. package/lib/module/components/FillLayer.js +31 -0
  390. package/lib/module/components/FillLayer.js.map +1 -0
  391. package/lib/module/components/HeadingIndicator.js +23 -0
  392. package/lib/module/components/HeadingIndicator.js.map +1 -0
  393. package/lib/module/components/HeatmapLayer.js +30 -0
  394. package/lib/module/components/HeatmapLayer.js.map +1 -0
  395. package/lib/module/components/ImageSource.js +37 -0
  396. package/lib/module/components/ImageSource.js.map +1 -0
  397. package/lib/module/components/Images.js +76 -0
  398. package/lib/module/components/Images.js.map +1 -0
  399. package/lib/module/components/Light.js +27 -0
  400. package/lib/module/components/Light.js.map +1 -0
  401. package/lib/module/components/LineLayer.js +31 -0
  402. package/lib/module/components/LineLayer.js.map +1 -0
  403. package/lib/module/components/MapView.js +458 -0
  404. package/lib/module/components/MapView.js.map +1 -0
  405. package/lib/module/components/MarkerView.js +56 -0
  406. package/lib/module/components/MarkerView.js.map +1 -0
  407. package/lib/module/components/NativeUserLocation.js +13 -0
  408. package/lib/module/components/NativeUserLocation.js.map +1 -0
  409. package/lib/module/components/PointAnnotation.js +116 -0
  410. package/lib/module/components/PointAnnotation.js.map +1 -0
  411. package/lib/module/components/RasterLayer.js +27 -0
  412. package/lib/module/components/RasterLayer.js.map +1 -0
  413. package/lib/module/components/RasterSource.js +62 -0
  414. package/lib/module/components/RasterSource.js.map +1 -0
  415. package/lib/module/components/ShapeSource.js +198 -0
  416. package/lib/module/components/ShapeSource.js.map +1 -0
  417. package/lib/module/components/Style.js +261 -0
  418. package/lib/module/components/Style.js.map +1 -0
  419. package/lib/module/components/SymbolLayer.js +48 -0
  420. package/lib/module/components/SymbolLayer.js.map +1 -0
  421. package/lib/module/components/UserLocation.js +182 -0
  422. package/lib/module/components/UserLocation.js.map +1 -0
  423. package/lib/module/components/VectorSource.js +124 -0
  424. package/lib/module/components/VectorSource.js.map +1 -0
  425. package/lib/module/hooks/useAbstractLayer.js +49 -0
  426. package/lib/module/hooks/useAbstractLayer.js.map +1 -0
  427. package/lib/module/hooks/useAbstractSource.js +20 -0
  428. package/lib/module/hooks/useAbstractSource.js.map +1 -0
  429. package/lib/module/hooks/useNativeBridge.js +80 -0
  430. package/lib/module/hooks/useNativeBridge.js.map +1 -0
  431. package/lib/module/hooks/useNativeRef.js +10 -0
  432. package/lib/module/hooks/useNativeRef.js.map +1 -0
  433. package/lib/module/hooks/useOnce.js +12 -0
  434. package/lib/module/hooks/useOnce.js.map +1 -0
  435. package/lib/module/index.js +6 -0
  436. package/lib/module/index.js.map +1 -0
  437. package/lib/module/modules/location/locationManager.js +87 -0
  438. package/lib/module/modules/location/locationManager.js.map +1 -0
  439. package/lib/module/modules/offline/OfflineCreatePackOptions.js +33 -0
  440. package/lib/module/modules/offline/OfflineCreatePackOptions.js.map +1 -0
  441. package/lib/module/modules/offline/OfflinePack.js +36 -0
  442. package/lib/module/modules/offline/OfflinePack.js.map +1 -0
  443. package/lib/module/modules/offline/offlineManager.js +341 -0
  444. package/lib/module/modules/offline/offlineManager.js.map +1 -0
  445. package/lib/module/modules/snapshot/SnapshotOptions.js +53 -0
  446. package/lib/module/modules/snapshot/SnapshotOptions.js.map +1 -0
  447. package/lib/module/modules/snapshot/snapshotManager.js +61 -0
  448. package/lib/module/modules/snapshot/snapshotManager.js.map +1 -0
  449. package/lib/module/requestAndroidLocationPermissions.js +21 -0
  450. package/lib/module/requestAndroidLocationPermissions.js.map +1 -0
  451. package/lib/module/types/BaseProps.js +2 -0
  452. package/lib/module/types/BaseProps.js.map +1 -0
  453. package/lib/module/types/CameraMode.js +10 -0
  454. package/lib/module/types/CameraMode.js.map +1 -0
  455. package/lib/module/types/MapLibreRNEvent.js +4 -0
  456. package/lib/module/types/MapLibreRNEvent.js.map +1 -0
  457. package/lib/module/types/OnPressEvent.js +2 -0
  458. package/lib/module/types/OnPressEvent.js.map +1 -0
  459. package/lib/module/types/StyleURL.js +7 -0
  460. package/lib/module/types/StyleURL.js.map +1 -0
  461. package/lib/module/utils/BridgeValue.js +54 -0
  462. package/lib/module/utils/BridgeValue.js.map +1 -0
  463. package/lib/module/utils/Logger.js +112 -0
  464. package/lib/module/utils/Logger.js.map +1 -0
  465. package/lib/module/utils/MapLibreRNStyles.d.js +180 -0
  466. package/lib/module/utils/MapLibreRNStyles.d.js.map +1 -0
  467. package/lib/module/utils/StyleValue.js +34 -0
  468. package/lib/module/utils/StyleValue.js.map +1 -0
  469. package/lib/module/utils/animated/AbstractAnimatedCoordinates.js +92 -0
  470. package/lib/module/utils/animated/AbstractAnimatedCoordinates.js.map +1 -0
  471. package/lib/module/utils/animated/Animated.js +42 -0
  472. package/lib/module/utils/animated/Animated.js.map +1 -0
  473. package/lib/module/utils/animated/AnimatedCoordinatesArray.js +87 -0
  474. package/lib/module/utils/animated/AnimatedCoordinatesArray.js.map +1 -0
  475. package/lib/module/utils/animated/AnimatedExtractCoordinateFromArray.js +36 -0
  476. package/lib/module/utils/animated/AnimatedExtractCoordinateFromArray.js.map +1 -0
  477. package/lib/module/utils/animated/AnimatedPoint.js +107 -0
  478. package/lib/module/utils/animated/AnimatedPoint.js.map +1 -0
  479. package/lib/module/utils/animated/AnimatedRouteCoordinatesArray.js +131 -0
  480. package/lib/module/utils/animated/AnimatedRouteCoordinatesArray.js.map +1 -0
  481. package/lib/module/utils/animated/AnimatedShape.js +71 -0
  482. package/lib/module/utils/animated/AnimatedShape.js.map +1 -0
  483. package/lib/module/utils/deprecation.js +27 -0
  484. package/lib/module/utils/deprecation.js.map +1 -0
  485. package/lib/module/utils/filterUtils.js +9 -0
  486. package/lib/module/utils/filterUtils.js.map +1 -0
  487. package/lib/module/utils/index.js +69 -0
  488. package/lib/module/utils/index.js.map +1 -0
  489. package/lib/module/utils/makeNativeBounds.js +7 -0
  490. package/lib/module/utils/makeNativeBounds.js.map +1 -0
  491. package/lib/module/utils/styleMap.js +249 -0
  492. package/lib/module/utils/styleMap.js.map +1 -0
  493. package/lib/typescript/commonjs/package.json +1 -0
  494. package/lib/typescript/commonjs/src/MLRNModule.d.ts +21 -0
  495. package/lib/typescript/commonjs/src/MLRNModule.d.ts.map +1 -0
  496. package/lib/typescript/commonjs/src/MapLibreRN.d.ts +42 -0
  497. package/lib/typescript/commonjs/src/MapLibreRN.d.ts.map +1 -0
  498. package/lib/typescript/commonjs/src/components/Annotation.d.ts +21 -0
  499. package/lib/typescript/commonjs/src/components/Annotation.d.ts.map +1 -0
  500. package/lib/typescript/commonjs/src/components/BackgroundLayer.d.ts +14 -0
  501. package/lib/typescript/commonjs/src/components/BackgroundLayer.d.ts.map +1 -0
  502. package/lib/typescript/commonjs/src/components/Callout.d.ts +35 -0
  503. package/lib/typescript/commonjs/src/components/Callout.d.ts.map +1 -0
  504. package/lib/typescript/commonjs/src/components/Camera.d.ts +134 -0
  505. package/lib/typescript/commonjs/src/components/Camera.d.ts.map +1 -0
  506. package/lib/typescript/commonjs/src/components/CircleLayer.d.ts +17 -0
  507. package/lib/typescript/commonjs/src/components/CircleLayer.d.ts.map +1 -0
  508. package/lib/typescript/commonjs/src/components/FillExtrusionLayer.d.ts +17 -0
  509. package/lib/typescript/commonjs/src/components/FillExtrusionLayer.d.ts.map +1 -0
  510. package/lib/typescript/commonjs/src/components/FillLayer.d.ts +17 -0
  511. package/lib/typescript/commonjs/src/components/FillLayer.d.ts.map +1 -0
  512. package/lib/typescript/commonjs/src/components/HeadingIndicator.d.ts +8 -0
  513. package/lib/typescript/commonjs/src/components/HeadingIndicator.d.ts.map +1 -0
  514. package/lib/typescript/commonjs/src/components/HeatmapLayer.d.ts +17 -0
  515. package/lib/typescript/commonjs/src/components/HeatmapLayer.d.ts.map +1 -0
  516. package/lib/typescript/commonjs/src/components/ImageSource.d.ts +31 -0
  517. package/lib/typescript/commonjs/src/components/ImageSource.d.ts.map +1 -0
  518. package/lib/typescript/commonjs/src/components/Images.d.ts +33 -0
  519. package/lib/typescript/commonjs/src/components/Images.d.ts.map +1 -0
  520. package/lib/typescript/commonjs/src/components/Light.d.ts +17 -0
  521. package/lib/typescript/commonjs/src/components/Light.d.ts.map +1 -0
  522. package/lib/typescript/commonjs/src/components/LineLayer.d.ts +17 -0
  523. package/lib/typescript/commonjs/src/components/LineLayer.d.ts.map +1 -0
  524. package/lib/typescript/commonjs/src/components/MapView.d.ts +235 -0
  525. package/lib/typescript/commonjs/src/components/MapView.d.ts.map +1 -0
  526. package/lib/typescript/commonjs/src/components/MarkerView.d.ts +44 -0
  527. package/lib/typescript/commonjs/src/components/MarkerView.d.ts.map +1 -0
  528. package/lib/typescript/commonjs/src/components/NativeUserLocation.d.ts +26 -0
  529. package/lib/typescript/commonjs/src/components/NativeUserLocation.d.ts.map +1 -0
  530. package/lib/typescript/commonjs/src/components/PointAnnotation.d.ts +91 -0
  531. package/lib/typescript/commonjs/src/components/PointAnnotation.d.ts.map +1 -0
  532. package/lib/typescript/commonjs/src/components/RasterLayer.d.ts +14 -0
  533. package/lib/typescript/commonjs/src/components/RasterLayer.d.ts.map +1 -0
  534. package/lib/typescript/commonjs/src/components/RasterSource.d.ts +53 -0
  535. package/lib/typescript/commonjs/src/components/RasterSource.d.ts.map +1 -0
  536. package/lib/typescript/commonjs/src/components/ShapeSource.d.ts +124 -0
  537. package/lib/typescript/commonjs/src/components/ShapeSource.d.ts.map +1 -0
  538. package/lib/typescript/commonjs/src/components/Style.d.ts +81 -0
  539. package/lib/typescript/commonjs/src/components/Style.d.ts.map +1 -0
  540. package/lib/typescript/commonjs/src/components/SymbolLayer.d.ts +22 -0
  541. package/lib/typescript/commonjs/src/components/SymbolLayer.d.ts.map +1 -0
  542. package/lib/typescript/commonjs/src/components/UserLocation.d.ts +70 -0
  543. package/lib/typescript/commonjs/src/components/UserLocation.d.ts.map +1 -0
  544. package/lib/typescript/commonjs/src/components/VectorSource.d.ts +70 -0
  545. package/lib/typescript/commonjs/src/components/VectorSource.d.ts.map +1 -0
  546. package/lib/typescript/commonjs/src/hooks/useAbstractLayer.d.ts +62 -0
  547. package/lib/typescript/commonjs/src/hooks/useAbstractLayer.d.ts.map +1 -0
  548. package/lib/typescript/commonjs/src/hooks/useAbstractSource.d.ts +7 -0
  549. package/lib/typescript/commonjs/src/hooks/useAbstractSource.d.ts.map +1 -0
  550. package/lib/typescript/commonjs/src/hooks/useNativeBridge.d.ts +21 -0
  551. package/lib/typescript/commonjs/src/hooks/useNativeBridge.d.ts.map +1 -0
  552. package/lib/typescript/commonjs/src/hooks/useNativeRef.d.ts +8 -0
  553. package/lib/typescript/commonjs/src/hooks/useNativeRef.d.ts.map +1 -0
  554. package/lib/typescript/commonjs/src/hooks/useOnce.d.ts +3 -0
  555. package/lib/typescript/commonjs/src/hooks/useOnce.d.ts.map +1 -0
  556. package/lib/typescript/commonjs/src/index.d.ts +4 -0
  557. package/lib/typescript/commonjs/src/index.d.ts.map +1 -0
  558. package/lib/typescript/commonjs/src/modules/location/locationManager.d.ts +64 -0
  559. package/lib/typescript/commonjs/src/modules/location/locationManager.d.ts.map +1 -0
  560. package/lib/typescript/commonjs/src/modules/offline/OfflineCreatePackOptions.d.ts +21 -0
  561. package/lib/typescript/commonjs/src/modules/offline/OfflineCreatePackOptions.d.ts.map +1 -0
  562. package/lib/typescript/commonjs/src/modules/offline/OfflinePack.d.ts +24 -0
  563. package/lib/typescript/commonjs/src/modules/offline/OfflinePack.d.ts.map +1 -0
  564. package/lib/typescript/commonjs/src/modules/offline/offlineManager.d.ts +210 -0
  565. package/lib/typescript/commonjs/src/modules/offline/offlineManager.d.ts.map +1 -0
  566. package/lib/typescript/commonjs/src/modules/snapshot/SnapshotOptions.d.ts +42 -0
  567. package/lib/typescript/commonjs/src/modules/snapshot/SnapshotOptions.d.ts.map +1 -0
  568. package/lib/typescript/commonjs/src/modules/snapshot/snapshotManager.d.ts +52 -0
  569. package/lib/typescript/commonjs/src/modules/snapshot/snapshotManager.d.ts.map +1 -0
  570. package/lib/typescript/commonjs/src/requestAndroidLocationPermissions.d.ts +2 -0
  571. package/lib/typescript/commonjs/src/requestAndroidLocationPermissions.d.ts.map +1 -0
  572. package/lib/typescript/commonjs/src/types/BaseProps.d.ts +4 -0
  573. package/lib/typescript/commonjs/src/types/BaseProps.d.ts.map +1 -0
  574. package/lib/typescript/commonjs/src/types/CameraMode.d.ts +7 -0
  575. package/lib/typescript/commonjs/src/types/CameraMode.d.ts.map +1 -0
  576. package/lib/typescript/commonjs/src/types/MapLibreRNEvent.d.ts +6 -0
  577. package/lib/typescript/commonjs/src/types/MapLibreRNEvent.d.ts.map +1 -0
  578. package/lib/typescript/commonjs/src/types/OnPressEvent.d.ts +12 -0
  579. package/lib/typescript/commonjs/src/types/OnPressEvent.d.ts.map +1 -0
  580. package/lib/typescript/commonjs/src/types/StyleURL.d.ts +4 -0
  581. package/lib/typescript/commonjs/src/types/StyleURL.d.ts.map +1 -0
  582. package/lib/typescript/commonjs/src/utils/BridgeValue.d.ts +29 -0
  583. package/lib/typescript/commonjs/src/utils/BridgeValue.d.ts.map +1 -0
  584. package/lib/typescript/commonjs/src/utils/Logger.d.ts +52 -0
  585. package/lib/typescript/commonjs/src/utils/Logger.d.ts.map +1 -0
  586. package/lib/typescript/commonjs/src/utils/StyleValue.d.ts +10 -0
  587. package/lib/typescript/commonjs/src/utils/StyleValue.d.ts.map +1 -0
  588. package/lib/typescript/commonjs/src/utils/animated/AbstractAnimatedCoordinates.d.ts +36 -0
  589. package/lib/typescript/commonjs/src/utils/animated/AbstractAnimatedCoordinates.d.ts.map +1 -0
  590. package/lib/typescript/commonjs/src/utils/animated/Animated.d.ts +33 -0
  591. package/lib/typescript/commonjs/src/utils/animated/Animated.d.ts.map +1 -0
  592. package/lib/typescript/commonjs/src/utils/animated/AnimatedCoordinatesArray.d.ts +40 -0
  593. package/lib/typescript/commonjs/src/utils/animated/AnimatedCoordinatesArray.d.ts.map +1 -0
  594. package/lib/typescript/commonjs/src/utils/animated/AnimatedExtractCoordinateFromArray.d.ts +11 -0
  595. package/lib/typescript/commonjs/src/utils/animated/AnimatedExtractCoordinateFromArray.d.ts.map +1 -0
  596. package/lib/typescript/commonjs/src/utils/animated/AnimatedPoint.d.ts +31 -0
  597. package/lib/typescript/commonjs/src/utils/animated/AnimatedPoint.d.ts.map +1 -0
  598. package/lib/typescript/commonjs/src/utils/animated/AnimatedRouteCoordinatesArray.d.ts +54 -0
  599. package/lib/typescript/commonjs/src/utils/animated/AnimatedRouteCoordinatesArray.d.ts.map +1 -0
  600. package/lib/typescript/commonjs/src/utils/animated/AnimatedShape.d.ts +27 -0
  601. package/lib/typescript/commonjs/src/utils/animated/AnimatedShape.d.ts.map +1 -0
  602. package/lib/typescript/commonjs/src/utils/deprecation.d.ts +6 -0
  603. package/lib/typescript/commonjs/src/utils/deprecation.d.ts.map +1 -0
  604. package/lib/typescript/commonjs/src/utils/filterUtils.d.ts +3 -0
  605. package/lib/typescript/commonjs/src/utils/filterUtils.d.ts.map +1 -0
  606. package/lib/typescript/commonjs/src/utils/index.d.ts +20 -0
  607. package/lib/typescript/commonjs/src/utils/index.d.ts.map +1 -0
  608. package/lib/typescript/commonjs/src/utils/makeNativeBounds.d.ts +2 -0
  609. package/lib/typescript/commonjs/src/utils/makeNativeBounds.d.ts.map +1 -0
  610. package/lib/typescript/commonjs/src/utils/styleMap.d.ts +231 -0
  611. package/lib/typescript/commonjs/src/utils/styleMap.d.ts.map +1 -0
  612. package/lib/typescript/module/package.json +1 -0
  613. package/lib/typescript/module/src/MLRNModule.d.ts +21 -0
  614. package/lib/typescript/module/src/MLRNModule.d.ts.map +1 -0
  615. package/lib/typescript/module/src/MapLibreRN.d.ts +42 -0
  616. package/lib/typescript/module/src/MapLibreRN.d.ts.map +1 -0
  617. package/lib/typescript/module/src/components/Annotation.d.ts +21 -0
  618. package/lib/typescript/module/src/components/Annotation.d.ts.map +1 -0
  619. package/lib/typescript/module/src/components/BackgroundLayer.d.ts +14 -0
  620. package/lib/typescript/module/src/components/BackgroundLayer.d.ts.map +1 -0
  621. package/lib/typescript/module/src/components/Callout.d.ts +35 -0
  622. package/lib/typescript/module/src/components/Callout.d.ts.map +1 -0
  623. package/lib/typescript/module/src/components/Camera.d.ts +134 -0
  624. package/lib/typescript/module/src/components/Camera.d.ts.map +1 -0
  625. package/lib/typescript/module/src/components/CircleLayer.d.ts +17 -0
  626. package/lib/typescript/module/src/components/CircleLayer.d.ts.map +1 -0
  627. package/lib/typescript/module/src/components/FillExtrusionLayer.d.ts +17 -0
  628. package/lib/typescript/module/src/components/FillExtrusionLayer.d.ts.map +1 -0
  629. package/lib/typescript/module/src/components/FillLayer.d.ts +17 -0
  630. package/lib/typescript/module/src/components/FillLayer.d.ts.map +1 -0
  631. package/lib/typescript/module/src/components/HeadingIndicator.d.ts +8 -0
  632. package/lib/typescript/module/src/components/HeadingIndicator.d.ts.map +1 -0
  633. package/lib/typescript/module/src/components/HeatmapLayer.d.ts +17 -0
  634. package/lib/typescript/module/src/components/HeatmapLayer.d.ts.map +1 -0
  635. package/lib/typescript/module/src/components/ImageSource.d.ts +31 -0
  636. package/lib/typescript/module/src/components/ImageSource.d.ts.map +1 -0
  637. package/lib/typescript/module/src/components/Images.d.ts +33 -0
  638. package/lib/typescript/module/src/components/Images.d.ts.map +1 -0
  639. package/lib/typescript/module/src/components/Light.d.ts +17 -0
  640. package/lib/typescript/module/src/components/Light.d.ts.map +1 -0
  641. package/lib/typescript/module/src/components/LineLayer.d.ts +17 -0
  642. package/lib/typescript/module/src/components/LineLayer.d.ts.map +1 -0
  643. package/lib/typescript/module/src/components/MapView.d.ts +235 -0
  644. package/lib/typescript/module/src/components/MapView.d.ts.map +1 -0
  645. package/lib/typescript/module/src/components/MarkerView.d.ts +44 -0
  646. package/lib/typescript/module/src/components/MarkerView.d.ts.map +1 -0
  647. package/lib/typescript/module/src/components/NativeUserLocation.d.ts +26 -0
  648. package/lib/typescript/module/src/components/NativeUserLocation.d.ts.map +1 -0
  649. package/lib/typescript/module/src/components/PointAnnotation.d.ts +91 -0
  650. package/lib/typescript/module/src/components/PointAnnotation.d.ts.map +1 -0
  651. package/lib/typescript/module/src/components/RasterLayer.d.ts +14 -0
  652. package/lib/typescript/module/src/components/RasterLayer.d.ts.map +1 -0
  653. package/lib/typescript/module/src/components/RasterSource.d.ts +53 -0
  654. package/lib/typescript/module/src/components/RasterSource.d.ts.map +1 -0
  655. package/lib/typescript/module/src/components/ShapeSource.d.ts +124 -0
  656. package/lib/typescript/module/src/components/ShapeSource.d.ts.map +1 -0
  657. package/lib/typescript/module/src/components/Style.d.ts +81 -0
  658. package/lib/typescript/module/src/components/Style.d.ts.map +1 -0
  659. package/lib/typescript/module/src/components/SymbolLayer.d.ts +22 -0
  660. package/lib/typescript/module/src/components/SymbolLayer.d.ts.map +1 -0
  661. package/lib/typescript/module/src/components/UserLocation.d.ts +70 -0
  662. package/lib/typescript/module/src/components/UserLocation.d.ts.map +1 -0
  663. package/lib/typescript/module/src/components/VectorSource.d.ts +70 -0
  664. package/lib/typescript/module/src/components/VectorSource.d.ts.map +1 -0
  665. package/lib/typescript/module/src/hooks/useAbstractLayer.d.ts +62 -0
  666. package/lib/typescript/module/src/hooks/useAbstractLayer.d.ts.map +1 -0
  667. package/lib/typescript/module/src/hooks/useAbstractSource.d.ts +7 -0
  668. package/lib/typescript/module/src/hooks/useAbstractSource.d.ts.map +1 -0
  669. package/lib/typescript/module/src/hooks/useNativeBridge.d.ts +21 -0
  670. package/lib/typescript/module/src/hooks/useNativeBridge.d.ts.map +1 -0
  671. package/lib/typescript/module/src/hooks/useNativeRef.d.ts +8 -0
  672. package/lib/typescript/module/src/hooks/useNativeRef.d.ts.map +1 -0
  673. package/lib/typescript/module/src/hooks/useOnce.d.ts +3 -0
  674. package/lib/typescript/module/src/hooks/useOnce.d.ts.map +1 -0
  675. package/lib/typescript/module/src/index.d.ts +4 -0
  676. package/lib/typescript/module/src/index.d.ts.map +1 -0
  677. package/lib/typescript/module/src/modules/location/locationManager.d.ts +64 -0
  678. package/lib/typescript/module/src/modules/location/locationManager.d.ts.map +1 -0
  679. package/lib/typescript/module/src/modules/offline/OfflineCreatePackOptions.d.ts +21 -0
  680. package/lib/typescript/module/src/modules/offline/OfflineCreatePackOptions.d.ts.map +1 -0
  681. package/lib/typescript/module/src/modules/offline/OfflinePack.d.ts +24 -0
  682. package/lib/typescript/module/src/modules/offline/OfflinePack.d.ts.map +1 -0
  683. package/lib/typescript/module/src/modules/offline/offlineManager.d.ts +210 -0
  684. package/lib/typescript/module/src/modules/offline/offlineManager.d.ts.map +1 -0
  685. package/lib/typescript/module/src/modules/snapshot/SnapshotOptions.d.ts +42 -0
  686. package/lib/typescript/module/src/modules/snapshot/SnapshotOptions.d.ts.map +1 -0
  687. package/lib/typescript/module/src/modules/snapshot/snapshotManager.d.ts +52 -0
  688. package/lib/typescript/module/src/modules/snapshot/snapshotManager.d.ts.map +1 -0
  689. package/lib/typescript/module/src/requestAndroidLocationPermissions.d.ts +2 -0
  690. package/lib/typescript/module/src/requestAndroidLocationPermissions.d.ts.map +1 -0
  691. package/lib/typescript/module/src/types/BaseProps.d.ts +4 -0
  692. package/lib/typescript/module/src/types/BaseProps.d.ts.map +1 -0
  693. package/lib/typescript/module/src/types/CameraMode.d.ts +7 -0
  694. package/lib/typescript/module/src/types/CameraMode.d.ts.map +1 -0
  695. package/lib/typescript/module/src/types/MapLibreRNEvent.d.ts +6 -0
  696. package/lib/typescript/module/src/types/MapLibreRNEvent.d.ts.map +1 -0
  697. package/lib/typescript/module/src/types/OnPressEvent.d.ts +12 -0
  698. package/lib/typescript/module/src/types/OnPressEvent.d.ts.map +1 -0
  699. package/lib/typescript/module/src/types/StyleURL.d.ts +4 -0
  700. package/lib/typescript/module/src/types/StyleURL.d.ts.map +1 -0
  701. package/lib/typescript/module/src/utils/BridgeValue.d.ts +29 -0
  702. package/lib/typescript/module/src/utils/BridgeValue.d.ts.map +1 -0
  703. package/lib/typescript/module/src/utils/Logger.d.ts +52 -0
  704. package/lib/typescript/module/src/utils/Logger.d.ts.map +1 -0
  705. package/lib/typescript/module/src/utils/StyleValue.d.ts +10 -0
  706. package/lib/typescript/module/src/utils/StyleValue.d.ts.map +1 -0
  707. package/lib/typescript/module/src/utils/animated/AbstractAnimatedCoordinates.d.ts +36 -0
  708. package/lib/typescript/module/src/utils/animated/AbstractAnimatedCoordinates.d.ts.map +1 -0
  709. package/lib/typescript/module/src/utils/animated/Animated.d.ts +33 -0
  710. package/lib/typescript/module/src/utils/animated/Animated.d.ts.map +1 -0
  711. package/lib/typescript/module/src/utils/animated/AnimatedCoordinatesArray.d.ts +40 -0
  712. package/lib/typescript/module/src/utils/animated/AnimatedCoordinatesArray.d.ts.map +1 -0
  713. package/lib/typescript/module/src/utils/animated/AnimatedExtractCoordinateFromArray.d.ts +11 -0
  714. package/lib/typescript/module/src/utils/animated/AnimatedExtractCoordinateFromArray.d.ts.map +1 -0
  715. package/lib/typescript/module/src/utils/animated/AnimatedPoint.d.ts +31 -0
  716. package/lib/typescript/module/src/utils/animated/AnimatedPoint.d.ts.map +1 -0
  717. package/lib/typescript/module/src/utils/animated/AnimatedRouteCoordinatesArray.d.ts +54 -0
  718. package/lib/typescript/module/src/utils/animated/AnimatedRouteCoordinatesArray.d.ts.map +1 -0
  719. package/lib/typescript/module/src/utils/animated/AnimatedShape.d.ts +27 -0
  720. package/lib/typescript/module/src/utils/animated/AnimatedShape.d.ts.map +1 -0
  721. package/lib/typescript/module/src/utils/deprecation.d.ts +6 -0
  722. package/lib/typescript/module/src/utils/deprecation.d.ts.map +1 -0
  723. package/lib/typescript/module/src/utils/filterUtils.d.ts +3 -0
  724. package/lib/typescript/module/src/utils/filterUtils.d.ts.map +1 -0
  725. package/lib/typescript/module/src/utils/index.d.ts +20 -0
  726. package/lib/typescript/module/src/utils/index.d.ts.map +1 -0
  727. package/lib/typescript/module/src/utils/makeNativeBounds.d.ts +2 -0
  728. package/lib/typescript/module/src/utils/makeNativeBounds.d.ts.map +1 -0
  729. package/lib/typescript/module/src/utils/styleMap.d.ts +231 -0
  730. package/lib/typescript/module/src/utils/styleMap.d.ts.map +1 -0
  731. package/maplibre-react-native.podspec +14 -14
  732. package/package.json +132 -81
  733. package/plugin/build/withMapLibre.d.ts +2 -2
  734. package/plugin/build/withMapLibre.js +48 -34
  735. package/src/MLRNModule.ts +46 -0
  736. package/src/MapLibreRN.ts +70 -0
  737. package/src/assets/heading.png +0 -0
  738. package/src/assets/heading@2x.png +0 -0
  739. package/src/assets/heading@3x.png +0 -0
  740. package/src/assets/png.d.ts +4 -0
  741. package/src/components/Annotation.tsx +164 -0
  742. package/src/components/BackgroundLayer.tsx +50 -0
  743. package/src/components/Callout.tsx +141 -0
  744. package/src/components/Camera.tsx +492 -0
  745. package/src/components/CircleLayer.tsx +52 -0
  746. package/src/components/FillExtrusionLayer.tsx +47 -0
  747. package/src/components/FillLayer.tsx +44 -0
  748. package/src/components/HeadingIndicator.tsx +30 -0
  749. package/src/components/HeatmapLayer.tsx +46 -0
  750. package/src/components/ImageSource.tsx +70 -0
  751. package/src/components/Images.tsx +136 -0
  752. package/src/components/Light.tsx +40 -0
  753. package/src/components/LineLayer.tsx +45 -0
  754. package/src/components/MapView.tsx +879 -0
  755. package/src/components/MarkerView.tsx +88 -0
  756. package/src/components/NativeUserLocation.tsx +35 -0
  757. package/src/components/PointAnnotation.tsx +245 -0
  758. package/src/components/RasterLayer.tsx +43 -0
  759. package/src/components/RasterSource.tsx +114 -0
  760. package/src/components/ShapeSource.tsx +436 -0
  761. package/src/components/Style.tsx +371 -0
  762. package/src/components/SymbolLayer.tsx +77 -0
  763. package/src/components/UserLocation.tsx +307 -0
  764. package/src/components/VectorSource.tsx +218 -0
  765. package/src/hooks/useAbstractLayer.ts +127 -0
  766. package/src/hooks/useAbstractSource.ts +34 -0
  767. package/src/hooks/useNativeBridge.ts +125 -0
  768. package/src/hooks/useNativeRef.ts +14 -0
  769. package/src/hooks/useOnce.ts +12 -0
  770. package/src/index.ts +4 -0
  771. package/src/modules/location/locationManager.ts +161 -0
  772. package/src/modules/offline/OfflineCreatePackOptions.ts +55 -0
  773. package/src/modules/offline/OfflinePack.ts +56 -0
  774. package/src/modules/offline/offlineManager.ts +438 -0
  775. package/src/modules/snapshot/SnapshotOptions.ts +103 -0
  776. package/src/modules/snapshot/snapshotManager.ts +62 -0
  777. package/src/requestAndroidLocationPermissions.ts +29 -0
  778. package/src/types/BaseProps.ts +3 -0
  779. package/src/types/CameraMode.ts +6 -0
  780. package/src/types/MapLibreRNEvent.ts +7 -0
  781. package/src/types/OnPressEvent.ts +11 -0
  782. package/src/types/StyleURL.ts +3 -0
  783. package/src/utils/BridgeValue.ts +90 -0
  784. package/src/utils/Logger.ts +133 -0
  785. package/src/utils/MapLibreRNStyles.d.ts +1494 -0
  786. package/src/utils/StyleValue.ts +51 -0
  787. package/src/utils/animated/AbstractAnimatedCoordinates.ts +134 -0
  788. package/src/utils/animated/Animated.ts +61 -0
  789. package/src/utils/animated/AnimatedCoordinatesArray.ts +113 -0
  790. package/src/utils/animated/AnimatedExtractCoordinateFromArray.ts +43 -0
  791. package/src/utils/animated/AnimatedPoint.ts +134 -0
  792. package/src/utils/animated/AnimatedRouteCoordinatesArray.ts +150 -0
  793. package/src/utils/animated/AnimatedShape.ts +93 -0
  794. package/src/utils/deprecation.ts +31 -0
  795. package/src/utils/filterUtils.ts +9 -0
  796. package/src/utils/index.ts +118 -0
  797. package/src/utils/makeNativeBounds.ts +5 -0
  798. package/src/utils/styleMap.ts +265 -0
  799. package/.eslintignore +0 -3
  800. package/.eslintrc.js +0 -169
  801. package/.gitattributes +0 -1
  802. package/.husky/pre-commit +0 -5
  803. package/.nvmrc +0 -1
  804. package/.prettierrc.js +0 -7
  805. package/.sonarcloud.properties +0 -15
  806. package/.yarn/sdks/eslint/bin/eslint.js +0 -27
  807. package/.yarn/sdks/eslint/lib/api.js +0 -27
  808. package/.yarn/sdks/eslint/lib/unsupported-api.js +0 -27
  809. package/.yarn/sdks/eslint/package.json +0 -14
  810. package/.yarn/sdks/integrations.yml +0 -5
  811. package/.yarn/sdks/prettier/bin/prettier.cjs +0 -27
  812. package/.yarn/sdks/prettier/index.cjs +0 -27
  813. package/.yarn/sdks/prettier/package.json +0 -7
  814. package/.yarn/sdks/typescript/bin/tsc +0 -27
  815. package/.yarn/sdks/typescript/bin/tsserver +0 -27
  816. package/.yarn/sdks/typescript/lib/tsc.js +0 -27
  817. package/.yarn/sdks/typescript/lib/tsserver.js +0 -239
  818. package/.yarn/sdks/typescript/lib/tsserverlibrary.js +0 -239
  819. package/.yarn/sdks/typescript/lib/typescript.js +0 -27
  820. package/.yarn/sdks/typescript/package.json +0 -10
  821. package/CHANGELOG.md +0 -426
  822. package/CODE_OF_CONDUCT.md +0 -2
  823. package/CONTRIBUTING.md +0 -55
  824. package/RELEASE.md +0 -30
  825. package/android/rctmln/.settings/org.eclipse.buildship.core.prefs +0 -2
  826. package/android/rctmln/build.gradle +0 -59
  827. package/android/rctmln/proguard-rules.pro +0 -25
  828. package/android/rctmln/src/main/AndroidManifest.xml +0 -4
  829. package/android/rctmln/src/main/java/com/maplibre/rctmln/RCTMLNPackage.java +0 -99
  830. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/AbstractEvent.java +0 -35
  831. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/AbstractEventEmitter.java +0 -80
  832. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/AbstractMapFeature.java +0 -19
  833. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/MarkerView.java +0 -23
  834. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/MarkerViewManager.java +0 -69
  835. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNCallout.java +0 -15
  836. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNCalloutManager.java +0 -22
  837. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNMarkerView.java +0 -112
  838. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNMarkerViewManager.java +0 -45
  839. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNPointAnnotation.java +0 -361
  840. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNPointAnnotationManager.java +0 -88
  841. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/camera/CameraStop.java +0 -251
  842. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/camera/CameraUpdateItem.java +0 -125
  843. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/camera/CameraUpdateQueue.java +0 -73
  844. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/camera/RCTMLNCamera.java +0 -530
  845. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/camera/RCTMLNCameraManager.java +0 -101
  846. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/camera/constants/CameraMode.java +0 -22
  847. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/images/RCTMLNImages.java +0 -234
  848. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/images/RCTMLNImagesManager.java +0 -103
  849. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/location/LocationComponentManager.java +0 -149
  850. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/location/RCTMLNNativeUserLocation.java +0 -66
  851. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/location/RCTMLNNativeUserLocationManager.java +0 -35
  852. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/mapview/LayerSourceInfo.java +0 -59
  853. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/mapview/RCTMLNAndroidTextureMapView.java +0 -16
  854. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/mapview/RCTMLNAndroidTextureMapViewManager.java +0 -31
  855. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/mapview/RCTMLNMapView.java +0 -1527
  856. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/mapview/RCTMLNMapViewManager.java +0 -353
  857. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/mapview/helpers/CameraChangeTracker.java +0 -41
  858. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/RCTMLNStyle.java +0 -83
  859. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/RCTMLNStyleFactory.java +0 -2275
  860. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/RCTMLNStyleFunctionParser.java +0 -107
  861. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/RCTMLNStyleValue.java +0 -212
  862. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTLayer.java +0 -287
  863. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNBackgroundLayer.java +0 -27
  864. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNBackgroundLayerManager.java +0 -64
  865. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNCircleLayer.java +0 -55
  866. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNCircleLayerManager.java +0 -77
  867. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNFillExtrusionLayer.java +0 -55
  868. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNFillExtrusionLayerManager.java +0 -80
  869. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNFillLayer.java +0 -55
  870. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNFillLayerManager.java +0 -80
  871. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNHeatmapLayer.java +0 -55
  872. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNHeatmapLayerManager.java +0 -77
  873. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNLineLayer.java +0 -55
  874. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNLineLayerManager.java +0 -79
  875. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNRasterLayer.java +0 -27
  876. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNRasterLayerManager.java +0 -64
  877. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNSymbolLayer.java +0 -55
  878. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNSymbolLayerManager.java +0 -75
  879. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/light/RCTMLNLight.java +0 -65
  880. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/light/RCTMLNLightManager.java +0 -29
  881. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNImageSource.java +0 -81
  882. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNImageSourceManager.java +0 -72
  883. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNRasterSource.java +0 -45
  884. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNRasterSourceManager.java +0 -44
  885. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNShapeSource.java +0 -316
  886. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNShapeSourceManager.java +0 -253
  887. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNTileSource.java +0 -97
  888. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNTileSourceManager.java +0 -80
  889. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNVectorSource.java +0 -64
  890. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNVectorSourceManager.java +0 -84
  891. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTSource.java +0 -244
  892. package/android/rctmln/src/main/java/com/maplibre/rctmln/events/AbstractEvent.java +0 -66
  893. package/android/rctmln/src/main/java/com/maplibre/rctmln/events/AndroidCallbackEvent.java +0 -38
  894. package/android/rctmln/src/main/java/com/maplibre/rctmln/events/EventEmitter.java +0 -45
  895. package/android/rctmln/src/main/java/com/maplibre/rctmln/events/FeatureClickEvent.java +0 -79
  896. package/android/rctmln/src/main/java/com/maplibre/rctmln/events/IEvent.java +0 -18
  897. package/android/rctmln/src/main/java/com/maplibre/rctmln/events/ImageMissingEvent.java +0 -42
  898. package/android/rctmln/src/main/java/com/maplibre/rctmln/events/LocationEvent.java +0 -100
  899. package/android/rctmln/src/main/java/com/maplibre/rctmln/events/MapChangeEvent.java +0 -47
  900. package/android/rctmln/src/main/java/com/maplibre/rctmln/events/MapClickEvent.java +0 -51
  901. package/android/rctmln/src/main/java/com/maplibre/rctmln/events/MapUserTrackingModeEvent.java +0 -36
  902. package/android/rctmln/src/main/java/com/maplibre/rctmln/events/OfflineEvent.java +0 -29
  903. package/android/rctmln/src/main/java/com/maplibre/rctmln/events/PointAnnotationClickEvent.java +0 -46
  904. package/android/rctmln/src/main/java/com/maplibre/rctmln/events/PointAnnotationDragEvent.java +0 -51
  905. package/android/rctmln/src/main/java/com/maplibre/rctmln/events/constants/EventKeys.java +0 -39
  906. package/android/rctmln/src/main/java/com/maplibre/rctmln/events/constants/EventTypes.java +0 -51
  907. package/android/rctmln/src/main/java/com/maplibre/rctmln/http/CustomHeadersInterceptor.java +0 -38
  908. package/android/rctmln/src/main/java/com/maplibre/rctmln/location/LocationManager.java +0 -168
  909. package/android/rctmln/src/main/java/com/maplibre/rctmln/location/UserLocation.java +0 -63
  910. package/android/rctmln/src/main/java/com/maplibre/rctmln/location/UserLocationVerticalAlignment.java +0 -11
  911. package/android/rctmln/src/main/java/com/maplibre/rctmln/location/UserTrackingMode.java +0 -63
  912. package/android/rctmln/src/main/java/com/maplibre/rctmln/location/UserTrackingState.java +0 -19
  913. package/android/rctmln/src/main/java/com/maplibre/rctmln/modules/RCTMLNLocationModule.java +0 -158
  914. package/android/rctmln/src/main/java/com/maplibre/rctmln/modules/RCTMLNLogging.java +0 -140
  915. package/android/rctmln/src/main/java/com/maplibre/rctmln/modules/RCTMLNModule.java +0 -348
  916. package/android/rctmln/src/main/java/com/maplibre/rctmln/modules/RCTMLNOfflineModule.java +0 -592
  917. package/android/rctmln/src/main/java/com/maplibre/rctmln/modules/RCTMLNSnapshotModule.java +0 -139
  918. package/android/rctmln/src/main/java/com/maplibre/rctmln/utils/BitmapUtils.java +0 -129
  919. package/android/rctmln/src/main/java/com/maplibre/rctmln/utils/ClusterPropertyEntry.java +0 -13
  920. package/android/rctmln/src/main/java/com/maplibre/rctmln/utils/ConvertUtils.java +0 -257
  921. package/android/rctmln/src/main/java/com/maplibre/rctmln/utils/DownloadMapImageTask.java +0 -159
  922. package/android/rctmln/src/main/java/com/maplibre/rctmln/utils/ExpressionParser.java +0 -74
  923. package/android/rctmln/src/main/java/com/maplibre/rctmln/utils/GeoJSONUtils.java +0 -209
  924. package/android/rctmln/src/main/java/com/maplibre/rctmln/utils/GeoViewport.java +0 -38
  925. package/android/rctmln/src/main/java/com/maplibre/rctmln/utils/ImageEntry.java +0 -25
  926. package/android/rctmln/src/main/java/com/maplibre/rctmln/utils/ResourceUtils.java +0 -30
  927. package/android/rctmln/src/main/java/com/maplibre/rctmln/utils/SimpleEventCallback.java +0 -30
  928. package/android/rctmln/src/main/java/com/maplibre/rctmln/utils/SphericalMercator.java +0 -69
  929. package/android/rctmln/src/main/res/values/strings.xml +0 -3
  930. package/android/settings.gradle +0 -1
  931. package/assets/indoor_building_map_android.png +0 -0
  932. package/assets/indoor_building_map_ios.png +0 -0
  933. package/assets/mapbox_logo.png +0 -0
  934. package/babel.config.js +0 -9
  935. package/docs/Annotation.md +0 -38
  936. package/docs/Annotations.md +0 -12
  937. package/docs/BackgroundLayer.md +0 -158
  938. package/docs/Callout.md +0 -15
  939. package/docs/Camera.md +0 -133
  940. package/docs/CircleLayer.md +0 -462
  941. package/docs/CustomHttpHeaders.md +0 -87
  942. package/docs/FillExtrusionLayer.md +0 -319
  943. package/docs/FillLayer.md +0 -302
  944. package/docs/GettingStarted.md +0 -114
  945. package/docs/HeadingIndicator.md +0 -10
  946. package/docs/HeatmapLayer.md +0 -207
  947. package/docs/ImageSource.md +0 -13
  948. package/docs/Images.md +0 -14
  949. package/docs/Light.md +0 -159
  950. package/docs/LineLayer.md +0 -576
  951. package/docs/Logger.md +0 -23
  952. package/docs/MapLibreGL.md +0 -65
  953. package/docs/MapView.md +0 -203
  954. package/docs/MarkerView.md +0 -16
  955. package/docs/NativeUserLocation.md +0 -11
  956. package/docs/OfflineManager.md +0 -246
  957. package/docs/PointAnnotation.md +0 -31
  958. package/docs/RasterLayer.md +0 -349
  959. package/docs/RasterSource.md +0 -18
  960. package/docs/ShapeSource.md +0 -106
  961. package/docs/Style.md +0 -10
  962. package/docs/StyleSheet.md +0 -451
  963. package/docs/SymbolLayer.md +0 -1655
  964. package/docs/UserLocation.md +0 -45
  965. package/docs/VectorSource.md +0 -49
  966. package/docs/coordinates.md +0 -6
  967. package/docs/docs.json +0 -5396
  968. package/docs/location.md +0 -6
  969. package/docs/offlineManager.md +0 -246
  970. package/docs/snapshotManager.md +0 -53
  971. package/ios/RCTMLN/CameraMode.h +0 -18
  972. package/ios/RCTMLN/CameraMode.m +0 -18
  973. package/ios/RCTMLN/CameraStop.h +0 -26
  974. package/ios/RCTMLN/CameraStop.m +0 -83
  975. package/ios/RCTMLN/CameraUpdateItem.h +0 -18
  976. package/ios/RCTMLN/CameraUpdateItem.m +0 -178
  977. package/ios/RCTMLN/CameraUpdateQueue.h +0 -21
  978. package/ios/RCTMLN/CameraUpdateQueue.m +0 -74
  979. package/ios/RCTMLN/FilterParser.h +0 -14
  980. package/ios/RCTMLN/FilterParser.m +0 -22
  981. package/ios/RCTMLN/MLNCustomHeaders.h +0 -20
  982. package/ios/RCTMLN/MLNCustomHeaders.m +0 -98
  983. package/ios/RCTMLN/MLNFaux3DUserLocationAnnotationView.h +0 -23
  984. package/ios/RCTMLN/MLNFaux3DUserLocationAnnotationView.m +0 -474
  985. package/ios/RCTMLN/MLNModule.h +0 -13
  986. package/ios/RCTMLN/MLNModule.m +0 -269
  987. package/ios/RCTMLN/MLNOfflineModule.h +0 -19
  988. package/ios/RCTMLN/MLNOfflineModule.m +0 -516
  989. package/ios/RCTMLN/MLNSnapshotModule.h +0 -13
  990. package/ios/RCTMLN/MLNSnapshotModule.m +0 -80
  991. package/ios/RCTMLN/MLNUserLocationHeadingArrowLayer.h +0 -11
  992. package/ios/RCTMLN/MLNUserLocationHeadingArrowLayer.m +0 -57
  993. package/ios/RCTMLN/MLNUserLocationHeadingBeamLayer.h +0 -11
  994. package/ios/RCTMLN/MLNUserLocationHeadingBeamLayer.m +0 -102
  995. package/ios/RCTMLN/MLNUserLocationHeadingIndicator.h +0 -10
  996. package/ios/RCTMLN/RCTConvert+Mapbox.h +0 -16
  997. package/ios/RCTMLN/RCTConvert+Mapbox.m +0 -32
  998. package/ios/RCTMLN/RCTMLN.h +0 -13
  999. package/ios/RCTMLN/RCTMLN.m +0 -13
  1000. package/ios/RCTMLN/RCTMLNBackgroundLayer.h +0 -14
  1001. package/ios/RCTMLN/RCTMLNBackgroundLayer.m +0 -27
  1002. package/ios/RCTMLN/RCTMLNBackgroundLayerManager.h +0 -13
  1003. package/ios/RCTMLN/RCTMLNBackgroundLayerManager.m +0 -35
  1004. package/ios/RCTMLN/RCTMLNCallout.h +0 -15
  1005. package/ios/RCTMLN/RCTMLNCallout.m +0 -74
  1006. package/ios/RCTMLN/RCTMLNCalloutManager.h +0 -13
  1007. package/ios/RCTMLN/RCTMLNCalloutManager.m +0 -21
  1008. package/ios/RCTMLN/RCTMLNCamera.h +0 -39
  1009. package/ios/RCTMLN/RCTMLNCamera.m +0 -258
  1010. package/ios/RCTMLN/RCTMLNCameraManager.h +0 -13
  1011. package/ios/RCTMLN/RCTMLNCameraManager.m +0 -52
  1012. package/ios/RCTMLN/RCTMLNCircleLayer.h +0 -13
  1013. package/ios/RCTMLN/RCTMLNCircleLayer.m +0 -34
  1014. package/ios/RCTMLN/RCTMLNCircleLayerManager.h +0 -13
  1015. package/ios/RCTMLN/RCTMLNCircleLayerManager.m +0 -39
  1016. package/ios/RCTMLN/RCTMLNEvent.h +0 -21
  1017. package/ios/RCTMLN/RCTMLNEvent.m +0 -47
  1018. package/ios/RCTMLN/RCTMLNEventProtocol.h +0 -16
  1019. package/ios/RCTMLN/RCTMLNEventTypes.h +0 -50
  1020. package/ios/RCTMLN/RCTMLNEventTypes.m +0 -49
  1021. package/ios/RCTMLN/RCTMLNFillExtrusionLayer.h +0 -14
  1022. package/ios/RCTMLN/RCTMLNFillExtrusionLayer.m +0 -32
  1023. package/ios/RCTMLN/RCTMLNFillExtrusionLayerManager.h +0 -13
  1024. package/ios/RCTMLN/RCTMLNFillExtrusionLayerManager.m +0 -39
  1025. package/ios/RCTMLN/RCTMLNFillLayer.h +0 -14
  1026. package/ios/RCTMLN/RCTMLNFillLayer.m +0 -33
  1027. package/ios/RCTMLN/RCTMLNFillLayerManager.h +0 -13
  1028. package/ios/RCTMLN/RCTMLNFillLayerManager.m +0 -37
  1029. package/ios/RCTMLN/RCTMLNHeatmapLayer.h +0 -12
  1030. package/ios/RCTMLN/RCTMLNHeatmapLayer.m +0 -30
  1031. package/ios/RCTMLN/RCTMLNHeatmapLayerManager.h +0 -12
  1032. package/ios/RCTMLN/RCTMLNHeatmapLayerManager.m +0 -38
  1033. package/ios/RCTMLN/RCTMLNImageQueue.h +0 -19
  1034. package/ios/RCTMLN/RCTMLNImageQueue.m +0 -57
  1035. package/ios/RCTMLN/RCTMLNImageQueueOperation.h +0 -17
  1036. package/ios/RCTMLN/RCTMLNImageQueueOperation.m +0 -138
  1037. package/ios/RCTMLN/RCTMLNImageSource.h +0 -16
  1038. package/ios/RCTMLN/RCTMLNImageSource.m +0 -60
  1039. package/ios/RCTMLN/RCTMLNImageSourceManager.h +0 -13
  1040. package/ios/RCTMLN/RCTMLNImageSourceManager.m +0 -25
  1041. package/ios/RCTMLN/RCTMLNImages.h +0 -25
  1042. package/ios/RCTMLN/RCTMLNImages.m +0 -126
  1043. package/ios/RCTMLN/RCTMLNImagesManager.h +0 -5
  1044. package/ios/RCTMLN/RCTMLNImagesManager.m +0 -21
  1045. package/ios/RCTMLN/RCTMLNLayer.h +0 -52
  1046. package/ios/RCTMLN/RCTMLNLayer.m +0 -236
  1047. package/ios/RCTMLN/RCTMLNLight.h +0 -17
  1048. package/ios/RCTMLN/RCTMLNLight.m +0 -46
  1049. package/ios/RCTMLN/RCTMLNLightManager.h +0 -13
  1050. package/ios/RCTMLN/RCTMLNLightManager.m +0 -23
  1051. package/ios/RCTMLN/RCTMLNLineLayer.h +0 -14
  1052. package/ios/RCTMLN/RCTMLNLineLayer.m +0 -33
  1053. package/ios/RCTMLN/RCTMLNLineLayerManager.h +0 -13
  1054. package/ios/RCTMLN/RCTMLNLineLayerManager.m +0 -40
  1055. package/ios/RCTMLN/RCTMLNLocation.h +0 -19
  1056. package/ios/RCTMLN/RCTMLNLocation.m +0 -32
  1057. package/ios/RCTMLN/RCTMLNLocationManager.h +0 -30
  1058. package/ios/RCTMLN/RCTMLNLocationManager.m +0 -180
  1059. package/ios/RCTMLN/RCTMLNLocationManagerDelegate.h +0 -20
  1060. package/ios/RCTMLN/RCTMLNLocationModule.h +0 -15
  1061. package/ios/RCTMLN/RCTMLNLocationModule.m +0 -99
  1062. package/ios/RCTMLN/RCTMLNLogging.h +0 -18
  1063. package/ios/RCTMLN/RCTMLNLogging.m +0 -132
  1064. package/ios/RCTMLN/RCTMLNMapTouchEvent.h +0 -25
  1065. package/ios/RCTMLN/RCTMLNMapTouchEvent.m +0 -77
  1066. package/ios/RCTMLN/RCTMLNMapView.h +0 -91
  1067. package/ios/RCTMLN/RCTMLNMapView.m +0 -536
  1068. package/ios/RCTMLN/RCTMLNMapViewManager.h +0 -17
  1069. package/ios/RCTMLN/RCTMLNMapViewManager.m +0 -625
  1070. package/ios/RCTMLN/RCTMLNNativeUserLocation.h +0 -18
  1071. package/ios/RCTMLN/RCTMLNNativeUserLocation.m +0 -49
  1072. package/ios/RCTMLN/RCTMLNNativeUserLocationManager.h +0 -5
  1073. package/ios/RCTMLN/RCTMLNNativeUserLocationManager.m +0 -25
  1074. package/ios/RCTMLN/RCTMLNPointAnnotation.h +0 -41
  1075. package/ios/RCTMLN/RCTMLNPointAnnotation.m +0 -251
  1076. package/ios/RCTMLN/RCTMLNPointAnnotationManager.h +0 -13
  1077. package/ios/RCTMLN/RCTMLNPointAnnotationManager.m +0 -36
  1078. package/ios/RCTMLN/RCTMLNRasterLayer.h +0 -14
  1079. package/ios/RCTMLN/RCTMLNRasterLayer.m +0 -30
  1080. package/ios/RCTMLN/RCTMLNRasterLayerManager.h +0 -13
  1081. package/ios/RCTMLN/RCTMLNRasterLayerManager.m +0 -35
  1082. package/ios/RCTMLN/RCTMLNRasterSource.h +0 -16
  1083. package/ios/RCTMLN/RCTMLNRasterSource.m +0 -35
  1084. package/ios/RCTMLN/RCTMLNRasterSourceManager.h +0 -13
  1085. package/ios/RCTMLN/RCTMLNRasterSourceManager.m +0 -32
  1086. package/ios/RCTMLN/RCTMLNShapeSource.h +0 -53
  1087. package/ios/RCTMLN/RCTMLNShapeSource.m +0 -194
  1088. package/ios/RCTMLN/RCTMLNShapeSourceManager.h +0 -14
  1089. package/ios/RCTMLN/RCTMLNShapeSourceManager.m +0 -206
  1090. package/ios/RCTMLN/RCTMLNSource.h +0 -35
  1091. package/ios/RCTMLN/RCTMLNSource.m +0 -143
  1092. package/ios/RCTMLN/RCTMLNStyle.h +0 -222
  1093. package/ios/RCTMLN/RCTMLNStyle.m +0 -1675
  1094. package/ios/RCTMLN/RCTMLNStyleValue.h +0 -27
  1095. package/ios/RCTMLN/RCTMLNStyleValue.m +0 -167
  1096. package/ios/RCTMLN/RCTMLNSymbolLayer.h +0 -19
  1097. package/ios/RCTMLN/RCTMLNSymbolLayer.m +0 -121
  1098. package/ios/RCTMLN/RCTMLNSymbolLayerManager.h +0 -13
  1099. package/ios/RCTMLN/RCTMLNSymbolLayerManager.m +0 -40
  1100. package/ios/RCTMLN/RCTMLNTileSource.h +0 -22
  1101. package/ios/RCTMLN/RCTMLNTileSource.m +0 -31
  1102. package/ios/RCTMLN/RCTMLNUserLocation.h +0 -15
  1103. package/ios/RCTMLN/RCTMLNUserLocation.m +0 -38
  1104. package/ios/RCTMLN/RCTMLNUtils.h +0 -31
  1105. package/ios/RCTMLN/RCTMLNUtils.m +0 -218
  1106. package/ios/RCTMLN/RCTMLNVectorLayer.h +0 -15
  1107. package/ios/RCTMLN/RCTMLNVectorLayer.m +0 -59
  1108. package/ios/RCTMLN/RCTMLNVectorSource.h +0 -16
  1109. package/ios/RCTMLN/RCTMLNVectorSource.m +0 -28
  1110. package/ios/RCTMLN/RCTMLNVectorSourceManager.h +0 -14
  1111. package/ios/RCTMLN/RCTMLNVectorSourceManager.m +0 -79
  1112. package/ios/RCTMLN/RNMBImageUtils.h +0 -17
  1113. package/ios/RCTMLN/RNMBImageUtils.m +0 -31
  1114. package/ios/RCTMLN/ViewManager.h +0 -16
  1115. package/ios/RCTMLN/ViewManager.m +0 -63
  1116. package/ios/RCTMLN/index.d.ts +0 -1183
  1117. package/ios/RCTMLN.xcodeproj/project.pbxproj +0 -775
  1118. package/javascript/@types/assets.d.ts +0 -4
  1119. package/javascript/MLNModule.ts +0 -37
  1120. package/javascript/Maplibre.ts +0 -69
  1121. package/javascript/components/BackgroundLayer.tsx +0 -50
  1122. package/javascript/components/Callout.tsx +0 -141
  1123. package/javascript/components/Camera.tsx +0 -623
  1124. package/javascript/components/CircleLayer.tsx +0 -53
  1125. package/javascript/components/FillExtrusionLayer.tsx +0 -47
  1126. package/javascript/components/FillLayer.tsx +0 -44
  1127. package/javascript/components/HeadingIndicator.tsx +0 -31
  1128. package/javascript/components/HeatmapLayer.tsx +0 -46
  1129. package/javascript/components/ImageSource.tsx +0 -71
  1130. package/javascript/components/Images.tsx +0 -135
  1131. package/javascript/components/Light.tsx +0 -40
  1132. package/javascript/components/LineLayer.tsx +0 -45
  1133. package/javascript/components/MapView.tsx +0 -876
  1134. package/javascript/components/MarkerView.tsx +0 -89
  1135. package/javascript/components/NativeUserLocation.tsx +0 -31
  1136. package/javascript/components/PointAnnotation.tsx +0 -245
  1137. package/javascript/components/RasterLayer.tsx +0 -44
  1138. package/javascript/components/RasterSource.tsx +0 -114
  1139. package/javascript/components/ShapeSource.tsx +0 -431
  1140. package/javascript/components/Style.tsx +0 -358
  1141. package/javascript/components/SymbolLayer.tsx +0 -78
  1142. package/javascript/components/UserLocation.tsx +0 -289
  1143. package/javascript/components/VectorSource.tsx +0 -218
  1144. package/javascript/components/annotations/Annotation.tsx +0 -160
  1145. package/javascript/hooks/useAbstractLayer.ts +0 -124
  1146. package/javascript/hooks/useAbstractSource.ts +0 -34
  1147. package/javascript/hooks/useNativeBridge.ts +0 -125
  1148. package/javascript/hooks/useNativeRef.ts +0 -13
  1149. package/javascript/hooks/useOnce.ts +0 -12
  1150. package/javascript/index.ts +0 -4
  1151. package/javascript/modules/location/locationManager.ts +0 -162
  1152. package/javascript/modules/offline/OfflineCreatePackOptions.ts +0 -62
  1153. package/javascript/modules/offline/OfflinePack.ts +0 -56
  1154. package/javascript/modules/offline/offlineManager.ts +0 -435
  1155. package/javascript/modules/snapshot/SnapshotOptions.ts +0 -104
  1156. package/javascript/modules/snapshot/snapshotManager.ts +0 -62
  1157. package/javascript/requestAndroidLocationPermissions.ts +0 -29
  1158. package/javascript/types/BaseProps.ts +0 -5
  1159. package/javascript/types/OnPressEvent.ts +0 -13
  1160. package/javascript/types/index.ts +0 -7
  1161. package/javascript/utils/BridgeValue.ts +0 -90
  1162. package/javascript/utils/Logger.ts +0 -133
  1163. package/javascript/utils/MaplibreStyles.d.ts +0 -1486
  1164. package/javascript/utils/StyleValue.ts +0 -49
  1165. package/javascript/utils/animated/AbstractAnimatedCoordinates.ts +0 -134
  1166. package/javascript/utils/animated/Animated.ts +0 -39
  1167. package/javascript/utils/animated/AnimatedCoordinatesArray.ts +0 -112
  1168. package/javascript/utils/animated/AnimatedExtractCoordinateFromArray.ts +0 -43
  1169. package/javascript/utils/animated/AnimatedPoint.ts +0 -134
  1170. package/javascript/utils/animated/AnimatedRouteCoordinatesArray.ts +0 -149
  1171. package/javascript/utils/animated/AnimatedShape.ts +0 -93
  1172. package/javascript/utils/deprecation.ts +0 -28
  1173. package/javascript/utils/filterUtils.ts +0 -9
  1174. package/javascript/utils/geoUtils.ts +0 -79
  1175. package/javascript/utils/index.ts +0 -133
  1176. package/javascript/utils/styleMap.ts +0 -264
  1177. package/plugin/install.md +0 -32
  1178. package/react-native.config.js +0 -10
  1179. package/scripts/autogenHelpers/DocJSONBuilder.js +0 -458
  1180. package/scripts/autogenHelpers/JSDocNodeTree.js +0 -131
  1181. package/scripts/autogenHelpers/MarkdownBuilder.js +0 -29
  1182. package/scripts/autogenHelpers/globals.js +0 -507
  1183. package/scripts/autogenerate.js +0 -382
  1184. package/scripts/download-style-spec.sh +0 -15
  1185. package/scripts/templates/MaplibreStyles.ts.ejs +0 -99
  1186. package/scripts/templates/RCTMLNStyle.h.ejs +0 -33
  1187. package/scripts/templates/RCTMLNStyle.m.ejs +0 -97
  1188. package/scripts/templates/RCTMLNStyleFactory.java.ejs +0 -107
  1189. package/scripts/templates/component.md.ejs +0 -122
  1190. package/scripts/templates/index.d.ts.ejs +0 -85
  1191. package/scripts/templates/styleMap.ts.ejs +0 -85
  1192. package/setup-jest.js +0 -108
  1193. package/style-spec/v8.json +0 -6021
  1194. package/tsconfig.json +0 -24
  1195. /package/android/{rctmln/src → src}/main/res/drawable/empty.xml +0 -0
  1196. /package/android/{rctmln/src → src}/main/res/drawable/empty_drawable.png +0 -0
  1197. /package/android/{rctmln/src → src}/main/res/drawable-xxhdpi/red_marker.png +0 -0
  1198. /package/android/{rctmln/src → src}/main/res/layout/annotation.xml +0 -0
  1199. /package/{assets → lib/commonjs/assets}/heading.png +0 -0
  1200. /package/{assets → lib/commonjs/assets}/heading@2x.png +0 -0
  1201. /package/{assets → lib/commonjs/assets}/heading@3x.png +0 -0
@@ -1,1183 +0,0 @@
1
- /* eslint-disable */
2
- // DO NOT MODIFY
3
- // THIS FILE IS AUTOGENERATED
4
-
5
- export interface ConstantProps {
6
- styletype: string;
7
- payload: {
8
- value: any;
9
- };
10
- }
11
-
12
- export interface StyleFunctionProps {
13
- styletype: string;
14
- payload: {
15
- fn: string;
16
- attributeName: string;
17
- stops: any[];
18
- mode: any;
19
- };
20
- }
21
-
22
- export interface TransitionProps {
23
- duration: number;
24
- delay: number;
25
- }
26
-
27
- export type TranslationProps = { x: number; y: number } | number[];
28
-
29
- export interface fillLayerStyleProps {
30
- /**
31
- * Sorts features in ascending order based on this value. Features with a higher sort key will appear above features with a lower sort key.
32
- */
33
- fillSortKey: Value<number, ["zoom", "feature"]>;
34
-
35
- /**
36
- * Whether this layer is displayed.
37
- */
38
- visibility: Enum<VisibilityEnum, VisibilityEnumValues>;
39
-
40
- /**
41
- * Whether or not the fill should be antialiased.
42
- */
43
- fillAntialias: Value<boolean, ["zoom"]>;
44
-
45
- /**
46
- * 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.
47
- */
48
- fillOpacity: Value<number, ["zoom", "feature", "feature-state"]>;
49
-
50
- /**
51
- * The transition affecting any changes to this layer’s fillOpacity property.
52
- */
53
- fillOpacityTransition: TransitionProps;
54
-
55
- /**
56
- * The color of the filled part of this layer. This color can be specified as `rgba` with an alpha component and the color's opacity will not affect the opacity of the 1px stroke, if it is used.
57
- *
58
- * @disabledBy fillPattern
59
- */
60
- fillColor: Value<string, ["zoom", "feature", "feature-state"]>;
61
-
62
- /**
63
- * The transition affecting any changes to this layer’s fillColor property.
64
- */
65
- fillColorTransition: TransitionProps;
66
-
67
- /**
68
- * The outline color of the fill. Matches the value of `fillColor` if unspecified.
69
- *
70
- * @disabledBy fillPattern
71
- */
72
- fillOutlineColor: Value<string, ["zoom", "feature", "feature-state"]>;
73
-
74
- /**
75
- * The transition affecting any changes to this layer’s fillOutlineColor property.
76
- */
77
- fillOutlineColorTransition: TransitionProps;
78
-
79
- /**
80
- * The geometry's offset. Values are [x, y] where negatives indicate left and up, respectively.
81
- */
82
- fillTranslate: Value<Translation, ["zoom"]>;
83
-
84
- /**
85
- * The transition affecting any changes to this layer’s fillTranslate property.
86
- */
87
- fillTranslateTransition: TransitionProps;
88
-
89
- /**
90
- * Controls the frame of reference for `fillTranslate`.
91
- *
92
- * @requires fillTranslate
93
- */
94
- fillTranslateAnchor: Value<Translation, ["zoom"]>;
95
-
96
- /**
97
- * 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.
98
- */
99
- fillPattern: Value<ResolvedImageType, ["zoom", "feature"]>;
100
-
101
- /**
102
- * The transition affecting any changes to this layer’s fillPattern property.
103
- */
104
- fillPatternTransition: TransitionProps;
105
- }
106
-
107
- export interface lineLayerStyleProps {
108
- /**
109
- * The display of line endings.
110
- */
111
- lineCap: Value<Enum<LineCapEnum, LineCapEnumValues>, ["zoom"]>;
112
-
113
- /**
114
- * The display of lines when joining.
115
- */
116
- lineJoin: Value<Enum<LineJoinEnum, LineJoinEnumValues>, ["zoom", "feature"]>;
117
-
118
- /**
119
- * Used to automatically convert miter joins to bevel joins for sharp angles.
120
- */
121
- lineMiterLimit: Value<number, ["zoom"]>;
122
-
123
- /**
124
- * Used to automatically convert round joins to miter joins for shallow angles.
125
- */
126
- lineRoundLimit: Value<number, ["zoom"]>;
127
-
128
- /**
129
- * Sorts features in ascending order based on this value. Features with a higher sort key will appear above features with a lower sort key.
130
- */
131
- lineSortKey: Value<number, ["zoom", "feature"]>;
132
-
133
- /**
134
- * Whether this layer is displayed.
135
- */
136
- visibility: Enum<VisibilityEnum, VisibilityEnumValues>;
137
-
138
- /**
139
- * The opacity at which the line will be drawn.
140
- */
141
- lineOpacity: Value<number, ["zoom", "feature", "feature-state"]>;
142
-
143
- /**
144
- * The transition affecting any changes to this layer’s lineOpacity property.
145
- */
146
- lineOpacityTransition: TransitionProps;
147
-
148
- /**
149
- * The color with which the line will be drawn.
150
- *
151
- * @disabledBy linePattern
152
- */
153
- lineColor: Value<string, ["zoom", "feature", "feature-state"]>;
154
-
155
- /**
156
- * The transition affecting any changes to this layer’s lineColor property.
157
- */
158
- lineColorTransition: TransitionProps;
159
-
160
- /**
161
- * The geometry's offset. Values are [x, y] where negatives indicate left and up, respectively.
162
- */
163
- lineTranslate: Value<Translation, ["zoom"]>;
164
-
165
- /**
166
- * The transition affecting any changes to this layer’s lineTranslate property.
167
- */
168
- lineTranslateTransition: TransitionProps;
169
-
170
- /**
171
- * Controls the frame of reference for `lineTranslate`.
172
- *
173
- * @requires lineTranslate
174
- */
175
- lineTranslateAnchor: Value<Translation, ["zoom"]>;
176
-
177
- /**
178
- * Stroke thickness.
179
- */
180
- lineWidth: Value<number, ["zoom", "feature", "feature-state"]>;
181
-
182
- /**
183
- * The transition affecting any changes to this layer’s lineWidth property.
184
- */
185
- lineWidthTransition: TransitionProps;
186
-
187
- /**
188
- * Draws a line casing outside of a line's actual path. Value indicates the width of the inner gap.
189
- */
190
- lineGapWidth: Value<number, ["zoom", "feature", "feature-state"]>;
191
-
192
- /**
193
- * The transition affecting any changes to this layer’s lineGapWidth property.
194
- */
195
- lineGapWidthTransition: TransitionProps;
196
-
197
- /**
198
- * 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.
199
- */
200
- lineOffset: Value<number, ["zoom", "feature", "feature-state"]>;
201
-
202
- /**
203
- * The transition affecting any changes to this layer’s lineOffset property.
204
- */
205
- lineOffsetTransition: TransitionProps;
206
-
207
- /**
208
- * Blur applied to the line, in pixels.
209
- */
210
- lineBlur: Value<number, ["zoom", "feature", "feature-state"]>;
211
-
212
- /**
213
- * The transition affecting any changes to this layer’s lineBlur property.
214
- */
215
- lineBlurTransition: TransitionProps;
216
-
217
- /**
218
- * Specifies the lengths of the alternating dashes and gaps that form the dash pattern. The lengths are later scaled by the line width. To convert a dash length to pixels, multiply the length by the current line width. Note that GeoJSON sources with `lineMetrics: true` specified won't render dashed lines to the expected scale. Also note that zoomDependent expressions will be evaluated only at integer zoom levels.
219
- *
220
- * @disabledBy linePattern
221
- */
222
- lineDasharray: Value<number[], ["zoom"]>;
223
-
224
- /**
225
- * The transition affecting any changes to this layer’s lineDasharray property.
226
- */
227
- lineDasharrayTransition: TransitionProps;
228
-
229
- /**
230
- * Name of image in sprite to use for drawing image lines. For seamless patterns, image width must be a factor of two (2, 4, 8, ..., 512). Note that zoomDependent expressions will be evaluated only at integer zoom levels.
231
- */
232
- linePattern: Value<ResolvedImageType, ["zoom", "feature"]>;
233
-
234
- /**
235
- * The transition affecting any changes to this layer’s linePattern property.
236
- */
237
- linePatternTransition: TransitionProps;
238
-
239
- /**
240
- * Defines a gradient with which to color a line feature. Can only be used with GeoJSON sources that specify `"lineMetrics": true`.
241
- *
242
- * @disabledBy lineDasharray, linePattern
243
- */
244
- lineGradient: Value<string, ["line-progress"]>;
245
- }
246
-
247
- export interface symbolLayerStyleProps {
248
- /**
249
- * Label placement relative to its geometry.
250
- */
251
- symbolPlacement: Value<
252
- Enum<SymbolPlacementEnum, SymbolPlacementEnumValues>,
253
- ["zoom"]
254
- >;
255
-
256
- /**
257
- * Distance between two symbol anchors.
258
- */
259
- symbolSpacing: Value<number, ["zoom"]>;
260
-
261
- /**
262
- * If true, the symbols will not cross tile edges to avoid mutual collisions. Recommended in layers that don't have enough padding in the vector tile to prevent collisions, or if it is a point symbol layer placed after a line symbol layer. When using a client that supports global collision detection, like MapLibre GL JS version 0.42.0 or greater, enabling this property is not needed to prevent clipped labels at tile boundaries.
263
- */
264
- symbolAvoidEdges: Value<boolean, ["zoom"]>;
265
-
266
- /**
267
- * 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.
268
- */
269
- symbolSortKey: Value<number, ["zoom", "feature"]>;
270
-
271
- /**
272
- * Determines whether overlapping symbols in the same layer are rendered in the order that they appear in the data source or by their yPosition relative to the viewport. To control the order and prioritization of symbols otherwise, use `symbolSortKey`.
273
- */
274
- symbolZOrder: Value<Enum<SymbolZOrderEnum, SymbolZOrderEnumValues>, ["zoom"]>;
275
-
276
- /**
277
- * If true, the icon will be visible even if it collides with other previously drawn symbols.
278
- *
279
- * @requires iconImage
280
- *
281
- * @disabledBy iconOverlap
282
- */
283
- iconAllowOverlap: Value<boolean, ["zoom"]>;
284
-
285
- /**
286
- * If true, other symbols can be visible even if they collide with the icon.
287
- *
288
- * @requires iconImage
289
- */
290
- iconIgnorePlacement: Value<boolean, ["zoom"]>;
291
-
292
- /**
293
- * If true, text will display without their corresponding icons when the icon collides with other symbols and the text does not.
294
- *
295
- * @requires iconImage, textField
296
- */
297
- iconOptional: Value<boolean, ["zoom"]>;
298
-
299
- /**
300
- * In combination with `symbolPlacement`, determines the rotation behavior of icons.
301
- *
302
- * @requires iconImage
303
- */
304
- iconRotationAlignment: Value<
305
- Enum<IconRotationAlignmentEnum, IconRotationAlignmentEnumValues>,
306
- ["zoom"]
307
- >;
308
-
309
- /**
310
- * Scales the original size of the icon by the provided factor. The new pixel size of the image will be the original pixel size multiplied by `iconSize`. 1 is the original size; 3 triples the size of the image.
311
- *
312
- * @requires iconImage
313
- */
314
- iconSize: Value<number, ["zoom", "feature"]>;
315
-
316
- /**
317
- * Scales the icon to fit around the associated text.
318
- *
319
- * @requires iconImage, textField
320
- */
321
- iconTextFit: Value<Enum<IconTextFitEnum, IconTextFitEnumValues>, ["zoom"]>;
322
-
323
- /**
324
- * Size of the additional area added to dimensions determined by `iconTextFit`, in clockwise order: top, right, bottom, left.
325
- *
326
- * @requires iconImage, textField
327
- */
328
- iconTextFitPadding: Value<number[], ["zoom"]>;
329
-
330
- /**
331
- * Name of image in sprite to use for drawing an image background.
332
- */
333
- iconImage: Value<ResolvedImageType, ["zoom", "feature"]>;
334
-
335
- /**
336
- * Rotates the icon clockwise.
337
- *
338
- * @requires iconImage
339
- */
340
- iconRotate: Value<number, ["zoom", "feature"]>;
341
-
342
- /**
343
- * Size of additional area round the icon bounding box used for detecting symbol collisions. Values are declared using CSS margin shorthand syntax: a single value applies to all four sides; two values apply to [top/bottom, left/right]; three values apply to [top, left/right, bottom]; four values apply to [top, right, bottom, left]. For backwards compatibility, a single bare number is accepted, and treated the same as a oneElement array padding applied to all sides.
344
- *
345
- * @requires iconImage
346
- */
347
- iconPadding: Value<number, ["zoom", "feature"]>;
348
-
349
- /**
350
- * If true, the icon may be flipped to prevent it from being rendered upsideDown.
351
- *
352
- * @requires iconImage
353
- */
354
- iconKeepUpright: Value<boolean, ["zoom"]>;
355
-
356
- /**
357
- * Offset distance of icon from its anchor. Positive values indicate right and down, while negative values indicate left and up. Each component is multiplied by the value of `iconSize` to obtain the final offset in pixels. When combined with `iconRotate` the offset will be as if the rotated direction was up.
358
- *
359
- * @requires iconImage
360
- */
361
- iconOffset: Value<number[], ["zoom", "feature"]>;
362
-
363
- /**
364
- * Part of the icon placed closest to the anchor.
365
- *
366
- * @requires iconImage
367
- */
368
- iconAnchor: Value<
369
- Enum<IconAnchorEnum, IconAnchorEnumValues>,
370
- ["zoom", "feature"]
371
- >;
372
-
373
- /**
374
- * Orientation of icon when map is pitched.
375
- *
376
- * @requires iconImage
377
- */
378
- iconPitchAlignment: Value<
379
- Enum<IconPitchAlignmentEnum, IconPitchAlignmentEnumValues>,
380
- ["zoom"]
381
- >;
382
-
383
- /**
384
- * Orientation of text when map is pitched.
385
- *
386
- * @requires textField
387
- */
388
- textPitchAlignment: Value<
389
- Enum<TextPitchAlignmentEnum, TextPitchAlignmentEnumValues>,
390
- ["zoom"]
391
- >;
392
-
393
- /**
394
- * In combination with `symbolPlacement`, determines the rotation behavior of the individual glyphs forming the text.
395
- *
396
- * @requires textField
397
- */
398
- textRotationAlignment: Value<
399
- Enum<TextRotationAlignmentEnum, TextRotationAlignmentEnumValues>,
400
- ["zoom"]
401
- >;
402
-
403
- /**
404
- * Value to use for a text label. If a plain `string` is provided, it will be treated as a `formatted` with default/inherited formatting options.
405
- */
406
- textField: Value<FormattedString, ["zoom", "feature"]>;
407
-
408
- /**
409
- * Font stack to use for displaying text.
410
- *
411
- * @requires textField
412
- */
413
- textFont: Value<string[], ["zoom", "feature"]>;
414
-
415
- /**
416
- * Font size.
417
- *
418
- * @requires textField
419
- */
420
- textSize: Value<number, ["zoom", "feature"]>;
421
-
422
- /**
423
- * The maximum line width for text wrapping.
424
- *
425
- * @requires textField
426
- */
427
- textMaxWidth: Value<number, ["zoom", "feature"]>;
428
-
429
- /**
430
- * Text leading value for multiLine text.
431
- *
432
- * @requires textField
433
- */
434
- textLineHeight: Value<number, ["zoom"]>;
435
-
436
- /**
437
- * Text tracking amount.
438
- *
439
- * @requires textField
440
- */
441
- textLetterSpacing: Value<number, ["zoom", "feature"]>;
442
-
443
- /**
444
- * Text justification options.
445
- *
446
- * @requires textField
447
- */
448
- textJustify: Value<
449
- Enum<TextJustifyEnum, TextJustifyEnumValues>,
450
- ["zoom", "feature"]
451
- >;
452
-
453
- /**
454
- * Radial offset of text, in the direction of the symbol's anchor. Useful in combination with `textVariableAnchor`, which defaults to using the twoDimensional `textOffset` if present.
455
- *
456
- * @requires textField
457
- */
458
- textRadialOffset: Value<number, ["zoom", "feature"]>;
459
-
460
- /**
461
- * To increase the chance of placing highPriority labels on the map, you can provide an array of `textAnchor` locations: the renderer will attempt to place the label at each location, in order, before moving onto the next label. Use `textJustify: auto` to choose justification based on anchor position. To apply an offset, use the `textRadialOffset` or the twoDimensional `textOffset`.
462
- *
463
- * @requires textField
464
- */
465
- textVariableAnchor: Value<
466
- Enum<TextVariableAnchorEnum, TextVariableAnchorEnumValues>[],
467
- ["zoom"]
468
- >;
469
-
470
- /**
471
- * Part of the text placed closest to the anchor.
472
- *
473
- * @requires textField
474
- *
475
- * @disabledBy textVariableAnchor
476
- */
477
- textAnchor: Value<
478
- Enum<TextAnchorEnum, TextAnchorEnumValues>,
479
- ["zoom", "feature"]
480
- >;
481
-
482
- /**
483
- * Maximum angle change between adjacent characters.
484
- *
485
- * @requires textField
486
- */
487
- textMaxAngle: Value<number, ["zoom"]>;
488
-
489
- /**
490
- * The property allows control over a symbol's orientation. Note that the property values act as a hint, so that a symbol whose language doesn’t support the provided orientation will be laid out in its natural orientation. Example: English point symbol will be rendered horizontally even if array value contains single 'vertical' enum value. The order of elements in an array define priority order for the placement of an orientation variant.
491
- *
492
- * @requires textField
493
- */
494
- textWritingMode: Value<
495
- Enum<TextWritingModeEnum, TextWritingModeEnumValues>[],
496
- ["zoom"]
497
- >;
498
-
499
- /**
500
- * Rotates the text clockwise.
501
- *
502
- * @requires textField
503
- */
504
- textRotate: Value<number, ["zoom", "feature"]>;
505
-
506
- /**
507
- * Size of the additional area around the text bounding box used for detecting symbol collisions.
508
- *
509
- * @requires textField
510
- */
511
- textPadding: Value<number, ["zoom"]>;
512
-
513
- /**
514
- * If true, the text may be flipped vertically to prevent it from being rendered upsideDown.
515
- *
516
- * @requires textField
517
- */
518
- textKeepUpright: Value<boolean, ["zoom"]>;
519
-
520
- /**
521
- * Specifies how to capitalize text, similar to the CSS `textTransform` property.
522
- *
523
- * @requires textField
524
- */
525
- textTransform: Value<
526
- Enum<TextTransformEnum, TextTransformEnumValues>,
527
- ["zoom", "feature"]
528
- >;
529
-
530
- /**
531
- * Offset distance of text from its anchor. Positive values indicate right and down, while negative values indicate left and up. If used with textVariableAnchor, input values will be taken as absolute values. Offsets along the x and yAxis will be applied automatically based on the anchor position.
532
- *
533
- * @requires textField
534
- *
535
- * @disabledBy textRadialOffset
536
- */
537
- textOffset: Value<number[], ["zoom", "feature"]>;
538
-
539
- /**
540
- * If true, the text will be visible even if it collides with other previously drawn symbols.
541
- *
542
- * @requires textField
543
- *
544
- * @disabledBy textOverlap
545
- */
546
- textAllowOverlap: Value<boolean, ["zoom"]>;
547
-
548
- /**
549
- * If true, other symbols can be visible even if they collide with the text.
550
- *
551
- * @requires textField
552
- */
553
- textIgnorePlacement: Value<boolean, ["zoom"]>;
554
-
555
- /**
556
- * If true, icons will display without their corresponding text when the text collides with other symbols and the icon does not.
557
- *
558
- * @requires textField, iconImage
559
- */
560
- textOptional: Value<boolean, ["zoom"]>;
561
-
562
- /**
563
- * Whether this layer is displayed.
564
- */
565
- visibility: Enum<VisibilityEnum, VisibilityEnumValues>;
566
-
567
- /**
568
- * The opacity at which the icon will be drawn.
569
- *
570
- * @requires iconImage
571
- */
572
- iconOpacity: Value<number, ["zoom", "feature", "feature-state"]>;
573
-
574
- /**
575
- * The transition affecting any changes to this layer’s iconOpacity property.
576
- */
577
- iconOpacityTransition: TransitionProps;
578
-
579
- /**
580
- * The color of the icon. This can only be used with sdf icons.
581
- *
582
- * @requires iconImage
583
- */
584
- iconColor: Value<string, ["zoom", "feature", "feature-state"]>;
585
-
586
- /**
587
- * The transition affecting any changes to this layer’s iconColor property.
588
- */
589
- iconColorTransition: TransitionProps;
590
-
591
- /**
592
- * The color of the icon's halo. Icon halos can only be used with SDF icons.
593
- *
594
- * @requires iconImage
595
- */
596
- iconHaloColor: Value<string, ["zoom", "feature", "feature-state"]>;
597
-
598
- /**
599
- * The transition affecting any changes to this layer’s iconHaloColor property.
600
- */
601
- iconHaloColorTransition: TransitionProps;
602
-
603
- /**
604
- * Distance of halo to the icon outline.
605
- *
606
- * @requires iconImage
607
- */
608
- iconHaloWidth: Value<number, ["zoom", "feature", "feature-state"]>;
609
-
610
- /**
611
- * The transition affecting any changes to this layer’s iconHaloWidth property.
612
- */
613
- iconHaloWidthTransition: TransitionProps;
614
-
615
- /**
616
- * Fade out the halo towards the outside.
617
- *
618
- * @requires iconImage
619
- */
620
- iconHaloBlur: Value<number, ["zoom", "feature", "feature-state"]>;
621
-
622
- /**
623
- * The transition affecting any changes to this layer’s iconHaloBlur property.
624
- */
625
- iconHaloBlurTransition: TransitionProps;
626
-
627
- /**
628
- * Distance that the icon's anchor is moved from its original placement. Positive values indicate right and down, while negative values indicate left and up.
629
- *
630
- * @requires iconImage
631
- */
632
- iconTranslate: Value<Translation, ["zoom"]>;
633
-
634
- /**
635
- * The transition affecting any changes to this layer’s iconTranslate property.
636
- */
637
- iconTranslateTransition: TransitionProps;
638
-
639
- /**
640
- * Controls the frame of reference for `iconTranslate`.
641
- *
642
- * @requires iconImage, iconTranslate
643
- */
644
- iconTranslateAnchor: Value<Translation, ["zoom"]>;
645
-
646
- /**
647
- * The opacity at which the text will be drawn.
648
- *
649
- * @requires textField
650
- */
651
- textOpacity: Value<number, ["zoom", "feature", "feature-state"]>;
652
-
653
- /**
654
- * The transition affecting any changes to this layer’s textOpacity property.
655
- */
656
- textOpacityTransition: TransitionProps;
657
-
658
- /**
659
- * The color with which the text will be drawn.
660
- *
661
- * @requires textField
662
- */
663
- textColor: Value<string, ["zoom", "feature", "feature-state"]>;
664
-
665
- /**
666
- * The transition affecting any changes to this layer’s textColor property.
667
- */
668
- textColorTransition: TransitionProps;
669
-
670
- /**
671
- * The color of the text's halo, which helps it stand out from backgrounds.
672
- *
673
- * @requires textField
674
- */
675
- textHaloColor: Value<string, ["zoom", "feature", "feature-state"]>;
676
-
677
- /**
678
- * The transition affecting any changes to this layer’s textHaloColor property.
679
- */
680
- textHaloColorTransition: TransitionProps;
681
-
682
- /**
683
- * Distance of halo to the font outline. Max text halo width is 1/4 of the fontSize.
684
- *
685
- * @requires textField
686
- */
687
- textHaloWidth: Value<number, ["zoom", "feature", "feature-state"]>;
688
-
689
- /**
690
- * The transition affecting any changes to this layer’s textHaloWidth property.
691
- */
692
- textHaloWidthTransition: TransitionProps;
693
-
694
- /**
695
- * The halo's fadeout distance towards the outside.
696
- *
697
- * @requires textField
698
- */
699
- textHaloBlur: Value<number, ["zoom", "feature", "feature-state"]>;
700
-
701
- /**
702
- * The transition affecting any changes to this layer’s textHaloBlur property.
703
- */
704
- textHaloBlurTransition: TransitionProps;
705
-
706
- /**
707
- * Distance that the text's anchor is moved from its original placement. Positive values indicate right and down, while negative values indicate left and up.
708
- *
709
- * @requires textField
710
- */
711
- textTranslate: Value<Translation, ["zoom"]>;
712
-
713
- /**
714
- * The transition affecting any changes to this layer’s textTranslate property.
715
- */
716
- textTranslateTransition: TransitionProps;
717
-
718
- /**
719
- * Controls the frame of reference for `textTranslate`.
720
- *
721
- * @requires textField, textTranslate
722
- */
723
- textTranslateAnchor: Value<Translation, ["zoom"]>;
724
- }
725
-
726
- export interface circleLayerStyleProps {
727
- /**
728
- * Sorts features in ascending order based on this value. Features with a higher sort key will appear above features with a lower sort key.
729
- */
730
- circleSortKey: Value<number, ["zoom", "feature"]>;
731
-
732
- /**
733
- * Whether this layer is displayed.
734
- */
735
- visibility: Enum<VisibilityEnum, VisibilityEnumValues>;
736
-
737
- /**
738
- * Circle radius.
739
- */
740
- circleRadius: Value<number, ["zoom", "feature", "feature-state"]>;
741
-
742
- /**
743
- * The transition affecting any changes to this layer’s circleRadius property.
744
- */
745
- circleRadiusTransition: TransitionProps;
746
-
747
- /**
748
- * The fill color of the circle.
749
- */
750
- circleColor: Value<string, ["zoom", "feature", "feature-state"]>;
751
-
752
- /**
753
- * The transition affecting any changes to this layer’s circleColor property.
754
- */
755
- circleColorTransition: TransitionProps;
756
-
757
- /**
758
- * Amount to blur the circle. 1 blurs the circle such that only the centerpoint is full opacity.
759
- */
760
- circleBlur: Value<number, ["zoom", "feature", "feature-state"]>;
761
-
762
- /**
763
- * The transition affecting any changes to this layer’s circleBlur property.
764
- */
765
- circleBlurTransition: TransitionProps;
766
-
767
- /**
768
- * The opacity at which the circle will be drawn.
769
- */
770
- circleOpacity: Value<number, ["zoom", "feature", "feature-state"]>;
771
-
772
- /**
773
- * The transition affecting any changes to this layer’s circleOpacity property.
774
- */
775
- circleOpacityTransition: TransitionProps;
776
-
777
- /**
778
- * The geometry's offset. Values are [x, y] where negatives indicate left and up, respectively.
779
- */
780
- circleTranslate: Value<Translation, ["zoom"]>;
781
-
782
- /**
783
- * The transition affecting any changes to this layer’s circleTranslate property.
784
- */
785
- circleTranslateTransition: TransitionProps;
786
-
787
- /**
788
- * Controls the frame of reference for `circleTranslate`.
789
- *
790
- * @requires circleTranslate
791
- */
792
- circleTranslateAnchor: Value<Translation, ["zoom"]>;
793
-
794
- /**
795
- * Controls the scaling behavior of the circle when the map is pitched.
796
- */
797
- circlePitchScale: Value<
798
- Enum<CirclePitchScaleEnum, CirclePitchScaleEnumValues>,
799
- ["zoom"]
800
- >;
801
-
802
- /**
803
- * Orientation of circle when map is pitched.
804
- */
805
- circlePitchAlignment: Value<
806
- Enum<CirclePitchAlignmentEnum, CirclePitchAlignmentEnumValues>,
807
- ["zoom"]
808
- >;
809
-
810
- /**
811
- * The width of the circle's stroke. Strokes are placed outside of the `circleRadius`.
812
- */
813
- circleStrokeWidth: Value<number, ["zoom", "feature", "feature-state"]>;
814
-
815
- /**
816
- * The transition affecting any changes to this layer’s circleStrokeWidth property.
817
- */
818
- circleStrokeWidthTransition: TransitionProps;
819
-
820
- /**
821
- * The stroke color of the circle.
822
- */
823
- circleStrokeColor: Value<string, ["zoom", "feature", "feature-state"]>;
824
-
825
- /**
826
- * The transition affecting any changes to this layer’s circleStrokeColor property.
827
- */
828
- circleStrokeColorTransition: TransitionProps;
829
-
830
- /**
831
- * The opacity of the circle's stroke.
832
- */
833
- circleStrokeOpacity: Value<number, ["zoom", "feature", "feature-state"]>;
834
-
835
- /**
836
- * The transition affecting any changes to this layer’s circleStrokeOpacity property.
837
- */
838
- circleStrokeOpacityTransition: TransitionProps;
839
- }
840
-
841
- export interface heatmapLayerStyleProps {
842
- /**
843
- * Whether this layer is displayed.
844
- */
845
- visibility: Enum<VisibilityEnum, VisibilityEnumValues>;
846
-
847
- /**
848
- * Radius of influence of one heatmap point in pixels. Increasing the value makes the heatmap smoother, but less detailed.
849
- */
850
- heatmapRadius: Value<number, ["zoom", "feature", "feature-state"]>;
851
-
852
- /**
853
- * The transition affecting any changes to this layer’s heatmapRadius property.
854
- */
855
- heatmapRadiusTransition: TransitionProps;
856
-
857
- /**
858
- * 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.
859
- */
860
- heatmapWeight: Value<number, ["zoom", "feature", "feature-state"]>;
861
-
862
- /**
863
- * Similar to `heatmapWeight` but controls the intensity of the heatmap globally. Primarily used for adjusting the heatmap based on zoom level.
864
- */
865
- heatmapIntensity: Value<number, ["zoom"]>;
866
-
867
- /**
868
- * The transition affecting any changes to this layer’s heatmapIntensity property.
869
- */
870
- heatmapIntensityTransition: TransitionProps;
871
-
872
- /**
873
- * Defines the color of each pixel based on its density value in a heatmap. Should be an expression that uses `["heatmapDensity"]` as input.
874
- */
875
- heatmapColor: Value<string, ["heatmap-density"]>;
876
-
877
- /**
878
- * The global opacity at which the heatmap layer will be drawn.
879
- */
880
- heatmapOpacity: Value<number, ["zoom"]>;
881
-
882
- /**
883
- * The transition affecting any changes to this layer’s heatmapOpacity property.
884
- */
885
- heatmapOpacityTransition: TransitionProps;
886
- }
887
-
888
- export interface fillExtrusionLayerStyleProps {
889
- /**
890
- * Whether this layer is displayed.
891
- */
892
- visibility: Enum<VisibilityEnum, VisibilityEnumValues>;
893
-
894
- /**
895
- * The opacity of the entire fill extrusion layer. This is rendered on a perLayer, not perFeature, basis, and dataDriven styling is not available.
896
- */
897
- fillExtrusionOpacity: Value<number, ["zoom"]>;
898
-
899
- /**
900
- * The transition affecting any changes to this layer’s fillExtrusionOpacity property.
901
- */
902
- fillExtrusionOpacityTransition: TransitionProps;
903
-
904
- /**
905
- * The base color of the extruded fill. The extrusion's surfaces will be shaded differently based on this color in combination with the root `light` settings. If this color is specified as `rgba` with an alpha component, the alpha component will be ignored; use `fillExtrusionOpacity` to set layer opacity.
906
- *
907
- * @disabledBy fillExtrusionPattern
908
- */
909
- fillExtrusionColor: Value<string, ["zoom", "feature", "feature-state"]>;
910
-
911
- /**
912
- * The transition affecting any changes to this layer’s fillExtrusionColor property.
913
- */
914
- fillExtrusionColorTransition: TransitionProps;
915
-
916
- /**
917
- * The geometry's offset. Values are [x, y] where negatives indicate left and up (on the flat plane), respectively.
918
- */
919
- fillExtrusionTranslate: Value<Translation, ["zoom"]>;
920
-
921
- /**
922
- * The transition affecting any changes to this layer’s fillExtrusionTranslate property.
923
- */
924
- fillExtrusionTranslateTransition: TransitionProps;
925
-
926
- /**
927
- * Controls the frame of reference for `fillExtrusionTranslate`.
928
- *
929
- * @requires fillExtrusionTranslate
930
- */
931
- fillExtrusionTranslateAnchor: Value<Translation, ["zoom"]>;
932
-
933
- /**
934
- * Name of image in sprite to use for drawing images on extruded fills. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512). Note that zoomDependent expressions will be evaluated only at integer zoom levels.
935
- */
936
- fillExtrusionPattern: Value<ResolvedImageType, ["zoom", "feature"]>;
937
-
938
- /**
939
- * The transition affecting any changes to this layer’s fillExtrusionPattern property.
940
- */
941
- fillExtrusionPatternTransition: TransitionProps;
942
-
943
- /**
944
- * The height with which to extrude this layer.
945
- */
946
- fillExtrusionHeight: Value<number, ["zoom", "feature", "feature-state"]>;
947
-
948
- /**
949
- * The transition affecting any changes to this layer’s fillExtrusionHeight property.
950
- */
951
- fillExtrusionHeightTransition: TransitionProps;
952
-
953
- /**
954
- * The height with which to extrude the base of this layer. Must be less than or equal to `fillExtrusionHeight`.
955
- *
956
- * @requires fillExtrusionHeight
957
- */
958
- fillExtrusionBase: Value<number, ["zoom", "feature", "feature-state"]>;
959
-
960
- /**
961
- * The transition affecting any changes to this layer’s fillExtrusionBase property.
962
- */
963
- fillExtrusionBaseTransition: TransitionProps;
964
- }
965
-
966
- export interface rasterLayerStyleProps {
967
- /**
968
- * Whether this layer is displayed.
969
- */
970
- visibility: Enum<VisibilityEnum, VisibilityEnumValues>;
971
-
972
- /**
973
- * The opacity at which the image will be drawn.
974
- */
975
- rasterOpacity: Value<number, ["zoom"]>;
976
-
977
- /**
978
- * The transition affecting any changes to this layer’s rasterOpacity property.
979
- */
980
- rasterOpacityTransition: TransitionProps;
981
-
982
- /**
983
- * Rotates hues around the color wheel.
984
- */
985
- rasterHueRotate: Value<number, ["zoom"]>;
986
-
987
- /**
988
- * The transition affecting any changes to this layer’s rasterHueRotate property.
989
- */
990
- rasterHueRotateTransition: TransitionProps;
991
-
992
- /**
993
- * Increase or reduce the brightness of the image. The value is the minimum brightness.
994
- */
995
- rasterBrightnessMin: Value<number, ["zoom"]>;
996
-
997
- /**
998
- * The transition affecting any changes to this layer’s rasterBrightnessMin property.
999
- */
1000
- rasterBrightnessMinTransition: TransitionProps;
1001
-
1002
- /**
1003
- * Increase or reduce the brightness of the image. The value is the maximum brightness.
1004
- */
1005
- rasterBrightnessMax: Value<number, ["zoom"]>;
1006
-
1007
- /**
1008
- * The transition affecting any changes to this layer’s rasterBrightnessMax property.
1009
- */
1010
- rasterBrightnessMaxTransition: TransitionProps;
1011
-
1012
- /**
1013
- * Increase or reduce the saturation of the image.
1014
- */
1015
- rasterSaturation: Value<number, ["zoom"]>;
1016
-
1017
- /**
1018
- * The transition affecting any changes to this layer’s rasterSaturation property.
1019
- */
1020
- rasterSaturationTransition: TransitionProps;
1021
-
1022
- /**
1023
- * Increase or reduce the contrast of the image.
1024
- */
1025
- rasterContrast: Value<number, ["zoom"]>;
1026
-
1027
- /**
1028
- * The transition affecting any changes to this layer’s rasterContrast property.
1029
- */
1030
- rasterContrastTransition: TransitionProps;
1031
-
1032
- /**
1033
- * The resampling/interpolation method to use for overscaling, also known as texture magnification filter
1034
- */
1035
- rasterResampling: Value<
1036
- Enum<RasterResamplingEnum, RasterResamplingEnumValues>,
1037
- ["zoom"]
1038
- >;
1039
-
1040
- /**
1041
- * Fade duration when a new tile is added.
1042
- */
1043
- rasterFadeDuration: Value<number, ["zoom"]>;
1044
- }
1045
-
1046
- export interface hillshadeLayerStyleProps {
1047
- /**
1048
- * Whether this layer is displayed.
1049
- */
1050
- visibility: Enum<VisibilityEnum, VisibilityEnumValues>;
1051
-
1052
- /**
1053
- * 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`.
1054
- */
1055
- hillshadeIlluminationDirection: Value<number, ["zoom"]>;
1056
-
1057
- /**
1058
- * Direction of light source when map is rotated.
1059
- */
1060
- hillshadeIlluminationAnchor: Value<
1061
- Enum<
1062
- HillshadeIlluminationAnchorEnum,
1063
- HillshadeIlluminationAnchorEnumValues
1064
- >,
1065
- ["zoom"]
1066
- >;
1067
-
1068
- /**
1069
- * Intensity of the hillshade
1070
- */
1071
- hillshadeExaggeration: Value<number, ["zoom"]>;
1072
-
1073
- /**
1074
- * The transition affecting any changes to this layer’s hillshadeExaggeration property.
1075
- */
1076
- hillshadeExaggerationTransition: TransitionProps;
1077
-
1078
- /**
1079
- * The shading color of areas that face away from the light source.
1080
- */
1081
- hillshadeShadowColor: Value<string, ["zoom"]>;
1082
-
1083
- /**
1084
- * The transition affecting any changes to this layer’s hillshadeShadowColor property.
1085
- */
1086
- hillshadeShadowColorTransition: TransitionProps;
1087
-
1088
- /**
1089
- * The shading color of areas that faces towards the light source.
1090
- */
1091
- hillshadeHighlightColor: Value<string, ["zoom"]>;
1092
-
1093
- /**
1094
- * The transition affecting any changes to this layer’s hillshadeHighlightColor property.
1095
- */
1096
- hillshadeHighlightColorTransition: TransitionProps;
1097
-
1098
- /**
1099
- * The shading color used to accentuate rugged terrain like sharp cliffs and gorges.
1100
- */
1101
- hillshadeAccentColor: Value<string, ["zoom"]>;
1102
-
1103
- /**
1104
- * The transition affecting any changes to this layer’s hillshadeAccentColor property.
1105
- */
1106
- hillshadeAccentColorTransition: TransitionProps;
1107
- }
1108
-
1109
- export interface backgroundLayerStyleProps {
1110
- /**
1111
- * Whether this layer is displayed.
1112
- */
1113
- visibility: Enum<VisibilityEnum, VisibilityEnumValues>;
1114
-
1115
- /**
1116
- * The color with which the background will be drawn.
1117
- *
1118
- * @disabledBy backgroundPattern
1119
- */
1120
- backgroundColor: Value<string, ["zoom"]>;
1121
-
1122
- /**
1123
- * The transition affecting any changes to this layer’s backgroundColor property.
1124
- */
1125
- backgroundColorTransition: TransitionProps;
1126
-
1127
- /**
1128
- * Name of image in sprite to use for drawing an image background. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512). Note that zoomDependent expressions will be evaluated only at integer zoom levels.
1129
- */
1130
- backgroundPattern: Value<ResolvedImageType, ["zoom"]>;
1131
-
1132
- /**
1133
- * The transition affecting any changes to this layer’s backgroundPattern property.
1134
- */
1135
- backgroundPatternTransition: TransitionProps;
1136
-
1137
- /**
1138
- * The opacity at which the background will be drawn.
1139
- */
1140
- backgroundOpacity: Value<number, ["zoom"]>;
1141
-
1142
- /**
1143
- * The transition affecting any changes to this layer’s backgroundOpacity property.
1144
- */
1145
- backgroundOpacityTransition: TransitionProps;
1146
- }
1147
-
1148
- export interface lightLayerStyleProps {
1149
- /**
1150
- * Whether extruded geometries are lit relative to the map or viewport.
1151
- */
1152
- anchor: Value<Enum<AnchorEnum, AnchorEnumValues>, ["zoom"]>;
1153
-
1154
- /**
1155
- * Position of the light source relative to lit (extruded) geometries, in [r radial coordinate, a azimuthal angle, p polar angle] where r indicates the distance from the center of the base of an object to its light, a indicates the position of the light relative to 0° (0° when `light.anchor` is set to `viewport` corresponds to the top of the viewport, or 0° when `light.anchor` is set to `map` corresponds to due north, and degrees proceed clockwise), and p indicates the height of the light (from 0°, directly above, to 180°, directly below).
1156
- */
1157
- position: Value<number[], ["zoom"]>;
1158
-
1159
- /**
1160
- * The transition affecting any changes to this layer’s position property.
1161
- */
1162
- positionTransition: TransitionProps;
1163
-
1164
- /**
1165
- * Color tint for lighting extruded geometries.
1166
- */
1167
- color: Value<string, ["zoom"]>;
1168
-
1169
- /**
1170
- * The transition affecting any changes to this layer’s color property.
1171
- */
1172
- colorTransition: TransitionProps;
1173
-
1174
- /**
1175
- * Intensity of lighting (on a scale from 0 to 1). Higher numbers will present as more extreme contrast.
1176
- */
1177
- intensity: Value<number, ["zoom"]>;
1178
-
1179
- /**
1180
- * The transition affecting any changes to this layer’s intensity property.
1181
- */
1182
- intensityTransition: TransitionProps;
1183
- }