@mapvina-com/mapvina-react-native 1.0.0

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