@maplibre/maplibre-react-native 10.0.0-alpha.9 → 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 (1177) 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 +131 -93
  733. package/plugin/build/withMapLibre.d.ts +1 -1
  734. package/plugin/build/withMapLibre.js +25 -11
  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/components/Annotation.tsx +164 -0
  741. package/src/components/BackgroundLayer.tsx +50 -0
  742. package/src/components/Callout.tsx +141 -0
  743. package/src/components/Camera.tsx +492 -0
  744. package/src/components/CircleLayer.tsx +52 -0
  745. package/src/components/FillExtrusionLayer.tsx +47 -0
  746. package/src/components/FillLayer.tsx +44 -0
  747. package/src/components/HeadingIndicator.tsx +30 -0
  748. package/src/components/HeatmapLayer.tsx +46 -0
  749. package/src/components/ImageSource.tsx +70 -0
  750. package/src/components/Images.tsx +136 -0
  751. package/src/components/Light.tsx +40 -0
  752. package/src/components/LineLayer.tsx +45 -0
  753. package/src/components/MapView.tsx +879 -0
  754. package/src/components/MarkerView.tsx +88 -0
  755. package/src/components/NativeUserLocation.tsx +35 -0
  756. package/src/components/PointAnnotation.tsx +245 -0
  757. package/src/components/RasterLayer.tsx +43 -0
  758. package/src/components/RasterSource.tsx +114 -0
  759. package/src/components/ShapeSource.tsx +436 -0
  760. package/src/components/Style.tsx +371 -0
  761. package/src/components/SymbolLayer.tsx +77 -0
  762. package/src/components/UserLocation.tsx +307 -0
  763. package/src/components/VectorSource.tsx +218 -0
  764. package/src/hooks/useAbstractLayer.ts +127 -0
  765. package/src/hooks/useAbstractSource.ts +34 -0
  766. package/src/hooks/useNativeBridge.ts +125 -0
  767. package/src/hooks/useNativeRef.ts +14 -0
  768. package/src/index.ts +4 -0
  769. package/src/modules/location/locationManager.ts +161 -0
  770. package/src/modules/offline/OfflineCreatePackOptions.ts +55 -0
  771. package/src/modules/offline/OfflinePack.ts +56 -0
  772. package/src/modules/offline/offlineManager.ts +438 -0
  773. package/src/modules/snapshot/SnapshotOptions.ts +103 -0
  774. package/src/modules/snapshot/snapshotManager.ts +62 -0
  775. package/src/requestAndroidLocationPermissions.ts +29 -0
  776. package/src/types/BaseProps.ts +3 -0
  777. package/src/types/CameraMode.ts +6 -0
  778. package/src/types/MapLibreRNEvent.ts +7 -0
  779. package/src/types/OnPressEvent.ts +11 -0
  780. package/src/types/StyleURL.ts +3 -0
  781. package/src/utils/BridgeValue.ts +90 -0
  782. package/src/utils/Logger.ts +133 -0
  783. package/src/utils/MapLibreRNStyles.d.ts +1494 -0
  784. package/src/utils/StyleValue.ts +51 -0
  785. package/src/utils/animated/Animated.ts +61 -0
  786. package/src/utils/animated/AnimatedCoordinatesArray.ts +113 -0
  787. package/src/utils/animated/AnimatedPoint.ts +134 -0
  788. package/src/utils/animated/AnimatedRouteCoordinatesArray.ts +150 -0
  789. package/src/utils/filterUtils.ts +9 -0
  790. package/src/utils/index.ts +118 -0
  791. package/src/utils/makeNativeBounds.ts +5 -0
  792. package/src/utils/styleMap.ts +265 -0
  793. package/.gitattributes +0 -1
  794. package/.husky/pre-commit +0 -5
  795. package/.nvmrc +0 -1
  796. package/.sonarcloud.properties +0 -15
  797. package/CHANGELOG.md +0 -432
  798. package/CODE_OF_CONDUCT.md +0 -2
  799. package/CONTRIBUTING.md +0 -55
  800. package/RELEASE.md +0 -30
  801. package/android/rctmln/.settings/org.eclipse.buildship.core.prefs +0 -2
  802. package/android/rctmln/build.gradle +0 -59
  803. package/android/rctmln/proguard-rules.pro +0 -25
  804. package/android/rctmln/src/main/AndroidManifest.xml +0 -4
  805. package/android/rctmln/src/main/java/com/maplibre/rctmln/RCTMLNPackage.java +0 -99
  806. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/AbstractEvent.java +0 -35
  807. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/AbstractEventEmitter.java +0 -80
  808. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/AbstractMapFeature.java +0 -19
  809. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/MarkerView.java +0 -23
  810. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/MarkerViewManager.java +0 -69
  811. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNCallout.java +0 -15
  812. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNCalloutManager.java +0 -22
  813. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNMarkerView.java +0 -112
  814. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNMarkerViewManager.java +0 -45
  815. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNPointAnnotation.java +0 -361
  816. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNPointAnnotationManager.java +0 -88
  817. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/camera/CameraStop.java +0 -251
  818. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/camera/CameraUpdateItem.java +0 -125
  819. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/camera/CameraUpdateQueue.java +0 -73
  820. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/camera/RCTMLNCamera.java +0 -530
  821. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/camera/RCTMLNCameraManager.java +0 -101
  822. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/camera/constants/CameraMode.java +0 -22
  823. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/images/RCTMLNImages.java +0 -234
  824. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/images/RCTMLNImagesManager.java +0 -103
  825. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/location/LocationComponentManager.java +0 -149
  826. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/location/RCTMLNNativeUserLocation.java +0 -66
  827. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/location/RCTMLNNativeUserLocationManager.java +0 -35
  828. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/mapview/LayerSourceInfo.java +0 -59
  829. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/mapview/RCTMLNAndroidTextureMapView.java +0 -16
  830. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/mapview/RCTMLNAndroidTextureMapViewManager.java +0 -31
  831. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/mapview/RCTMLNMapView.java +0 -1527
  832. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/mapview/RCTMLNMapViewManager.java +0 -353
  833. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/mapview/helpers/CameraChangeTracker.java +0 -41
  834. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/RCTMLNStyle.java +0 -83
  835. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/RCTMLNStyleFactory.java +0 -2275
  836. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/RCTMLNStyleFunctionParser.java +0 -107
  837. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/RCTMLNStyleValue.java +0 -212
  838. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTLayer.java +0 -287
  839. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNBackgroundLayer.java +0 -27
  840. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNBackgroundLayerManager.java +0 -64
  841. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNCircleLayer.java +0 -55
  842. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNCircleLayerManager.java +0 -77
  843. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNFillExtrusionLayer.java +0 -55
  844. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNFillExtrusionLayerManager.java +0 -80
  845. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNFillLayer.java +0 -55
  846. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNFillLayerManager.java +0 -80
  847. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNHeatmapLayer.java +0 -55
  848. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNHeatmapLayerManager.java +0 -77
  849. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNLineLayer.java +0 -55
  850. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNLineLayerManager.java +0 -79
  851. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNRasterLayer.java +0 -27
  852. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNRasterLayerManager.java +0 -64
  853. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNSymbolLayer.java +0 -55
  854. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNSymbolLayerManager.java +0 -75
  855. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/light/RCTMLNLight.java +0 -65
  856. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/light/RCTMLNLightManager.java +0 -29
  857. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNImageSource.java +0 -81
  858. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNImageSourceManager.java +0 -72
  859. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNRasterSource.java +0 -45
  860. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNRasterSourceManager.java +0 -44
  861. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNShapeSource.java +0 -316
  862. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNShapeSourceManager.java +0 -253
  863. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNTileSource.java +0 -97
  864. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNTileSourceManager.java +0 -80
  865. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNVectorSource.java +0 -64
  866. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNVectorSourceManager.java +0 -84
  867. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTSource.java +0 -244
  868. package/android/rctmln/src/main/java/com/maplibre/rctmln/events/AbstractEvent.java +0 -66
  869. package/android/rctmln/src/main/java/com/maplibre/rctmln/events/AndroidCallbackEvent.java +0 -38
  870. package/android/rctmln/src/main/java/com/maplibre/rctmln/events/EventEmitter.java +0 -45
  871. package/android/rctmln/src/main/java/com/maplibre/rctmln/events/FeatureClickEvent.java +0 -79
  872. package/android/rctmln/src/main/java/com/maplibre/rctmln/events/IEvent.java +0 -18
  873. package/android/rctmln/src/main/java/com/maplibre/rctmln/events/ImageMissingEvent.java +0 -42
  874. package/android/rctmln/src/main/java/com/maplibre/rctmln/events/LocationEvent.java +0 -100
  875. package/android/rctmln/src/main/java/com/maplibre/rctmln/events/MapChangeEvent.java +0 -47
  876. package/android/rctmln/src/main/java/com/maplibre/rctmln/events/MapClickEvent.java +0 -51
  877. package/android/rctmln/src/main/java/com/maplibre/rctmln/events/MapUserTrackingModeEvent.java +0 -36
  878. package/android/rctmln/src/main/java/com/maplibre/rctmln/events/OfflineEvent.java +0 -29
  879. package/android/rctmln/src/main/java/com/maplibre/rctmln/events/PointAnnotationClickEvent.java +0 -46
  880. package/android/rctmln/src/main/java/com/maplibre/rctmln/events/PointAnnotationDragEvent.java +0 -51
  881. package/android/rctmln/src/main/java/com/maplibre/rctmln/events/constants/EventKeys.java +0 -39
  882. package/android/rctmln/src/main/java/com/maplibre/rctmln/events/constants/EventTypes.java +0 -51
  883. package/android/rctmln/src/main/java/com/maplibre/rctmln/http/CustomHeadersInterceptor.java +0 -38
  884. package/android/rctmln/src/main/java/com/maplibre/rctmln/location/LocationManager.java +0 -168
  885. package/android/rctmln/src/main/java/com/maplibre/rctmln/location/UserLocation.java +0 -63
  886. package/android/rctmln/src/main/java/com/maplibre/rctmln/location/UserLocationVerticalAlignment.java +0 -11
  887. package/android/rctmln/src/main/java/com/maplibre/rctmln/location/UserTrackingMode.java +0 -63
  888. package/android/rctmln/src/main/java/com/maplibre/rctmln/location/UserTrackingState.java +0 -19
  889. package/android/rctmln/src/main/java/com/maplibre/rctmln/modules/RCTMLNLocationModule.java +0 -158
  890. package/android/rctmln/src/main/java/com/maplibre/rctmln/modules/RCTMLNLogging.java +0 -140
  891. package/android/rctmln/src/main/java/com/maplibre/rctmln/modules/RCTMLNModule.java +0 -348
  892. package/android/rctmln/src/main/java/com/maplibre/rctmln/modules/RCTMLNOfflineModule.java +0 -592
  893. package/android/rctmln/src/main/java/com/maplibre/rctmln/modules/RCTMLNSnapshotModule.java +0 -139
  894. package/android/rctmln/src/main/java/com/maplibre/rctmln/utils/BitmapUtils.java +0 -129
  895. package/android/rctmln/src/main/java/com/maplibre/rctmln/utils/ClusterPropertyEntry.java +0 -13
  896. package/android/rctmln/src/main/java/com/maplibre/rctmln/utils/ConvertUtils.java +0 -257
  897. package/android/rctmln/src/main/java/com/maplibre/rctmln/utils/DownloadMapImageTask.java +0 -159
  898. package/android/rctmln/src/main/java/com/maplibre/rctmln/utils/ExpressionParser.java +0 -74
  899. package/android/rctmln/src/main/java/com/maplibre/rctmln/utils/GeoJSONUtils.java +0 -209
  900. package/android/rctmln/src/main/java/com/maplibre/rctmln/utils/GeoViewport.java +0 -38
  901. package/android/rctmln/src/main/java/com/maplibre/rctmln/utils/ImageEntry.java +0 -25
  902. package/android/rctmln/src/main/java/com/maplibre/rctmln/utils/ResourceUtils.java +0 -30
  903. package/android/rctmln/src/main/java/com/maplibre/rctmln/utils/SimpleEventCallback.java +0 -30
  904. package/android/rctmln/src/main/java/com/maplibre/rctmln/utils/SphericalMercator.java +0 -69
  905. package/android/rctmln/src/main/res/values/strings.xml +0 -3
  906. package/android/settings.gradle +0 -1
  907. package/assets/indoor_building_map_android.png +0 -0
  908. package/assets/indoor_building_map_ios.png +0 -0
  909. package/assets/mapbox_logo.png +0 -0
  910. package/babel.config.js +0 -9
  911. package/docs/Annotation.md +0 -38
  912. package/docs/Annotations.md +0 -12
  913. package/docs/BackgroundLayer.md +0 -158
  914. package/docs/Callout.md +0 -15
  915. package/docs/Camera.md +0 -133
  916. package/docs/CircleLayer.md +0 -462
  917. package/docs/CustomHttpHeaders.md +0 -87
  918. package/docs/FillExtrusionLayer.md +0 -319
  919. package/docs/FillLayer.md +0 -302
  920. package/docs/GettingStarted.md +0 -114
  921. package/docs/HeadingIndicator.md +0 -10
  922. package/docs/HeatmapLayer.md +0 -207
  923. package/docs/ImageSource.md +0 -13
  924. package/docs/Images.md +0 -14
  925. package/docs/Light.md +0 -159
  926. package/docs/LineLayer.md +0 -576
  927. package/docs/Logger.md +0 -23
  928. package/docs/MapLibreGL.md +0 -65
  929. package/docs/MapView.md +0 -203
  930. package/docs/MarkerView.md +0 -16
  931. package/docs/NativeUserLocation.md +0 -11
  932. package/docs/OfflineManager.md +0 -246
  933. package/docs/PointAnnotation.md +0 -31
  934. package/docs/RasterLayer.md +0 -349
  935. package/docs/RasterSource.md +0 -18
  936. package/docs/ShapeSource.md +0 -106
  937. package/docs/Style.md +0 -10
  938. package/docs/StyleSheet.md +0 -451
  939. package/docs/SymbolLayer.md +0 -1655
  940. package/docs/UserLocation.md +0 -45
  941. package/docs/VectorSource.md +0 -49
  942. package/docs/coordinates.md +0 -6
  943. package/docs/docs.json +0 -5396
  944. package/docs/location.md +0 -6
  945. package/docs/offlineManager.md +0 -246
  946. package/docs/snapshotManager.md +0 -53
  947. package/ios/RCTMLN/CameraMode.h +0 -18
  948. package/ios/RCTMLN/CameraMode.m +0 -18
  949. package/ios/RCTMLN/CameraStop.h +0 -26
  950. package/ios/RCTMLN/CameraStop.m +0 -83
  951. package/ios/RCTMLN/CameraUpdateItem.h +0 -18
  952. package/ios/RCTMLN/CameraUpdateItem.m +0 -178
  953. package/ios/RCTMLN/CameraUpdateQueue.h +0 -21
  954. package/ios/RCTMLN/CameraUpdateQueue.m +0 -74
  955. package/ios/RCTMLN/FilterParser.h +0 -14
  956. package/ios/RCTMLN/FilterParser.m +0 -22
  957. package/ios/RCTMLN/MLNCustomHeaders.h +0 -20
  958. package/ios/RCTMLN/MLNCustomHeaders.m +0 -98
  959. package/ios/RCTMLN/MLNFaux3DUserLocationAnnotationView.h +0 -23
  960. package/ios/RCTMLN/MLNFaux3DUserLocationAnnotationView.m +0 -474
  961. package/ios/RCTMLN/MLNModule.h +0 -13
  962. package/ios/RCTMLN/MLNModule.m +0 -269
  963. package/ios/RCTMLN/MLNOfflineModule.h +0 -19
  964. package/ios/RCTMLN/MLNOfflineModule.m +0 -516
  965. package/ios/RCTMLN/MLNSnapshotModule.h +0 -13
  966. package/ios/RCTMLN/MLNSnapshotModule.m +0 -80
  967. package/ios/RCTMLN/MLNUserLocationHeadingArrowLayer.h +0 -11
  968. package/ios/RCTMLN/MLNUserLocationHeadingArrowLayer.m +0 -57
  969. package/ios/RCTMLN/MLNUserLocationHeadingBeamLayer.h +0 -11
  970. package/ios/RCTMLN/MLNUserLocationHeadingBeamLayer.m +0 -102
  971. package/ios/RCTMLN/MLNUserLocationHeadingIndicator.h +0 -10
  972. package/ios/RCTMLN/RCTConvert+Mapbox.h +0 -16
  973. package/ios/RCTMLN/RCTConvert+Mapbox.m +0 -32
  974. package/ios/RCTMLN/RCTMLN.h +0 -13
  975. package/ios/RCTMLN/RCTMLN.m +0 -13
  976. package/ios/RCTMLN/RCTMLNBackgroundLayer.h +0 -14
  977. package/ios/RCTMLN/RCTMLNBackgroundLayer.m +0 -27
  978. package/ios/RCTMLN/RCTMLNBackgroundLayerManager.h +0 -13
  979. package/ios/RCTMLN/RCTMLNBackgroundLayerManager.m +0 -35
  980. package/ios/RCTMLN/RCTMLNCallout.h +0 -15
  981. package/ios/RCTMLN/RCTMLNCallout.m +0 -74
  982. package/ios/RCTMLN/RCTMLNCalloutManager.h +0 -13
  983. package/ios/RCTMLN/RCTMLNCalloutManager.m +0 -21
  984. package/ios/RCTMLN/RCTMLNCamera.h +0 -39
  985. package/ios/RCTMLN/RCTMLNCamera.m +0 -258
  986. package/ios/RCTMLN/RCTMLNCameraManager.h +0 -13
  987. package/ios/RCTMLN/RCTMLNCameraManager.m +0 -52
  988. package/ios/RCTMLN/RCTMLNCircleLayer.h +0 -13
  989. package/ios/RCTMLN/RCTMLNCircleLayer.m +0 -34
  990. package/ios/RCTMLN/RCTMLNCircleLayerManager.h +0 -13
  991. package/ios/RCTMLN/RCTMLNCircleLayerManager.m +0 -39
  992. package/ios/RCTMLN/RCTMLNEvent.h +0 -21
  993. package/ios/RCTMLN/RCTMLNEvent.m +0 -47
  994. package/ios/RCTMLN/RCTMLNEventProtocol.h +0 -16
  995. package/ios/RCTMLN/RCTMLNEventTypes.h +0 -50
  996. package/ios/RCTMLN/RCTMLNEventTypes.m +0 -49
  997. package/ios/RCTMLN/RCTMLNFillExtrusionLayer.h +0 -14
  998. package/ios/RCTMLN/RCTMLNFillExtrusionLayer.m +0 -32
  999. package/ios/RCTMLN/RCTMLNFillExtrusionLayerManager.h +0 -13
  1000. package/ios/RCTMLN/RCTMLNFillExtrusionLayerManager.m +0 -39
  1001. package/ios/RCTMLN/RCTMLNFillLayer.h +0 -14
  1002. package/ios/RCTMLN/RCTMLNFillLayer.m +0 -33
  1003. package/ios/RCTMLN/RCTMLNFillLayerManager.h +0 -13
  1004. package/ios/RCTMLN/RCTMLNFillLayerManager.m +0 -37
  1005. package/ios/RCTMLN/RCTMLNHeatmapLayer.h +0 -12
  1006. package/ios/RCTMLN/RCTMLNHeatmapLayer.m +0 -30
  1007. package/ios/RCTMLN/RCTMLNHeatmapLayerManager.h +0 -12
  1008. package/ios/RCTMLN/RCTMLNHeatmapLayerManager.m +0 -38
  1009. package/ios/RCTMLN/RCTMLNImageQueue.h +0 -19
  1010. package/ios/RCTMLN/RCTMLNImageQueue.m +0 -57
  1011. package/ios/RCTMLN/RCTMLNImageQueueOperation.h +0 -17
  1012. package/ios/RCTMLN/RCTMLNImageQueueOperation.m +0 -138
  1013. package/ios/RCTMLN/RCTMLNImageSource.h +0 -16
  1014. package/ios/RCTMLN/RCTMLNImageSource.m +0 -60
  1015. package/ios/RCTMLN/RCTMLNImageSourceManager.h +0 -13
  1016. package/ios/RCTMLN/RCTMLNImageSourceManager.m +0 -25
  1017. package/ios/RCTMLN/RCTMLNImages.h +0 -25
  1018. package/ios/RCTMLN/RCTMLNImages.m +0 -126
  1019. package/ios/RCTMLN/RCTMLNImagesManager.h +0 -5
  1020. package/ios/RCTMLN/RCTMLNImagesManager.m +0 -21
  1021. package/ios/RCTMLN/RCTMLNLayer.h +0 -52
  1022. package/ios/RCTMLN/RCTMLNLayer.m +0 -236
  1023. package/ios/RCTMLN/RCTMLNLight.h +0 -17
  1024. package/ios/RCTMLN/RCTMLNLight.m +0 -46
  1025. package/ios/RCTMLN/RCTMLNLightManager.h +0 -13
  1026. package/ios/RCTMLN/RCTMLNLightManager.m +0 -23
  1027. package/ios/RCTMLN/RCTMLNLineLayer.h +0 -14
  1028. package/ios/RCTMLN/RCTMLNLineLayer.m +0 -33
  1029. package/ios/RCTMLN/RCTMLNLineLayerManager.h +0 -13
  1030. package/ios/RCTMLN/RCTMLNLineLayerManager.m +0 -40
  1031. package/ios/RCTMLN/RCTMLNLocation.h +0 -19
  1032. package/ios/RCTMLN/RCTMLNLocation.m +0 -32
  1033. package/ios/RCTMLN/RCTMLNLocationManager.h +0 -30
  1034. package/ios/RCTMLN/RCTMLNLocationManager.m +0 -180
  1035. package/ios/RCTMLN/RCTMLNLocationManagerDelegate.h +0 -20
  1036. package/ios/RCTMLN/RCTMLNLocationModule.h +0 -15
  1037. package/ios/RCTMLN/RCTMLNLocationModule.m +0 -99
  1038. package/ios/RCTMLN/RCTMLNLogging.h +0 -18
  1039. package/ios/RCTMLN/RCTMLNLogging.m +0 -132
  1040. package/ios/RCTMLN/RCTMLNMapTouchEvent.h +0 -25
  1041. package/ios/RCTMLN/RCTMLNMapTouchEvent.m +0 -77
  1042. package/ios/RCTMLN/RCTMLNMapView.h +0 -91
  1043. package/ios/RCTMLN/RCTMLNMapView.m +0 -536
  1044. package/ios/RCTMLN/RCTMLNMapViewManager.h +0 -17
  1045. package/ios/RCTMLN/RCTMLNMapViewManager.m +0 -625
  1046. package/ios/RCTMLN/RCTMLNNativeUserLocation.h +0 -18
  1047. package/ios/RCTMLN/RCTMLNNativeUserLocation.m +0 -49
  1048. package/ios/RCTMLN/RCTMLNNativeUserLocationManager.h +0 -5
  1049. package/ios/RCTMLN/RCTMLNNativeUserLocationManager.m +0 -25
  1050. package/ios/RCTMLN/RCTMLNPointAnnotation.h +0 -41
  1051. package/ios/RCTMLN/RCTMLNPointAnnotation.m +0 -251
  1052. package/ios/RCTMLN/RCTMLNPointAnnotationManager.h +0 -13
  1053. package/ios/RCTMLN/RCTMLNPointAnnotationManager.m +0 -36
  1054. package/ios/RCTMLN/RCTMLNRasterLayer.h +0 -14
  1055. package/ios/RCTMLN/RCTMLNRasterLayer.m +0 -30
  1056. package/ios/RCTMLN/RCTMLNRasterLayerManager.h +0 -13
  1057. package/ios/RCTMLN/RCTMLNRasterLayerManager.m +0 -35
  1058. package/ios/RCTMLN/RCTMLNRasterSource.h +0 -16
  1059. package/ios/RCTMLN/RCTMLNRasterSource.m +0 -35
  1060. package/ios/RCTMLN/RCTMLNRasterSourceManager.h +0 -13
  1061. package/ios/RCTMLN/RCTMLNRasterSourceManager.m +0 -32
  1062. package/ios/RCTMLN/RCTMLNShapeSource.h +0 -53
  1063. package/ios/RCTMLN/RCTMLNShapeSource.m +0 -194
  1064. package/ios/RCTMLN/RCTMLNShapeSourceManager.h +0 -14
  1065. package/ios/RCTMLN/RCTMLNShapeSourceManager.m +0 -206
  1066. package/ios/RCTMLN/RCTMLNSource.h +0 -35
  1067. package/ios/RCTMLN/RCTMLNSource.m +0 -143
  1068. package/ios/RCTMLN/RCTMLNStyle.h +0 -222
  1069. package/ios/RCTMLN/RCTMLNStyle.m +0 -1675
  1070. package/ios/RCTMLN/RCTMLNStyleValue.h +0 -27
  1071. package/ios/RCTMLN/RCTMLNStyleValue.m +0 -167
  1072. package/ios/RCTMLN/RCTMLNSymbolLayer.h +0 -19
  1073. package/ios/RCTMLN/RCTMLNSymbolLayer.m +0 -121
  1074. package/ios/RCTMLN/RCTMLNSymbolLayerManager.h +0 -13
  1075. package/ios/RCTMLN/RCTMLNSymbolLayerManager.m +0 -40
  1076. package/ios/RCTMLN/RCTMLNTileSource.h +0 -22
  1077. package/ios/RCTMLN/RCTMLNTileSource.m +0 -31
  1078. package/ios/RCTMLN/RCTMLNUserLocation.h +0 -15
  1079. package/ios/RCTMLN/RCTMLNUserLocation.m +0 -38
  1080. package/ios/RCTMLN/RCTMLNUtils.h +0 -31
  1081. package/ios/RCTMLN/RCTMLNUtils.m +0 -218
  1082. package/ios/RCTMLN/RCTMLNVectorLayer.h +0 -15
  1083. package/ios/RCTMLN/RCTMLNVectorLayer.m +0 -59
  1084. package/ios/RCTMLN/RCTMLNVectorSource.h +0 -16
  1085. package/ios/RCTMLN/RCTMLNVectorSource.m +0 -28
  1086. package/ios/RCTMLN/RCTMLNVectorSourceManager.h +0 -14
  1087. package/ios/RCTMLN/RCTMLNVectorSourceManager.m +0 -79
  1088. package/ios/RCTMLN/RNMBImageUtils.h +0 -17
  1089. package/ios/RCTMLN/RNMBImageUtils.m +0 -31
  1090. package/ios/RCTMLN/ViewManager.h +0 -16
  1091. package/ios/RCTMLN/ViewManager.m +0 -63
  1092. package/ios/RCTMLN/index.d.ts +0 -1183
  1093. package/ios/RCTMLN.xcodeproj/project.pbxproj +0 -775
  1094. package/javascript/MLNModule.ts +0 -37
  1095. package/javascript/Maplibre.ts +0 -64
  1096. package/javascript/components/BackgroundLayer.tsx +0 -50
  1097. package/javascript/components/Callout.tsx +0 -141
  1098. package/javascript/components/Camera.tsx +0 -623
  1099. package/javascript/components/CircleLayer.tsx +0 -53
  1100. package/javascript/components/FillExtrusionLayer.tsx +0 -47
  1101. package/javascript/components/FillLayer.tsx +0 -44
  1102. package/javascript/components/HeadingIndicator.tsx +0 -30
  1103. package/javascript/components/HeatmapLayer.tsx +0 -46
  1104. package/javascript/components/ImageSource.tsx +0 -71
  1105. package/javascript/components/Images.tsx +0 -134
  1106. package/javascript/components/Light.tsx +0 -40
  1107. package/javascript/components/LineLayer.tsx +0 -45
  1108. package/javascript/components/MapView.tsx +0 -880
  1109. package/javascript/components/MarkerView.tsx +0 -88
  1110. package/javascript/components/NativeUserLocation.tsx +0 -31
  1111. package/javascript/components/PointAnnotation.tsx +0 -245
  1112. package/javascript/components/RasterLayer.tsx +0 -44
  1113. package/javascript/components/RasterSource.tsx +0 -114
  1114. package/javascript/components/ShapeSource.tsx +0 -433
  1115. package/javascript/components/Style.tsx +0 -368
  1116. package/javascript/components/SymbolLayer.tsx +0 -78
  1117. package/javascript/components/UserLocation.tsx +0 -289
  1118. package/javascript/components/VectorSource.tsx +0 -218
  1119. package/javascript/components/annotations/Annotation.tsx +0 -161
  1120. package/javascript/hooks/useAbstractLayer.ts +0 -127
  1121. package/javascript/hooks/useAbstractSource.ts +0 -34
  1122. package/javascript/hooks/useNativeBridge.ts +0 -125
  1123. package/javascript/hooks/useNativeRef.ts +0 -13
  1124. package/javascript/index.ts +0 -4
  1125. package/javascript/modules/location/locationManager.ts +0 -162
  1126. package/javascript/modules/offline/OfflineCreatePackOptions.ts +0 -62
  1127. package/javascript/modules/offline/OfflinePack.ts +0 -56
  1128. package/javascript/modules/offline/offlineManager.ts +0 -434
  1129. package/javascript/modules/snapshot/SnapshotOptions.ts +0 -104
  1130. package/javascript/modules/snapshot/snapshotManager.ts +0 -62
  1131. package/javascript/requestAndroidLocationPermissions.ts +0 -29
  1132. package/javascript/types/BaseProps.ts +0 -5
  1133. package/javascript/types/OnPressEvent.ts +0 -13
  1134. package/javascript/types/index.ts +0 -11
  1135. package/javascript/utils/BridgeValue.ts +0 -90
  1136. package/javascript/utils/Logger.ts +0 -133
  1137. package/javascript/utils/MaplibreStyles.d.ts +0 -1486
  1138. package/javascript/utils/StyleValue.ts +0 -49
  1139. package/javascript/utils/animated/Animated.ts +0 -61
  1140. package/javascript/utils/animated/AnimatedCoordinatesArray.ts +0 -108
  1141. package/javascript/utils/animated/AnimatedPoint.ts +0 -134
  1142. package/javascript/utils/animated/AnimatedRouteCoordinatesArray.ts +0 -145
  1143. package/javascript/utils/filterUtils.ts +0 -9
  1144. package/javascript/utils/geoUtils.ts +0 -79
  1145. package/javascript/utils/index.ts +0 -133
  1146. package/javascript/utils/styleMap.ts +0 -264
  1147. package/plugin/install.md +0 -32
  1148. package/react-native.config.js +0 -10
  1149. package/scripts/autogenHelpers/DocJSONBuilder.js +0 -458
  1150. package/scripts/autogenHelpers/JSDocNodeTree.js +0 -131
  1151. package/scripts/autogenHelpers/MarkdownBuilder.js +0 -29
  1152. package/scripts/autogenHelpers/globals.js +0 -507
  1153. package/scripts/autogenerate.js +0 -382
  1154. package/scripts/download-style-spec.sh +0 -15
  1155. package/scripts/templates/MaplibreStyles.ts.ejs +0 -99
  1156. package/scripts/templates/RCTMLNStyle.h.ejs +0 -33
  1157. package/scripts/templates/RCTMLNStyle.m.ejs +0 -97
  1158. package/scripts/templates/RCTMLNStyleFactory.java.ejs +0 -107
  1159. package/scripts/templates/component.md.ejs +0 -122
  1160. package/scripts/templates/index.d.ts.ejs +0 -85
  1161. package/scripts/templates/styleMap.ts.ejs +0 -85
  1162. package/setup-jest.js +0 -108
  1163. package/style-spec/v8.json +0 -6021
  1164. package/tsconfig.json +0 -24
  1165. /package/android/{rctmln/src → src}/main/res/drawable/empty.xml +0 -0
  1166. /package/android/{rctmln/src → src}/main/res/drawable/empty_drawable.png +0 -0
  1167. /package/android/{rctmln/src → src}/main/res/drawable-xxhdpi/red_marker.png +0 -0
  1168. /package/android/{rctmln/src → src}/main/res/layout/annotation.xml +0 -0
  1169. /package/{assets → lib/commonjs/assets}/heading.png +0 -0
  1170. /package/{assets → lib/commonjs/assets}/heading@2x.png +0 -0
  1171. /package/{assets → lib/commonjs/assets}/heading@3x.png +0 -0
  1172. /package/{javascript/@types/assets.d.ts → src/assets/png.d.ts} +0 -0
  1173. /package/{javascript → src}/hooks/useOnce.ts +0 -0
  1174. /package/{javascript → src}/utils/animated/AbstractAnimatedCoordinates.ts +0 -0
  1175. /package/{javascript → src}/utils/animated/AnimatedExtractCoordinateFromArray.ts +0 -0
  1176. /package/{javascript → src}/utils/animated/AnimatedShape.ts +0 -0
  1177. /package/{javascript → src}/utils/deprecation.ts +0 -0
@@ -0,0 +1,1682 @@
1
+ // DO NOT MODIFY
2
+ // This file is auto-generated from scripts/templates/MLRNStyle.m.ejs
3
+
4
+ #import "MLRNStyle.h"
5
+ #import "MLRNUtils.h"
6
+
7
+ @implementation MLRNStyle
8
+
9
+ - (id)initWithMLNStyle:(MLNStyle*)mlnStyle
10
+ {
11
+ if (self = [super init]) {
12
+ _style = mlnStyle;
13
+ }
14
+ return self;
15
+ }
16
+
17
+
18
+ - (void)fillLayer:(MLNFillStyleLayer *)layer withReactStyle:(NSDictionary *)reactStyle isValid:(BOOL (^)(void)) isValid
19
+ {
20
+ if (![self _hasReactStyle:reactStyle]) {
21
+ // TODO throw exception
22
+ return;
23
+ }
24
+
25
+ NSArray<NSString*> *styleProps = [reactStyle allKeys];
26
+ for (NSString *prop in styleProps) {
27
+ if ([prop isEqualToString:@"__MAPBOX_STYLESHEET__"]) {
28
+ continue;
29
+ }
30
+
31
+ MLRNStyleValue *styleValue = [MLRNStyleValue make:reactStyle[prop]];
32
+
33
+ if ([prop isEqualToString:@"fillSortKey"]) {
34
+ [self setFillSortKey:layer withReactStyleValue:styleValue];
35
+ } else if ([prop isEqualToString:@"visibility"]) {
36
+ [self setFillStyleLayerVisibility:layer withReactStyleValue:styleValue];
37
+ } else if ([prop isEqualToString:@"fillAntialias"]) {
38
+ [self setFillAntialias:layer withReactStyleValue:styleValue];
39
+ } else if ([prop isEqualToString:@"fillOpacity"]) {
40
+ [self setFillOpacity:layer withReactStyleValue:styleValue];
41
+ } else if ([prop isEqualToString:@"fillOpacityTransition"]) {
42
+ [self setFillOpacityTransition:layer withReactStyleValue:styleValue];
43
+ } else if ([prop isEqualToString:@"fillColor"]) {
44
+ [self setFillColor:layer withReactStyleValue:styleValue];
45
+ } else if ([prop isEqualToString:@"fillColorTransition"]) {
46
+ [self setFillColorTransition:layer withReactStyleValue:styleValue];
47
+ } else if ([prop isEqualToString:@"fillOutlineColor"]) {
48
+ [self setFillOutlineColor:layer withReactStyleValue:styleValue];
49
+ } else if ([prop isEqualToString:@"fillOutlineColorTransition"]) {
50
+ [self setFillOutlineColorTransition:layer withReactStyleValue:styleValue];
51
+ } else if ([prop isEqualToString:@"fillTranslate"]) {
52
+ [self setFillTranslate:layer withReactStyleValue:styleValue];
53
+ } else if ([prop isEqualToString:@"fillTranslateTransition"]) {
54
+ [self setFillTranslateTransition:layer withReactStyleValue:styleValue];
55
+ } else if ([prop isEqualToString:@"fillTranslateAnchor"]) {
56
+ [self setFillTranslateAnchor:layer withReactStyleValue:styleValue];
57
+ } else if ([prop isEqualToString:@"fillPattern"]) {
58
+ if (![styleValue shouldAddImage]) {
59
+ [self setFillPattern:layer withReactStyleValue:styleValue];
60
+ } else {
61
+ NSString *imageURI = [styleValue getImageURI];
62
+
63
+ [MLRNUtils fetchImage:_bridge url:imageURI scale:[styleValue getImageScale] callback:^(NSError *error, UIImage *image) {
64
+ if (image != nil) {
65
+ dispatch_async(dispatch_get_main_queue(), ^{
66
+ if (isValid()) {
67
+ [self->_style setImage:image forName:imageURI];
68
+ [self setFillPattern:layer withReactStyleValue:styleValue];
69
+ }
70
+ });
71
+ }
72
+ }];
73
+ }
74
+ } else if ([prop isEqualToString:@"fillPatternTransition"]) {
75
+ [self setFillPatternTransition:layer withReactStyleValue:styleValue];
76
+ } else {
77
+ // TODO throw exception
78
+ }
79
+ }
80
+ }
81
+
82
+ - (void)lineLayer:(MLNLineStyleLayer *)layer withReactStyle:(NSDictionary *)reactStyle isValid:(BOOL (^)(void)) isValid
83
+ {
84
+ if (![self _hasReactStyle:reactStyle]) {
85
+ // TODO throw exception
86
+ return;
87
+ }
88
+
89
+ NSArray<NSString*> *styleProps = [reactStyle allKeys];
90
+ for (NSString *prop in styleProps) {
91
+ if ([prop isEqualToString:@"__MAPBOX_STYLESHEET__"]) {
92
+ continue;
93
+ }
94
+
95
+ MLRNStyleValue *styleValue = [MLRNStyleValue make:reactStyle[prop]];
96
+
97
+ if ([prop isEqualToString:@"lineCap"]) {
98
+ [self setLineCap:layer withReactStyleValue:styleValue];
99
+ } else if ([prop isEqualToString:@"lineJoin"]) {
100
+ [self setLineJoin:layer withReactStyleValue:styleValue];
101
+ } else if ([prop isEqualToString:@"lineMiterLimit"]) {
102
+ [self setLineMiterLimit:layer withReactStyleValue:styleValue];
103
+ } else if ([prop isEqualToString:@"lineRoundLimit"]) {
104
+ [self setLineRoundLimit:layer withReactStyleValue:styleValue];
105
+ } else if ([prop isEqualToString:@"lineSortKey"]) {
106
+ [self setLineSortKey:layer withReactStyleValue:styleValue];
107
+ } else if ([prop isEqualToString:@"visibility"]) {
108
+ [self setLineStyleLayerVisibility:layer withReactStyleValue:styleValue];
109
+ } else if ([prop isEqualToString:@"lineOpacity"]) {
110
+ [self setLineOpacity:layer withReactStyleValue:styleValue];
111
+ } else if ([prop isEqualToString:@"lineOpacityTransition"]) {
112
+ [self setLineOpacityTransition:layer withReactStyleValue:styleValue];
113
+ } else if ([prop isEqualToString:@"lineColor"]) {
114
+ [self setLineColor:layer withReactStyleValue:styleValue];
115
+ } else if ([prop isEqualToString:@"lineColorTransition"]) {
116
+ [self setLineColorTransition:layer withReactStyleValue:styleValue];
117
+ } else if ([prop isEqualToString:@"lineTranslate"]) {
118
+ [self setLineTranslate:layer withReactStyleValue:styleValue];
119
+ } else if ([prop isEqualToString:@"lineTranslateTransition"]) {
120
+ [self setLineTranslateTransition:layer withReactStyleValue:styleValue];
121
+ } else if ([prop isEqualToString:@"lineTranslateAnchor"]) {
122
+ [self setLineTranslateAnchor:layer withReactStyleValue:styleValue];
123
+ } else if ([prop isEqualToString:@"lineWidth"]) {
124
+ [self setLineWidth:layer withReactStyleValue:styleValue];
125
+ } else if ([prop isEqualToString:@"lineWidthTransition"]) {
126
+ [self setLineWidthTransition:layer withReactStyleValue:styleValue];
127
+ } else if ([prop isEqualToString:@"lineGapWidth"]) {
128
+ [self setLineGapWidth:layer withReactStyleValue:styleValue];
129
+ } else if ([prop isEqualToString:@"lineGapWidthTransition"]) {
130
+ [self setLineGapWidthTransition:layer withReactStyleValue:styleValue];
131
+ } else if ([prop isEqualToString:@"lineOffset"]) {
132
+ [self setLineOffset:layer withReactStyleValue:styleValue];
133
+ } else if ([prop isEqualToString:@"lineOffsetTransition"]) {
134
+ [self setLineOffsetTransition:layer withReactStyleValue:styleValue];
135
+ } else if ([prop isEqualToString:@"lineBlur"]) {
136
+ [self setLineBlur:layer withReactStyleValue:styleValue];
137
+ } else if ([prop isEqualToString:@"lineBlurTransition"]) {
138
+ [self setLineBlurTransition:layer withReactStyleValue:styleValue];
139
+ } else if ([prop isEqualToString:@"lineDasharray"]) {
140
+ [self setLineDasharray:layer withReactStyleValue:styleValue];
141
+ } else if ([prop isEqualToString:@"lineDasharrayTransition"]) {
142
+ [self setLineDasharrayTransition:layer withReactStyleValue:styleValue];
143
+ } else if ([prop isEqualToString:@"linePattern"]) {
144
+ if (![styleValue shouldAddImage]) {
145
+ [self setLinePattern:layer withReactStyleValue:styleValue];
146
+ } else {
147
+ NSString *imageURI = [styleValue getImageURI];
148
+
149
+ [MLRNUtils fetchImage:_bridge url:imageURI scale:[styleValue getImageScale] callback:^(NSError *error, UIImage *image) {
150
+ if (image != nil) {
151
+ dispatch_async(dispatch_get_main_queue(), ^{
152
+ if (isValid()) {
153
+ [self->_style setImage:image forName:imageURI];
154
+ [self setLinePattern:layer withReactStyleValue:styleValue];
155
+ }
156
+ });
157
+ }
158
+ }];
159
+ }
160
+ } else if ([prop isEqualToString:@"linePatternTransition"]) {
161
+ [self setLinePatternTransition:layer withReactStyleValue:styleValue];
162
+ } else if ([prop isEqualToString:@"lineGradient"]) {
163
+ [self setLineGradient:layer withReactStyleValue:styleValue];
164
+ } else {
165
+ // TODO throw exception
166
+ }
167
+ }
168
+ }
169
+
170
+ - (void)symbolLayer:(MLNSymbolStyleLayer *)layer withReactStyle:(NSDictionary *)reactStyle isValid:(BOOL (^)(void)) isValid
171
+ {
172
+ if (![self _hasReactStyle:reactStyle]) {
173
+ // TODO throw exception
174
+ return;
175
+ }
176
+
177
+ NSArray<NSString*> *styleProps = [reactStyle allKeys];
178
+ for (NSString *prop in styleProps) {
179
+ if ([prop isEqualToString:@"__MAPBOX_STYLESHEET__"]) {
180
+ continue;
181
+ }
182
+
183
+ MLRNStyleValue *styleValue = [MLRNStyleValue make:reactStyle[prop]];
184
+
185
+ if ([prop isEqualToString:@"symbolPlacement"]) {
186
+ [self setSymbolPlacement:layer withReactStyleValue:styleValue];
187
+ } else if ([prop isEqualToString:@"symbolSpacing"]) {
188
+ [self setSymbolSpacing:layer withReactStyleValue:styleValue];
189
+ } else if ([prop isEqualToString:@"symbolAvoidEdges"]) {
190
+ [self setSymbolAvoidEdges:layer withReactStyleValue:styleValue];
191
+ } else if ([prop isEqualToString:@"symbolSortKey"]) {
192
+ [self setSymbolSortKey:layer withReactStyleValue:styleValue];
193
+ } else if ([prop isEqualToString:@"symbolZOrder"]) {
194
+ [self setSymbolZOrder:layer withReactStyleValue:styleValue];
195
+ } else if ([prop isEqualToString:@"iconAllowOverlap"]) {
196
+ [self setIconAllowOverlap:layer withReactStyleValue:styleValue];
197
+ } else if ([prop isEqualToString:@"iconIgnorePlacement"]) {
198
+ [self setIconIgnorePlacement:layer withReactStyleValue:styleValue];
199
+ } else if ([prop isEqualToString:@"iconOptional"]) {
200
+ [self setIconOptional:layer withReactStyleValue:styleValue];
201
+ } else if ([prop isEqualToString:@"iconRotationAlignment"]) {
202
+ [self setIconRotationAlignment:layer withReactStyleValue:styleValue];
203
+ } else if ([prop isEqualToString:@"iconSize"]) {
204
+ [self setIconSize:layer withReactStyleValue:styleValue];
205
+ } else if ([prop isEqualToString:@"iconTextFit"]) {
206
+ [self setIconTextFit:layer withReactStyleValue:styleValue];
207
+ } else if ([prop isEqualToString:@"iconTextFitPadding"]) {
208
+ [self setIconTextFitPadding:layer withReactStyleValue:styleValue];
209
+ } else if ([prop isEqualToString:@"iconImage"]) {
210
+ if (![styleValue shouldAddImage]) {
211
+ [self setIconImage:layer withReactStyleValue:styleValue];
212
+ } else {
213
+ NSString *imageURI = [styleValue getImageURI];
214
+
215
+ [MLRNUtils fetchImage:_bridge url:imageURI scale:[styleValue getImageScale] callback:^(NSError *error, UIImage *image) {
216
+ if (image != nil) {
217
+ dispatch_async(dispatch_get_main_queue(), ^{
218
+ if (isValid()) {
219
+ [self->_style setImage:image forName:imageURI];
220
+ [self setIconImage:layer withReactStyleValue:styleValue];
221
+ }
222
+ });
223
+ }
224
+ }];
225
+ }
226
+ } else if ([prop isEqualToString:@"iconRotate"]) {
227
+ [self setIconRotate:layer withReactStyleValue:styleValue];
228
+ } else if ([prop isEqualToString:@"iconPadding"]) {
229
+ [self setIconPadding:layer withReactStyleValue:styleValue];
230
+ } else if ([prop isEqualToString:@"iconKeepUpright"]) {
231
+ [self setIconKeepUpright:layer withReactStyleValue:styleValue];
232
+ } else if ([prop isEqualToString:@"iconOffset"]) {
233
+ [self setIconOffset:layer withReactStyleValue:styleValue];
234
+ } else if ([prop isEqualToString:@"iconAnchor"]) {
235
+ [self setIconAnchor:layer withReactStyleValue:styleValue];
236
+ } else if ([prop isEqualToString:@"iconPitchAlignment"]) {
237
+ [self setIconPitchAlignment:layer withReactStyleValue:styleValue];
238
+ } else if ([prop isEqualToString:@"textPitchAlignment"]) {
239
+ [self setTextPitchAlignment:layer withReactStyleValue:styleValue];
240
+ } else if ([prop isEqualToString:@"textRotationAlignment"]) {
241
+ [self setTextRotationAlignment:layer withReactStyleValue:styleValue];
242
+ } else if ([prop isEqualToString:@"textField"]) {
243
+ [self setTextField:layer withReactStyleValue:styleValue];
244
+ } else if ([prop isEqualToString:@"textFont"]) {
245
+ [self setTextFont:layer withReactStyleValue:styleValue];
246
+ } else if ([prop isEqualToString:@"textSize"]) {
247
+ [self setTextSize:layer withReactStyleValue:styleValue];
248
+ } else if ([prop isEqualToString:@"textMaxWidth"]) {
249
+ [self setTextMaxWidth:layer withReactStyleValue:styleValue];
250
+ } else if ([prop isEqualToString:@"textLineHeight"]) {
251
+ [self setTextLineHeight:layer withReactStyleValue:styleValue];
252
+ } else if ([prop isEqualToString:@"textLetterSpacing"]) {
253
+ [self setTextLetterSpacing:layer withReactStyleValue:styleValue];
254
+ } else if ([prop isEqualToString:@"textJustify"]) {
255
+ [self setTextJustify:layer withReactStyleValue:styleValue];
256
+ } else if ([prop isEqualToString:@"textRadialOffset"]) {
257
+ [self setTextRadialOffset:layer withReactStyleValue:styleValue];
258
+ } else if ([prop isEqualToString:@"textVariableAnchor"]) {
259
+ [self setTextVariableAnchor:layer withReactStyleValue:styleValue];
260
+ } else if ([prop isEqualToString:@"textAnchor"]) {
261
+ [self setTextAnchor:layer withReactStyleValue:styleValue];
262
+ } else if ([prop isEqualToString:@"textMaxAngle"]) {
263
+ [self setTextMaxAngle:layer withReactStyleValue:styleValue];
264
+ } else if ([prop isEqualToString:@"textWritingMode"]) {
265
+ [self setTextWritingMode:layer withReactStyleValue:styleValue];
266
+ } else if ([prop isEqualToString:@"textRotate"]) {
267
+ [self setTextRotate:layer withReactStyleValue:styleValue];
268
+ } else if ([prop isEqualToString:@"textPadding"]) {
269
+ [self setTextPadding:layer withReactStyleValue:styleValue];
270
+ } else if ([prop isEqualToString:@"textKeepUpright"]) {
271
+ [self setTextKeepUpright:layer withReactStyleValue:styleValue];
272
+ } else if ([prop isEqualToString:@"textTransform"]) {
273
+ [self setTextTransform:layer withReactStyleValue:styleValue];
274
+ } else if ([prop isEqualToString:@"textOffset"]) {
275
+ [self setTextOffset:layer withReactStyleValue:styleValue];
276
+ } else if ([prop isEqualToString:@"textAllowOverlap"]) {
277
+ [self setTextAllowOverlap:layer withReactStyleValue:styleValue];
278
+ } else if ([prop isEqualToString:@"textIgnorePlacement"]) {
279
+ [self setTextIgnorePlacement:layer withReactStyleValue:styleValue];
280
+ } else if ([prop isEqualToString:@"textOptional"]) {
281
+ [self setTextOptional:layer withReactStyleValue:styleValue];
282
+ } else if ([prop isEqualToString:@"visibility"]) {
283
+ [self setSymbolStyleLayerVisibility:layer withReactStyleValue:styleValue];
284
+ } else if ([prop isEqualToString:@"iconOpacity"]) {
285
+ [self setIconOpacity:layer withReactStyleValue:styleValue];
286
+ } else if ([prop isEqualToString:@"iconOpacityTransition"]) {
287
+ [self setIconOpacityTransition:layer withReactStyleValue:styleValue];
288
+ } else if ([prop isEqualToString:@"iconColor"]) {
289
+ [self setIconColor:layer withReactStyleValue:styleValue];
290
+ } else if ([prop isEqualToString:@"iconColorTransition"]) {
291
+ [self setIconColorTransition:layer withReactStyleValue:styleValue];
292
+ } else if ([prop isEqualToString:@"iconHaloColor"]) {
293
+ [self setIconHaloColor:layer withReactStyleValue:styleValue];
294
+ } else if ([prop isEqualToString:@"iconHaloColorTransition"]) {
295
+ [self setIconHaloColorTransition:layer withReactStyleValue:styleValue];
296
+ } else if ([prop isEqualToString:@"iconHaloWidth"]) {
297
+ [self setIconHaloWidth:layer withReactStyleValue:styleValue];
298
+ } else if ([prop isEqualToString:@"iconHaloWidthTransition"]) {
299
+ [self setIconHaloWidthTransition:layer withReactStyleValue:styleValue];
300
+ } else if ([prop isEqualToString:@"iconHaloBlur"]) {
301
+ [self setIconHaloBlur:layer withReactStyleValue:styleValue];
302
+ } else if ([prop isEqualToString:@"iconHaloBlurTransition"]) {
303
+ [self setIconHaloBlurTransition:layer withReactStyleValue:styleValue];
304
+ } else if ([prop isEqualToString:@"iconTranslate"]) {
305
+ [self setIconTranslate:layer withReactStyleValue:styleValue];
306
+ } else if ([prop isEqualToString:@"iconTranslateTransition"]) {
307
+ [self setIconTranslateTransition:layer withReactStyleValue:styleValue];
308
+ } else if ([prop isEqualToString:@"iconTranslateAnchor"]) {
309
+ [self setIconTranslateAnchor:layer withReactStyleValue:styleValue];
310
+ } else if ([prop isEqualToString:@"textOpacity"]) {
311
+ [self setTextOpacity:layer withReactStyleValue:styleValue];
312
+ } else if ([prop isEqualToString:@"textOpacityTransition"]) {
313
+ [self setTextOpacityTransition:layer withReactStyleValue:styleValue];
314
+ } else if ([prop isEqualToString:@"textColor"]) {
315
+ [self setTextColor:layer withReactStyleValue:styleValue];
316
+ } else if ([prop isEqualToString:@"textColorTransition"]) {
317
+ [self setTextColorTransition:layer withReactStyleValue:styleValue];
318
+ } else if ([prop isEqualToString:@"textHaloColor"]) {
319
+ [self setTextHaloColor:layer withReactStyleValue:styleValue];
320
+ } else if ([prop isEqualToString:@"textHaloColorTransition"]) {
321
+ [self setTextHaloColorTransition:layer withReactStyleValue:styleValue];
322
+ } else if ([prop isEqualToString:@"textHaloWidth"]) {
323
+ [self setTextHaloWidth:layer withReactStyleValue:styleValue];
324
+ } else if ([prop isEqualToString:@"textHaloWidthTransition"]) {
325
+ [self setTextHaloWidthTransition:layer withReactStyleValue:styleValue];
326
+ } else if ([prop isEqualToString:@"textHaloBlur"]) {
327
+ [self setTextHaloBlur:layer withReactStyleValue:styleValue];
328
+ } else if ([prop isEqualToString:@"textHaloBlurTransition"]) {
329
+ [self setTextHaloBlurTransition:layer withReactStyleValue:styleValue];
330
+ } else if ([prop isEqualToString:@"textTranslate"]) {
331
+ [self setTextTranslate:layer withReactStyleValue:styleValue];
332
+ } else if ([prop isEqualToString:@"textTranslateTransition"]) {
333
+ [self setTextTranslateTransition:layer withReactStyleValue:styleValue];
334
+ } else if ([prop isEqualToString:@"textTranslateAnchor"]) {
335
+ [self setTextTranslateAnchor:layer withReactStyleValue:styleValue];
336
+ } else {
337
+ // TODO throw exception
338
+ }
339
+ }
340
+ }
341
+
342
+ - (void)circleLayer:(MLNCircleStyleLayer *)layer withReactStyle:(NSDictionary *)reactStyle isValid:(BOOL (^)(void)) isValid
343
+ {
344
+ if (![self _hasReactStyle:reactStyle]) {
345
+ // TODO throw exception
346
+ return;
347
+ }
348
+
349
+ NSArray<NSString*> *styleProps = [reactStyle allKeys];
350
+ for (NSString *prop in styleProps) {
351
+ if ([prop isEqualToString:@"__MAPBOX_STYLESHEET__"]) {
352
+ continue;
353
+ }
354
+
355
+ MLRNStyleValue *styleValue = [MLRNStyleValue make:reactStyle[prop]];
356
+
357
+ if ([prop isEqualToString:@"circleSortKey"]) {
358
+ [self setCircleSortKey:layer withReactStyleValue:styleValue];
359
+ } else if ([prop isEqualToString:@"visibility"]) {
360
+ [self setCircleStyleLayerVisibility:layer withReactStyleValue:styleValue];
361
+ } else if ([prop isEqualToString:@"circleRadius"]) {
362
+ [self setCircleRadius:layer withReactStyleValue:styleValue];
363
+ } else if ([prop isEqualToString:@"circleRadiusTransition"]) {
364
+ [self setCircleRadiusTransition:layer withReactStyleValue:styleValue];
365
+ } else if ([prop isEqualToString:@"circleColor"]) {
366
+ [self setCircleColor:layer withReactStyleValue:styleValue];
367
+ } else if ([prop isEqualToString:@"circleColorTransition"]) {
368
+ [self setCircleColorTransition:layer withReactStyleValue:styleValue];
369
+ } else if ([prop isEqualToString:@"circleBlur"]) {
370
+ [self setCircleBlur:layer withReactStyleValue:styleValue];
371
+ } else if ([prop isEqualToString:@"circleBlurTransition"]) {
372
+ [self setCircleBlurTransition:layer withReactStyleValue:styleValue];
373
+ } else if ([prop isEqualToString:@"circleOpacity"]) {
374
+ [self setCircleOpacity:layer withReactStyleValue:styleValue];
375
+ } else if ([prop isEqualToString:@"circleOpacityTransition"]) {
376
+ [self setCircleOpacityTransition:layer withReactStyleValue:styleValue];
377
+ } else if ([prop isEqualToString:@"circleTranslate"]) {
378
+ [self setCircleTranslate:layer withReactStyleValue:styleValue];
379
+ } else if ([prop isEqualToString:@"circleTranslateTransition"]) {
380
+ [self setCircleTranslateTransition:layer withReactStyleValue:styleValue];
381
+ } else if ([prop isEqualToString:@"circleTranslateAnchor"]) {
382
+ [self setCircleTranslateAnchor:layer withReactStyleValue:styleValue];
383
+ } else if ([prop isEqualToString:@"circlePitchScale"]) {
384
+ [self setCirclePitchScale:layer withReactStyleValue:styleValue];
385
+ } else if ([prop isEqualToString:@"circlePitchAlignment"]) {
386
+ [self setCirclePitchAlignment:layer withReactStyleValue:styleValue];
387
+ } else if ([prop isEqualToString:@"circleStrokeWidth"]) {
388
+ [self setCircleStrokeWidth:layer withReactStyleValue:styleValue];
389
+ } else if ([prop isEqualToString:@"circleStrokeWidthTransition"]) {
390
+ [self setCircleStrokeWidthTransition:layer withReactStyleValue:styleValue];
391
+ } else if ([prop isEqualToString:@"circleStrokeColor"]) {
392
+ [self setCircleStrokeColor:layer withReactStyleValue:styleValue];
393
+ } else if ([prop isEqualToString:@"circleStrokeColorTransition"]) {
394
+ [self setCircleStrokeColorTransition:layer withReactStyleValue:styleValue];
395
+ } else if ([prop isEqualToString:@"circleStrokeOpacity"]) {
396
+ [self setCircleStrokeOpacity:layer withReactStyleValue:styleValue];
397
+ } else if ([prop isEqualToString:@"circleStrokeOpacityTransition"]) {
398
+ [self setCircleStrokeOpacityTransition:layer withReactStyleValue:styleValue];
399
+ } else {
400
+ // TODO throw exception
401
+ }
402
+ }
403
+ }
404
+
405
+ - (void)heatmapLayer:(MLNHeatmapStyleLayer *)layer withReactStyle:(NSDictionary *)reactStyle isValid:(BOOL (^)(void)) isValid
406
+ {
407
+ if (![self _hasReactStyle:reactStyle]) {
408
+ // TODO throw exception
409
+ return;
410
+ }
411
+
412
+ NSArray<NSString*> *styleProps = [reactStyle allKeys];
413
+ for (NSString *prop in styleProps) {
414
+ if ([prop isEqualToString:@"__MAPBOX_STYLESHEET__"]) {
415
+ continue;
416
+ }
417
+
418
+ MLRNStyleValue *styleValue = [MLRNStyleValue make:reactStyle[prop]];
419
+
420
+ if ([prop isEqualToString:@"visibility"]) {
421
+ [self setHeatmapStyleLayerVisibility:layer withReactStyleValue:styleValue];
422
+ } else if ([prop isEqualToString:@"heatmapRadius"]) {
423
+ [self setHeatmapRadius:layer withReactStyleValue:styleValue];
424
+ } else if ([prop isEqualToString:@"heatmapRadiusTransition"]) {
425
+ [self setHeatmapRadiusTransition:layer withReactStyleValue:styleValue];
426
+ } else if ([prop isEqualToString:@"heatmapWeight"]) {
427
+ [self setHeatmapWeight:layer withReactStyleValue:styleValue];
428
+ } else if ([prop isEqualToString:@"heatmapIntensity"]) {
429
+ [self setHeatmapIntensity:layer withReactStyleValue:styleValue];
430
+ } else if ([prop isEqualToString:@"heatmapIntensityTransition"]) {
431
+ [self setHeatmapIntensityTransition:layer withReactStyleValue:styleValue];
432
+ } else if ([prop isEqualToString:@"heatmapColor"]) {
433
+ [self setHeatmapColor:layer withReactStyleValue:styleValue];
434
+ } else if ([prop isEqualToString:@"heatmapOpacity"]) {
435
+ [self setHeatmapOpacity:layer withReactStyleValue:styleValue];
436
+ } else if ([prop isEqualToString:@"heatmapOpacityTransition"]) {
437
+ [self setHeatmapOpacityTransition:layer withReactStyleValue:styleValue];
438
+ } else {
439
+ // TODO throw exception
440
+ }
441
+ }
442
+ }
443
+
444
+ - (void)fillExtrusionLayer:(MLNFillExtrusionStyleLayer *)layer withReactStyle:(NSDictionary *)reactStyle isValid:(BOOL (^)(void)) isValid
445
+ {
446
+ if (![self _hasReactStyle:reactStyle]) {
447
+ // TODO throw exception
448
+ return;
449
+ }
450
+
451
+ NSArray<NSString*> *styleProps = [reactStyle allKeys];
452
+ for (NSString *prop in styleProps) {
453
+ if ([prop isEqualToString:@"__MAPBOX_STYLESHEET__"]) {
454
+ continue;
455
+ }
456
+
457
+ MLRNStyleValue *styleValue = [MLRNStyleValue make:reactStyle[prop]];
458
+
459
+ if ([prop isEqualToString:@"visibility"]) {
460
+ [self setFillExtrusionStyleLayerVisibility:layer withReactStyleValue:styleValue];
461
+ } else if ([prop isEqualToString:@"fillExtrusionOpacity"]) {
462
+ [self setFillExtrusionOpacity:layer withReactStyleValue:styleValue];
463
+ } else if ([prop isEqualToString:@"fillExtrusionOpacityTransition"]) {
464
+ [self setFillExtrusionOpacityTransition:layer withReactStyleValue:styleValue];
465
+ } else if ([prop isEqualToString:@"fillExtrusionColor"]) {
466
+ [self setFillExtrusionColor:layer withReactStyleValue:styleValue];
467
+ } else if ([prop isEqualToString:@"fillExtrusionColorTransition"]) {
468
+ [self setFillExtrusionColorTransition:layer withReactStyleValue:styleValue];
469
+ } else if ([prop isEqualToString:@"fillExtrusionTranslate"]) {
470
+ [self setFillExtrusionTranslate:layer withReactStyleValue:styleValue];
471
+ } else if ([prop isEqualToString:@"fillExtrusionTranslateTransition"]) {
472
+ [self setFillExtrusionTranslateTransition:layer withReactStyleValue:styleValue];
473
+ } else if ([prop isEqualToString:@"fillExtrusionTranslateAnchor"]) {
474
+ [self setFillExtrusionTranslateAnchor:layer withReactStyleValue:styleValue];
475
+ } else if ([prop isEqualToString:@"fillExtrusionPattern"]) {
476
+ if (![styleValue shouldAddImage]) {
477
+ [self setFillExtrusionPattern:layer withReactStyleValue:styleValue];
478
+ } else {
479
+ NSString *imageURI = [styleValue getImageURI];
480
+
481
+ [MLRNUtils fetchImage:_bridge url:imageURI scale:[styleValue getImageScale] callback:^(NSError *error, UIImage *image) {
482
+ if (image != nil) {
483
+ dispatch_async(dispatch_get_main_queue(), ^{
484
+ if (isValid()) {
485
+ [self->_style setImage:image forName:imageURI];
486
+ [self setFillExtrusionPattern:layer withReactStyleValue:styleValue];
487
+ }
488
+ });
489
+ }
490
+ }];
491
+ }
492
+ } else if ([prop isEqualToString:@"fillExtrusionPatternTransition"]) {
493
+ [self setFillExtrusionPatternTransition:layer withReactStyleValue:styleValue];
494
+ } else if ([prop isEqualToString:@"fillExtrusionHeight"]) {
495
+ [self setFillExtrusionHeight:layer withReactStyleValue:styleValue];
496
+ } else if ([prop isEqualToString:@"fillExtrusionHeightTransition"]) {
497
+ [self setFillExtrusionHeightTransition:layer withReactStyleValue:styleValue];
498
+ } else if ([prop isEqualToString:@"fillExtrusionBase"]) {
499
+ [self setFillExtrusionBase:layer withReactStyleValue:styleValue];
500
+ } else if ([prop isEqualToString:@"fillExtrusionBaseTransition"]) {
501
+ [self setFillExtrusionBaseTransition:layer withReactStyleValue:styleValue];
502
+ } else if ([prop isEqualToString:@"fillExtrusionVerticalGradient"]) {
503
+ [self setFillExtrusionVerticalGradient:layer withReactStyleValue:styleValue];
504
+ } else {
505
+ // TODO throw exception
506
+ }
507
+ }
508
+ }
509
+
510
+ - (void)rasterLayer:(MLNRasterStyleLayer *)layer withReactStyle:(NSDictionary *)reactStyle isValid:(BOOL (^)(void)) isValid
511
+ {
512
+ if (![self _hasReactStyle:reactStyle]) {
513
+ // TODO throw exception
514
+ return;
515
+ }
516
+
517
+ NSArray<NSString*> *styleProps = [reactStyle allKeys];
518
+ for (NSString *prop in styleProps) {
519
+ if ([prop isEqualToString:@"__MAPBOX_STYLESHEET__"]) {
520
+ continue;
521
+ }
522
+
523
+ MLRNStyleValue *styleValue = [MLRNStyleValue make:reactStyle[prop]];
524
+
525
+ if ([prop isEqualToString:@"visibility"]) {
526
+ [self setRasterStyleLayerVisibility:layer withReactStyleValue:styleValue];
527
+ } else if ([prop isEqualToString:@"rasterOpacity"]) {
528
+ [self setRasterOpacity:layer withReactStyleValue:styleValue];
529
+ } else if ([prop isEqualToString:@"rasterOpacityTransition"]) {
530
+ [self setRasterOpacityTransition:layer withReactStyleValue:styleValue];
531
+ } else if ([prop isEqualToString:@"rasterHueRotate"]) {
532
+ [self setRasterHueRotate:layer withReactStyleValue:styleValue];
533
+ } else if ([prop isEqualToString:@"rasterHueRotateTransition"]) {
534
+ [self setRasterHueRotateTransition:layer withReactStyleValue:styleValue];
535
+ } else if ([prop isEqualToString:@"rasterBrightnessMin"]) {
536
+ [self setRasterBrightnessMin:layer withReactStyleValue:styleValue];
537
+ } else if ([prop isEqualToString:@"rasterBrightnessMinTransition"]) {
538
+ [self setRasterBrightnessMinTransition:layer withReactStyleValue:styleValue];
539
+ } else if ([prop isEqualToString:@"rasterBrightnessMax"]) {
540
+ [self setRasterBrightnessMax:layer withReactStyleValue:styleValue];
541
+ } else if ([prop isEqualToString:@"rasterBrightnessMaxTransition"]) {
542
+ [self setRasterBrightnessMaxTransition:layer withReactStyleValue:styleValue];
543
+ } else if ([prop isEqualToString:@"rasterSaturation"]) {
544
+ [self setRasterSaturation:layer withReactStyleValue:styleValue];
545
+ } else if ([prop isEqualToString:@"rasterSaturationTransition"]) {
546
+ [self setRasterSaturationTransition:layer withReactStyleValue:styleValue];
547
+ } else if ([prop isEqualToString:@"rasterContrast"]) {
548
+ [self setRasterContrast:layer withReactStyleValue:styleValue];
549
+ } else if ([prop isEqualToString:@"rasterContrastTransition"]) {
550
+ [self setRasterContrastTransition:layer withReactStyleValue:styleValue];
551
+ } else if ([prop isEqualToString:@"rasterResampling"]) {
552
+ [self setRasterResampling:layer withReactStyleValue:styleValue];
553
+ } else if ([prop isEqualToString:@"rasterFadeDuration"]) {
554
+ [self setRasterFadeDuration:layer withReactStyleValue:styleValue];
555
+ } else {
556
+ // TODO throw exception
557
+ }
558
+ }
559
+ }
560
+
561
+ - (void)hillshadeLayer:(MLNHillshadeStyleLayer *)layer withReactStyle:(NSDictionary *)reactStyle isValid:(BOOL (^)(void)) isValid
562
+ {
563
+ if (![self _hasReactStyle:reactStyle]) {
564
+ // TODO throw exception
565
+ return;
566
+ }
567
+
568
+ NSArray<NSString*> *styleProps = [reactStyle allKeys];
569
+ for (NSString *prop in styleProps) {
570
+ if ([prop isEqualToString:@"__MAPBOX_STYLESHEET__"]) {
571
+ continue;
572
+ }
573
+
574
+ MLRNStyleValue *styleValue = [MLRNStyleValue make:reactStyle[prop]];
575
+
576
+ if ([prop isEqualToString:@"visibility"]) {
577
+ [self setHillshadeStyleLayerVisibility:layer withReactStyleValue:styleValue];
578
+ } else if ([prop isEqualToString:@"hillshadeIlluminationDirection"]) {
579
+ [self setHillshadeIlluminationDirection:layer withReactStyleValue:styleValue];
580
+ } else if ([prop isEqualToString:@"hillshadeIlluminationAnchor"]) {
581
+ [self setHillshadeIlluminationAnchor:layer withReactStyleValue:styleValue];
582
+ } else if ([prop isEqualToString:@"hillshadeExaggeration"]) {
583
+ [self setHillshadeExaggeration:layer withReactStyleValue:styleValue];
584
+ } else if ([prop isEqualToString:@"hillshadeExaggerationTransition"]) {
585
+ [self setHillshadeExaggerationTransition:layer withReactStyleValue:styleValue];
586
+ } else if ([prop isEqualToString:@"hillshadeShadowColor"]) {
587
+ [self setHillshadeShadowColor:layer withReactStyleValue:styleValue];
588
+ } else if ([prop isEqualToString:@"hillshadeShadowColorTransition"]) {
589
+ [self setHillshadeShadowColorTransition:layer withReactStyleValue:styleValue];
590
+ } else if ([prop isEqualToString:@"hillshadeHighlightColor"]) {
591
+ [self setHillshadeHighlightColor:layer withReactStyleValue:styleValue];
592
+ } else if ([prop isEqualToString:@"hillshadeHighlightColorTransition"]) {
593
+ [self setHillshadeHighlightColorTransition:layer withReactStyleValue:styleValue];
594
+ } else if ([prop isEqualToString:@"hillshadeAccentColor"]) {
595
+ [self setHillshadeAccentColor:layer withReactStyleValue:styleValue];
596
+ } else if ([prop isEqualToString:@"hillshadeAccentColorTransition"]) {
597
+ [self setHillshadeAccentColorTransition:layer withReactStyleValue:styleValue];
598
+ } else {
599
+ // TODO throw exception
600
+ }
601
+ }
602
+ }
603
+
604
+ - (void)backgroundLayer:(MLNBackgroundStyleLayer *)layer withReactStyle:(NSDictionary *)reactStyle isValid:(BOOL (^)(void)) isValid
605
+ {
606
+ if (![self _hasReactStyle:reactStyle]) {
607
+ // TODO throw exception
608
+ return;
609
+ }
610
+
611
+ NSArray<NSString*> *styleProps = [reactStyle allKeys];
612
+ for (NSString *prop in styleProps) {
613
+ if ([prop isEqualToString:@"__MAPBOX_STYLESHEET__"]) {
614
+ continue;
615
+ }
616
+
617
+ MLRNStyleValue *styleValue = [MLRNStyleValue make:reactStyle[prop]];
618
+
619
+ if ([prop isEqualToString:@"visibility"]) {
620
+ [self setBackgroundStyleLayerVisibility:layer withReactStyleValue:styleValue];
621
+ } else if ([prop isEqualToString:@"backgroundColor"]) {
622
+ [self setBackgroundColor:layer withReactStyleValue:styleValue];
623
+ } else if ([prop isEqualToString:@"backgroundColorTransition"]) {
624
+ [self setBackgroundColorTransition:layer withReactStyleValue:styleValue];
625
+ } else if ([prop isEqualToString:@"backgroundPattern"]) {
626
+ if (![styleValue shouldAddImage]) {
627
+ [self setBackgroundPattern:layer withReactStyleValue:styleValue];
628
+ } else {
629
+ NSString *imageURI = [styleValue getImageURI];
630
+
631
+ [MLRNUtils fetchImage:_bridge url:imageURI scale:[styleValue getImageScale] callback:^(NSError *error, UIImage *image) {
632
+ if (image != nil) {
633
+ dispatch_async(dispatch_get_main_queue(), ^{
634
+ if (isValid()) {
635
+ [self->_style setImage:image forName:imageURI];
636
+ [self setBackgroundPattern:layer withReactStyleValue:styleValue];
637
+ }
638
+ });
639
+ }
640
+ }];
641
+ }
642
+ } else if ([prop isEqualToString:@"backgroundPatternTransition"]) {
643
+ [self setBackgroundPatternTransition:layer withReactStyleValue:styleValue];
644
+ } else if ([prop isEqualToString:@"backgroundOpacity"]) {
645
+ [self setBackgroundOpacity:layer withReactStyleValue:styleValue];
646
+ } else if ([prop isEqualToString:@"backgroundOpacityTransition"]) {
647
+ [self setBackgroundOpacityTransition:layer withReactStyleValue:styleValue];
648
+ } else {
649
+ // TODO throw exception
650
+ }
651
+ }
652
+ }
653
+
654
+ - (void)lightLayer:(MLNLight *)layer withReactStyle:(NSDictionary *)reactStyle isValid:(BOOL (^)(void)) isValid
655
+ {
656
+ if (![self _hasReactStyle:reactStyle]) {
657
+ // TODO throw exception
658
+ return;
659
+ }
660
+
661
+ NSArray<NSString*> *styleProps = [reactStyle allKeys];
662
+ for (NSString *prop in styleProps) {
663
+ if ([prop isEqualToString:@"__MAPBOX_STYLESHEET__"]) {
664
+ continue;
665
+ }
666
+
667
+ MLRNStyleValue *styleValue = [MLRNStyleValue make:reactStyle[prop]];
668
+
669
+ if ([prop isEqualToString:@"anchor"]) {
670
+ [self setAnchor:layer withReactStyleValue:styleValue];
671
+ } else if ([prop isEqualToString:@"position"]) {
672
+ [self setPosition:layer withReactStyleValue:styleValue];
673
+ } else if ([prop isEqualToString:@"positionTransition"]) {
674
+ [self setPositionTransition:layer withReactStyleValue:styleValue];
675
+ } else if ([prop isEqualToString:@"color"]) {
676
+ [self setColor:layer withReactStyleValue:styleValue];
677
+ } else if ([prop isEqualToString:@"colorTransition"]) {
678
+ [self setColorTransition:layer withReactStyleValue:styleValue];
679
+ } else if ([prop isEqualToString:@"intensity"]) {
680
+ [self setIntensity:layer withReactStyleValue:styleValue];
681
+ } else if ([prop isEqualToString:@"intensityTransition"]) {
682
+ [self setIntensityTransition:layer withReactStyleValue:styleValue];
683
+ } else {
684
+ // TODO throw exception
685
+ }
686
+ }
687
+ }
688
+
689
+
690
+
691
+
692
+ - (void)setFillSortKey:(MLNFillStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
693
+ {
694
+ layer.fillSortKey = styleValue.mlnStyleValue;
695
+ }
696
+
697
+ - (void)setFillStyleLayerVisibility:(MLNFillStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
698
+ {
699
+ layer.visible = [styleValue isVisible];
700
+ }
701
+
702
+ - (void)setFillAntialias:(MLNFillStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
703
+ {
704
+ layer.fillAntialiased = styleValue.mlnStyleValue;
705
+ }
706
+
707
+ - (void)setFillOpacity:(MLNFillStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
708
+ {
709
+ layer.fillOpacity = styleValue.mlnStyleValue;
710
+ }
711
+
712
+ - (void)setFillOpacityTransition:(MLNFillStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
713
+ {
714
+ layer.fillOpacityTransition = [styleValue getTransition];
715
+ }
716
+
717
+ - (void)setFillColor:(MLNFillStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
718
+ {
719
+ layer.fillColor = styleValue.mlnStyleValue;
720
+ }
721
+
722
+ - (void)setFillColorTransition:(MLNFillStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
723
+ {
724
+ layer.fillColorTransition = [styleValue getTransition];
725
+ }
726
+
727
+ - (void)setFillOutlineColor:(MLNFillStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
728
+ {
729
+ layer.fillOutlineColor = styleValue.mlnStyleValue;
730
+ }
731
+
732
+ - (void)setFillOutlineColorTransition:(MLNFillStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
733
+ {
734
+ layer.fillOutlineColorTransition = [styleValue getTransition];
735
+ }
736
+
737
+ - (void)setFillTranslate:(MLNFillStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
738
+ {
739
+ layer.fillTranslation = styleValue.mlnStyleValue;
740
+ }
741
+
742
+ - (void)setFillTranslateTransition:(MLNFillStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
743
+ {
744
+ layer.fillTranslationTransition = [styleValue getTransition];
745
+ }
746
+
747
+ - (void)setFillTranslateAnchor:(MLNFillStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
748
+ {
749
+ layer.fillTranslationAnchor = styleValue.mlnStyleValue;
750
+ }
751
+
752
+ - (void)setFillPattern:(MLNFillStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
753
+ {
754
+ layer.fillPattern = styleValue.mlnStyleValue;
755
+ }
756
+
757
+ - (void)setFillPatternTransition:(MLNFillStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
758
+ {
759
+ layer.fillPatternTransition = [styleValue getTransition];
760
+ }
761
+
762
+
763
+
764
+ - (void)setLineCap:(MLNLineStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
765
+ {
766
+ layer.lineCap = styleValue.mlnStyleValue;
767
+ }
768
+
769
+ - (void)setLineJoin:(MLNLineStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
770
+ {
771
+ layer.lineJoin = styleValue.mlnStyleValue;
772
+ }
773
+
774
+ - (void)setLineMiterLimit:(MLNLineStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
775
+ {
776
+ layer.lineMiterLimit = styleValue.mlnStyleValue;
777
+ }
778
+
779
+ - (void)setLineRoundLimit:(MLNLineStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
780
+ {
781
+ layer.lineRoundLimit = styleValue.mlnStyleValue;
782
+ }
783
+
784
+ - (void)setLineSortKey:(MLNLineStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
785
+ {
786
+ layer.lineSortKey = styleValue.mlnStyleValue;
787
+ }
788
+
789
+ - (void)setLineStyleLayerVisibility:(MLNLineStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
790
+ {
791
+ layer.visible = [styleValue isVisible];
792
+ }
793
+
794
+ - (void)setLineOpacity:(MLNLineStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
795
+ {
796
+ layer.lineOpacity = styleValue.mlnStyleValue;
797
+ }
798
+
799
+ - (void)setLineOpacityTransition:(MLNLineStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
800
+ {
801
+ layer.lineOpacityTransition = [styleValue getTransition];
802
+ }
803
+
804
+ - (void)setLineColor:(MLNLineStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
805
+ {
806
+ layer.lineColor = styleValue.mlnStyleValue;
807
+ }
808
+
809
+ - (void)setLineColorTransition:(MLNLineStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
810
+ {
811
+ layer.lineColorTransition = [styleValue getTransition];
812
+ }
813
+
814
+ - (void)setLineTranslate:(MLNLineStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
815
+ {
816
+ layer.lineTranslation = styleValue.mlnStyleValue;
817
+ }
818
+
819
+ - (void)setLineTranslateTransition:(MLNLineStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
820
+ {
821
+ layer.lineTranslationTransition = [styleValue getTransition];
822
+ }
823
+
824
+ - (void)setLineTranslateAnchor:(MLNLineStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
825
+ {
826
+ layer.lineTranslationAnchor = styleValue.mlnStyleValue;
827
+ }
828
+
829
+ - (void)setLineWidth:(MLNLineStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
830
+ {
831
+ layer.lineWidth = styleValue.mlnStyleValue;
832
+ }
833
+
834
+ - (void)setLineWidthTransition:(MLNLineStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
835
+ {
836
+ layer.lineWidthTransition = [styleValue getTransition];
837
+ }
838
+
839
+ - (void)setLineGapWidth:(MLNLineStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
840
+ {
841
+ layer.lineGapWidth = styleValue.mlnStyleValue;
842
+ }
843
+
844
+ - (void)setLineGapWidthTransition:(MLNLineStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
845
+ {
846
+ layer.lineGapWidthTransition = [styleValue getTransition];
847
+ }
848
+
849
+ - (void)setLineOffset:(MLNLineStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
850
+ {
851
+ layer.lineOffset = styleValue.mlnStyleValue;
852
+ }
853
+
854
+ - (void)setLineOffsetTransition:(MLNLineStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
855
+ {
856
+ layer.lineOffsetTransition = [styleValue getTransition];
857
+ }
858
+
859
+ - (void)setLineBlur:(MLNLineStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
860
+ {
861
+ layer.lineBlur = styleValue.mlnStyleValue;
862
+ }
863
+
864
+ - (void)setLineBlurTransition:(MLNLineStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
865
+ {
866
+ layer.lineBlurTransition = [styleValue getTransition];
867
+ }
868
+
869
+ - (void)setLineDasharray:(MLNLineStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
870
+ {
871
+ layer.lineDashPattern = styleValue.mlnStyleValue;
872
+ }
873
+
874
+ - (void)setLineDasharrayTransition:(MLNLineStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
875
+ {
876
+ layer.lineDashPatternTransition = [styleValue getTransition];
877
+ }
878
+
879
+ - (void)setLinePattern:(MLNLineStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
880
+ {
881
+ layer.linePattern = styleValue.mlnStyleValue;
882
+ }
883
+
884
+ - (void)setLinePatternTransition:(MLNLineStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
885
+ {
886
+ layer.linePatternTransition = [styleValue getTransition];
887
+ }
888
+
889
+ - (void)setLineGradient:(MLNLineStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
890
+ {
891
+ layer.lineGradient = styleValue.mlnStyleValue;
892
+ }
893
+
894
+
895
+
896
+ - (void)setSymbolPlacement:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
897
+ {
898
+ layer.symbolPlacement = styleValue.mlnStyleValue;
899
+ }
900
+
901
+ - (void)setSymbolSpacing:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
902
+ {
903
+ layer.symbolSpacing = styleValue.mlnStyleValue;
904
+ }
905
+
906
+ - (void)setSymbolAvoidEdges:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
907
+ {
908
+ layer.symbolAvoidsEdges = styleValue.mlnStyleValue;
909
+ }
910
+
911
+ - (void)setSymbolSortKey:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
912
+ {
913
+ layer.symbolSortKey = styleValue.mlnStyleValue;
914
+ }
915
+
916
+ - (void)setSymbolZOrder:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
917
+ {
918
+ layer.symbolZOrder = styleValue.mlnStyleValue;
919
+ }
920
+
921
+ - (void)setIconAllowOverlap:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
922
+ {
923
+ layer.iconAllowsOverlap = styleValue.mlnStyleValue;
924
+ }
925
+
926
+ - (void)setIconIgnorePlacement:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
927
+ {
928
+ layer.iconIgnoresPlacement = styleValue.mlnStyleValue;
929
+ }
930
+
931
+ - (void)setIconOptional:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
932
+ {
933
+ layer.iconOptional = styleValue.mlnStyleValue;
934
+ }
935
+
936
+ - (void)setIconRotationAlignment:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
937
+ {
938
+ layer.iconRotationAlignment = styleValue.mlnStyleValue;
939
+ }
940
+
941
+ - (void)setIconSize:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
942
+ {
943
+ layer.iconScale = styleValue.mlnStyleValue;
944
+ }
945
+
946
+ - (void)setIconTextFit:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
947
+ {
948
+ layer.iconTextFit = styleValue.mlnStyleValue;
949
+ }
950
+
951
+ - (void)setIconTextFitPadding:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
952
+ {
953
+ layer.iconTextFitPadding = styleValue.mlnStyleValue;
954
+ }
955
+
956
+ - (void)setIconImage:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
957
+ {
958
+ layer.iconImageName = styleValue.mlnStyleValue;
959
+ }
960
+
961
+ - (void)setIconRotate:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
962
+ {
963
+ layer.iconRotation = styleValue.mlnStyleValue;
964
+ }
965
+
966
+ - (void)setIconPadding:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
967
+ {
968
+ layer.iconPadding = styleValue.mlnStyleValue;
969
+ }
970
+
971
+ - (void)setIconKeepUpright:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
972
+ {
973
+ layer.keepsIconUpright = styleValue.mlnStyleValue;
974
+ }
975
+
976
+ - (void)setIconOffset:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
977
+ {
978
+ layer.iconOffset = styleValue.mlnStyleValue;
979
+ }
980
+
981
+ - (void)setIconAnchor:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
982
+ {
983
+ layer.iconAnchor = styleValue.mlnStyleValue;
984
+ }
985
+
986
+ - (void)setIconPitchAlignment:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
987
+ {
988
+ layer.iconPitchAlignment = styleValue.mlnStyleValue;
989
+ }
990
+
991
+ - (void)setTextPitchAlignment:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
992
+ {
993
+ layer.textPitchAlignment = styleValue.mlnStyleValue;
994
+ }
995
+
996
+ - (void)setTextRotationAlignment:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
997
+ {
998
+ layer.textRotationAlignment = styleValue.mlnStyleValue;
999
+ }
1000
+
1001
+ - (void)setTextField:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1002
+ {
1003
+ layer.text = styleValue.mlnStyleValue;
1004
+ }
1005
+
1006
+ - (void)setTextFont:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1007
+ {
1008
+ layer.textFontNames = styleValue.mlnStyleValue;
1009
+ }
1010
+
1011
+ - (void)setTextSize:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1012
+ {
1013
+ layer.textFontSize = styleValue.mlnStyleValue;
1014
+ }
1015
+
1016
+ - (void)setTextMaxWidth:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1017
+ {
1018
+ layer.maximumTextWidth = styleValue.mlnStyleValue;
1019
+ }
1020
+
1021
+ - (void)setTextLineHeight:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1022
+ {
1023
+ layer.textLineHeight = styleValue.mlnStyleValue;
1024
+ }
1025
+
1026
+ - (void)setTextLetterSpacing:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1027
+ {
1028
+ layer.textLetterSpacing = styleValue.mlnStyleValue;
1029
+ }
1030
+
1031
+ - (void)setTextJustify:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1032
+ {
1033
+ layer.textJustification = styleValue.mlnStyleValue;
1034
+ }
1035
+
1036
+ - (void)setTextRadialOffset:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1037
+ {
1038
+ layer.textRadialOffset = styleValue.mlnStyleValue;
1039
+ }
1040
+
1041
+ - (void)setTextVariableAnchor:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1042
+ {
1043
+ layer.textVariableAnchor = styleValue.mlnStyleValue;
1044
+ }
1045
+
1046
+ - (void)setTextAnchor:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1047
+ {
1048
+ layer.textAnchor = styleValue.mlnStyleValue;
1049
+ }
1050
+
1051
+ - (void)setTextMaxAngle:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1052
+ {
1053
+ layer.maximumTextAngle = styleValue.mlnStyleValue;
1054
+ }
1055
+
1056
+ - (void)setTextWritingMode:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1057
+ {
1058
+ layer.textWritingModes = styleValue.mlnStyleValue;
1059
+ }
1060
+
1061
+ - (void)setTextRotate:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1062
+ {
1063
+ layer.textRotation = styleValue.mlnStyleValue;
1064
+ }
1065
+
1066
+ - (void)setTextPadding:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1067
+ {
1068
+ layer.textPadding = styleValue.mlnStyleValue;
1069
+ }
1070
+
1071
+ - (void)setTextKeepUpright:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1072
+ {
1073
+ layer.keepsTextUpright = styleValue.mlnStyleValue;
1074
+ }
1075
+
1076
+ - (void)setTextTransform:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1077
+ {
1078
+ layer.textTransform = styleValue.mlnStyleValue;
1079
+ }
1080
+
1081
+ - (void)setTextOffset:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1082
+ {
1083
+ layer.textOffset = styleValue.mlnStyleValue;
1084
+ }
1085
+
1086
+ - (void)setTextAllowOverlap:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1087
+ {
1088
+ layer.textAllowsOverlap = styleValue.mlnStyleValue;
1089
+ }
1090
+
1091
+ - (void)setTextIgnorePlacement:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1092
+ {
1093
+ layer.textIgnoresPlacement = styleValue.mlnStyleValue;
1094
+ }
1095
+
1096
+ - (void)setTextOptional:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1097
+ {
1098
+ layer.textOptional = styleValue.mlnStyleValue;
1099
+ }
1100
+
1101
+ - (void)setSymbolStyleLayerVisibility:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1102
+ {
1103
+ layer.visible = [styleValue isVisible];
1104
+ }
1105
+
1106
+ - (void)setIconOpacity:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1107
+ {
1108
+ layer.iconOpacity = styleValue.mlnStyleValue;
1109
+ }
1110
+
1111
+ - (void)setIconOpacityTransition:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1112
+ {
1113
+ layer.iconOpacityTransition = [styleValue getTransition];
1114
+ }
1115
+
1116
+ - (void)setIconColor:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1117
+ {
1118
+ layer.iconColor = styleValue.mlnStyleValue;
1119
+ }
1120
+
1121
+ - (void)setIconColorTransition:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1122
+ {
1123
+ layer.iconColorTransition = [styleValue getTransition];
1124
+ }
1125
+
1126
+ - (void)setIconHaloColor:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1127
+ {
1128
+ layer.iconHaloColor = styleValue.mlnStyleValue;
1129
+ }
1130
+
1131
+ - (void)setIconHaloColorTransition:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1132
+ {
1133
+ layer.iconHaloColorTransition = [styleValue getTransition];
1134
+ }
1135
+
1136
+ - (void)setIconHaloWidth:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1137
+ {
1138
+ layer.iconHaloWidth = styleValue.mlnStyleValue;
1139
+ }
1140
+
1141
+ - (void)setIconHaloWidthTransition:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1142
+ {
1143
+ layer.iconHaloWidthTransition = [styleValue getTransition];
1144
+ }
1145
+
1146
+ - (void)setIconHaloBlur:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1147
+ {
1148
+ layer.iconHaloBlur = styleValue.mlnStyleValue;
1149
+ }
1150
+
1151
+ - (void)setIconHaloBlurTransition:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1152
+ {
1153
+ layer.iconHaloBlurTransition = [styleValue getTransition];
1154
+ }
1155
+
1156
+ - (void)setIconTranslate:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1157
+ {
1158
+ layer.iconTranslation = styleValue.mlnStyleValue;
1159
+ }
1160
+
1161
+ - (void)setIconTranslateTransition:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1162
+ {
1163
+ layer.iconTranslationTransition = [styleValue getTransition];
1164
+ }
1165
+
1166
+ - (void)setIconTranslateAnchor:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1167
+ {
1168
+ layer.iconTranslationAnchor = styleValue.mlnStyleValue;
1169
+ }
1170
+
1171
+ - (void)setTextOpacity:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1172
+ {
1173
+ layer.textOpacity = styleValue.mlnStyleValue;
1174
+ }
1175
+
1176
+ - (void)setTextOpacityTransition:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1177
+ {
1178
+ layer.textOpacityTransition = [styleValue getTransition];
1179
+ }
1180
+
1181
+ - (void)setTextColor:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1182
+ {
1183
+ layer.textColor = styleValue.mlnStyleValue;
1184
+ }
1185
+
1186
+ - (void)setTextColorTransition:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1187
+ {
1188
+ layer.textColorTransition = [styleValue getTransition];
1189
+ }
1190
+
1191
+ - (void)setTextHaloColor:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1192
+ {
1193
+ layer.textHaloColor = styleValue.mlnStyleValue;
1194
+ }
1195
+
1196
+ - (void)setTextHaloColorTransition:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1197
+ {
1198
+ layer.textHaloColorTransition = [styleValue getTransition];
1199
+ }
1200
+
1201
+ - (void)setTextHaloWidth:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1202
+ {
1203
+ layer.textHaloWidth = styleValue.mlnStyleValue;
1204
+ }
1205
+
1206
+ - (void)setTextHaloWidthTransition:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1207
+ {
1208
+ layer.textHaloWidthTransition = [styleValue getTransition];
1209
+ }
1210
+
1211
+ - (void)setTextHaloBlur:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1212
+ {
1213
+ layer.textHaloBlur = styleValue.mlnStyleValue;
1214
+ }
1215
+
1216
+ - (void)setTextHaloBlurTransition:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1217
+ {
1218
+ layer.textHaloBlurTransition = [styleValue getTransition];
1219
+ }
1220
+
1221
+ - (void)setTextTranslate:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1222
+ {
1223
+ layer.textTranslation = styleValue.mlnStyleValue;
1224
+ }
1225
+
1226
+ - (void)setTextTranslateTransition:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1227
+ {
1228
+ layer.textTranslationTransition = [styleValue getTransition];
1229
+ }
1230
+
1231
+ - (void)setTextTranslateAnchor:(MLNSymbolStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1232
+ {
1233
+ layer.textTranslationAnchor = styleValue.mlnStyleValue;
1234
+ }
1235
+
1236
+
1237
+
1238
+ - (void)setCircleSortKey:(MLNCircleStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1239
+ {
1240
+ layer.circleSortKey = styleValue.mlnStyleValue;
1241
+ }
1242
+
1243
+ - (void)setCircleStyleLayerVisibility:(MLNCircleStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1244
+ {
1245
+ layer.visible = [styleValue isVisible];
1246
+ }
1247
+
1248
+ - (void)setCircleRadius:(MLNCircleStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1249
+ {
1250
+ layer.circleRadius = styleValue.mlnStyleValue;
1251
+ }
1252
+
1253
+ - (void)setCircleRadiusTransition:(MLNCircleStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1254
+ {
1255
+ layer.circleRadiusTransition = [styleValue getTransition];
1256
+ }
1257
+
1258
+ - (void)setCircleColor:(MLNCircleStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1259
+ {
1260
+ layer.circleColor = styleValue.mlnStyleValue;
1261
+ }
1262
+
1263
+ - (void)setCircleColorTransition:(MLNCircleStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1264
+ {
1265
+ layer.circleColorTransition = [styleValue getTransition];
1266
+ }
1267
+
1268
+ - (void)setCircleBlur:(MLNCircleStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1269
+ {
1270
+ layer.circleBlur = styleValue.mlnStyleValue;
1271
+ }
1272
+
1273
+ - (void)setCircleBlurTransition:(MLNCircleStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1274
+ {
1275
+ layer.circleBlurTransition = [styleValue getTransition];
1276
+ }
1277
+
1278
+ - (void)setCircleOpacity:(MLNCircleStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1279
+ {
1280
+ layer.circleOpacity = styleValue.mlnStyleValue;
1281
+ }
1282
+
1283
+ - (void)setCircleOpacityTransition:(MLNCircleStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1284
+ {
1285
+ layer.circleOpacityTransition = [styleValue getTransition];
1286
+ }
1287
+
1288
+ - (void)setCircleTranslate:(MLNCircleStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1289
+ {
1290
+ layer.circleTranslation = styleValue.mlnStyleValue;
1291
+ }
1292
+
1293
+ - (void)setCircleTranslateTransition:(MLNCircleStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1294
+ {
1295
+ layer.circleTranslationTransition = [styleValue getTransition];
1296
+ }
1297
+
1298
+ - (void)setCircleTranslateAnchor:(MLNCircleStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1299
+ {
1300
+ layer.circleTranslationAnchor = styleValue.mlnStyleValue;
1301
+ }
1302
+
1303
+ - (void)setCirclePitchScale:(MLNCircleStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1304
+ {
1305
+ layer.circleScaleAlignment = styleValue.mlnStyleValue;
1306
+ }
1307
+
1308
+ - (void)setCirclePitchAlignment:(MLNCircleStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1309
+ {
1310
+ layer.circlePitchAlignment = styleValue.mlnStyleValue;
1311
+ }
1312
+
1313
+ - (void)setCircleStrokeWidth:(MLNCircleStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1314
+ {
1315
+ layer.circleStrokeWidth = styleValue.mlnStyleValue;
1316
+ }
1317
+
1318
+ - (void)setCircleStrokeWidthTransition:(MLNCircleStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1319
+ {
1320
+ layer.circleStrokeWidthTransition = [styleValue getTransition];
1321
+ }
1322
+
1323
+ - (void)setCircleStrokeColor:(MLNCircleStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1324
+ {
1325
+ layer.circleStrokeColor = styleValue.mlnStyleValue;
1326
+ }
1327
+
1328
+ - (void)setCircleStrokeColorTransition:(MLNCircleStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1329
+ {
1330
+ layer.circleStrokeColorTransition = [styleValue getTransition];
1331
+ }
1332
+
1333
+ - (void)setCircleStrokeOpacity:(MLNCircleStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1334
+ {
1335
+ layer.circleStrokeOpacity = styleValue.mlnStyleValue;
1336
+ }
1337
+
1338
+ - (void)setCircleStrokeOpacityTransition:(MLNCircleStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1339
+ {
1340
+ layer.circleStrokeOpacityTransition = [styleValue getTransition];
1341
+ }
1342
+
1343
+
1344
+
1345
+ - (void)setHeatmapStyleLayerVisibility:(MLNHeatmapStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1346
+ {
1347
+ layer.visible = [styleValue isVisible];
1348
+ }
1349
+
1350
+ - (void)setHeatmapRadius:(MLNHeatmapStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1351
+ {
1352
+ layer.heatmapRadius = styleValue.mlnStyleValue;
1353
+ }
1354
+
1355
+ - (void)setHeatmapRadiusTransition:(MLNHeatmapStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1356
+ {
1357
+ layer.heatmapRadiusTransition = [styleValue getTransition];
1358
+ }
1359
+
1360
+ - (void)setHeatmapWeight:(MLNHeatmapStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1361
+ {
1362
+ layer.heatmapWeight = styleValue.mlnStyleValue;
1363
+ }
1364
+
1365
+ - (void)setHeatmapIntensity:(MLNHeatmapStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1366
+ {
1367
+ layer.heatmapIntensity = styleValue.mlnStyleValue;
1368
+ }
1369
+
1370
+ - (void)setHeatmapIntensityTransition:(MLNHeatmapStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1371
+ {
1372
+ layer.heatmapIntensityTransition = [styleValue getTransition];
1373
+ }
1374
+
1375
+ - (void)setHeatmapColor:(MLNHeatmapStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1376
+ {
1377
+ layer.heatmapColor = styleValue.mlnStyleValue;
1378
+ }
1379
+
1380
+ - (void)setHeatmapOpacity:(MLNHeatmapStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1381
+ {
1382
+ layer.heatmapOpacity = styleValue.mlnStyleValue;
1383
+ }
1384
+
1385
+ - (void)setHeatmapOpacityTransition:(MLNHeatmapStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1386
+ {
1387
+ layer.heatmapOpacityTransition = [styleValue getTransition];
1388
+ }
1389
+
1390
+
1391
+
1392
+ - (void)setFillExtrusionStyleLayerVisibility:(MLNFillExtrusionStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1393
+ {
1394
+ layer.visible = [styleValue isVisible];
1395
+ }
1396
+
1397
+ - (void)setFillExtrusionOpacity:(MLNFillExtrusionStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1398
+ {
1399
+ layer.fillExtrusionOpacity = styleValue.mlnStyleValue;
1400
+ }
1401
+
1402
+ - (void)setFillExtrusionOpacityTransition:(MLNFillExtrusionStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1403
+ {
1404
+ layer.fillExtrusionOpacityTransition = [styleValue getTransition];
1405
+ }
1406
+
1407
+ - (void)setFillExtrusionColor:(MLNFillExtrusionStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1408
+ {
1409
+ layer.fillExtrusionColor = styleValue.mlnStyleValue;
1410
+ }
1411
+
1412
+ - (void)setFillExtrusionColorTransition:(MLNFillExtrusionStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1413
+ {
1414
+ layer.fillExtrusionColorTransition = [styleValue getTransition];
1415
+ }
1416
+
1417
+ - (void)setFillExtrusionTranslate:(MLNFillExtrusionStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1418
+ {
1419
+ layer.fillExtrusionTranslation = styleValue.mlnStyleValue;
1420
+ }
1421
+
1422
+ - (void)setFillExtrusionTranslateTransition:(MLNFillExtrusionStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1423
+ {
1424
+ layer.fillExtrusionTranslationTransition = [styleValue getTransition];
1425
+ }
1426
+
1427
+ - (void)setFillExtrusionTranslateAnchor:(MLNFillExtrusionStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1428
+ {
1429
+ layer.fillExtrusionTranslationAnchor = styleValue.mlnStyleValue;
1430
+ }
1431
+
1432
+ - (void)setFillExtrusionPattern:(MLNFillExtrusionStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1433
+ {
1434
+ layer.fillExtrusionPattern = styleValue.mlnStyleValue;
1435
+ }
1436
+
1437
+ - (void)setFillExtrusionPatternTransition:(MLNFillExtrusionStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1438
+ {
1439
+ layer.fillExtrusionPatternTransition = [styleValue getTransition];
1440
+ }
1441
+
1442
+ - (void)setFillExtrusionHeight:(MLNFillExtrusionStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1443
+ {
1444
+ layer.fillExtrusionHeight = styleValue.mlnStyleValue;
1445
+ }
1446
+
1447
+ - (void)setFillExtrusionHeightTransition:(MLNFillExtrusionStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1448
+ {
1449
+ layer.fillExtrusionHeightTransition = [styleValue getTransition];
1450
+ }
1451
+
1452
+ - (void)setFillExtrusionBase:(MLNFillExtrusionStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1453
+ {
1454
+ layer.fillExtrusionBase = styleValue.mlnStyleValue;
1455
+ }
1456
+
1457
+ - (void)setFillExtrusionBaseTransition:(MLNFillExtrusionStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1458
+ {
1459
+ layer.fillExtrusionBaseTransition = [styleValue getTransition];
1460
+ }
1461
+
1462
+ - (void)setFillExtrusionVerticalGradient:(MLNFillExtrusionStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1463
+ {
1464
+ layer.fillExtrusionHasVerticalGradient = styleValue.mlnStyleValue;
1465
+ }
1466
+
1467
+
1468
+
1469
+ - (void)setRasterStyleLayerVisibility:(MLNRasterStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1470
+ {
1471
+ layer.visible = [styleValue isVisible];
1472
+ }
1473
+
1474
+ - (void)setRasterOpacity:(MLNRasterStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1475
+ {
1476
+ layer.rasterOpacity = styleValue.mlnStyleValue;
1477
+ }
1478
+
1479
+ - (void)setRasterOpacityTransition:(MLNRasterStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1480
+ {
1481
+ layer.rasterOpacityTransition = [styleValue getTransition];
1482
+ }
1483
+
1484
+ - (void)setRasterHueRotate:(MLNRasterStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1485
+ {
1486
+ layer.rasterHueRotation = styleValue.mlnStyleValue;
1487
+ }
1488
+
1489
+ - (void)setRasterHueRotateTransition:(MLNRasterStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1490
+ {
1491
+ layer.rasterHueRotationTransition = [styleValue getTransition];
1492
+ }
1493
+
1494
+ - (void)setRasterBrightnessMin:(MLNRasterStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1495
+ {
1496
+ layer.minimumRasterBrightness = styleValue.mlnStyleValue;
1497
+ }
1498
+
1499
+ - (void)setRasterBrightnessMinTransition:(MLNRasterStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1500
+ {
1501
+ layer.minimumRasterBrightnessTransition = [styleValue getTransition];
1502
+ }
1503
+
1504
+ - (void)setRasterBrightnessMax:(MLNRasterStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1505
+ {
1506
+ layer.maximumRasterBrightness = styleValue.mlnStyleValue;
1507
+ }
1508
+
1509
+ - (void)setRasterBrightnessMaxTransition:(MLNRasterStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1510
+ {
1511
+ layer.maximumRasterBrightnessTransition = [styleValue getTransition];
1512
+ }
1513
+
1514
+ - (void)setRasterSaturation:(MLNRasterStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1515
+ {
1516
+ layer.rasterSaturation = styleValue.mlnStyleValue;
1517
+ }
1518
+
1519
+ - (void)setRasterSaturationTransition:(MLNRasterStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1520
+ {
1521
+ layer.rasterSaturationTransition = [styleValue getTransition];
1522
+ }
1523
+
1524
+ - (void)setRasterContrast:(MLNRasterStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1525
+ {
1526
+ layer.rasterContrast = styleValue.mlnStyleValue;
1527
+ }
1528
+
1529
+ - (void)setRasterContrastTransition:(MLNRasterStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1530
+ {
1531
+ layer.rasterContrastTransition = [styleValue getTransition];
1532
+ }
1533
+
1534
+ - (void)setRasterResampling:(MLNRasterStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1535
+ {
1536
+ layer.rasterResamplingMode = styleValue.mlnStyleValue;
1537
+ }
1538
+
1539
+ - (void)setRasterFadeDuration:(MLNRasterStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1540
+ {
1541
+ layer.rasterFadeDuration = styleValue.mlnStyleValue;
1542
+ }
1543
+
1544
+
1545
+
1546
+ - (void)setHillshadeStyleLayerVisibility:(MLNHillshadeStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1547
+ {
1548
+ layer.visible = [styleValue isVisible];
1549
+ }
1550
+
1551
+ - (void)setHillshadeIlluminationDirection:(MLNHillshadeStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1552
+ {
1553
+ layer.hillshadeIlluminationDirection = styleValue.mlnStyleValue;
1554
+ }
1555
+
1556
+ - (void)setHillshadeIlluminationAnchor:(MLNHillshadeStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1557
+ {
1558
+ layer.hillshadeIlluminationAnchor = styleValue.mlnStyleValue;
1559
+ }
1560
+
1561
+ - (void)setHillshadeExaggeration:(MLNHillshadeStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1562
+ {
1563
+ layer.hillshadeExaggeration = styleValue.mlnStyleValue;
1564
+ }
1565
+
1566
+ - (void)setHillshadeExaggerationTransition:(MLNHillshadeStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1567
+ {
1568
+ layer.hillshadeExaggerationTransition = [styleValue getTransition];
1569
+ }
1570
+
1571
+ - (void)setHillshadeShadowColor:(MLNHillshadeStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1572
+ {
1573
+ layer.hillshadeShadowColor = styleValue.mlnStyleValue;
1574
+ }
1575
+
1576
+ - (void)setHillshadeShadowColorTransition:(MLNHillshadeStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1577
+ {
1578
+ layer.hillshadeShadowColorTransition = [styleValue getTransition];
1579
+ }
1580
+
1581
+ - (void)setHillshadeHighlightColor:(MLNHillshadeStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1582
+ {
1583
+ layer.hillshadeHighlightColor = styleValue.mlnStyleValue;
1584
+ }
1585
+
1586
+ - (void)setHillshadeHighlightColorTransition:(MLNHillshadeStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1587
+ {
1588
+ layer.hillshadeHighlightColorTransition = [styleValue getTransition];
1589
+ }
1590
+
1591
+ - (void)setHillshadeAccentColor:(MLNHillshadeStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1592
+ {
1593
+ layer.hillshadeAccentColor = styleValue.mlnStyleValue;
1594
+ }
1595
+
1596
+ - (void)setHillshadeAccentColorTransition:(MLNHillshadeStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1597
+ {
1598
+ layer.hillshadeAccentColorTransition = [styleValue getTransition];
1599
+ }
1600
+
1601
+
1602
+
1603
+ - (void)setBackgroundStyleLayerVisibility:(MLNBackgroundStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1604
+ {
1605
+ layer.visible = [styleValue isVisible];
1606
+ }
1607
+
1608
+ - (void)setBackgroundColor:(MLNBackgroundStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1609
+ {
1610
+ layer.backgroundColor = styleValue.mlnStyleValue;
1611
+ }
1612
+
1613
+ - (void)setBackgroundColorTransition:(MLNBackgroundStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1614
+ {
1615
+ layer.backgroundColorTransition = [styleValue getTransition];
1616
+ }
1617
+
1618
+ - (void)setBackgroundPattern:(MLNBackgroundStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1619
+ {
1620
+ layer.backgroundPattern = styleValue.mlnStyleValue;
1621
+ }
1622
+
1623
+ - (void)setBackgroundPatternTransition:(MLNBackgroundStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1624
+ {
1625
+ layer.backgroundPatternTransition = [styleValue getTransition];
1626
+ }
1627
+
1628
+ - (void)setBackgroundOpacity:(MLNBackgroundStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1629
+ {
1630
+ layer.backgroundOpacity = styleValue.mlnStyleValue;
1631
+ }
1632
+
1633
+ - (void)setBackgroundOpacityTransition:(MLNBackgroundStyleLayer *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1634
+ {
1635
+ layer.backgroundOpacityTransition = [styleValue getTransition];
1636
+ }
1637
+
1638
+
1639
+
1640
+ - (void)setAnchor:(MLNLight *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1641
+ {
1642
+ layer.anchor = styleValue.mlnStyleValue;
1643
+ }
1644
+
1645
+ - (void)setPosition:(MLNLight *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1646
+ {
1647
+ layer.position = [styleValue getSphericalPosition];
1648
+ }
1649
+
1650
+ - (void)setPositionTransition:(MLNLight *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1651
+ {
1652
+ layer.positionTransition = [styleValue getTransition];
1653
+ }
1654
+
1655
+ - (void)setColor:(MLNLight *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1656
+ {
1657
+ layer.color = styleValue.mlnStyleValue;
1658
+ }
1659
+
1660
+ - (void)setColorTransition:(MLNLight *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1661
+ {
1662
+ layer.colorTransition = [styleValue getTransition];
1663
+ }
1664
+
1665
+ - (void)setIntensity:(MLNLight *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1666
+ {
1667
+ layer.intensity = styleValue.mlnStyleValue;
1668
+ }
1669
+
1670
+ - (void)setIntensityTransition:(MLNLight *)layer withReactStyleValue:(MLRNStyleValue *)styleValue
1671
+ {
1672
+ layer.intensityTransition = [styleValue getTransition];
1673
+ }
1674
+
1675
+
1676
+
1677
+ - (BOOL)_hasReactStyle:(NSDictionary *)reactStyle
1678
+ {
1679
+ return reactStyle != nil && reactStyle.allKeys.count > 0;
1680
+ }
1681
+
1682
+ @end