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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1201) hide show
  1. package/LICENSE.md +2 -2
  2. package/README.md +25 -27
  3. package/android/build.gradle +51 -16
  4. package/android/install.md +3 -2
  5. package/android/src/main/AndroidManifest.xml +4 -0
  6. package/android/src/main/java/org/maplibre/reactnative/MLRNPackage.java +95 -0
  7. package/android/src/main/java/org/maplibre/reactnative/components/AbstractEvent.java +35 -0
  8. package/android/src/main/java/org/maplibre/reactnative/components/AbstractEventEmitter.java +84 -0
  9. package/android/src/main/java/org/maplibre/reactnative/components/AbstractMapFeature.java +15 -0
  10. package/android/src/main/java/org/maplibre/reactnative/components/annotation/MLRNCallout.java +11 -0
  11. package/android/src/main/java/org/maplibre/reactnative/components/annotation/MLRNCalloutManager.java +18 -0
  12. package/android/src/main/java/org/maplibre/reactnative/components/annotation/MLRNMarkerView.java +112 -0
  13. package/android/src/main/java/org/maplibre/reactnative/components/annotation/MLRNMarkerViewManager.java +45 -0
  14. package/android/src/main/java/org/maplibre/reactnative/components/annotation/MLRNPointAnnotation.java +361 -0
  15. package/android/src/main/java/org/maplibre/reactnative/components/annotation/MLRNPointAnnotationManager.java +84 -0
  16. package/android/src/main/java/org/maplibre/reactnative/components/annotation/MarkerView.java +23 -0
  17. package/android/src/main/java/org/maplibre/reactnative/components/annotation/MarkerViewManager.java +69 -0
  18. package/android/src/main/java/org/maplibre/reactnative/components/camera/CameraStop.java +245 -0
  19. package/android/src/main/java/org/maplibre/reactnative/components/camera/CameraUpdateItem.java +121 -0
  20. package/android/src/main/java/org/maplibre/reactnative/components/camera/CameraUpdateQueue.java +68 -0
  21. package/android/src/main/java/org/maplibre/reactnative/components/camera/MLRNCamera.java +530 -0
  22. package/android/src/main/java/org/maplibre/reactnative/components/camera/MLRNCameraManager.java +101 -0
  23. package/android/src/main/java/org/maplibre/reactnative/components/camera/constants/CameraMode.java +18 -0
  24. package/android/src/main/java/org/maplibre/reactnative/components/images/MLRNImages.java +234 -0
  25. package/android/src/main/java/org/maplibre/reactnative/components/images/MLRNImagesManager.java +103 -0
  26. package/android/src/main/java/org/maplibre/reactnative/components/location/LocationComponentManager.java +158 -0
  27. package/android/src/main/java/org/maplibre/reactnative/components/location/MLRNNativeUserLocation.java +76 -0
  28. package/android/src/main/java/org/maplibre/reactnative/components/location/MLRNNativeUserLocationManager.java +40 -0
  29. package/android/src/main/java/org/maplibre/reactnative/components/mapview/LayerSourceInfo.java +59 -0
  30. package/android/src/main/java/org/maplibre/reactnative/components/mapview/MLRNAndroidTextureMapView.java +13 -0
  31. package/android/src/main/java/org/maplibre/reactnative/components/mapview/MLRNAndroidTextureMapViewManager.java +27 -0
  32. package/android/src/main/java/org/maplibre/reactnative/components/mapview/MLRNMapView.java +1523 -0
  33. package/android/src/main/java/org/maplibre/reactnative/components/mapview/MLRNMapViewManager.java +349 -0
  34. package/android/src/main/java/org/maplibre/reactnative/components/mapview/helpers/CameraChangeTracker.java +37 -0
  35. package/android/src/main/java/org/maplibre/reactnative/components/styles/MLRNStyle.java +79 -0
  36. package/android/src/main/java/org/maplibre/reactnative/components/styles/MLRNStyleFactory.java +2286 -0
  37. package/android/src/main/java/org/maplibre/reactnative/components/styles/MLRNStyleFunctionParser.java +103 -0
  38. package/android/src/main/java/org/maplibre/reactnative/components/styles/MLRNStyleValue.java +208 -0
  39. package/android/src/main/java/org/maplibre/reactnative/components/styles/layers/MLRNBackgroundLayer.java +23 -0
  40. package/android/src/main/java/org/maplibre/reactnative/components/styles/layers/MLRNBackgroundLayerManager.java +60 -0
  41. package/android/src/main/java/org/maplibre/reactnative/components/styles/layers/MLRNCircleLayer.java +51 -0
  42. package/android/src/main/java/org/maplibre/reactnative/components/styles/layers/MLRNCircleLayerManager.java +73 -0
  43. package/android/src/main/java/org/maplibre/reactnative/components/styles/layers/MLRNFillExtrusionLayer.java +51 -0
  44. package/android/src/main/java/org/maplibre/reactnative/components/styles/layers/MLRNFillExtrusionLayerManager.java +76 -0
  45. package/android/src/main/java/org/maplibre/reactnative/components/styles/layers/MLRNFillLayer.java +51 -0
  46. package/android/src/main/java/org/maplibre/reactnative/components/styles/layers/MLRNFillLayerManager.java +76 -0
  47. package/android/src/main/java/org/maplibre/reactnative/components/styles/layers/MLRNHeatmapLayer.java +51 -0
  48. package/android/src/main/java/org/maplibre/reactnative/components/styles/layers/MLRNHeatmapLayerManager.java +73 -0
  49. package/android/src/main/java/org/maplibre/reactnative/components/styles/layers/MLRNLayer.java +283 -0
  50. package/android/src/main/java/org/maplibre/reactnative/components/styles/layers/MLRNLineLayer.java +51 -0
  51. package/android/src/main/java/org/maplibre/reactnative/components/styles/layers/MLRNLineLayerManager.java +75 -0
  52. package/android/src/main/java/org/maplibre/reactnative/components/styles/layers/MLRNRasterLayer.java +23 -0
  53. package/android/src/main/java/org/maplibre/reactnative/components/styles/layers/MLRNRasterLayerManager.java +60 -0
  54. package/android/src/main/java/org/maplibre/reactnative/components/styles/layers/MLRNSymbolLayer.java +51 -0
  55. package/android/src/main/java/org/maplibre/reactnative/components/styles/layers/MLRNSymbolLayerManager.java +71 -0
  56. package/android/src/main/java/org/maplibre/reactnative/components/styles/light/MLRNLight.java +61 -0
  57. package/android/src/main/java/org/maplibre/reactnative/components/styles/light/MLRNLightManager.java +25 -0
  58. package/android/src/main/java/org/maplibre/reactnative/components/styles/sources/MLRNImageSource.java +77 -0
  59. package/android/src/main/java/org/maplibre/reactnative/components/styles/sources/MLRNImageSourceManager.java +68 -0
  60. package/android/src/main/java/org/maplibre/reactnative/components/styles/sources/MLRNRasterSource.java +41 -0
  61. package/android/src/main/java/org/maplibre/reactnative/components/styles/sources/MLRNRasterSourceManager.java +39 -0
  62. package/android/src/main/java/org/maplibre/reactnative/components/styles/sources/MLRNShapeSource.java +312 -0
  63. package/android/src/main/java/org/maplibre/reactnative/components/styles/sources/MLRNShapeSourceManager.java +249 -0
  64. package/android/src/main/java/org/maplibre/reactnative/components/styles/sources/MLRNSource.java +240 -0
  65. package/android/src/main/java/org/maplibre/reactnative/components/styles/sources/MLRNTileSource.java +97 -0
  66. package/android/src/main/java/org/maplibre/reactnative/components/styles/sources/MLRNTileSourceManager.java +80 -0
  67. package/android/src/main/java/org/maplibre/reactnative/components/styles/sources/MLRNVectorSource.java +60 -0
  68. package/android/src/main/java/org/maplibre/reactnative/components/styles/sources/MLRNVectorSourceManager.java +80 -0
  69. package/android/src/main/java/org/maplibre/reactnative/events/AbstractEvent.java +62 -0
  70. package/android/src/main/java/org/maplibre/reactnative/events/AndroidCallbackEvent.java +34 -0
  71. package/android/src/main/java/org/maplibre/reactnative/events/EventEmitter.java +45 -0
  72. package/android/src/main/java/org/maplibre/reactnative/events/FeatureClickEvent.java +75 -0
  73. package/android/src/main/java/org/maplibre/reactnative/events/IEvent.java +14 -0
  74. package/android/src/main/java/org/maplibre/reactnative/events/ImageMissingEvent.java +42 -0
  75. package/android/src/main/java/org/maplibre/reactnative/events/LocationEvent.java +100 -0
  76. package/android/src/main/java/org/maplibre/reactnative/events/MapChangeEvent.java +43 -0
  77. package/android/src/main/java/org/maplibre/reactnative/events/MapClickEvent.java +47 -0
  78. package/android/src/main/java/org/maplibre/reactnative/events/MapUserTrackingModeEvent.java +32 -0
  79. package/android/src/main/java/org/maplibre/reactnative/events/OfflineEvent.java +25 -0
  80. package/android/src/main/java/org/maplibre/reactnative/events/PointAnnotationClickEvent.java +42 -0
  81. package/android/src/main/java/org/maplibre/reactnative/events/PointAnnotationDragEvent.java +51 -0
  82. package/android/src/main/java/org/maplibre/reactnative/events/constants/EventKeys.java +35 -0
  83. package/android/src/main/java/org/maplibre/reactnative/events/constants/EventTypes.java +47 -0
  84. package/android/src/main/java/org/maplibre/reactnative/http/CustomHeadersInterceptor.java +38 -0
  85. package/android/src/main/java/org/maplibre/reactnative/location/LocationManager.java +164 -0
  86. package/android/src/main/java/org/maplibre/reactnative/location/UserLocation.java +59 -0
  87. package/android/src/main/java/org/maplibre/reactnative/location/UserLocationVerticalAlignment.java +7 -0
  88. package/android/src/main/java/org/maplibre/reactnative/location/UserTrackingMode.java +59 -0
  89. package/android/src/main/java/org/maplibre/reactnative/location/UserTrackingState.java +15 -0
  90. package/android/src/main/java/org/maplibre/reactnative/modules/MLRNLocationModule.java +158 -0
  91. package/android/src/main/java/org/maplibre/reactnative/modules/MLRNLogging.java +140 -0
  92. package/android/src/main/java/org/maplibre/reactnative/modules/MLRNModule.java +344 -0
  93. package/android/src/main/java/org/maplibre/reactnative/modules/MLRNOfflineModule.java +588 -0
  94. package/android/src/main/java/org/maplibre/reactnative/modules/MLRNSnapshotModule.java +135 -0
  95. package/android/src/main/java/org/maplibre/reactnative/utils/BitmapUtils.java +125 -0
  96. package/android/src/main/java/org/maplibre/reactnative/utils/ClusterPropertyEntry.java +13 -0
  97. package/android/src/main/java/org/maplibre/reactnative/utils/ConvertUtils.java +253 -0
  98. package/android/src/main/java/org/maplibre/reactnative/utils/DownloadMapImageTask.java +155 -0
  99. package/android/src/main/java/org/maplibre/reactnative/utils/ExpressionParser.java +74 -0
  100. package/android/src/main/java/org/maplibre/reactnative/utils/GeoJSONUtils.java +205 -0
  101. package/android/src/main/java/org/maplibre/reactnative/utils/GeoViewport.java +37 -0
  102. package/android/src/main/java/org/maplibre/reactnative/utils/ImageEntry.java +25 -0
  103. package/android/src/main/java/org/maplibre/reactnative/utils/ResourceUtils.java +26 -0
  104. package/android/src/main/java/org/maplibre/reactnative/utils/SimpleEventCallback.java +26 -0
  105. package/android/src/main/java/org/maplibre/reactnative/utils/SphericalMercator.java +68 -0
  106. package/android/src/main/res/values/strings.xml +3 -0
  107. package/app.plugin.js +1 -1
  108. package/ios/MLRN/CameraMode.h +10 -0
  109. package/ios/MLRN/CameraMode.m +10 -0
  110. package/ios/MLRN/CameraStop.h +18 -0
  111. package/ios/MLRN/CameraStop.m +75 -0
  112. package/ios/MLRN/CameraUpdateItem.h +10 -0
  113. package/ios/MLRN/CameraUpdateItem.m +169 -0
  114. package/ios/MLRN/CameraUpdateQueue.h +13 -0
  115. package/ios/MLRN/CameraUpdateQueue.m +66 -0
  116. package/ios/MLRN/FilterParser.h +7 -0
  117. package/ios/MLRN/FilterParser.m +14 -0
  118. package/ios/MLRN/MLRN.h +5 -0
  119. package/ios/MLRN/MLRN.m +5 -0
  120. package/ios/MLRN/MLRNBackgroundLayer.h +6 -0
  121. package/ios/MLRN/MLRNBackgroundLayer.m +19 -0
  122. package/ios/MLRN/MLRNBackgroundLayerManager.h +5 -0
  123. package/ios/MLRN/MLRNBackgroundLayerManager.m +27 -0
  124. package/ios/MLRN/MLRNCallout.h +7 -0
  125. package/ios/MLRN/MLRNCallout.m +66 -0
  126. package/ios/MLRN/MLRNCalloutManager.h +5 -0
  127. package/ios/MLRN/MLRNCalloutManager.m +13 -0
  128. package/ios/MLRN/MLRNCamera.h +29 -0
  129. package/ios/MLRN/MLRNCamera.m +250 -0
  130. package/ios/MLRN/MLRNCameraManager.h +5 -0
  131. package/ios/MLRN/MLRNCameraManager.m +41 -0
  132. package/ios/MLRN/MLRNCircleLayer.h +5 -0
  133. package/ios/MLRN/MLRNCircleLayer.m +26 -0
  134. package/ios/MLRN/MLRNCircleLayerManager.h +5 -0
  135. package/ios/MLRN/MLRNCircleLayerManager.m +31 -0
  136. package/ios/MLRN/MLRNCustomHeaders.h +20 -0
  137. package/ios/MLRN/MLRNCustomHeaders.m +98 -0
  138. package/ios/MLRN/MLRNEvent.h +13 -0
  139. package/ios/MLRN/MLRNEvent.m +39 -0
  140. package/ios/MLRN/MLRNEventProtocol.h +8 -0
  141. package/ios/MLRN/MLRNEventTypes.h +42 -0
  142. package/ios/MLRN/MLRNEventTypes.m +41 -0
  143. package/ios/MLRN/MLRNFillExtrusionLayer.h +6 -0
  144. package/ios/MLRN/MLRNFillExtrusionLayer.m +24 -0
  145. package/ios/MLRN/MLRNFillExtrusionLayerManager.h +5 -0
  146. package/ios/MLRN/MLRNFillExtrusionLayerManager.m +31 -0
  147. package/ios/MLRN/MLRNFillLayer.h +6 -0
  148. package/ios/MLRN/MLRNFillLayer.m +25 -0
  149. package/ios/MLRN/MLRNFillLayerManager.h +5 -0
  150. package/ios/MLRN/MLRNFillLayerManager.m +29 -0
  151. package/ios/MLRN/MLRNHeatmapLayer.h +5 -0
  152. package/ios/MLRN/MLRNHeatmapLayer.m +24 -0
  153. package/ios/MLRN/MLRNHeatmapLayerManager.h +5 -0
  154. package/ios/MLRN/MLRNHeatmapLayerManager.m +31 -0
  155. package/ios/MLRN/MLRNImageQueue.h +11 -0
  156. package/ios/MLRN/MLRNImageQueue.m +49 -0
  157. package/ios/MLRN/MLRNImageQueueOperation.h +10 -0
  158. package/ios/MLRN/MLRNImageQueueOperation.m +130 -0
  159. package/ios/MLRN/MLRNImageSource.h +8 -0
  160. package/ios/MLRN/MLRNImageSource.m +52 -0
  161. package/ios/MLRN/MLRNImageSourceManager.h +5 -0
  162. package/ios/MLRN/MLRNImageSourceManager.m +17 -0
  163. package/ios/MLRN/MLRNImageUtils.h +9 -0
  164. package/ios/MLRN/MLRNImageUtils.m +23 -0
  165. package/ios/MLRN/MLRNImages.h +25 -0
  166. package/ios/MLRN/MLRNImages.m +126 -0
  167. package/ios/MLRN/MLRNImagesManager.h +5 -0
  168. package/ios/MLRN/MLRNImagesManager.m +21 -0
  169. package/ios/MLRN/MLRNLayer.h +44 -0
  170. package/ios/MLRN/MLRNLayer.m +228 -0
  171. package/ios/MLRN/MLRNLight.h +9 -0
  172. package/ios/MLRN/MLRNLight.m +38 -0
  173. package/ios/MLRN/MLRNLightManager.h +5 -0
  174. package/ios/MLRN/MLRNLightManager.m +15 -0
  175. package/ios/MLRN/MLRNLineLayer.h +6 -0
  176. package/ios/MLRN/MLRNLineLayer.m +25 -0
  177. package/ios/MLRN/MLRNLineLayerManager.h +5 -0
  178. package/ios/MLRN/MLRNLineLayerManager.m +32 -0
  179. package/ios/MLRN/MLRNLocation.h +11 -0
  180. package/ios/MLRN/MLRNLocation.m +24 -0
  181. package/ios/MLRN/MLRNLocationManager.h +22 -0
  182. package/ios/MLRN/MLRNLocationManager.m +172 -0
  183. package/ios/MLRN/MLRNLocationManagerDelegate.h +12 -0
  184. package/ios/MLRN/MLRNLocationModule.h +7 -0
  185. package/ios/MLRN/MLRNLocationModule.m +91 -0
  186. package/ios/MLRN/MLRNLogging.h +18 -0
  187. package/ios/MLRN/MLRNLogging.m +132 -0
  188. package/ios/MLRN/MLRNMapTouchEvent.h +17 -0
  189. package/ios/MLRN/MLRNMapTouchEvent.m +69 -0
  190. package/ios/MLRN/MLRNMapView.h +83 -0
  191. package/ios/MLRN/MLRNMapView.m +528 -0
  192. package/ios/MLRN/MLRNMapViewManager.h +9 -0
  193. package/ios/MLRN/MLRNMapViewManager.m +617 -0
  194. package/ios/MLRN/MLRNModule.h +5 -0
  195. package/ios/MLRN/MLRNModule.m +261 -0
  196. package/ios/MLRN/MLRNNativeUserLocation.h +11 -0
  197. package/ios/MLRN/MLRNNativeUserLocation.m +41 -0
  198. package/ios/MLRN/MLRNNativeUserLocationManager.h +5 -0
  199. package/ios/MLRN/MLRNNativeUserLocationManager.m +25 -0
  200. package/ios/MLRN/MLRNOfflineModule.h +11 -0
  201. package/ios/MLRN/MLRNOfflineModule.m +529 -0
  202. package/ios/MLRN/MLRNPointAnnotation.h +33 -0
  203. package/ios/MLRN/MLRNPointAnnotation.m +243 -0
  204. package/ios/MLRN/MLRNPointAnnotationManager.h +5 -0
  205. package/ios/MLRN/MLRNPointAnnotationManager.m +28 -0
  206. package/ios/MLRN/MLRNRasterLayer.h +6 -0
  207. package/ios/MLRN/MLRNRasterLayer.m +22 -0
  208. package/ios/MLRN/MLRNRasterLayerManager.h +5 -0
  209. package/ios/MLRN/MLRNRasterLayerManager.m +27 -0
  210. package/ios/MLRN/MLRNRasterSource.h +8 -0
  211. package/ios/MLRN/MLRNRasterSource.m +27 -0
  212. package/ios/MLRN/MLRNRasterSourceManager.h +5 -0
  213. package/ios/MLRN/MLRNRasterSourceManager.m +24 -0
  214. package/ios/MLRN/MLRNShapeSource.h +45 -0
  215. package/ios/MLRN/MLRNShapeSource.m +186 -0
  216. package/ios/MLRN/MLRNShapeSourceManager.h +6 -0
  217. package/ios/MLRN/MLRNShapeSourceManager.m +199 -0
  218. package/ios/MLRN/MLRNSnapshotModule.h +5 -0
  219. package/ios/MLRN/MLRNSnapshotModule.m +72 -0
  220. package/ios/MLRN/MLRNSource.h +27 -0
  221. package/ios/MLRN/MLRNSource.m +135 -0
  222. package/ios/MLRN/MLRNStyle.h +223 -0
  223. package/ios/MLRN/MLRNStyle.m +1682 -0
  224. package/ios/MLRN/MLRNStyleValue.h +19 -0
  225. package/ios/MLRN/MLRNStyleValue.m +159 -0
  226. package/ios/MLRN/MLRNSymbolLayer.h +11 -0
  227. package/ios/MLRN/MLRNSymbolLayer.m +113 -0
  228. package/ios/MLRN/MLRNSymbolLayerManager.h +5 -0
  229. package/ios/MLRN/MLRNSymbolLayerManager.m +32 -0
  230. package/ios/MLRN/MLRNTileSource.h +22 -0
  231. package/ios/MLRN/MLRNTileSource.m +31 -0
  232. package/ios/MLRN/MLRNUserLocation.h +15 -0
  233. package/ios/MLRN/MLRNUserLocation.m +38 -0
  234. package/ios/MLRN/MLRNUtils.h +23 -0
  235. package/ios/MLRN/MLRNUtils.m +210 -0
  236. package/ios/MLRN/MLRNVectorLayer.h +7 -0
  237. package/ios/MLRN/MLRNVectorLayer.m +51 -0
  238. package/ios/MLRN/MLRNVectorSource.h +8 -0
  239. package/ios/MLRN/MLRNVectorSource.m +20 -0
  240. package/ios/MLRN/MLRNVectorSourceManager.h +6 -0
  241. package/ios/MLRN/MLRNVectorSourceManager.m +71 -0
  242. package/ios/MLRN/ViewManager.h +8 -0
  243. package/ios/MLRN/ViewManager.m +55 -0
  244. package/ios/MLRN.xcodeproj/project.pbxproj +1 -0
  245. package/ios/install.md +6 -6
  246. package/lib/commonjs/MLRNModule.js +27 -0
  247. package/lib/commonjs/MLRNModule.js.map +1 -0
  248. package/lib/commonjs/MapLibreRN.js +281 -0
  249. package/lib/commonjs/MapLibreRN.js.map +1 -0
  250. package/lib/commonjs/assets/png.d.js +2 -0
  251. package/lib/commonjs/assets/png.d.js.map +1 -0
  252. package/lib/commonjs/components/Annotation.js +109 -0
  253. package/lib/commonjs/components/Annotation.js.map +1 -0
  254. package/lib/commonjs/components/BackgroundLayer.js +33 -0
  255. package/lib/commonjs/components/BackgroundLayer.js.map +1 -0
  256. package/lib/commonjs/components/Callout.js +101 -0
  257. package/lib/commonjs/components/Callout.js.map +1 -0
  258. package/lib/commonjs/components/Camera.js +285 -0
  259. package/lib/commonjs/components/Camera.js.map +1 -0
  260. package/lib/commonjs/components/CircleLayer.js +37 -0
  261. package/lib/commonjs/components/CircleLayer.js.map +1 -0
  262. package/lib/commonjs/components/FillExtrusionLayer.js +36 -0
  263. package/lib/commonjs/components/FillExtrusionLayer.js.map +1 -0
  264. package/lib/commonjs/components/FillLayer.js +36 -0
  265. package/lib/commonjs/components/FillLayer.js.map +1 -0
  266. package/lib/commonjs/components/HeadingIndicator.js +28 -0
  267. package/lib/commonjs/components/HeadingIndicator.js.map +1 -0
  268. package/lib/commonjs/components/HeatmapLayer.js +35 -0
  269. package/lib/commonjs/components/HeatmapLayer.js.map +1 -0
  270. package/lib/commonjs/components/ImageSource.js +42 -0
  271. package/lib/commonjs/components/ImageSource.js.map +1 -0
  272. package/lib/commonjs/components/Images.js +80 -0
  273. package/lib/commonjs/components/Images.js.map +1 -0
  274. package/lib/commonjs/components/Light.js +32 -0
  275. package/lib/commonjs/components/Light.js.map +1 -0
  276. package/lib/commonjs/components/LineLayer.js +36 -0
  277. package/lib/commonjs/components/LineLayer.js.map +1 -0
  278. package/lib/commonjs/components/MapView.js +463 -0
  279. package/lib/commonjs/components/MapView.js.map +1 -0
  280. package/lib/commonjs/components/MarkerView.js +61 -0
  281. package/lib/commonjs/components/MarkerView.js.map +1 -0
  282. package/lib/commonjs/components/NativeUserLocation.js +17 -0
  283. package/lib/commonjs/components/NativeUserLocation.js.map +1 -0
  284. package/lib/commonjs/components/PointAnnotation.js +121 -0
  285. package/lib/commonjs/components/PointAnnotation.js.map +1 -0
  286. package/lib/commonjs/components/RasterLayer.js +32 -0
  287. package/lib/commonjs/components/RasterLayer.js.map +1 -0
  288. package/lib/commonjs/components/RasterSource.js +67 -0
  289. package/lib/commonjs/components/RasterSource.js.map +1 -0
  290. package/lib/commonjs/components/ShapeSource.js +203 -0
  291. package/lib/commonjs/components/ShapeSource.js.map +1 -0
  292. package/lib/commonjs/components/Style.js +266 -0
  293. package/lib/commonjs/components/Style.js.map +1 -0
  294. package/lib/commonjs/components/SymbolLayer.js +53 -0
  295. package/lib/commonjs/components/SymbolLayer.js.map +1 -0
  296. package/lib/commonjs/components/UserLocation.js +188 -0
  297. package/lib/commonjs/components/UserLocation.js.map +1 -0
  298. package/lib/commonjs/components/VectorSource.js +129 -0
  299. package/lib/commonjs/components/VectorSource.js.map +1 -0
  300. package/lib/commonjs/hooks/useAbstractLayer.js +53 -0
  301. package/lib/commonjs/hooks/useAbstractLayer.js.map +1 -0
  302. package/lib/commonjs/hooks/useAbstractSource.js +24 -0
  303. package/lib/commonjs/hooks/useAbstractSource.js.map +1 -0
  304. package/lib/commonjs/hooks/useNativeBridge.js +84 -0
  305. package/lib/commonjs/hooks/useNativeBridge.js.map +1 -0
  306. package/lib/commonjs/hooks/useNativeRef.js +14 -0
  307. package/lib/commonjs/hooks/useNativeRef.js.map +1 -0
  308. package/lib/commonjs/hooks/useOnce.js +16 -0
  309. package/lib/commonjs/hooks/useOnce.js.map +1 -0
  310. package/lib/commonjs/index.js +23 -0
  311. package/lib/commonjs/index.js.map +1 -0
  312. package/lib/commonjs/modules/location/locationManager.js +91 -0
  313. package/lib/commonjs/modules/location/locationManager.js.map +1 -0
  314. package/lib/commonjs/modules/offline/OfflineCreatePackOptions.js +37 -0
  315. package/lib/commonjs/modules/offline/OfflineCreatePackOptions.js.map +1 -0
  316. package/lib/commonjs/modules/offline/OfflinePack.js +40 -0
  317. package/lib/commonjs/modules/offline/OfflinePack.js.map +1 -0
  318. package/lib/commonjs/modules/offline/offlineManager.js +346 -0
  319. package/lib/commonjs/modules/offline/offlineManager.js.map +1 -0
  320. package/lib/commonjs/modules/snapshot/SnapshotOptions.js +58 -0
  321. package/lib/commonjs/modules/snapshot/SnapshotOptions.js.map +1 -0
  322. package/lib/commonjs/modules/snapshot/snapshotManager.js +66 -0
  323. package/lib/commonjs/modules/snapshot/snapshotManager.js.map +1 -0
  324. package/lib/commonjs/requestAndroidLocationPermissions.js +25 -0
  325. package/lib/commonjs/requestAndroidLocationPermissions.js.map +1 -0
  326. package/lib/commonjs/types/BaseProps.js +2 -0
  327. package/lib/commonjs/types/BaseProps.js.map +1 -0
  328. package/lib/commonjs/types/CameraMode.js +14 -0
  329. package/lib/commonjs/types/CameraMode.js.map +1 -0
  330. package/lib/commonjs/types/MapLibreRNEvent.js +6 -0
  331. package/lib/commonjs/types/MapLibreRNEvent.js.map +1 -0
  332. package/lib/commonjs/types/OnPressEvent.js +2 -0
  333. package/lib/commonjs/types/OnPressEvent.js.map +1 -0
  334. package/lib/commonjs/types/StyleURL.js +11 -0
  335. package/lib/commonjs/types/StyleURL.js.map +1 -0
  336. package/lib/commonjs/utils/BridgeValue.js +59 -0
  337. package/lib/commonjs/utils/BridgeValue.js.map +1 -0
  338. package/lib/commonjs/utils/Logger.js +116 -0
  339. package/lib/commonjs/utils/Logger.js.map +1 -0
  340. package/lib/commonjs/utils/MapLibreRNStyles.d.js +181 -0
  341. package/lib/commonjs/utils/MapLibreRNStyles.d.js.map +1 -0
  342. package/lib/commonjs/utils/StyleValue.js +39 -0
  343. package/lib/commonjs/utils/StyleValue.js.map +1 -0
  344. package/lib/commonjs/utils/animated/AbstractAnimatedCoordinates.js +95 -0
  345. package/lib/commonjs/utils/animated/AbstractAnimatedCoordinates.js.map +1 -0
  346. package/lib/commonjs/utils/animated/Animated.js +47 -0
  347. package/lib/commonjs/utils/animated/Animated.js.map +1 -0
  348. package/lib/commonjs/utils/animated/AnimatedCoordinatesArray.js +92 -0
  349. package/lib/commonjs/utils/animated/AnimatedCoordinatesArray.js.map +1 -0
  350. package/lib/commonjs/utils/animated/AnimatedExtractCoordinateFromArray.js +40 -0
  351. package/lib/commonjs/utils/animated/AnimatedExtractCoordinateFromArray.js.map +1 -0
  352. package/lib/commonjs/utils/animated/AnimatedPoint.js +111 -0
  353. package/lib/commonjs/utils/animated/AnimatedPoint.js.map +1 -0
  354. package/lib/commonjs/utils/animated/AnimatedRouteCoordinatesArray.js +137 -0
  355. package/lib/commonjs/utils/animated/AnimatedRouteCoordinatesArray.js.map +1 -0
  356. package/lib/commonjs/utils/animated/AnimatedShape.js +75 -0
  357. package/lib/commonjs/utils/animated/AnimatedShape.js.map +1 -0
  358. package/lib/commonjs/utils/deprecation.js +31 -0
  359. package/lib/commonjs/utils/deprecation.js.map +1 -0
  360. package/lib/commonjs/utils/filterUtils.js +13 -0
  361. package/lib/commonjs/utils/filterUtils.js.map +1 -0
  362. package/lib/commonjs/utils/index.js +84 -0
  363. package/lib/commonjs/utils/index.js.map +1 -0
  364. package/lib/commonjs/utils/makeNativeBounds.js +11 -0
  365. package/lib/commonjs/utils/makeNativeBounds.js.map +1 -0
  366. package/lib/commonjs/utils/styleMap.js +255 -0
  367. package/lib/commonjs/utils/styleMap.js.map +1 -0
  368. package/lib/module/MLRNModule.js +15 -0
  369. package/lib/module/MLRNModule.js.map +1 -0
  370. package/lib/module/MapLibreRN.js +37 -0
  371. package/lib/module/MapLibreRN.js.map +1 -0
  372. package/lib/module/assets/heading.png +0 -0
  373. package/lib/module/assets/heading@2x.png +0 -0
  374. package/lib/module/assets/heading@3x.png +0 -0
  375. package/lib/module/assets/png.d.js +2 -0
  376. package/lib/module/assets/png.d.js.map +1 -0
  377. package/lib/module/components/Annotation.js +104 -0
  378. package/lib/module/components/Annotation.js.map +1 -0
  379. package/lib/module/components/BackgroundLayer.js +28 -0
  380. package/lib/module/components/BackgroundLayer.js.map +1 -0
  381. package/lib/module/components/Callout.js +97 -0
  382. package/lib/module/components/Callout.js.map +1 -0
  383. package/lib/module/components/Camera.js +280 -0
  384. package/lib/module/components/Camera.js.map +1 -0
  385. package/lib/module/components/CircleLayer.js +32 -0
  386. package/lib/module/components/CircleLayer.js.map +1 -0
  387. package/lib/module/components/FillExtrusionLayer.js +31 -0
  388. package/lib/module/components/FillExtrusionLayer.js.map +1 -0
  389. package/lib/module/components/FillLayer.js +31 -0
  390. package/lib/module/components/FillLayer.js.map +1 -0
  391. package/lib/module/components/HeadingIndicator.js +23 -0
  392. package/lib/module/components/HeadingIndicator.js.map +1 -0
  393. package/lib/module/components/HeatmapLayer.js +30 -0
  394. package/lib/module/components/HeatmapLayer.js.map +1 -0
  395. package/lib/module/components/ImageSource.js +37 -0
  396. package/lib/module/components/ImageSource.js.map +1 -0
  397. package/lib/module/components/Images.js +76 -0
  398. package/lib/module/components/Images.js.map +1 -0
  399. package/lib/module/components/Light.js +27 -0
  400. package/lib/module/components/Light.js.map +1 -0
  401. package/lib/module/components/LineLayer.js +31 -0
  402. package/lib/module/components/LineLayer.js.map +1 -0
  403. package/lib/module/components/MapView.js +458 -0
  404. package/lib/module/components/MapView.js.map +1 -0
  405. package/lib/module/components/MarkerView.js +56 -0
  406. package/lib/module/components/MarkerView.js.map +1 -0
  407. package/lib/module/components/NativeUserLocation.js +13 -0
  408. package/lib/module/components/NativeUserLocation.js.map +1 -0
  409. package/lib/module/components/PointAnnotation.js +116 -0
  410. package/lib/module/components/PointAnnotation.js.map +1 -0
  411. package/lib/module/components/RasterLayer.js +27 -0
  412. package/lib/module/components/RasterLayer.js.map +1 -0
  413. package/lib/module/components/RasterSource.js +62 -0
  414. package/lib/module/components/RasterSource.js.map +1 -0
  415. package/lib/module/components/ShapeSource.js +198 -0
  416. package/lib/module/components/ShapeSource.js.map +1 -0
  417. package/lib/module/components/Style.js +261 -0
  418. package/lib/module/components/Style.js.map +1 -0
  419. package/lib/module/components/SymbolLayer.js +48 -0
  420. package/lib/module/components/SymbolLayer.js.map +1 -0
  421. package/lib/module/components/UserLocation.js +182 -0
  422. package/lib/module/components/UserLocation.js.map +1 -0
  423. package/lib/module/components/VectorSource.js +124 -0
  424. package/lib/module/components/VectorSource.js.map +1 -0
  425. package/lib/module/hooks/useAbstractLayer.js +49 -0
  426. package/lib/module/hooks/useAbstractLayer.js.map +1 -0
  427. package/lib/module/hooks/useAbstractSource.js +20 -0
  428. package/lib/module/hooks/useAbstractSource.js.map +1 -0
  429. package/lib/module/hooks/useNativeBridge.js +80 -0
  430. package/lib/module/hooks/useNativeBridge.js.map +1 -0
  431. package/lib/module/hooks/useNativeRef.js +10 -0
  432. package/lib/module/hooks/useNativeRef.js.map +1 -0
  433. package/lib/module/hooks/useOnce.js +12 -0
  434. package/lib/module/hooks/useOnce.js.map +1 -0
  435. package/lib/module/index.js +6 -0
  436. package/lib/module/index.js.map +1 -0
  437. package/lib/module/modules/location/locationManager.js +87 -0
  438. package/lib/module/modules/location/locationManager.js.map +1 -0
  439. package/lib/module/modules/offline/OfflineCreatePackOptions.js +33 -0
  440. package/lib/module/modules/offline/OfflineCreatePackOptions.js.map +1 -0
  441. package/lib/module/modules/offline/OfflinePack.js +36 -0
  442. package/lib/module/modules/offline/OfflinePack.js.map +1 -0
  443. package/lib/module/modules/offline/offlineManager.js +341 -0
  444. package/lib/module/modules/offline/offlineManager.js.map +1 -0
  445. package/lib/module/modules/snapshot/SnapshotOptions.js +53 -0
  446. package/lib/module/modules/snapshot/SnapshotOptions.js.map +1 -0
  447. package/lib/module/modules/snapshot/snapshotManager.js +61 -0
  448. package/lib/module/modules/snapshot/snapshotManager.js.map +1 -0
  449. package/lib/module/requestAndroidLocationPermissions.js +21 -0
  450. package/lib/module/requestAndroidLocationPermissions.js.map +1 -0
  451. package/lib/module/types/BaseProps.js +2 -0
  452. package/lib/module/types/BaseProps.js.map +1 -0
  453. package/lib/module/types/CameraMode.js +10 -0
  454. package/lib/module/types/CameraMode.js.map +1 -0
  455. package/lib/module/types/MapLibreRNEvent.js +4 -0
  456. package/lib/module/types/MapLibreRNEvent.js.map +1 -0
  457. package/lib/module/types/OnPressEvent.js +2 -0
  458. package/lib/module/types/OnPressEvent.js.map +1 -0
  459. package/lib/module/types/StyleURL.js +7 -0
  460. package/lib/module/types/StyleURL.js.map +1 -0
  461. package/lib/module/utils/BridgeValue.js +54 -0
  462. package/lib/module/utils/BridgeValue.js.map +1 -0
  463. package/lib/module/utils/Logger.js +112 -0
  464. package/lib/module/utils/Logger.js.map +1 -0
  465. package/lib/module/utils/MapLibreRNStyles.d.js +180 -0
  466. package/lib/module/utils/MapLibreRNStyles.d.js.map +1 -0
  467. package/lib/module/utils/StyleValue.js +34 -0
  468. package/lib/module/utils/StyleValue.js.map +1 -0
  469. package/lib/module/utils/animated/AbstractAnimatedCoordinates.js +92 -0
  470. package/lib/module/utils/animated/AbstractAnimatedCoordinates.js.map +1 -0
  471. package/lib/module/utils/animated/Animated.js +42 -0
  472. package/lib/module/utils/animated/Animated.js.map +1 -0
  473. package/lib/module/utils/animated/AnimatedCoordinatesArray.js +87 -0
  474. package/lib/module/utils/animated/AnimatedCoordinatesArray.js.map +1 -0
  475. package/lib/module/utils/animated/AnimatedExtractCoordinateFromArray.js +36 -0
  476. package/lib/module/utils/animated/AnimatedExtractCoordinateFromArray.js.map +1 -0
  477. package/lib/module/utils/animated/AnimatedPoint.js +107 -0
  478. package/lib/module/utils/animated/AnimatedPoint.js.map +1 -0
  479. package/lib/module/utils/animated/AnimatedRouteCoordinatesArray.js +131 -0
  480. package/lib/module/utils/animated/AnimatedRouteCoordinatesArray.js.map +1 -0
  481. package/lib/module/utils/animated/AnimatedShape.js +71 -0
  482. package/lib/module/utils/animated/AnimatedShape.js.map +1 -0
  483. package/lib/module/utils/deprecation.js +27 -0
  484. package/lib/module/utils/deprecation.js.map +1 -0
  485. package/lib/module/utils/filterUtils.js +9 -0
  486. package/lib/module/utils/filterUtils.js.map +1 -0
  487. package/lib/module/utils/index.js +69 -0
  488. package/lib/module/utils/index.js.map +1 -0
  489. package/lib/module/utils/makeNativeBounds.js +7 -0
  490. package/lib/module/utils/makeNativeBounds.js.map +1 -0
  491. package/lib/module/utils/styleMap.js +249 -0
  492. package/lib/module/utils/styleMap.js.map +1 -0
  493. package/lib/typescript/commonjs/package.json +1 -0
  494. package/lib/typescript/commonjs/src/MLRNModule.d.ts +21 -0
  495. package/lib/typescript/commonjs/src/MLRNModule.d.ts.map +1 -0
  496. package/lib/typescript/commonjs/src/MapLibreRN.d.ts +42 -0
  497. package/lib/typescript/commonjs/src/MapLibreRN.d.ts.map +1 -0
  498. package/lib/typescript/commonjs/src/components/Annotation.d.ts +21 -0
  499. package/lib/typescript/commonjs/src/components/Annotation.d.ts.map +1 -0
  500. package/lib/typescript/commonjs/src/components/BackgroundLayer.d.ts +14 -0
  501. package/lib/typescript/commonjs/src/components/BackgroundLayer.d.ts.map +1 -0
  502. package/lib/typescript/commonjs/src/components/Callout.d.ts +35 -0
  503. package/lib/typescript/commonjs/src/components/Callout.d.ts.map +1 -0
  504. package/lib/typescript/commonjs/src/components/Camera.d.ts +134 -0
  505. package/lib/typescript/commonjs/src/components/Camera.d.ts.map +1 -0
  506. package/lib/typescript/commonjs/src/components/CircleLayer.d.ts +17 -0
  507. package/lib/typescript/commonjs/src/components/CircleLayer.d.ts.map +1 -0
  508. package/lib/typescript/commonjs/src/components/FillExtrusionLayer.d.ts +17 -0
  509. package/lib/typescript/commonjs/src/components/FillExtrusionLayer.d.ts.map +1 -0
  510. package/lib/typescript/commonjs/src/components/FillLayer.d.ts +17 -0
  511. package/lib/typescript/commonjs/src/components/FillLayer.d.ts.map +1 -0
  512. package/lib/typescript/commonjs/src/components/HeadingIndicator.d.ts +8 -0
  513. package/lib/typescript/commonjs/src/components/HeadingIndicator.d.ts.map +1 -0
  514. package/lib/typescript/commonjs/src/components/HeatmapLayer.d.ts +17 -0
  515. package/lib/typescript/commonjs/src/components/HeatmapLayer.d.ts.map +1 -0
  516. package/lib/typescript/commonjs/src/components/ImageSource.d.ts +31 -0
  517. package/lib/typescript/commonjs/src/components/ImageSource.d.ts.map +1 -0
  518. package/lib/typescript/commonjs/src/components/Images.d.ts +33 -0
  519. package/lib/typescript/commonjs/src/components/Images.d.ts.map +1 -0
  520. package/lib/typescript/commonjs/src/components/Light.d.ts +17 -0
  521. package/lib/typescript/commonjs/src/components/Light.d.ts.map +1 -0
  522. package/lib/typescript/commonjs/src/components/LineLayer.d.ts +17 -0
  523. package/lib/typescript/commonjs/src/components/LineLayer.d.ts.map +1 -0
  524. package/lib/typescript/commonjs/src/components/MapView.d.ts +235 -0
  525. package/lib/typescript/commonjs/src/components/MapView.d.ts.map +1 -0
  526. package/lib/typescript/commonjs/src/components/MarkerView.d.ts +44 -0
  527. package/lib/typescript/commonjs/src/components/MarkerView.d.ts.map +1 -0
  528. package/lib/typescript/commonjs/src/components/NativeUserLocation.d.ts +26 -0
  529. package/lib/typescript/commonjs/src/components/NativeUserLocation.d.ts.map +1 -0
  530. package/lib/typescript/commonjs/src/components/PointAnnotation.d.ts +91 -0
  531. package/lib/typescript/commonjs/src/components/PointAnnotation.d.ts.map +1 -0
  532. package/lib/typescript/commonjs/src/components/RasterLayer.d.ts +14 -0
  533. package/lib/typescript/commonjs/src/components/RasterLayer.d.ts.map +1 -0
  534. package/lib/typescript/commonjs/src/components/RasterSource.d.ts +53 -0
  535. package/lib/typescript/commonjs/src/components/RasterSource.d.ts.map +1 -0
  536. package/lib/typescript/commonjs/src/components/ShapeSource.d.ts +124 -0
  537. package/lib/typescript/commonjs/src/components/ShapeSource.d.ts.map +1 -0
  538. package/lib/typescript/commonjs/src/components/Style.d.ts +81 -0
  539. package/lib/typescript/commonjs/src/components/Style.d.ts.map +1 -0
  540. package/lib/typescript/commonjs/src/components/SymbolLayer.d.ts +22 -0
  541. package/lib/typescript/commonjs/src/components/SymbolLayer.d.ts.map +1 -0
  542. package/lib/typescript/commonjs/src/components/UserLocation.d.ts +70 -0
  543. package/lib/typescript/commonjs/src/components/UserLocation.d.ts.map +1 -0
  544. package/lib/typescript/commonjs/src/components/VectorSource.d.ts +70 -0
  545. package/lib/typescript/commonjs/src/components/VectorSource.d.ts.map +1 -0
  546. package/lib/typescript/commonjs/src/hooks/useAbstractLayer.d.ts +62 -0
  547. package/lib/typescript/commonjs/src/hooks/useAbstractLayer.d.ts.map +1 -0
  548. package/lib/typescript/commonjs/src/hooks/useAbstractSource.d.ts +7 -0
  549. package/lib/typescript/commonjs/src/hooks/useAbstractSource.d.ts.map +1 -0
  550. package/lib/typescript/commonjs/src/hooks/useNativeBridge.d.ts +21 -0
  551. package/lib/typescript/commonjs/src/hooks/useNativeBridge.d.ts.map +1 -0
  552. package/lib/typescript/commonjs/src/hooks/useNativeRef.d.ts +8 -0
  553. package/lib/typescript/commonjs/src/hooks/useNativeRef.d.ts.map +1 -0
  554. package/lib/typescript/commonjs/src/hooks/useOnce.d.ts +3 -0
  555. package/lib/typescript/commonjs/src/hooks/useOnce.d.ts.map +1 -0
  556. package/lib/typescript/commonjs/src/index.d.ts +4 -0
  557. package/lib/typescript/commonjs/src/index.d.ts.map +1 -0
  558. package/lib/typescript/commonjs/src/modules/location/locationManager.d.ts +64 -0
  559. package/lib/typescript/commonjs/src/modules/location/locationManager.d.ts.map +1 -0
  560. package/lib/typescript/commonjs/src/modules/offline/OfflineCreatePackOptions.d.ts +21 -0
  561. package/lib/typescript/commonjs/src/modules/offline/OfflineCreatePackOptions.d.ts.map +1 -0
  562. package/lib/typescript/commonjs/src/modules/offline/OfflinePack.d.ts +24 -0
  563. package/lib/typescript/commonjs/src/modules/offline/OfflinePack.d.ts.map +1 -0
  564. package/lib/typescript/commonjs/src/modules/offline/offlineManager.d.ts +210 -0
  565. package/lib/typescript/commonjs/src/modules/offline/offlineManager.d.ts.map +1 -0
  566. package/lib/typescript/commonjs/src/modules/snapshot/SnapshotOptions.d.ts +42 -0
  567. package/lib/typescript/commonjs/src/modules/snapshot/SnapshotOptions.d.ts.map +1 -0
  568. package/lib/typescript/commonjs/src/modules/snapshot/snapshotManager.d.ts +52 -0
  569. package/lib/typescript/commonjs/src/modules/snapshot/snapshotManager.d.ts.map +1 -0
  570. package/lib/typescript/commonjs/src/requestAndroidLocationPermissions.d.ts +2 -0
  571. package/lib/typescript/commonjs/src/requestAndroidLocationPermissions.d.ts.map +1 -0
  572. package/lib/typescript/commonjs/src/types/BaseProps.d.ts +4 -0
  573. package/lib/typescript/commonjs/src/types/BaseProps.d.ts.map +1 -0
  574. package/lib/typescript/commonjs/src/types/CameraMode.d.ts +7 -0
  575. package/lib/typescript/commonjs/src/types/CameraMode.d.ts.map +1 -0
  576. package/lib/typescript/commonjs/src/types/MapLibreRNEvent.d.ts +6 -0
  577. package/lib/typescript/commonjs/src/types/MapLibreRNEvent.d.ts.map +1 -0
  578. package/lib/typescript/commonjs/src/types/OnPressEvent.d.ts +12 -0
  579. package/lib/typescript/commonjs/src/types/OnPressEvent.d.ts.map +1 -0
  580. package/lib/typescript/commonjs/src/types/StyleURL.d.ts +4 -0
  581. package/lib/typescript/commonjs/src/types/StyleURL.d.ts.map +1 -0
  582. package/lib/typescript/commonjs/src/utils/BridgeValue.d.ts +29 -0
  583. package/lib/typescript/commonjs/src/utils/BridgeValue.d.ts.map +1 -0
  584. package/lib/typescript/commonjs/src/utils/Logger.d.ts +52 -0
  585. package/lib/typescript/commonjs/src/utils/Logger.d.ts.map +1 -0
  586. package/lib/typescript/commonjs/src/utils/StyleValue.d.ts +10 -0
  587. package/lib/typescript/commonjs/src/utils/StyleValue.d.ts.map +1 -0
  588. package/lib/typescript/commonjs/src/utils/animated/AbstractAnimatedCoordinates.d.ts +36 -0
  589. package/lib/typescript/commonjs/src/utils/animated/AbstractAnimatedCoordinates.d.ts.map +1 -0
  590. package/lib/typescript/commonjs/src/utils/animated/Animated.d.ts +33 -0
  591. package/lib/typescript/commonjs/src/utils/animated/Animated.d.ts.map +1 -0
  592. package/lib/typescript/commonjs/src/utils/animated/AnimatedCoordinatesArray.d.ts +40 -0
  593. package/lib/typescript/commonjs/src/utils/animated/AnimatedCoordinatesArray.d.ts.map +1 -0
  594. package/lib/typescript/commonjs/src/utils/animated/AnimatedExtractCoordinateFromArray.d.ts +11 -0
  595. package/lib/typescript/commonjs/src/utils/animated/AnimatedExtractCoordinateFromArray.d.ts.map +1 -0
  596. package/lib/typescript/commonjs/src/utils/animated/AnimatedPoint.d.ts +31 -0
  597. package/lib/typescript/commonjs/src/utils/animated/AnimatedPoint.d.ts.map +1 -0
  598. package/lib/typescript/commonjs/src/utils/animated/AnimatedRouteCoordinatesArray.d.ts +54 -0
  599. package/lib/typescript/commonjs/src/utils/animated/AnimatedRouteCoordinatesArray.d.ts.map +1 -0
  600. package/lib/typescript/commonjs/src/utils/animated/AnimatedShape.d.ts +27 -0
  601. package/lib/typescript/commonjs/src/utils/animated/AnimatedShape.d.ts.map +1 -0
  602. package/lib/typescript/commonjs/src/utils/deprecation.d.ts +6 -0
  603. package/lib/typescript/commonjs/src/utils/deprecation.d.ts.map +1 -0
  604. package/lib/typescript/commonjs/src/utils/filterUtils.d.ts +3 -0
  605. package/lib/typescript/commonjs/src/utils/filterUtils.d.ts.map +1 -0
  606. package/lib/typescript/commonjs/src/utils/index.d.ts +20 -0
  607. package/lib/typescript/commonjs/src/utils/index.d.ts.map +1 -0
  608. package/lib/typescript/commonjs/src/utils/makeNativeBounds.d.ts +2 -0
  609. package/lib/typescript/commonjs/src/utils/makeNativeBounds.d.ts.map +1 -0
  610. package/lib/typescript/commonjs/src/utils/styleMap.d.ts +231 -0
  611. package/lib/typescript/commonjs/src/utils/styleMap.d.ts.map +1 -0
  612. package/lib/typescript/module/package.json +1 -0
  613. package/lib/typescript/module/src/MLRNModule.d.ts +21 -0
  614. package/lib/typescript/module/src/MLRNModule.d.ts.map +1 -0
  615. package/lib/typescript/module/src/MapLibreRN.d.ts +42 -0
  616. package/lib/typescript/module/src/MapLibreRN.d.ts.map +1 -0
  617. package/lib/typescript/module/src/components/Annotation.d.ts +21 -0
  618. package/lib/typescript/module/src/components/Annotation.d.ts.map +1 -0
  619. package/lib/typescript/module/src/components/BackgroundLayer.d.ts +14 -0
  620. package/lib/typescript/module/src/components/BackgroundLayer.d.ts.map +1 -0
  621. package/lib/typescript/module/src/components/Callout.d.ts +35 -0
  622. package/lib/typescript/module/src/components/Callout.d.ts.map +1 -0
  623. package/lib/typescript/module/src/components/Camera.d.ts +134 -0
  624. package/lib/typescript/module/src/components/Camera.d.ts.map +1 -0
  625. package/lib/typescript/module/src/components/CircleLayer.d.ts +17 -0
  626. package/lib/typescript/module/src/components/CircleLayer.d.ts.map +1 -0
  627. package/lib/typescript/module/src/components/FillExtrusionLayer.d.ts +17 -0
  628. package/lib/typescript/module/src/components/FillExtrusionLayer.d.ts.map +1 -0
  629. package/lib/typescript/module/src/components/FillLayer.d.ts +17 -0
  630. package/lib/typescript/module/src/components/FillLayer.d.ts.map +1 -0
  631. package/lib/typescript/module/src/components/HeadingIndicator.d.ts +8 -0
  632. package/lib/typescript/module/src/components/HeadingIndicator.d.ts.map +1 -0
  633. package/lib/typescript/module/src/components/HeatmapLayer.d.ts +17 -0
  634. package/lib/typescript/module/src/components/HeatmapLayer.d.ts.map +1 -0
  635. package/lib/typescript/module/src/components/ImageSource.d.ts +31 -0
  636. package/lib/typescript/module/src/components/ImageSource.d.ts.map +1 -0
  637. package/lib/typescript/module/src/components/Images.d.ts +33 -0
  638. package/lib/typescript/module/src/components/Images.d.ts.map +1 -0
  639. package/lib/typescript/module/src/components/Light.d.ts +17 -0
  640. package/lib/typescript/module/src/components/Light.d.ts.map +1 -0
  641. package/lib/typescript/module/src/components/LineLayer.d.ts +17 -0
  642. package/lib/typescript/module/src/components/LineLayer.d.ts.map +1 -0
  643. package/lib/typescript/module/src/components/MapView.d.ts +235 -0
  644. package/lib/typescript/module/src/components/MapView.d.ts.map +1 -0
  645. package/lib/typescript/module/src/components/MarkerView.d.ts +44 -0
  646. package/lib/typescript/module/src/components/MarkerView.d.ts.map +1 -0
  647. package/lib/typescript/module/src/components/NativeUserLocation.d.ts +26 -0
  648. package/lib/typescript/module/src/components/NativeUserLocation.d.ts.map +1 -0
  649. package/lib/typescript/module/src/components/PointAnnotation.d.ts +91 -0
  650. package/lib/typescript/module/src/components/PointAnnotation.d.ts.map +1 -0
  651. package/lib/typescript/module/src/components/RasterLayer.d.ts +14 -0
  652. package/lib/typescript/module/src/components/RasterLayer.d.ts.map +1 -0
  653. package/lib/typescript/module/src/components/RasterSource.d.ts +53 -0
  654. package/lib/typescript/module/src/components/RasterSource.d.ts.map +1 -0
  655. package/lib/typescript/module/src/components/ShapeSource.d.ts +124 -0
  656. package/lib/typescript/module/src/components/ShapeSource.d.ts.map +1 -0
  657. package/lib/typescript/module/src/components/Style.d.ts +81 -0
  658. package/lib/typescript/module/src/components/Style.d.ts.map +1 -0
  659. package/lib/typescript/module/src/components/SymbolLayer.d.ts +22 -0
  660. package/lib/typescript/module/src/components/SymbolLayer.d.ts.map +1 -0
  661. package/lib/typescript/module/src/components/UserLocation.d.ts +70 -0
  662. package/lib/typescript/module/src/components/UserLocation.d.ts.map +1 -0
  663. package/lib/typescript/module/src/components/VectorSource.d.ts +70 -0
  664. package/lib/typescript/module/src/components/VectorSource.d.ts.map +1 -0
  665. package/lib/typescript/module/src/hooks/useAbstractLayer.d.ts +62 -0
  666. package/lib/typescript/module/src/hooks/useAbstractLayer.d.ts.map +1 -0
  667. package/lib/typescript/module/src/hooks/useAbstractSource.d.ts +7 -0
  668. package/lib/typescript/module/src/hooks/useAbstractSource.d.ts.map +1 -0
  669. package/lib/typescript/module/src/hooks/useNativeBridge.d.ts +21 -0
  670. package/lib/typescript/module/src/hooks/useNativeBridge.d.ts.map +1 -0
  671. package/lib/typescript/module/src/hooks/useNativeRef.d.ts +8 -0
  672. package/lib/typescript/module/src/hooks/useNativeRef.d.ts.map +1 -0
  673. package/lib/typescript/module/src/hooks/useOnce.d.ts +3 -0
  674. package/lib/typescript/module/src/hooks/useOnce.d.ts.map +1 -0
  675. package/lib/typescript/module/src/index.d.ts +4 -0
  676. package/lib/typescript/module/src/index.d.ts.map +1 -0
  677. package/lib/typescript/module/src/modules/location/locationManager.d.ts +64 -0
  678. package/lib/typescript/module/src/modules/location/locationManager.d.ts.map +1 -0
  679. package/lib/typescript/module/src/modules/offline/OfflineCreatePackOptions.d.ts +21 -0
  680. package/lib/typescript/module/src/modules/offline/OfflineCreatePackOptions.d.ts.map +1 -0
  681. package/lib/typescript/module/src/modules/offline/OfflinePack.d.ts +24 -0
  682. package/lib/typescript/module/src/modules/offline/OfflinePack.d.ts.map +1 -0
  683. package/lib/typescript/module/src/modules/offline/offlineManager.d.ts +210 -0
  684. package/lib/typescript/module/src/modules/offline/offlineManager.d.ts.map +1 -0
  685. package/lib/typescript/module/src/modules/snapshot/SnapshotOptions.d.ts +42 -0
  686. package/lib/typescript/module/src/modules/snapshot/SnapshotOptions.d.ts.map +1 -0
  687. package/lib/typescript/module/src/modules/snapshot/snapshotManager.d.ts +52 -0
  688. package/lib/typescript/module/src/modules/snapshot/snapshotManager.d.ts.map +1 -0
  689. package/lib/typescript/module/src/requestAndroidLocationPermissions.d.ts +2 -0
  690. package/lib/typescript/module/src/requestAndroidLocationPermissions.d.ts.map +1 -0
  691. package/lib/typescript/module/src/types/BaseProps.d.ts +4 -0
  692. package/lib/typescript/module/src/types/BaseProps.d.ts.map +1 -0
  693. package/lib/typescript/module/src/types/CameraMode.d.ts +7 -0
  694. package/lib/typescript/module/src/types/CameraMode.d.ts.map +1 -0
  695. package/lib/typescript/module/src/types/MapLibreRNEvent.d.ts +6 -0
  696. package/lib/typescript/module/src/types/MapLibreRNEvent.d.ts.map +1 -0
  697. package/lib/typescript/module/src/types/OnPressEvent.d.ts +12 -0
  698. package/lib/typescript/module/src/types/OnPressEvent.d.ts.map +1 -0
  699. package/lib/typescript/module/src/types/StyleURL.d.ts +4 -0
  700. package/lib/typescript/module/src/types/StyleURL.d.ts.map +1 -0
  701. package/lib/typescript/module/src/utils/BridgeValue.d.ts +29 -0
  702. package/lib/typescript/module/src/utils/BridgeValue.d.ts.map +1 -0
  703. package/lib/typescript/module/src/utils/Logger.d.ts +52 -0
  704. package/lib/typescript/module/src/utils/Logger.d.ts.map +1 -0
  705. package/lib/typescript/module/src/utils/StyleValue.d.ts +10 -0
  706. package/lib/typescript/module/src/utils/StyleValue.d.ts.map +1 -0
  707. package/lib/typescript/module/src/utils/animated/AbstractAnimatedCoordinates.d.ts +36 -0
  708. package/lib/typescript/module/src/utils/animated/AbstractAnimatedCoordinates.d.ts.map +1 -0
  709. package/lib/typescript/module/src/utils/animated/Animated.d.ts +33 -0
  710. package/lib/typescript/module/src/utils/animated/Animated.d.ts.map +1 -0
  711. package/lib/typescript/module/src/utils/animated/AnimatedCoordinatesArray.d.ts +40 -0
  712. package/lib/typescript/module/src/utils/animated/AnimatedCoordinatesArray.d.ts.map +1 -0
  713. package/lib/typescript/module/src/utils/animated/AnimatedExtractCoordinateFromArray.d.ts +11 -0
  714. package/lib/typescript/module/src/utils/animated/AnimatedExtractCoordinateFromArray.d.ts.map +1 -0
  715. package/lib/typescript/module/src/utils/animated/AnimatedPoint.d.ts +31 -0
  716. package/lib/typescript/module/src/utils/animated/AnimatedPoint.d.ts.map +1 -0
  717. package/lib/typescript/module/src/utils/animated/AnimatedRouteCoordinatesArray.d.ts +54 -0
  718. package/lib/typescript/module/src/utils/animated/AnimatedRouteCoordinatesArray.d.ts.map +1 -0
  719. package/lib/typescript/module/src/utils/animated/AnimatedShape.d.ts +27 -0
  720. package/lib/typescript/module/src/utils/animated/AnimatedShape.d.ts.map +1 -0
  721. package/lib/typescript/module/src/utils/deprecation.d.ts +6 -0
  722. package/lib/typescript/module/src/utils/deprecation.d.ts.map +1 -0
  723. package/lib/typescript/module/src/utils/filterUtils.d.ts +3 -0
  724. package/lib/typescript/module/src/utils/filterUtils.d.ts.map +1 -0
  725. package/lib/typescript/module/src/utils/index.d.ts +20 -0
  726. package/lib/typescript/module/src/utils/index.d.ts.map +1 -0
  727. package/lib/typescript/module/src/utils/makeNativeBounds.d.ts +2 -0
  728. package/lib/typescript/module/src/utils/makeNativeBounds.d.ts.map +1 -0
  729. package/lib/typescript/module/src/utils/styleMap.d.ts +231 -0
  730. package/lib/typescript/module/src/utils/styleMap.d.ts.map +1 -0
  731. package/maplibre-react-native.podspec +14 -14
  732. package/package.json +132 -81
  733. package/plugin/build/withMapLibre.d.ts +2 -2
  734. package/plugin/build/withMapLibre.js +48 -34
  735. package/src/MLRNModule.ts +46 -0
  736. package/src/MapLibreRN.ts +70 -0
  737. package/src/assets/heading.png +0 -0
  738. package/src/assets/heading@2x.png +0 -0
  739. package/src/assets/heading@3x.png +0 -0
  740. package/src/assets/png.d.ts +4 -0
  741. package/src/components/Annotation.tsx +164 -0
  742. package/src/components/BackgroundLayer.tsx +50 -0
  743. package/src/components/Callout.tsx +141 -0
  744. package/src/components/Camera.tsx +492 -0
  745. package/src/components/CircleLayer.tsx +52 -0
  746. package/src/components/FillExtrusionLayer.tsx +47 -0
  747. package/src/components/FillLayer.tsx +44 -0
  748. package/src/components/HeadingIndicator.tsx +30 -0
  749. package/src/components/HeatmapLayer.tsx +46 -0
  750. package/src/components/ImageSource.tsx +70 -0
  751. package/src/components/Images.tsx +136 -0
  752. package/src/components/Light.tsx +40 -0
  753. package/src/components/LineLayer.tsx +45 -0
  754. package/src/components/MapView.tsx +879 -0
  755. package/src/components/MarkerView.tsx +88 -0
  756. package/src/components/NativeUserLocation.tsx +35 -0
  757. package/src/components/PointAnnotation.tsx +245 -0
  758. package/src/components/RasterLayer.tsx +43 -0
  759. package/src/components/RasterSource.tsx +114 -0
  760. package/src/components/ShapeSource.tsx +436 -0
  761. package/src/components/Style.tsx +371 -0
  762. package/src/components/SymbolLayer.tsx +77 -0
  763. package/src/components/UserLocation.tsx +307 -0
  764. package/src/components/VectorSource.tsx +218 -0
  765. package/src/hooks/useAbstractLayer.ts +127 -0
  766. package/src/hooks/useAbstractSource.ts +34 -0
  767. package/src/hooks/useNativeBridge.ts +125 -0
  768. package/src/hooks/useNativeRef.ts +14 -0
  769. package/src/hooks/useOnce.ts +12 -0
  770. package/src/index.ts +4 -0
  771. package/src/modules/location/locationManager.ts +161 -0
  772. package/src/modules/offline/OfflineCreatePackOptions.ts +55 -0
  773. package/src/modules/offline/OfflinePack.ts +56 -0
  774. package/src/modules/offline/offlineManager.ts +438 -0
  775. package/src/modules/snapshot/SnapshotOptions.ts +103 -0
  776. package/src/modules/snapshot/snapshotManager.ts +62 -0
  777. package/src/requestAndroidLocationPermissions.ts +29 -0
  778. package/src/types/BaseProps.ts +3 -0
  779. package/src/types/CameraMode.ts +6 -0
  780. package/src/types/MapLibreRNEvent.ts +7 -0
  781. package/src/types/OnPressEvent.ts +11 -0
  782. package/src/types/StyleURL.ts +3 -0
  783. package/src/utils/BridgeValue.ts +90 -0
  784. package/src/utils/Logger.ts +133 -0
  785. package/src/utils/MapLibreRNStyles.d.ts +1494 -0
  786. package/src/utils/StyleValue.ts +51 -0
  787. package/src/utils/animated/AbstractAnimatedCoordinates.ts +134 -0
  788. package/src/utils/animated/Animated.ts +61 -0
  789. package/src/utils/animated/AnimatedCoordinatesArray.ts +113 -0
  790. package/src/utils/animated/AnimatedExtractCoordinateFromArray.ts +43 -0
  791. package/src/utils/animated/AnimatedPoint.ts +134 -0
  792. package/src/utils/animated/AnimatedRouteCoordinatesArray.ts +150 -0
  793. package/src/utils/animated/AnimatedShape.ts +93 -0
  794. package/src/utils/deprecation.ts +31 -0
  795. package/src/utils/filterUtils.ts +9 -0
  796. package/src/utils/index.ts +118 -0
  797. package/src/utils/makeNativeBounds.ts +5 -0
  798. package/src/utils/styleMap.ts +265 -0
  799. package/.eslintignore +0 -3
  800. package/.eslintrc.js +0 -169
  801. package/.gitattributes +0 -1
  802. package/.husky/pre-commit +0 -5
  803. package/.nvmrc +0 -1
  804. package/.prettierrc.js +0 -7
  805. package/.sonarcloud.properties +0 -15
  806. package/.yarn/sdks/eslint/bin/eslint.js +0 -27
  807. package/.yarn/sdks/eslint/lib/api.js +0 -27
  808. package/.yarn/sdks/eslint/lib/unsupported-api.js +0 -27
  809. package/.yarn/sdks/eslint/package.json +0 -14
  810. package/.yarn/sdks/integrations.yml +0 -5
  811. package/.yarn/sdks/prettier/bin/prettier.cjs +0 -27
  812. package/.yarn/sdks/prettier/index.cjs +0 -27
  813. package/.yarn/sdks/prettier/package.json +0 -7
  814. package/.yarn/sdks/typescript/bin/tsc +0 -27
  815. package/.yarn/sdks/typescript/bin/tsserver +0 -27
  816. package/.yarn/sdks/typescript/lib/tsc.js +0 -27
  817. package/.yarn/sdks/typescript/lib/tsserver.js +0 -239
  818. package/.yarn/sdks/typescript/lib/tsserverlibrary.js +0 -239
  819. package/.yarn/sdks/typescript/lib/typescript.js +0 -27
  820. package/.yarn/sdks/typescript/package.json +0 -10
  821. package/CHANGELOG.md +0 -426
  822. package/CODE_OF_CONDUCT.md +0 -2
  823. package/CONTRIBUTING.md +0 -55
  824. package/RELEASE.md +0 -30
  825. package/android/rctmln/.settings/org.eclipse.buildship.core.prefs +0 -2
  826. package/android/rctmln/build.gradle +0 -59
  827. package/android/rctmln/proguard-rules.pro +0 -25
  828. package/android/rctmln/src/main/AndroidManifest.xml +0 -4
  829. package/android/rctmln/src/main/java/com/maplibre/rctmln/RCTMLNPackage.java +0 -99
  830. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/AbstractEvent.java +0 -35
  831. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/AbstractEventEmitter.java +0 -80
  832. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/AbstractMapFeature.java +0 -19
  833. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/MarkerView.java +0 -23
  834. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/MarkerViewManager.java +0 -69
  835. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNCallout.java +0 -15
  836. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNCalloutManager.java +0 -22
  837. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNMarkerView.java +0 -112
  838. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNMarkerViewManager.java +0 -45
  839. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNPointAnnotation.java +0 -361
  840. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNPointAnnotationManager.java +0 -88
  841. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/camera/CameraStop.java +0 -251
  842. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/camera/CameraUpdateItem.java +0 -125
  843. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/camera/CameraUpdateQueue.java +0 -73
  844. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/camera/RCTMLNCamera.java +0 -530
  845. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/camera/RCTMLNCameraManager.java +0 -101
  846. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/camera/constants/CameraMode.java +0 -22
  847. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/images/RCTMLNImages.java +0 -234
  848. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/images/RCTMLNImagesManager.java +0 -103
  849. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/location/LocationComponentManager.java +0 -149
  850. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/location/RCTMLNNativeUserLocation.java +0 -66
  851. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/location/RCTMLNNativeUserLocationManager.java +0 -35
  852. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/mapview/LayerSourceInfo.java +0 -59
  853. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/mapview/RCTMLNAndroidTextureMapView.java +0 -16
  854. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/mapview/RCTMLNAndroidTextureMapViewManager.java +0 -31
  855. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/mapview/RCTMLNMapView.java +0 -1527
  856. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/mapview/RCTMLNMapViewManager.java +0 -353
  857. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/mapview/helpers/CameraChangeTracker.java +0 -41
  858. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/RCTMLNStyle.java +0 -83
  859. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/RCTMLNStyleFactory.java +0 -2275
  860. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/RCTMLNStyleFunctionParser.java +0 -107
  861. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/RCTMLNStyleValue.java +0 -212
  862. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTLayer.java +0 -287
  863. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNBackgroundLayer.java +0 -27
  864. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNBackgroundLayerManager.java +0 -64
  865. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNCircleLayer.java +0 -55
  866. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNCircleLayerManager.java +0 -77
  867. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNFillExtrusionLayer.java +0 -55
  868. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNFillExtrusionLayerManager.java +0 -80
  869. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNFillLayer.java +0 -55
  870. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNFillLayerManager.java +0 -80
  871. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNHeatmapLayer.java +0 -55
  872. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNHeatmapLayerManager.java +0 -77
  873. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNLineLayer.java +0 -55
  874. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNLineLayerManager.java +0 -79
  875. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNRasterLayer.java +0 -27
  876. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNRasterLayerManager.java +0 -64
  877. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNSymbolLayer.java +0 -55
  878. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNSymbolLayerManager.java +0 -75
  879. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/light/RCTMLNLight.java +0 -65
  880. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/light/RCTMLNLightManager.java +0 -29
  881. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNImageSource.java +0 -81
  882. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNImageSourceManager.java +0 -72
  883. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNRasterSource.java +0 -45
  884. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNRasterSourceManager.java +0 -44
  885. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNShapeSource.java +0 -316
  886. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNShapeSourceManager.java +0 -253
  887. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNTileSource.java +0 -97
  888. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNTileSourceManager.java +0 -80
  889. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNVectorSource.java +0 -64
  890. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNVectorSourceManager.java +0 -84
  891. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTSource.java +0 -244
  892. package/android/rctmln/src/main/java/com/maplibre/rctmln/events/AbstractEvent.java +0 -66
  893. package/android/rctmln/src/main/java/com/maplibre/rctmln/events/AndroidCallbackEvent.java +0 -38
  894. package/android/rctmln/src/main/java/com/maplibre/rctmln/events/EventEmitter.java +0 -45
  895. package/android/rctmln/src/main/java/com/maplibre/rctmln/events/FeatureClickEvent.java +0 -79
  896. package/android/rctmln/src/main/java/com/maplibre/rctmln/events/IEvent.java +0 -18
  897. package/android/rctmln/src/main/java/com/maplibre/rctmln/events/ImageMissingEvent.java +0 -42
  898. package/android/rctmln/src/main/java/com/maplibre/rctmln/events/LocationEvent.java +0 -100
  899. package/android/rctmln/src/main/java/com/maplibre/rctmln/events/MapChangeEvent.java +0 -47
  900. package/android/rctmln/src/main/java/com/maplibre/rctmln/events/MapClickEvent.java +0 -51
  901. package/android/rctmln/src/main/java/com/maplibre/rctmln/events/MapUserTrackingModeEvent.java +0 -36
  902. package/android/rctmln/src/main/java/com/maplibre/rctmln/events/OfflineEvent.java +0 -29
  903. package/android/rctmln/src/main/java/com/maplibre/rctmln/events/PointAnnotationClickEvent.java +0 -46
  904. package/android/rctmln/src/main/java/com/maplibre/rctmln/events/PointAnnotationDragEvent.java +0 -51
  905. package/android/rctmln/src/main/java/com/maplibre/rctmln/events/constants/EventKeys.java +0 -39
  906. package/android/rctmln/src/main/java/com/maplibre/rctmln/events/constants/EventTypes.java +0 -51
  907. package/android/rctmln/src/main/java/com/maplibre/rctmln/http/CustomHeadersInterceptor.java +0 -38
  908. package/android/rctmln/src/main/java/com/maplibre/rctmln/location/LocationManager.java +0 -168
  909. package/android/rctmln/src/main/java/com/maplibre/rctmln/location/UserLocation.java +0 -63
  910. package/android/rctmln/src/main/java/com/maplibre/rctmln/location/UserLocationVerticalAlignment.java +0 -11
  911. package/android/rctmln/src/main/java/com/maplibre/rctmln/location/UserTrackingMode.java +0 -63
  912. package/android/rctmln/src/main/java/com/maplibre/rctmln/location/UserTrackingState.java +0 -19
  913. package/android/rctmln/src/main/java/com/maplibre/rctmln/modules/RCTMLNLocationModule.java +0 -158
  914. package/android/rctmln/src/main/java/com/maplibre/rctmln/modules/RCTMLNLogging.java +0 -140
  915. package/android/rctmln/src/main/java/com/maplibre/rctmln/modules/RCTMLNModule.java +0 -348
  916. package/android/rctmln/src/main/java/com/maplibre/rctmln/modules/RCTMLNOfflineModule.java +0 -592
  917. package/android/rctmln/src/main/java/com/maplibre/rctmln/modules/RCTMLNSnapshotModule.java +0 -139
  918. package/android/rctmln/src/main/java/com/maplibre/rctmln/utils/BitmapUtils.java +0 -129
  919. package/android/rctmln/src/main/java/com/maplibre/rctmln/utils/ClusterPropertyEntry.java +0 -13
  920. package/android/rctmln/src/main/java/com/maplibre/rctmln/utils/ConvertUtils.java +0 -257
  921. package/android/rctmln/src/main/java/com/maplibre/rctmln/utils/DownloadMapImageTask.java +0 -159
  922. package/android/rctmln/src/main/java/com/maplibre/rctmln/utils/ExpressionParser.java +0 -74
  923. package/android/rctmln/src/main/java/com/maplibre/rctmln/utils/GeoJSONUtils.java +0 -209
  924. package/android/rctmln/src/main/java/com/maplibre/rctmln/utils/GeoViewport.java +0 -38
  925. package/android/rctmln/src/main/java/com/maplibre/rctmln/utils/ImageEntry.java +0 -25
  926. package/android/rctmln/src/main/java/com/maplibre/rctmln/utils/ResourceUtils.java +0 -30
  927. package/android/rctmln/src/main/java/com/maplibre/rctmln/utils/SimpleEventCallback.java +0 -30
  928. package/android/rctmln/src/main/java/com/maplibre/rctmln/utils/SphericalMercator.java +0 -69
  929. package/android/rctmln/src/main/res/values/strings.xml +0 -3
  930. package/android/settings.gradle +0 -1
  931. package/assets/indoor_building_map_android.png +0 -0
  932. package/assets/indoor_building_map_ios.png +0 -0
  933. package/assets/mapbox_logo.png +0 -0
  934. package/babel.config.js +0 -9
  935. package/docs/Annotation.md +0 -38
  936. package/docs/Annotations.md +0 -12
  937. package/docs/BackgroundLayer.md +0 -158
  938. package/docs/Callout.md +0 -15
  939. package/docs/Camera.md +0 -133
  940. package/docs/CircleLayer.md +0 -462
  941. package/docs/CustomHttpHeaders.md +0 -87
  942. package/docs/FillExtrusionLayer.md +0 -319
  943. package/docs/FillLayer.md +0 -302
  944. package/docs/GettingStarted.md +0 -114
  945. package/docs/HeadingIndicator.md +0 -10
  946. package/docs/HeatmapLayer.md +0 -207
  947. package/docs/ImageSource.md +0 -13
  948. package/docs/Images.md +0 -14
  949. package/docs/Light.md +0 -159
  950. package/docs/LineLayer.md +0 -576
  951. package/docs/Logger.md +0 -23
  952. package/docs/MapLibreGL.md +0 -65
  953. package/docs/MapView.md +0 -203
  954. package/docs/MarkerView.md +0 -16
  955. package/docs/NativeUserLocation.md +0 -11
  956. package/docs/OfflineManager.md +0 -246
  957. package/docs/PointAnnotation.md +0 -31
  958. package/docs/RasterLayer.md +0 -349
  959. package/docs/RasterSource.md +0 -18
  960. package/docs/ShapeSource.md +0 -106
  961. package/docs/Style.md +0 -10
  962. package/docs/StyleSheet.md +0 -451
  963. package/docs/SymbolLayer.md +0 -1655
  964. package/docs/UserLocation.md +0 -45
  965. package/docs/VectorSource.md +0 -49
  966. package/docs/coordinates.md +0 -6
  967. package/docs/docs.json +0 -5396
  968. package/docs/location.md +0 -6
  969. package/docs/offlineManager.md +0 -246
  970. package/docs/snapshotManager.md +0 -53
  971. package/ios/RCTMLN/CameraMode.h +0 -18
  972. package/ios/RCTMLN/CameraMode.m +0 -18
  973. package/ios/RCTMLN/CameraStop.h +0 -26
  974. package/ios/RCTMLN/CameraStop.m +0 -83
  975. package/ios/RCTMLN/CameraUpdateItem.h +0 -18
  976. package/ios/RCTMLN/CameraUpdateItem.m +0 -178
  977. package/ios/RCTMLN/CameraUpdateQueue.h +0 -21
  978. package/ios/RCTMLN/CameraUpdateQueue.m +0 -74
  979. package/ios/RCTMLN/FilterParser.h +0 -14
  980. package/ios/RCTMLN/FilterParser.m +0 -22
  981. package/ios/RCTMLN/MLNCustomHeaders.h +0 -20
  982. package/ios/RCTMLN/MLNCustomHeaders.m +0 -98
  983. package/ios/RCTMLN/MLNFaux3DUserLocationAnnotationView.h +0 -23
  984. package/ios/RCTMLN/MLNFaux3DUserLocationAnnotationView.m +0 -474
  985. package/ios/RCTMLN/MLNModule.h +0 -13
  986. package/ios/RCTMLN/MLNModule.m +0 -269
  987. package/ios/RCTMLN/MLNOfflineModule.h +0 -19
  988. package/ios/RCTMLN/MLNOfflineModule.m +0 -516
  989. package/ios/RCTMLN/MLNSnapshotModule.h +0 -13
  990. package/ios/RCTMLN/MLNSnapshotModule.m +0 -80
  991. package/ios/RCTMLN/MLNUserLocationHeadingArrowLayer.h +0 -11
  992. package/ios/RCTMLN/MLNUserLocationHeadingArrowLayer.m +0 -57
  993. package/ios/RCTMLN/MLNUserLocationHeadingBeamLayer.h +0 -11
  994. package/ios/RCTMLN/MLNUserLocationHeadingBeamLayer.m +0 -102
  995. package/ios/RCTMLN/MLNUserLocationHeadingIndicator.h +0 -10
  996. package/ios/RCTMLN/RCTConvert+Mapbox.h +0 -16
  997. package/ios/RCTMLN/RCTConvert+Mapbox.m +0 -32
  998. package/ios/RCTMLN/RCTMLN.h +0 -13
  999. package/ios/RCTMLN/RCTMLN.m +0 -13
  1000. package/ios/RCTMLN/RCTMLNBackgroundLayer.h +0 -14
  1001. package/ios/RCTMLN/RCTMLNBackgroundLayer.m +0 -27
  1002. package/ios/RCTMLN/RCTMLNBackgroundLayerManager.h +0 -13
  1003. package/ios/RCTMLN/RCTMLNBackgroundLayerManager.m +0 -35
  1004. package/ios/RCTMLN/RCTMLNCallout.h +0 -15
  1005. package/ios/RCTMLN/RCTMLNCallout.m +0 -74
  1006. package/ios/RCTMLN/RCTMLNCalloutManager.h +0 -13
  1007. package/ios/RCTMLN/RCTMLNCalloutManager.m +0 -21
  1008. package/ios/RCTMLN/RCTMLNCamera.h +0 -39
  1009. package/ios/RCTMLN/RCTMLNCamera.m +0 -258
  1010. package/ios/RCTMLN/RCTMLNCameraManager.h +0 -13
  1011. package/ios/RCTMLN/RCTMLNCameraManager.m +0 -52
  1012. package/ios/RCTMLN/RCTMLNCircleLayer.h +0 -13
  1013. package/ios/RCTMLN/RCTMLNCircleLayer.m +0 -34
  1014. package/ios/RCTMLN/RCTMLNCircleLayerManager.h +0 -13
  1015. package/ios/RCTMLN/RCTMLNCircleLayerManager.m +0 -39
  1016. package/ios/RCTMLN/RCTMLNEvent.h +0 -21
  1017. package/ios/RCTMLN/RCTMLNEvent.m +0 -47
  1018. package/ios/RCTMLN/RCTMLNEventProtocol.h +0 -16
  1019. package/ios/RCTMLN/RCTMLNEventTypes.h +0 -50
  1020. package/ios/RCTMLN/RCTMLNEventTypes.m +0 -49
  1021. package/ios/RCTMLN/RCTMLNFillExtrusionLayer.h +0 -14
  1022. package/ios/RCTMLN/RCTMLNFillExtrusionLayer.m +0 -32
  1023. package/ios/RCTMLN/RCTMLNFillExtrusionLayerManager.h +0 -13
  1024. package/ios/RCTMLN/RCTMLNFillExtrusionLayerManager.m +0 -39
  1025. package/ios/RCTMLN/RCTMLNFillLayer.h +0 -14
  1026. package/ios/RCTMLN/RCTMLNFillLayer.m +0 -33
  1027. package/ios/RCTMLN/RCTMLNFillLayerManager.h +0 -13
  1028. package/ios/RCTMLN/RCTMLNFillLayerManager.m +0 -37
  1029. package/ios/RCTMLN/RCTMLNHeatmapLayer.h +0 -12
  1030. package/ios/RCTMLN/RCTMLNHeatmapLayer.m +0 -30
  1031. package/ios/RCTMLN/RCTMLNHeatmapLayerManager.h +0 -12
  1032. package/ios/RCTMLN/RCTMLNHeatmapLayerManager.m +0 -38
  1033. package/ios/RCTMLN/RCTMLNImageQueue.h +0 -19
  1034. package/ios/RCTMLN/RCTMLNImageQueue.m +0 -57
  1035. package/ios/RCTMLN/RCTMLNImageQueueOperation.h +0 -17
  1036. package/ios/RCTMLN/RCTMLNImageQueueOperation.m +0 -138
  1037. package/ios/RCTMLN/RCTMLNImageSource.h +0 -16
  1038. package/ios/RCTMLN/RCTMLNImageSource.m +0 -60
  1039. package/ios/RCTMLN/RCTMLNImageSourceManager.h +0 -13
  1040. package/ios/RCTMLN/RCTMLNImageSourceManager.m +0 -25
  1041. package/ios/RCTMLN/RCTMLNImages.h +0 -25
  1042. package/ios/RCTMLN/RCTMLNImages.m +0 -126
  1043. package/ios/RCTMLN/RCTMLNImagesManager.h +0 -5
  1044. package/ios/RCTMLN/RCTMLNImagesManager.m +0 -21
  1045. package/ios/RCTMLN/RCTMLNLayer.h +0 -52
  1046. package/ios/RCTMLN/RCTMLNLayer.m +0 -236
  1047. package/ios/RCTMLN/RCTMLNLight.h +0 -17
  1048. package/ios/RCTMLN/RCTMLNLight.m +0 -46
  1049. package/ios/RCTMLN/RCTMLNLightManager.h +0 -13
  1050. package/ios/RCTMLN/RCTMLNLightManager.m +0 -23
  1051. package/ios/RCTMLN/RCTMLNLineLayer.h +0 -14
  1052. package/ios/RCTMLN/RCTMLNLineLayer.m +0 -33
  1053. package/ios/RCTMLN/RCTMLNLineLayerManager.h +0 -13
  1054. package/ios/RCTMLN/RCTMLNLineLayerManager.m +0 -40
  1055. package/ios/RCTMLN/RCTMLNLocation.h +0 -19
  1056. package/ios/RCTMLN/RCTMLNLocation.m +0 -32
  1057. package/ios/RCTMLN/RCTMLNLocationManager.h +0 -30
  1058. package/ios/RCTMLN/RCTMLNLocationManager.m +0 -180
  1059. package/ios/RCTMLN/RCTMLNLocationManagerDelegate.h +0 -20
  1060. package/ios/RCTMLN/RCTMLNLocationModule.h +0 -15
  1061. package/ios/RCTMLN/RCTMLNLocationModule.m +0 -99
  1062. package/ios/RCTMLN/RCTMLNLogging.h +0 -18
  1063. package/ios/RCTMLN/RCTMLNLogging.m +0 -132
  1064. package/ios/RCTMLN/RCTMLNMapTouchEvent.h +0 -25
  1065. package/ios/RCTMLN/RCTMLNMapTouchEvent.m +0 -77
  1066. package/ios/RCTMLN/RCTMLNMapView.h +0 -91
  1067. package/ios/RCTMLN/RCTMLNMapView.m +0 -536
  1068. package/ios/RCTMLN/RCTMLNMapViewManager.h +0 -17
  1069. package/ios/RCTMLN/RCTMLNMapViewManager.m +0 -625
  1070. package/ios/RCTMLN/RCTMLNNativeUserLocation.h +0 -18
  1071. package/ios/RCTMLN/RCTMLNNativeUserLocation.m +0 -49
  1072. package/ios/RCTMLN/RCTMLNNativeUserLocationManager.h +0 -5
  1073. package/ios/RCTMLN/RCTMLNNativeUserLocationManager.m +0 -25
  1074. package/ios/RCTMLN/RCTMLNPointAnnotation.h +0 -41
  1075. package/ios/RCTMLN/RCTMLNPointAnnotation.m +0 -251
  1076. package/ios/RCTMLN/RCTMLNPointAnnotationManager.h +0 -13
  1077. package/ios/RCTMLN/RCTMLNPointAnnotationManager.m +0 -36
  1078. package/ios/RCTMLN/RCTMLNRasterLayer.h +0 -14
  1079. package/ios/RCTMLN/RCTMLNRasterLayer.m +0 -30
  1080. package/ios/RCTMLN/RCTMLNRasterLayerManager.h +0 -13
  1081. package/ios/RCTMLN/RCTMLNRasterLayerManager.m +0 -35
  1082. package/ios/RCTMLN/RCTMLNRasterSource.h +0 -16
  1083. package/ios/RCTMLN/RCTMLNRasterSource.m +0 -35
  1084. package/ios/RCTMLN/RCTMLNRasterSourceManager.h +0 -13
  1085. package/ios/RCTMLN/RCTMLNRasterSourceManager.m +0 -32
  1086. package/ios/RCTMLN/RCTMLNShapeSource.h +0 -53
  1087. package/ios/RCTMLN/RCTMLNShapeSource.m +0 -194
  1088. package/ios/RCTMLN/RCTMLNShapeSourceManager.h +0 -14
  1089. package/ios/RCTMLN/RCTMLNShapeSourceManager.m +0 -206
  1090. package/ios/RCTMLN/RCTMLNSource.h +0 -35
  1091. package/ios/RCTMLN/RCTMLNSource.m +0 -143
  1092. package/ios/RCTMLN/RCTMLNStyle.h +0 -222
  1093. package/ios/RCTMLN/RCTMLNStyle.m +0 -1675
  1094. package/ios/RCTMLN/RCTMLNStyleValue.h +0 -27
  1095. package/ios/RCTMLN/RCTMLNStyleValue.m +0 -167
  1096. package/ios/RCTMLN/RCTMLNSymbolLayer.h +0 -19
  1097. package/ios/RCTMLN/RCTMLNSymbolLayer.m +0 -121
  1098. package/ios/RCTMLN/RCTMLNSymbolLayerManager.h +0 -13
  1099. package/ios/RCTMLN/RCTMLNSymbolLayerManager.m +0 -40
  1100. package/ios/RCTMLN/RCTMLNTileSource.h +0 -22
  1101. package/ios/RCTMLN/RCTMLNTileSource.m +0 -31
  1102. package/ios/RCTMLN/RCTMLNUserLocation.h +0 -15
  1103. package/ios/RCTMLN/RCTMLNUserLocation.m +0 -38
  1104. package/ios/RCTMLN/RCTMLNUtils.h +0 -31
  1105. package/ios/RCTMLN/RCTMLNUtils.m +0 -218
  1106. package/ios/RCTMLN/RCTMLNVectorLayer.h +0 -15
  1107. package/ios/RCTMLN/RCTMLNVectorLayer.m +0 -59
  1108. package/ios/RCTMLN/RCTMLNVectorSource.h +0 -16
  1109. package/ios/RCTMLN/RCTMLNVectorSource.m +0 -28
  1110. package/ios/RCTMLN/RCTMLNVectorSourceManager.h +0 -14
  1111. package/ios/RCTMLN/RCTMLNVectorSourceManager.m +0 -79
  1112. package/ios/RCTMLN/RNMBImageUtils.h +0 -17
  1113. package/ios/RCTMLN/RNMBImageUtils.m +0 -31
  1114. package/ios/RCTMLN/ViewManager.h +0 -16
  1115. package/ios/RCTMLN/ViewManager.m +0 -63
  1116. package/ios/RCTMLN/index.d.ts +0 -1183
  1117. package/ios/RCTMLN.xcodeproj/project.pbxproj +0 -775
  1118. package/javascript/@types/assets.d.ts +0 -4
  1119. package/javascript/MLNModule.ts +0 -37
  1120. package/javascript/Maplibre.ts +0 -69
  1121. package/javascript/components/BackgroundLayer.tsx +0 -50
  1122. package/javascript/components/Callout.tsx +0 -141
  1123. package/javascript/components/Camera.tsx +0 -623
  1124. package/javascript/components/CircleLayer.tsx +0 -53
  1125. package/javascript/components/FillExtrusionLayer.tsx +0 -47
  1126. package/javascript/components/FillLayer.tsx +0 -44
  1127. package/javascript/components/HeadingIndicator.tsx +0 -31
  1128. package/javascript/components/HeatmapLayer.tsx +0 -46
  1129. package/javascript/components/ImageSource.tsx +0 -71
  1130. package/javascript/components/Images.tsx +0 -135
  1131. package/javascript/components/Light.tsx +0 -40
  1132. package/javascript/components/LineLayer.tsx +0 -45
  1133. package/javascript/components/MapView.tsx +0 -876
  1134. package/javascript/components/MarkerView.tsx +0 -89
  1135. package/javascript/components/NativeUserLocation.tsx +0 -31
  1136. package/javascript/components/PointAnnotation.tsx +0 -245
  1137. package/javascript/components/RasterLayer.tsx +0 -44
  1138. package/javascript/components/RasterSource.tsx +0 -114
  1139. package/javascript/components/ShapeSource.tsx +0 -431
  1140. package/javascript/components/Style.tsx +0 -358
  1141. package/javascript/components/SymbolLayer.tsx +0 -78
  1142. package/javascript/components/UserLocation.tsx +0 -289
  1143. package/javascript/components/VectorSource.tsx +0 -218
  1144. package/javascript/components/annotations/Annotation.tsx +0 -160
  1145. package/javascript/hooks/useAbstractLayer.ts +0 -124
  1146. package/javascript/hooks/useAbstractSource.ts +0 -34
  1147. package/javascript/hooks/useNativeBridge.ts +0 -125
  1148. package/javascript/hooks/useNativeRef.ts +0 -13
  1149. package/javascript/hooks/useOnce.ts +0 -12
  1150. package/javascript/index.ts +0 -4
  1151. package/javascript/modules/location/locationManager.ts +0 -162
  1152. package/javascript/modules/offline/OfflineCreatePackOptions.ts +0 -62
  1153. package/javascript/modules/offline/OfflinePack.ts +0 -56
  1154. package/javascript/modules/offline/offlineManager.ts +0 -435
  1155. package/javascript/modules/snapshot/SnapshotOptions.ts +0 -104
  1156. package/javascript/modules/snapshot/snapshotManager.ts +0 -62
  1157. package/javascript/requestAndroidLocationPermissions.ts +0 -29
  1158. package/javascript/types/BaseProps.ts +0 -5
  1159. package/javascript/types/OnPressEvent.ts +0 -13
  1160. package/javascript/types/index.ts +0 -7
  1161. package/javascript/utils/BridgeValue.ts +0 -90
  1162. package/javascript/utils/Logger.ts +0 -133
  1163. package/javascript/utils/MaplibreStyles.d.ts +0 -1486
  1164. package/javascript/utils/StyleValue.ts +0 -49
  1165. package/javascript/utils/animated/AbstractAnimatedCoordinates.ts +0 -134
  1166. package/javascript/utils/animated/Animated.ts +0 -39
  1167. package/javascript/utils/animated/AnimatedCoordinatesArray.ts +0 -112
  1168. package/javascript/utils/animated/AnimatedExtractCoordinateFromArray.ts +0 -43
  1169. package/javascript/utils/animated/AnimatedPoint.ts +0 -134
  1170. package/javascript/utils/animated/AnimatedRouteCoordinatesArray.ts +0 -149
  1171. package/javascript/utils/animated/AnimatedShape.ts +0 -93
  1172. package/javascript/utils/deprecation.ts +0 -28
  1173. package/javascript/utils/filterUtils.ts +0 -9
  1174. package/javascript/utils/geoUtils.ts +0 -79
  1175. package/javascript/utils/index.ts +0 -133
  1176. package/javascript/utils/styleMap.ts +0 -264
  1177. package/plugin/install.md +0 -32
  1178. package/react-native.config.js +0 -10
  1179. package/scripts/autogenHelpers/DocJSONBuilder.js +0 -458
  1180. package/scripts/autogenHelpers/JSDocNodeTree.js +0 -131
  1181. package/scripts/autogenHelpers/MarkdownBuilder.js +0 -29
  1182. package/scripts/autogenHelpers/globals.js +0 -507
  1183. package/scripts/autogenerate.js +0 -382
  1184. package/scripts/download-style-spec.sh +0 -15
  1185. package/scripts/templates/MaplibreStyles.ts.ejs +0 -99
  1186. package/scripts/templates/RCTMLNStyle.h.ejs +0 -33
  1187. package/scripts/templates/RCTMLNStyle.m.ejs +0 -97
  1188. package/scripts/templates/RCTMLNStyleFactory.java.ejs +0 -107
  1189. package/scripts/templates/component.md.ejs +0 -122
  1190. package/scripts/templates/index.d.ts.ejs +0 -85
  1191. package/scripts/templates/styleMap.ts.ejs +0 -85
  1192. package/setup-jest.js +0 -108
  1193. package/style-spec/v8.json +0 -6021
  1194. package/tsconfig.json +0 -24
  1195. /package/android/{rctmln/src → src}/main/res/drawable/empty.xml +0 -0
  1196. /package/android/{rctmln/src → src}/main/res/drawable/empty_drawable.png +0 -0
  1197. /package/android/{rctmln/src → src}/main/res/drawable-xxhdpi/red_marker.png +0 -0
  1198. /package/android/{rctmln/src → src}/main/res/layout/annotation.xml +0 -0
  1199. /package/{assets → lib/commonjs/assets}/heading.png +0 -0
  1200. /package/{assets → lib/commonjs/assets}/heading@2x.png +0 -0
  1201. /package/{assets → lib/commonjs/assets}/heading@3x.png +0 -0
@@ -1,2275 +0,0 @@
1
- // DO NOT MODIFY
2
- // THIS FILE IS AUTOGENERATED
3
-
4
- package com.maplibre.rctmln.components.styles;
5
-
6
- import org.maplibre.android.style.layers.BackgroundLayer;
7
- import org.maplibre.android.style.layers.CircleLayer;
8
- import org.maplibre.android.style.layers.FillExtrusionLayer;
9
- import org.maplibre.android.style.layers.FillLayer;
10
- import org.maplibre.android.style.layers.LineLayer;
11
- import org.maplibre.android.style.layers.PropertyFactory;
12
- import org.maplibre.android.style.layers.PropertyValue;
13
- import org.maplibre.android.style.layers.RasterLayer;
14
- import org.maplibre.android.style.layers.SymbolLayer;
15
- import org.maplibre.android.style.layers.HeatmapLayer;
16
- import org.maplibre.android.style.layers.HillshadeLayer;
17
- import org.maplibre.android.style.layers.TransitionOptions;
18
- import org.maplibre.android.style.light.Light;
19
- import org.maplibre.android.style.light.Position;
20
- import com.maplibre.rctmln.utils.DownloadMapImageTask;
21
-
22
- import java.util.List;
23
-
24
- public class RCTMLNStyleFactory {
25
- public static final String VALUE_KEY = "value";
26
- public static final String SHOULD_ADD_IMAGE_KEY = "shouldAddImage";
27
-
28
- public static void setFillLayerStyle(final FillLayer layer, RCTMLNStyle style) {
29
- List<String> styleKeys = style.getAllStyleKeys();
30
-
31
- if (styleKeys.size() == 0) {
32
- return;
33
- }
34
-
35
- for (String styleKey : styleKeys) {
36
- final RCTMLNStyleValue styleValue = style.getStyleValueForKey(styleKey);
37
-
38
- switch (styleKey) {
39
- case "fillSortKey":
40
- RCTMLNStyleFactory.setFillSortKey(layer, styleValue);
41
- break;
42
- case "visibility":
43
- RCTMLNStyleFactory.setVisibility(layer, styleValue);
44
- break;
45
- case "fillAntialias":
46
- RCTMLNStyleFactory.setFillAntialias(layer, styleValue);
47
- break;
48
- case "fillOpacity":
49
- RCTMLNStyleFactory.setFillOpacity(layer, styleValue);
50
- break;
51
- case "fillOpacityTransition":
52
- RCTMLNStyleFactory.setFillOpacityTransition(layer, styleValue);
53
- break;
54
- case "fillColor":
55
- RCTMLNStyleFactory.setFillColor(layer, styleValue);
56
- break;
57
- case "fillColorTransition":
58
- RCTMLNStyleFactory.setFillColorTransition(layer, styleValue);
59
- break;
60
- case "fillOutlineColor":
61
- RCTMLNStyleFactory.setFillOutlineColor(layer, styleValue);
62
- break;
63
- case "fillOutlineColorTransition":
64
- RCTMLNStyleFactory.setFillOutlineColorTransition(layer, styleValue);
65
- break;
66
- case "fillTranslate":
67
- RCTMLNStyleFactory.setFillTranslate(layer, styleValue);
68
- break;
69
- case "fillTranslateTransition":
70
- RCTMLNStyleFactory.setFillTranslateTransition(layer, styleValue);
71
- break;
72
- case "fillTranslateAnchor":
73
- RCTMLNStyleFactory.setFillTranslateAnchor(layer, styleValue);
74
- break;
75
- case "fillPattern":
76
- style.addImage(styleValue, new DownloadMapImageTask.OnAllImagesLoaded() {
77
- @Override
78
- public void onAllImagesLoaded() {
79
- RCTMLNStyleFactory.setFillPattern(layer, styleValue);
80
- }
81
- });
82
- break;
83
- case "fillPatternTransition":
84
- RCTMLNStyleFactory.setFillPatternTransition(layer, styleValue);
85
- break;
86
- }
87
- }
88
- }
89
- public static void setLineLayerStyle(final LineLayer layer, RCTMLNStyle style) {
90
- List<String> styleKeys = style.getAllStyleKeys();
91
-
92
- if (styleKeys.size() == 0) {
93
- return;
94
- }
95
-
96
- for (String styleKey : styleKeys) {
97
- final RCTMLNStyleValue styleValue = style.getStyleValueForKey(styleKey);
98
-
99
- switch (styleKey) {
100
- case "lineCap":
101
- RCTMLNStyleFactory.setLineCap(layer, styleValue);
102
- break;
103
- case "lineJoin":
104
- RCTMLNStyleFactory.setLineJoin(layer, styleValue);
105
- break;
106
- case "lineMiterLimit":
107
- RCTMLNStyleFactory.setLineMiterLimit(layer, styleValue);
108
- break;
109
- case "lineRoundLimit":
110
- RCTMLNStyleFactory.setLineRoundLimit(layer, styleValue);
111
- break;
112
- case "lineSortKey":
113
- RCTMLNStyleFactory.setLineSortKey(layer, styleValue);
114
- break;
115
- case "visibility":
116
- RCTMLNStyleFactory.setVisibility(layer, styleValue);
117
- break;
118
- case "lineOpacity":
119
- RCTMLNStyleFactory.setLineOpacity(layer, styleValue);
120
- break;
121
- case "lineOpacityTransition":
122
- RCTMLNStyleFactory.setLineOpacityTransition(layer, styleValue);
123
- break;
124
- case "lineColor":
125
- RCTMLNStyleFactory.setLineColor(layer, styleValue);
126
- break;
127
- case "lineColorTransition":
128
- RCTMLNStyleFactory.setLineColorTransition(layer, styleValue);
129
- break;
130
- case "lineTranslate":
131
- RCTMLNStyleFactory.setLineTranslate(layer, styleValue);
132
- break;
133
- case "lineTranslateTransition":
134
- RCTMLNStyleFactory.setLineTranslateTransition(layer, styleValue);
135
- break;
136
- case "lineTranslateAnchor":
137
- RCTMLNStyleFactory.setLineTranslateAnchor(layer, styleValue);
138
- break;
139
- case "lineWidth":
140
- RCTMLNStyleFactory.setLineWidth(layer, styleValue);
141
- break;
142
- case "lineWidthTransition":
143
- RCTMLNStyleFactory.setLineWidthTransition(layer, styleValue);
144
- break;
145
- case "lineGapWidth":
146
- RCTMLNStyleFactory.setLineGapWidth(layer, styleValue);
147
- break;
148
- case "lineGapWidthTransition":
149
- RCTMLNStyleFactory.setLineGapWidthTransition(layer, styleValue);
150
- break;
151
- case "lineOffset":
152
- RCTMLNStyleFactory.setLineOffset(layer, styleValue);
153
- break;
154
- case "lineOffsetTransition":
155
- RCTMLNStyleFactory.setLineOffsetTransition(layer, styleValue);
156
- break;
157
- case "lineBlur":
158
- RCTMLNStyleFactory.setLineBlur(layer, styleValue);
159
- break;
160
- case "lineBlurTransition":
161
- RCTMLNStyleFactory.setLineBlurTransition(layer, styleValue);
162
- break;
163
- case "lineDasharray":
164
- RCTMLNStyleFactory.setLineDasharray(layer, styleValue);
165
- break;
166
- case "lineDasharrayTransition":
167
- RCTMLNStyleFactory.setLineDasharrayTransition(layer, styleValue);
168
- break;
169
- case "linePattern":
170
- style.addImage(styleValue, new DownloadMapImageTask.OnAllImagesLoaded() {
171
- @Override
172
- public void onAllImagesLoaded() {
173
- RCTMLNStyleFactory.setLinePattern(layer, styleValue);
174
- }
175
- });
176
- break;
177
- case "linePatternTransition":
178
- RCTMLNStyleFactory.setLinePatternTransition(layer, styleValue);
179
- break;
180
- case "lineGradient":
181
- RCTMLNStyleFactory.setLineGradient(layer, styleValue);
182
- break;
183
- }
184
- }
185
- }
186
- public static void setSymbolLayerStyle(final SymbolLayer layer, RCTMLNStyle style) {
187
- List<String> styleKeys = style.getAllStyleKeys();
188
-
189
- if (styleKeys.size() == 0) {
190
- return;
191
- }
192
-
193
- for (String styleKey : styleKeys) {
194
- final RCTMLNStyleValue styleValue = style.getStyleValueForKey(styleKey);
195
-
196
- switch (styleKey) {
197
- case "symbolPlacement":
198
- RCTMLNStyleFactory.setSymbolPlacement(layer, styleValue);
199
- break;
200
- case "symbolSpacing":
201
- RCTMLNStyleFactory.setSymbolSpacing(layer, styleValue);
202
- break;
203
- case "symbolAvoidEdges":
204
- RCTMLNStyleFactory.setSymbolAvoidEdges(layer, styleValue);
205
- break;
206
- case "symbolSortKey":
207
- RCTMLNStyleFactory.setSymbolSortKey(layer, styleValue);
208
- break;
209
- case "symbolZOrder":
210
- RCTMLNStyleFactory.setSymbolZOrder(layer, styleValue);
211
- break;
212
- case "iconAllowOverlap":
213
- RCTMLNStyleFactory.setIconAllowOverlap(layer, styleValue);
214
- break;
215
- case "iconIgnorePlacement":
216
- RCTMLNStyleFactory.setIconIgnorePlacement(layer, styleValue);
217
- break;
218
- case "iconOptional":
219
- RCTMLNStyleFactory.setIconOptional(layer, styleValue);
220
- break;
221
- case "iconRotationAlignment":
222
- RCTMLNStyleFactory.setIconRotationAlignment(layer, styleValue);
223
- break;
224
- case "iconSize":
225
- RCTMLNStyleFactory.setIconSize(layer, styleValue);
226
- break;
227
- case "iconTextFit":
228
- RCTMLNStyleFactory.setIconTextFit(layer, styleValue);
229
- break;
230
- case "iconTextFitPadding":
231
- RCTMLNStyleFactory.setIconTextFitPadding(layer, styleValue);
232
- break;
233
- case "iconImage":
234
- style.addImage(styleValue, new DownloadMapImageTask.OnAllImagesLoaded() {
235
- @Override
236
- public void onAllImagesLoaded() {
237
- RCTMLNStyleFactory.setIconImage(layer, styleValue);
238
- }
239
- });
240
- break;
241
- case "iconRotate":
242
- RCTMLNStyleFactory.setIconRotate(layer, styleValue);
243
- break;
244
- case "iconPadding":
245
- RCTMLNStyleFactory.setIconPadding(layer, styleValue);
246
- break;
247
- case "iconKeepUpright":
248
- RCTMLNStyleFactory.setIconKeepUpright(layer, styleValue);
249
- break;
250
- case "iconOffset":
251
- RCTMLNStyleFactory.setIconOffset(layer, styleValue);
252
- break;
253
- case "iconAnchor":
254
- RCTMLNStyleFactory.setIconAnchor(layer, styleValue);
255
- break;
256
- case "iconPitchAlignment":
257
- RCTMLNStyleFactory.setIconPitchAlignment(layer, styleValue);
258
- break;
259
- case "textPitchAlignment":
260
- RCTMLNStyleFactory.setTextPitchAlignment(layer, styleValue);
261
- break;
262
- case "textRotationAlignment":
263
- RCTMLNStyleFactory.setTextRotationAlignment(layer, styleValue);
264
- break;
265
- case "textField":
266
- RCTMLNStyleFactory.setTextField(layer, styleValue);
267
- break;
268
- case "textFont":
269
- RCTMLNStyleFactory.setTextFont(layer, styleValue);
270
- break;
271
- case "textSize":
272
- RCTMLNStyleFactory.setTextSize(layer, styleValue);
273
- break;
274
- case "textMaxWidth":
275
- RCTMLNStyleFactory.setTextMaxWidth(layer, styleValue);
276
- break;
277
- case "textLineHeight":
278
- RCTMLNStyleFactory.setTextLineHeight(layer, styleValue);
279
- break;
280
- case "textLetterSpacing":
281
- RCTMLNStyleFactory.setTextLetterSpacing(layer, styleValue);
282
- break;
283
- case "textJustify":
284
- RCTMLNStyleFactory.setTextJustify(layer, styleValue);
285
- break;
286
- case "textRadialOffset":
287
- RCTMLNStyleFactory.setTextRadialOffset(layer, styleValue);
288
- break;
289
- case "textVariableAnchor":
290
- RCTMLNStyleFactory.setTextVariableAnchor(layer, styleValue);
291
- break;
292
- case "textAnchor":
293
- RCTMLNStyleFactory.setTextAnchor(layer, styleValue);
294
- break;
295
- case "textMaxAngle":
296
- RCTMLNStyleFactory.setTextMaxAngle(layer, styleValue);
297
- break;
298
- case "textWritingMode":
299
- RCTMLNStyleFactory.setTextWritingMode(layer, styleValue);
300
- break;
301
- case "textRotate":
302
- RCTMLNStyleFactory.setTextRotate(layer, styleValue);
303
- break;
304
- case "textPadding":
305
- RCTMLNStyleFactory.setTextPadding(layer, styleValue);
306
- break;
307
- case "textKeepUpright":
308
- RCTMLNStyleFactory.setTextKeepUpright(layer, styleValue);
309
- break;
310
- case "textTransform":
311
- RCTMLNStyleFactory.setTextTransform(layer, styleValue);
312
- break;
313
- case "textOffset":
314
- RCTMLNStyleFactory.setTextOffset(layer, styleValue);
315
- break;
316
- case "textAllowOverlap":
317
- RCTMLNStyleFactory.setTextAllowOverlap(layer, styleValue);
318
- break;
319
- case "textIgnorePlacement":
320
- RCTMLNStyleFactory.setTextIgnorePlacement(layer, styleValue);
321
- break;
322
- case "textOptional":
323
- RCTMLNStyleFactory.setTextOptional(layer, styleValue);
324
- break;
325
- case "visibility":
326
- RCTMLNStyleFactory.setVisibility(layer, styleValue);
327
- break;
328
- case "iconOpacity":
329
- RCTMLNStyleFactory.setIconOpacity(layer, styleValue);
330
- break;
331
- case "iconOpacityTransition":
332
- RCTMLNStyleFactory.setIconOpacityTransition(layer, styleValue);
333
- break;
334
- case "iconColor":
335
- RCTMLNStyleFactory.setIconColor(layer, styleValue);
336
- break;
337
- case "iconColorTransition":
338
- RCTMLNStyleFactory.setIconColorTransition(layer, styleValue);
339
- break;
340
- case "iconHaloColor":
341
- RCTMLNStyleFactory.setIconHaloColor(layer, styleValue);
342
- break;
343
- case "iconHaloColorTransition":
344
- RCTMLNStyleFactory.setIconHaloColorTransition(layer, styleValue);
345
- break;
346
- case "iconHaloWidth":
347
- RCTMLNStyleFactory.setIconHaloWidth(layer, styleValue);
348
- break;
349
- case "iconHaloWidthTransition":
350
- RCTMLNStyleFactory.setIconHaloWidthTransition(layer, styleValue);
351
- break;
352
- case "iconHaloBlur":
353
- RCTMLNStyleFactory.setIconHaloBlur(layer, styleValue);
354
- break;
355
- case "iconHaloBlurTransition":
356
- RCTMLNStyleFactory.setIconHaloBlurTransition(layer, styleValue);
357
- break;
358
- case "iconTranslate":
359
- RCTMLNStyleFactory.setIconTranslate(layer, styleValue);
360
- break;
361
- case "iconTranslateTransition":
362
- RCTMLNStyleFactory.setIconTranslateTransition(layer, styleValue);
363
- break;
364
- case "iconTranslateAnchor":
365
- RCTMLNStyleFactory.setIconTranslateAnchor(layer, styleValue);
366
- break;
367
- case "textOpacity":
368
- RCTMLNStyleFactory.setTextOpacity(layer, styleValue);
369
- break;
370
- case "textOpacityTransition":
371
- RCTMLNStyleFactory.setTextOpacityTransition(layer, styleValue);
372
- break;
373
- case "textColor":
374
- RCTMLNStyleFactory.setTextColor(layer, styleValue);
375
- break;
376
- case "textColorTransition":
377
- RCTMLNStyleFactory.setTextColorTransition(layer, styleValue);
378
- break;
379
- case "textHaloColor":
380
- RCTMLNStyleFactory.setTextHaloColor(layer, styleValue);
381
- break;
382
- case "textHaloColorTransition":
383
- RCTMLNStyleFactory.setTextHaloColorTransition(layer, styleValue);
384
- break;
385
- case "textHaloWidth":
386
- RCTMLNStyleFactory.setTextHaloWidth(layer, styleValue);
387
- break;
388
- case "textHaloWidthTransition":
389
- RCTMLNStyleFactory.setTextHaloWidthTransition(layer, styleValue);
390
- break;
391
- case "textHaloBlur":
392
- RCTMLNStyleFactory.setTextHaloBlur(layer, styleValue);
393
- break;
394
- case "textHaloBlurTransition":
395
- RCTMLNStyleFactory.setTextHaloBlurTransition(layer, styleValue);
396
- break;
397
- case "textTranslate":
398
- RCTMLNStyleFactory.setTextTranslate(layer, styleValue);
399
- break;
400
- case "textTranslateTransition":
401
- RCTMLNStyleFactory.setTextTranslateTransition(layer, styleValue);
402
- break;
403
- case "textTranslateAnchor":
404
- RCTMLNStyleFactory.setTextTranslateAnchor(layer, styleValue);
405
- break;
406
- }
407
- }
408
- }
409
- public static void setCircleLayerStyle(final CircleLayer layer, RCTMLNStyle style) {
410
- List<String> styleKeys = style.getAllStyleKeys();
411
-
412
- if (styleKeys.size() == 0) {
413
- return;
414
- }
415
-
416
- for (String styleKey : styleKeys) {
417
- final RCTMLNStyleValue styleValue = style.getStyleValueForKey(styleKey);
418
-
419
- switch (styleKey) {
420
- case "circleSortKey":
421
- RCTMLNStyleFactory.setCircleSortKey(layer, styleValue);
422
- break;
423
- case "visibility":
424
- RCTMLNStyleFactory.setVisibility(layer, styleValue);
425
- break;
426
- case "circleRadius":
427
- RCTMLNStyleFactory.setCircleRadius(layer, styleValue);
428
- break;
429
- case "circleRadiusTransition":
430
- RCTMLNStyleFactory.setCircleRadiusTransition(layer, styleValue);
431
- break;
432
- case "circleColor":
433
- RCTMLNStyleFactory.setCircleColor(layer, styleValue);
434
- break;
435
- case "circleColorTransition":
436
- RCTMLNStyleFactory.setCircleColorTransition(layer, styleValue);
437
- break;
438
- case "circleBlur":
439
- RCTMLNStyleFactory.setCircleBlur(layer, styleValue);
440
- break;
441
- case "circleBlurTransition":
442
- RCTMLNStyleFactory.setCircleBlurTransition(layer, styleValue);
443
- break;
444
- case "circleOpacity":
445
- RCTMLNStyleFactory.setCircleOpacity(layer, styleValue);
446
- break;
447
- case "circleOpacityTransition":
448
- RCTMLNStyleFactory.setCircleOpacityTransition(layer, styleValue);
449
- break;
450
- case "circleTranslate":
451
- RCTMLNStyleFactory.setCircleTranslate(layer, styleValue);
452
- break;
453
- case "circleTranslateTransition":
454
- RCTMLNStyleFactory.setCircleTranslateTransition(layer, styleValue);
455
- break;
456
- case "circleTranslateAnchor":
457
- RCTMLNStyleFactory.setCircleTranslateAnchor(layer, styleValue);
458
- break;
459
- case "circlePitchScale":
460
- RCTMLNStyleFactory.setCirclePitchScale(layer, styleValue);
461
- break;
462
- case "circlePitchAlignment":
463
- RCTMLNStyleFactory.setCirclePitchAlignment(layer, styleValue);
464
- break;
465
- case "circleStrokeWidth":
466
- RCTMLNStyleFactory.setCircleStrokeWidth(layer, styleValue);
467
- break;
468
- case "circleStrokeWidthTransition":
469
- RCTMLNStyleFactory.setCircleStrokeWidthTransition(layer, styleValue);
470
- break;
471
- case "circleStrokeColor":
472
- RCTMLNStyleFactory.setCircleStrokeColor(layer, styleValue);
473
- break;
474
- case "circleStrokeColorTransition":
475
- RCTMLNStyleFactory.setCircleStrokeColorTransition(layer, styleValue);
476
- break;
477
- case "circleStrokeOpacity":
478
- RCTMLNStyleFactory.setCircleStrokeOpacity(layer, styleValue);
479
- break;
480
- case "circleStrokeOpacityTransition":
481
- RCTMLNStyleFactory.setCircleStrokeOpacityTransition(layer, styleValue);
482
- break;
483
- }
484
- }
485
- }
486
- public static void setHeatmapLayerStyle(final HeatmapLayer layer, RCTMLNStyle style) {
487
- List<String> styleKeys = style.getAllStyleKeys();
488
-
489
- if (styleKeys.size() == 0) {
490
- return;
491
- }
492
-
493
- for (String styleKey : styleKeys) {
494
- final RCTMLNStyleValue styleValue = style.getStyleValueForKey(styleKey);
495
-
496
- switch (styleKey) {
497
- case "visibility":
498
- RCTMLNStyleFactory.setVisibility(layer, styleValue);
499
- break;
500
- case "heatmapRadius":
501
- RCTMLNStyleFactory.setHeatmapRadius(layer, styleValue);
502
- break;
503
- case "heatmapRadiusTransition":
504
- RCTMLNStyleFactory.setHeatmapRadiusTransition(layer, styleValue);
505
- break;
506
- case "heatmapWeight":
507
- RCTMLNStyleFactory.setHeatmapWeight(layer, styleValue);
508
- break;
509
- case "heatmapIntensity":
510
- RCTMLNStyleFactory.setHeatmapIntensity(layer, styleValue);
511
- break;
512
- case "heatmapIntensityTransition":
513
- RCTMLNStyleFactory.setHeatmapIntensityTransition(layer, styleValue);
514
- break;
515
- case "heatmapColor":
516
- RCTMLNStyleFactory.setHeatmapColor(layer, styleValue);
517
- break;
518
- case "heatmapOpacity":
519
- RCTMLNStyleFactory.setHeatmapOpacity(layer, styleValue);
520
- break;
521
- case "heatmapOpacityTransition":
522
- RCTMLNStyleFactory.setHeatmapOpacityTransition(layer, styleValue);
523
- break;
524
- }
525
- }
526
- }
527
- public static void setFillExtrusionLayerStyle(final FillExtrusionLayer layer, RCTMLNStyle style) {
528
- List<String> styleKeys = style.getAllStyleKeys();
529
-
530
- if (styleKeys.size() == 0) {
531
- return;
532
- }
533
-
534
- for (String styleKey : styleKeys) {
535
- final RCTMLNStyleValue styleValue = style.getStyleValueForKey(styleKey);
536
-
537
- switch (styleKey) {
538
- case "visibility":
539
- RCTMLNStyleFactory.setVisibility(layer, styleValue);
540
- break;
541
- case "fillExtrusionOpacity":
542
- RCTMLNStyleFactory.setFillExtrusionOpacity(layer, styleValue);
543
- break;
544
- case "fillExtrusionOpacityTransition":
545
- RCTMLNStyleFactory.setFillExtrusionOpacityTransition(layer, styleValue);
546
- break;
547
- case "fillExtrusionColor":
548
- RCTMLNStyleFactory.setFillExtrusionColor(layer, styleValue);
549
- break;
550
- case "fillExtrusionColorTransition":
551
- RCTMLNStyleFactory.setFillExtrusionColorTransition(layer, styleValue);
552
- break;
553
- case "fillExtrusionTranslate":
554
- RCTMLNStyleFactory.setFillExtrusionTranslate(layer, styleValue);
555
- break;
556
- case "fillExtrusionTranslateTransition":
557
- RCTMLNStyleFactory.setFillExtrusionTranslateTransition(layer, styleValue);
558
- break;
559
- case "fillExtrusionTranslateAnchor":
560
- RCTMLNStyleFactory.setFillExtrusionTranslateAnchor(layer, styleValue);
561
- break;
562
- case "fillExtrusionPattern":
563
- style.addImage(styleValue, new DownloadMapImageTask.OnAllImagesLoaded() {
564
- @Override
565
- public void onAllImagesLoaded() {
566
- RCTMLNStyleFactory.setFillExtrusionPattern(layer, styleValue);
567
- }
568
- });
569
- break;
570
- case "fillExtrusionPatternTransition":
571
- RCTMLNStyleFactory.setFillExtrusionPatternTransition(layer, styleValue);
572
- break;
573
- case "fillExtrusionHeight":
574
- RCTMLNStyleFactory.setFillExtrusionHeight(layer, styleValue);
575
- break;
576
- case "fillExtrusionHeightTransition":
577
- RCTMLNStyleFactory.setFillExtrusionHeightTransition(layer, styleValue);
578
- break;
579
- case "fillExtrusionBase":
580
- RCTMLNStyleFactory.setFillExtrusionBase(layer, styleValue);
581
- break;
582
- case "fillExtrusionBaseTransition":
583
- RCTMLNStyleFactory.setFillExtrusionBaseTransition(layer, styleValue);
584
- break;
585
- }
586
- }
587
- }
588
- public static void setRasterLayerStyle(final RasterLayer layer, RCTMLNStyle style) {
589
- List<String> styleKeys = style.getAllStyleKeys();
590
-
591
- if (styleKeys.size() == 0) {
592
- return;
593
- }
594
-
595
- for (String styleKey : styleKeys) {
596
- final RCTMLNStyleValue styleValue = style.getStyleValueForKey(styleKey);
597
-
598
- switch (styleKey) {
599
- case "visibility":
600
- RCTMLNStyleFactory.setVisibility(layer, styleValue);
601
- break;
602
- case "rasterOpacity":
603
- RCTMLNStyleFactory.setRasterOpacity(layer, styleValue);
604
- break;
605
- case "rasterOpacityTransition":
606
- RCTMLNStyleFactory.setRasterOpacityTransition(layer, styleValue);
607
- break;
608
- case "rasterHueRotate":
609
- RCTMLNStyleFactory.setRasterHueRotate(layer, styleValue);
610
- break;
611
- case "rasterHueRotateTransition":
612
- RCTMLNStyleFactory.setRasterHueRotateTransition(layer, styleValue);
613
- break;
614
- case "rasterBrightnessMin":
615
- RCTMLNStyleFactory.setRasterBrightnessMin(layer, styleValue);
616
- break;
617
- case "rasterBrightnessMinTransition":
618
- RCTMLNStyleFactory.setRasterBrightnessMinTransition(layer, styleValue);
619
- break;
620
- case "rasterBrightnessMax":
621
- RCTMLNStyleFactory.setRasterBrightnessMax(layer, styleValue);
622
- break;
623
- case "rasterBrightnessMaxTransition":
624
- RCTMLNStyleFactory.setRasterBrightnessMaxTransition(layer, styleValue);
625
- break;
626
- case "rasterSaturation":
627
- RCTMLNStyleFactory.setRasterSaturation(layer, styleValue);
628
- break;
629
- case "rasterSaturationTransition":
630
- RCTMLNStyleFactory.setRasterSaturationTransition(layer, styleValue);
631
- break;
632
- case "rasterContrast":
633
- RCTMLNStyleFactory.setRasterContrast(layer, styleValue);
634
- break;
635
- case "rasterContrastTransition":
636
- RCTMLNStyleFactory.setRasterContrastTransition(layer, styleValue);
637
- break;
638
- case "rasterResampling":
639
- RCTMLNStyleFactory.setRasterResampling(layer, styleValue);
640
- break;
641
- case "rasterFadeDuration":
642
- RCTMLNStyleFactory.setRasterFadeDuration(layer, styleValue);
643
- break;
644
- }
645
- }
646
- }
647
- public static void setHillshadeLayerStyle(final HillshadeLayer layer, RCTMLNStyle style) {
648
- List<String> styleKeys = style.getAllStyleKeys();
649
-
650
- if (styleKeys.size() == 0) {
651
- return;
652
- }
653
-
654
- for (String styleKey : styleKeys) {
655
- final RCTMLNStyleValue styleValue = style.getStyleValueForKey(styleKey);
656
-
657
- switch (styleKey) {
658
- case "visibility":
659
- RCTMLNStyleFactory.setVisibility(layer, styleValue);
660
- break;
661
- case "hillshadeIlluminationDirection":
662
- RCTMLNStyleFactory.setHillshadeIlluminationDirection(layer, styleValue);
663
- break;
664
- case "hillshadeIlluminationAnchor":
665
- RCTMLNStyleFactory.setHillshadeIlluminationAnchor(layer, styleValue);
666
- break;
667
- case "hillshadeExaggeration":
668
- RCTMLNStyleFactory.setHillshadeExaggeration(layer, styleValue);
669
- break;
670
- case "hillshadeExaggerationTransition":
671
- RCTMLNStyleFactory.setHillshadeExaggerationTransition(layer, styleValue);
672
- break;
673
- case "hillshadeShadowColor":
674
- RCTMLNStyleFactory.setHillshadeShadowColor(layer, styleValue);
675
- break;
676
- case "hillshadeShadowColorTransition":
677
- RCTMLNStyleFactory.setHillshadeShadowColorTransition(layer, styleValue);
678
- break;
679
- case "hillshadeHighlightColor":
680
- RCTMLNStyleFactory.setHillshadeHighlightColor(layer, styleValue);
681
- break;
682
- case "hillshadeHighlightColorTransition":
683
- RCTMLNStyleFactory.setHillshadeHighlightColorTransition(layer, styleValue);
684
- break;
685
- case "hillshadeAccentColor":
686
- RCTMLNStyleFactory.setHillshadeAccentColor(layer, styleValue);
687
- break;
688
- case "hillshadeAccentColorTransition":
689
- RCTMLNStyleFactory.setHillshadeAccentColorTransition(layer, styleValue);
690
- break;
691
- }
692
- }
693
- }
694
- public static void setBackgroundLayerStyle(final BackgroundLayer layer, RCTMLNStyle style) {
695
- List<String> styleKeys = style.getAllStyleKeys();
696
-
697
- if (styleKeys.size() == 0) {
698
- return;
699
- }
700
-
701
- for (String styleKey : styleKeys) {
702
- final RCTMLNStyleValue styleValue = style.getStyleValueForKey(styleKey);
703
-
704
- switch (styleKey) {
705
- case "visibility":
706
- RCTMLNStyleFactory.setVisibility(layer, styleValue);
707
- break;
708
- case "backgroundColor":
709
- RCTMLNStyleFactory.setBackgroundColor(layer, styleValue);
710
- break;
711
- case "backgroundColorTransition":
712
- RCTMLNStyleFactory.setBackgroundColorTransition(layer, styleValue);
713
- break;
714
- case "backgroundPattern":
715
- style.addImage(styleValue, new DownloadMapImageTask.OnAllImagesLoaded() {
716
- @Override
717
- public void onAllImagesLoaded() {
718
- RCTMLNStyleFactory.setBackgroundPattern(layer, styleValue);
719
- }
720
- });
721
- break;
722
- case "backgroundPatternTransition":
723
- RCTMLNStyleFactory.setBackgroundPatternTransition(layer, styleValue);
724
- break;
725
- case "backgroundOpacity":
726
- RCTMLNStyleFactory.setBackgroundOpacity(layer, styleValue);
727
- break;
728
- case "backgroundOpacityTransition":
729
- RCTMLNStyleFactory.setBackgroundOpacityTransition(layer, styleValue);
730
- break;
731
- }
732
- }
733
- }
734
- public static void setLightLayerStyle(final Light layer, RCTMLNStyle style) {
735
- List<String> styleKeys = style.getAllStyleKeys();
736
-
737
- if (styleKeys.size() == 0) {
738
- return;
739
- }
740
-
741
- for (String styleKey : styleKeys) {
742
- final RCTMLNStyleValue styleValue = style.getStyleValueForKey(styleKey);
743
-
744
- switch (styleKey) {
745
- case "anchor":
746
- RCTMLNStyleFactory.setAnchor(layer, styleValue);
747
- break;
748
- case "position":
749
- RCTMLNStyleFactory.setPosition(layer, styleValue);
750
- break;
751
- case "positionTransition":
752
- RCTMLNStyleFactory.setPositionTransition(layer, styleValue);
753
- break;
754
- case "color":
755
- RCTMLNStyleFactory.setColor(layer, styleValue);
756
- break;
757
- case "colorTransition":
758
- RCTMLNStyleFactory.setColorTransition(layer, styleValue);
759
- break;
760
- case "intensity":
761
- RCTMLNStyleFactory.setIntensity(layer, styleValue);
762
- break;
763
- case "intensityTransition":
764
- RCTMLNStyleFactory.setIntensityTransition(layer, styleValue);
765
- break;
766
- }
767
- }
768
- }
769
-
770
- public static void setFillSortKey(FillLayer layer, RCTMLNStyleValue styleValue) {
771
- if (styleValue.isExpression()) {
772
- layer.setProperties(PropertyFactory.fillSortKey(styleValue.getExpression()));
773
- } else {
774
- layer.setProperties(PropertyFactory.fillSortKey(styleValue.getFloat(VALUE_KEY)));
775
- }
776
- }
777
-
778
- public static void setVisibility(FillLayer layer, RCTMLNStyleValue styleValue) {
779
- layer.setProperties(PropertyFactory.visibility(styleValue.getString(VALUE_KEY)));
780
- }
781
-
782
- public static void setFillAntialias(FillLayer layer, RCTMLNStyleValue styleValue) {
783
- if (styleValue.isExpression()) {
784
- layer.setProperties(PropertyFactory.fillAntialias(styleValue.getExpression()));
785
- } else {
786
- layer.setProperties(PropertyFactory.fillAntialias(styleValue.getBoolean(VALUE_KEY)));
787
- }
788
- }
789
-
790
- public static void setFillOpacity(FillLayer layer, RCTMLNStyleValue styleValue) {
791
- if (styleValue.isExpression()) {
792
- layer.setProperties(PropertyFactory.fillOpacity(styleValue.getExpression()));
793
- } else {
794
- layer.setProperties(PropertyFactory.fillOpacity(styleValue.getFloat(VALUE_KEY)));
795
- }
796
- }
797
-
798
-
799
- public static void setFillOpacityTransition(FillLayer layer, RCTMLNStyleValue styleValue) {
800
- TransitionOptions transition = styleValue.getTransition();
801
- if (transition != null) {
802
- layer.setFillOpacityTransition(transition);
803
- }
804
- }
805
-
806
- public static void setFillColor(FillLayer layer, RCTMLNStyleValue styleValue) {
807
- if (styleValue.isExpression()) {
808
- layer.setProperties(PropertyFactory.fillColor(styleValue.getExpression()));
809
- } else {
810
- layer.setProperties(PropertyFactory.fillColor(styleValue.getInt(VALUE_KEY)));
811
- }
812
- }
813
-
814
-
815
- public static void setFillColorTransition(FillLayer layer, RCTMLNStyleValue styleValue) {
816
- TransitionOptions transition = styleValue.getTransition();
817
- if (transition != null) {
818
- layer.setFillColorTransition(transition);
819
- }
820
- }
821
-
822
- public static void setFillOutlineColor(FillLayer layer, RCTMLNStyleValue styleValue) {
823
- if (styleValue.isExpression()) {
824
- layer.setProperties(PropertyFactory.fillOutlineColor(styleValue.getExpression()));
825
- } else {
826
- layer.setProperties(PropertyFactory.fillOutlineColor(styleValue.getInt(VALUE_KEY)));
827
- }
828
- }
829
-
830
-
831
- public static void setFillOutlineColorTransition(FillLayer layer, RCTMLNStyleValue styleValue) {
832
- TransitionOptions transition = styleValue.getTransition();
833
- if (transition != null) {
834
- layer.setFillOutlineColorTransition(transition);
835
- }
836
- }
837
-
838
- public static void setFillTranslate(FillLayer layer, RCTMLNStyleValue styleValue) {
839
- if (styleValue.isExpression()) {
840
- layer.setProperties(PropertyFactory.fillTranslate(styleValue.getExpression()));
841
- } else {
842
- layer.setProperties(PropertyFactory.fillTranslate(styleValue.getFloatArray(VALUE_KEY)));
843
- }
844
- }
845
-
846
-
847
- public static void setFillTranslateTransition(FillLayer layer, RCTMLNStyleValue styleValue) {
848
- TransitionOptions transition = styleValue.getTransition();
849
- if (transition != null) {
850
- layer.setFillTranslateTransition(transition);
851
- }
852
- }
853
-
854
- public static void setFillTranslateAnchor(FillLayer layer, RCTMLNStyleValue styleValue) {
855
- if (styleValue.isExpression()) {
856
- layer.setProperties(PropertyFactory.fillTranslateAnchor(styleValue.getExpression()));
857
- } else {
858
- layer.setProperties(PropertyFactory.fillTranslateAnchor(styleValue.getString(VALUE_KEY)));
859
- }
860
- }
861
-
862
- public static void setFillPattern(FillLayer layer, RCTMLNStyleValue styleValue) {
863
- if (styleValue.isExpression()) {
864
- if (styleValue.isImageStringValue()) {
865
- layer.setProperties(PropertyFactory.fillPattern(styleValue.getImageStringValue()));
866
- } else {
867
- layer.setProperties(PropertyFactory.fillPattern(styleValue.getExpression()));
868
- }
869
- } else {
870
- layer.setProperties(PropertyFactory.fillPattern(styleValue.getImageURI()));
871
- }
872
- }
873
-
874
-
875
- public static void setFillPatternTransition(FillLayer layer, RCTMLNStyleValue styleValue) {
876
- TransitionOptions transition = styleValue.getTransition();
877
- if (transition != null) {
878
- layer.setFillPatternTransition(transition);
879
- }
880
- }
881
-
882
- public static void setLineCap(LineLayer layer, RCTMLNStyleValue styleValue) {
883
- if (styleValue.isExpression()) {
884
- layer.setProperties(PropertyFactory.lineCap(styleValue.getExpression()));
885
- } else {
886
- layer.setProperties(PropertyFactory.lineCap(styleValue.getString(VALUE_KEY)));
887
- }
888
- }
889
-
890
- public static void setLineJoin(LineLayer layer, RCTMLNStyleValue styleValue) {
891
- if (styleValue.isExpression()) {
892
- layer.setProperties(PropertyFactory.lineJoin(styleValue.getExpression()));
893
- } else {
894
- layer.setProperties(PropertyFactory.lineJoin(styleValue.getString(VALUE_KEY)));
895
- }
896
- }
897
-
898
- public static void setLineMiterLimit(LineLayer layer, RCTMLNStyleValue styleValue) {
899
- if (styleValue.isExpression()) {
900
- layer.setProperties(PropertyFactory.lineMiterLimit(styleValue.getExpression()));
901
- } else {
902
- layer.setProperties(PropertyFactory.lineMiterLimit(styleValue.getFloat(VALUE_KEY)));
903
- }
904
- }
905
-
906
- public static void setLineRoundLimit(LineLayer layer, RCTMLNStyleValue styleValue) {
907
- if (styleValue.isExpression()) {
908
- layer.setProperties(PropertyFactory.lineRoundLimit(styleValue.getExpression()));
909
- } else {
910
- layer.setProperties(PropertyFactory.lineRoundLimit(styleValue.getFloat(VALUE_KEY)));
911
- }
912
- }
913
-
914
- public static void setLineSortKey(LineLayer layer, RCTMLNStyleValue styleValue) {
915
- if (styleValue.isExpression()) {
916
- layer.setProperties(PropertyFactory.lineSortKey(styleValue.getExpression()));
917
- } else {
918
- layer.setProperties(PropertyFactory.lineSortKey(styleValue.getFloat(VALUE_KEY)));
919
- }
920
- }
921
-
922
- public static void setVisibility(LineLayer layer, RCTMLNStyleValue styleValue) {
923
- layer.setProperties(PropertyFactory.visibility(styleValue.getString(VALUE_KEY)));
924
- }
925
-
926
- public static void setLineOpacity(LineLayer layer, RCTMLNStyleValue styleValue) {
927
- if (styleValue.isExpression()) {
928
- layer.setProperties(PropertyFactory.lineOpacity(styleValue.getExpression()));
929
- } else {
930
- layer.setProperties(PropertyFactory.lineOpacity(styleValue.getFloat(VALUE_KEY)));
931
- }
932
- }
933
-
934
-
935
- public static void setLineOpacityTransition(LineLayer layer, RCTMLNStyleValue styleValue) {
936
- TransitionOptions transition = styleValue.getTransition();
937
- if (transition != null) {
938
- layer.setLineOpacityTransition(transition);
939
- }
940
- }
941
-
942
- public static void setLineColor(LineLayer layer, RCTMLNStyleValue styleValue) {
943
- if (styleValue.isExpression()) {
944
- layer.setProperties(PropertyFactory.lineColor(styleValue.getExpression()));
945
- } else {
946
- layer.setProperties(PropertyFactory.lineColor(styleValue.getInt(VALUE_KEY)));
947
- }
948
- }
949
-
950
-
951
- public static void setLineColorTransition(LineLayer layer, RCTMLNStyleValue styleValue) {
952
- TransitionOptions transition = styleValue.getTransition();
953
- if (transition != null) {
954
- layer.setLineColorTransition(transition);
955
- }
956
- }
957
-
958
- public static void setLineTranslate(LineLayer layer, RCTMLNStyleValue styleValue) {
959
- if (styleValue.isExpression()) {
960
- layer.setProperties(PropertyFactory.lineTranslate(styleValue.getExpression()));
961
- } else {
962
- layer.setProperties(PropertyFactory.lineTranslate(styleValue.getFloatArray(VALUE_KEY)));
963
- }
964
- }
965
-
966
-
967
- public static void setLineTranslateTransition(LineLayer layer, RCTMLNStyleValue styleValue) {
968
- TransitionOptions transition = styleValue.getTransition();
969
- if (transition != null) {
970
- layer.setLineTranslateTransition(transition);
971
- }
972
- }
973
-
974
- public static void setLineTranslateAnchor(LineLayer layer, RCTMLNStyleValue styleValue) {
975
- if (styleValue.isExpression()) {
976
- layer.setProperties(PropertyFactory.lineTranslateAnchor(styleValue.getExpression()));
977
- } else {
978
- layer.setProperties(PropertyFactory.lineTranslateAnchor(styleValue.getString(VALUE_KEY)));
979
- }
980
- }
981
-
982
- public static void setLineWidth(LineLayer layer, RCTMLNStyleValue styleValue) {
983
- if (styleValue.isExpression()) {
984
- layer.setProperties(PropertyFactory.lineWidth(styleValue.getExpression()));
985
- } else {
986
- layer.setProperties(PropertyFactory.lineWidth(styleValue.getFloat(VALUE_KEY)));
987
- }
988
- }
989
-
990
-
991
- public static void setLineWidthTransition(LineLayer layer, RCTMLNStyleValue styleValue) {
992
- TransitionOptions transition = styleValue.getTransition();
993
- if (transition != null) {
994
- layer.setLineWidthTransition(transition);
995
- }
996
- }
997
-
998
- public static void setLineGapWidth(LineLayer layer, RCTMLNStyleValue styleValue) {
999
- if (styleValue.isExpression()) {
1000
- layer.setProperties(PropertyFactory.lineGapWidth(styleValue.getExpression()));
1001
- } else {
1002
- layer.setProperties(PropertyFactory.lineGapWidth(styleValue.getFloat(VALUE_KEY)));
1003
- }
1004
- }
1005
-
1006
-
1007
- public static void setLineGapWidthTransition(LineLayer layer, RCTMLNStyleValue styleValue) {
1008
- TransitionOptions transition = styleValue.getTransition();
1009
- if (transition != null) {
1010
- layer.setLineGapWidthTransition(transition);
1011
- }
1012
- }
1013
-
1014
- public static void setLineOffset(LineLayer layer, RCTMLNStyleValue styleValue) {
1015
- if (styleValue.isExpression()) {
1016
- layer.setProperties(PropertyFactory.lineOffset(styleValue.getExpression()));
1017
- } else {
1018
- layer.setProperties(PropertyFactory.lineOffset(styleValue.getFloat(VALUE_KEY)));
1019
- }
1020
- }
1021
-
1022
-
1023
- public static void setLineOffsetTransition(LineLayer layer, RCTMLNStyleValue styleValue) {
1024
- TransitionOptions transition = styleValue.getTransition();
1025
- if (transition != null) {
1026
- layer.setLineOffsetTransition(transition);
1027
- }
1028
- }
1029
-
1030
- public static void setLineBlur(LineLayer layer, RCTMLNStyleValue styleValue) {
1031
- if (styleValue.isExpression()) {
1032
- layer.setProperties(PropertyFactory.lineBlur(styleValue.getExpression()));
1033
- } else {
1034
- layer.setProperties(PropertyFactory.lineBlur(styleValue.getFloat(VALUE_KEY)));
1035
- }
1036
- }
1037
-
1038
-
1039
- public static void setLineBlurTransition(LineLayer layer, RCTMLNStyleValue styleValue) {
1040
- TransitionOptions transition = styleValue.getTransition();
1041
- if (transition != null) {
1042
- layer.setLineBlurTransition(transition);
1043
- }
1044
- }
1045
-
1046
- public static void setLineDasharray(LineLayer layer, RCTMLNStyleValue styleValue) {
1047
- if (styleValue.isExpression()) {
1048
- layer.setProperties(PropertyFactory.lineDasharray(styleValue.getExpression()));
1049
- } else {
1050
- layer.setProperties(PropertyFactory.lineDasharray(styleValue.getFloatArray(VALUE_KEY)));
1051
- }
1052
- }
1053
-
1054
-
1055
- public static void setLineDasharrayTransition(LineLayer layer, RCTMLNStyleValue styleValue) {
1056
- TransitionOptions transition = styleValue.getTransition();
1057
- if (transition != null) {
1058
- layer.setLineDasharrayTransition(transition);
1059
- }
1060
- }
1061
-
1062
- public static void setLinePattern(LineLayer layer, RCTMLNStyleValue styleValue) {
1063
- if (styleValue.isExpression()) {
1064
- if (styleValue.isImageStringValue()) {
1065
- layer.setProperties(PropertyFactory.linePattern(styleValue.getImageStringValue()));
1066
- } else {
1067
- layer.setProperties(PropertyFactory.linePattern(styleValue.getExpression()));
1068
- }
1069
- } else {
1070
- layer.setProperties(PropertyFactory.linePattern(styleValue.getImageURI()));
1071
- }
1072
- }
1073
-
1074
-
1075
- public static void setLinePatternTransition(LineLayer layer, RCTMLNStyleValue styleValue) {
1076
- TransitionOptions transition = styleValue.getTransition();
1077
- if (transition != null) {
1078
- layer.setLinePatternTransition(transition);
1079
- }
1080
- }
1081
-
1082
- public static void setLineGradient(LineLayer layer, RCTMLNStyleValue styleValue) {
1083
- if (styleValue.isExpression()) {
1084
- layer.setProperties(PropertyFactory.lineGradient(styleValue.getExpression()));
1085
- } else {
1086
- layer.setProperties(PropertyFactory.lineGradient(styleValue.getInt(VALUE_KEY)));
1087
- }
1088
- }
1089
-
1090
- public static void setSymbolPlacement(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1091
- if (styleValue.isExpression()) {
1092
- layer.setProperties(PropertyFactory.symbolPlacement(styleValue.getExpression()));
1093
- } else {
1094
- layer.setProperties(PropertyFactory.symbolPlacement(styleValue.getString(VALUE_KEY)));
1095
- }
1096
- }
1097
-
1098
- public static void setSymbolSpacing(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1099
- if (styleValue.isExpression()) {
1100
- layer.setProperties(PropertyFactory.symbolSpacing(styleValue.getExpression()));
1101
- } else {
1102
- layer.setProperties(PropertyFactory.symbolSpacing(styleValue.getFloat(VALUE_KEY)));
1103
- }
1104
- }
1105
-
1106
- public static void setSymbolAvoidEdges(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1107
- if (styleValue.isExpression()) {
1108
- layer.setProperties(PropertyFactory.symbolAvoidEdges(styleValue.getExpression()));
1109
- } else {
1110
- layer.setProperties(PropertyFactory.symbolAvoidEdges(styleValue.getBoolean(VALUE_KEY)));
1111
- }
1112
- }
1113
-
1114
- public static void setSymbolSortKey(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1115
- if (styleValue.isExpression()) {
1116
- layer.setProperties(PropertyFactory.symbolSortKey(styleValue.getExpression()));
1117
- } else {
1118
- layer.setProperties(PropertyFactory.symbolSortKey(styleValue.getFloat(VALUE_KEY)));
1119
- }
1120
- }
1121
-
1122
- public static void setSymbolZOrder(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1123
- if (styleValue.isExpression()) {
1124
- layer.setProperties(PropertyFactory.symbolZOrder(styleValue.getExpression()));
1125
- } else {
1126
- layer.setProperties(PropertyFactory.symbolZOrder(styleValue.getString(VALUE_KEY)));
1127
- }
1128
- }
1129
-
1130
- public static void setIconAllowOverlap(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1131
- if (styleValue.isExpression()) {
1132
- layer.setProperties(PropertyFactory.iconAllowOverlap(styleValue.getExpression()));
1133
- } else {
1134
- layer.setProperties(PropertyFactory.iconAllowOverlap(styleValue.getBoolean(VALUE_KEY)));
1135
- }
1136
- }
1137
-
1138
- public static void setIconIgnorePlacement(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1139
- if (styleValue.isExpression()) {
1140
- layer.setProperties(PropertyFactory.iconIgnorePlacement(styleValue.getExpression()));
1141
- } else {
1142
- layer.setProperties(PropertyFactory.iconIgnorePlacement(styleValue.getBoolean(VALUE_KEY)));
1143
- }
1144
- }
1145
-
1146
- public static void setIconOptional(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1147
- if (styleValue.isExpression()) {
1148
- layer.setProperties(PropertyFactory.iconOptional(styleValue.getExpression()));
1149
- } else {
1150
- layer.setProperties(PropertyFactory.iconOptional(styleValue.getBoolean(VALUE_KEY)));
1151
- }
1152
- }
1153
-
1154
- public static void setIconRotationAlignment(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1155
- if (styleValue.isExpression()) {
1156
- layer.setProperties(PropertyFactory.iconRotationAlignment(styleValue.getExpression()));
1157
- } else {
1158
- layer.setProperties(PropertyFactory.iconRotationAlignment(styleValue.getString(VALUE_KEY)));
1159
- }
1160
- }
1161
-
1162
- public static void setIconSize(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1163
- if (styleValue.isExpression()) {
1164
- layer.setProperties(PropertyFactory.iconSize(styleValue.getExpression()));
1165
- } else {
1166
- layer.setProperties(PropertyFactory.iconSize(styleValue.getFloat(VALUE_KEY)));
1167
- }
1168
- }
1169
-
1170
- public static void setIconTextFit(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1171
- if (styleValue.isExpression()) {
1172
- layer.setProperties(PropertyFactory.iconTextFit(styleValue.getExpression()));
1173
- } else {
1174
- layer.setProperties(PropertyFactory.iconTextFit(styleValue.getString(VALUE_KEY)));
1175
- }
1176
- }
1177
-
1178
- public static void setIconTextFitPadding(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1179
- if (styleValue.isExpression()) {
1180
- layer.setProperties(PropertyFactory.iconTextFitPadding(styleValue.getExpression()));
1181
- } else {
1182
- layer.setProperties(PropertyFactory.iconTextFitPadding(styleValue.getFloatArray(VALUE_KEY)));
1183
- }
1184
- }
1185
-
1186
- public static void setIconImage(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1187
- if (styleValue.isExpression()) {
1188
- if (styleValue.isImageStringValue()) {
1189
- layer.setProperties(PropertyFactory.iconImage(styleValue.getImageStringValue()));
1190
- } else {
1191
- layer.setProperties(PropertyFactory.iconImage(styleValue.getExpression()));
1192
- }
1193
- } else {
1194
- layer.setProperties(PropertyFactory.iconImage(styleValue.getImageURI()));
1195
- }
1196
- }
1197
-
1198
- public static void setIconRotate(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1199
- if (styleValue.isExpression()) {
1200
- layer.setProperties(PropertyFactory.iconRotate(styleValue.getExpression()));
1201
- } else {
1202
- layer.setProperties(PropertyFactory.iconRotate(styleValue.getFloat(VALUE_KEY)));
1203
- }
1204
- }
1205
-
1206
- public static void setIconPadding(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1207
- if (styleValue.isExpression()) {
1208
- layer.setProperties(PropertyFactory.iconPadding(styleValue.getExpression()));
1209
- } else {
1210
- layer.setProperties(PropertyFactory.iconPadding(styleValue.getFloat(VALUE_KEY)));
1211
- }
1212
- }
1213
-
1214
- public static void setIconKeepUpright(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1215
- if (styleValue.isExpression()) {
1216
- layer.setProperties(PropertyFactory.iconKeepUpright(styleValue.getExpression()));
1217
- } else {
1218
- layer.setProperties(PropertyFactory.iconKeepUpright(styleValue.getBoolean(VALUE_KEY)));
1219
- }
1220
- }
1221
-
1222
- public static void setIconOffset(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1223
- if (styleValue.isExpression()) {
1224
- layer.setProperties(PropertyFactory.iconOffset(styleValue.getExpression()));
1225
- } else {
1226
- layer.setProperties(PropertyFactory.iconOffset(styleValue.getFloatArray(VALUE_KEY)));
1227
- }
1228
- }
1229
-
1230
- public static void setIconAnchor(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1231
- if (styleValue.isExpression()) {
1232
- layer.setProperties(PropertyFactory.iconAnchor(styleValue.getExpression()));
1233
- } else {
1234
- layer.setProperties(PropertyFactory.iconAnchor(styleValue.getString(VALUE_KEY)));
1235
- }
1236
- }
1237
-
1238
- public static void setIconPitchAlignment(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1239
- if (styleValue.isExpression()) {
1240
- layer.setProperties(PropertyFactory.iconPitchAlignment(styleValue.getExpression()));
1241
- } else {
1242
- layer.setProperties(PropertyFactory.iconPitchAlignment(styleValue.getString(VALUE_KEY)));
1243
- }
1244
- }
1245
-
1246
- public static void setTextPitchAlignment(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1247
- if (styleValue.isExpression()) {
1248
- layer.setProperties(PropertyFactory.textPitchAlignment(styleValue.getExpression()));
1249
- } else {
1250
- layer.setProperties(PropertyFactory.textPitchAlignment(styleValue.getString(VALUE_KEY)));
1251
- }
1252
- }
1253
-
1254
- public static void setTextRotationAlignment(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1255
- if (styleValue.isExpression()) {
1256
- layer.setProperties(PropertyFactory.textRotationAlignment(styleValue.getExpression()));
1257
- } else {
1258
- layer.setProperties(PropertyFactory.textRotationAlignment(styleValue.getString(VALUE_KEY)));
1259
- }
1260
- }
1261
-
1262
- public static void setTextField(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1263
- if (styleValue.isExpression()) {
1264
- layer.setProperties(PropertyFactory.textField(styleValue.getExpression()));
1265
- } else {
1266
- layer.setProperties(PropertyFactory.textField(styleValue.getString(VALUE_KEY)));
1267
- }
1268
- }
1269
-
1270
- public static void setTextFont(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1271
- if (styleValue.isExpression()) {
1272
- layer.setProperties(PropertyFactory.textFont(styleValue.getExpression()));
1273
- } else {
1274
- layer.setProperties(PropertyFactory.textFont(styleValue.getStringArray(VALUE_KEY)));
1275
- }
1276
- }
1277
-
1278
- public static void setTextSize(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1279
- if (styleValue.isExpression()) {
1280
- layer.setProperties(PropertyFactory.textSize(styleValue.getExpression()));
1281
- } else {
1282
- layer.setProperties(PropertyFactory.textSize(styleValue.getFloat(VALUE_KEY)));
1283
- }
1284
- }
1285
-
1286
- public static void setTextMaxWidth(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1287
- if (styleValue.isExpression()) {
1288
- layer.setProperties(PropertyFactory.textMaxWidth(styleValue.getExpression()));
1289
- } else {
1290
- layer.setProperties(PropertyFactory.textMaxWidth(styleValue.getFloat(VALUE_KEY)));
1291
- }
1292
- }
1293
-
1294
- public static void setTextLineHeight(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1295
- if (styleValue.isExpression()) {
1296
- layer.setProperties(PropertyFactory.textLineHeight(styleValue.getExpression()));
1297
- } else {
1298
- layer.setProperties(PropertyFactory.textLineHeight(styleValue.getFloat(VALUE_KEY)));
1299
- }
1300
- }
1301
-
1302
- public static void setTextLetterSpacing(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1303
- if (styleValue.isExpression()) {
1304
- layer.setProperties(PropertyFactory.textLetterSpacing(styleValue.getExpression()));
1305
- } else {
1306
- layer.setProperties(PropertyFactory.textLetterSpacing(styleValue.getFloat(VALUE_KEY)));
1307
- }
1308
- }
1309
-
1310
- public static void setTextJustify(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1311
- if (styleValue.isExpression()) {
1312
- layer.setProperties(PropertyFactory.textJustify(styleValue.getExpression()));
1313
- } else {
1314
- layer.setProperties(PropertyFactory.textJustify(styleValue.getString(VALUE_KEY)));
1315
- }
1316
- }
1317
-
1318
- public static void setTextRadialOffset(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1319
- if (styleValue.isExpression()) {
1320
- layer.setProperties(PropertyFactory.textRadialOffset(styleValue.getExpression()));
1321
- } else {
1322
- layer.setProperties(PropertyFactory.textRadialOffset(styleValue.getFloat(VALUE_KEY)));
1323
- }
1324
- }
1325
-
1326
- public static void setTextVariableAnchor(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1327
- if (styleValue.isExpression()) {
1328
- layer.setProperties(PropertyFactory.textVariableAnchor(styleValue.getExpression()));
1329
- } else {
1330
- layer.setProperties(PropertyFactory.textVariableAnchor(styleValue.getStringArray(VALUE_KEY)));
1331
- }
1332
- }
1333
-
1334
- public static void setTextAnchor(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1335
- if (styleValue.isExpression()) {
1336
- layer.setProperties(PropertyFactory.textAnchor(styleValue.getExpression()));
1337
- } else {
1338
- layer.setProperties(PropertyFactory.textAnchor(styleValue.getString(VALUE_KEY)));
1339
- }
1340
- }
1341
-
1342
- public static void setTextMaxAngle(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1343
- if (styleValue.isExpression()) {
1344
- layer.setProperties(PropertyFactory.textMaxAngle(styleValue.getExpression()));
1345
- } else {
1346
- layer.setProperties(PropertyFactory.textMaxAngle(styleValue.getFloat(VALUE_KEY)));
1347
- }
1348
- }
1349
-
1350
- public static void setTextWritingMode(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1351
- if (styleValue.isExpression()) {
1352
- layer.setProperties(PropertyFactory.textWritingMode(styleValue.getExpression()));
1353
- } else {
1354
- layer.setProperties(PropertyFactory.textWritingMode(styleValue.getStringArray(VALUE_KEY)));
1355
- }
1356
- }
1357
-
1358
- public static void setTextRotate(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1359
- if (styleValue.isExpression()) {
1360
- layer.setProperties(PropertyFactory.textRotate(styleValue.getExpression()));
1361
- } else {
1362
- layer.setProperties(PropertyFactory.textRotate(styleValue.getFloat(VALUE_KEY)));
1363
- }
1364
- }
1365
-
1366
- public static void setTextPadding(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1367
- if (styleValue.isExpression()) {
1368
- layer.setProperties(PropertyFactory.textPadding(styleValue.getExpression()));
1369
- } else {
1370
- layer.setProperties(PropertyFactory.textPadding(styleValue.getFloat(VALUE_KEY)));
1371
- }
1372
- }
1373
-
1374
- public static void setTextKeepUpright(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1375
- if (styleValue.isExpression()) {
1376
- layer.setProperties(PropertyFactory.textKeepUpright(styleValue.getExpression()));
1377
- } else {
1378
- layer.setProperties(PropertyFactory.textKeepUpright(styleValue.getBoolean(VALUE_KEY)));
1379
- }
1380
- }
1381
-
1382
- public static void setTextTransform(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1383
- if (styleValue.isExpression()) {
1384
- layer.setProperties(PropertyFactory.textTransform(styleValue.getExpression()));
1385
- } else {
1386
- layer.setProperties(PropertyFactory.textTransform(styleValue.getString(VALUE_KEY)));
1387
- }
1388
- }
1389
-
1390
- public static void setTextOffset(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1391
- if (styleValue.isExpression()) {
1392
- layer.setProperties(PropertyFactory.textOffset(styleValue.getExpression()));
1393
- } else {
1394
- layer.setProperties(PropertyFactory.textOffset(styleValue.getFloatArray(VALUE_KEY)));
1395
- }
1396
- }
1397
-
1398
- public static void setTextAllowOverlap(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1399
- if (styleValue.isExpression()) {
1400
- layer.setProperties(PropertyFactory.textAllowOverlap(styleValue.getExpression()));
1401
- } else {
1402
- layer.setProperties(PropertyFactory.textAllowOverlap(styleValue.getBoolean(VALUE_KEY)));
1403
- }
1404
- }
1405
-
1406
- public static void setTextIgnorePlacement(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1407
- if (styleValue.isExpression()) {
1408
- layer.setProperties(PropertyFactory.textIgnorePlacement(styleValue.getExpression()));
1409
- } else {
1410
- layer.setProperties(PropertyFactory.textIgnorePlacement(styleValue.getBoolean(VALUE_KEY)));
1411
- }
1412
- }
1413
-
1414
- public static void setTextOptional(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1415
- if (styleValue.isExpression()) {
1416
- layer.setProperties(PropertyFactory.textOptional(styleValue.getExpression()));
1417
- } else {
1418
- layer.setProperties(PropertyFactory.textOptional(styleValue.getBoolean(VALUE_KEY)));
1419
- }
1420
- }
1421
-
1422
- public static void setVisibility(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1423
- layer.setProperties(PropertyFactory.visibility(styleValue.getString(VALUE_KEY)));
1424
- }
1425
-
1426
- public static void setIconOpacity(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1427
- if (styleValue.isExpression()) {
1428
- layer.setProperties(PropertyFactory.iconOpacity(styleValue.getExpression()));
1429
- } else {
1430
- layer.setProperties(PropertyFactory.iconOpacity(styleValue.getFloat(VALUE_KEY)));
1431
- }
1432
- }
1433
-
1434
-
1435
- public static void setIconOpacityTransition(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1436
- TransitionOptions transition = styleValue.getTransition();
1437
- if (transition != null) {
1438
- layer.setIconOpacityTransition(transition);
1439
- }
1440
- }
1441
-
1442
- public static void setIconColor(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1443
- if (styleValue.isExpression()) {
1444
- layer.setProperties(PropertyFactory.iconColor(styleValue.getExpression()));
1445
- } else {
1446
- layer.setProperties(PropertyFactory.iconColor(styleValue.getInt(VALUE_KEY)));
1447
- }
1448
- }
1449
-
1450
-
1451
- public static void setIconColorTransition(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1452
- TransitionOptions transition = styleValue.getTransition();
1453
- if (transition != null) {
1454
- layer.setIconColorTransition(transition);
1455
- }
1456
- }
1457
-
1458
- public static void setIconHaloColor(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1459
- if (styleValue.isExpression()) {
1460
- layer.setProperties(PropertyFactory.iconHaloColor(styleValue.getExpression()));
1461
- } else {
1462
- layer.setProperties(PropertyFactory.iconHaloColor(styleValue.getInt(VALUE_KEY)));
1463
- }
1464
- }
1465
-
1466
-
1467
- public static void setIconHaloColorTransition(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1468
- TransitionOptions transition = styleValue.getTransition();
1469
- if (transition != null) {
1470
- layer.setIconHaloColorTransition(transition);
1471
- }
1472
- }
1473
-
1474
- public static void setIconHaloWidth(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1475
- if (styleValue.isExpression()) {
1476
- layer.setProperties(PropertyFactory.iconHaloWidth(styleValue.getExpression()));
1477
- } else {
1478
- layer.setProperties(PropertyFactory.iconHaloWidth(styleValue.getFloat(VALUE_KEY)));
1479
- }
1480
- }
1481
-
1482
-
1483
- public static void setIconHaloWidthTransition(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1484
- TransitionOptions transition = styleValue.getTransition();
1485
- if (transition != null) {
1486
- layer.setIconHaloWidthTransition(transition);
1487
- }
1488
- }
1489
-
1490
- public static void setIconHaloBlur(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1491
- if (styleValue.isExpression()) {
1492
- layer.setProperties(PropertyFactory.iconHaloBlur(styleValue.getExpression()));
1493
- } else {
1494
- layer.setProperties(PropertyFactory.iconHaloBlur(styleValue.getFloat(VALUE_KEY)));
1495
- }
1496
- }
1497
-
1498
-
1499
- public static void setIconHaloBlurTransition(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1500
- TransitionOptions transition = styleValue.getTransition();
1501
- if (transition != null) {
1502
- layer.setIconHaloBlurTransition(transition);
1503
- }
1504
- }
1505
-
1506
- public static void setIconTranslate(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1507
- if (styleValue.isExpression()) {
1508
- layer.setProperties(PropertyFactory.iconTranslate(styleValue.getExpression()));
1509
- } else {
1510
- layer.setProperties(PropertyFactory.iconTranslate(styleValue.getFloatArray(VALUE_KEY)));
1511
- }
1512
- }
1513
-
1514
-
1515
- public static void setIconTranslateTransition(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1516
- TransitionOptions transition = styleValue.getTransition();
1517
- if (transition != null) {
1518
- layer.setIconTranslateTransition(transition);
1519
- }
1520
- }
1521
-
1522
- public static void setIconTranslateAnchor(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1523
- if (styleValue.isExpression()) {
1524
- layer.setProperties(PropertyFactory.iconTranslateAnchor(styleValue.getExpression()));
1525
- } else {
1526
- layer.setProperties(PropertyFactory.iconTranslateAnchor(styleValue.getString(VALUE_KEY)));
1527
- }
1528
- }
1529
-
1530
- public static void setTextOpacity(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1531
- if (styleValue.isExpression()) {
1532
- layer.setProperties(PropertyFactory.textOpacity(styleValue.getExpression()));
1533
- } else {
1534
- layer.setProperties(PropertyFactory.textOpacity(styleValue.getFloat(VALUE_KEY)));
1535
- }
1536
- }
1537
-
1538
-
1539
- public static void setTextOpacityTransition(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1540
- TransitionOptions transition = styleValue.getTransition();
1541
- if (transition != null) {
1542
- layer.setTextOpacityTransition(transition);
1543
- }
1544
- }
1545
-
1546
- public static void setTextColor(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1547
- if (styleValue.isExpression()) {
1548
- layer.setProperties(PropertyFactory.textColor(styleValue.getExpression()));
1549
- } else {
1550
- layer.setProperties(PropertyFactory.textColor(styleValue.getInt(VALUE_KEY)));
1551
- }
1552
- }
1553
-
1554
-
1555
- public static void setTextColorTransition(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1556
- TransitionOptions transition = styleValue.getTransition();
1557
- if (transition != null) {
1558
- layer.setTextColorTransition(transition);
1559
- }
1560
- }
1561
-
1562
- public static void setTextHaloColor(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1563
- if (styleValue.isExpression()) {
1564
- layer.setProperties(PropertyFactory.textHaloColor(styleValue.getExpression()));
1565
- } else {
1566
- layer.setProperties(PropertyFactory.textHaloColor(styleValue.getInt(VALUE_KEY)));
1567
- }
1568
- }
1569
-
1570
-
1571
- public static void setTextHaloColorTransition(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1572
- TransitionOptions transition = styleValue.getTransition();
1573
- if (transition != null) {
1574
- layer.setTextHaloColorTransition(transition);
1575
- }
1576
- }
1577
-
1578
- public static void setTextHaloWidth(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1579
- if (styleValue.isExpression()) {
1580
- layer.setProperties(PropertyFactory.textHaloWidth(styleValue.getExpression()));
1581
- } else {
1582
- layer.setProperties(PropertyFactory.textHaloWidth(styleValue.getFloat(VALUE_KEY)));
1583
- }
1584
- }
1585
-
1586
-
1587
- public static void setTextHaloWidthTransition(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1588
- TransitionOptions transition = styleValue.getTransition();
1589
- if (transition != null) {
1590
- layer.setTextHaloWidthTransition(transition);
1591
- }
1592
- }
1593
-
1594
- public static void setTextHaloBlur(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1595
- if (styleValue.isExpression()) {
1596
- layer.setProperties(PropertyFactory.textHaloBlur(styleValue.getExpression()));
1597
- } else {
1598
- layer.setProperties(PropertyFactory.textHaloBlur(styleValue.getFloat(VALUE_KEY)));
1599
- }
1600
- }
1601
-
1602
-
1603
- public static void setTextHaloBlurTransition(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1604
- TransitionOptions transition = styleValue.getTransition();
1605
- if (transition != null) {
1606
- layer.setTextHaloBlurTransition(transition);
1607
- }
1608
- }
1609
-
1610
- public static void setTextTranslate(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1611
- if (styleValue.isExpression()) {
1612
- layer.setProperties(PropertyFactory.textTranslate(styleValue.getExpression()));
1613
- } else {
1614
- layer.setProperties(PropertyFactory.textTranslate(styleValue.getFloatArray(VALUE_KEY)));
1615
- }
1616
- }
1617
-
1618
-
1619
- public static void setTextTranslateTransition(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1620
- TransitionOptions transition = styleValue.getTransition();
1621
- if (transition != null) {
1622
- layer.setTextTranslateTransition(transition);
1623
- }
1624
- }
1625
-
1626
- public static void setTextTranslateAnchor(SymbolLayer layer, RCTMLNStyleValue styleValue) {
1627
- if (styleValue.isExpression()) {
1628
- layer.setProperties(PropertyFactory.textTranslateAnchor(styleValue.getExpression()));
1629
- } else {
1630
- layer.setProperties(PropertyFactory.textTranslateAnchor(styleValue.getString(VALUE_KEY)));
1631
- }
1632
- }
1633
-
1634
- public static void setCircleSortKey(CircleLayer layer, RCTMLNStyleValue styleValue) {
1635
- if (styleValue.isExpression()) {
1636
- layer.setProperties(PropertyFactory.circleSortKey(styleValue.getExpression()));
1637
- } else {
1638
- layer.setProperties(PropertyFactory.circleSortKey(styleValue.getFloat(VALUE_KEY)));
1639
- }
1640
- }
1641
-
1642
- public static void setVisibility(CircleLayer layer, RCTMLNStyleValue styleValue) {
1643
- layer.setProperties(PropertyFactory.visibility(styleValue.getString(VALUE_KEY)));
1644
- }
1645
-
1646
- public static void setCircleRadius(CircleLayer layer, RCTMLNStyleValue styleValue) {
1647
- if (styleValue.isExpression()) {
1648
- layer.setProperties(PropertyFactory.circleRadius(styleValue.getExpression()));
1649
- } else {
1650
- layer.setProperties(PropertyFactory.circleRadius(styleValue.getFloat(VALUE_KEY)));
1651
- }
1652
- }
1653
-
1654
-
1655
- public static void setCircleRadiusTransition(CircleLayer layer, RCTMLNStyleValue styleValue) {
1656
- TransitionOptions transition = styleValue.getTransition();
1657
- if (transition != null) {
1658
- layer.setCircleRadiusTransition(transition);
1659
- }
1660
- }
1661
-
1662
- public static void setCircleColor(CircleLayer layer, RCTMLNStyleValue styleValue) {
1663
- if (styleValue.isExpression()) {
1664
- layer.setProperties(PropertyFactory.circleColor(styleValue.getExpression()));
1665
- } else {
1666
- layer.setProperties(PropertyFactory.circleColor(styleValue.getInt(VALUE_KEY)));
1667
- }
1668
- }
1669
-
1670
-
1671
- public static void setCircleColorTransition(CircleLayer layer, RCTMLNStyleValue styleValue) {
1672
- TransitionOptions transition = styleValue.getTransition();
1673
- if (transition != null) {
1674
- layer.setCircleColorTransition(transition);
1675
- }
1676
- }
1677
-
1678
- public static void setCircleBlur(CircleLayer layer, RCTMLNStyleValue styleValue) {
1679
- if (styleValue.isExpression()) {
1680
- layer.setProperties(PropertyFactory.circleBlur(styleValue.getExpression()));
1681
- } else {
1682
- layer.setProperties(PropertyFactory.circleBlur(styleValue.getFloat(VALUE_KEY)));
1683
- }
1684
- }
1685
-
1686
-
1687
- public static void setCircleBlurTransition(CircleLayer layer, RCTMLNStyleValue styleValue) {
1688
- TransitionOptions transition = styleValue.getTransition();
1689
- if (transition != null) {
1690
- layer.setCircleBlurTransition(transition);
1691
- }
1692
- }
1693
-
1694
- public static void setCircleOpacity(CircleLayer layer, RCTMLNStyleValue styleValue) {
1695
- if (styleValue.isExpression()) {
1696
- layer.setProperties(PropertyFactory.circleOpacity(styleValue.getExpression()));
1697
- } else {
1698
- layer.setProperties(PropertyFactory.circleOpacity(styleValue.getFloat(VALUE_KEY)));
1699
- }
1700
- }
1701
-
1702
-
1703
- public static void setCircleOpacityTransition(CircleLayer layer, RCTMLNStyleValue styleValue) {
1704
- TransitionOptions transition = styleValue.getTransition();
1705
- if (transition != null) {
1706
- layer.setCircleOpacityTransition(transition);
1707
- }
1708
- }
1709
-
1710
- public static void setCircleTranslate(CircleLayer layer, RCTMLNStyleValue styleValue) {
1711
- if (styleValue.isExpression()) {
1712
- layer.setProperties(PropertyFactory.circleTranslate(styleValue.getExpression()));
1713
- } else {
1714
- layer.setProperties(PropertyFactory.circleTranslate(styleValue.getFloatArray(VALUE_KEY)));
1715
- }
1716
- }
1717
-
1718
-
1719
- public static void setCircleTranslateTransition(CircleLayer layer, RCTMLNStyleValue styleValue) {
1720
- TransitionOptions transition = styleValue.getTransition();
1721
- if (transition != null) {
1722
- layer.setCircleTranslateTransition(transition);
1723
- }
1724
- }
1725
-
1726
- public static void setCircleTranslateAnchor(CircleLayer layer, RCTMLNStyleValue styleValue) {
1727
- if (styleValue.isExpression()) {
1728
- layer.setProperties(PropertyFactory.circleTranslateAnchor(styleValue.getExpression()));
1729
- } else {
1730
- layer.setProperties(PropertyFactory.circleTranslateAnchor(styleValue.getString(VALUE_KEY)));
1731
- }
1732
- }
1733
-
1734
- public static void setCirclePitchScale(CircleLayer layer, RCTMLNStyleValue styleValue) {
1735
- if (styleValue.isExpression()) {
1736
- layer.setProperties(PropertyFactory.circlePitchScale(styleValue.getExpression()));
1737
- } else {
1738
- layer.setProperties(PropertyFactory.circlePitchScale(styleValue.getString(VALUE_KEY)));
1739
- }
1740
- }
1741
-
1742
- public static void setCirclePitchAlignment(CircleLayer layer, RCTMLNStyleValue styleValue) {
1743
- if (styleValue.isExpression()) {
1744
- layer.setProperties(PropertyFactory.circlePitchAlignment(styleValue.getExpression()));
1745
- } else {
1746
- layer.setProperties(PropertyFactory.circlePitchAlignment(styleValue.getString(VALUE_KEY)));
1747
- }
1748
- }
1749
-
1750
- public static void setCircleStrokeWidth(CircleLayer layer, RCTMLNStyleValue styleValue) {
1751
- if (styleValue.isExpression()) {
1752
- layer.setProperties(PropertyFactory.circleStrokeWidth(styleValue.getExpression()));
1753
- } else {
1754
- layer.setProperties(PropertyFactory.circleStrokeWidth(styleValue.getFloat(VALUE_KEY)));
1755
- }
1756
- }
1757
-
1758
-
1759
- public static void setCircleStrokeWidthTransition(CircleLayer layer, RCTMLNStyleValue styleValue) {
1760
- TransitionOptions transition = styleValue.getTransition();
1761
- if (transition != null) {
1762
- layer.setCircleStrokeWidthTransition(transition);
1763
- }
1764
- }
1765
-
1766
- public static void setCircleStrokeColor(CircleLayer layer, RCTMLNStyleValue styleValue) {
1767
- if (styleValue.isExpression()) {
1768
- layer.setProperties(PropertyFactory.circleStrokeColor(styleValue.getExpression()));
1769
- } else {
1770
- layer.setProperties(PropertyFactory.circleStrokeColor(styleValue.getInt(VALUE_KEY)));
1771
- }
1772
- }
1773
-
1774
-
1775
- public static void setCircleStrokeColorTransition(CircleLayer layer, RCTMLNStyleValue styleValue) {
1776
- TransitionOptions transition = styleValue.getTransition();
1777
- if (transition != null) {
1778
- layer.setCircleStrokeColorTransition(transition);
1779
- }
1780
- }
1781
-
1782
- public static void setCircleStrokeOpacity(CircleLayer layer, RCTMLNStyleValue styleValue) {
1783
- if (styleValue.isExpression()) {
1784
- layer.setProperties(PropertyFactory.circleStrokeOpacity(styleValue.getExpression()));
1785
- } else {
1786
- layer.setProperties(PropertyFactory.circleStrokeOpacity(styleValue.getFloat(VALUE_KEY)));
1787
- }
1788
- }
1789
-
1790
-
1791
- public static void setCircleStrokeOpacityTransition(CircleLayer layer, RCTMLNStyleValue styleValue) {
1792
- TransitionOptions transition = styleValue.getTransition();
1793
- if (transition != null) {
1794
- layer.setCircleStrokeOpacityTransition(transition);
1795
- }
1796
- }
1797
-
1798
- public static void setVisibility(HeatmapLayer layer, RCTMLNStyleValue styleValue) {
1799
- layer.setProperties(PropertyFactory.visibility(styleValue.getString(VALUE_KEY)));
1800
- }
1801
-
1802
- public static void setHeatmapRadius(HeatmapLayer layer, RCTMLNStyleValue styleValue) {
1803
- if (styleValue.isExpression()) {
1804
- layer.setProperties(PropertyFactory.heatmapRadius(styleValue.getExpression()));
1805
- } else {
1806
- layer.setProperties(PropertyFactory.heatmapRadius(styleValue.getFloat(VALUE_KEY)));
1807
- }
1808
- }
1809
-
1810
-
1811
- public static void setHeatmapRadiusTransition(HeatmapLayer layer, RCTMLNStyleValue styleValue) {
1812
- TransitionOptions transition = styleValue.getTransition();
1813
- if (transition != null) {
1814
- layer.setHeatmapRadiusTransition(transition);
1815
- }
1816
- }
1817
-
1818
- public static void setHeatmapWeight(HeatmapLayer layer, RCTMLNStyleValue styleValue) {
1819
- if (styleValue.isExpression()) {
1820
- layer.setProperties(PropertyFactory.heatmapWeight(styleValue.getExpression()));
1821
- } else {
1822
- layer.setProperties(PropertyFactory.heatmapWeight(styleValue.getFloat(VALUE_KEY)));
1823
- }
1824
- }
1825
-
1826
- public static void setHeatmapIntensity(HeatmapLayer layer, RCTMLNStyleValue styleValue) {
1827
- if (styleValue.isExpression()) {
1828
- layer.setProperties(PropertyFactory.heatmapIntensity(styleValue.getExpression()));
1829
- } else {
1830
- layer.setProperties(PropertyFactory.heatmapIntensity(styleValue.getFloat(VALUE_KEY)));
1831
- }
1832
- }
1833
-
1834
-
1835
- public static void setHeatmapIntensityTransition(HeatmapLayer layer, RCTMLNStyleValue styleValue) {
1836
- TransitionOptions transition = styleValue.getTransition();
1837
- if (transition != null) {
1838
- layer.setHeatmapIntensityTransition(transition);
1839
- }
1840
- }
1841
-
1842
- public static void setHeatmapColor(HeatmapLayer layer, RCTMLNStyleValue styleValue) {
1843
- if (styleValue.isExpression()) {
1844
- layer.setProperties(PropertyFactory.heatmapColor(styleValue.getExpression()));
1845
- } else {
1846
- layer.setProperties(PropertyFactory.heatmapColor(styleValue.getInt(VALUE_KEY)));
1847
- }
1848
- }
1849
-
1850
- public static void setHeatmapOpacity(HeatmapLayer layer, RCTMLNStyleValue styleValue) {
1851
- if (styleValue.isExpression()) {
1852
- layer.setProperties(PropertyFactory.heatmapOpacity(styleValue.getExpression()));
1853
- } else {
1854
- layer.setProperties(PropertyFactory.heatmapOpacity(styleValue.getFloat(VALUE_KEY)));
1855
- }
1856
- }
1857
-
1858
-
1859
- public static void setHeatmapOpacityTransition(HeatmapLayer layer, RCTMLNStyleValue styleValue) {
1860
- TransitionOptions transition = styleValue.getTransition();
1861
- if (transition != null) {
1862
- layer.setHeatmapOpacityTransition(transition);
1863
- }
1864
- }
1865
-
1866
- public static void setVisibility(FillExtrusionLayer layer, RCTMLNStyleValue styleValue) {
1867
- layer.setProperties(PropertyFactory.visibility(styleValue.getString(VALUE_KEY)));
1868
- }
1869
-
1870
- public static void setFillExtrusionOpacity(FillExtrusionLayer layer, RCTMLNStyleValue styleValue) {
1871
- if (styleValue.isExpression()) {
1872
- layer.setProperties(PropertyFactory.fillExtrusionOpacity(styleValue.getExpression()));
1873
- } else {
1874
- layer.setProperties(PropertyFactory.fillExtrusionOpacity(styleValue.getFloat(VALUE_KEY)));
1875
- }
1876
- }
1877
-
1878
-
1879
- public static void setFillExtrusionOpacityTransition(FillExtrusionLayer layer, RCTMLNStyleValue styleValue) {
1880
- TransitionOptions transition = styleValue.getTransition();
1881
- if (transition != null) {
1882
- layer.setFillExtrusionOpacityTransition(transition);
1883
- }
1884
- }
1885
-
1886
- public static void setFillExtrusionColor(FillExtrusionLayer layer, RCTMLNStyleValue styleValue) {
1887
- if (styleValue.isExpression()) {
1888
- layer.setProperties(PropertyFactory.fillExtrusionColor(styleValue.getExpression()));
1889
- } else {
1890
- layer.setProperties(PropertyFactory.fillExtrusionColor(styleValue.getInt(VALUE_KEY)));
1891
- }
1892
- }
1893
-
1894
-
1895
- public static void setFillExtrusionColorTransition(FillExtrusionLayer layer, RCTMLNStyleValue styleValue) {
1896
- TransitionOptions transition = styleValue.getTransition();
1897
- if (transition != null) {
1898
- layer.setFillExtrusionColorTransition(transition);
1899
- }
1900
- }
1901
-
1902
- public static void setFillExtrusionTranslate(FillExtrusionLayer layer, RCTMLNStyleValue styleValue) {
1903
- if (styleValue.isExpression()) {
1904
- layer.setProperties(PropertyFactory.fillExtrusionTranslate(styleValue.getExpression()));
1905
- } else {
1906
- layer.setProperties(PropertyFactory.fillExtrusionTranslate(styleValue.getFloatArray(VALUE_KEY)));
1907
- }
1908
- }
1909
-
1910
-
1911
- public static void setFillExtrusionTranslateTransition(FillExtrusionLayer layer, RCTMLNStyleValue styleValue) {
1912
- TransitionOptions transition = styleValue.getTransition();
1913
- if (transition != null) {
1914
- layer.setFillExtrusionTranslateTransition(transition);
1915
- }
1916
- }
1917
-
1918
- public static void setFillExtrusionTranslateAnchor(FillExtrusionLayer layer, RCTMLNStyleValue styleValue) {
1919
- if (styleValue.isExpression()) {
1920
- layer.setProperties(PropertyFactory.fillExtrusionTranslateAnchor(styleValue.getExpression()));
1921
- } else {
1922
- layer.setProperties(PropertyFactory.fillExtrusionTranslateAnchor(styleValue.getString(VALUE_KEY)));
1923
- }
1924
- }
1925
-
1926
- public static void setFillExtrusionPattern(FillExtrusionLayer layer, RCTMLNStyleValue styleValue) {
1927
- if (styleValue.isExpression()) {
1928
- if (styleValue.isImageStringValue()) {
1929
- layer.setProperties(PropertyFactory.fillExtrusionPattern(styleValue.getImageStringValue()));
1930
- } else {
1931
- layer.setProperties(PropertyFactory.fillExtrusionPattern(styleValue.getExpression()));
1932
- }
1933
- } else {
1934
- layer.setProperties(PropertyFactory.fillExtrusionPattern(styleValue.getImageURI()));
1935
- }
1936
- }
1937
-
1938
-
1939
- public static void setFillExtrusionPatternTransition(FillExtrusionLayer layer, RCTMLNStyleValue styleValue) {
1940
- TransitionOptions transition = styleValue.getTransition();
1941
- if (transition != null) {
1942
- layer.setFillExtrusionPatternTransition(transition);
1943
- }
1944
- }
1945
-
1946
- public static void setFillExtrusionHeight(FillExtrusionLayer layer, RCTMLNStyleValue styleValue) {
1947
- if (styleValue.isExpression()) {
1948
- layer.setProperties(PropertyFactory.fillExtrusionHeight(styleValue.getExpression()));
1949
- } else {
1950
- layer.setProperties(PropertyFactory.fillExtrusionHeight(styleValue.getFloat(VALUE_KEY)));
1951
- }
1952
- }
1953
-
1954
-
1955
- public static void setFillExtrusionHeightTransition(FillExtrusionLayer layer, RCTMLNStyleValue styleValue) {
1956
- TransitionOptions transition = styleValue.getTransition();
1957
- if (transition != null) {
1958
- layer.setFillExtrusionHeightTransition(transition);
1959
- }
1960
- }
1961
-
1962
- public static void setFillExtrusionBase(FillExtrusionLayer layer, RCTMLNStyleValue styleValue) {
1963
- if (styleValue.isExpression()) {
1964
- layer.setProperties(PropertyFactory.fillExtrusionBase(styleValue.getExpression()));
1965
- } else {
1966
- layer.setProperties(PropertyFactory.fillExtrusionBase(styleValue.getFloat(VALUE_KEY)));
1967
- }
1968
- }
1969
-
1970
-
1971
- public static void setFillExtrusionBaseTransition(FillExtrusionLayer layer, RCTMLNStyleValue styleValue) {
1972
- TransitionOptions transition = styleValue.getTransition();
1973
- if (transition != null) {
1974
- layer.setFillExtrusionBaseTransition(transition);
1975
- }
1976
- }
1977
-
1978
- public static void setVisibility(RasterLayer layer, RCTMLNStyleValue styleValue) {
1979
- layer.setProperties(PropertyFactory.visibility(styleValue.getString(VALUE_KEY)));
1980
- }
1981
-
1982
- public static void setRasterOpacity(RasterLayer layer, RCTMLNStyleValue styleValue) {
1983
- if (styleValue.isExpression()) {
1984
- layer.setProperties(PropertyFactory.rasterOpacity(styleValue.getExpression()));
1985
- } else {
1986
- layer.setProperties(PropertyFactory.rasterOpacity(styleValue.getFloat(VALUE_KEY)));
1987
- }
1988
- }
1989
-
1990
-
1991
- public static void setRasterOpacityTransition(RasterLayer layer, RCTMLNStyleValue styleValue) {
1992
- TransitionOptions transition = styleValue.getTransition();
1993
- if (transition != null) {
1994
- layer.setRasterOpacityTransition(transition);
1995
- }
1996
- }
1997
-
1998
- public static void setRasterHueRotate(RasterLayer layer, RCTMLNStyleValue styleValue) {
1999
- if (styleValue.isExpression()) {
2000
- layer.setProperties(PropertyFactory.rasterHueRotate(styleValue.getExpression()));
2001
- } else {
2002
- layer.setProperties(PropertyFactory.rasterHueRotate(styleValue.getFloat(VALUE_KEY)));
2003
- }
2004
- }
2005
-
2006
-
2007
- public static void setRasterHueRotateTransition(RasterLayer layer, RCTMLNStyleValue styleValue) {
2008
- TransitionOptions transition = styleValue.getTransition();
2009
- if (transition != null) {
2010
- layer.setRasterHueRotateTransition(transition);
2011
- }
2012
- }
2013
-
2014
- public static void setRasterBrightnessMin(RasterLayer layer, RCTMLNStyleValue styleValue) {
2015
- if (styleValue.isExpression()) {
2016
- layer.setProperties(PropertyFactory.rasterBrightnessMin(styleValue.getExpression()));
2017
- } else {
2018
- layer.setProperties(PropertyFactory.rasterBrightnessMin(styleValue.getFloat(VALUE_KEY)));
2019
- }
2020
- }
2021
-
2022
-
2023
- public static void setRasterBrightnessMinTransition(RasterLayer layer, RCTMLNStyleValue styleValue) {
2024
- TransitionOptions transition = styleValue.getTransition();
2025
- if (transition != null) {
2026
- layer.setRasterBrightnessMinTransition(transition);
2027
- }
2028
- }
2029
-
2030
- public static void setRasterBrightnessMax(RasterLayer layer, RCTMLNStyleValue styleValue) {
2031
- if (styleValue.isExpression()) {
2032
- layer.setProperties(PropertyFactory.rasterBrightnessMax(styleValue.getExpression()));
2033
- } else {
2034
- layer.setProperties(PropertyFactory.rasterBrightnessMax(styleValue.getFloat(VALUE_KEY)));
2035
- }
2036
- }
2037
-
2038
-
2039
- public static void setRasterBrightnessMaxTransition(RasterLayer layer, RCTMLNStyleValue styleValue) {
2040
- TransitionOptions transition = styleValue.getTransition();
2041
- if (transition != null) {
2042
- layer.setRasterBrightnessMaxTransition(transition);
2043
- }
2044
- }
2045
-
2046
- public static void setRasterSaturation(RasterLayer layer, RCTMLNStyleValue styleValue) {
2047
- if (styleValue.isExpression()) {
2048
- layer.setProperties(PropertyFactory.rasterSaturation(styleValue.getExpression()));
2049
- } else {
2050
- layer.setProperties(PropertyFactory.rasterSaturation(styleValue.getFloat(VALUE_KEY)));
2051
- }
2052
- }
2053
-
2054
-
2055
- public static void setRasterSaturationTransition(RasterLayer layer, RCTMLNStyleValue styleValue) {
2056
- TransitionOptions transition = styleValue.getTransition();
2057
- if (transition != null) {
2058
- layer.setRasterSaturationTransition(transition);
2059
- }
2060
- }
2061
-
2062
- public static void setRasterContrast(RasterLayer layer, RCTMLNStyleValue styleValue) {
2063
- if (styleValue.isExpression()) {
2064
- layer.setProperties(PropertyFactory.rasterContrast(styleValue.getExpression()));
2065
- } else {
2066
- layer.setProperties(PropertyFactory.rasterContrast(styleValue.getFloat(VALUE_KEY)));
2067
- }
2068
- }
2069
-
2070
-
2071
- public static void setRasterContrastTransition(RasterLayer layer, RCTMLNStyleValue styleValue) {
2072
- TransitionOptions transition = styleValue.getTransition();
2073
- if (transition != null) {
2074
- layer.setRasterContrastTransition(transition);
2075
- }
2076
- }
2077
-
2078
- public static void setRasterResampling(RasterLayer layer, RCTMLNStyleValue styleValue) {
2079
- if (styleValue.isExpression()) {
2080
- layer.setProperties(PropertyFactory.rasterResampling(styleValue.getExpression()));
2081
- } else {
2082
- layer.setProperties(PropertyFactory.rasterResampling(styleValue.getString(VALUE_KEY)));
2083
- }
2084
- }
2085
-
2086
- public static void setRasterFadeDuration(RasterLayer layer, RCTMLNStyleValue styleValue) {
2087
- if (styleValue.isExpression()) {
2088
- layer.setProperties(PropertyFactory.rasterFadeDuration(styleValue.getExpression()));
2089
- } else {
2090
- layer.setProperties(PropertyFactory.rasterFadeDuration(styleValue.getFloat(VALUE_KEY)));
2091
- }
2092
- }
2093
-
2094
- public static void setVisibility(HillshadeLayer layer, RCTMLNStyleValue styleValue) {
2095
- layer.setProperties(PropertyFactory.visibility(styleValue.getString(VALUE_KEY)));
2096
- }
2097
-
2098
- public static void setHillshadeIlluminationDirection(HillshadeLayer layer, RCTMLNStyleValue styleValue) {
2099
- if (styleValue.isExpression()) {
2100
- layer.setProperties(PropertyFactory.hillshadeIlluminationDirection(styleValue.getExpression()));
2101
- } else {
2102
- layer.setProperties(PropertyFactory.hillshadeIlluminationDirection(styleValue.getFloat(VALUE_KEY)));
2103
- }
2104
- }
2105
-
2106
- public static void setHillshadeIlluminationAnchor(HillshadeLayer layer, RCTMLNStyleValue styleValue) {
2107
- if (styleValue.isExpression()) {
2108
- layer.setProperties(PropertyFactory.hillshadeIlluminationAnchor(styleValue.getExpression()));
2109
- } else {
2110
- layer.setProperties(PropertyFactory.hillshadeIlluminationAnchor(styleValue.getString(VALUE_KEY)));
2111
- }
2112
- }
2113
-
2114
- public static void setHillshadeExaggeration(HillshadeLayer layer, RCTMLNStyleValue styleValue) {
2115
- if (styleValue.isExpression()) {
2116
- layer.setProperties(PropertyFactory.hillshadeExaggeration(styleValue.getExpression()));
2117
- } else {
2118
- layer.setProperties(PropertyFactory.hillshadeExaggeration(styleValue.getFloat(VALUE_KEY)));
2119
- }
2120
- }
2121
-
2122
-
2123
- public static void setHillshadeExaggerationTransition(HillshadeLayer layer, RCTMLNStyleValue styleValue) {
2124
- TransitionOptions transition = styleValue.getTransition();
2125
- if (transition != null) {
2126
- layer.setHillshadeExaggerationTransition(transition);
2127
- }
2128
- }
2129
-
2130
- public static void setHillshadeShadowColor(HillshadeLayer layer, RCTMLNStyleValue styleValue) {
2131
- if (styleValue.isExpression()) {
2132
- layer.setProperties(PropertyFactory.hillshadeShadowColor(styleValue.getExpression()));
2133
- } else {
2134
- layer.setProperties(PropertyFactory.hillshadeShadowColor(styleValue.getInt(VALUE_KEY)));
2135
- }
2136
- }
2137
-
2138
-
2139
- public static void setHillshadeShadowColorTransition(HillshadeLayer layer, RCTMLNStyleValue styleValue) {
2140
- TransitionOptions transition = styleValue.getTransition();
2141
- if (transition != null) {
2142
- layer.setHillshadeShadowColorTransition(transition);
2143
- }
2144
- }
2145
-
2146
- public static void setHillshadeHighlightColor(HillshadeLayer layer, RCTMLNStyleValue styleValue) {
2147
- if (styleValue.isExpression()) {
2148
- layer.setProperties(PropertyFactory.hillshadeHighlightColor(styleValue.getExpression()));
2149
- } else {
2150
- layer.setProperties(PropertyFactory.hillshadeHighlightColor(styleValue.getInt(VALUE_KEY)));
2151
- }
2152
- }
2153
-
2154
-
2155
- public static void setHillshadeHighlightColorTransition(HillshadeLayer layer, RCTMLNStyleValue styleValue) {
2156
- TransitionOptions transition = styleValue.getTransition();
2157
- if (transition != null) {
2158
- layer.setHillshadeHighlightColorTransition(transition);
2159
- }
2160
- }
2161
-
2162
- public static void setHillshadeAccentColor(HillshadeLayer layer, RCTMLNStyleValue styleValue) {
2163
- if (styleValue.isExpression()) {
2164
- layer.setProperties(PropertyFactory.hillshadeAccentColor(styleValue.getExpression()));
2165
- } else {
2166
- layer.setProperties(PropertyFactory.hillshadeAccentColor(styleValue.getInt(VALUE_KEY)));
2167
- }
2168
- }
2169
-
2170
-
2171
- public static void setHillshadeAccentColorTransition(HillshadeLayer layer, RCTMLNStyleValue styleValue) {
2172
- TransitionOptions transition = styleValue.getTransition();
2173
- if (transition != null) {
2174
- layer.setHillshadeAccentColorTransition(transition);
2175
- }
2176
- }
2177
-
2178
- public static void setVisibility(BackgroundLayer layer, RCTMLNStyleValue styleValue) {
2179
- layer.setProperties(PropertyFactory.visibility(styleValue.getString(VALUE_KEY)));
2180
- }
2181
-
2182
- public static void setBackgroundColor(BackgroundLayer layer, RCTMLNStyleValue styleValue) {
2183
- if (styleValue.isExpression()) {
2184
- layer.setProperties(PropertyFactory.backgroundColor(styleValue.getExpression()));
2185
- } else {
2186
- layer.setProperties(PropertyFactory.backgroundColor(styleValue.getInt(VALUE_KEY)));
2187
- }
2188
- }
2189
-
2190
-
2191
- public static void setBackgroundColorTransition(BackgroundLayer layer, RCTMLNStyleValue styleValue) {
2192
- TransitionOptions transition = styleValue.getTransition();
2193
- if (transition != null) {
2194
- layer.setBackgroundColorTransition(transition);
2195
- }
2196
- }
2197
-
2198
- public static void setBackgroundPattern(BackgroundLayer layer, RCTMLNStyleValue styleValue) {
2199
- if (styleValue.isExpression()) {
2200
- if (styleValue.isImageStringValue()) {
2201
- layer.setProperties(PropertyFactory.backgroundPattern(styleValue.getImageStringValue()));
2202
- } else {
2203
- layer.setProperties(PropertyFactory.backgroundPattern(styleValue.getExpression()));
2204
- }
2205
- } else {
2206
- layer.setProperties(PropertyFactory.backgroundPattern(styleValue.getImageURI()));
2207
- }
2208
- }
2209
-
2210
-
2211
- public static void setBackgroundPatternTransition(BackgroundLayer layer, RCTMLNStyleValue styleValue) {
2212
- TransitionOptions transition = styleValue.getTransition();
2213
- if (transition != null) {
2214
- layer.setBackgroundPatternTransition(transition);
2215
- }
2216
- }
2217
-
2218
- public static void setBackgroundOpacity(BackgroundLayer layer, RCTMLNStyleValue styleValue) {
2219
- if (styleValue.isExpression()) {
2220
- layer.setProperties(PropertyFactory.backgroundOpacity(styleValue.getExpression()));
2221
- } else {
2222
- layer.setProperties(PropertyFactory.backgroundOpacity(styleValue.getFloat(VALUE_KEY)));
2223
- }
2224
- }
2225
-
2226
-
2227
- public static void setBackgroundOpacityTransition(BackgroundLayer layer, RCTMLNStyleValue styleValue) {
2228
- TransitionOptions transition = styleValue.getTransition();
2229
- if (transition != null) {
2230
- layer.setBackgroundOpacityTransition(transition);
2231
- }
2232
- }
2233
-
2234
- public static void setAnchor(Light layer, RCTMLNStyleValue styleValue) {
2235
- layer.setAnchor(styleValue.getString(VALUE_KEY));
2236
- }
2237
-
2238
- public static void setPosition(Light layer, RCTMLNStyleValue styleValue) {
2239
- Float[] values = styleValue.getFloatArray(VALUE_KEY);
2240
- layer.setPosition(Position.fromPosition(values[0], values[1], values[2]));
2241
- }
2242
-
2243
-
2244
- public static void setPositionTransition(Light layer, RCTMLNStyleValue styleValue) {
2245
- TransitionOptions transition = styleValue.getTransition();
2246
- if (transition != null) {
2247
- layer.setPositionTransition(transition);
2248
- }
2249
- }
2250
-
2251
- public static void setColor(Light layer, RCTMLNStyleValue styleValue) {
2252
- layer.setColor(styleValue.getInt(VALUE_KEY));
2253
- }
2254
-
2255
-
2256
- public static void setColorTransition(Light layer, RCTMLNStyleValue styleValue) {
2257
- TransitionOptions transition = styleValue.getTransition();
2258
- if (transition != null) {
2259
- layer.setColorTransition(transition);
2260
- }
2261
- }
2262
-
2263
- public static void setIntensity(Light layer, RCTMLNStyleValue styleValue) {
2264
- layer.setIntensity(styleValue.getFloat(VALUE_KEY));
2265
- }
2266
-
2267
-
2268
- public static void setIntensityTransition(Light layer, RCTMLNStyleValue styleValue) {
2269
- TransitionOptions transition = styleValue.getTransition();
2270
- if (transition != null) {
2271
- layer.setIntensityTransition(transition);
2272
- }
2273
- }
2274
-
2275
- }