@rnmapbox/maps 10.1.0-beta.2 → 10.1.0-beta.21

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 (1752) hide show
  1. package/CHANGELOG.md +6 -6
  2. package/README.md +4 -9
  3. package/android/build.gradle +21 -37
  4. package/android/install.md +22 -113
  5. package/android/src/main/AndroidManifest.xml +1 -1
  6. package/android/src/main/java/com/rnmapbox/rnmbx/RNMBXPackage.kt +259 -0
  7. package/android/src/main/java/com/rnmapbox/rnmbx/components/AbstractEvent.kt +24 -0
  8. package/android/src/main/java/com/rnmapbox/rnmbx/components/AbstractEventEmitter.kt +79 -0
  9. package/android/src/main/java/com/rnmapbox/rnmbx/components/AbstractMapFeature.kt +42 -0
  10. package/android/src/main/java/com/rnmapbox/rnmbx/components/annotation/RNMBXCallout.kt +6 -0
  11. package/android/src/main/java/com/rnmapbox/rnmbx/components/annotation/RNMBXCalloutManager.kt +33 -0
  12. package/android/src/main/java/com/rnmapbox/rnmbx/components/annotation/RNMBXMarkerView.kt +201 -0
  13. package/android/src/main/java/com/rnmapbox/rnmbx/components/annotation/RNMBXMarkerViewManager.kt +86 -0
  14. package/android/src/main/java/com/rnmapbox/rnmbx/components/annotation/RNMBXPointAnnotation.kt +320 -0
  15. package/android/src/main/java/com/rnmapbox/rnmbx/components/annotation/RNMBXPointAnnotationManager.kt +84 -0
  16. package/android/src/main/java/com/rnmapbox/rnmbx/components/annotation/RNMBXPointAnnotationModule.kt +33 -0
  17. package/android/src/main/java/com/rnmapbox/rnmbx/components/camera/CameraStop.kt +243 -0
  18. package/android/src/main/java/com/rnmapbox/rnmbx/components/camera/CameraUpdateItem.kt +136 -0
  19. package/android/src/main/java/com/rnmapbox/rnmbx/components/camera/CameraUpdateQueue.kt +66 -0
  20. package/android/src/main/java/com/rnmapbox/rnmbx/components/camera/RNMBXCamera.kt +563 -0
  21. package/android/src/main/java/com/rnmapbox/rnmbx/components/camera/RNMBXCameraManager.kt +118 -0
  22. package/android/src/main/java/com/rnmapbox/rnmbx/components/camera/RNMBXVIewportManager.kt +55 -0
  23. package/android/src/main/java/com/rnmapbox/rnmbx/components/camera/RNMBXViewport.kt +341 -0
  24. package/android/src/main/java/com/rnmapbox/rnmbx/components/camera/RNMBXViewportModule.kt +66 -0
  25. package/android/src/main/java/com/rnmapbox/rnmbx/components/camera/constants/CameraMode.java +18 -0
  26. package/android/src/main/java/com/rnmapbox/rnmbx/components/images/ImageManager.kt +53 -0
  27. package/android/src/main/java/com/rnmapbox/rnmbx/components/images/RNMBXImage.kt +81 -0
  28. package/android/src/main/java/com/rnmapbox/rnmbx/components/images/RNMBXImageManager.kt +70 -0
  29. package/android/src/main/java/com/rnmapbox/rnmbx/components/images/RNMBXImageModule.kt +33 -0
  30. package/android/src/main/java/com/rnmapbox/rnmbx/components/images/RNMBXImages.kt +296 -0
  31. package/android/src/main/java/com/rnmapbox/rnmbx/components/images/RNMBXImagesManager.kt +270 -0
  32. package/android/src/main/java/com/rnmapbox/rnmbx/components/location/CameraMode.java +62 -0
  33. package/android/src/main/java/com/rnmapbox/rnmbx/components/location/LocationComponentManager.kt +203 -0
  34. package/android/src/main/java/com/rnmapbox/rnmbx/components/location/RNMBXCustomLocationProvider.kt +114 -0
  35. package/android/src/main/java/com/rnmapbox/rnmbx/components/location/RNMBXCustomLocationProviderManager.kt +54 -0
  36. package/android/src/main/java/com/rnmapbox/rnmbx/components/location/RNMBXNativeUserLocation.kt +253 -0
  37. package/android/src/main/java/com/rnmapbox/rnmbx/components/location/RNMBXNativeUserLocationManager.kt +114 -0
  38. package/android/src/main/java/com/rnmapbox/rnmbx/components/location/UserLocation.java +59 -0
  39. package/android/src/main/java/com/rnmapbox/rnmbx/components/location/UserTrackingMode.kt +43 -0
  40. package/android/src/main/java/com/rnmapbox/rnmbx/components/mapview/NativeMapViewModule.kt +182 -0
  41. package/android/src/main/java/com/rnmapbox/rnmbx/components/mapview/OnMapReadyCallback.java +9 -0
  42. package/android/src/main/java/com/rnmapbox/rnmbx/components/mapview/RNMBXMapView.kt +1613 -0
  43. package/android/src/main/java/com/rnmapbox/rnmbx/components/mapview/RNMBXMapViewManager.kt +390 -0
  44. package/android/src/main/java/com/rnmapbox/rnmbx/components/mapview/helpers/CameraChangeTracker.kt +23 -0
  45. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/RNMBXStyle.kt +72 -0
  46. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/RNMBXStyleFactory.kt +3669 -0
  47. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/RNMBXStyleImport.kt +37 -0
  48. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/RNMBXStyleImportManager.kt +57 -0
  49. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/RNMBXStyleValue.kt +229 -0
  50. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/atmosphere/RNMBXAtmosphere.kt +66 -0
  51. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/atmosphere/RNMBXAtmosphereManager.kt +39 -0
  52. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/layers/RNMBXBackgroundLayer.kt +26 -0
  53. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/layers/RNMBXBackgroundLayerManager.kt +72 -0
  54. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/layers/RNMBXCircleLayer.kt +46 -0
  55. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/layers/RNMBXCircleLayerManager.kt +77 -0
  56. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/layers/RNMBXFillExtrusionLayer.kt +48 -0
  57. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/layers/RNMBXFillExtrusionLayerManager.kt +77 -0
  58. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/layers/RNMBXFillLayer.kt +46 -0
  59. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/layers/RNMBXFillLayerManager.kt +77 -0
  60. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/layers/RNMBXHeatmapLayer.kt +48 -0
  61. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/layers/RNMBXHeatmapLayerManager.kt +77 -0
  62. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/layers/RNMBXLayer.kt +316 -0
  63. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/layers/RNMBXLineLayer.kt +45 -0
  64. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/layers/RNMBXLineLayerManager.kt +77 -0
  65. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/layers/RNMBXRasterLayer.kt +23 -0
  66. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/layers/RNMBXRasterLayerManager.kt +78 -0
  67. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/layers/RNMBXSkyLayer.kt +43 -0
  68. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/layers/RNMBXSkyLayerManager.kt +72 -0
  69. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/layers/RNMBXSymbolLayer.kt +48 -0
  70. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/layers/RNMBXSymbolLayerManager.kt +77 -0
  71. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/light/RNMBXLight.kt +50 -0
  72. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/light/RNMBXLightManager.kt +27 -0
  73. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/sources/AbstractSourceConsumer.kt +8 -0
  74. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/sources/RNMBXImageSource.kt +69 -0
  75. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/sources/RNMBXImageSourceManager.kt +62 -0
  76. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/sources/RNMBXRasterDemSource.kt +84 -0
  77. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/sources/RNMBXRasterDemSourceManager.kt +44 -0
  78. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/sources/RNMBXRasterSource.kt +37 -0
  79. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/sources/RNMBXRasterSourceManager.kt +40 -0
  80. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/sources/RNMBXShapeSource.kt +326 -0
  81. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/sources/RNMBXShapeSourceManager.kt +173 -0
  82. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/sources/RNMBXShapeSourceModule.kt +61 -0
  83. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/sources/RNMBXSource.kt +241 -0
  84. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/sources/RNMBXTileSource.kt +44 -0
  85. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/sources/RNMBXTileSourceManager.kt +69 -0
  86. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/sources/RNMBXVectorSource.kt +80 -0
  87. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/sources/RNMBXVectorSourceManager.kt +51 -0
  88. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/terrain/RNMBXTerrain.kt +68 -0
  89. package/android/src/main/java/com/rnmapbox/rnmbx/components/styles/terrain/RNMBXTerrainManager.kt +32 -0
  90. package/android/src/main/java/com/rnmapbox/rnmbx/events/AbstractEvent.kt +49 -0
  91. package/android/src/main/java/com/rnmapbox/rnmbx/events/AndroidCallbackEvent.java +34 -0
  92. package/android/src/main/java/com/rnmapbox/rnmbx/events/EventEmitter.java +45 -0
  93. package/android/src/main/java/com/rnmapbox/rnmbx/events/FeatureClickEvent.java +79 -0
  94. package/android/src/main/java/com/rnmapbox/rnmbx/events/IEvent.kt +14 -0
  95. package/android/src/main/java/com/rnmapbox/rnmbx/events/ImageMissingEvent.java +42 -0
  96. package/android/src/main/java/com/rnmapbox/rnmbx/events/LocationEvent.kt +78 -0
  97. package/android/src/main/java/com/rnmapbox/rnmbx/events/MapChangeEvent.kt +38 -0
  98. package/android/src/main/java/com/rnmapbox/rnmbx/events/MapClickEvent.java +51 -0
  99. package/android/src/main/java/com/rnmapbox/rnmbx/events/MapUserTrackingModeEvent.kt +21 -0
  100. package/android/src/main/java/com/rnmapbox/rnmbx/events/OfflineEvent.java +25 -0
  101. package/android/src/main/java/com/rnmapbox/rnmbx/events/PointAnnotationClickEvent.java +42 -0
  102. package/android/src/main/java/com/rnmapbox/rnmbx/events/PointAnnotationDragEvent.java +53 -0
  103. package/android/src/main/java/com/rnmapbox/rnmbx/events/constants/EventKeys.kt +44 -0
  104. package/android/src/main/java/com/rnmapbox/rnmbx/events/constants/EventTypes.kt +45 -0
  105. package/android/src/main/java/com/rnmapbox/rnmbx/location/LocationManager.kt +277 -0
  106. package/android/src/main/java/com/rnmapbox/rnmbx/location/UserTrackingState.java +15 -0
  107. package/android/src/main/java/com/rnmapbox/rnmbx/modules/CustomHttpHeaders.kt +41 -0
  108. package/android/src/main/java/com/rnmapbox/rnmbx/modules/RNMBXLocationModule.kt +186 -0
  109. package/android/src/main/java/com/rnmapbox/rnmbx/modules/RNMBXLogging.kt +113 -0
  110. package/android/src/main/java/com/rnmapbox/rnmbx/modules/RNMBXModule.kt +162 -0
  111. package/android/src/main/java/com/rnmapbox/rnmbx/modules/RNMBXOfflineModule.kt +659 -0
  112. package/android/src/main/java/com/rnmapbox/rnmbx/modules/RNMBXSnapshotModule.kt +124 -0
  113. package/android/src/main/java/com/rnmapbox/rnmbx/shape_animators/RNMBXMovePointShapeAnimatorModule.kt +55 -0
  114. package/android/src/main/java/com/rnmapbox/rnmbx/shape_animators/ShapeAnimatorCommon.kt +110 -0
  115. package/android/src/main/java/com/rnmapbox/rnmbx/utils/BitmapUtils.kt +146 -0
  116. package/android/src/main/java/com/rnmapbox/rnmbx/utils/ConvertUtils.java +253 -0
  117. package/android/src/main/java/com/rnmapbox/rnmbx/utils/DownloadMapImageTask.kt +121 -0
  118. package/android/src/main/java/com/rnmapbox/rnmbx/utils/ExpressionParser.java +73 -0
  119. package/android/src/main/java/com/rnmapbox/rnmbx/utils/GeoJSONUtils.kt +225 -0
  120. package/android/src/main/java/com/rnmapbox/rnmbx/utils/ImageEntry.kt +9 -0
  121. package/android/src/main/java/com/rnmapbox/rnmbx/utils/LatLng.java +51 -0
  122. package/android/src/main/java/com/rnmapbox/rnmbx/utils/LatLngBounds.kt +35 -0
  123. package/android/src/main/java/com/rnmapbox/rnmbx/utils/LatLngQuad.java +27 -0
  124. package/android/src/main/java/com/rnmapbox/rnmbx/utils/Logger.kt +120 -0
  125. package/android/src/main/java/com/rnmapbox/rnmbx/utils/PropertyChanges.kt +68 -0
  126. package/android/src/main/java/com/rnmapbox/rnmbx/utils/ReadableMapToValue.java +51 -0
  127. package/android/src/main/java/com/rnmapbox/rnmbx/utils/ResourceUtils.java +26 -0
  128. package/android/src/main/java/com/rnmapbox/rnmbx/utils/ViewTagResolver.kt +69 -0
  129. package/android/src/main/java/com/rnmapbox/rnmbx/utils/extensions/CoordinateBounds.kt +17 -0
  130. package/android/src/main/java/com/rnmapbox/rnmbx/utils/extensions/Dynamic.kt +57 -0
  131. package/android/src/main/java/com/rnmapbox/rnmbx/utils/extensions/FeatureCollection.kt +10 -0
  132. package/android/src/main/java/com/rnmapbox/rnmbx/utils/extensions/Geometry.kt +22 -0
  133. package/android/src/main/java/com/rnmapbox/rnmbx/utils/extensions/JSONObject.kt +78 -0
  134. package/android/src/main/java/com/rnmapbox/rnmbx/utils/extensions/Point.kt +17 -0
  135. package/android/src/main/java/com/rnmapbox/rnmbx/utils/extensions/ReadableArray.kt +58 -0
  136. package/android/src/main/java/com/rnmapbox/rnmbx/utils/extensions/ReadableMap.kt +133 -0
  137. package/android/src/main/java/com/rnmapbox/rnmbx/utils/extensions/Value.kt +9 -0
  138. package/android/src/main/java/com/rnmapbox/rnmbx/utils/writeableMapArrayOf.kt +41 -0
  139. package/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/Annotation.kt +32 -0
  140. package/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/Cancelable.kt +15 -0
  141. package/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/Event.kt +17 -0
  142. package/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/Feature.kt +10 -0
  143. package/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/HttpInterceptor.kt +22 -0
  144. package/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/Image.kt +69 -0
  145. package/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/Light.kt +15 -0
  146. package/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/Location.kt +62 -0
  147. package/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/MapboxMap.kt +31 -0
  148. package/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/OfflineManager.kt +19 -0
  149. package/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/OrnamentSettings.kt +96 -0
  150. package/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/ResourceOption.kt +12 -0
  151. package/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/Snapshot.kt +28 -0
  152. package/android/src/main/mapbox-v11-compat/v10/com/rnmapbox/rnmbx/v11compat/style.kt +9 -0
  153. package/android/src/main/mapbox-v11-compat/v11/com/rnmapbox/rnmbx/v11compat/Annotation.kt +32 -0
  154. package/android/src/main/mapbox-v11-compat/v11/com/rnmapbox/rnmbx/v11compat/Cancelable.kt +3 -0
  155. package/android/src/main/mapbox-v11-compat/v11/com/rnmapbox/rnmbx/v11compat/Event.kt +342 -0
  156. package/android/src/main/mapbox-v11-compat/v11/com/rnmapbox/rnmbx/v11compat/Feature.kt +16 -0
  157. package/android/src/main/mapbox-v11-compat/v11/com/rnmapbox/rnmbx/v11compat/HttpInterceptor.kt +37 -0
  158. package/android/src/main/mapbox-v11-compat/v11/com/rnmapbox/rnmbx/v11compat/Image.kt +88 -0
  159. package/android/src/main/mapbox-v11-compat/v11/com/rnmapbox/rnmbx/v11compat/Light.kt +15 -0
  160. package/android/src/main/mapbox-v11-compat/v11/com/rnmapbox/rnmbx/v11compat/Location.kt +116 -0
  161. package/android/src/main/mapbox-v11-compat/v11/com/rnmapbox/rnmbx/v11compat/MapboxMap.kt +37 -0
  162. package/android/src/main/mapbox-v11-compat/v11/com/rnmapbox/rnmbx/v11compat/OfflineManager.kt +12 -0
  163. package/android/src/main/mapbox-v11-compat/v11/com/rnmapbox/rnmbx/v11compat/OrnamentSettings.kt +96 -0
  164. package/android/src/main/mapbox-v11-compat/v11/com/rnmapbox/rnmbx/v11compat/ResourceOption.kt +14 -0
  165. package/android/src/main/mapbox-v11-compat/v11/com/rnmapbox/rnmbx/v11compat/Snapshot.kt +22 -0
  166. package/android/src/main/mapbox-v11-compat/v11/com/rnmapbox/rnmbx/v11compat/style.kt +2 -0
  167. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXAtmosphereManagerDelegate.java +32 -0
  168. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXAtmosphereManagerInterface.java +17 -0
  169. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXBackgroundLayerManagerDelegate.java +59 -0
  170. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXBackgroundLayerManagerInterface.java +26 -0
  171. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXCalloutManagerDelegate.java +25 -0
  172. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXCalloutManagerInterface.java +16 -0
  173. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXCameraManagerDelegate.java +74 -0
  174. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXCameraManagerInterface.java +31 -0
  175. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXCircleLayerManagerDelegate.java +62 -0
  176. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXCircleLayerManagerInterface.java +27 -0
  177. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXCustomLocationProviderManagerDelegate.java +35 -0
  178. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXCustomLocationProviderManagerInterface.java +18 -0
  179. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXFillExtrusionLayerManagerDelegate.java +62 -0
  180. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXFillExtrusionLayerManagerInterface.java +27 -0
  181. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXFillLayerManagerDelegate.java +62 -0
  182. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXFillLayerManagerInterface.java +27 -0
  183. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXHeatmapLayerManagerDelegate.java +62 -0
  184. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXHeatmapLayerManagerInterface.java +27 -0
  185. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXImageManagerDelegate.java +47 -0
  186. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXImageManagerInterface.java +22 -0
  187. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXImageSourceManagerDelegate.java +41 -0
  188. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXImageSourceManagerInterface.java +20 -0
  189. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXImagesManagerDelegate.java +38 -0
  190. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXImagesManagerInterface.java +19 -0
  191. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXLightManagerDelegate.java +32 -0
  192. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXLightManagerInterface.java +17 -0
  193. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXLineLayerManagerDelegate.java +62 -0
  194. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXLineLayerManagerInterface.java +27 -0
  195. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXMapViewManagerDelegate.java +104 -0
  196. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXMapViewManagerInterface.java +41 -0
  197. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXMarkerViewManagerDelegate.java +41 -0
  198. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXMarkerViewManagerInterface.java +20 -0
  199. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXNativeUserLocationManagerDelegate.java +53 -0
  200. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXNativeUserLocationManagerInterface.java +24 -0
  201. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXPointAnnotationManagerDelegate.java +41 -0
  202. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXPointAnnotationManagerInterface.java +20 -0
  203. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXRasterDemSourceManagerDelegate.java +50 -0
  204. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXRasterDemSourceManagerInterface.java +23 -0
  205. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXRasterLayerManagerDelegate.java +62 -0
  206. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXRasterLayerManagerInterface.java +27 -0
  207. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXRasterSourceManagerDelegate.java +56 -0
  208. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXRasterSourceManagerInterface.java +25 -0
  209. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXShapeSourceManagerDelegate.java +71 -0
  210. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXShapeSourceManagerInterface.java +30 -0
  211. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXSkyLayerManagerDelegate.java +59 -0
  212. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXSkyLayerManagerInterface.java +26 -0
  213. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXStyleImportManagerDelegate.java +38 -0
  214. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXStyleImportManagerInterface.java +20 -0
  215. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXSymbolLayerManagerDelegate.java +62 -0
  216. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXSymbolLayerManagerInterface.java +27 -0
  217. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXTerrainManagerDelegate.java +35 -0
  218. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXTerrainManagerInterface.java +18 -0
  219. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXVectorSourceManagerDelegate.java +59 -0
  220. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXVectorSourceManagerInterface.java +26 -0
  221. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXViewportManagerDelegate.java +35 -0
  222. package/android/src/main/old-arch/com/facebook/react/viewmanagers/RNMBXViewportManagerInterface.java +18 -0
  223. package/android/src/main/old-arch/com/rnmapbox/rnmbx/NativeMapViewModuleSpec.java +88 -0
  224. package/android/src/main/old-arch/com/rnmapbox/rnmbx/NativeRNMBXImageModuleSpec.java +39 -0
  225. package/android/src/main/old-arch/com/rnmapbox/rnmbx/NativeRNMBXMovePointShapeAnimatorModuleSpec.java +43 -0
  226. package/android/src/main/old-arch/com/rnmapbox/rnmbx/NativeRNMBXPointAnnotationModuleSpec.java +39 -0
  227. package/android/src/main/old-arch/com/rnmapbox/rnmbx/NativeRNMBXShapeSourceModuleSpec.java +47 -0
  228. package/android/src/main/old-arch/com/rnmapbox/rnmbx/NativeRNMBXViewportModuleSpec.java +48 -0
  229. package/android/src/main/res/values/strings.xml +1 -1
  230. package/ios/RNMBX/CustomHttpHeaders.swift +68 -0
  231. package/ios/RNMBX/Extensions/CLLocationCoordinate2D+validate.swift +29 -0
  232. package/ios/RNMBX/Extensions/Encodable+ToJSON.swift +13 -0
  233. package/ios/RNMBX/ImageManager.swift +41 -0
  234. package/ios/RNMBX/RCTLog.swift +19 -0
  235. package/ios/RNMBX/RCTSwiftLog.h +11 -0
  236. package/ios/RNMBX/RCTSwiftLog.m +32 -0
  237. package/ios/RNMBX/RNMBImageUtils.swift +20 -0
  238. package/ios/RNMBX/RNMBXAtmosphere.swift +80 -0
  239. package/ios/RNMBX/RNMBXAtmosphereComponentView.h +15 -0
  240. package/ios/RNMBX/RNMBXAtmosphereComponentView.mm +76 -0
  241. package/ios/RNMBX/RNMBXAtmosphereViewManager.m +8 -0
  242. package/ios/RNMBX/RNMBXAtmosphereViewManager.swift +13 -0
  243. package/ios/RNMBX/RNMBXBackgroundLayer.swift +51 -0
  244. package/ios/RNMBX/RNMBXBackgroundLayerComponentView.h +15 -0
  245. package/ios/RNMBX/RNMBXBackgroundLayerComponentView.mm +71 -0
  246. package/ios/RNMBX/RNMBXBackgroundLayerViewManager.m +9 -0
  247. package/ios/RNMBX/RNMBXBackgroundLayerViewManager.swift +13 -0
  248. package/ios/RNMBX/RNMBXCallout.swift +3 -0
  249. package/ios/RNMBX/RNMBXCalloutComponentView.h +15 -0
  250. package/ios/RNMBX/RNMBXCalloutComponentView.mm +57 -0
  251. package/ios/RNMBX/RNMBXCalloutViewManager.m +8 -0
  252. package/ios/RNMBX/RNMBXCalloutViewManager.swift +14 -0
  253. package/ios/RNMBX/RNMBXCamera.swift +633 -0
  254. package/ios/RNMBX/RNMBXCameraComponentView.h +15 -0
  255. package/ios/RNMBX/RNMBXCameraComponentView.mm +141 -0
  256. package/ios/RNMBX/RNMBXCameraViewManager.m +24 -0
  257. package/ios/RNMBX/RNMBXCameraViewManager.swift +14 -0
  258. package/ios/RNMBX/RNMBXCircleLayer.swift +54 -0
  259. package/ios/RNMBX/RNMBXCircleLayerComponentView.h +15 -0
  260. package/ios/RNMBX/RNMBXCircleLayerComponentView.mm +70 -0
  261. package/ios/RNMBX/RNMBXCircleLayerViewManager.m +12 -0
  262. package/ios/RNMBX/RNMBXCircleLayerViewManager.swift +13 -0
  263. package/ios/RNMBX/RNMBXCustomLocationProvider.swift +274 -0
  264. package/ios/RNMBX/RNMBXCustomLocationProviderComponentView.h +15 -0
  265. package/ios/RNMBX/RNMBXCustomLocationProviderComponentView.mm +67 -0
  266. package/ios/RNMBX/RNMBXCustomLocationProviderVIewManager.swift +13 -0
  267. package/ios/RNMBX/RNMBXCustomLocationProviderViewManager.m +10 -0
  268. package/ios/RNMBX/RNMBXEvent.swift +47 -0
  269. package/ios/RNMBX/RNMBXFabricHelpers.h +119 -0
  270. package/ios/RNMBX/RNMBXFabricPropConvert.h +41 -0
  271. package/ios/RNMBX/RNMBXFabricPropConvert.mm +131 -0
  272. package/ios/RNMBX/RNMBXFeatureUtils.swift +79 -0
  273. package/ios/RNMBX/RNMBXFillExtrusionLayer.swift +53 -0
  274. package/ios/RNMBX/RNMBXFillExtrusionLayerComponentView.h +15 -0
  275. package/ios/RNMBX/RNMBXFillExtrusionLayerComponentView.mm +71 -0
  276. package/ios/RNMBX/RNMBXFillExtrusionLayerViewManager.m +12 -0
  277. package/ios/RNMBX/RNMBXFillExtrusionLayerViewManager.swift +13 -0
  278. package/ios/RNMBX/RNMBXFillLayer.swift +58 -0
  279. package/ios/RNMBX/RNMBXFillLayerComponentView.h +15 -0
  280. package/ios/RNMBX/RNMBXFillLayerComponentView.mm +70 -0
  281. package/ios/RNMBX/RNMBXFillLayerViewManager.m +12 -0
  282. package/ios/RNMBX/RNMBXFillLayerViewManager.swift +13 -0
  283. package/ios/RNMBX/RNMBXHeatmapLayer.swift +57 -0
  284. package/ios/RNMBX/RNMBXHeatmapLayerComponentView.h +15 -0
  285. package/ios/RNMBX/RNMBXHeatmapLayerComponentView.mm +70 -0
  286. package/ios/RNMBX/RNMBXHeatmapLayerViewManager.m +12 -0
  287. package/ios/RNMBX/RNMBXHeatmapLayerViewManager.swift +13 -0
  288. package/ios/RNMBX/RNMBXImage.swift +134 -0
  289. package/ios/RNMBX/RNMBXImageComponentView.h +15 -0
  290. package/ios/RNMBX/RNMBXImageComponentView.mm +100 -0
  291. package/ios/RNMBX/RNMBXImageManager.m +30 -0
  292. package/ios/RNMBX/RNMBXImageManager.swift +13 -0
  293. package/ios/RNMBX/RNMBXImageModule.h +17 -0
  294. package/ios/RNMBX/RNMBXImageModule.mm +67 -0
  295. package/ios/RNMBX/RNMBXImageQueue.swift +149 -0
  296. package/ios/RNMBX/RNMBXImageSource.swift +65 -0
  297. package/ios/RNMBX/RNMBXImageSourceComponentView.h +15 -0
  298. package/ios/RNMBX/RNMBXImageSourceComponentView.mm +100 -0
  299. package/ios/RNMBX/RNMBXImageSourceViewManager.m +11 -0
  300. package/ios/RNMBX/RNMBXImageSourceViewManager.swift +11 -0
  301. package/ios/RNMBX/RNMBXImages.swift +304 -0
  302. package/ios/RNMBX/RNMBXImagesComponentView.h +15 -0
  303. package/ios/RNMBX/RNMBXImagesComponentView.mm +109 -0
  304. package/ios/RNMBX/RNMBXImagesViewManager.m +10 -0
  305. package/ios/RNMBX/RNMBXImagesViewManager.swift +14 -0
  306. package/ios/RNMBX/RNMBXInteractiveElement.swift +64 -0
  307. package/ios/RNMBX/RNMBXLayer.swift +367 -0
  308. package/ios/RNMBX/RNMBXLight.swift +69 -0
  309. package/ios/RNMBX/RNMBXLightComponentView.h +15 -0
  310. package/ios/RNMBX/RNMBXLightComponentView.mm +68 -0
  311. package/ios/RNMBX/RNMBXLightViewManager.m +9 -0
  312. package/ios/RNMBX/RNMBXLightViewManager.swift +13 -0
  313. package/ios/RNMBX/RNMBXLineLayer.swift +59 -0
  314. package/ios/RNMBX/RNMBXLineLayerComponentView.h +15 -0
  315. package/ios/RNMBX/RNMBXLineLayerComponentView.mm +70 -0
  316. package/ios/RNMBX/RNMBXLineLayerViewManager.m +12 -0
  317. package/ios/RNMBX/RNMBXLineLayerViewManager.swift +13 -0
  318. package/ios/RNMBX/RNMBXLocationModule.m +20 -0
  319. package/ios/RNMBX/RNMBXLocationModule.swift +604 -0
  320. package/ios/RNMBX/RNMBXLocationModuleV11.swift +345 -0
  321. package/ios/RNMBX/RNMBXLogging.m +8 -0
  322. package/ios/RNMBX/RNMBXLogging.swift +172 -0
  323. package/ios/RNMBX/RNMBXMapView.swift +1579 -0
  324. package/ios/RNMBX/RNMBXMapViewComponentView.h +18 -0
  325. package/ios/RNMBX/RNMBXMapViewComponentView.mm +243 -0
  326. package/ios/RNMBX/RNMBXMapViewManager.m +39 -0
  327. package/ios/RNMBX/RNMBXMapViewManager.swift +249 -0
  328. package/ios/RNMBX/RNMBXMapViewModule.h +18 -0
  329. package/ios/RNMBX/RNMBXMapViewModule.mm +151 -0
  330. package/ios/RNMBX/RNMBXMarkerView.swift +272 -0
  331. package/ios/RNMBX/RNMBXMarkerViewComponentView.h +15 -0
  332. package/ios/RNMBX/RNMBXMarkerViewComponentView.mm +131 -0
  333. package/ios/RNMBX/RNMBXMarkerViewManager.m +12 -0
  334. package/ios/RNMBX/RNMBXMarkerViewManager.swift +14 -0
  335. package/ios/RNMBX/RNMBXModule.m +14 -0
  336. package/ios/RNMBX/RNMBXModule.swift +116 -0
  337. package/ios/RNMBX/RNMBXNativeUserLocation.swift +250 -0
  338. package/ios/RNMBX/RNMBXNativeUserLocationComponentView.h +15 -0
  339. package/ios/RNMBX/RNMBXNativeUserLocationComponentView.mm +80 -0
  340. package/ios/RNMBX/RNMBXNativeUserLocationViewManager.m +16 -0
  341. package/ios/RNMBX/RNMBXNativeUserLocationViewManager.swift +11 -0
  342. package/ios/RNMBX/RNMBXOfflineModule.m +34 -0
  343. package/ios/RNMBX/RNMBXOfflineModule.swift +655 -0
  344. package/ios/RNMBX/RNMBXPointAnnotation.swift +273 -0
  345. package/ios/RNMBX/RNMBXPointAnnotationComponentView.h +15 -0
  346. package/ios/RNMBX/RNMBXPointAnnotationComponentView.mm +147 -0
  347. package/ios/RNMBX/RNMBXPointAnnotationModule.h +17 -0
  348. package/ios/RNMBX/RNMBXPointAnnotationModule.mm +66 -0
  349. package/ios/RNMBX/RNMBXPointAnnotationViewManager.m +18 -0
  350. package/ios/RNMBX/RNMBXPointAnnotationViewManager.swift +14 -0
  351. package/ios/RNMBX/RNMBXRasterDemSource.swift +61 -0
  352. package/ios/RNMBX/RNMBXRasterDemSourceComponentView.h +15 -0
  353. package/ios/RNMBX/RNMBXRasterDemSourceComponentView.mm +114 -0
  354. package/ios/RNMBX/RNMBXRasterDemSourceViewManager.m +15 -0
  355. package/ios/RNMBX/RNMBXRasterDemSourceViewManager.swift +11 -0
  356. package/ios/RNMBX/RNMBXRasterLayer.swift +56 -0
  357. package/ios/RNMBX/RNMBXRasterLayerComponentView.h +15 -0
  358. package/ios/RNMBX/RNMBXRasterLayerComponentView.mm +70 -0
  359. package/ios/RNMBX/RNMBXRasterLayerViewManager.m +12 -0
  360. package/ios/RNMBX/RNMBXRasterLayerViewManager.swift +13 -0
  361. package/ios/RNMBX/RNMBXRasterSource.swift +55 -0
  362. package/ios/RNMBX/RNMBXRasterSourceComponentView.h +15 -0
  363. package/ios/RNMBX/RNMBXRasterSourceComponentView.mm +122 -0
  364. package/ios/RNMBX/RNMBXRasterSourceViewManager.m +19 -0
  365. package/ios/RNMBX/RNMBXRasterSourceViewManager.swift +14 -0
  366. package/ios/RNMBX/RNMBXShapeSource.swift +428 -0
  367. package/ios/RNMBX/RNMBXShapeSourceComponentView.h +15 -0
  368. package/ios/RNMBX/RNMBXShapeSourceComponentView.mm +151 -0
  369. package/ios/RNMBX/RNMBXShapeSourceModule.h +18 -0
  370. package/ios/RNMBX/RNMBXShapeSourceModule.mm +79 -0
  371. package/ios/RNMBX/RNMBXShapeSourceViewManager.m +26 -0
  372. package/ios/RNMBX/RNMBXShapeSourceViewManager.swift +76 -0
  373. package/ios/RNMBX/RNMBXSingletonLayer.swift +51 -0
  374. package/ios/RNMBX/RNMBXSkyLayer.swift +55 -0
  375. package/ios/RNMBX/RNMBXSkyLayerComponentView.h +15 -0
  376. package/ios/RNMBX/RNMBXSkyLayerComponentView.mm +70 -0
  377. package/ios/RNMBX/RNMBXSkyLayerViewManager.m +9 -0
  378. package/ios/RNMBX/RNMBXSkyLayerViewManager.swift +13 -0
  379. package/ios/RNMBX/RNMBXSnapshotModule.m +11 -0
  380. package/ios/RNMBX/RNMBXSnapshotModule.swift +112 -0
  381. package/ios/RNMBX/RNMBXSource.swift +127 -0
  382. package/ios/RNMBX/RNMBXStyle.swift +2417 -0
  383. package/ios/RNMBX/RNMBXStyleImport.swift +48 -0
  384. package/ios/RNMBX/RNMBXStyleImportComponentView.h +17 -0
  385. package/ios/RNMBX/RNMBXStyleImportComponentView.mm +40 -0
  386. package/ios/RNMBX/RNMBXStyleImportManager.m +10 -0
  387. package/ios/RNMBX/RNMBXStyleImportManager.swift +12 -0
  388. package/ios/RNMBX/RNMBXStyleValue.swift +577 -0
  389. package/ios/RNMBX/RNMBXSymbolLayer.swift +58 -0
  390. package/ios/RNMBX/RNMBXSymbolLayerComponentView.h +15 -0
  391. package/ios/RNMBX/RNMBXSymbolLayerComponentView.mm +70 -0
  392. package/ios/RNMBX/RNMBXSymbolLayerViewManager.m +12 -0
  393. package/ios/RNMBX/RNMBXSymbolLayerViewManager.swift +13 -0
  394. package/ios/RNMBX/RNMBXTerrain.swift +93 -0
  395. package/ios/RNMBX/RNMBXTerrainComponentView.h +15 -0
  396. package/ios/RNMBX/RNMBXTerrainComponentView.mm +78 -0
  397. package/ios/RNMBX/RNMBXTerrainViewManager.m +15 -0
  398. package/ios/RNMBX/RNMBXTerrainViewManager.swift +13 -0
  399. package/ios/RNMBX/RNMBXTileSource.swift +5 -0
  400. package/ios/RNMBX/RNMBXUtils.swift +64 -0
  401. package/ios/RNMBX/RNMBXVectorLayer.m +58 -0
  402. package/ios/RNMBX/RNMBXVectorLayer.swift +5 -0
  403. package/ios/RNMBX/RNMBXVectorSource.swift +61 -0
  404. package/ios/RNMBX/RNMBXVectorSourceComponentView.h +15 -0
  405. package/ios/RNMBX/RNMBXVectorSourceComponentView.mm +139 -0
  406. package/ios/RNMBX/RNMBXVectorSourceViewManager.m +22 -0
  407. package/ios/RNMBX/RNMBXVectorSourceViewManager.swift +11 -0
  408. package/ios/RNMBX/RNMBXViewport.swift +293 -0
  409. package/ios/RNMBX/RNMBXViewportComponentView.h +17 -0
  410. package/ios/RNMBX/RNMBXViewportComponentView.mm +119 -0
  411. package/ios/RNMBX/RNMBXViewportManager.m +12 -0
  412. package/ios/RNMBX/RNMBXViewportManager.swift +38 -0
  413. package/ios/RNMBX/RNMBXViewportModule.h +18 -0
  414. package/ios/RNMBX/RNMBXViewportModule.mm +87 -0
  415. package/ios/RNMBX/ShapeAnimators/RNMBXMovePointShapeAnimatorModule.m +61 -0
  416. package/ios/RNMBX/ShapeAnimators/RNMBXMovePointShapeAnimatorModule.swift +47 -0
  417. package/ios/RNMBX/ShapeAnimators/ShapeAnimatorCommon.swift +76 -0
  418. package/ios/RNMBX/ShapeAnimators/ShapeAnimatorManager.swift +45 -0
  419. package/ios/RNMBX/Uitls/PropertyChanges.swift +57 -0
  420. package/ios/RNMBX/rnmapbox_maps-Swift.pre.h +14 -0
  421. package/ios/install.md +33 -39
  422. package/lib/commonjs/Mapbox.js +51 -12
  423. package/lib/commonjs/Mapbox.js.map +1 -1
  424. package/lib/commonjs/RNMBXModule.js +37 -0
  425. package/lib/commonjs/RNMBXModule.js.map +1 -0
  426. package/lib/commonjs/classes/AnimatedCoordinatesArray.js +5 -6
  427. package/lib/commonjs/classes/AnimatedCoordinatesArray.js.map +1 -1
  428. package/lib/commonjs/classes/AnimatedExtractCoordinateFromArray.js +1 -2
  429. package/lib/commonjs/classes/AnimatedExtractCoordinateFromArray.js.map +1 -1
  430. package/lib/commonjs/classes/AnimatedPoint.js +10 -16
  431. package/lib/commonjs/classes/AnimatedPoint.js.map +1 -1
  432. package/lib/commonjs/classes/AnimatedRouteCoordinatesArray.js +2 -4
  433. package/lib/commonjs/classes/AnimatedRouteCoordinatesArray.js.map +1 -1
  434. package/lib/commonjs/classes/AnimatedShape.js +1 -2
  435. package/lib/commonjs/classes/AnimatedShape.js.map +1 -1
  436. package/lib/commonjs/classes/index.d.js.map +1 -1
  437. package/lib/commonjs/classes/index.js.map +1 -1
  438. package/lib/commonjs/components/AbstractLayer.js +2 -4
  439. package/lib/commonjs/components/AbstractLayer.js.map +1 -1
  440. package/lib/commonjs/components/AbstractSource.js +1 -2
  441. package/lib/commonjs/components/AbstractSource.js.map +1 -1
  442. package/lib/commonjs/components/Annotation.js +4 -7
  443. package/lib/commonjs/components/Annotation.js.map +1 -1
  444. package/lib/commonjs/components/Atmosphere.js +7 -10
  445. package/lib/commonjs/components/Atmosphere.js.map +1 -1
  446. package/lib/commonjs/components/BackgroundLayer.js +7 -8
  447. package/lib/commonjs/components/BackgroundLayer.js.map +1 -1
  448. package/lib/commonjs/components/Callout.js +4 -7
  449. package/lib/commonjs/components/Callout.js.map +1 -1
  450. package/lib/commonjs/components/Camera.js +42 -36
  451. package/lib/commonjs/components/Camera.js.map +1 -1
  452. package/lib/commonjs/components/CircleLayer.js +11 -10
  453. package/lib/commonjs/components/CircleLayer.js.map +1 -1
  454. package/lib/commonjs/components/CustomLocationProvider.js +16 -0
  455. package/lib/commonjs/components/CustomLocationProvider.js.map +1 -0
  456. package/lib/commonjs/components/FillExtrusionLayer.js +7 -8
  457. package/lib/commonjs/components/FillExtrusionLayer.js.map +1 -1
  458. package/lib/commonjs/components/FillLayer.js +11 -10
  459. package/lib/commonjs/components/FillLayer.js.map +1 -1
  460. package/lib/commonjs/components/HeadingIndicator.js +4 -6
  461. package/lib/commonjs/components/HeadingIndicator.js.map +1 -1
  462. package/lib/commonjs/components/HeatmapLayer.js +11 -10
  463. package/lib/commonjs/components/HeatmapLayer.js.map +1 -1
  464. package/lib/commonjs/components/Image.js +30 -17
  465. package/lib/commonjs/components/Image.js.map +1 -1
  466. package/lib/commonjs/components/ImageSource.js +12 -11
  467. package/lib/commonjs/components/ImageSource.js.map +1 -1
  468. package/lib/commonjs/components/Images.js +8 -7
  469. package/lib/commonjs/components/Images.js.map +1 -1
  470. package/lib/commonjs/components/Light.js +10 -13
  471. package/lib/commonjs/components/Light.js.map +1 -1
  472. package/lib/commonjs/components/LineLayer.js +11 -10
  473. package/lib/commonjs/components/LineLayer.js.map +1 -1
  474. package/lib/commonjs/components/MapView.js +32 -85
  475. package/lib/commonjs/components/MapView.js.map +1 -1
  476. package/lib/commonjs/components/MarkerView.js +6 -7
  477. package/lib/commonjs/components/MarkerView.js.map +1 -1
  478. package/lib/commonjs/components/NativeBridgeComponent.js +9 -48
  479. package/lib/commonjs/components/NativeBridgeComponent.js.map +1 -1
  480. package/lib/commonjs/components/NativeUserLocation.js +28 -8
  481. package/lib/commonjs/components/NativeUserLocation.js.map +1 -1
  482. package/lib/commonjs/components/PointAnnotation.js +31 -18
  483. package/lib/commonjs/components/PointAnnotation.js.map +1 -1
  484. package/lib/commonjs/components/RasterDemSource.js +13 -12
  485. package/lib/commonjs/components/RasterDemSource.js.map +1 -1
  486. package/lib/commonjs/components/RasterLayer.js +11 -10
  487. package/lib/commonjs/components/RasterLayer.js.map +1 -1
  488. package/lib/commonjs/components/RasterSource.js +13 -12
  489. package/lib/commonjs/components/RasterSource.js.map +1 -1
  490. package/lib/commonjs/components/ShapeSource.js +32 -66
  491. package/lib/commonjs/components/ShapeSource.js.map +1 -1
  492. package/lib/commonjs/components/SkyLayer.js +7 -8
  493. package/lib/commonjs/components/SkyLayer.js.map +1 -1
  494. package/lib/commonjs/components/Style.js +3 -4
  495. package/lib/commonjs/components/Style.js.map +1 -1
  496. package/lib/commonjs/components/StyleImport.js +20 -0
  497. package/lib/commonjs/components/StyleImport.js.map +1 -0
  498. package/lib/commonjs/components/SymbolLayer.js +11 -9
  499. package/lib/commonjs/components/SymbolLayer.js.map +1 -1
  500. package/lib/commonjs/components/Terrain.js +7 -10
  501. package/lib/commonjs/components/Terrain.js.map +1 -1
  502. package/lib/commonjs/components/UserLocation.js +5 -8
  503. package/lib/commonjs/components/UserLocation.js.map +1 -1
  504. package/lib/commonjs/components/VectorSource.js +28 -51
  505. package/lib/commonjs/components/VectorSource.js.map +1 -1
  506. package/lib/commonjs/components/Viewport.js +105 -0
  507. package/lib/commonjs/components/Viewport.js.map +1 -0
  508. package/lib/commonjs/global.d.js.map +1 -1
  509. package/lib/commonjs/index.js +3 -4
  510. package/lib/commonjs/index.js.map +1 -1
  511. package/lib/commonjs/index.web.js +2 -2
  512. package/lib/commonjs/index.web.js.map +1 -1
  513. package/lib/commonjs/modules/location/locationManager.js +6 -8
  514. package/lib/commonjs/modules/location/locationManager.js.map +1 -1
  515. package/lib/commonjs/modules/offline/OfflineCreatePackOptions.js +1 -2
  516. package/lib/commonjs/modules/offline/OfflineCreatePackOptions.js.map +1 -1
  517. package/lib/commonjs/modules/offline/OfflinePack.js +2 -3
  518. package/lib/commonjs/modules/offline/OfflinePack.js.map +1 -1
  519. package/lib/commonjs/modules/offline/offlineManager.js +9 -11
  520. package/lib/commonjs/modules/offline/offlineManager.js.map +1 -1
  521. package/lib/commonjs/modules/snapshot/SnapshotOptions.js +3 -5
  522. package/lib/commonjs/modules/snapshot/SnapshotOptions.js.map +1 -1
  523. package/lib/commonjs/modules/snapshot/snapshotManager.js +3 -5
  524. package/lib/commonjs/modules/snapshot/snapshotManager.js.map +1 -1
  525. package/lib/commonjs/requestAndroidLocationPermissions.js.map +1 -1
  526. package/lib/commonjs/shape_animators/MovePointShapeAnimator.js +21 -0
  527. package/lib/commonjs/shape_animators/MovePointShapeAnimator.js.map +1 -0
  528. package/lib/commonjs/shape_animators/ShapeAnimatorManager.js +15 -0
  529. package/lib/commonjs/shape_animators/ShapeAnimatorManager.js.map +1 -0
  530. package/lib/commonjs/specs/NativeMapViewModule.js +1 -2
  531. package/lib/commonjs/specs/NativeMapViewModule.js.map +1 -1
  532. package/lib/commonjs/specs/NativeRNMBXImageModule.js +10 -0
  533. package/lib/commonjs/specs/NativeRNMBXImageModule.js.map +1 -0
  534. package/lib/commonjs/specs/NativeRNMBXMovePointShapeAnimatorModule.js +10 -0
  535. package/lib/commonjs/specs/NativeRNMBXMovePointShapeAnimatorModule.js.map +1 -0
  536. package/lib/commonjs/specs/NativeRNMBXPointAnnotationModule.js +10 -0
  537. package/lib/commonjs/specs/NativeRNMBXPointAnnotationModule.js.map +1 -0
  538. package/lib/commonjs/specs/NativeRNMBXShapeSourceModule.js +10 -0
  539. package/lib/commonjs/specs/NativeRNMBXShapeSourceModule.js.map +1 -0
  540. package/lib/commonjs/specs/NativeRNMBXViewportModule.js +10 -0
  541. package/lib/commonjs/specs/NativeRNMBXViewportModule.js.map +1 -0
  542. package/lib/commonjs/specs/RNMBXAtmosphereNativeComponent.js +10 -0
  543. package/lib/commonjs/specs/RNMBXAtmosphereNativeComponent.js.map +1 -0
  544. package/lib/commonjs/specs/RNMBXBackgroundLayerNativeComponent.js +11 -0
  545. package/lib/commonjs/specs/RNMBXBackgroundLayerNativeComponent.js.map +1 -0
  546. package/lib/commonjs/specs/RNMBXCalloutNativeComponent.js +11 -0
  547. package/lib/commonjs/specs/RNMBXCalloutNativeComponent.js.map +1 -0
  548. package/lib/commonjs/specs/RNMBXCameraNativeComponent.js +11 -0
  549. package/lib/commonjs/specs/RNMBXCameraNativeComponent.js.map +1 -0
  550. package/lib/commonjs/specs/RNMBXCircleLayerNativeComponent.js +11 -0
  551. package/lib/commonjs/specs/RNMBXCircleLayerNativeComponent.js.map +1 -0
  552. package/lib/commonjs/specs/RNMBXCustomLocationProviderNativeComponent.js +11 -0
  553. package/lib/commonjs/specs/RNMBXCustomLocationProviderNativeComponent.js.map +1 -0
  554. package/lib/commonjs/specs/RNMBXFillExtrusionLayerNativeComponent.js +11 -0
  555. package/lib/commonjs/specs/RNMBXFillExtrusionLayerNativeComponent.js.map +1 -0
  556. package/lib/commonjs/specs/RNMBXFillLayerNativeComponent.js +11 -0
  557. package/lib/commonjs/specs/RNMBXFillLayerNativeComponent.js.map +1 -0
  558. package/lib/commonjs/specs/RNMBXHeatmapLayerNativeComponent.js +11 -0
  559. package/lib/commonjs/specs/RNMBXHeatmapLayerNativeComponent.js.map +1 -0
  560. package/lib/commonjs/specs/RNMBXImageNativeComponent.js +10 -0
  561. package/lib/commonjs/specs/RNMBXImageNativeComponent.js.map +1 -0
  562. package/lib/commonjs/specs/RNMBXImageSourceNativeComponent.js +10 -0
  563. package/lib/commonjs/specs/RNMBXImageSourceNativeComponent.js.map +1 -0
  564. package/lib/commonjs/specs/RNMBXImagesNativeComponent.js +10 -0
  565. package/lib/commonjs/specs/RNMBXImagesNativeComponent.js.map +1 -0
  566. package/lib/commonjs/specs/RNMBXLightNativeComponent.js +10 -0
  567. package/lib/commonjs/specs/RNMBXLightNativeComponent.js.map +1 -0
  568. package/lib/commonjs/specs/RNMBXLineLayerNativeComponent.js +11 -0
  569. package/lib/commonjs/specs/RNMBXLineLayerNativeComponent.js.map +1 -0
  570. package/lib/commonjs/specs/RNMBXMapViewNativeComponent.js +11 -0
  571. package/lib/commonjs/specs/RNMBXMapViewNativeComponent.js.map +1 -0
  572. package/lib/commonjs/specs/RNMBXMarkerViewNativeComponent.js +10 -0
  573. package/lib/commonjs/specs/RNMBXMarkerViewNativeComponent.js.map +1 -0
  574. package/lib/commonjs/specs/RNMBXNativeUserLocationNativeComponent.js +11 -0
  575. package/lib/commonjs/specs/RNMBXNativeUserLocationNativeComponent.js.map +1 -0
  576. package/lib/commonjs/specs/RNMBXPointAnnotationNativeComponent.js +10 -0
  577. package/lib/commonjs/specs/RNMBXPointAnnotationNativeComponent.js.map +1 -0
  578. package/lib/commonjs/specs/RNMBXRasterDemSourceNativeComponent.js +10 -0
  579. package/lib/commonjs/specs/RNMBXRasterDemSourceNativeComponent.js.map +1 -0
  580. package/lib/commonjs/specs/RNMBXRasterLayerNativeComponent.js +11 -0
  581. package/lib/commonjs/specs/RNMBXRasterLayerNativeComponent.js.map +1 -0
  582. package/lib/commonjs/specs/RNMBXRasterSourceNativeComponent.js +10 -0
  583. package/lib/commonjs/specs/RNMBXRasterSourceNativeComponent.js.map +1 -0
  584. package/lib/commonjs/specs/RNMBXShapeSourceNativeComponent.js +10 -0
  585. package/lib/commonjs/specs/RNMBXShapeSourceNativeComponent.js.map +1 -0
  586. package/lib/commonjs/specs/RNMBXSkyLayerNativeComponent.js +11 -0
  587. package/lib/commonjs/specs/RNMBXSkyLayerNativeComponent.js.map +1 -0
  588. package/lib/commonjs/specs/RNMBXStyleImportNativeComponent.js +10 -0
  589. package/lib/commonjs/specs/RNMBXStyleImportNativeComponent.js.map +1 -0
  590. package/lib/commonjs/specs/RNMBXSymbolLayerNativeComponent.js +11 -0
  591. package/lib/commonjs/specs/RNMBXSymbolLayerNativeComponent.js.map +1 -0
  592. package/lib/commonjs/specs/RNMBXTerrainNativeComponent.js +10 -0
  593. package/lib/commonjs/specs/RNMBXTerrainNativeComponent.js.map +1 -0
  594. package/lib/commonjs/specs/RNMBXVectorSourceNativeComponent.js +10 -0
  595. package/lib/commonjs/specs/RNMBXVectorSourceNativeComponent.js.map +1 -0
  596. package/lib/commonjs/specs/RNMBXViewportNativeComponent.js +36 -0
  597. package/lib/commonjs/specs/RNMBXViewportNativeComponent.js.map +1 -0
  598. package/lib/commonjs/specs/codegenUtils.js +4 -0
  599. package/lib/commonjs/specs/codegenUtils.js.map +1 -1
  600. package/lib/commonjs/types/BaseProps.js.map +1 -1
  601. package/lib/commonjs/types/OnPressEvent.js.map +1 -1
  602. package/lib/commonjs/types/Position.js.map +1 -1
  603. package/lib/commonjs/types/index.js.map +1 -1
  604. package/lib/commonjs/utils/BridgeValue.js.map +1 -1
  605. package/lib/commonjs/utils/Logger.js +5 -7
  606. package/lib/commonjs/utils/Logger.js.map +1 -1
  607. package/lib/commonjs/utils/MapboxStyles.d.js.map +1 -1
  608. package/lib/commonjs/utils/StyleValue.js.map +1 -1
  609. package/lib/commonjs/utils/animated/Animated.js +1 -2
  610. package/lib/commonjs/utils/animated/Animated.js.map +1 -1
  611. package/lib/commonjs/utils/checkRequiredProps.js.map +1 -1
  612. package/lib/commonjs/utils/deprecation.js +3 -4
  613. package/lib/commonjs/utils/deprecation.js.map +1 -1
  614. package/lib/commonjs/utils/filterUtils.js.map +1 -1
  615. package/lib/commonjs/utils/geoUtils.js +6 -13
  616. package/lib/commonjs/utils/geoUtils.js.map +1 -1
  617. package/lib/commonjs/utils/getAnnotationsLayerID.js +3 -3
  618. package/lib/commonjs/utils/getAnnotationsLayerID.js.map +1 -1
  619. package/lib/commonjs/utils/index.js +8 -34
  620. package/lib/commonjs/utils/index.js.map +1 -1
  621. package/lib/commonjs/utils/nativeRef.js +6 -6
  622. package/lib/commonjs/utils/nativeRef.js.map +1 -1
  623. package/lib/commonjs/utils/styleMap.js +2 -4
  624. package/lib/commonjs/utils/styleMap.js.map +1 -1
  625. package/lib/commonjs/web/MapContext.js +1 -2
  626. package/lib/commonjs/web/MapContext.js.map +1 -1
  627. package/lib/commonjs/web/MapboxModule.js +1 -2
  628. package/lib/commonjs/web/MapboxModule.js.map +1 -1
  629. package/lib/commonjs/web/UnimplementedComponent.js +1 -2
  630. package/lib/commonjs/web/UnimplementedComponent.js.map +1 -1
  631. package/lib/commonjs/web/components/Camera.js +2 -5
  632. package/lib/commonjs/web/components/Camera.js.map +1 -1
  633. package/lib/commonjs/web/components/MapView.js +1 -2
  634. package/lib/commonjs/web/components/MapView.js.map +1 -1
  635. package/lib/commonjs/web/index.js +1 -2
  636. package/lib/commonjs/web/index.js.map +1 -1
  637. package/lib/commonjs/web/utils/Logger.js +1 -2
  638. package/lib/commonjs/web/utils/Logger.js.map +1 -1
  639. package/lib/module/Mapbox.js +13 -1
  640. package/lib/module/Mapbox.js.map +1 -1
  641. package/lib/module/RNMBXModule.js +19 -0
  642. package/lib/module/RNMBXModule.js.map +1 -0
  643. package/lib/module/classes/AnimatedCoordinatesArray.js +4 -4
  644. package/lib/module/classes/AnimatedCoordinatesArray.js.map +1 -1
  645. package/lib/module/classes/AnimatedExtractCoordinateFromArray.js.map +1 -1
  646. package/lib/module/classes/AnimatedPoint.js +9 -14
  647. package/lib/module/classes/AnimatedPoint.js.map +1 -1
  648. package/lib/module/classes/AnimatedRouteCoordinatesArray.js +1 -2
  649. package/lib/module/classes/AnimatedRouteCoordinatesArray.js.map +1 -1
  650. package/lib/module/classes/AnimatedShape.js.map +1 -1
  651. package/lib/module/classes/index.d.js.map +1 -1
  652. package/lib/module/classes/index.js.map +1 -1
  653. package/lib/module/components/AbstractLayer.js +1 -2
  654. package/lib/module/components/AbstractLayer.js.map +1 -1
  655. package/lib/module/components/AbstractSource.js.map +1 -1
  656. package/lib/module/components/Annotation.js +3 -5
  657. package/lib/module/components/Annotation.js.map +1 -1
  658. package/lib/module/components/Atmosphere.js +2 -4
  659. package/lib/module/components/Atmosphere.js.map +1 -1
  660. package/lib/module/components/BackgroundLayer.js +6 -5
  661. package/lib/module/components/BackgroundLayer.js.map +1 -1
  662. package/lib/module/components/Callout.js +3 -4
  663. package/lib/module/components/Callout.js.map +1 -1
  664. package/lib/module/components/Camera.js +36 -29
  665. package/lib/module/components/Camera.js.map +1 -1
  666. package/lib/module/components/CircleLayer.js +10 -7
  667. package/lib/module/components/CircleLayer.js.map +1 -1
  668. package/lib/module/components/CustomLocationProvider.js +7 -0
  669. package/lib/module/components/CustomLocationProvider.js.map +1 -0
  670. package/lib/module/components/FillExtrusionLayer.js +6 -5
  671. package/lib/module/components/FillExtrusionLayer.js.map +1 -1
  672. package/lib/module/components/FillLayer.js +10 -7
  673. package/lib/module/components/FillLayer.js.map +1 -1
  674. package/lib/module/components/HeadingIndicator.js +3 -4
  675. package/lib/module/components/HeadingIndicator.js.map +1 -1
  676. package/lib/module/components/HeatmapLayer.js +10 -7
  677. package/lib/module/components/HeatmapLayer.js.map +1 -1
  678. package/lib/module/components/Image.js +26 -12
  679. package/lib/module/components/Image.js.map +1 -1
  680. package/lib/module/components/ImageSource.js +11 -8
  681. package/lib/module/components/ImageSource.js.map +1 -1
  682. package/lib/module/components/Images.js +8 -5
  683. package/lib/module/components/Images.js.map +1 -1
  684. package/lib/module/components/Light.js +6 -7
  685. package/lib/module/components/Light.js.map +1 -1
  686. package/lib/module/components/LineLayer.js +10 -7
  687. package/lib/module/components/LineLayer.js.map +1 -1
  688. package/lib/module/components/MapView.js +31 -82
  689. package/lib/module/components/MapView.js.map +1 -1
  690. package/lib/module/components/MarkerView.js +6 -5
  691. package/lib/module/components/MarkerView.js.map +1 -1
  692. package/lib/module/components/NativeBridgeComponent.js +9 -47
  693. package/lib/module/components/NativeBridgeComponent.js.map +1 -1
  694. package/lib/module/components/NativeUserLocation.js +24 -4
  695. package/lib/module/components/NativeUserLocation.js.map +1 -1
  696. package/lib/module/components/PointAnnotation.js +31 -16
  697. package/lib/module/components/PointAnnotation.js.map +1 -1
  698. package/lib/module/components/RasterDemSource.js +12 -9
  699. package/lib/module/components/RasterDemSource.js.map +1 -1
  700. package/lib/module/components/RasterLayer.js +10 -7
  701. package/lib/module/components/RasterLayer.js.map +1 -1
  702. package/lib/module/components/RasterSource.js +12 -9
  703. package/lib/module/components/RasterSource.js.map +1 -1
  704. package/lib/module/components/ShapeSource.js +32 -65
  705. package/lib/module/components/ShapeSource.js.map +1 -1
  706. package/lib/module/components/SkyLayer.js +6 -5
  707. package/lib/module/components/SkyLayer.js.map +1 -1
  708. package/lib/module/components/Style.js.map +1 -1
  709. package/lib/module/components/StyleImport.js +11 -0
  710. package/lib/module/components/StyleImport.js.map +1 -0
  711. package/lib/module/components/SymbolLayer.js +12 -9
  712. package/lib/module/components/SymbolLayer.js.map +1 -1
  713. package/lib/module/components/Terrain.js +2 -4
  714. package/lib/module/components/Terrain.js.map +1 -1
  715. package/lib/module/components/UserLocation.js +3 -4
  716. package/lib/module/components/UserLocation.js.map +1 -1
  717. package/lib/module/components/VectorSource.js +28 -50
  718. package/lib/module/components/VectorSource.js.map +1 -1
  719. package/lib/module/components/Viewport.js +96 -0
  720. package/lib/module/components/Viewport.js.map +1 -0
  721. package/lib/module/global.d.js.map +1 -1
  722. package/lib/module/index.js.map +1 -1
  723. package/lib/module/index.web.js.map +1 -1
  724. package/lib/module/modules/location/locationManager.js +3 -4
  725. package/lib/module/modules/location/locationManager.js.map +1 -1
  726. package/lib/module/modules/offline/OfflineCreatePackOptions.js.map +1 -1
  727. package/lib/module/modules/offline/OfflinePack.js +1 -1
  728. package/lib/module/modules/offline/OfflinePack.js.map +1 -1
  729. package/lib/module/modules/offline/offlineManager.js +7 -7
  730. package/lib/module/modules/offline/offlineManager.js.map +1 -1
  731. package/lib/module/modules/snapshot/SnapshotOptions.js +2 -3
  732. package/lib/module/modules/snapshot/SnapshotOptions.js.map +1 -1
  733. package/lib/module/modules/snapshot/snapshotManager.js +2 -3
  734. package/lib/module/modules/snapshot/snapshotManager.js.map +1 -1
  735. package/lib/module/requestAndroidLocationPermissions.js.map +1 -1
  736. package/lib/module/shape_animators/MovePointShapeAnimator.js +13 -0
  737. package/lib/module/shape_animators/MovePointShapeAnimator.js.map +1 -0
  738. package/lib/module/shape_animators/ShapeAnimatorManager.js +8 -0
  739. package/lib/module/shape_animators/ShapeAnimatorManager.js.map +1 -0
  740. package/lib/module/specs/NativeMapViewModule.js +1 -1
  741. package/lib/module/specs/NativeMapViewModule.js.map +1 -1
  742. package/lib/module/specs/NativeRNMBXImageModule.js +5 -0
  743. package/lib/module/specs/NativeRNMBXImageModule.js.map +1 -0
  744. package/lib/module/specs/NativeRNMBXMovePointShapeAnimatorModule.js +6 -0
  745. package/lib/module/specs/NativeRNMBXMovePointShapeAnimatorModule.js.map +1 -0
  746. package/lib/module/specs/NativeRNMBXPointAnnotationModule.js +5 -0
  747. package/lib/module/specs/NativeRNMBXPointAnnotationModule.js.map +1 -0
  748. package/lib/module/specs/NativeRNMBXShapeSourceModule.js +5 -0
  749. package/lib/module/specs/NativeRNMBXShapeSourceModule.js.map +1 -0
  750. package/lib/module/specs/NativeRNMBXViewportModule.js +6 -0
  751. package/lib/module/specs/NativeRNMBXViewportModule.js.map +1 -0
  752. package/lib/module/specs/RNMBXAtmosphereNativeComponent.js +3 -0
  753. package/lib/module/specs/RNMBXAtmosphereNativeComponent.js.map +1 -0
  754. package/lib/module/specs/RNMBXBackgroundLayerNativeComponent.js +6 -0
  755. package/lib/module/specs/RNMBXBackgroundLayerNativeComponent.js.map +1 -0
  756. package/lib/module/specs/RNMBXCalloutNativeComponent.js +6 -0
  757. package/lib/module/specs/RNMBXCalloutNativeComponent.js.map +1 -0
  758. package/lib/module/specs/RNMBXCameraNativeComponent.js +6 -0
  759. package/lib/module/specs/RNMBXCameraNativeComponent.js.map +1 -0
  760. package/lib/module/specs/RNMBXCircleLayerNativeComponent.js +6 -0
  761. package/lib/module/specs/RNMBXCircleLayerNativeComponent.js.map +1 -0
  762. package/lib/module/specs/RNMBXCustomLocationProviderNativeComponent.js +6 -0
  763. package/lib/module/specs/RNMBXCustomLocationProviderNativeComponent.js.map +1 -0
  764. package/lib/module/specs/RNMBXFillExtrusionLayerNativeComponent.js +6 -0
  765. package/lib/module/specs/RNMBXFillExtrusionLayerNativeComponent.js.map +1 -0
  766. package/lib/module/specs/RNMBXFillLayerNativeComponent.js +6 -0
  767. package/lib/module/specs/RNMBXFillLayerNativeComponent.js.map +1 -0
  768. package/lib/module/specs/RNMBXHeatmapLayerNativeComponent.js +6 -0
  769. package/lib/module/specs/RNMBXHeatmapLayerNativeComponent.js.map +1 -0
  770. package/lib/module/specs/RNMBXImageNativeComponent.js +3 -0
  771. package/lib/module/specs/RNMBXImageNativeComponent.js.map +1 -0
  772. package/lib/module/specs/RNMBXImageSourceNativeComponent.js +3 -0
  773. package/lib/module/specs/RNMBXImageSourceNativeComponent.js.map +1 -0
  774. package/lib/module/specs/RNMBXImagesNativeComponent.js +3 -0
  775. package/lib/module/specs/RNMBXImagesNativeComponent.js.map +1 -0
  776. package/lib/module/specs/RNMBXLightNativeComponent.js +3 -0
  777. package/lib/module/specs/RNMBXLightNativeComponent.js.map +1 -0
  778. package/lib/module/specs/RNMBXLineLayerNativeComponent.js +6 -0
  779. package/lib/module/specs/RNMBXLineLayerNativeComponent.js.map +1 -0
  780. package/lib/module/specs/RNMBXMapViewNativeComponent.js +8 -0
  781. package/lib/module/specs/RNMBXMapViewNativeComponent.js.map +1 -0
  782. package/lib/module/specs/RNMBXMarkerViewNativeComponent.js +3 -0
  783. package/lib/module/specs/RNMBXMarkerViewNativeComponent.js.map +1 -0
  784. package/lib/module/specs/RNMBXNativeUserLocationNativeComponent.js +6 -0
  785. package/lib/module/specs/RNMBXNativeUserLocationNativeComponent.js.map +1 -0
  786. package/lib/module/specs/RNMBXPointAnnotationNativeComponent.js +3 -0
  787. package/lib/module/specs/RNMBXPointAnnotationNativeComponent.js.map +1 -0
  788. package/lib/module/specs/RNMBXRasterDemSourceNativeComponent.js +3 -0
  789. package/lib/module/specs/RNMBXRasterDemSourceNativeComponent.js.map +1 -0
  790. package/lib/module/specs/RNMBXRasterLayerNativeComponent.js +6 -0
  791. package/lib/module/specs/RNMBXRasterLayerNativeComponent.js.map +1 -0
  792. package/lib/module/specs/RNMBXRasterSourceNativeComponent.js +3 -0
  793. package/lib/module/specs/RNMBXRasterSourceNativeComponent.js.map +1 -0
  794. package/lib/module/specs/RNMBXShapeSourceNativeComponent.js +3 -0
  795. package/lib/module/specs/RNMBXShapeSourceNativeComponent.js.map +1 -0
  796. package/lib/module/specs/RNMBXSkyLayerNativeComponent.js +6 -0
  797. package/lib/module/specs/RNMBXSkyLayerNativeComponent.js.map +1 -0
  798. package/lib/module/specs/RNMBXStyleImportNativeComponent.js +3 -0
  799. package/lib/module/specs/RNMBXStyleImportNativeComponent.js.map +1 -0
  800. package/lib/module/specs/RNMBXSymbolLayerNativeComponent.js +6 -0
  801. package/lib/module/specs/RNMBXSymbolLayerNativeComponent.js.map +1 -0
  802. package/lib/module/specs/RNMBXTerrainNativeComponent.js +3 -0
  803. package/lib/module/specs/RNMBXTerrainNativeComponent.js.map +1 -0
  804. package/lib/module/specs/RNMBXVectorSourceNativeComponent.js +3 -0
  805. package/lib/module/specs/RNMBXVectorSourceNativeComponent.js.map +1 -0
  806. package/lib/module/specs/RNMBXViewportNativeComponent.js +31 -0
  807. package/lib/module/specs/RNMBXViewportNativeComponent.js.map +1 -0
  808. package/lib/module/specs/codegenUtils.js +1 -1
  809. package/lib/module/specs/codegenUtils.js.map +1 -1
  810. package/lib/module/types/BaseProps.js.map +1 -1
  811. package/lib/module/types/OnPressEvent.js.map +1 -1
  812. package/lib/module/types/Position.js.map +1 -1
  813. package/lib/module/types/index.js.map +1 -1
  814. package/lib/module/utils/BridgeValue.js.map +1 -1
  815. package/lib/module/utils/Logger.js +4 -5
  816. package/lib/module/utils/Logger.js.map +1 -1
  817. package/lib/module/utils/MapboxStyles.d.js.map +1 -1
  818. package/lib/module/utils/StyleValue.js.map +1 -1
  819. package/lib/module/utils/animated/Animated.js.map +1 -1
  820. package/lib/module/utils/checkRequiredProps.js.map +1 -1
  821. package/lib/module/utils/deprecation.js +3 -4
  822. package/lib/module/utils/deprecation.js.map +1 -1
  823. package/lib/module/utils/filterUtils.js.map +1 -1
  824. package/lib/module/utils/geoUtils.js +1 -3
  825. package/lib/module/utils/geoUtils.js.map +1 -1
  826. package/lib/module/utils/getAnnotationsLayerID.js +3 -3
  827. package/lib/module/utils/getAnnotationsLayerID.js.map +1 -1
  828. package/lib/module/utils/index.js +8 -33
  829. package/lib/module/utils/index.js.map +1 -1
  830. package/lib/module/utils/nativeRef.js +6 -6
  831. package/lib/module/utils/nativeRef.js.map +1 -1
  832. package/lib/module/utils/styleMap.js.map +1 -1
  833. package/lib/module/web/MapContext.js.map +1 -1
  834. package/lib/module/web/MapboxModule.js.map +1 -1
  835. package/lib/module/web/UnimplementedComponent.js.map +1 -1
  836. package/lib/module/web/components/Camera.js +1 -3
  837. package/lib/module/web/components/Camera.js.map +1 -1
  838. package/lib/module/web/components/MapView.js.map +1 -1
  839. package/lib/module/web/index.js.map +1 -1
  840. package/lib/module/web/utils/Logger.js.map +1 -1
  841. package/lib/typescript/jest.config.d.ts +4 -0
  842. package/lib/typescript/jest.config.d.ts.map +1 -0
  843. package/lib/typescript/src/Mapbox.d.ts +63 -0
  844. package/lib/typescript/src/Mapbox.d.ts.map +1 -0
  845. package/lib/typescript/src/RNMBXModule.d.ts +22 -0
  846. package/lib/typescript/src/RNMBXModule.d.ts.map +1 -0
  847. package/lib/typescript/src/components/AbstractLayer.d.ts.map +1 -0
  848. package/lib/typescript/src/components/AbstractSource.d.ts.map +1 -0
  849. package/lib/typescript/src/components/Annotation.d.ts.map +1 -0
  850. package/lib/typescript/src/components/Atmosphere.d.ts +9 -0
  851. package/lib/typescript/src/components/Atmosphere.d.ts.map +1 -0
  852. package/lib/typescript/src/components/BackgroundLayer.d.ts +65 -0
  853. package/lib/typescript/src/components/BackgroundLayer.d.ts.map +1 -0
  854. package/lib/typescript/src/components/Callout.d.ts +40 -0
  855. package/lib/typescript/src/components/Callout.d.ts.map +1 -0
  856. package/lib/typescript/src/components/Camera.d.ts +120 -0
  857. package/lib/typescript/src/components/Camera.d.ts.map +1 -0
  858. package/lib/typescript/src/components/CircleLayer.d.ts +69 -0
  859. package/lib/typescript/src/components/CircleLayer.d.ts.map +1 -0
  860. package/lib/typescript/src/components/CustomLocationProvider.d.ts +15 -0
  861. package/lib/typescript/src/components/CustomLocationProvider.d.ts.map +1 -0
  862. package/lib/typescript/src/components/FillExtrusionLayer.d.ts +68 -0
  863. package/lib/typescript/src/components/FillExtrusionLayer.d.ts.map +1 -0
  864. package/lib/typescript/src/components/FillLayer.d.ts +68 -0
  865. package/lib/typescript/src/components/FillLayer.d.ts.map +1 -0
  866. package/lib/typescript/src/components/HeadingIndicator.d.ts.map +1 -0
  867. package/lib/typescript/src/components/HeatmapLayer.d.ts +69 -0
  868. package/lib/typescript/src/components/HeatmapLayer.d.ts.map +1 -0
  869. package/lib/typescript/src/components/Image.d.ts +25 -0
  870. package/lib/typescript/src/components/Image.d.ts.map +1 -0
  871. package/lib/typescript/src/components/ImageSource.d.ts +36 -0
  872. package/lib/typescript/src/components/ImageSource.d.ts.map +1 -0
  873. package/lib/typescript/src/components/Images.d.ts +80 -0
  874. package/lib/typescript/src/components/Images.d.ts.map +1 -0
  875. package/lib/typescript/src/components/Light.d.ts +16 -0
  876. package/lib/typescript/src/components/Light.d.ts.map +1 -0
  877. package/lib/typescript/src/components/LineLayer.d.ts +68 -0
  878. package/lib/typescript/src/components/LineLayer.d.ts.map +1 -0
  879. package/lib/typescript/src/components/MapView.d.ts +572 -0
  880. package/lib/typescript/src/components/MapView.d.ts.map +1 -0
  881. package/lib/typescript/src/components/MarkerView.d.ts +53 -0
  882. package/lib/typescript/src/components/MarkerView.d.ts.map +1 -0
  883. package/lib/typescript/src/components/NativeBridgeComponent.d.ts +46 -0
  884. package/lib/typescript/src/components/NativeBridgeComponent.d.ts.map +1 -0
  885. package/lib/typescript/src/components/NativeUserLocation.d.ts +62 -0
  886. package/lib/typescript/src/components/NativeUserLocation.d.ts.map +1 -0
  887. package/lib/typescript/src/components/PointAnnotation.d.ts +160 -0
  888. package/lib/typescript/src/components/PointAnnotation.d.ts.map +1 -0
  889. package/lib/typescript/src/components/RasterDemSource.d.ts +49 -0
  890. package/lib/typescript/src/components/RasterDemSource.d.ts.map +1 -0
  891. package/lib/typescript/src/components/RasterLayer.d.ts +65 -0
  892. package/lib/typescript/src/components/RasterLayer.d.ts.map +1 -0
  893. package/lib/typescript/src/components/RasterSource.d.ts +62 -0
  894. package/lib/typescript/src/components/RasterSource.d.ts.map +1 -0
  895. package/lib/typescript/src/components/ShapeSource.d.ts +198 -0
  896. package/lib/typescript/src/components/ShapeSource.d.ts.map +1 -0
  897. package/lib/typescript/src/components/SkyLayer.d.ts +55 -0
  898. package/lib/typescript/src/components/SkyLayer.d.ts.map +1 -0
  899. package/lib/typescript/src/components/Style.d.ts.map +1 -0
  900. package/lib/typescript/src/components/StyleImport.d.ts +27 -0
  901. package/lib/typescript/src/components/StyleImport.d.ts.map +1 -0
  902. package/lib/typescript/src/components/SymbolLayer.d.ts +76 -0
  903. package/lib/typescript/src/components/SymbolLayer.d.ts.map +1 -0
  904. package/lib/typescript/src/components/Terrain.d.ts +20 -0
  905. package/lib/typescript/src/components/Terrain.d.ts.map +1 -0
  906. package/lib/typescript/src/components/UserLocation.d.ts +103 -0
  907. package/lib/typescript/src/components/UserLocation.d.ts.map +1 -0
  908. package/lib/typescript/src/components/VectorSource.d.ts +87 -0
  909. package/lib/typescript/src/components/VectorSource.d.ts.map +1 -0
  910. package/lib/typescript/src/components/Viewport.d.ts +105 -0
  911. package/lib/typescript/src/components/Viewport.d.ts.map +1 -0
  912. package/lib/typescript/src/index.d.ts.map +1 -0
  913. package/lib/typescript/src/modules/location/locationManager.d.ts.map +1 -0
  914. package/lib/typescript/src/modules/offline/OfflineCreatePackOptions.d.ts.map +1 -0
  915. package/lib/typescript/src/modules/offline/OfflinePack.d.ts.map +1 -0
  916. package/lib/typescript/src/modules/offline/offlineManager.d.ts.map +1 -0
  917. package/lib/typescript/src/modules/snapshot/SnapshotOptions.d.ts.map +1 -0
  918. package/lib/typescript/src/modules/snapshot/snapshotManager.d.ts.map +1 -0
  919. package/lib/typescript/src/requestAndroidLocationPermissions.d.ts.map +1 -0
  920. package/lib/typescript/src/shape_animators/MovePointShapeAnimator.d.ts +7 -0
  921. package/lib/typescript/src/shape_animators/MovePointShapeAnimator.d.ts.map +1 -0
  922. package/lib/typescript/src/shape_animators/ShapeAnimatorManager.d.ts +5 -0
  923. package/lib/typescript/src/shape_animators/ShapeAnimatorManager.d.ts.map +1 -0
  924. package/lib/typescript/src/specs/NativeMapViewModule.d.ts +20 -0
  925. package/lib/typescript/src/specs/NativeMapViewModule.d.ts.map +1 -0
  926. package/lib/typescript/src/specs/NativeRNMBXImageModule.d.ts +8 -0
  927. package/lib/typescript/src/specs/NativeRNMBXImageModule.d.ts.map +1 -0
  928. package/lib/typescript/src/specs/NativeRNMBXMovePointShapeAnimatorModule.d.ts +10 -0
  929. package/lib/typescript/src/specs/NativeRNMBXMovePointShapeAnimatorModule.d.ts.map +1 -0
  930. package/lib/typescript/src/specs/NativeRNMBXPointAnnotationModule.d.ts +8 -0
  931. package/lib/typescript/src/specs/NativeRNMBXPointAnnotationModule.d.ts.map +1 -0
  932. package/lib/typescript/src/specs/NativeRNMBXShapeSourceModule.d.ts +10 -0
  933. package/lib/typescript/src/specs/NativeRNMBXShapeSourceModule.d.ts.map +1 -0
  934. package/lib/typescript/src/specs/NativeRNMBXViewportModule.d.ts +35 -0
  935. package/lib/typescript/src/specs/NativeRNMBXViewportModule.d.ts.map +1 -0
  936. package/lib/typescript/src/specs/RNMBXAtmosphereNativeComponent.d.ts +8 -0
  937. package/lib/typescript/src/specs/RNMBXAtmosphereNativeComponent.d.ts.map +1 -0
  938. package/lib/typescript/src/specs/RNMBXBackgroundLayerNativeComponent.d.ts +19 -0
  939. package/lib/typescript/src/specs/RNMBXBackgroundLayerNativeComponent.d.ts.map +1 -0
  940. package/lib/typescript/src/specs/RNMBXCalloutNativeComponent.d.ts +6 -0
  941. package/lib/typescript/src/specs/RNMBXCalloutNativeComponent.d.ts.map +1 -0
  942. package/lib/typescript/src/specs/RNMBXCameraNativeComponent.d.ts +32 -0
  943. package/lib/typescript/src/specs/RNMBXCameraNativeComponent.d.ts.map +1 -0
  944. package/lib/typescript/src/specs/RNMBXCircleLayerNativeComponent.d.ts +20 -0
  945. package/lib/typescript/src/specs/RNMBXCircleLayerNativeComponent.d.ts.map +1 -0
  946. package/lib/typescript/src/specs/RNMBXCustomLocationProviderNativeComponent.d.ts +12 -0
  947. package/lib/typescript/src/specs/RNMBXCustomLocationProviderNativeComponent.d.ts.map +1 -0
  948. package/lib/typescript/src/specs/RNMBXFillExtrusionLayerNativeComponent.d.ts +20 -0
  949. package/lib/typescript/src/specs/RNMBXFillExtrusionLayerNativeComponent.d.ts.map +1 -0
  950. package/lib/typescript/src/specs/RNMBXFillLayerNativeComponent.d.ts +20 -0
  951. package/lib/typescript/src/specs/RNMBXFillLayerNativeComponent.d.ts.map +1 -0
  952. package/lib/typescript/src/specs/RNMBXHeatmapLayerNativeComponent.d.ts +20 -0
  953. package/lib/typescript/src/specs/RNMBXHeatmapLayerNativeComponent.d.ts.map +1 -0
  954. package/lib/typescript/src/specs/RNMBXImageNativeComponent.d.ts +14 -0
  955. package/lib/typescript/src/specs/RNMBXImageNativeComponent.d.ts.map +1 -0
  956. package/lib/typescript/src/specs/RNMBXImageSourceNativeComponent.d.ts +11 -0
  957. package/lib/typescript/src/specs/RNMBXImageSourceNativeComponent.d.ts.map +1 -0
  958. package/lib/typescript/src/specs/RNMBXImagesNativeComponent.d.ts +18 -0
  959. package/lib/typescript/src/specs/RNMBXImagesNativeComponent.d.ts.map +1 -0
  960. package/lib/typescript/src/specs/RNMBXLightNativeComponent.d.ts +8 -0
  961. package/lib/typescript/src/specs/RNMBXLightNativeComponent.d.ts.map +1 -0
  962. package/lib/typescript/src/specs/RNMBXLineLayerNativeComponent.d.ts +20 -0
  963. package/lib/typescript/src/specs/RNMBXLineLayerNativeComponent.d.ts.map +1 -0
  964. package/lib/typescript/src/specs/RNMBXMapViewNativeComponent.d.ts +104 -0
  965. package/lib/typescript/src/specs/RNMBXMapViewNativeComponent.d.ts.map +1 -0
  966. package/lib/typescript/src/specs/RNMBXMarkerViewNativeComponent.d.ts +16 -0
  967. package/lib/typescript/src/specs/RNMBXMarkerViewNativeComponent.d.ts.map +1 -0
  968. package/lib/typescript/src/specs/RNMBXNativeUserLocationNativeComponent.d.ts +18 -0
  969. package/lib/typescript/src/specs/RNMBXNativeUserLocationNativeComponent.d.ts.map +1 -0
  970. package/lib/typescript/src/specs/RNMBXPointAnnotationNativeComponent.d.ts +37 -0
  971. package/lib/typescript/src/specs/RNMBXPointAnnotationNativeComponent.d.ts.map +1 -0
  972. package/lib/typescript/src/specs/RNMBXRasterDemSourceNativeComponent.d.ts +15 -0
  973. package/lib/typescript/src/specs/RNMBXRasterDemSourceNativeComponent.d.ts.map +1 -0
  974. package/lib/typescript/src/specs/RNMBXRasterLayerNativeComponent.d.ts +20 -0
  975. package/lib/typescript/src/specs/RNMBXRasterLayerNativeComponent.d.ts.map +1 -0
  976. package/lib/typescript/src/specs/RNMBXRasterSourceNativeComponent.d.ts +17 -0
  977. package/lib/typescript/src/specs/RNMBXRasterSourceNativeComponent.d.ts.map +1 -0
  978. package/lib/typescript/src/specs/RNMBXShapeSourceNativeComponent.d.ts +27 -0
  979. package/lib/typescript/src/specs/RNMBXShapeSourceNativeComponent.d.ts.map +1 -0
  980. package/lib/typescript/src/specs/RNMBXSkyLayerNativeComponent.d.ts +19 -0
  981. package/lib/typescript/src/specs/RNMBXSkyLayerNativeComponent.d.ts.map +1 -0
  982. package/lib/typescript/src/specs/RNMBXStyleImportNativeComponent.d.ts +12 -0
  983. package/lib/typescript/src/specs/RNMBXStyleImportNativeComponent.d.ts.map +1 -0
  984. package/lib/typescript/src/specs/RNMBXSymbolLayerNativeComponent.d.ts +20 -0
  985. package/lib/typescript/src/specs/RNMBXSymbolLayerNativeComponent.d.ts.map +1 -0
  986. package/lib/typescript/src/specs/RNMBXTerrainNativeComponent.d.ts +9 -0
  987. package/lib/typescript/src/specs/RNMBXTerrainNativeComponent.d.ts.map +1 -0
  988. package/lib/typescript/src/specs/RNMBXVectorSourceNativeComponent.d.ts +23 -0
  989. package/lib/typescript/src/specs/RNMBXVectorSourceNativeComponent.d.ts.map +1 -0
  990. package/lib/typescript/src/specs/RNMBXViewportNativeComponent.d.ts +59 -0
  991. package/lib/typescript/src/specs/RNMBXViewportNativeComponent.d.ts.map +1 -0
  992. package/lib/typescript/src/specs/codegenUtils.d.ts +21 -0
  993. package/lib/typescript/src/specs/codegenUtils.d.ts.map +1 -0
  994. package/lib/typescript/src/types/BaseProps.d.ts.map +1 -0
  995. package/lib/typescript/src/types/OnPressEvent.d.ts.map +1 -0
  996. package/lib/typescript/src/types/Position.d.ts +5 -0
  997. package/lib/typescript/src/types/Position.d.ts.map +1 -0
  998. package/lib/typescript/src/types/index.d.ts.map +1 -0
  999. package/lib/typescript/src/utils/BridgeValue.d.ts.map +1 -0
  1000. package/lib/typescript/src/utils/Logger.d.ts.map +1 -0
  1001. package/lib/typescript/src/utils/StyleValue.d.ts.map +1 -0
  1002. package/lib/typescript/src/utils/animated/Animated.d.ts.map +1 -0
  1003. package/lib/typescript/src/utils/checkRequiredProps.d.ts.map +1 -0
  1004. package/lib/typescript/src/utils/deprecation.d.ts.map +1 -0
  1005. package/lib/typescript/src/utils/filterUtils.d.ts.map +1 -0
  1006. package/lib/typescript/src/utils/geoUtils.d.ts.map +1 -0
  1007. package/lib/typescript/src/utils/getAnnotationsLayerID.d.ts.map +1 -0
  1008. package/lib/typescript/src/utils/index.d.ts +33 -0
  1009. package/lib/typescript/src/utils/index.d.ts.map +1 -0
  1010. package/lib/typescript/src/utils/nativeRef.d.ts +21 -0
  1011. package/lib/typescript/src/utils/nativeRef.d.ts.map +1 -0
  1012. package/lib/typescript/src/utils/styleMap.d.ts.map +1 -0
  1013. package/lib/typescript/src/web/MapContext.d.ts.map +1 -0
  1014. package/lib/typescript/src/web/components/Camera.d.ts.map +1 -0
  1015. package/lib/typescript/src/web/components/MapView.d.ts.map +1 -0
  1016. package/lib/typescript/src/web/utils/Logger.d.ts.map +1 -0
  1017. package/package.json +16 -31
  1018. package/plugin/build/withMapbox.d.ts +5 -4
  1019. package/plugin/build/withMapbox.js +46 -19
  1020. package/plugin/install.md +21 -1
  1021. package/plugin/src/withMapbox.ts +79 -21
  1022. package/rnmapbox-maps.podspec +44 -74
  1023. package/setup-jest.js +49 -7
  1024. package/src/Mapbox.ts +15 -1
  1025. package/src/RNMBXModule.ts +54 -0
  1026. package/src/components/Atmosphere.tsx +3 -13
  1027. package/src/components/BackgroundLayer.tsx +10 -8
  1028. package/src/components/Callout.tsx +4 -13
  1029. package/src/components/Camera.tsx +33 -11
  1030. package/src/components/CircleLayer.tsx +7 -12
  1031. package/src/components/CustomLocationProvider.tsx +22 -0
  1032. package/src/components/FillExtrusionLayer.tsx +10 -8
  1033. package/src/components/FillLayer.tsx +7 -8
  1034. package/src/components/HeatmapLayer.tsx +7 -8
  1035. package/src/components/Image.tsx +17 -13
  1036. package/src/components/ImageSource.tsx +5 -7
  1037. package/src/components/Images.tsx +10 -20
  1038. package/src/components/Light.tsx +5 -13
  1039. package/src/components/LineLayer.tsx +7 -8
  1040. package/src/components/MapView.tsx +117 -95
  1041. package/src/components/MarkerView.tsx +7 -20
  1042. package/src/components/NativeBridgeComponent.tsx +9 -57
  1043. package/src/components/NativeUserLocation.tsx +68 -7
  1044. package/src/components/PointAnnotation.tsx +33 -25
  1045. package/src/components/RasterDemSource.tsx +6 -9
  1046. package/src/components/RasterLayer.tsx +7 -8
  1047. package/src/components/RasterSource.tsx +6 -9
  1048. package/src/components/ShapeSource.tsx +23 -93
  1049. package/src/components/SkyLayer.tsx +10 -8
  1050. package/src/components/StyleImport.tsx +33 -0
  1051. package/src/components/SymbolLayer.tsx +7 -8
  1052. package/src/components/Terrain.tsx +3 -11
  1053. package/src/components/UserLocation.tsx +1 -0
  1054. package/src/components/VectorSource.tsx +20 -61
  1055. package/src/components/Viewport.tsx +293 -0
  1056. package/src/modules/location/locationManager.ts +2 -2
  1057. package/src/modules/offline/OfflinePack.ts +1 -1
  1058. package/src/modules/offline/offlineManager.ts +7 -7
  1059. package/src/modules/snapshot/SnapshotOptions.ts +1 -1
  1060. package/src/modules/snapshot/snapshotManager.ts +1 -1
  1061. package/src/shape_animators/MovePointShapeAnimator.ts +18 -0
  1062. package/src/shape_animators/ShapeAnimatorManager.tsx +8 -0
  1063. package/src/specs/NativeMapViewModule.ts +1 -1
  1064. package/src/specs/NativeRNMBXImageModule.ts +10 -0
  1065. package/src/specs/NativeRNMBXMovePointShapeAnimatorModule.ts +16 -0
  1066. package/src/specs/NativeRNMBXPointAnnotationModule.ts +12 -0
  1067. package/src/specs/NativeRNMBXShapeSourceModule.ts +23 -0
  1068. package/src/specs/NativeRNMBXViewportModule.ts +41 -0
  1069. package/src/specs/RNMBXAtmosphereNativeComponent.ts +12 -0
  1070. package/src/specs/RNMBXBackgroundLayerNativeComponent.ts +27 -0
  1071. package/src/specs/RNMBXCalloutNativeComponent.ts +9 -0
  1072. package/src/specs/RNMBXCameraNativeComponent.ts +46 -0
  1073. package/src/specs/RNMBXCircleLayerNativeComponent.ts +28 -0
  1074. package/src/specs/RNMBXCustomLocationProviderNativeComponent.ts +19 -0
  1075. package/src/specs/RNMBXFillExtrusionLayerNativeComponent.ts +28 -0
  1076. package/src/specs/RNMBXFillLayerNativeComponent.ts +28 -0
  1077. package/src/specs/RNMBXHeatmapLayerNativeComponent.ts +28 -0
  1078. package/src/specs/RNMBXImageNativeComponent.ts +18 -0
  1079. package/src/specs/RNMBXImageSourceNativeComponent.ts +15 -0
  1080. package/src/specs/RNMBXImagesNativeComponent.ts +18 -0
  1081. package/src/specs/RNMBXLightNativeComponent.ts +12 -0
  1082. package/src/specs/RNMBXLineLayerNativeComponent.ts +28 -0
  1083. package/src/specs/RNMBXMapViewNativeComponent.ts +135 -0
  1084. package/src/specs/RNMBXMarkerViewNativeComponent.ts +21 -0
  1085. package/src/specs/RNMBXNativeUserLocationNativeComponent.ts +26 -0
  1086. package/src/specs/RNMBXPointAnnotationNativeComponent.ts +40 -0
  1087. package/src/specs/RNMBXRasterDemSourceNativeComponent.ts +19 -0
  1088. package/src/specs/RNMBXRasterLayerNativeComponent.ts +28 -0
  1089. package/src/specs/RNMBXRasterSourceNativeComponent.ts +21 -0
  1090. package/src/specs/RNMBXShapeSourceNativeComponent.ts +33 -0
  1091. package/src/specs/RNMBXSkyLayerNativeComponent.ts +27 -0
  1092. package/src/specs/RNMBXStyleImportNativeComponent.ts +14 -0
  1093. package/src/specs/RNMBXSymbolLayerNativeComponent.ts +28 -0
  1094. package/src/specs/RNMBXTerrainNativeComponent.ts +13 -0
  1095. package/src/specs/RNMBXVectorSourceNativeComponent.ts +28 -0
  1096. package/src/specs/RNMBXViewportNativeComponent.ts +117 -0
  1097. package/src/specs/codegenUtils.ts +26 -1
  1098. package/src/types/Position.ts +3 -0
  1099. package/src/utils/Logger.ts +3 -3
  1100. package/src/utils/getAnnotationsLayerID.ts +3 -3
  1101. package/src/utils/index.ts +6 -43
  1102. package/src/utils/nativeRef.ts +6 -6
  1103. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/RCTMGLPackage.java +0 -99
  1104. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/AbstractEvent.java +0 -35
  1105. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/AbstractEventEmitter.java +0 -80
  1106. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/AbstractMapFeature.java +0 -19
  1107. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/annotation/MarkerView.java +0 -23
  1108. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/annotation/MarkerViewManager.java +0 -69
  1109. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/annotation/RCTMGLCallout.java +0 -15
  1110. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/annotation/RCTMGLCalloutManager.java +0 -22
  1111. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/annotation/RCTMGLMarkerView.java +0 -112
  1112. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/annotation/RCTMGLMarkerViewManager.java +0 -45
  1113. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/annotation/RCTMGLPointAnnotation.java +0 -360
  1114. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/annotation/RCTMGLPointAnnotationManager.java +0 -88
  1115. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/camera/CameraStop.java +0 -249
  1116. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/camera/CameraUpdateItem.java +0 -125
  1117. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/camera/CameraUpdateQueue.java +0 -73
  1118. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/camera/RCTMGLCamera.java +0 -530
  1119. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/camera/RCTMGLCameraManager.java +0 -101
  1120. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/camera/constants/CameraMode.java +0 -22
  1121. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/images/RCTMGLImages.java +0 -234
  1122. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/images/RCTMGLImagesManager.java +0 -103
  1123. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/location/LocationComponentManager.java +0 -149
  1124. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/location/RCTMGLNativeUserLocation.java +0 -67
  1125. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/location/RCTMGLNativeUserLocationManager.java +0 -35
  1126. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/mapview/LayerSourceInfo.java +0 -59
  1127. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/mapview/RCTMGLAndroidTextureMapView.java +0 -16
  1128. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/mapview/RCTMGLAndroidTextureMapViewManager.java +0 -31
  1129. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/mapview/RCTMGLMapView.java +0 -1528
  1130. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/mapview/RCTMGLMapViewManager.java +0 -355
  1131. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/mapview/helpers/CameraChangeTracker.java +0 -41
  1132. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/styles/RCTMGLStyle.java +0 -83
  1133. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/styles/RCTMGLStyleFactory.java +0 -2220
  1134. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/styles/RCTMGLStyleFunctionParser.java +0 -108
  1135. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/styles/RCTMGLStyleValue.java +0 -216
  1136. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/styles/layers/RCTLayer.java +0 -287
  1137. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/styles/layers/RCTMGLBackgroundLayer.java +0 -27
  1138. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/styles/layers/RCTMGLBackgroundLayerManager.java +0 -64
  1139. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/styles/layers/RCTMGLCircleLayer.java +0 -55
  1140. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/styles/layers/RCTMGLCircleLayerManager.java +0 -77
  1141. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/styles/layers/RCTMGLFillExtrusionLayer.java +0 -55
  1142. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/styles/layers/RCTMGLFillExtrusionLayerManager.java +0 -80
  1143. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/styles/layers/RCTMGLFillLayer.java +0 -55
  1144. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/styles/layers/RCTMGLFillLayerManager.java +0 -80
  1145. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/styles/layers/RCTMGLHeatmapLayer.java +0 -55
  1146. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/styles/layers/RCTMGLHeatmapLayerManager.java +0 -77
  1147. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/styles/layers/RCTMGLLineLayer.java +0 -55
  1148. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/styles/layers/RCTMGLLineLayerManager.java +0 -79
  1149. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/styles/layers/RCTMGLRasterLayer.java +0 -27
  1150. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/styles/layers/RCTMGLRasterLayerManager.java +0 -64
  1151. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/styles/layers/RCTMGLSymbolLayer.java +0 -55
  1152. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/styles/layers/RCTMGLSymbolLayerManager.java +0 -75
  1153. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/styles/light/RCTMGLLight.java +0 -65
  1154. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/styles/light/RCTMGLLightManager.java +0 -29
  1155. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/styles/sources/RCTMGLImageSource.java +0 -81
  1156. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/styles/sources/RCTMGLImageSourceManager.java +0 -72
  1157. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/styles/sources/RCTMGLRasterSource.java +0 -45
  1158. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/styles/sources/RCTMGLRasterSourceManager.java +0 -44
  1159. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/styles/sources/RCTMGLShapeSource.java +0 -316
  1160. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/styles/sources/RCTMGLShapeSourceManager.java +0 -253
  1161. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/styles/sources/RCTMGLTileSource.java +0 -97
  1162. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/styles/sources/RCTMGLTileSourceManager.java +0 -80
  1163. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/styles/sources/RCTMGLVectorSource.java +0 -64
  1164. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/styles/sources/RCTMGLVectorSourceManager.java +0 -84
  1165. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/components/styles/sources/RCTSource.java +0 -244
  1166. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/events/AbstractEvent.java +0 -66
  1167. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/events/AndroidCallbackEvent.java +0 -38
  1168. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/events/EventEmitter.java +0 -45
  1169. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/events/FeatureClickEvent.java +0 -79
  1170. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/events/IEvent.java +0 -18
  1171. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/events/ImageMissingEvent.java +0 -42
  1172. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/events/LocationEvent.java +0 -100
  1173. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/events/MapChangeEvent.java +0 -47
  1174. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/events/MapClickEvent.java +0 -51
  1175. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/events/MapUserTrackingModeEvent.java +0 -36
  1176. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/events/OfflineEvent.java +0 -29
  1177. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/events/PointAnnotationClickEvent.java +0 -46
  1178. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/events/PointAnnotationDragEvent.java +0 -51
  1179. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/events/constants/EventKeys.java +0 -39
  1180. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/events/constants/EventTypes.java +0 -51
  1181. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/http/CustomHeadersInterceptor.java +0 -38
  1182. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/location/LocationManager.java +0 -147
  1183. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/location/UserLocation.java +0 -63
  1184. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/location/UserLocationVerticalAlignment.java +0 -11
  1185. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/location/UserTrackingMode.java +0 -63
  1186. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/location/UserTrackingState.java +0 -19
  1187. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/modules/RCTMGLLocationModule.java +0 -164
  1188. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/modules/RCTMGLLogging.java +0 -140
  1189. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/modules/RCTMGLModule.java +0 -377
  1190. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/modules/RCTMGLOfflineModule.java +0 -597
  1191. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/modules/RCTMGLSnapshotModule.java +0 -139
  1192. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/utils/BitmapUtils.java +0 -129
  1193. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/utils/ClusterPropertyEntry.java +0 -13
  1194. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/utils/ConvertUtils.java +0 -257
  1195. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/utils/DownloadMapImageTask.java +0 -159
  1196. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/utils/ExpressionParser.java +0 -74
  1197. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/utils/GeoJSONUtils.java +0 -209
  1198. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/utils/GeoViewport.java +0 -38
  1199. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/utils/ImageEntry.java +0 -25
  1200. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/utils/ResourceUtils.java +0 -30
  1201. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/utils/SimpleEventCallback.java +0 -30
  1202. package/android/src/main/java-mapboxgl/common/com/mapbox/rctmgl/utils/SphericalMercator.java +0 -69
  1203. package/android/src/main/java-mapboxgl/mapbox/com/mapbox/rctmgl/impl/InstanceManagerImpl.java +0 -35
  1204. package/android/src/main/java-mapboxgl/mapbox/com/mapbox/rctmgl/impl/LocationEngineCallbackImpl.java +0 -12
  1205. package/android/src/main/java-mapboxgl/mapbox/com/mapbox/rctmgl/impl/LocationEngineResultImpl.java +0 -18
  1206. package/android/src/main/java-mapboxgl/mapbox/com/mapbox/rctmgl/impl/LocationManagerImpl.java +0 -64
  1207. package/android/src/main/java-mapboxgl/mapbox/com/mapbox/rctmgl/impl/PermissionsManagerImpl.java +0 -10
  1208. package/android/src/main/java-mapboxgl/mapbox/com/mapbox/rctmgl/impl/SymbolClickListenerImpl.java +0 -18
  1209. package/android/src/main/java-mapboxgl/mapbox/com/mapbox/rctmgl/impl/TelemetryImpl.java +0 -11
  1210. package/android/src/main/java-mapboxgl/maplibre/com/mapbox/rctmgl/impl/InstanceManagerImpl.java +0 -42
  1211. package/android/src/main/java-mapboxgl/maplibre/com/mapbox/rctmgl/impl/LocationEngineCallbackImpl.java +0 -12
  1212. package/android/src/main/java-mapboxgl/maplibre/com/mapbox/rctmgl/impl/LocationEngineResultImpl.java +0 -18
  1213. package/android/src/main/java-mapboxgl/maplibre/com/mapbox/rctmgl/impl/LocationManagerImpl.java +0 -64
  1214. package/android/src/main/java-mapboxgl/maplibre/com/mapbox/rctmgl/impl/PermissionsManagerImpl.java +0 -10
  1215. package/android/src/main/java-mapboxgl/maplibre/com/mapbox/rctmgl/impl/SymbolClickListenerImpl.java +0 -18
  1216. package/android/src/main/java-mapboxgl/maplibre/com/mapbox/rctmgl/impl/TelemetryImpl.java +0 -7
  1217. package/android/src/main/java-v10/com/mapbox/rctmgl/RCTMGLPackage.java +0 -215
  1218. package/android/src/main/java-v10/com/mapbox/rctmgl/components/AbstractEvent.java +0 -35
  1219. package/android/src/main/java-v10/com/mapbox/rctmgl/components/AbstractEventEmitter.kt +0 -74
  1220. package/android/src/main/java-v10/com/mapbox/rctmgl/components/AbstractMapFeature.kt +0 -40
  1221. package/android/src/main/java-v10/com/mapbox/rctmgl/components/annotation/RCTMGLCallout.kt +0 -6
  1222. package/android/src/main/java-v10/com/mapbox/rctmgl/components/annotation/RCTMGLCalloutManager.java +0 -18
  1223. package/android/src/main/java-v10/com/mapbox/rctmgl/components/annotation/RCTMGLMarkerView.kt +0 -201
  1224. package/android/src/main/java-v10/com/mapbox/rctmgl/components/annotation/RCTMGLMarkerViewManager.kt +0 -78
  1225. package/android/src/main/java-v10/com/mapbox/rctmgl/components/annotation/RCTMGLPointAnnotation.kt +0 -313
  1226. package/android/src/main/java-v10/com/mapbox/rctmgl/components/annotation/RCTMGLPointAnnotationManager.java +0 -84
  1227. package/android/src/main/java-v10/com/mapbox/rctmgl/components/camera/CameraStop.kt +0 -243
  1228. package/android/src/main/java-v10/com/mapbox/rctmgl/components/camera/CameraUpdateItem.kt +0 -135
  1229. package/android/src/main/java-v10/com/mapbox/rctmgl/components/camera/CameraUpdateQueue.kt +0 -66
  1230. package/android/src/main/java-v10/com/mapbox/rctmgl/components/camera/RCTMGLCamera.kt +0 -505
  1231. package/android/src/main/java-v10/com/mapbox/rctmgl/components/camera/RCTMGLCameraManager.kt +0 -108
  1232. package/android/src/main/java-v10/com/mapbox/rctmgl/components/camera/constants/CameraMode.java +0 -18
  1233. package/android/src/main/java-v10/com/mapbox/rctmgl/components/images/RCTMGLImage.kt +0 -74
  1234. package/android/src/main/java-v10/com/mapbox/rctmgl/components/images/RCTMGLImageManager.kt +0 -67
  1235. package/android/src/main/java-v10/com/mapbox/rctmgl/components/images/RCTMGLImages.kt +0 -262
  1236. package/android/src/main/java-v10/com/mapbox/rctmgl/components/images/RCTMGLImagesManager.kt +0 -221
  1237. package/android/src/main/java-v10/com/mapbox/rctmgl/components/location/CameraMode.java +0 -62
  1238. package/android/src/main/java-v10/com/mapbox/rctmgl/components/location/LocationComponentManager.kt +0 -170
  1239. package/android/src/main/java-v10/com/mapbox/rctmgl/components/location/RCTMGLNativeUserLocation.kt +0 -81
  1240. package/android/src/main/java-v10/com/mapbox/rctmgl/components/location/RCTMGLNativeUserLocationManager.kt +0 -32
  1241. package/android/src/main/java-v10/com/mapbox/rctmgl/components/location/UserLocation.java +0 -59
  1242. package/android/src/main/java-v10/com/mapbox/rctmgl/components/location/UserTrackingMode.kt +0 -42
  1243. package/android/src/main/java-v10/com/mapbox/rctmgl/components/mapview/NativeMapViewModule.kt +0 -193
  1244. package/android/src/main/java-v10/com/mapbox/rctmgl/components/mapview/OnMapReadyCallback.java +0 -9
  1245. package/android/src/main/java-v10/com/mapbox/rctmgl/components/mapview/RCTMGLAndroidTextureMapViewManager.kt +0 -37
  1246. package/android/src/main/java-v10/com/mapbox/rctmgl/components/mapview/RCTMGLMapView.kt +0 -1565
  1247. package/android/src/main/java-v10/com/mapbox/rctmgl/components/mapview/RCTMGLMapViewManager.kt +0 -333
  1248. package/android/src/main/java-v10/com/mapbox/rctmgl/components/mapview/helpers/CameraChangeTracker.kt +0 -23
  1249. package/android/src/main/java-v10/com/mapbox/rctmgl/components/styles/RCTMGLStyle.kt +0 -69
  1250. package/android/src/main/java-v10/com/mapbox/rctmgl/components/styles/RCTMGLStyleFactory.java +0 -2586
  1251. package/android/src/main/java-v10/com/mapbox/rctmgl/components/styles/RCTMGLStyleValue.kt +0 -223
  1252. package/android/src/main/java-v10/com/mapbox/rctmgl/components/styles/atmosphere/RCTMGLAtmosphere.kt +0 -62
  1253. package/android/src/main/java-v10/com/mapbox/rctmgl/components/styles/atmosphere/RCTMGLAtmosphereManager.kt +0 -30
  1254. package/android/src/main/java-v10/com/mapbox/rctmgl/components/styles/layers/RCTLayer.kt +0 -321
  1255. package/android/src/main/java-v10/com/mapbox/rctmgl/components/styles/layers/RCTMGLBackgroundLayer.kt +0 -21
  1256. package/android/src/main/java-v10/com/mapbox/rctmgl/components/styles/layers/RCTMGLBackgroundLayerManager.kt +0 -65
  1257. package/android/src/main/java-v10/com/mapbox/rctmgl/components/styles/layers/RCTMGLCircleLayer.kt +0 -40
  1258. package/android/src/main/java-v10/com/mapbox/rctmgl/components/styles/layers/RCTMGLCircleLayerManager.kt +0 -76
  1259. package/android/src/main/java-v10/com/mapbox/rctmgl/components/styles/layers/RCTMGLFillExtrusionLayer.kt +0 -43
  1260. package/android/src/main/java-v10/com/mapbox/rctmgl/components/styles/layers/RCTMGLFillExtrusionLayerManager.kt +0 -76
  1261. package/android/src/main/java-v10/com/mapbox/rctmgl/components/styles/layers/RCTMGLFillLayer.kt +0 -40
  1262. package/android/src/main/java-v10/com/mapbox/rctmgl/components/styles/layers/RCTMGLFillLayerManager.kt +0 -76
  1263. package/android/src/main/java-v10/com/mapbox/rctmgl/components/styles/layers/RCTMGLHeatmapLayer.kt +0 -40
  1264. package/android/src/main/java-v10/com/mapbox/rctmgl/components/styles/layers/RCTMGLHeatmapLayerManager.kt +0 -76
  1265. package/android/src/main/java-v10/com/mapbox/rctmgl/components/styles/layers/RCTMGLLineLayer.kt +0 -40
  1266. package/android/src/main/java-v10/com/mapbox/rctmgl/components/styles/layers/RCTMGLLineLayerManager.kt +0 -76
  1267. package/android/src/main/java-v10/com/mapbox/rctmgl/components/styles/layers/RCTMGLRasterLayer.kt +0 -18
  1268. package/android/src/main/java-v10/com/mapbox/rctmgl/components/styles/layers/RCTMGLRasterLayerManager.kt +0 -65
  1269. package/android/src/main/java-v10/com/mapbox/rctmgl/components/styles/layers/RCTMGLSkyLayer.kt +0 -35
  1270. package/android/src/main/java-v10/com/mapbox/rctmgl/components/styles/layers/RCTMGLSkyLayerManager.kt +0 -76
  1271. package/android/src/main/java-v10/com/mapbox/rctmgl/components/styles/layers/RCTMGLSymbolLayer.kt +0 -40
  1272. package/android/src/main/java-v10/com/mapbox/rctmgl/components/styles/layers/RCTMGLSymbolLayerManager.kt +0 -76
  1273. package/android/src/main/java-v10/com/mapbox/rctmgl/components/styles/light/RCTMGLLight.kt +0 -50
  1274. package/android/src/main/java-v10/com/mapbox/rctmgl/components/styles/light/RCTMGLLightManager.java +0 -25
  1275. package/android/src/main/java-v10/com/mapbox/rctmgl/components/styles/sources/AbstractSourceConsumer.kt +0 -8
  1276. package/android/src/main/java-v10/com/mapbox/rctmgl/components/styles/sources/RCTMGLImageSource.kt +0 -69
  1277. package/android/src/main/java-v10/com/mapbox/rctmgl/components/styles/sources/RCTMGLImageSourceManager.kt +0 -54
  1278. package/android/src/main/java-v10/com/mapbox/rctmgl/components/styles/sources/RCTMGLRasterDemSource.kt +0 -82
  1279. package/android/src/main/java-v10/com/mapbox/rctmgl/components/styles/sources/RCTMGLRasterDemSourceManager.kt +0 -30
  1280. package/android/src/main/java-v10/com/mapbox/rctmgl/components/styles/sources/RCTMGLRasterSource.kt +0 -37
  1281. package/android/src/main/java-v10/com/mapbox/rctmgl/components/styles/sources/RCTMGLRasterSourceManager.kt +0 -32
  1282. package/android/src/main/java-v10/com/mapbox/rctmgl/components/styles/sources/RCTMGLShapeSource.kt +0 -273
  1283. package/android/src/main/java-v10/com/mapbox/rctmgl/components/styles/sources/RCTMGLShapeSourceManager.kt +0 -204
  1284. package/android/src/main/java-v10/com/mapbox/rctmgl/components/styles/sources/RCTMGLTileSource.kt +0 -44
  1285. package/android/src/main/java-v10/com/mapbox/rctmgl/components/styles/sources/RCTMGLTileSourceManager.kt +0 -69
  1286. package/android/src/main/java-v10/com/mapbox/rctmgl/components/styles/sources/RCTMGLVectorSource.kt +0 -78
  1287. package/android/src/main/java-v10/com/mapbox/rctmgl/components/styles/sources/RCTMGLVectorSourceManager.kt +0 -69
  1288. package/android/src/main/java-v10/com/mapbox/rctmgl/components/styles/sources/RCTSource.kt +0 -241
  1289. package/android/src/main/java-v10/com/mapbox/rctmgl/components/styles/terrain/RCTMGLTerrain.kt +0 -66
  1290. package/android/src/main/java-v10/com/mapbox/rctmgl/components/styles/terrain/RCTMGLTerrainManager.kt +0 -35
  1291. package/android/src/main/java-v10/com/mapbox/rctmgl/events/AbstractEvent.kt +0 -49
  1292. package/android/src/main/java-v10/com/mapbox/rctmgl/events/AndroidCallbackEvent.java +0 -34
  1293. package/android/src/main/java-v10/com/mapbox/rctmgl/events/EventEmitter.java +0 -45
  1294. package/android/src/main/java-v10/com/mapbox/rctmgl/events/FeatureClickEvent.java +0 -79
  1295. package/android/src/main/java-v10/com/mapbox/rctmgl/events/IEvent.kt +0 -17
  1296. package/android/src/main/java-v10/com/mapbox/rctmgl/events/ImageMissingEvent.java +0 -42
  1297. package/android/src/main/java-v10/com/mapbox/rctmgl/events/LocationEvent.kt +0 -70
  1298. package/android/src/main/java-v10/com/mapbox/rctmgl/events/MapChangeEvent.kt +0 -38
  1299. package/android/src/main/java-v10/com/mapbox/rctmgl/events/MapClickEvent.java +0 -51
  1300. package/android/src/main/java-v10/com/mapbox/rctmgl/events/MapUserTrackingModeEvent.kt +0 -21
  1301. package/android/src/main/java-v10/com/mapbox/rctmgl/events/OfflineEvent.java +0 -25
  1302. package/android/src/main/java-v10/com/mapbox/rctmgl/events/PointAnnotationClickEvent.java +0 -42
  1303. package/android/src/main/java-v10/com/mapbox/rctmgl/events/PointAnnotationDragEvent.java +0 -53
  1304. package/android/src/main/java-v10/com/mapbox/rctmgl/events/constants/EventKeys.java +0 -39
  1305. package/android/src/main/java-v10/com/mapbox/rctmgl/events/constants/EventTypes.kt +0 -45
  1306. package/android/src/main/java-v10/com/mapbox/rctmgl/location/LocationManager.kt +0 -292
  1307. package/android/src/main/java-v10/com/mapbox/rctmgl/location/UserTrackingState.java +0 -15
  1308. package/android/src/main/java-v10/com/mapbox/rctmgl/mapbox/Light.kt +0 -6
  1309. package/android/src/main/java-v10/com/mapbox/rctmgl/modules/CustomHttpHeaders.kt +0 -39
  1310. package/android/src/main/java-v10/com/mapbox/rctmgl/modules/RCTMGLLocationModule.kt +0 -187
  1311. package/android/src/main/java-v10/com/mapbox/rctmgl/modules/RCTMGLLogging.kt +0 -113
  1312. package/android/src/main/java-v10/com/mapbox/rctmgl/modules/RCTMGLModule.kt +0 -163
  1313. package/android/src/main/java-v10/com/mapbox/rctmgl/modules/RCTMGLOfflineModule.kt +0 -657
  1314. package/android/src/main/java-v10/com/mapbox/rctmgl/modules/RCTMGLSnapshotModule.java +0 -151
  1315. package/android/src/main/java-v10/com/mapbox/rctmgl/utils/BitmapUtils.java +0 -183
  1316. package/android/src/main/java-v10/com/mapbox/rctmgl/utils/ConvertUtils.java +0 -253
  1317. package/android/src/main/java-v10/com/mapbox/rctmgl/utils/DownloadMapImageTask.kt +0 -157
  1318. package/android/src/main/java-v10/com/mapbox/rctmgl/utils/ExpressionParser.java +0 -73
  1319. package/android/src/main/java-v10/com/mapbox/rctmgl/utils/GeoJSONUtils.kt +0 -225
  1320. package/android/src/main/java-v10/com/mapbox/rctmgl/utils/ImageEntry.kt +0 -9
  1321. package/android/src/main/java-v10/com/mapbox/rctmgl/utils/LatLng.java +0 -51
  1322. package/android/src/main/java-v10/com/mapbox/rctmgl/utils/LatLngBounds.kt +0 -35
  1323. package/android/src/main/java-v10/com/mapbox/rctmgl/utils/LatLngQuad.java +0 -27
  1324. package/android/src/main/java-v10/com/mapbox/rctmgl/utils/Logger.kt +0 -120
  1325. package/android/src/main/java-v10/com/mapbox/rctmgl/utils/ReadableMapToValue.java +0 -51
  1326. package/android/src/main/java-v10/com/mapbox/rctmgl/utils/ResourceUtils.java +0 -26
  1327. package/android/src/main/java-v10/com/mapbox/rctmgl/utils/extensions/CoordinateBounds.kt +0 -17
  1328. package/android/src/main/java-v10/com/mapbox/rctmgl/utils/extensions/FeatureCollection.kt +0 -10
  1329. package/android/src/main/java-v10/com/mapbox/rctmgl/utils/extensions/Geometry.kt +0 -22
  1330. package/android/src/main/java-v10/com/mapbox/rctmgl/utils/extensions/JSONObject.kt +0 -78
  1331. package/android/src/main/java-v10/com/mapbox/rctmgl/utils/extensions/Point.kt +0 -17
  1332. package/android/src/main/java-v10/com/mapbox/rctmgl/utils/extensions/ReadableArray.kt +0 -38
  1333. package/android/src/main/java-v10/com/mapbox/rctmgl/utils/extensions/ReadableMap.kt +0 -11
  1334. package/android/src/main/java-v10/com/mapbox/rctmgl/utils/extensions/Value.kt +0 -9
  1335. package/android/src/main/java-v10/com/mapbox/rctmgl/utils/writeableMapArrayOf.kt +0 -41
  1336. package/android/src/main/old-arch/com/facebook/react/viewmanagers/MBXAndroidTextureMapViewManagerDelegate.java +0 -89
  1337. package/android/src/main/old-arch/com/facebook/react/viewmanagers/MBXAndroidTextureMapViewManagerInterface.java +0 -37
  1338. package/android/src/main/old-arch/com/facebook/react/viewmanagers/MBXMapViewManagerDelegate.java +0 -89
  1339. package/android/src/main/old-arch/com/facebook/react/viewmanagers/MBXMapViewManagerInterface.java +0 -37
  1340. package/android/src/main/old-arch/com/mapbox/rctmgl/NativeMapViewModuleSpec.java +0 -88
  1341. package/ios/RCTMGL/CameraMode.h +0 -18
  1342. package/ios/RCTMGL/CameraMode.m +0 -18
  1343. package/ios/RCTMGL/CameraStop.h +0 -26
  1344. package/ios/RCTMGL/CameraStop.m +0 -83
  1345. package/ios/RCTMGL/CameraUpdateItem.h +0 -18
  1346. package/ios/RCTMGL/CameraUpdateItem.m +0 -178
  1347. package/ios/RCTMGL/CameraUpdateQueue.h +0 -21
  1348. package/ios/RCTMGL/CameraUpdateQueue.m +0 -74
  1349. package/ios/RCTMGL/FilterParser.h +0 -14
  1350. package/ios/RCTMGL/FilterParser.m +0 -22
  1351. package/ios/RCTMGL/MGLCustomHeaders.h +0 -20
  1352. package/ios/RCTMGL/MGLCustomHeaders.m +0 -98
  1353. package/ios/RCTMGL/MGLFaux3DUserLocationAnnotationView.h +0 -23
  1354. package/ios/RCTMGL/MGLFaux3DUserLocationAnnotationView.m +0 -474
  1355. package/ios/RCTMGL/MGLModule.h +0 -13
  1356. package/ios/RCTMGL/MGLModule.m +0 -336
  1357. package/ios/RCTMGL/MGLOfflineModule.h +0 -19
  1358. package/ios/RCTMGL/MGLOfflineModule.m +0 -537
  1359. package/ios/RCTMGL/MGLSnapshotModule.h +0 -13
  1360. package/ios/RCTMGL/MGLSnapshotModule.m +0 -80
  1361. package/ios/RCTMGL/MGLUserLocationHeadingArrowLayer.h +0 -11
  1362. package/ios/RCTMGL/MGLUserLocationHeadingArrowLayer.m +0 -57
  1363. package/ios/RCTMGL/MGLUserLocationHeadingBeamLayer.h +0 -11
  1364. package/ios/RCTMGL/MGLUserLocationHeadingBeamLayer.m +0 -102
  1365. package/ios/RCTMGL/MGLUserLocationHeadingIndicator.h +0 -10
  1366. package/ios/RCTMGL/RCTConvert+Mapbox.h +0 -16
  1367. package/ios/RCTMGL/RCTConvert+Mapbox.m +0 -32
  1368. package/ios/RCTMGL/RCTMGL.h +0 -13
  1369. package/ios/RCTMGL/RCTMGL.m +0 -13
  1370. package/ios/RCTMGL/RCTMGLBackgroundLayer.h +0 -14
  1371. package/ios/RCTMGL/RCTMGLBackgroundLayer.m +0 -27
  1372. package/ios/RCTMGL/RCTMGLBackgroundLayerManager.h +0 -13
  1373. package/ios/RCTMGL/RCTMGLBackgroundLayerManager.m +0 -35
  1374. package/ios/RCTMGL/RCTMGLCallout.h +0 -15
  1375. package/ios/RCTMGL/RCTMGLCallout.m +0 -74
  1376. package/ios/RCTMGL/RCTMGLCalloutManager.h +0 -13
  1377. package/ios/RCTMGL/RCTMGLCalloutManager.m +0 -21
  1378. package/ios/RCTMGL/RCTMGLCamera.h +0 -39
  1379. package/ios/RCTMGL/RCTMGLCamera.m +0 -258
  1380. package/ios/RCTMGL/RCTMGLCameraManager.h +0 -13
  1381. package/ios/RCTMGL/RCTMGLCameraManager.m +0 -52
  1382. package/ios/RCTMGL/RCTMGLCircleLayer.h +0 -13
  1383. package/ios/RCTMGL/RCTMGLCircleLayer.m +0 -34
  1384. package/ios/RCTMGL/RCTMGLCircleLayerManager.h +0 -13
  1385. package/ios/RCTMGL/RCTMGLCircleLayerManager.m +0 -39
  1386. package/ios/RCTMGL/RCTMGLEvent.h +0 -21
  1387. package/ios/RCTMGL/RCTMGLEvent.m +0 -47
  1388. package/ios/RCTMGL/RCTMGLEventProtocol.h +0 -16
  1389. package/ios/RCTMGL/RCTMGLEventTypes.h +0 -50
  1390. package/ios/RCTMGL/RCTMGLEventTypes.m +0 -49
  1391. package/ios/RCTMGL/RCTMGLFillExtrusionLayer.h +0 -14
  1392. package/ios/RCTMGL/RCTMGLFillExtrusionLayer.m +0 -32
  1393. package/ios/RCTMGL/RCTMGLFillExtrusionLayerManager.h +0 -13
  1394. package/ios/RCTMGL/RCTMGLFillExtrusionLayerManager.m +0 -39
  1395. package/ios/RCTMGL/RCTMGLFillLayer.h +0 -14
  1396. package/ios/RCTMGL/RCTMGLFillLayer.m +0 -33
  1397. package/ios/RCTMGL/RCTMGLFillLayerManager.h +0 -13
  1398. package/ios/RCTMGL/RCTMGLFillLayerManager.m +0 -37
  1399. package/ios/RCTMGL/RCTMGLHeatmapLayer.h +0 -12
  1400. package/ios/RCTMGL/RCTMGLHeatmapLayer.m +0 -30
  1401. package/ios/RCTMGL/RCTMGLHeatmapLayerManager.h +0 -12
  1402. package/ios/RCTMGL/RCTMGLHeatmapLayerManager.m +0 -38
  1403. package/ios/RCTMGL/RCTMGLImageQueue.h +0 -19
  1404. package/ios/RCTMGL/RCTMGLImageQueue.m +0 -57
  1405. package/ios/RCTMGL/RCTMGLImageQueueOperation.h +0 -17
  1406. package/ios/RCTMGL/RCTMGLImageQueueOperation.m +0 -138
  1407. package/ios/RCTMGL/RCTMGLImageSource.h +0 -16
  1408. package/ios/RCTMGL/RCTMGLImageSource.m +0 -60
  1409. package/ios/RCTMGL/RCTMGLImageSourceManager.h +0 -13
  1410. package/ios/RCTMGL/RCTMGLImageSourceManager.m +0 -25
  1411. package/ios/RCTMGL/RCTMGLImages.h +0 -25
  1412. package/ios/RCTMGL/RCTMGLImages.m +0 -126
  1413. package/ios/RCTMGL/RCTMGLImagesManager.h +0 -5
  1414. package/ios/RCTMGL/RCTMGLImagesManager.m +0 -21
  1415. package/ios/RCTMGL/RCTMGLLayer.h +0 -52
  1416. package/ios/RCTMGL/RCTMGLLayer.m +0 -236
  1417. package/ios/RCTMGL/RCTMGLLight.h +0 -17
  1418. package/ios/RCTMGL/RCTMGLLight.m +0 -46
  1419. package/ios/RCTMGL/RCTMGLLightManager.h +0 -13
  1420. package/ios/RCTMGL/RCTMGLLightManager.m +0 -23
  1421. package/ios/RCTMGL/RCTMGLLineLayer.h +0 -14
  1422. package/ios/RCTMGL/RCTMGLLineLayer.m +0 -33
  1423. package/ios/RCTMGL/RCTMGLLineLayerManager.h +0 -13
  1424. package/ios/RCTMGL/RCTMGLLineLayerManager.m +0 -40
  1425. package/ios/RCTMGL/RCTMGLLocation.h +0 -19
  1426. package/ios/RCTMGL/RCTMGLLocation.m +0 -32
  1427. package/ios/RCTMGL/RCTMGLLocationManager.h +0 -30
  1428. package/ios/RCTMGL/RCTMGLLocationManager.m +0 -180
  1429. package/ios/RCTMGL/RCTMGLLocationManagerDelegate.h +0 -20
  1430. package/ios/RCTMGL/RCTMGLLocationModule.h +0 -15
  1431. package/ios/RCTMGL/RCTMGLLocationModule.m +0 -99
  1432. package/ios/RCTMGL/RCTMGLLogging.h +0 -18
  1433. package/ios/RCTMGL/RCTMGLLogging.m +0 -132
  1434. package/ios/RCTMGL/RCTMGLMapTouchEvent.h +0 -25
  1435. package/ios/RCTMGL/RCTMGLMapTouchEvent.m +0 -77
  1436. package/ios/RCTMGL/RCTMGLMapView.h +0 -91
  1437. package/ios/RCTMGL/RCTMGLMapView.m +0 -536
  1438. package/ios/RCTMGL/RCTMGLMapViewManager.h +0 -17
  1439. package/ios/RCTMGL/RCTMGLMapViewManager.m +0 -625
  1440. package/ios/RCTMGL/RCTMGLNativeUserLocation.h +0 -18
  1441. package/ios/RCTMGL/RCTMGLNativeUserLocation.m +0 -49
  1442. package/ios/RCTMGL/RCTMGLNativeUserLocationManager.h +0 -5
  1443. package/ios/RCTMGL/RCTMGLNativeUserLocationManager.m +0 -25
  1444. package/ios/RCTMGL/RCTMGLPointAnnotation.h +0 -41
  1445. package/ios/RCTMGL/RCTMGLPointAnnotation.m +0 -251
  1446. package/ios/RCTMGL/RCTMGLPointAnnotationManager.h +0 -13
  1447. package/ios/RCTMGL/RCTMGLPointAnnotationManager.m +0 -36
  1448. package/ios/RCTMGL/RCTMGLRasterLayer.h +0 -14
  1449. package/ios/RCTMGL/RCTMGLRasterLayer.m +0 -30
  1450. package/ios/RCTMGL/RCTMGLRasterLayerManager.h +0 -13
  1451. package/ios/RCTMGL/RCTMGLRasterLayerManager.m +0 -35
  1452. package/ios/RCTMGL/RCTMGLRasterSource.h +0 -16
  1453. package/ios/RCTMGL/RCTMGLRasterSource.m +0 -35
  1454. package/ios/RCTMGL/RCTMGLRasterSourceManager.h +0 -13
  1455. package/ios/RCTMGL/RCTMGLRasterSourceManager.m +0 -32
  1456. package/ios/RCTMGL/RCTMGLShapeSource.h +0 -53
  1457. package/ios/RCTMGL/RCTMGLShapeSource.m +0 -194
  1458. package/ios/RCTMGL/RCTMGLShapeSourceManager.h +0 -14
  1459. package/ios/RCTMGL/RCTMGLShapeSourceManager.m +0 -206
  1460. package/ios/RCTMGL/RCTMGLSource.h +0 -35
  1461. package/ios/RCTMGL/RCTMGLSource.m +0 -143
  1462. package/ios/RCTMGL/RCTMGLStyle.h +0 -217
  1463. package/ios/RCTMGL/RCTMGLStyle.m +0 -1640
  1464. package/ios/RCTMGL/RCTMGLStyleValue.h +0 -27
  1465. package/ios/RCTMGL/RCTMGLStyleValue.m +0 -167
  1466. package/ios/RCTMGL/RCTMGLSymbolLayer.h +0 -19
  1467. package/ios/RCTMGL/RCTMGLSymbolLayer.m +0 -121
  1468. package/ios/RCTMGL/RCTMGLSymbolLayerManager.h +0 -13
  1469. package/ios/RCTMGL/RCTMGLSymbolLayerManager.m +0 -40
  1470. package/ios/RCTMGL/RCTMGLTileSource.h +0 -22
  1471. package/ios/RCTMGL/RCTMGLTileSource.m +0 -31
  1472. package/ios/RCTMGL/RCTMGLUserLocation.h +0 -15
  1473. package/ios/RCTMGL/RCTMGLUserLocation.m +0 -38
  1474. package/ios/RCTMGL/RCTMGLUtils.h +0 -31
  1475. package/ios/RCTMGL/RCTMGLUtils.m +0 -218
  1476. package/ios/RCTMGL/RCTMGLVectorLayer.h +0 -15
  1477. package/ios/RCTMGL/RCTMGLVectorLayer.m +0 -59
  1478. package/ios/RCTMGL/RCTMGLVectorSource.h +0 -16
  1479. package/ios/RCTMGL/RCTMGLVectorSource.m +0 -28
  1480. package/ios/RCTMGL/RCTMGLVectorSourceManager.h +0 -14
  1481. package/ios/RCTMGL/RCTMGLVectorSourceManager.m +0 -79
  1482. package/ios/RCTMGL/RNMBImageUtils.h +0 -17
  1483. package/ios/RCTMGL/RNMBImageUtils.m +0 -31
  1484. package/ios/RCTMGL/ViewManager.h +0 -16
  1485. package/ios/RCTMGL/ViewManager.m +0 -63
  1486. package/ios/RCTMGL-v10/CustomHttpHeaders.swift +0 -57
  1487. package/ios/RCTMGL-v10/Extensions/CLLocationCoordinate2D+validate.swift +0 -29
  1488. package/ios/RCTMGL-v10/Extensions/Encodable+ToJSON.swift +0 -13
  1489. package/ios/RCTMGL-v10/MBXMapViewComponentView.h +0 -18
  1490. package/ios/RCTMGL-v10/MBXMapViewComponentView.mm +0 -203
  1491. package/ios/RCTMGL-v10/MBXMapViewManager.m +0 -37
  1492. package/ios/RCTMGL-v10/MBXMapViewManager.swift +0 -250
  1493. package/ios/RCTMGL-v10/MBXMapViewModule.h +0 -18
  1494. package/ios/RCTMGL-v10/MBXMapViewModule.mm +0 -167
  1495. package/ios/RCTMGL-v10/MGLModule.m +0 -14
  1496. package/ios/RCTMGL-v10/MGLModule.swift +0 -116
  1497. package/ios/RCTMGL-v10/MGLSnapshotModule.m +0 -11
  1498. package/ios/RCTMGL-v10/MGLSnapshotModule.swift +0 -112
  1499. package/ios/RCTMGL-v10/RCMTGLImage.swift +0 -126
  1500. package/ios/RCTMGL-v10/RCMTGLImageManager.m +0 -30
  1501. package/ios/RCTMGL-v10/RCMTGLImageManager.swift +0 -14
  1502. package/ios/RCTMGL-v10/RCTLog.swift +0 -19
  1503. package/ios/RCTMGL-v10/RCTMGLAtmosphere.swift +0 -80
  1504. package/ios/RCTMGL-v10/RCTMGLAtmosphereManager.m +0 -8
  1505. package/ios/RCTMGL-v10/RCTMGLAtmosphereManager.swift +0 -13
  1506. package/ios/RCTMGL-v10/RCTMGLBackgroundLayer.swift +0 -51
  1507. package/ios/RCTMGL-v10/RCTMGLBackgroundLayerManager.m +0 -9
  1508. package/ios/RCTMGL-v10/RCTMGLBackgroundLayerManager.swift +0 -13
  1509. package/ios/RCTMGL-v10/RCTMGLCallout.swift +0 -3
  1510. package/ios/RCTMGL-v10/RCTMGLCalloutManager.m +0 -8
  1511. package/ios/RCTMGL-v10/RCTMGLCalloutManager.swift +0 -14
  1512. package/ios/RCTMGL-v10/RCTMGLCamera.swift +0 -649
  1513. package/ios/RCTMGL-v10/RCTMGLCameraManager.m +0 -24
  1514. package/ios/RCTMGL-v10/RCTMGLCameraManager.swift +0 -14
  1515. package/ios/RCTMGL-v10/RCTMGLCircleLayer.swift +0 -54
  1516. package/ios/RCTMGL-v10/RCTMGLCircleLayerManager.m +0 -12
  1517. package/ios/RCTMGL-v10/RCTMGLCircleLayerManager.swift +0 -13
  1518. package/ios/RCTMGL-v10/RCTMGLEvent.swift +0 -47
  1519. package/ios/RCTMGL-v10/RCTMGLFeatureUtils.swift +0 -79
  1520. package/ios/RCTMGL-v10/RCTMGLFillExtrusionLayerManager.m +0 -12
  1521. package/ios/RCTMGL-v10/RCTMGLFillExtrusionLayerManager.swift +0 -13
  1522. package/ios/RCTMGL-v10/RCTMGLFillExtrustionLayer.swift +0 -53
  1523. package/ios/RCTMGL-v10/RCTMGLFillLayer.swift +0 -58
  1524. package/ios/RCTMGL-v10/RCTMGLFillLayerManager.m +0 -12
  1525. package/ios/RCTMGL-v10/RCTMGLFillLayerManager.swift +0 -13
  1526. package/ios/RCTMGL-v10/RCTMGLHeatmapLayer.swift +0 -57
  1527. package/ios/RCTMGL-v10/RCTMGLHeatmapLayerManager.m +0 -12
  1528. package/ios/RCTMGL-v10/RCTMGLHeatmapLayetManager.swift +0 -13
  1529. package/ios/RCTMGL-v10/RCTMGLImageQueue.swift +0 -140
  1530. package/ios/RCTMGL-v10/RCTMGLImageSource.swift +0 -65
  1531. package/ios/RCTMGL-v10/RCTMGLImageSourceManager.m +0 -11
  1532. package/ios/RCTMGL-v10/RCTMGLImageSourceManager.swift +0 -11
  1533. package/ios/RCTMGL-v10/RCTMGLImages.swift +0 -288
  1534. package/ios/RCTMGL-v10/RCTMGLImagesManager.m +0 -11
  1535. package/ios/RCTMGL-v10/RCTMGLImagesManager.swift +0 -14
  1536. package/ios/RCTMGL-v10/RCTMGLInteractiveElement.swift +0 -64
  1537. package/ios/RCTMGL-v10/RCTMGLLayer.swift +0 -367
  1538. package/ios/RCTMGL-v10/RCTMGLLight.swift +0 -69
  1539. package/ios/RCTMGL-v10/RCTMGLLightManager.m +0 -9
  1540. package/ios/RCTMGL-v10/RCTMGLLightManager.swift +0 -13
  1541. package/ios/RCTMGL-v10/RCTMGLLineLayer.swift +0 -59
  1542. package/ios/RCTMGL-v10/RCTMGLLineLayerManager.m +0 -12
  1543. package/ios/RCTMGL-v10/RCTMGLLineLayerManager.swift +0 -13
  1544. package/ios/RCTMGL-v10/RCTMGLLocationModule.m +0 -20
  1545. package/ios/RCTMGL-v10/RCTMGLLocationModule.swift +0 -629
  1546. package/ios/RCTMGL-v10/RCTMGLLocationModuleV11.swift +0 -32
  1547. package/ios/RCTMGL-v10/RCTMGLLogging.m +0 -8
  1548. package/ios/RCTMGL-v10/RCTMGLLogging.swift +0 -164
  1549. package/ios/RCTMGL-v10/RCTMGLMapView.swift +0 -1251
  1550. package/ios/RCTMGL-v10/RCTMGLMarkerView.swift +0 -266
  1551. package/ios/RCTMGL-v10/RCTMGLMarkerViewManager.m +0 -12
  1552. package/ios/RCTMGL-v10/RCTMGLMarkerViewManager.swift +0 -14
  1553. package/ios/RCTMGL-v10/RCTMGLNativeUserLocation.swift +0 -52
  1554. package/ios/RCTMGL-v10/RCTMGLNativeUserLocationManager.m +0 -9
  1555. package/ios/RCTMGL-v10/RCTMGLNativeUserLocationManager.swift +0 -11
  1556. package/ios/RCTMGL-v10/RCTMGLOfflineModule.m +0 -34
  1557. package/ios/RCTMGL-v10/RCTMGLOfflineModule.swift +0 -655
  1558. package/ios/RCTMGL-v10/RCTMGLPointAnnotation.swift +0 -262
  1559. package/ios/RCTMGL-v10/RCTMGLPointAnnotationManager.m +0 -23
  1560. package/ios/RCTMGL-v10/RCTMGLPointAnnotationManager.swift +0 -34
  1561. package/ios/RCTMGL-v10/RCTMGLRasterDemSource.swift +0 -61
  1562. package/ios/RCTMGL-v10/RCTMGLRasterDemSourceManager.m +0 -21
  1563. package/ios/RCTMGL-v10/RCTMGLRasterDemSourceManager.swift +0 -11
  1564. package/ios/RCTMGL-v10/RCTMGLRasterLayer.swift +0 -56
  1565. package/ios/RCTMGL-v10/RCTMGLRasterLayerManager.m +0 -12
  1566. package/ios/RCTMGL-v10/RCTMGLRasterLayerManager.swift +0 -13
  1567. package/ios/RCTMGL-v10/RCTMGLRasterSource.swift +0 -55
  1568. package/ios/RCTMGL-v10/RCTMGLRasterSourceManager.m +0 -19
  1569. package/ios/RCTMGL-v10/RCTMGLRasterSourceManager.swift +0 -14
  1570. package/ios/RCTMGL-v10/RCTMGLShapeSource.swift +0 -389
  1571. package/ios/RCTMGL-v10/RCTMGLShapeSourceManager.m +0 -45
  1572. package/ios/RCTMGL-v10/RCTMGLShapeSourceManager.swift +0 -106
  1573. package/ios/RCTMGL-v10/RCTMGLSingletonLayer.swift +0 -51
  1574. package/ios/RCTMGL-v10/RCTMGLSkyLayer.swift +0 -55
  1575. package/ios/RCTMGL-v10/RCTMGLSkyLayerManager.m +0 -9
  1576. package/ios/RCTMGL-v10/RCTMGLSkyLayerManager.swift +0 -13
  1577. package/ios/RCTMGL-v10/RCTMGLSource.swift +0 -118
  1578. package/ios/RCTMGL-v10/RCTMGLStyle.swift +0 -2417
  1579. package/ios/RCTMGL-v10/RCTMGLStyleValue.swift +0 -577
  1580. package/ios/RCTMGL-v10/RCTMGLSymbolLayer.swift +0 -58
  1581. package/ios/RCTMGL-v10/RCTMGLSymbolLayerManager.m +0 -12
  1582. package/ios/RCTMGL-v10/RCTMGLSymbolLayerManager.swift +0 -13
  1583. package/ios/RCTMGL-v10/RCTMGLTerrain.swift +0 -93
  1584. package/ios/RCTMGL-v10/RCTMGLTerrainManager.m +0 -15
  1585. package/ios/RCTMGL-v10/RCTMGLTerrainManager.swift +0 -13
  1586. package/ios/RCTMGL-v10/RCTMGLTileSource.swift +0 -5
  1587. package/ios/RCTMGL-v10/RCTMGLUtils.swift +0 -62
  1588. package/ios/RCTMGL-v10/RCTMGLVectorLayer.m +0 -58
  1589. package/ios/RCTMGL-v10/RCTMGLVectorLayer.swift +0 -5
  1590. package/ios/RCTMGL-v10/RCTMGLVectorSource.swift +0 -61
  1591. package/ios/RCTMGL-v10/RCTMGLVectorSourceManager.m +0 -22
  1592. package/ios/RCTMGL-v10/RCTMGLVectorSourceManager.swift +0 -11
  1593. package/ios/RCTMGL-v10/RCTSwiftLog.h +0 -11
  1594. package/ios/RCTMGL-v10/RCTSwiftLog.m +0 -32
  1595. package/ios/RCTMGL-v10/RNMBImageUtils.swift +0 -20
  1596. package/lib/commonjs/MGLModule.js +0 -37
  1597. package/lib/commonjs/MGLModule.js.map +0 -1
  1598. package/lib/commonjs/specs/MBXAndroidTextureMapViewNativeComponent.js +0 -13
  1599. package/lib/commonjs/specs/MBXAndroidTextureMapViewNativeComponent.js.map +0 -1
  1600. package/lib/commonjs/specs/MBXMapViewNativeComponent.js +0 -11
  1601. package/lib/commonjs/specs/MBXMapViewNativeComponent.js.map +0 -1
  1602. package/lib/module/MGLModule.js +0 -19
  1603. package/lib/module/MGLModule.js.map +0 -1
  1604. package/lib/module/specs/MBXAndroidTextureMapViewNativeComponent.js +0 -5
  1605. package/lib/module/specs/MBXAndroidTextureMapViewNativeComponent.js.map +0 -1
  1606. package/lib/module/specs/MBXMapViewNativeComponent.js +0 -3
  1607. package/lib/module/specs/MBXMapViewNativeComponent.js.map +0 -1
  1608. package/lib/typescript/MGLModule.d.ts +0 -22
  1609. package/lib/typescript/MGLModule.d.ts.map +0 -1
  1610. package/lib/typescript/Mapbox.d.ts +0 -54
  1611. package/lib/typescript/Mapbox.d.ts.map +0 -1
  1612. package/lib/typescript/components/AbstractLayer.d.ts.map +0 -1
  1613. package/lib/typescript/components/AbstractSource.d.ts.map +0 -1
  1614. package/lib/typescript/components/Annotation.d.ts.map +0 -1
  1615. package/lib/typescript/components/Atmosphere.d.ts +0 -10
  1616. package/lib/typescript/components/Atmosphere.d.ts.map +0 -1
  1617. package/lib/typescript/components/BackgroundLayer.d.ts +0 -66
  1618. package/lib/typescript/components/BackgroundLayer.d.ts.map +0 -1
  1619. package/lib/typescript/components/Callout.d.ts +0 -41
  1620. package/lib/typescript/components/Callout.d.ts.map +0 -1
  1621. package/lib/typescript/components/Camera.d.ts +0 -122
  1622. package/lib/typescript/components/Camera.d.ts.map +0 -1
  1623. package/lib/typescript/components/CircleLayer.d.ts +0 -70
  1624. package/lib/typescript/components/CircleLayer.d.ts.map +0 -1
  1625. package/lib/typescript/components/FillExtrusionLayer.d.ts +0 -69
  1626. package/lib/typescript/components/FillExtrusionLayer.d.ts.map +0 -1
  1627. package/lib/typescript/components/FillLayer.d.ts +0 -69
  1628. package/lib/typescript/components/FillLayer.d.ts.map +0 -1
  1629. package/lib/typescript/components/HeadingIndicator.d.ts.map +0 -1
  1630. package/lib/typescript/components/HeatmapLayer.d.ts +0 -70
  1631. package/lib/typescript/components/HeatmapLayer.d.ts.map +0 -1
  1632. package/lib/typescript/components/Image.d.ts +0 -26
  1633. package/lib/typescript/components/Image.d.ts.map +0 -1
  1634. package/lib/typescript/components/ImageSource.d.ts +0 -36
  1635. package/lib/typescript/components/ImageSource.d.ts.map +0 -1
  1636. package/lib/typescript/components/Images.d.ts +0 -81
  1637. package/lib/typescript/components/Images.d.ts.map +0 -1
  1638. package/lib/typescript/components/Light.d.ts +0 -17
  1639. package/lib/typescript/components/Light.d.ts.map +0 -1
  1640. package/lib/typescript/components/LineLayer.d.ts +0 -69
  1641. package/lib/typescript/components/LineLayer.d.ts.map +0 -1
  1642. package/lib/typescript/components/MapView.d.ts +0 -528
  1643. package/lib/typescript/components/MapView.d.ts.map +0 -1
  1644. package/lib/typescript/components/MarkerView.d.ts +0 -53
  1645. package/lib/typescript/components/MarkerView.d.ts.map +0 -1
  1646. package/lib/typescript/components/NativeBridgeComponent.d.ts +0 -50
  1647. package/lib/typescript/components/NativeBridgeComponent.d.ts.map +0 -1
  1648. package/lib/typescript/components/NativeUserLocation.d.ts +0 -22
  1649. package/lib/typescript/components/NativeUserLocation.d.ts.map +0 -1
  1650. package/lib/typescript/components/PointAnnotation.d.ts +0 -166
  1651. package/lib/typescript/components/PointAnnotation.d.ts.map +0 -1
  1652. package/lib/typescript/components/RasterDemSource.d.ts +0 -50
  1653. package/lib/typescript/components/RasterDemSource.d.ts.map +0 -1
  1654. package/lib/typescript/components/RasterLayer.d.ts +0 -66
  1655. package/lib/typescript/components/RasterLayer.d.ts.map +0 -1
  1656. package/lib/typescript/components/RasterSource.d.ts +0 -63
  1657. package/lib/typescript/components/RasterSource.d.ts.map +0 -1
  1658. package/lib/typescript/components/ShapeSource.d.ts +0 -216
  1659. package/lib/typescript/components/ShapeSource.d.ts.map +0 -1
  1660. package/lib/typescript/components/SkyLayer.d.ts +0 -56
  1661. package/lib/typescript/components/SkyLayer.d.ts.map +0 -1
  1662. package/lib/typescript/components/Style.d.ts.map +0 -1
  1663. package/lib/typescript/components/SymbolLayer.d.ts +0 -76
  1664. package/lib/typescript/components/SymbolLayer.d.ts.map +0 -1
  1665. package/lib/typescript/components/Terrain.d.ts +0 -21
  1666. package/lib/typescript/components/Terrain.d.ts.map +0 -1
  1667. package/lib/typescript/components/UserLocation.d.ts +0 -102
  1668. package/lib/typescript/components/UserLocation.d.ts.map +0 -1
  1669. package/lib/typescript/components/VectorSource.d.ts +0 -148
  1670. package/lib/typescript/components/VectorSource.d.ts.map +0 -1
  1671. package/lib/typescript/index.d.ts.map +0 -1
  1672. package/lib/typescript/modules/location/locationManager.d.ts.map +0 -1
  1673. package/lib/typescript/modules/offline/OfflineCreatePackOptions.d.ts.map +0 -1
  1674. package/lib/typescript/modules/offline/OfflinePack.d.ts.map +0 -1
  1675. package/lib/typescript/modules/offline/offlineManager.d.ts.map +0 -1
  1676. package/lib/typescript/modules/snapshot/SnapshotOptions.d.ts.map +0 -1
  1677. package/lib/typescript/modules/snapshot/snapshotManager.d.ts.map +0 -1
  1678. package/lib/typescript/requestAndroidLocationPermissions.d.ts.map +0 -1
  1679. package/lib/typescript/specs/MBXAndroidTextureMapViewNativeComponent.d.ts +0 -52
  1680. package/lib/typescript/specs/MBXAndroidTextureMapViewNativeComponent.d.ts.map +0 -1
  1681. package/lib/typescript/specs/MBXMapViewNativeComponent.d.ts +0 -52
  1682. package/lib/typescript/specs/MBXMapViewNativeComponent.d.ts.map +0 -1
  1683. package/lib/typescript/specs/NativeMapViewModule.d.ts +0 -21
  1684. package/lib/typescript/specs/NativeMapViewModule.d.ts.map +0 -1
  1685. package/lib/typescript/specs/codegenUtils.d.ts +0 -2
  1686. package/lib/typescript/specs/codegenUtils.d.ts.map +0 -1
  1687. package/lib/typescript/types/BaseProps.d.ts.map +0 -1
  1688. package/lib/typescript/types/OnPressEvent.d.ts.map +0 -1
  1689. package/lib/typescript/types/Position.d.ts +0 -2
  1690. package/lib/typescript/types/Position.d.ts.map +0 -1
  1691. package/lib/typescript/types/index.d.ts.map +0 -1
  1692. package/lib/typescript/utils/BridgeValue.d.ts.map +0 -1
  1693. package/lib/typescript/utils/Logger.d.ts.map +0 -1
  1694. package/lib/typescript/utils/StyleValue.d.ts.map +0 -1
  1695. package/lib/typescript/utils/animated/Animated.d.ts.map +0 -1
  1696. package/lib/typescript/utils/checkRequiredProps.d.ts.map +0 -1
  1697. package/lib/typescript/utils/deprecation.d.ts.map +0 -1
  1698. package/lib/typescript/utils/filterUtils.d.ts.map +0 -1
  1699. package/lib/typescript/utils/geoUtils.d.ts.map +0 -1
  1700. package/lib/typescript/utils/getAnnotationsLayerID.d.ts.map +0 -1
  1701. package/lib/typescript/utils/index.d.ts +0 -34
  1702. package/lib/typescript/utils/index.d.ts.map +0 -1
  1703. package/lib/typescript/utils/nativeRef.d.ts +0 -21
  1704. package/lib/typescript/utils/nativeRef.d.ts.map +0 -1
  1705. package/lib/typescript/utils/styleMap.d.ts.map +0 -1
  1706. package/lib/typescript/web/MapContext.d.ts.map +0 -1
  1707. package/lib/typescript/web/components/Camera.d.ts.map +0 -1
  1708. package/lib/typescript/web/components/MapView.d.ts.map +0 -1
  1709. package/lib/typescript/web/utils/Logger.d.ts.map +0 -1
  1710. package/src/MGLModule.ts +0 -54
  1711. package/src/specs/MBXAndroidTextureMapViewNativeComponent.ts +0 -63
  1712. package/src/specs/MBXMapViewNativeComponent.ts +0 -63
  1713. /package/android/src/main/{java-v10 → java}/README.md +0 -0
  1714. /package/ios/{RCTMGL-v10/Bridge/RCTMGL.h → RNMBX/Bridge/RNMBX.h} +0 -0
  1715. /package/ios/{RCTMGL-v10 → RNMBX}/CommonLayerProperties.H +0 -0
  1716. /package/ios/{RCTMGL-v10 → RNMBX}/Extensions/Array+asExpressions.swift +0 -0
  1717. /package/ios/{RCTMGL-v10 → RNMBX}/Extensions/CLLocationCoordinate2D+toArray.swift +0 -0
  1718. /package/ios/{RCTMGL-v10 → RNMBX}/Extensions/CoordinateBounds+toArray.swift +0 -0
  1719. /package/ios/{RCTMGL-v10 → RNMBX}/Extensions/DefaultStringInterpolation+optional.swift +0 -0
  1720. /package/ios/{RCTMGL-v10 → RNMBX}/README.md +0 -0
  1721. /package/ios/{RCTMGL-v10 → RNMBX}/rnmapbox_maps.h +0 -0
  1722. /package/ios/{RCTMGL.xcodeproj → RNMBX.xcodeproj}/project.pbxproj +0 -0
  1723. /package/lib/typescript/{components → src/components}/AbstractLayer.d.ts +0 -0
  1724. /package/lib/typescript/{components → src/components}/AbstractSource.d.ts +0 -0
  1725. /package/lib/typescript/{components → src/components}/Annotation.d.ts +0 -0
  1726. /package/lib/typescript/{components → src/components}/HeadingIndicator.d.ts +0 -0
  1727. /package/lib/typescript/{components → src/components}/Style.d.ts +0 -0
  1728. /package/lib/typescript/{index.d.ts → src/index.d.ts} +0 -0
  1729. /package/lib/typescript/{modules → src/modules}/location/locationManager.d.ts +0 -0
  1730. /package/lib/typescript/{modules → src/modules}/offline/OfflineCreatePackOptions.d.ts +0 -0
  1731. /package/lib/typescript/{modules → src/modules}/offline/OfflinePack.d.ts +0 -0
  1732. /package/lib/typescript/{modules → src/modules}/offline/offlineManager.d.ts +0 -0
  1733. /package/lib/typescript/{modules → src/modules}/snapshot/SnapshotOptions.d.ts +0 -0
  1734. /package/lib/typescript/{modules → src/modules}/snapshot/snapshotManager.d.ts +0 -0
  1735. /package/lib/typescript/{requestAndroidLocationPermissions.d.ts → src/requestAndroidLocationPermissions.d.ts} +0 -0
  1736. /package/lib/typescript/{types → src/types}/BaseProps.d.ts +0 -0
  1737. /package/lib/typescript/{types → src/types}/OnPressEvent.d.ts +0 -0
  1738. /package/lib/typescript/{types → src/types}/index.d.ts +0 -0
  1739. /package/lib/typescript/{utils → src/utils}/BridgeValue.d.ts +0 -0
  1740. /package/lib/typescript/{utils → src/utils}/Logger.d.ts +0 -0
  1741. /package/lib/typescript/{utils → src/utils}/StyleValue.d.ts +0 -0
  1742. /package/lib/typescript/{utils → src/utils}/animated/Animated.d.ts +0 -0
  1743. /package/lib/typescript/{utils → src/utils}/checkRequiredProps.d.ts +0 -0
  1744. /package/lib/typescript/{utils → src/utils}/deprecation.d.ts +0 -0
  1745. /package/lib/typescript/{utils → src/utils}/filterUtils.d.ts +0 -0
  1746. /package/lib/typescript/{utils → src/utils}/geoUtils.d.ts +0 -0
  1747. /package/lib/typescript/{utils → src/utils}/getAnnotationsLayerID.d.ts +0 -0
  1748. /package/lib/typescript/{utils → src/utils}/styleMap.d.ts +0 -0
  1749. /package/lib/typescript/{web → src/web}/MapContext.d.ts +0 -0
  1750. /package/lib/typescript/{web → src/web}/components/Camera.d.ts +0 -0
  1751. /package/lib/typescript/{web → src/web}/components/MapView.d.ts +0 -0
  1752. /package/lib/typescript/{web → src/web}/utils/Logger.d.ts +0 -0
@@ -0,0 +1,3669 @@
1
+ // DO NOT MODIFY
2
+ // THIS FILE IS AUTOGENERATED
3
+ package com.rnmapbox.rnmbx.components.styles
4
+
5
+ import com.mapbox.maps.extension.style.expressions.generated.Expression
6
+ import com.mapbox.maps.extension.style.layers.generated.BackgroundLayer
7
+ import com.mapbox.maps.extension.style.layers.generated.CircleLayer
8
+ import com.mapbox.maps.extension.style.layers.generated.FillExtrusionLayer
9
+ import com.mapbox.maps.extension.style.layers.generated.FillLayer
10
+ import com.mapbox.maps.extension.style.layers.generated.LineLayer
11
+ import com.mapbox.maps.extension.style.layers.generated.SkyLayer
12
+ // import com.mapbox.maps.extension.style.layers.generated.PropertyFactory
13
+ // import com.mapbox.maps.extension.style.layers.generated.PropertyValue
14
+ import com.mapbox.maps.extension.style.layers.generated.RasterLayer
15
+ import com.mapbox.maps.extension.style.layers.generated.SymbolLayer
16
+ import com.mapbox.maps.extension.style.layers.generated.HeatmapLayer
17
+ import com.mapbox.maps.extension.style.layers.generated.HillshadeLayer
18
+ import com.mapbox.maps.extension.style.atmosphere.generated.Atmosphere
19
+ import com.mapbox.maps.extension.style.terrain.generated.Terrain
20
+ // import com.mapbox.maps.extension.style.layers.properties.generated.Visibility
21
+ import com.mapbox.maps.extension.style.layers.properties.generated.*
22
+ import com.mapbox.maps.extension.style.types.StyleTransition
23
+
24
+ import com.mapbox.maps.extension.style.light.LightPosition
25
+ import com.rnmapbox.rnmbx.utils.DownloadMapImageTask.OnAllImagesLoaded
26
+ import com.rnmapbox.rnmbx.utils.Logger.e
27
+
28
+ import com.rnmapbox.rnmbx.v11compat.light.*;
29
+
30
+ import java.util.List;
31
+
32
+ object RNMBXStyleFactory {
33
+ const val VALUE_KEY = "value";
34
+ const val SHOULD_ADD_IMAGE_KEY = "shouldAddImage";
35
+
36
+ fun setFillLayerStyle(layer: FillLayer, style: RNMBXStyle ) {
37
+ val styleKeys = style.allStyleKeys
38
+
39
+ if (styleKeys.isEmpty()) {
40
+ return
41
+ }
42
+
43
+ for (styleKey in styleKeys) {
44
+ val styleValue = style.getStyleValueForKey(styleKey)
45
+
46
+ when (styleKey) {
47
+ "fillSortKey" ->
48
+ setFillSortKey(layer, styleValue)
49
+ "visibility" ->
50
+ setVisibility(layer, styleValue)
51
+ "fillAntialias" ->
52
+ setFillAntialias(layer, styleValue)
53
+ "fillOpacity" ->
54
+ setFillOpacity(layer, styleValue)
55
+ "fillOpacityTransition" ->
56
+ setFillOpacityTransition(layer, styleValue)
57
+ "fillColor" ->
58
+ setFillColor(layer, styleValue)
59
+ "fillColorTransition" ->
60
+ setFillColorTransition(layer, styleValue)
61
+ "fillOutlineColor" ->
62
+ setFillOutlineColor(layer, styleValue)
63
+ "fillOutlineColorTransition" ->
64
+ setFillOutlineColorTransition(layer, styleValue)
65
+ "fillTranslate" ->
66
+ setFillTranslate(layer, styleValue)
67
+ "fillTranslateTransition" ->
68
+ setFillTranslateTransition(layer, styleValue)
69
+ "fillTranslateAnchor" ->
70
+ setFillTranslateAnchor(layer, styleValue)
71
+ "fillPattern" ->
72
+ style.addImage(styleValue!!, styleKey, object : OnAllImagesLoaded {
73
+ override fun onAllImagesLoaded() {
74
+ try {
75
+ setFillPattern(layer, styleValue)
76
+ } catch (exception: RuntimeException) {
77
+ e("RNMBXFill",String.format("Exception failed during setFillPattern: %s", exception.message))
78
+ }
79
+ }
80
+ })
81
+ }
82
+ }
83
+ }
84
+ fun setLineLayerStyle(layer: LineLayer, style: RNMBXStyle ) {
85
+ val styleKeys = style.allStyleKeys
86
+
87
+ if (styleKeys.isEmpty()) {
88
+ return
89
+ }
90
+
91
+ for (styleKey in styleKeys) {
92
+ val styleValue = style.getStyleValueForKey(styleKey)
93
+
94
+ when (styleKey) {
95
+ "lineCap" ->
96
+ setLineCap(layer, styleValue)
97
+ "lineJoin" ->
98
+ setLineJoin(layer, styleValue)
99
+ "lineMiterLimit" ->
100
+ setLineMiterLimit(layer, styleValue)
101
+ "lineRoundLimit" ->
102
+ setLineRoundLimit(layer, styleValue)
103
+ "lineSortKey" ->
104
+ setLineSortKey(layer, styleValue)
105
+ "visibility" ->
106
+ setVisibility(layer, styleValue)
107
+ "lineOpacity" ->
108
+ setLineOpacity(layer, styleValue)
109
+ "lineOpacityTransition" ->
110
+ setLineOpacityTransition(layer, styleValue)
111
+ "lineColor" ->
112
+ setLineColor(layer, styleValue)
113
+ "lineColorTransition" ->
114
+ setLineColorTransition(layer, styleValue)
115
+ "lineTranslate" ->
116
+ setLineTranslate(layer, styleValue)
117
+ "lineTranslateTransition" ->
118
+ setLineTranslateTransition(layer, styleValue)
119
+ "lineTranslateAnchor" ->
120
+ setLineTranslateAnchor(layer, styleValue)
121
+ "lineWidth" ->
122
+ setLineWidth(layer, styleValue)
123
+ "lineWidthTransition" ->
124
+ setLineWidthTransition(layer, styleValue)
125
+ "lineGapWidth" ->
126
+ setLineGapWidth(layer, styleValue)
127
+ "lineGapWidthTransition" ->
128
+ setLineGapWidthTransition(layer, styleValue)
129
+ "lineOffset" ->
130
+ setLineOffset(layer, styleValue)
131
+ "lineOffsetTransition" ->
132
+ setLineOffsetTransition(layer, styleValue)
133
+ "lineBlur" ->
134
+ setLineBlur(layer, styleValue)
135
+ "lineBlurTransition" ->
136
+ setLineBlurTransition(layer, styleValue)
137
+ "lineDasharray" ->
138
+ setLineDasharray(layer, styleValue)
139
+ "linePattern" ->
140
+ style.addImage(styleValue!!, styleKey, object : OnAllImagesLoaded {
141
+ override fun onAllImagesLoaded() {
142
+ try {
143
+ setLinePattern(layer, styleValue)
144
+ } catch (exception: RuntimeException) {
145
+ e("RNMBXLine",String.format("Exception failed during setLinePattern: %s", exception.message))
146
+ }
147
+ }
148
+ })
149
+ "lineGradient" ->
150
+ setLineGradient(layer, styleValue)
151
+ "lineTrimOffset" ->
152
+ setLineTrimOffset(layer, styleValue)
153
+ }
154
+ }
155
+ }
156
+ fun setSymbolLayerStyle(layer: SymbolLayer, style: RNMBXStyle ) {
157
+ val styleKeys = style.allStyleKeys
158
+
159
+ if (styleKeys.isEmpty()) {
160
+ return
161
+ }
162
+
163
+ for (styleKey in styleKeys) {
164
+ val styleValue = style.getStyleValueForKey(styleKey)
165
+
166
+ when (styleKey) {
167
+ "symbolPlacement" ->
168
+ setSymbolPlacement(layer, styleValue)
169
+ "symbolSpacing" ->
170
+ setSymbolSpacing(layer, styleValue)
171
+ "symbolAvoidEdges" ->
172
+ setSymbolAvoidEdges(layer, styleValue)
173
+ "symbolSortKey" ->
174
+ setSymbolSortKey(layer, styleValue)
175
+ "symbolZOrder" ->
176
+ setSymbolZOrder(layer, styleValue)
177
+ "iconAllowOverlap" ->
178
+ setIconAllowOverlap(layer, styleValue)
179
+ "iconIgnorePlacement" ->
180
+ setIconIgnorePlacement(layer, styleValue)
181
+ "iconOptional" ->
182
+ setIconOptional(layer, styleValue)
183
+ "iconRotationAlignment" ->
184
+ setIconRotationAlignment(layer, styleValue)
185
+ "iconSize" ->
186
+ setIconSize(layer, styleValue)
187
+ "iconTextFit" ->
188
+ setIconTextFit(layer, styleValue)
189
+ "iconTextFitPadding" ->
190
+ setIconTextFitPadding(layer, styleValue)
191
+ "iconImage" ->
192
+ style.addImage(styleValue!!, styleKey, object : OnAllImagesLoaded {
193
+ override fun onAllImagesLoaded() {
194
+ try {
195
+ setIconImage(layer, styleValue)
196
+ } catch (exception: RuntimeException) {
197
+ e("RNMBXSymbol",String.format("Exception failed during setIconImage: %s", exception.message))
198
+ }
199
+ }
200
+ })
201
+ "iconRotate" ->
202
+ setIconRotate(layer, styleValue)
203
+ "iconPadding" ->
204
+ setIconPadding(layer, styleValue)
205
+ "iconKeepUpright" ->
206
+ setIconKeepUpright(layer, styleValue)
207
+ "iconOffset" ->
208
+ setIconOffset(layer, styleValue)
209
+ "iconAnchor" ->
210
+ setIconAnchor(layer, styleValue)
211
+ "iconPitchAlignment" ->
212
+ setIconPitchAlignment(layer, styleValue)
213
+ "textPitchAlignment" ->
214
+ setTextPitchAlignment(layer, styleValue)
215
+ "textRotationAlignment" ->
216
+ setTextRotationAlignment(layer, styleValue)
217
+ "textField" ->
218
+ setTextField(layer, styleValue)
219
+ "textFont" ->
220
+ setTextFont(layer, styleValue)
221
+ "textSize" ->
222
+ setTextSize(layer, styleValue)
223
+ "textMaxWidth" ->
224
+ setTextMaxWidth(layer, styleValue)
225
+ "textLineHeight" ->
226
+ setTextLineHeight(layer, styleValue)
227
+ "textLetterSpacing" ->
228
+ setTextLetterSpacing(layer, styleValue)
229
+ "textJustify" ->
230
+ setTextJustify(layer, styleValue)
231
+ "textRadialOffset" ->
232
+ setTextRadialOffset(layer, styleValue)
233
+ "textVariableAnchor" ->
234
+ setTextVariableAnchor(layer, styleValue)
235
+ "textAnchor" ->
236
+ setTextAnchor(layer, styleValue)
237
+ "textMaxAngle" ->
238
+ setTextMaxAngle(layer, styleValue)
239
+ "textWritingMode" ->
240
+ setTextWritingMode(layer, styleValue)
241
+ "textRotate" ->
242
+ setTextRotate(layer, styleValue)
243
+ "textPadding" ->
244
+ setTextPadding(layer, styleValue)
245
+ "textKeepUpright" ->
246
+ setTextKeepUpright(layer, styleValue)
247
+ "textTransform" ->
248
+ setTextTransform(layer, styleValue)
249
+ "textOffset" ->
250
+ setTextOffset(layer, styleValue)
251
+ "textAllowOverlap" ->
252
+ setTextAllowOverlap(layer, styleValue)
253
+ "textIgnorePlacement" ->
254
+ setTextIgnorePlacement(layer, styleValue)
255
+ "textOptional" ->
256
+ setTextOptional(layer, styleValue)
257
+ "visibility" ->
258
+ setVisibility(layer, styleValue)
259
+ "iconOpacity" ->
260
+ setIconOpacity(layer, styleValue)
261
+ "iconOpacityTransition" ->
262
+ setIconOpacityTransition(layer, styleValue)
263
+ "iconColor" ->
264
+ setIconColor(layer, styleValue)
265
+ "iconColorTransition" ->
266
+ setIconColorTransition(layer, styleValue)
267
+ "iconHaloColor" ->
268
+ setIconHaloColor(layer, styleValue)
269
+ "iconHaloColorTransition" ->
270
+ setIconHaloColorTransition(layer, styleValue)
271
+ "iconHaloWidth" ->
272
+ setIconHaloWidth(layer, styleValue)
273
+ "iconHaloWidthTransition" ->
274
+ setIconHaloWidthTransition(layer, styleValue)
275
+ "iconHaloBlur" ->
276
+ setIconHaloBlur(layer, styleValue)
277
+ "iconHaloBlurTransition" ->
278
+ setIconHaloBlurTransition(layer, styleValue)
279
+ "iconTranslate" ->
280
+ setIconTranslate(layer, styleValue)
281
+ "iconTranslateTransition" ->
282
+ setIconTranslateTransition(layer, styleValue)
283
+ "iconTranslateAnchor" ->
284
+ setIconTranslateAnchor(layer, styleValue)
285
+ "textOpacity" ->
286
+ setTextOpacity(layer, styleValue)
287
+ "textOpacityTransition" ->
288
+ setTextOpacityTransition(layer, styleValue)
289
+ "textColor" ->
290
+ setTextColor(layer, styleValue)
291
+ "textColorTransition" ->
292
+ setTextColorTransition(layer, styleValue)
293
+ "textHaloColor" ->
294
+ setTextHaloColor(layer, styleValue)
295
+ "textHaloColorTransition" ->
296
+ setTextHaloColorTransition(layer, styleValue)
297
+ "textHaloWidth" ->
298
+ setTextHaloWidth(layer, styleValue)
299
+ "textHaloWidthTransition" ->
300
+ setTextHaloWidthTransition(layer, styleValue)
301
+ "textHaloBlur" ->
302
+ setTextHaloBlur(layer, styleValue)
303
+ "textHaloBlurTransition" ->
304
+ setTextHaloBlurTransition(layer, styleValue)
305
+ "textTranslate" ->
306
+ setTextTranslate(layer, styleValue)
307
+ "textTranslateTransition" ->
308
+ setTextTranslateTransition(layer, styleValue)
309
+ "textTranslateAnchor" ->
310
+ setTextTranslateAnchor(layer, styleValue)
311
+ }
312
+ }
313
+ }
314
+ fun setCircleLayerStyle(layer: CircleLayer, style: RNMBXStyle ) {
315
+ val styleKeys = style.allStyleKeys
316
+
317
+ if (styleKeys.isEmpty()) {
318
+ return
319
+ }
320
+
321
+ for (styleKey in styleKeys) {
322
+ val styleValue = style.getStyleValueForKey(styleKey)
323
+
324
+ when (styleKey) {
325
+ "circleSortKey" ->
326
+ setCircleSortKey(layer, styleValue)
327
+ "visibility" ->
328
+ setVisibility(layer, styleValue)
329
+ "circleRadius" ->
330
+ setCircleRadius(layer, styleValue)
331
+ "circleRadiusTransition" ->
332
+ setCircleRadiusTransition(layer, styleValue)
333
+ "circleColor" ->
334
+ setCircleColor(layer, styleValue)
335
+ "circleColorTransition" ->
336
+ setCircleColorTransition(layer, styleValue)
337
+ "circleBlur" ->
338
+ setCircleBlur(layer, styleValue)
339
+ "circleBlurTransition" ->
340
+ setCircleBlurTransition(layer, styleValue)
341
+ "circleOpacity" ->
342
+ setCircleOpacity(layer, styleValue)
343
+ "circleOpacityTransition" ->
344
+ setCircleOpacityTransition(layer, styleValue)
345
+ "circleTranslate" ->
346
+ setCircleTranslate(layer, styleValue)
347
+ "circleTranslateTransition" ->
348
+ setCircleTranslateTransition(layer, styleValue)
349
+ "circleTranslateAnchor" ->
350
+ setCircleTranslateAnchor(layer, styleValue)
351
+ "circlePitchScale" ->
352
+ setCirclePitchScale(layer, styleValue)
353
+ "circlePitchAlignment" ->
354
+ setCirclePitchAlignment(layer, styleValue)
355
+ "circleStrokeWidth" ->
356
+ setCircleStrokeWidth(layer, styleValue)
357
+ "circleStrokeWidthTransition" ->
358
+ setCircleStrokeWidthTransition(layer, styleValue)
359
+ "circleStrokeColor" ->
360
+ setCircleStrokeColor(layer, styleValue)
361
+ "circleStrokeColorTransition" ->
362
+ setCircleStrokeColorTransition(layer, styleValue)
363
+ "circleStrokeOpacity" ->
364
+ setCircleStrokeOpacity(layer, styleValue)
365
+ "circleStrokeOpacityTransition" ->
366
+ setCircleStrokeOpacityTransition(layer, styleValue)
367
+ }
368
+ }
369
+ }
370
+ fun setHeatmapLayerStyle(layer: HeatmapLayer, style: RNMBXStyle ) {
371
+ val styleKeys = style.allStyleKeys
372
+
373
+ if (styleKeys.isEmpty()) {
374
+ return
375
+ }
376
+
377
+ for (styleKey in styleKeys) {
378
+ val styleValue = style.getStyleValueForKey(styleKey)
379
+
380
+ when (styleKey) {
381
+ "visibility" ->
382
+ setVisibility(layer, styleValue)
383
+ "heatmapRadius" ->
384
+ setHeatmapRadius(layer, styleValue)
385
+ "heatmapRadiusTransition" ->
386
+ setHeatmapRadiusTransition(layer, styleValue)
387
+ "heatmapWeight" ->
388
+ setHeatmapWeight(layer, styleValue)
389
+ "heatmapIntensity" ->
390
+ setHeatmapIntensity(layer, styleValue)
391
+ "heatmapIntensityTransition" ->
392
+ setHeatmapIntensityTransition(layer, styleValue)
393
+ "heatmapColor" ->
394
+ setHeatmapColor(layer, styleValue)
395
+ "heatmapOpacity" ->
396
+ setHeatmapOpacity(layer, styleValue)
397
+ "heatmapOpacityTransition" ->
398
+ setHeatmapOpacityTransition(layer, styleValue)
399
+ }
400
+ }
401
+ }
402
+ fun setFillExtrusionLayerStyle(layer: FillExtrusionLayer, style: RNMBXStyle ) {
403
+ val styleKeys = style.allStyleKeys
404
+
405
+ if (styleKeys.isEmpty()) {
406
+ return
407
+ }
408
+
409
+ for (styleKey in styleKeys) {
410
+ val styleValue = style.getStyleValueForKey(styleKey)
411
+
412
+ when (styleKey) {
413
+ "visibility" ->
414
+ setVisibility(layer, styleValue)
415
+ "fillExtrusionOpacity" ->
416
+ setFillExtrusionOpacity(layer, styleValue)
417
+ "fillExtrusionOpacityTransition" ->
418
+ setFillExtrusionOpacityTransition(layer, styleValue)
419
+ "fillExtrusionColor" ->
420
+ setFillExtrusionColor(layer, styleValue)
421
+ "fillExtrusionColorTransition" ->
422
+ setFillExtrusionColorTransition(layer, styleValue)
423
+ "fillExtrusionTranslate" ->
424
+ setFillExtrusionTranslate(layer, styleValue)
425
+ "fillExtrusionTranslateTransition" ->
426
+ setFillExtrusionTranslateTransition(layer, styleValue)
427
+ "fillExtrusionTranslateAnchor" ->
428
+ setFillExtrusionTranslateAnchor(layer, styleValue)
429
+ "fillExtrusionPattern" ->
430
+ style.addImage(styleValue!!, styleKey, object : OnAllImagesLoaded {
431
+ override fun onAllImagesLoaded() {
432
+ try {
433
+ setFillExtrusionPattern(layer, styleValue)
434
+ } catch (exception: RuntimeException) {
435
+ e("RNMBXFillExtrusion",String.format("Exception failed during setFillExtrusionPattern: %s", exception.message))
436
+ }
437
+ }
438
+ })
439
+ "fillExtrusionHeight" ->
440
+ setFillExtrusionHeight(layer, styleValue)
441
+ "fillExtrusionHeightTransition" ->
442
+ setFillExtrusionHeightTransition(layer, styleValue)
443
+ "fillExtrusionBase" ->
444
+ setFillExtrusionBase(layer, styleValue)
445
+ "fillExtrusionBaseTransition" ->
446
+ setFillExtrusionBaseTransition(layer, styleValue)
447
+ "fillExtrusionVerticalGradient" ->
448
+ setFillExtrusionVerticalGradient(layer, styleValue)
449
+ }
450
+ }
451
+ }
452
+ fun setRasterLayerStyle(layer: RasterLayer, style: RNMBXStyle ) {
453
+ val styleKeys = style.allStyleKeys
454
+
455
+ if (styleKeys.isEmpty()) {
456
+ return
457
+ }
458
+
459
+ for (styleKey in styleKeys) {
460
+ val styleValue = style.getStyleValueForKey(styleKey)
461
+
462
+ when (styleKey) {
463
+ "visibility" ->
464
+ setVisibility(layer, styleValue)
465
+ "rasterOpacity" ->
466
+ setRasterOpacity(layer, styleValue)
467
+ "rasterOpacityTransition" ->
468
+ setRasterOpacityTransition(layer, styleValue)
469
+ "rasterHueRotate" ->
470
+ setRasterHueRotate(layer, styleValue)
471
+ "rasterHueRotateTransition" ->
472
+ setRasterHueRotateTransition(layer, styleValue)
473
+ "rasterBrightnessMin" ->
474
+ setRasterBrightnessMin(layer, styleValue)
475
+ "rasterBrightnessMinTransition" ->
476
+ setRasterBrightnessMinTransition(layer, styleValue)
477
+ "rasterBrightnessMax" ->
478
+ setRasterBrightnessMax(layer, styleValue)
479
+ "rasterBrightnessMaxTransition" ->
480
+ setRasterBrightnessMaxTransition(layer, styleValue)
481
+ "rasterSaturation" ->
482
+ setRasterSaturation(layer, styleValue)
483
+ "rasterSaturationTransition" ->
484
+ setRasterSaturationTransition(layer, styleValue)
485
+ "rasterContrast" ->
486
+ setRasterContrast(layer, styleValue)
487
+ "rasterContrastTransition" ->
488
+ setRasterContrastTransition(layer, styleValue)
489
+ "rasterResampling" ->
490
+ setRasterResampling(layer, styleValue)
491
+ "rasterFadeDuration" ->
492
+ setRasterFadeDuration(layer, styleValue)
493
+ }
494
+ }
495
+ }
496
+ fun setHillshadeLayerStyle(layer: HillshadeLayer, style: RNMBXStyle ) {
497
+ val styleKeys = style.allStyleKeys
498
+
499
+ if (styleKeys.isEmpty()) {
500
+ return
501
+ }
502
+
503
+ for (styleKey in styleKeys) {
504
+ val styleValue = style.getStyleValueForKey(styleKey)
505
+
506
+ when (styleKey) {
507
+ "visibility" ->
508
+ setVisibility(layer, styleValue)
509
+ "hillshadeIlluminationDirection" ->
510
+ setHillshadeIlluminationDirection(layer, styleValue)
511
+ "hillshadeIlluminationAnchor" ->
512
+ setHillshadeIlluminationAnchor(layer, styleValue)
513
+ "hillshadeExaggeration" ->
514
+ setHillshadeExaggeration(layer, styleValue)
515
+ "hillshadeExaggerationTransition" ->
516
+ setHillshadeExaggerationTransition(layer, styleValue)
517
+ "hillshadeShadowColor" ->
518
+ setHillshadeShadowColor(layer, styleValue)
519
+ "hillshadeShadowColorTransition" ->
520
+ setHillshadeShadowColorTransition(layer, styleValue)
521
+ "hillshadeHighlightColor" ->
522
+ setHillshadeHighlightColor(layer, styleValue)
523
+ "hillshadeHighlightColorTransition" ->
524
+ setHillshadeHighlightColorTransition(layer, styleValue)
525
+ "hillshadeAccentColor" ->
526
+ setHillshadeAccentColor(layer, styleValue)
527
+ "hillshadeAccentColorTransition" ->
528
+ setHillshadeAccentColorTransition(layer, styleValue)
529
+ }
530
+ }
531
+ }
532
+ fun setBackgroundLayerStyle(layer: BackgroundLayer, style: RNMBXStyle ) {
533
+ val styleKeys = style.allStyleKeys
534
+
535
+ if (styleKeys.isEmpty()) {
536
+ return
537
+ }
538
+
539
+ for (styleKey in styleKeys) {
540
+ val styleValue = style.getStyleValueForKey(styleKey)
541
+
542
+ when (styleKey) {
543
+ "visibility" ->
544
+ setVisibility(layer, styleValue)
545
+ "backgroundColor" ->
546
+ setBackgroundColor(layer, styleValue)
547
+ "backgroundColorTransition" ->
548
+ setBackgroundColorTransition(layer, styleValue)
549
+ "backgroundPattern" ->
550
+ style.addImage(styleValue!!, styleKey, object : OnAllImagesLoaded {
551
+ override fun onAllImagesLoaded() {
552
+ try {
553
+ setBackgroundPattern(layer, styleValue)
554
+ } catch (exception: RuntimeException) {
555
+ e("RNMBXBackground",String.format("Exception failed during setBackgroundPattern: %s", exception.message))
556
+ }
557
+ }
558
+ })
559
+ "backgroundOpacity" ->
560
+ setBackgroundOpacity(layer, styleValue)
561
+ "backgroundOpacityTransition" ->
562
+ setBackgroundOpacityTransition(layer, styleValue)
563
+ }
564
+ }
565
+ }
566
+ fun setSkyLayerStyle(layer: SkyLayer, style: RNMBXStyle ) {
567
+ val styleKeys = style.allStyleKeys
568
+
569
+ if (styleKeys.isEmpty()) {
570
+ return
571
+ }
572
+
573
+ for (styleKey in styleKeys) {
574
+ val styleValue = style.getStyleValueForKey(styleKey)
575
+
576
+ when (styleKey) {
577
+ "visibility" ->
578
+ setVisibility(layer, styleValue)
579
+ "skyType" ->
580
+ setSkyType(layer, styleValue)
581
+ "skyAtmosphereSun" ->
582
+ setSkyAtmosphereSun(layer, styleValue)
583
+ "skyAtmosphereSunIntensity" ->
584
+ setSkyAtmosphereSunIntensity(layer, styleValue)
585
+ "skyGradientCenter" ->
586
+ setSkyGradientCenter(layer, styleValue)
587
+ "skyGradientRadius" ->
588
+ setSkyGradientRadius(layer, styleValue)
589
+ "skyGradient" ->
590
+ setSkyGradient(layer, styleValue)
591
+ "skyAtmosphereHaloColor" ->
592
+ setSkyAtmosphereHaloColor(layer, styleValue)
593
+ "skyAtmosphereColor" ->
594
+ setSkyAtmosphereColor(layer, styleValue)
595
+ "skyOpacity" ->
596
+ setSkyOpacity(layer, styleValue)
597
+ "skyOpacityTransition" ->
598
+ setSkyOpacityTransition(layer, styleValue)
599
+ }
600
+ }
601
+ }
602
+ fun setLightLayerStyle(layer: Light, style: RNMBXStyle ) {
603
+ val styleKeys = style.allStyleKeys
604
+
605
+ if (styleKeys.isEmpty()) {
606
+ return
607
+ }
608
+
609
+ for (styleKey in styleKeys) {
610
+ val styleValue = style.getStyleValueForKey(styleKey)
611
+
612
+ when (styleKey) {
613
+ "anchor" ->
614
+ setAnchor(layer, styleValue)
615
+ "position" ->
616
+ setPosition(layer, styleValue)
617
+ "positionTransition" ->
618
+ setPositionTransition(layer, styleValue)
619
+ "color" ->
620
+ setColor(layer, styleValue)
621
+ "colorTransition" ->
622
+ setColorTransition(layer, styleValue)
623
+ "intensity" ->
624
+ setIntensity(layer, styleValue)
625
+ "intensityTransition" ->
626
+ setIntensityTransition(layer, styleValue)
627
+ }
628
+ }
629
+ }
630
+ fun setAtmosphereLayerStyle(layer: Atmosphere, style: RNMBXStyle ) {
631
+ val styleKeys = style.allStyleKeys
632
+
633
+ if (styleKeys.isEmpty()) {
634
+ return
635
+ }
636
+
637
+ for (styleKey in styleKeys) {
638
+ val styleValue = style.getStyleValueForKey(styleKey)
639
+
640
+ when (styleKey) {
641
+ "range" ->
642
+ setRange(layer, styleValue)
643
+ "rangeTransition" ->
644
+ setRangeTransition(layer, styleValue)
645
+ "color" ->
646
+ setColor(layer, styleValue)
647
+ "colorTransition" ->
648
+ setColorTransition(layer, styleValue)
649
+ "highColor" ->
650
+ setHighColor(layer, styleValue)
651
+ "highColorTransition" ->
652
+ setHighColorTransition(layer, styleValue)
653
+ "spaceColor" ->
654
+ setSpaceColor(layer, styleValue)
655
+ "spaceColorTransition" ->
656
+ setSpaceColorTransition(layer, styleValue)
657
+ "horizonBlend" ->
658
+ setHorizonBlend(layer, styleValue)
659
+ "horizonBlendTransition" ->
660
+ setHorizonBlendTransition(layer, styleValue)
661
+ "starIntensity" ->
662
+ setStarIntensity(layer, styleValue)
663
+ "starIntensityTransition" ->
664
+ setStarIntensityTransition(layer, styleValue)
665
+ }
666
+ }
667
+ }
668
+ fun setTerrainLayerStyle(layer: Terrain, style: RNMBXStyle ) {
669
+ val styleKeys = style.allStyleKeys
670
+
671
+ if (styleKeys.isEmpty()) {
672
+ return
673
+ }
674
+
675
+ for (styleKey in styleKeys) {
676
+ val styleValue = style.getStyleValueForKey(styleKey)
677
+
678
+ when (styleKey) {
679
+ "exaggeration" ->
680
+ setExaggeration(layer, styleValue)
681
+ }
682
+ }
683
+ }
684
+
685
+ fun setFillSortKey(layer: FillLayer, styleValue: RNMBXStyleValue ) {
686
+ if (styleValue.isExpression()) {
687
+ val expression = styleValue.getExpression()
688
+ if (expression != null) {
689
+ layer.fillSortKey(expression)
690
+ } else {
691
+ e("RNMBXFill", "Expression for fillSortKey is null")
692
+ }
693
+ } else {
694
+ val value = styleValue.getDouble(VALUE_KEY)
695
+ if (value != null) {
696
+ layer.fillSortKey(value)
697
+ } else {
698
+ e("RNMBXFill", "value for fillSortKey is null")
699
+ }
700
+ }
701
+ }
702
+
703
+ fun setVisibility(layer: FillLayer, styleValue: RNMBXStyleValue ) {
704
+ layer.visibility(Visibility.valueOf(styleValue.getEnumName()));
705
+ }
706
+
707
+ fun setFillAntialias(layer: FillLayer, styleValue: RNMBXStyleValue ) {
708
+ if (styleValue.isExpression()) {
709
+ val expression = styleValue.getExpression()
710
+ if (expression != null) {
711
+ layer.fillAntialias(expression)
712
+ } else {
713
+ e("RNMBXFill", "Expression for fillAntialias is null")
714
+ }
715
+ } else {
716
+ val value = styleValue.getBoolean(VALUE_KEY)
717
+ if (value != null) {
718
+ layer.fillAntialias(value)
719
+ } else {
720
+ e("RNMBXFill", "value for fillAntialias is null")
721
+ }
722
+ }
723
+ }
724
+
725
+ fun setFillOpacity(layer: FillLayer, styleValue: RNMBXStyleValue ) {
726
+ if (styleValue.isExpression()) {
727
+ val expression = styleValue.getExpression()
728
+ if (expression != null) {
729
+ layer.fillOpacity(expression)
730
+ } else {
731
+ e("RNMBXFill", "Expression for fillOpacity is null")
732
+ }
733
+ } else {
734
+ val value = styleValue.getDouble(VALUE_KEY)
735
+ if (value != null) {
736
+ layer.fillOpacity(value)
737
+ } else {
738
+ e("RNMBXFill", "value for fillOpacity is null")
739
+ }
740
+ }
741
+ }
742
+
743
+
744
+ fun setFillOpacityTransition(layer: FillLayer, styleValue: RNMBXStyleValue) {
745
+ val transition = styleValue.transition
746
+ if (transition != null) {
747
+ layer.fillOpacityTransition(transition);
748
+ }
749
+ }
750
+
751
+ fun setFillColor(layer: FillLayer, styleValue: RNMBXStyleValue ) {
752
+ if (styleValue.isExpression()) {
753
+ val expression = styleValue.getExpression()
754
+ if (expression != null) {
755
+ layer.fillColor(expression)
756
+ } else {
757
+ e("RNMBXFill", "Expression for fillColor is null")
758
+ }
759
+ } else {
760
+ val value = styleValue.getInt(VALUE_KEY)
761
+ if (value != null) {
762
+ layer.fillColor(value)
763
+ } else {
764
+ e("RNMBXFill", "value for fillColor is null")
765
+ }
766
+ }
767
+ }
768
+
769
+
770
+ fun setFillColorTransition(layer: FillLayer, styleValue: RNMBXStyleValue) {
771
+ val transition = styleValue.transition
772
+ if (transition != null) {
773
+ layer.fillColorTransition(transition);
774
+ }
775
+ }
776
+
777
+ fun setFillOutlineColor(layer: FillLayer, styleValue: RNMBXStyleValue ) {
778
+ if (styleValue.isExpression()) {
779
+ val expression = styleValue.getExpression()
780
+ if (expression != null) {
781
+ layer.fillOutlineColor(expression)
782
+ } else {
783
+ e("RNMBXFill", "Expression for fillOutlineColor is null")
784
+ }
785
+ } else {
786
+ val value = styleValue.getInt(VALUE_KEY)
787
+ if (value != null) {
788
+ layer.fillOutlineColor(value)
789
+ } else {
790
+ e("RNMBXFill", "value for fillOutlineColor is null")
791
+ }
792
+ }
793
+ }
794
+
795
+
796
+ fun setFillOutlineColorTransition(layer: FillLayer, styleValue: RNMBXStyleValue) {
797
+ val transition = styleValue.transition
798
+ if (transition != null) {
799
+ layer.fillOutlineColorTransition(transition);
800
+ }
801
+ }
802
+
803
+ fun setFillTranslate(layer: FillLayer, styleValue: RNMBXStyleValue ) {
804
+ if (styleValue.isExpression()) {
805
+ val expression = styleValue.getExpression()
806
+ if (expression != null) {
807
+ layer.fillTranslate(expression)
808
+ } else {
809
+ e("RNMBXFill", "Expression for fillTranslate is null")
810
+ }
811
+ } else {
812
+ val value = styleValue.getFloatArray(VALUE_KEY)
813
+ if (value != null) {
814
+ layer.fillTranslate(value)
815
+ } else {
816
+ e("RNMBXFill", "value for fillTranslate is null")
817
+ }
818
+ }
819
+ }
820
+
821
+
822
+ fun setFillTranslateTransition(layer: FillLayer, styleValue: RNMBXStyleValue) {
823
+ val transition = styleValue.transition
824
+ if (transition != null) {
825
+ layer.fillTranslateTransition(transition);
826
+ }
827
+ }
828
+
829
+ fun setFillTranslateAnchor(layer: FillLayer, styleValue: RNMBXStyleValue ) {
830
+ if (styleValue.isExpression()) {
831
+ val expression = styleValue.getExpression()
832
+ if (expression != null) {
833
+ layer.fillTranslateAnchor(expression)
834
+ } else {
835
+ e("RNMBXFill", "Expression for fillTranslateAnchor is null")
836
+ }
837
+ } else {
838
+ layer.fillTranslateAnchor(FillTranslateAnchor.valueOf(styleValue.getEnumName()))
839
+ }
840
+ }
841
+
842
+ fun setFillPattern(layer: FillLayer, styleValue: RNMBXStyleValue ) {
843
+ if (styleValue.isExpression()) {
844
+ if (styleValue.isImageStringValue) {
845
+ val value = styleValue.getImageStringValue()
846
+ if (value != null) {
847
+ layer.fillPattern(value)
848
+ } else {
849
+ e("RNMBXFill", "Image for fillPattern is null")
850
+ }
851
+ } else {
852
+ val expression = styleValue.getExpression()
853
+ if (expression != null) {
854
+ layer.fillPattern(expression)
855
+ } else {
856
+ e("RNMBXFill", "Expression for fillPattern is null")
857
+ }
858
+ }
859
+ } else {
860
+ val value = styleValue.imageURI
861
+ if (value != null) {
862
+ layer.fillPattern(value);
863
+ } else {
864
+ e("RNMBXFill", "value for fillPattern is null")
865
+ }
866
+ }
867
+ }
868
+
869
+ fun setLineCap(layer: LineLayer, styleValue: RNMBXStyleValue ) {
870
+ if (styleValue.isExpression()) {
871
+ val expression = styleValue.getExpression()
872
+ if (expression != null) {
873
+ layer.lineCap(expression)
874
+ } else {
875
+ e("RNMBXLine", "Expression for lineCap is null")
876
+ }
877
+ } else {
878
+ layer.lineCap(LineCap.valueOf(styleValue.getEnumName()))
879
+ }
880
+ }
881
+
882
+ fun setLineJoin(layer: LineLayer, styleValue: RNMBXStyleValue ) {
883
+ if (styleValue.isExpression()) {
884
+ val expression = styleValue.getExpression()
885
+ if (expression != null) {
886
+ layer.lineJoin(expression)
887
+ } else {
888
+ e("RNMBXLine", "Expression for lineJoin is null")
889
+ }
890
+ } else {
891
+ layer.lineJoin(LineJoin.valueOf(styleValue.getEnumName()))
892
+ }
893
+ }
894
+
895
+ fun setLineMiterLimit(layer: LineLayer, styleValue: RNMBXStyleValue ) {
896
+ if (styleValue.isExpression()) {
897
+ val expression = styleValue.getExpression()
898
+ if (expression != null) {
899
+ layer.lineMiterLimit(expression)
900
+ } else {
901
+ e("RNMBXLine", "Expression for lineMiterLimit is null")
902
+ }
903
+ } else {
904
+ val value = styleValue.getDouble(VALUE_KEY)
905
+ if (value != null) {
906
+ layer.lineMiterLimit(value)
907
+ } else {
908
+ e("RNMBXLine", "value for lineMiterLimit is null")
909
+ }
910
+ }
911
+ }
912
+
913
+ fun setLineRoundLimit(layer: LineLayer, styleValue: RNMBXStyleValue ) {
914
+ if (styleValue.isExpression()) {
915
+ val expression = styleValue.getExpression()
916
+ if (expression != null) {
917
+ layer.lineRoundLimit(expression)
918
+ } else {
919
+ e("RNMBXLine", "Expression for lineRoundLimit is null")
920
+ }
921
+ } else {
922
+ val value = styleValue.getDouble(VALUE_KEY)
923
+ if (value != null) {
924
+ layer.lineRoundLimit(value)
925
+ } else {
926
+ e("RNMBXLine", "value for lineRoundLimit is null")
927
+ }
928
+ }
929
+ }
930
+
931
+ fun setLineSortKey(layer: LineLayer, styleValue: RNMBXStyleValue ) {
932
+ if (styleValue.isExpression()) {
933
+ val expression = styleValue.getExpression()
934
+ if (expression != null) {
935
+ layer.lineSortKey(expression)
936
+ } else {
937
+ e("RNMBXLine", "Expression for lineSortKey is null")
938
+ }
939
+ } else {
940
+ val value = styleValue.getDouble(VALUE_KEY)
941
+ if (value != null) {
942
+ layer.lineSortKey(value)
943
+ } else {
944
+ e("RNMBXLine", "value for lineSortKey is null")
945
+ }
946
+ }
947
+ }
948
+
949
+ fun setVisibility(layer: LineLayer, styleValue: RNMBXStyleValue ) {
950
+ layer.visibility(Visibility.valueOf(styleValue.getEnumName()));
951
+ }
952
+
953
+ fun setLineOpacity(layer: LineLayer, styleValue: RNMBXStyleValue ) {
954
+ if (styleValue.isExpression()) {
955
+ val expression = styleValue.getExpression()
956
+ if (expression != null) {
957
+ layer.lineOpacity(expression)
958
+ } else {
959
+ e("RNMBXLine", "Expression for lineOpacity is null")
960
+ }
961
+ } else {
962
+ val value = styleValue.getDouble(VALUE_KEY)
963
+ if (value != null) {
964
+ layer.lineOpacity(value)
965
+ } else {
966
+ e("RNMBXLine", "value for lineOpacity is null")
967
+ }
968
+ }
969
+ }
970
+
971
+
972
+ fun setLineOpacityTransition(layer: LineLayer, styleValue: RNMBXStyleValue) {
973
+ val transition = styleValue.transition
974
+ if (transition != null) {
975
+ layer.lineOpacityTransition(transition);
976
+ }
977
+ }
978
+
979
+ fun setLineColor(layer: LineLayer, styleValue: RNMBXStyleValue ) {
980
+ if (styleValue.isExpression()) {
981
+ val expression = styleValue.getExpression()
982
+ if (expression != null) {
983
+ layer.lineColor(expression)
984
+ } else {
985
+ e("RNMBXLine", "Expression for lineColor is null")
986
+ }
987
+ } else {
988
+ val value = styleValue.getInt(VALUE_KEY)
989
+ if (value != null) {
990
+ layer.lineColor(value)
991
+ } else {
992
+ e("RNMBXLine", "value for lineColor is null")
993
+ }
994
+ }
995
+ }
996
+
997
+
998
+ fun setLineColorTransition(layer: LineLayer, styleValue: RNMBXStyleValue) {
999
+ val transition = styleValue.transition
1000
+ if (transition != null) {
1001
+ layer.lineColorTransition(transition);
1002
+ }
1003
+ }
1004
+
1005
+ fun setLineTranslate(layer: LineLayer, styleValue: RNMBXStyleValue ) {
1006
+ if (styleValue.isExpression()) {
1007
+ val expression = styleValue.getExpression()
1008
+ if (expression != null) {
1009
+ layer.lineTranslate(expression)
1010
+ } else {
1011
+ e("RNMBXLine", "Expression for lineTranslate is null")
1012
+ }
1013
+ } else {
1014
+ val value = styleValue.getFloatArray(VALUE_KEY)
1015
+ if (value != null) {
1016
+ layer.lineTranslate(value)
1017
+ } else {
1018
+ e("RNMBXLine", "value for lineTranslate is null")
1019
+ }
1020
+ }
1021
+ }
1022
+
1023
+
1024
+ fun setLineTranslateTransition(layer: LineLayer, styleValue: RNMBXStyleValue) {
1025
+ val transition = styleValue.transition
1026
+ if (transition != null) {
1027
+ layer.lineTranslateTransition(transition);
1028
+ }
1029
+ }
1030
+
1031
+ fun setLineTranslateAnchor(layer: LineLayer, styleValue: RNMBXStyleValue ) {
1032
+ if (styleValue.isExpression()) {
1033
+ val expression = styleValue.getExpression()
1034
+ if (expression != null) {
1035
+ layer.lineTranslateAnchor(expression)
1036
+ } else {
1037
+ e("RNMBXLine", "Expression for lineTranslateAnchor is null")
1038
+ }
1039
+ } else {
1040
+ layer.lineTranslateAnchor(LineTranslateAnchor.valueOf(styleValue.getEnumName()))
1041
+ }
1042
+ }
1043
+
1044
+ fun setLineWidth(layer: LineLayer, styleValue: RNMBXStyleValue ) {
1045
+ if (styleValue.isExpression()) {
1046
+ val expression = styleValue.getExpression()
1047
+ if (expression != null) {
1048
+ layer.lineWidth(expression)
1049
+ } else {
1050
+ e("RNMBXLine", "Expression for lineWidth is null")
1051
+ }
1052
+ } else {
1053
+ val value = styleValue.getDouble(VALUE_KEY)
1054
+ if (value != null) {
1055
+ layer.lineWidth(value)
1056
+ } else {
1057
+ e("RNMBXLine", "value for lineWidth is null")
1058
+ }
1059
+ }
1060
+ }
1061
+
1062
+
1063
+ fun setLineWidthTransition(layer: LineLayer, styleValue: RNMBXStyleValue) {
1064
+ val transition = styleValue.transition
1065
+ if (transition != null) {
1066
+ layer.lineWidthTransition(transition);
1067
+ }
1068
+ }
1069
+
1070
+ fun setLineGapWidth(layer: LineLayer, styleValue: RNMBXStyleValue ) {
1071
+ if (styleValue.isExpression()) {
1072
+ val expression = styleValue.getExpression()
1073
+ if (expression != null) {
1074
+ layer.lineGapWidth(expression)
1075
+ } else {
1076
+ e("RNMBXLine", "Expression for lineGapWidth is null")
1077
+ }
1078
+ } else {
1079
+ val value = styleValue.getDouble(VALUE_KEY)
1080
+ if (value != null) {
1081
+ layer.lineGapWidth(value)
1082
+ } else {
1083
+ e("RNMBXLine", "value for lineGapWidth is null")
1084
+ }
1085
+ }
1086
+ }
1087
+
1088
+
1089
+ fun setLineGapWidthTransition(layer: LineLayer, styleValue: RNMBXStyleValue) {
1090
+ val transition = styleValue.transition
1091
+ if (transition != null) {
1092
+ layer.lineGapWidthTransition(transition);
1093
+ }
1094
+ }
1095
+
1096
+ fun setLineOffset(layer: LineLayer, styleValue: RNMBXStyleValue ) {
1097
+ if (styleValue.isExpression()) {
1098
+ val expression = styleValue.getExpression()
1099
+ if (expression != null) {
1100
+ layer.lineOffset(expression)
1101
+ } else {
1102
+ e("RNMBXLine", "Expression for lineOffset is null")
1103
+ }
1104
+ } else {
1105
+ val value = styleValue.getDouble(VALUE_KEY)
1106
+ if (value != null) {
1107
+ layer.lineOffset(value)
1108
+ } else {
1109
+ e("RNMBXLine", "value for lineOffset is null")
1110
+ }
1111
+ }
1112
+ }
1113
+
1114
+
1115
+ fun setLineOffsetTransition(layer: LineLayer, styleValue: RNMBXStyleValue) {
1116
+ val transition = styleValue.transition
1117
+ if (transition != null) {
1118
+ layer.lineOffsetTransition(transition);
1119
+ }
1120
+ }
1121
+
1122
+ fun setLineBlur(layer: LineLayer, styleValue: RNMBXStyleValue ) {
1123
+ if (styleValue.isExpression()) {
1124
+ val expression = styleValue.getExpression()
1125
+ if (expression != null) {
1126
+ layer.lineBlur(expression)
1127
+ } else {
1128
+ e("RNMBXLine", "Expression for lineBlur is null")
1129
+ }
1130
+ } else {
1131
+ val value = styleValue.getDouble(VALUE_KEY)
1132
+ if (value != null) {
1133
+ layer.lineBlur(value)
1134
+ } else {
1135
+ e("RNMBXLine", "value for lineBlur is null")
1136
+ }
1137
+ }
1138
+ }
1139
+
1140
+
1141
+ fun setLineBlurTransition(layer: LineLayer, styleValue: RNMBXStyleValue) {
1142
+ val transition = styleValue.transition
1143
+ if (transition != null) {
1144
+ layer.lineBlurTransition(transition);
1145
+ }
1146
+ }
1147
+
1148
+ fun setLineDasharray(layer: LineLayer, styleValue: RNMBXStyleValue ) {
1149
+ if (styleValue.isExpression()) {
1150
+ val expression = styleValue.getExpression()
1151
+ if (expression != null) {
1152
+ layer.lineDasharray(expression)
1153
+ } else {
1154
+ e("RNMBXLine", "Expression for lineDasharray is null")
1155
+ }
1156
+ } else {
1157
+ val value = styleValue.getFloatArray(VALUE_KEY)
1158
+ if (value != null) {
1159
+ layer.lineDasharray(value)
1160
+ } else {
1161
+ e("RNMBXLine", "value for lineDasharray is null")
1162
+ }
1163
+ }
1164
+ }
1165
+
1166
+ fun setLinePattern(layer: LineLayer, styleValue: RNMBXStyleValue ) {
1167
+ if (styleValue.isExpression()) {
1168
+ if (styleValue.isImageStringValue) {
1169
+ val value = styleValue.getImageStringValue()
1170
+ if (value != null) {
1171
+ layer.linePattern(value)
1172
+ } else {
1173
+ e("RNMBXLine", "Image for linePattern is null")
1174
+ }
1175
+ } else {
1176
+ val expression = styleValue.getExpression()
1177
+ if (expression != null) {
1178
+ layer.linePattern(expression)
1179
+ } else {
1180
+ e("RNMBXLine", "Expression for linePattern is null")
1181
+ }
1182
+ }
1183
+ } else {
1184
+ val value = styleValue.imageURI
1185
+ if (value != null) {
1186
+ layer.linePattern(value);
1187
+ } else {
1188
+ e("RNMBXLine", "value for linePattern is null")
1189
+ }
1190
+ }
1191
+ }
1192
+
1193
+ fun setLineGradient(layer: LineLayer, styleValue: RNMBXStyleValue ) {
1194
+ if (styleValue.isExpression()) {
1195
+ val expression = styleValue.getExpression()
1196
+ if (expression != null) {
1197
+ layer.lineGradient(expression)
1198
+ } else {
1199
+ e("RNMBXLine", "Expression for lineGradient is null")
1200
+ }
1201
+ } else {
1202
+ layer.lineGradient(styleValue.getIntExpression(VALUE_KEY))
1203
+ }
1204
+ }
1205
+
1206
+ fun setLineTrimOffset(layer: LineLayer, styleValue: RNMBXStyleValue ) {
1207
+ if (styleValue.isExpression()) {
1208
+ val expression = styleValue.getExpression()
1209
+ if (expression != null) {
1210
+ layer.lineTrimOffset(expression)
1211
+ } else {
1212
+ e("RNMBXLine", "Expression for lineTrimOffset is null")
1213
+ }
1214
+ } else {
1215
+ val value = styleValue.getFloatArray(VALUE_KEY)
1216
+ if (value != null) {
1217
+ layer.lineTrimOffset(value)
1218
+ } else {
1219
+ e("RNMBXLine", "value for lineTrimOffset is null")
1220
+ }
1221
+ }
1222
+ }
1223
+
1224
+ fun setSymbolPlacement(layer: SymbolLayer, styleValue: RNMBXStyleValue ) {
1225
+ if (styleValue.isExpression()) {
1226
+ val expression = styleValue.getExpression()
1227
+ if (expression != null) {
1228
+ layer.symbolPlacement(expression)
1229
+ } else {
1230
+ e("RNMBXSymbol", "Expression for symbolPlacement is null")
1231
+ }
1232
+ } else {
1233
+ layer.symbolPlacement(SymbolPlacement.valueOf(styleValue.getEnumName()))
1234
+ }
1235
+ }
1236
+
1237
+ fun setSymbolSpacing(layer: SymbolLayer, styleValue: RNMBXStyleValue ) {
1238
+ if (styleValue.isExpression()) {
1239
+ val expression = styleValue.getExpression()
1240
+ if (expression != null) {
1241
+ layer.symbolSpacing(expression)
1242
+ } else {
1243
+ e("RNMBXSymbol", "Expression for symbolSpacing is null")
1244
+ }
1245
+ } else {
1246
+ val value = styleValue.getDouble(VALUE_KEY)
1247
+ if (value != null) {
1248
+ layer.symbolSpacing(value)
1249
+ } else {
1250
+ e("RNMBXSymbol", "value for symbolSpacing is null")
1251
+ }
1252
+ }
1253
+ }
1254
+
1255
+ fun setSymbolAvoidEdges(layer: SymbolLayer, styleValue: RNMBXStyleValue ) {
1256
+ if (styleValue.isExpression()) {
1257
+ val expression = styleValue.getExpression()
1258
+ if (expression != null) {
1259
+ layer.symbolAvoidEdges(expression)
1260
+ } else {
1261
+ e("RNMBXSymbol", "Expression for symbolAvoidEdges is null")
1262
+ }
1263
+ } else {
1264
+ val value = styleValue.getBoolean(VALUE_KEY)
1265
+ if (value != null) {
1266
+ layer.symbolAvoidEdges(value)
1267
+ } else {
1268
+ e("RNMBXSymbol", "value for symbolAvoidEdges is null")
1269
+ }
1270
+ }
1271
+ }
1272
+
1273
+ fun setSymbolSortKey(layer: SymbolLayer, styleValue: RNMBXStyleValue ) {
1274
+ if (styleValue.isExpression()) {
1275
+ val expression = styleValue.getExpression()
1276
+ if (expression != null) {
1277
+ layer.symbolSortKey(expression)
1278
+ } else {
1279
+ e("RNMBXSymbol", "Expression for symbolSortKey is null")
1280
+ }
1281
+ } else {
1282
+ val value = styleValue.getDouble(VALUE_KEY)
1283
+ if (value != null) {
1284
+ layer.symbolSortKey(value)
1285
+ } else {
1286
+ e("RNMBXSymbol", "value for symbolSortKey is null")
1287
+ }
1288
+ }
1289
+ }
1290
+
1291
+ fun setSymbolZOrder(layer: SymbolLayer, styleValue: RNMBXStyleValue ) {
1292
+ if (styleValue.isExpression()) {
1293
+ val expression = styleValue.getExpression()
1294
+ if (expression != null) {
1295
+ layer.symbolZOrder(expression)
1296
+ } else {
1297
+ e("RNMBXSymbol", "Expression for symbolZOrder is null")
1298
+ }
1299
+ } else {
1300
+ layer.symbolZOrder(SymbolZOrder.valueOf(styleValue.getEnumName()))
1301
+ }
1302
+ }
1303
+
1304
+ fun setIconAllowOverlap(layer: SymbolLayer, styleValue: RNMBXStyleValue ) {
1305
+ if (styleValue.isExpression()) {
1306
+ val expression = styleValue.getExpression()
1307
+ if (expression != null) {
1308
+ layer.iconAllowOverlap(expression)
1309
+ } else {
1310
+ e("RNMBXSymbol", "Expression for iconAllowOverlap is null")
1311
+ }
1312
+ } else {
1313
+ val value = styleValue.getBoolean(VALUE_KEY)
1314
+ if (value != null) {
1315
+ layer.iconAllowOverlap(value)
1316
+ } else {
1317
+ e("RNMBXSymbol", "value for iconAllowOverlap is null")
1318
+ }
1319
+ }
1320
+ }
1321
+
1322
+ fun setIconIgnorePlacement(layer: SymbolLayer, styleValue: RNMBXStyleValue ) {
1323
+ if (styleValue.isExpression()) {
1324
+ val expression = styleValue.getExpression()
1325
+ if (expression != null) {
1326
+ layer.iconIgnorePlacement(expression)
1327
+ } else {
1328
+ e("RNMBXSymbol", "Expression for iconIgnorePlacement is null")
1329
+ }
1330
+ } else {
1331
+ val value = styleValue.getBoolean(VALUE_KEY)
1332
+ if (value != null) {
1333
+ layer.iconIgnorePlacement(value)
1334
+ } else {
1335
+ e("RNMBXSymbol", "value for iconIgnorePlacement is null")
1336
+ }
1337
+ }
1338
+ }
1339
+
1340
+ fun setIconOptional(layer: SymbolLayer, styleValue: RNMBXStyleValue ) {
1341
+ if (styleValue.isExpression()) {
1342
+ val expression = styleValue.getExpression()
1343
+ if (expression != null) {
1344
+ layer.iconOptional(expression)
1345
+ } else {
1346
+ e("RNMBXSymbol", "Expression for iconOptional is null")
1347
+ }
1348
+ } else {
1349
+ val value = styleValue.getBoolean(VALUE_KEY)
1350
+ if (value != null) {
1351
+ layer.iconOptional(value)
1352
+ } else {
1353
+ e("RNMBXSymbol", "value for iconOptional is null")
1354
+ }
1355
+ }
1356
+ }
1357
+
1358
+ fun setIconRotationAlignment(layer: SymbolLayer, styleValue: RNMBXStyleValue ) {
1359
+ if (styleValue.isExpression()) {
1360
+ val expression = styleValue.getExpression()
1361
+ if (expression != null) {
1362
+ layer.iconRotationAlignment(expression)
1363
+ } else {
1364
+ e("RNMBXSymbol", "Expression for iconRotationAlignment is null")
1365
+ }
1366
+ } else {
1367
+ layer.iconRotationAlignment(IconRotationAlignment.valueOf(styleValue.getEnumName()))
1368
+ }
1369
+ }
1370
+
1371
+ fun setIconSize(layer: SymbolLayer, styleValue: RNMBXStyleValue ) {
1372
+ if (styleValue.isExpression()) {
1373
+ val expression = styleValue.getExpression()
1374
+ if (expression != null) {
1375
+ layer.iconSize(expression)
1376
+ } else {
1377
+ e("RNMBXSymbol", "Expression for iconSize is null")
1378
+ }
1379
+ } else {
1380
+ val value = styleValue.getDouble(VALUE_KEY)
1381
+ if (value != null) {
1382
+ layer.iconSize(value)
1383
+ } else {
1384
+ e("RNMBXSymbol", "value for iconSize is null")
1385
+ }
1386
+ }
1387
+ }
1388
+
1389
+ fun setIconTextFit(layer: SymbolLayer, styleValue: RNMBXStyleValue ) {
1390
+ if (styleValue.isExpression()) {
1391
+ val expression = styleValue.getExpression()
1392
+ if (expression != null) {
1393
+ layer.iconTextFit(expression)
1394
+ } else {
1395
+ e("RNMBXSymbol", "Expression for iconTextFit is null")
1396
+ }
1397
+ } else {
1398
+ layer.iconTextFit(IconTextFit.valueOf(styleValue.getEnumName()))
1399
+ }
1400
+ }
1401
+
1402
+ fun setIconTextFitPadding(layer: SymbolLayer, styleValue: RNMBXStyleValue ) {
1403
+ if (styleValue.isExpression()) {
1404
+ val expression = styleValue.getExpression()
1405
+ if (expression != null) {
1406
+ layer.iconTextFitPadding(expression)
1407
+ } else {
1408
+ e("RNMBXSymbol", "Expression for iconTextFitPadding is null")
1409
+ }
1410
+ } else {
1411
+ val value = styleValue.getFloatArray(VALUE_KEY)
1412
+ if (value != null) {
1413
+ layer.iconTextFitPadding(value)
1414
+ } else {
1415
+ e("RNMBXSymbol", "value for iconTextFitPadding is null")
1416
+ }
1417
+ }
1418
+ }
1419
+
1420
+ fun setIconImage(layer: SymbolLayer, styleValue: RNMBXStyleValue ) {
1421
+ if (styleValue.isExpression()) {
1422
+ if (styleValue.isImageStringValue) {
1423
+ val value = styleValue.getImageStringValue()
1424
+ if (value != null) {
1425
+ layer.iconImage(value)
1426
+ } else {
1427
+ e("RNMBXSymbol", "Image for iconImage is null")
1428
+ }
1429
+ } else {
1430
+ val expression = styleValue.getExpression()
1431
+ if (expression != null) {
1432
+ layer.iconImage(expression)
1433
+ } else {
1434
+ e("RNMBXSymbol", "Expression for iconImage is null")
1435
+ }
1436
+ }
1437
+ } else {
1438
+ val value = styleValue.imageURI
1439
+ if (value != null) {
1440
+ layer.iconImage(value);
1441
+ } else {
1442
+ e("RNMBXSymbol", "value for iconImage is null")
1443
+ }
1444
+ }
1445
+ }
1446
+
1447
+ fun setIconRotate(layer: SymbolLayer, styleValue: RNMBXStyleValue ) {
1448
+ if (styleValue.isExpression()) {
1449
+ val expression = styleValue.getExpression()
1450
+ if (expression != null) {
1451
+ layer.iconRotate(expression)
1452
+ } else {
1453
+ e("RNMBXSymbol", "Expression for iconRotate is null")
1454
+ }
1455
+ } else {
1456
+ val value = styleValue.getDouble(VALUE_KEY)
1457
+ if (value != null) {
1458
+ layer.iconRotate(value)
1459
+ } else {
1460
+ e("RNMBXSymbol", "value for iconRotate is null")
1461
+ }
1462
+ }
1463
+ }
1464
+
1465
+ fun setIconPadding(layer: SymbolLayer, styleValue: RNMBXStyleValue ) {
1466
+ if (styleValue.isExpression()) {
1467
+ val expression = styleValue.getExpression()
1468
+ if (expression != null) {
1469
+ layer.iconPadding(expression)
1470
+ } else {
1471
+ e("RNMBXSymbol", "Expression for iconPadding is null")
1472
+ }
1473
+ } else {
1474
+ val value = styleValue.getDouble(VALUE_KEY)
1475
+ if (value != null) {
1476
+ layer.iconPadding(value)
1477
+ } else {
1478
+ e("RNMBXSymbol", "value for iconPadding is null")
1479
+ }
1480
+ }
1481
+ }
1482
+
1483
+ fun setIconKeepUpright(layer: SymbolLayer, styleValue: RNMBXStyleValue ) {
1484
+ if (styleValue.isExpression()) {
1485
+ val expression = styleValue.getExpression()
1486
+ if (expression != null) {
1487
+ layer.iconKeepUpright(expression)
1488
+ } else {
1489
+ e("RNMBXSymbol", "Expression for iconKeepUpright is null")
1490
+ }
1491
+ } else {
1492
+ val value = styleValue.getBoolean(VALUE_KEY)
1493
+ if (value != null) {
1494
+ layer.iconKeepUpright(value)
1495
+ } else {
1496
+ e("RNMBXSymbol", "value for iconKeepUpright is null")
1497
+ }
1498
+ }
1499
+ }
1500
+
1501
+ fun setIconOffset(layer: SymbolLayer, styleValue: RNMBXStyleValue ) {
1502
+ if (styleValue.isExpression()) {
1503
+ val expression = styleValue.getExpression()
1504
+ if (expression != null) {
1505
+ layer.iconOffset(expression)
1506
+ } else {
1507
+ e("RNMBXSymbol", "Expression for iconOffset is null")
1508
+ }
1509
+ } else {
1510
+ val value = styleValue.getFloatArray(VALUE_KEY)
1511
+ if (value != null) {
1512
+ layer.iconOffset(value)
1513
+ } else {
1514
+ e("RNMBXSymbol", "value for iconOffset is null")
1515
+ }
1516
+ }
1517
+ }
1518
+
1519
+ fun setIconAnchor(layer: SymbolLayer, styleValue: RNMBXStyleValue ) {
1520
+ if (styleValue.isExpression()) {
1521
+ val expression = styleValue.getExpression()
1522
+ if (expression != null) {
1523
+ layer.iconAnchor(expression)
1524
+ } else {
1525
+ e("RNMBXSymbol", "Expression for iconAnchor is null")
1526
+ }
1527
+ } else {
1528
+ layer.iconAnchor(IconAnchor.valueOf(styleValue.getEnumName()))
1529
+ }
1530
+ }
1531
+
1532
+ fun setIconPitchAlignment(layer: SymbolLayer, styleValue: RNMBXStyleValue ) {
1533
+ if (styleValue.isExpression()) {
1534
+ val expression = styleValue.getExpression()
1535
+ if (expression != null) {
1536
+ layer.iconPitchAlignment(expression)
1537
+ } else {
1538
+ e("RNMBXSymbol", "Expression for iconPitchAlignment is null")
1539
+ }
1540
+ } else {
1541
+ layer.iconPitchAlignment(IconPitchAlignment.valueOf(styleValue.getEnumName()))
1542
+ }
1543
+ }
1544
+
1545
+ fun setTextPitchAlignment(layer: SymbolLayer, styleValue: RNMBXStyleValue ) {
1546
+ if (styleValue.isExpression()) {
1547
+ val expression = styleValue.getExpression()
1548
+ if (expression != null) {
1549
+ layer.textPitchAlignment(expression)
1550
+ } else {
1551
+ e("RNMBXSymbol", "Expression for textPitchAlignment is null")
1552
+ }
1553
+ } else {
1554
+ layer.textPitchAlignment(TextPitchAlignment.valueOf(styleValue.getEnumName()))
1555
+ }
1556
+ }
1557
+
1558
+ fun setTextRotationAlignment(layer: SymbolLayer, styleValue: RNMBXStyleValue ) {
1559
+ if (styleValue.isExpression()) {
1560
+ val expression = styleValue.getExpression()
1561
+ if (expression != null) {
1562
+ layer.textRotationAlignment(expression)
1563
+ } else {
1564
+ e("RNMBXSymbol", "Expression for textRotationAlignment is null")
1565
+ }
1566
+ } else {
1567
+ layer.textRotationAlignment(TextRotationAlignment.valueOf(styleValue.getEnumName()))
1568
+ }
1569
+ }
1570
+
1571
+ fun setTextField(layer: SymbolLayer, styleValue: RNMBXStyleValue ) {
1572
+ if (styleValue.isExpression()) {
1573
+ val expression = styleValue.getExpression()
1574
+ if (expression != null) {
1575
+ layer.textField(expression)
1576
+ } else {
1577
+ e("RNMBXSymbol", "Expression for textField is null")
1578
+ }
1579
+ } else {
1580
+ val value = styleValue.getString(VALUE_KEY)
1581
+ if (value != null) {
1582
+ layer.textField(value)
1583
+ } else {
1584
+ e("RNMBXSymbol", "value for textField is null")
1585
+ }
1586
+ }
1587
+ }
1588
+
1589
+ fun setTextFont(layer: SymbolLayer, styleValue: RNMBXStyleValue ) {
1590
+ if (styleValue.isExpression()) {
1591
+ val expression = styleValue.getExpression()
1592
+ if (expression != null) {
1593
+ layer.textFont(expression)
1594
+ } else {
1595
+ e("RNMBXSymbol", "Expression for textFont is null")
1596
+ }
1597
+ } else {
1598
+ val value = styleValue.getStringArray(VALUE_KEY)
1599
+ if (value != null) {
1600
+ layer.textFont(value)
1601
+ } else {
1602
+ e("RNMBXSymbol", "value for textFont is null")
1603
+ }
1604
+ }
1605
+ }
1606
+
1607
+ fun setTextSize(layer: SymbolLayer, styleValue: RNMBXStyleValue ) {
1608
+ if (styleValue.isExpression()) {
1609
+ val expression = styleValue.getExpression()
1610
+ if (expression != null) {
1611
+ layer.textSize(expression)
1612
+ } else {
1613
+ e("RNMBXSymbol", "Expression for textSize is null")
1614
+ }
1615
+ } else {
1616
+ val value = styleValue.getDouble(VALUE_KEY)
1617
+ if (value != null) {
1618
+ layer.textSize(value)
1619
+ } else {
1620
+ e("RNMBXSymbol", "value for textSize is null")
1621
+ }
1622
+ }
1623
+ }
1624
+
1625
+ fun setTextMaxWidth(layer: SymbolLayer, styleValue: RNMBXStyleValue ) {
1626
+ if (styleValue.isExpression()) {
1627
+ val expression = styleValue.getExpression()
1628
+ if (expression != null) {
1629
+ layer.textMaxWidth(expression)
1630
+ } else {
1631
+ e("RNMBXSymbol", "Expression for textMaxWidth is null")
1632
+ }
1633
+ } else {
1634
+ val value = styleValue.getDouble(VALUE_KEY)
1635
+ if (value != null) {
1636
+ layer.textMaxWidth(value)
1637
+ } else {
1638
+ e("RNMBXSymbol", "value for textMaxWidth is null")
1639
+ }
1640
+ }
1641
+ }
1642
+
1643
+ fun setTextLineHeight(layer: SymbolLayer, styleValue: RNMBXStyleValue ) {
1644
+ if (styleValue.isExpression()) {
1645
+ val expression = styleValue.getExpression()
1646
+ if (expression != null) {
1647
+ layer.textLineHeight(expression)
1648
+ } else {
1649
+ e("RNMBXSymbol", "Expression for textLineHeight is null")
1650
+ }
1651
+ } else {
1652
+ val value = styleValue.getDouble(VALUE_KEY)
1653
+ if (value != null) {
1654
+ layer.textLineHeight(value)
1655
+ } else {
1656
+ e("RNMBXSymbol", "value for textLineHeight is null")
1657
+ }
1658
+ }
1659
+ }
1660
+
1661
+ fun setTextLetterSpacing(layer: SymbolLayer, styleValue: RNMBXStyleValue ) {
1662
+ if (styleValue.isExpression()) {
1663
+ val expression = styleValue.getExpression()
1664
+ if (expression != null) {
1665
+ layer.textLetterSpacing(expression)
1666
+ } else {
1667
+ e("RNMBXSymbol", "Expression for textLetterSpacing is null")
1668
+ }
1669
+ } else {
1670
+ val value = styleValue.getDouble(VALUE_KEY)
1671
+ if (value != null) {
1672
+ layer.textLetterSpacing(value)
1673
+ } else {
1674
+ e("RNMBXSymbol", "value for textLetterSpacing is null")
1675
+ }
1676
+ }
1677
+ }
1678
+
1679
+ fun setTextJustify(layer: SymbolLayer, styleValue: RNMBXStyleValue ) {
1680
+ if (styleValue.isExpression()) {
1681
+ val expression = styleValue.getExpression()
1682
+ if (expression != null) {
1683
+ layer.textJustify(expression)
1684
+ } else {
1685
+ e("RNMBXSymbol", "Expression for textJustify is null")
1686
+ }
1687
+ } else {
1688
+ layer.textJustify(TextJustify.valueOf(styleValue.getEnumName()))
1689
+ }
1690
+ }
1691
+
1692
+ fun setTextRadialOffset(layer: SymbolLayer, styleValue: RNMBXStyleValue ) {
1693
+ if (styleValue.isExpression()) {
1694
+ val expression = styleValue.getExpression()
1695
+ if (expression != null) {
1696
+ layer.textRadialOffset(expression)
1697
+ } else {
1698
+ e("RNMBXSymbol", "Expression for textRadialOffset is null")
1699
+ }
1700
+ } else {
1701
+ val value = styleValue.getDouble(VALUE_KEY)
1702
+ if (value != null) {
1703
+ layer.textRadialOffset(value)
1704
+ } else {
1705
+ e("RNMBXSymbol", "value for textRadialOffset is null")
1706
+ }
1707
+ }
1708
+ }
1709
+
1710
+ fun setTextVariableAnchor(layer: SymbolLayer, styleValue: RNMBXStyleValue ) {
1711
+ if (styleValue.isExpression()) {
1712
+ val expression = styleValue.getExpression()
1713
+ if (expression != null) {
1714
+ layer.textVariableAnchor(expression)
1715
+ } else {
1716
+ e("RNMBXSymbol", "Expression for textVariableAnchor is null")
1717
+ }
1718
+ } else {
1719
+ val value = styleValue.getStringArray(VALUE_KEY)
1720
+ if (value != null) {
1721
+ layer.textVariableAnchor(value)
1722
+ } else {
1723
+ e("RNMBXSymbol", "value for textVariableAnchor is null")
1724
+ }
1725
+ }
1726
+ }
1727
+
1728
+ fun setTextAnchor(layer: SymbolLayer, styleValue: RNMBXStyleValue ) {
1729
+ if (styleValue.isExpression()) {
1730
+ val expression = styleValue.getExpression()
1731
+ if (expression != null) {
1732
+ layer.textAnchor(expression)
1733
+ } else {
1734
+ e("RNMBXSymbol", "Expression for textAnchor is null")
1735
+ }
1736
+ } else {
1737
+ layer.textAnchor(TextAnchor.valueOf(styleValue.getEnumName()))
1738
+ }
1739
+ }
1740
+
1741
+ fun setTextMaxAngle(layer: SymbolLayer, styleValue: RNMBXStyleValue ) {
1742
+ if (styleValue.isExpression()) {
1743
+ val expression = styleValue.getExpression()
1744
+ if (expression != null) {
1745
+ layer.textMaxAngle(expression)
1746
+ } else {
1747
+ e("RNMBXSymbol", "Expression for textMaxAngle is null")
1748
+ }
1749
+ } else {
1750
+ val value = styleValue.getDouble(VALUE_KEY)
1751
+ if (value != null) {
1752
+ layer.textMaxAngle(value)
1753
+ } else {
1754
+ e("RNMBXSymbol", "value for textMaxAngle is null")
1755
+ }
1756
+ }
1757
+ }
1758
+
1759
+ fun setTextWritingMode(layer: SymbolLayer, styleValue: RNMBXStyleValue ) {
1760
+ if (styleValue.isExpression()) {
1761
+ val expression = styleValue.getExpression()
1762
+ if (expression != null) {
1763
+ layer.textWritingMode(expression)
1764
+ } else {
1765
+ e("RNMBXSymbol", "Expression for textWritingMode is null")
1766
+ }
1767
+ } else {
1768
+ val value = styleValue.getStringArray(VALUE_KEY)
1769
+ if (value != null) {
1770
+ layer.textWritingMode(value)
1771
+ } else {
1772
+ e("RNMBXSymbol", "value for textWritingMode is null")
1773
+ }
1774
+ }
1775
+ }
1776
+
1777
+ fun setTextRotate(layer: SymbolLayer, styleValue: RNMBXStyleValue ) {
1778
+ if (styleValue.isExpression()) {
1779
+ val expression = styleValue.getExpression()
1780
+ if (expression != null) {
1781
+ layer.textRotate(expression)
1782
+ } else {
1783
+ e("RNMBXSymbol", "Expression for textRotate is null")
1784
+ }
1785
+ } else {
1786
+ val value = styleValue.getDouble(VALUE_KEY)
1787
+ if (value != null) {
1788
+ layer.textRotate(value)
1789
+ } else {
1790
+ e("RNMBXSymbol", "value for textRotate is null")
1791
+ }
1792
+ }
1793
+ }
1794
+
1795
+ fun setTextPadding(layer: SymbolLayer, styleValue: RNMBXStyleValue ) {
1796
+ if (styleValue.isExpression()) {
1797
+ val expression = styleValue.getExpression()
1798
+ if (expression != null) {
1799
+ layer.textPadding(expression)
1800
+ } else {
1801
+ e("RNMBXSymbol", "Expression for textPadding is null")
1802
+ }
1803
+ } else {
1804
+ val value = styleValue.getDouble(VALUE_KEY)
1805
+ if (value != null) {
1806
+ layer.textPadding(value)
1807
+ } else {
1808
+ e("RNMBXSymbol", "value for textPadding is null")
1809
+ }
1810
+ }
1811
+ }
1812
+
1813
+ fun setTextKeepUpright(layer: SymbolLayer, styleValue: RNMBXStyleValue ) {
1814
+ if (styleValue.isExpression()) {
1815
+ val expression = styleValue.getExpression()
1816
+ if (expression != null) {
1817
+ layer.textKeepUpright(expression)
1818
+ } else {
1819
+ e("RNMBXSymbol", "Expression for textKeepUpright is null")
1820
+ }
1821
+ } else {
1822
+ val value = styleValue.getBoolean(VALUE_KEY)
1823
+ if (value != null) {
1824
+ layer.textKeepUpright(value)
1825
+ } else {
1826
+ e("RNMBXSymbol", "value for textKeepUpright is null")
1827
+ }
1828
+ }
1829
+ }
1830
+
1831
+ fun setTextTransform(layer: SymbolLayer, styleValue: RNMBXStyleValue ) {
1832
+ if (styleValue.isExpression()) {
1833
+ val expression = styleValue.getExpression()
1834
+ if (expression != null) {
1835
+ layer.textTransform(expression)
1836
+ } else {
1837
+ e("RNMBXSymbol", "Expression for textTransform is null")
1838
+ }
1839
+ } else {
1840
+ layer.textTransform(TextTransform.valueOf(styleValue.getEnumName()))
1841
+ }
1842
+ }
1843
+
1844
+ fun setTextOffset(layer: SymbolLayer, styleValue: RNMBXStyleValue ) {
1845
+ if (styleValue.isExpression()) {
1846
+ val expression = styleValue.getExpression()
1847
+ if (expression != null) {
1848
+ layer.textOffset(expression)
1849
+ } else {
1850
+ e("RNMBXSymbol", "Expression for textOffset is null")
1851
+ }
1852
+ } else {
1853
+ val value = styleValue.getFloatArray(VALUE_KEY)
1854
+ if (value != null) {
1855
+ layer.textOffset(value)
1856
+ } else {
1857
+ e("RNMBXSymbol", "value for textOffset is null")
1858
+ }
1859
+ }
1860
+ }
1861
+
1862
+ fun setTextAllowOverlap(layer: SymbolLayer, styleValue: RNMBXStyleValue ) {
1863
+ if (styleValue.isExpression()) {
1864
+ val expression = styleValue.getExpression()
1865
+ if (expression != null) {
1866
+ layer.textAllowOverlap(expression)
1867
+ } else {
1868
+ e("RNMBXSymbol", "Expression for textAllowOverlap is null")
1869
+ }
1870
+ } else {
1871
+ val value = styleValue.getBoolean(VALUE_KEY)
1872
+ if (value != null) {
1873
+ layer.textAllowOverlap(value)
1874
+ } else {
1875
+ e("RNMBXSymbol", "value for textAllowOverlap is null")
1876
+ }
1877
+ }
1878
+ }
1879
+
1880
+ fun setTextIgnorePlacement(layer: SymbolLayer, styleValue: RNMBXStyleValue ) {
1881
+ if (styleValue.isExpression()) {
1882
+ val expression = styleValue.getExpression()
1883
+ if (expression != null) {
1884
+ layer.textIgnorePlacement(expression)
1885
+ } else {
1886
+ e("RNMBXSymbol", "Expression for textIgnorePlacement is null")
1887
+ }
1888
+ } else {
1889
+ val value = styleValue.getBoolean(VALUE_KEY)
1890
+ if (value != null) {
1891
+ layer.textIgnorePlacement(value)
1892
+ } else {
1893
+ e("RNMBXSymbol", "value for textIgnorePlacement is null")
1894
+ }
1895
+ }
1896
+ }
1897
+
1898
+ fun setTextOptional(layer: SymbolLayer, styleValue: RNMBXStyleValue ) {
1899
+ if (styleValue.isExpression()) {
1900
+ val expression = styleValue.getExpression()
1901
+ if (expression != null) {
1902
+ layer.textOptional(expression)
1903
+ } else {
1904
+ e("RNMBXSymbol", "Expression for textOptional is null")
1905
+ }
1906
+ } else {
1907
+ val value = styleValue.getBoolean(VALUE_KEY)
1908
+ if (value != null) {
1909
+ layer.textOptional(value)
1910
+ } else {
1911
+ e("RNMBXSymbol", "value for textOptional is null")
1912
+ }
1913
+ }
1914
+ }
1915
+
1916
+ fun setVisibility(layer: SymbolLayer, styleValue: RNMBXStyleValue ) {
1917
+ layer.visibility(Visibility.valueOf(styleValue.getEnumName()));
1918
+ }
1919
+
1920
+ fun setIconOpacity(layer: SymbolLayer, styleValue: RNMBXStyleValue ) {
1921
+ if (styleValue.isExpression()) {
1922
+ val expression = styleValue.getExpression()
1923
+ if (expression != null) {
1924
+ layer.iconOpacity(expression)
1925
+ } else {
1926
+ e("RNMBXSymbol", "Expression for iconOpacity is null")
1927
+ }
1928
+ } else {
1929
+ val value = styleValue.getDouble(VALUE_KEY)
1930
+ if (value != null) {
1931
+ layer.iconOpacity(value)
1932
+ } else {
1933
+ e("RNMBXSymbol", "value for iconOpacity is null")
1934
+ }
1935
+ }
1936
+ }
1937
+
1938
+
1939
+ fun setIconOpacityTransition(layer: SymbolLayer, styleValue: RNMBXStyleValue) {
1940
+ val transition = styleValue.transition
1941
+ if (transition != null) {
1942
+ layer.iconOpacityTransition(transition);
1943
+ }
1944
+ }
1945
+
1946
+ fun setIconColor(layer: SymbolLayer, styleValue: RNMBXStyleValue ) {
1947
+ if (styleValue.isExpression()) {
1948
+ val expression = styleValue.getExpression()
1949
+ if (expression != null) {
1950
+ layer.iconColor(expression)
1951
+ } else {
1952
+ e("RNMBXSymbol", "Expression for iconColor is null")
1953
+ }
1954
+ } else {
1955
+ val value = styleValue.getInt(VALUE_KEY)
1956
+ if (value != null) {
1957
+ layer.iconColor(value)
1958
+ } else {
1959
+ e("RNMBXSymbol", "value for iconColor is null")
1960
+ }
1961
+ }
1962
+ }
1963
+
1964
+
1965
+ fun setIconColorTransition(layer: SymbolLayer, styleValue: RNMBXStyleValue) {
1966
+ val transition = styleValue.transition
1967
+ if (transition != null) {
1968
+ layer.iconColorTransition(transition);
1969
+ }
1970
+ }
1971
+
1972
+ fun setIconHaloColor(layer: SymbolLayer, styleValue: RNMBXStyleValue ) {
1973
+ if (styleValue.isExpression()) {
1974
+ val expression = styleValue.getExpression()
1975
+ if (expression != null) {
1976
+ layer.iconHaloColor(expression)
1977
+ } else {
1978
+ e("RNMBXSymbol", "Expression for iconHaloColor is null")
1979
+ }
1980
+ } else {
1981
+ val value = styleValue.getInt(VALUE_KEY)
1982
+ if (value != null) {
1983
+ layer.iconHaloColor(value)
1984
+ } else {
1985
+ e("RNMBXSymbol", "value for iconHaloColor is null")
1986
+ }
1987
+ }
1988
+ }
1989
+
1990
+
1991
+ fun setIconHaloColorTransition(layer: SymbolLayer, styleValue: RNMBXStyleValue) {
1992
+ val transition = styleValue.transition
1993
+ if (transition != null) {
1994
+ layer.iconHaloColorTransition(transition);
1995
+ }
1996
+ }
1997
+
1998
+ fun setIconHaloWidth(layer: SymbolLayer, styleValue: RNMBXStyleValue ) {
1999
+ if (styleValue.isExpression()) {
2000
+ val expression = styleValue.getExpression()
2001
+ if (expression != null) {
2002
+ layer.iconHaloWidth(expression)
2003
+ } else {
2004
+ e("RNMBXSymbol", "Expression for iconHaloWidth is null")
2005
+ }
2006
+ } else {
2007
+ val value = styleValue.getDouble(VALUE_KEY)
2008
+ if (value != null) {
2009
+ layer.iconHaloWidth(value)
2010
+ } else {
2011
+ e("RNMBXSymbol", "value for iconHaloWidth is null")
2012
+ }
2013
+ }
2014
+ }
2015
+
2016
+
2017
+ fun setIconHaloWidthTransition(layer: SymbolLayer, styleValue: RNMBXStyleValue) {
2018
+ val transition = styleValue.transition
2019
+ if (transition != null) {
2020
+ layer.iconHaloWidthTransition(transition);
2021
+ }
2022
+ }
2023
+
2024
+ fun setIconHaloBlur(layer: SymbolLayer, styleValue: RNMBXStyleValue ) {
2025
+ if (styleValue.isExpression()) {
2026
+ val expression = styleValue.getExpression()
2027
+ if (expression != null) {
2028
+ layer.iconHaloBlur(expression)
2029
+ } else {
2030
+ e("RNMBXSymbol", "Expression for iconHaloBlur is null")
2031
+ }
2032
+ } else {
2033
+ val value = styleValue.getDouble(VALUE_KEY)
2034
+ if (value != null) {
2035
+ layer.iconHaloBlur(value)
2036
+ } else {
2037
+ e("RNMBXSymbol", "value for iconHaloBlur is null")
2038
+ }
2039
+ }
2040
+ }
2041
+
2042
+
2043
+ fun setIconHaloBlurTransition(layer: SymbolLayer, styleValue: RNMBXStyleValue) {
2044
+ val transition = styleValue.transition
2045
+ if (transition != null) {
2046
+ layer.iconHaloBlurTransition(transition);
2047
+ }
2048
+ }
2049
+
2050
+ fun setIconTranslate(layer: SymbolLayer, styleValue: RNMBXStyleValue ) {
2051
+ if (styleValue.isExpression()) {
2052
+ val expression = styleValue.getExpression()
2053
+ if (expression != null) {
2054
+ layer.iconTranslate(expression)
2055
+ } else {
2056
+ e("RNMBXSymbol", "Expression for iconTranslate is null")
2057
+ }
2058
+ } else {
2059
+ val value = styleValue.getFloatArray(VALUE_KEY)
2060
+ if (value != null) {
2061
+ layer.iconTranslate(value)
2062
+ } else {
2063
+ e("RNMBXSymbol", "value for iconTranslate is null")
2064
+ }
2065
+ }
2066
+ }
2067
+
2068
+
2069
+ fun setIconTranslateTransition(layer: SymbolLayer, styleValue: RNMBXStyleValue) {
2070
+ val transition = styleValue.transition
2071
+ if (transition != null) {
2072
+ layer.iconTranslateTransition(transition);
2073
+ }
2074
+ }
2075
+
2076
+ fun setIconTranslateAnchor(layer: SymbolLayer, styleValue: RNMBXStyleValue ) {
2077
+ if (styleValue.isExpression()) {
2078
+ val expression = styleValue.getExpression()
2079
+ if (expression != null) {
2080
+ layer.iconTranslateAnchor(expression)
2081
+ } else {
2082
+ e("RNMBXSymbol", "Expression for iconTranslateAnchor is null")
2083
+ }
2084
+ } else {
2085
+ layer.iconTranslateAnchor(IconTranslateAnchor.valueOf(styleValue.getEnumName()))
2086
+ }
2087
+ }
2088
+
2089
+ fun setTextOpacity(layer: SymbolLayer, styleValue: RNMBXStyleValue ) {
2090
+ if (styleValue.isExpression()) {
2091
+ val expression = styleValue.getExpression()
2092
+ if (expression != null) {
2093
+ layer.textOpacity(expression)
2094
+ } else {
2095
+ e("RNMBXSymbol", "Expression for textOpacity is null")
2096
+ }
2097
+ } else {
2098
+ val value = styleValue.getDouble(VALUE_KEY)
2099
+ if (value != null) {
2100
+ layer.textOpacity(value)
2101
+ } else {
2102
+ e("RNMBXSymbol", "value for textOpacity is null")
2103
+ }
2104
+ }
2105
+ }
2106
+
2107
+
2108
+ fun setTextOpacityTransition(layer: SymbolLayer, styleValue: RNMBXStyleValue) {
2109
+ val transition = styleValue.transition
2110
+ if (transition != null) {
2111
+ layer.textOpacityTransition(transition);
2112
+ }
2113
+ }
2114
+
2115
+ fun setTextColor(layer: SymbolLayer, styleValue: RNMBXStyleValue ) {
2116
+ if (styleValue.isExpression()) {
2117
+ val expression = styleValue.getExpression()
2118
+ if (expression != null) {
2119
+ layer.textColor(expression)
2120
+ } else {
2121
+ e("RNMBXSymbol", "Expression for textColor is null")
2122
+ }
2123
+ } else {
2124
+ val value = styleValue.getInt(VALUE_KEY)
2125
+ if (value != null) {
2126
+ layer.textColor(value)
2127
+ } else {
2128
+ e("RNMBXSymbol", "value for textColor is null")
2129
+ }
2130
+ }
2131
+ }
2132
+
2133
+
2134
+ fun setTextColorTransition(layer: SymbolLayer, styleValue: RNMBXStyleValue) {
2135
+ val transition = styleValue.transition
2136
+ if (transition != null) {
2137
+ layer.textColorTransition(transition);
2138
+ }
2139
+ }
2140
+
2141
+ fun setTextHaloColor(layer: SymbolLayer, styleValue: RNMBXStyleValue ) {
2142
+ if (styleValue.isExpression()) {
2143
+ val expression = styleValue.getExpression()
2144
+ if (expression != null) {
2145
+ layer.textHaloColor(expression)
2146
+ } else {
2147
+ e("RNMBXSymbol", "Expression for textHaloColor is null")
2148
+ }
2149
+ } else {
2150
+ val value = styleValue.getInt(VALUE_KEY)
2151
+ if (value != null) {
2152
+ layer.textHaloColor(value)
2153
+ } else {
2154
+ e("RNMBXSymbol", "value for textHaloColor is null")
2155
+ }
2156
+ }
2157
+ }
2158
+
2159
+
2160
+ fun setTextHaloColorTransition(layer: SymbolLayer, styleValue: RNMBXStyleValue) {
2161
+ val transition = styleValue.transition
2162
+ if (transition != null) {
2163
+ layer.textHaloColorTransition(transition);
2164
+ }
2165
+ }
2166
+
2167
+ fun setTextHaloWidth(layer: SymbolLayer, styleValue: RNMBXStyleValue ) {
2168
+ if (styleValue.isExpression()) {
2169
+ val expression = styleValue.getExpression()
2170
+ if (expression != null) {
2171
+ layer.textHaloWidth(expression)
2172
+ } else {
2173
+ e("RNMBXSymbol", "Expression for textHaloWidth is null")
2174
+ }
2175
+ } else {
2176
+ val value = styleValue.getDouble(VALUE_KEY)
2177
+ if (value != null) {
2178
+ layer.textHaloWidth(value)
2179
+ } else {
2180
+ e("RNMBXSymbol", "value for textHaloWidth is null")
2181
+ }
2182
+ }
2183
+ }
2184
+
2185
+
2186
+ fun setTextHaloWidthTransition(layer: SymbolLayer, styleValue: RNMBXStyleValue) {
2187
+ val transition = styleValue.transition
2188
+ if (transition != null) {
2189
+ layer.textHaloWidthTransition(transition);
2190
+ }
2191
+ }
2192
+
2193
+ fun setTextHaloBlur(layer: SymbolLayer, styleValue: RNMBXStyleValue ) {
2194
+ if (styleValue.isExpression()) {
2195
+ val expression = styleValue.getExpression()
2196
+ if (expression != null) {
2197
+ layer.textHaloBlur(expression)
2198
+ } else {
2199
+ e("RNMBXSymbol", "Expression for textHaloBlur is null")
2200
+ }
2201
+ } else {
2202
+ val value = styleValue.getDouble(VALUE_KEY)
2203
+ if (value != null) {
2204
+ layer.textHaloBlur(value)
2205
+ } else {
2206
+ e("RNMBXSymbol", "value for textHaloBlur is null")
2207
+ }
2208
+ }
2209
+ }
2210
+
2211
+
2212
+ fun setTextHaloBlurTransition(layer: SymbolLayer, styleValue: RNMBXStyleValue) {
2213
+ val transition = styleValue.transition
2214
+ if (transition != null) {
2215
+ layer.textHaloBlurTransition(transition);
2216
+ }
2217
+ }
2218
+
2219
+ fun setTextTranslate(layer: SymbolLayer, styleValue: RNMBXStyleValue ) {
2220
+ if (styleValue.isExpression()) {
2221
+ val expression = styleValue.getExpression()
2222
+ if (expression != null) {
2223
+ layer.textTranslate(expression)
2224
+ } else {
2225
+ e("RNMBXSymbol", "Expression for textTranslate is null")
2226
+ }
2227
+ } else {
2228
+ val value = styleValue.getFloatArray(VALUE_KEY)
2229
+ if (value != null) {
2230
+ layer.textTranslate(value)
2231
+ } else {
2232
+ e("RNMBXSymbol", "value for textTranslate is null")
2233
+ }
2234
+ }
2235
+ }
2236
+
2237
+
2238
+ fun setTextTranslateTransition(layer: SymbolLayer, styleValue: RNMBXStyleValue) {
2239
+ val transition = styleValue.transition
2240
+ if (transition != null) {
2241
+ layer.textTranslateTransition(transition);
2242
+ }
2243
+ }
2244
+
2245
+ fun setTextTranslateAnchor(layer: SymbolLayer, styleValue: RNMBXStyleValue ) {
2246
+ if (styleValue.isExpression()) {
2247
+ val expression = styleValue.getExpression()
2248
+ if (expression != null) {
2249
+ layer.textTranslateAnchor(expression)
2250
+ } else {
2251
+ e("RNMBXSymbol", "Expression for textTranslateAnchor is null")
2252
+ }
2253
+ } else {
2254
+ layer.textTranslateAnchor(TextTranslateAnchor.valueOf(styleValue.getEnumName()))
2255
+ }
2256
+ }
2257
+
2258
+ fun setCircleSortKey(layer: CircleLayer, styleValue: RNMBXStyleValue ) {
2259
+ if (styleValue.isExpression()) {
2260
+ val expression = styleValue.getExpression()
2261
+ if (expression != null) {
2262
+ layer.circleSortKey(expression)
2263
+ } else {
2264
+ e("RNMBXCircle", "Expression for circleSortKey is null")
2265
+ }
2266
+ } else {
2267
+ val value = styleValue.getDouble(VALUE_KEY)
2268
+ if (value != null) {
2269
+ layer.circleSortKey(value)
2270
+ } else {
2271
+ e("RNMBXCircle", "value for circleSortKey is null")
2272
+ }
2273
+ }
2274
+ }
2275
+
2276
+ fun setVisibility(layer: CircleLayer, styleValue: RNMBXStyleValue ) {
2277
+ layer.visibility(Visibility.valueOf(styleValue.getEnumName()));
2278
+ }
2279
+
2280
+ fun setCircleRadius(layer: CircleLayer, styleValue: RNMBXStyleValue ) {
2281
+ if (styleValue.isExpression()) {
2282
+ val expression = styleValue.getExpression()
2283
+ if (expression != null) {
2284
+ layer.circleRadius(expression)
2285
+ } else {
2286
+ e("RNMBXCircle", "Expression for circleRadius is null")
2287
+ }
2288
+ } else {
2289
+ val value = styleValue.getDouble(VALUE_KEY)
2290
+ if (value != null) {
2291
+ layer.circleRadius(value)
2292
+ } else {
2293
+ e("RNMBXCircle", "value for circleRadius is null")
2294
+ }
2295
+ }
2296
+ }
2297
+
2298
+
2299
+ fun setCircleRadiusTransition(layer: CircleLayer, styleValue: RNMBXStyleValue) {
2300
+ val transition = styleValue.transition
2301
+ if (transition != null) {
2302
+ layer.circleRadiusTransition(transition);
2303
+ }
2304
+ }
2305
+
2306
+ fun setCircleColor(layer: CircleLayer, styleValue: RNMBXStyleValue ) {
2307
+ if (styleValue.isExpression()) {
2308
+ val expression = styleValue.getExpression()
2309
+ if (expression != null) {
2310
+ layer.circleColor(expression)
2311
+ } else {
2312
+ e("RNMBXCircle", "Expression for circleColor is null")
2313
+ }
2314
+ } else {
2315
+ val value = styleValue.getInt(VALUE_KEY)
2316
+ if (value != null) {
2317
+ layer.circleColor(value)
2318
+ } else {
2319
+ e("RNMBXCircle", "value for circleColor is null")
2320
+ }
2321
+ }
2322
+ }
2323
+
2324
+
2325
+ fun setCircleColorTransition(layer: CircleLayer, styleValue: RNMBXStyleValue) {
2326
+ val transition = styleValue.transition
2327
+ if (transition != null) {
2328
+ layer.circleColorTransition(transition);
2329
+ }
2330
+ }
2331
+
2332
+ fun setCircleBlur(layer: CircleLayer, styleValue: RNMBXStyleValue ) {
2333
+ if (styleValue.isExpression()) {
2334
+ val expression = styleValue.getExpression()
2335
+ if (expression != null) {
2336
+ layer.circleBlur(expression)
2337
+ } else {
2338
+ e("RNMBXCircle", "Expression for circleBlur is null")
2339
+ }
2340
+ } else {
2341
+ val value = styleValue.getDouble(VALUE_KEY)
2342
+ if (value != null) {
2343
+ layer.circleBlur(value)
2344
+ } else {
2345
+ e("RNMBXCircle", "value for circleBlur is null")
2346
+ }
2347
+ }
2348
+ }
2349
+
2350
+
2351
+ fun setCircleBlurTransition(layer: CircleLayer, styleValue: RNMBXStyleValue) {
2352
+ val transition = styleValue.transition
2353
+ if (transition != null) {
2354
+ layer.circleBlurTransition(transition);
2355
+ }
2356
+ }
2357
+
2358
+ fun setCircleOpacity(layer: CircleLayer, styleValue: RNMBXStyleValue ) {
2359
+ if (styleValue.isExpression()) {
2360
+ val expression = styleValue.getExpression()
2361
+ if (expression != null) {
2362
+ layer.circleOpacity(expression)
2363
+ } else {
2364
+ e("RNMBXCircle", "Expression for circleOpacity is null")
2365
+ }
2366
+ } else {
2367
+ val value = styleValue.getDouble(VALUE_KEY)
2368
+ if (value != null) {
2369
+ layer.circleOpacity(value)
2370
+ } else {
2371
+ e("RNMBXCircle", "value for circleOpacity is null")
2372
+ }
2373
+ }
2374
+ }
2375
+
2376
+
2377
+ fun setCircleOpacityTransition(layer: CircleLayer, styleValue: RNMBXStyleValue) {
2378
+ val transition = styleValue.transition
2379
+ if (transition != null) {
2380
+ layer.circleOpacityTransition(transition);
2381
+ }
2382
+ }
2383
+
2384
+ fun setCircleTranslate(layer: CircleLayer, styleValue: RNMBXStyleValue ) {
2385
+ if (styleValue.isExpression()) {
2386
+ val expression = styleValue.getExpression()
2387
+ if (expression != null) {
2388
+ layer.circleTranslate(expression)
2389
+ } else {
2390
+ e("RNMBXCircle", "Expression for circleTranslate is null")
2391
+ }
2392
+ } else {
2393
+ val value = styleValue.getFloatArray(VALUE_KEY)
2394
+ if (value != null) {
2395
+ layer.circleTranslate(value)
2396
+ } else {
2397
+ e("RNMBXCircle", "value for circleTranslate is null")
2398
+ }
2399
+ }
2400
+ }
2401
+
2402
+
2403
+ fun setCircleTranslateTransition(layer: CircleLayer, styleValue: RNMBXStyleValue) {
2404
+ val transition = styleValue.transition
2405
+ if (transition != null) {
2406
+ layer.circleTranslateTransition(transition);
2407
+ }
2408
+ }
2409
+
2410
+ fun setCircleTranslateAnchor(layer: CircleLayer, styleValue: RNMBXStyleValue ) {
2411
+ if (styleValue.isExpression()) {
2412
+ val expression = styleValue.getExpression()
2413
+ if (expression != null) {
2414
+ layer.circleTranslateAnchor(expression)
2415
+ } else {
2416
+ e("RNMBXCircle", "Expression for circleTranslateAnchor is null")
2417
+ }
2418
+ } else {
2419
+ layer.circleTranslateAnchor(CircleTranslateAnchor.valueOf(styleValue.getEnumName()))
2420
+ }
2421
+ }
2422
+
2423
+ fun setCirclePitchScale(layer: CircleLayer, styleValue: RNMBXStyleValue ) {
2424
+ if (styleValue.isExpression()) {
2425
+ val expression = styleValue.getExpression()
2426
+ if (expression != null) {
2427
+ layer.circlePitchScale(expression)
2428
+ } else {
2429
+ e("RNMBXCircle", "Expression for circlePitchScale is null")
2430
+ }
2431
+ } else {
2432
+ layer.circlePitchScale(CirclePitchScale.valueOf(styleValue.getEnumName()))
2433
+ }
2434
+ }
2435
+
2436
+ fun setCirclePitchAlignment(layer: CircleLayer, styleValue: RNMBXStyleValue ) {
2437
+ if (styleValue.isExpression()) {
2438
+ val expression = styleValue.getExpression()
2439
+ if (expression != null) {
2440
+ layer.circlePitchAlignment(expression)
2441
+ } else {
2442
+ e("RNMBXCircle", "Expression for circlePitchAlignment is null")
2443
+ }
2444
+ } else {
2445
+ layer.circlePitchAlignment(CirclePitchAlignment.valueOf(styleValue.getEnumName()))
2446
+ }
2447
+ }
2448
+
2449
+ fun setCircleStrokeWidth(layer: CircleLayer, styleValue: RNMBXStyleValue ) {
2450
+ if (styleValue.isExpression()) {
2451
+ val expression = styleValue.getExpression()
2452
+ if (expression != null) {
2453
+ layer.circleStrokeWidth(expression)
2454
+ } else {
2455
+ e("RNMBXCircle", "Expression for circleStrokeWidth is null")
2456
+ }
2457
+ } else {
2458
+ val value = styleValue.getDouble(VALUE_KEY)
2459
+ if (value != null) {
2460
+ layer.circleStrokeWidth(value)
2461
+ } else {
2462
+ e("RNMBXCircle", "value for circleStrokeWidth is null")
2463
+ }
2464
+ }
2465
+ }
2466
+
2467
+
2468
+ fun setCircleStrokeWidthTransition(layer: CircleLayer, styleValue: RNMBXStyleValue) {
2469
+ val transition = styleValue.transition
2470
+ if (transition != null) {
2471
+ layer.circleStrokeWidthTransition(transition);
2472
+ }
2473
+ }
2474
+
2475
+ fun setCircleStrokeColor(layer: CircleLayer, styleValue: RNMBXStyleValue ) {
2476
+ if (styleValue.isExpression()) {
2477
+ val expression = styleValue.getExpression()
2478
+ if (expression != null) {
2479
+ layer.circleStrokeColor(expression)
2480
+ } else {
2481
+ e("RNMBXCircle", "Expression for circleStrokeColor is null")
2482
+ }
2483
+ } else {
2484
+ val value = styleValue.getInt(VALUE_KEY)
2485
+ if (value != null) {
2486
+ layer.circleStrokeColor(value)
2487
+ } else {
2488
+ e("RNMBXCircle", "value for circleStrokeColor is null")
2489
+ }
2490
+ }
2491
+ }
2492
+
2493
+
2494
+ fun setCircleStrokeColorTransition(layer: CircleLayer, styleValue: RNMBXStyleValue) {
2495
+ val transition = styleValue.transition
2496
+ if (transition != null) {
2497
+ layer.circleStrokeColorTransition(transition);
2498
+ }
2499
+ }
2500
+
2501
+ fun setCircleStrokeOpacity(layer: CircleLayer, styleValue: RNMBXStyleValue ) {
2502
+ if (styleValue.isExpression()) {
2503
+ val expression = styleValue.getExpression()
2504
+ if (expression != null) {
2505
+ layer.circleStrokeOpacity(expression)
2506
+ } else {
2507
+ e("RNMBXCircle", "Expression for circleStrokeOpacity is null")
2508
+ }
2509
+ } else {
2510
+ val value = styleValue.getDouble(VALUE_KEY)
2511
+ if (value != null) {
2512
+ layer.circleStrokeOpacity(value)
2513
+ } else {
2514
+ e("RNMBXCircle", "value for circleStrokeOpacity is null")
2515
+ }
2516
+ }
2517
+ }
2518
+
2519
+
2520
+ fun setCircleStrokeOpacityTransition(layer: CircleLayer, styleValue: RNMBXStyleValue) {
2521
+ val transition = styleValue.transition
2522
+ if (transition != null) {
2523
+ layer.circleStrokeOpacityTransition(transition);
2524
+ }
2525
+ }
2526
+
2527
+ fun setVisibility(layer: HeatmapLayer, styleValue: RNMBXStyleValue ) {
2528
+ layer.visibility(Visibility.valueOf(styleValue.getEnumName()));
2529
+ }
2530
+
2531
+ fun setHeatmapRadius(layer: HeatmapLayer, styleValue: RNMBXStyleValue ) {
2532
+ if (styleValue.isExpression()) {
2533
+ val expression = styleValue.getExpression()
2534
+ if (expression != null) {
2535
+ layer.heatmapRadius(expression)
2536
+ } else {
2537
+ e("RNMBXHeatmap", "Expression for heatmapRadius is null")
2538
+ }
2539
+ } else {
2540
+ val value = styleValue.getDouble(VALUE_KEY)
2541
+ if (value != null) {
2542
+ layer.heatmapRadius(value)
2543
+ } else {
2544
+ e("RNMBXHeatmap", "value for heatmapRadius is null")
2545
+ }
2546
+ }
2547
+ }
2548
+
2549
+
2550
+ fun setHeatmapRadiusTransition(layer: HeatmapLayer, styleValue: RNMBXStyleValue) {
2551
+ val transition = styleValue.transition
2552
+ if (transition != null) {
2553
+ layer.heatmapRadiusTransition(transition);
2554
+ }
2555
+ }
2556
+
2557
+ fun setHeatmapWeight(layer: HeatmapLayer, styleValue: RNMBXStyleValue ) {
2558
+ if (styleValue.isExpression()) {
2559
+ val expression = styleValue.getExpression()
2560
+ if (expression != null) {
2561
+ layer.heatmapWeight(expression)
2562
+ } else {
2563
+ e("RNMBXHeatmap", "Expression for heatmapWeight is null")
2564
+ }
2565
+ } else {
2566
+ val value = styleValue.getDouble(VALUE_KEY)
2567
+ if (value != null) {
2568
+ layer.heatmapWeight(value)
2569
+ } else {
2570
+ e("RNMBXHeatmap", "value for heatmapWeight is null")
2571
+ }
2572
+ }
2573
+ }
2574
+
2575
+ fun setHeatmapIntensity(layer: HeatmapLayer, styleValue: RNMBXStyleValue ) {
2576
+ if (styleValue.isExpression()) {
2577
+ val expression = styleValue.getExpression()
2578
+ if (expression != null) {
2579
+ layer.heatmapIntensity(expression)
2580
+ } else {
2581
+ e("RNMBXHeatmap", "Expression for heatmapIntensity is null")
2582
+ }
2583
+ } else {
2584
+ val value = styleValue.getDouble(VALUE_KEY)
2585
+ if (value != null) {
2586
+ layer.heatmapIntensity(value)
2587
+ } else {
2588
+ e("RNMBXHeatmap", "value for heatmapIntensity is null")
2589
+ }
2590
+ }
2591
+ }
2592
+
2593
+
2594
+ fun setHeatmapIntensityTransition(layer: HeatmapLayer, styleValue: RNMBXStyleValue) {
2595
+ val transition = styleValue.transition
2596
+ if (transition != null) {
2597
+ layer.heatmapIntensityTransition(transition);
2598
+ }
2599
+ }
2600
+
2601
+ fun setHeatmapColor(layer: HeatmapLayer, styleValue: RNMBXStyleValue ) {
2602
+ if (styleValue.isExpression()) {
2603
+ val expression = styleValue.getExpression()
2604
+ if (expression != null) {
2605
+ layer.heatmapColor(expression)
2606
+ } else {
2607
+ e("RNMBXHeatmap", "Expression for heatmapColor is null")
2608
+ }
2609
+ } else {
2610
+ layer.heatmapColor(styleValue.getIntExpression(VALUE_KEY))
2611
+ }
2612
+ }
2613
+
2614
+ fun setHeatmapOpacity(layer: HeatmapLayer, styleValue: RNMBXStyleValue ) {
2615
+ if (styleValue.isExpression()) {
2616
+ val expression = styleValue.getExpression()
2617
+ if (expression != null) {
2618
+ layer.heatmapOpacity(expression)
2619
+ } else {
2620
+ e("RNMBXHeatmap", "Expression for heatmapOpacity is null")
2621
+ }
2622
+ } else {
2623
+ val value = styleValue.getDouble(VALUE_KEY)
2624
+ if (value != null) {
2625
+ layer.heatmapOpacity(value)
2626
+ } else {
2627
+ e("RNMBXHeatmap", "value for heatmapOpacity is null")
2628
+ }
2629
+ }
2630
+ }
2631
+
2632
+
2633
+ fun setHeatmapOpacityTransition(layer: HeatmapLayer, styleValue: RNMBXStyleValue) {
2634
+ val transition = styleValue.transition
2635
+ if (transition != null) {
2636
+ layer.heatmapOpacityTransition(transition);
2637
+ }
2638
+ }
2639
+
2640
+ fun setVisibility(layer: FillExtrusionLayer, styleValue: RNMBXStyleValue ) {
2641
+ layer.visibility(Visibility.valueOf(styleValue.getEnumName()));
2642
+ }
2643
+
2644
+ fun setFillExtrusionOpacity(layer: FillExtrusionLayer, styleValue: RNMBXStyleValue ) {
2645
+ if (styleValue.isExpression()) {
2646
+ val expression = styleValue.getExpression()
2647
+ if (expression != null) {
2648
+ layer.fillExtrusionOpacity(expression)
2649
+ } else {
2650
+ e("RNMBXFillExtrusion", "Expression for fillExtrusionOpacity is null")
2651
+ }
2652
+ } else {
2653
+ val value = styleValue.getDouble(VALUE_KEY)
2654
+ if (value != null) {
2655
+ layer.fillExtrusionOpacity(value)
2656
+ } else {
2657
+ e("RNMBXFillExtrusion", "value for fillExtrusionOpacity is null")
2658
+ }
2659
+ }
2660
+ }
2661
+
2662
+
2663
+ fun setFillExtrusionOpacityTransition(layer: FillExtrusionLayer, styleValue: RNMBXStyleValue) {
2664
+ val transition = styleValue.transition
2665
+ if (transition != null) {
2666
+ layer.fillExtrusionOpacityTransition(transition);
2667
+ }
2668
+ }
2669
+
2670
+ fun setFillExtrusionColor(layer: FillExtrusionLayer, styleValue: RNMBXStyleValue ) {
2671
+ if (styleValue.isExpression()) {
2672
+ val expression = styleValue.getExpression()
2673
+ if (expression != null) {
2674
+ layer.fillExtrusionColor(expression)
2675
+ } else {
2676
+ e("RNMBXFillExtrusion", "Expression for fillExtrusionColor is null")
2677
+ }
2678
+ } else {
2679
+ val value = styleValue.getInt(VALUE_KEY)
2680
+ if (value != null) {
2681
+ layer.fillExtrusionColor(value)
2682
+ } else {
2683
+ e("RNMBXFillExtrusion", "value for fillExtrusionColor is null")
2684
+ }
2685
+ }
2686
+ }
2687
+
2688
+
2689
+ fun setFillExtrusionColorTransition(layer: FillExtrusionLayer, styleValue: RNMBXStyleValue) {
2690
+ val transition = styleValue.transition
2691
+ if (transition != null) {
2692
+ layer.fillExtrusionColorTransition(transition);
2693
+ }
2694
+ }
2695
+
2696
+ fun setFillExtrusionTranslate(layer: FillExtrusionLayer, styleValue: RNMBXStyleValue ) {
2697
+ if (styleValue.isExpression()) {
2698
+ val expression = styleValue.getExpression()
2699
+ if (expression != null) {
2700
+ layer.fillExtrusionTranslate(expression)
2701
+ } else {
2702
+ e("RNMBXFillExtrusion", "Expression for fillExtrusionTranslate is null")
2703
+ }
2704
+ } else {
2705
+ val value = styleValue.getFloatArray(VALUE_KEY)
2706
+ if (value != null) {
2707
+ layer.fillExtrusionTranslate(value)
2708
+ } else {
2709
+ e("RNMBXFillExtrusion", "value for fillExtrusionTranslate is null")
2710
+ }
2711
+ }
2712
+ }
2713
+
2714
+
2715
+ fun setFillExtrusionTranslateTransition(layer: FillExtrusionLayer, styleValue: RNMBXStyleValue) {
2716
+ val transition = styleValue.transition
2717
+ if (transition != null) {
2718
+ layer.fillExtrusionTranslateTransition(transition);
2719
+ }
2720
+ }
2721
+
2722
+ fun setFillExtrusionTranslateAnchor(layer: FillExtrusionLayer, styleValue: RNMBXStyleValue ) {
2723
+ if (styleValue.isExpression()) {
2724
+ val expression = styleValue.getExpression()
2725
+ if (expression != null) {
2726
+ layer.fillExtrusionTranslateAnchor(expression)
2727
+ } else {
2728
+ e("RNMBXFillExtrusion", "Expression for fillExtrusionTranslateAnchor is null")
2729
+ }
2730
+ } else {
2731
+ layer.fillExtrusionTranslateAnchor(FillExtrusionTranslateAnchor.valueOf(styleValue.getEnumName()))
2732
+ }
2733
+ }
2734
+
2735
+ fun setFillExtrusionPattern(layer: FillExtrusionLayer, styleValue: RNMBXStyleValue ) {
2736
+ if (styleValue.isExpression()) {
2737
+ if (styleValue.isImageStringValue) {
2738
+ val value = styleValue.getImageStringValue()
2739
+ if (value != null) {
2740
+ layer.fillExtrusionPattern(value)
2741
+ } else {
2742
+ e("RNMBXFillExtrusion", "Image for fillExtrusionPattern is null")
2743
+ }
2744
+ } else {
2745
+ val expression = styleValue.getExpression()
2746
+ if (expression != null) {
2747
+ layer.fillExtrusionPattern(expression)
2748
+ } else {
2749
+ e("RNMBXFillExtrusion", "Expression for fillExtrusionPattern is null")
2750
+ }
2751
+ }
2752
+ } else {
2753
+ val value = styleValue.imageURI
2754
+ if (value != null) {
2755
+ layer.fillExtrusionPattern(value);
2756
+ } else {
2757
+ e("RNMBXFillExtrusion", "value for fillExtrusionPattern is null")
2758
+ }
2759
+ }
2760
+ }
2761
+
2762
+ fun setFillExtrusionHeight(layer: FillExtrusionLayer, styleValue: RNMBXStyleValue ) {
2763
+ if (styleValue.isExpression()) {
2764
+ val expression = styleValue.getExpression()
2765
+ if (expression != null) {
2766
+ layer.fillExtrusionHeight(expression)
2767
+ } else {
2768
+ e("RNMBXFillExtrusion", "Expression for fillExtrusionHeight is null")
2769
+ }
2770
+ } else {
2771
+ val value = styleValue.getDouble(VALUE_KEY)
2772
+ if (value != null) {
2773
+ layer.fillExtrusionHeight(value)
2774
+ } else {
2775
+ e("RNMBXFillExtrusion", "value for fillExtrusionHeight is null")
2776
+ }
2777
+ }
2778
+ }
2779
+
2780
+
2781
+ fun setFillExtrusionHeightTransition(layer: FillExtrusionLayer, styleValue: RNMBXStyleValue) {
2782
+ val transition = styleValue.transition
2783
+ if (transition != null) {
2784
+ layer.fillExtrusionHeightTransition(transition);
2785
+ }
2786
+ }
2787
+
2788
+ fun setFillExtrusionBase(layer: FillExtrusionLayer, styleValue: RNMBXStyleValue ) {
2789
+ if (styleValue.isExpression()) {
2790
+ val expression = styleValue.getExpression()
2791
+ if (expression != null) {
2792
+ layer.fillExtrusionBase(expression)
2793
+ } else {
2794
+ e("RNMBXFillExtrusion", "Expression for fillExtrusionBase is null")
2795
+ }
2796
+ } else {
2797
+ val value = styleValue.getDouble(VALUE_KEY)
2798
+ if (value != null) {
2799
+ layer.fillExtrusionBase(value)
2800
+ } else {
2801
+ e("RNMBXFillExtrusion", "value for fillExtrusionBase is null")
2802
+ }
2803
+ }
2804
+ }
2805
+
2806
+
2807
+ fun setFillExtrusionBaseTransition(layer: FillExtrusionLayer, styleValue: RNMBXStyleValue) {
2808
+ val transition = styleValue.transition
2809
+ if (transition != null) {
2810
+ layer.fillExtrusionBaseTransition(transition);
2811
+ }
2812
+ }
2813
+
2814
+ fun setFillExtrusionVerticalGradient(layer: FillExtrusionLayer, styleValue: RNMBXStyleValue ) {
2815
+ if (styleValue.isExpression()) {
2816
+ val expression = styleValue.getExpression()
2817
+ if (expression != null) {
2818
+ layer.fillExtrusionVerticalGradient(expression)
2819
+ } else {
2820
+ e("RNMBXFillExtrusion", "Expression for fillExtrusionVerticalGradient is null")
2821
+ }
2822
+ } else {
2823
+ val value = styleValue.getBoolean(VALUE_KEY)
2824
+ if (value != null) {
2825
+ layer.fillExtrusionVerticalGradient(value)
2826
+ } else {
2827
+ e("RNMBXFillExtrusion", "value for fillExtrusionVerticalGradient is null")
2828
+ }
2829
+ }
2830
+ }
2831
+
2832
+ fun setVisibility(layer: RasterLayer, styleValue: RNMBXStyleValue ) {
2833
+ layer.visibility(Visibility.valueOf(styleValue.getEnumName()));
2834
+ }
2835
+
2836
+ fun setRasterOpacity(layer: RasterLayer, styleValue: RNMBXStyleValue ) {
2837
+ if (styleValue.isExpression()) {
2838
+ val expression = styleValue.getExpression()
2839
+ if (expression != null) {
2840
+ layer.rasterOpacity(expression)
2841
+ } else {
2842
+ e("RNMBXRaster", "Expression for rasterOpacity is null")
2843
+ }
2844
+ } else {
2845
+ val value = styleValue.getDouble(VALUE_KEY)
2846
+ if (value != null) {
2847
+ layer.rasterOpacity(value)
2848
+ } else {
2849
+ e("RNMBXRaster", "value for rasterOpacity is null")
2850
+ }
2851
+ }
2852
+ }
2853
+
2854
+
2855
+ fun setRasterOpacityTransition(layer: RasterLayer, styleValue: RNMBXStyleValue) {
2856
+ val transition = styleValue.transition
2857
+ if (transition != null) {
2858
+ layer.rasterOpacityTransition(transition);
2859
+ }
2860
+ }
2861
+
2862
+ fun setRasterHueRotate(layer: RasterLayer, styleValue: RNMBXStyleValue ) {
2863
+ if (styleValue.isExpression()) {
2864
+ val expression = styleValue.getExpression()
2865
+ if (expression != null) {
2866
+ layer.rasterHueRotate(expression)
2867
+ } else {
2868
+ e("RNMBXRaster", "Expression for rasterHueRotate is null")
2869
+ }
2870
+ } else {
2871
+ val value = styleValue.getDouble(VALUE_KEY)
2872
+ if (value != null) {
2873
+ layer.rasterHueRotate(value)
2874
+ } else {
2875
+ e("RNMBXRaster", "value for rasterHueRotate is null")
2876
+ }
2877
+ }
2878
+ }
2879
+
2880
+
2881
+ fun setRasterHueRotateTransition(layer: RasterLayer, styleValue: RNMBXStyleValue) {
2882
+ val transition = styleValue.transition
2883
+ if (transition != null) {
2884
+ layer.rasterHueRotateTransition(transition);
2885
+ }
2886
+ }
2887
+
2888
+ fun setRasterBrightnessMin(layer: RasterLayer, styleValue: RNMBXStyleValue ) {
2889
+ if (styleValue.isExpression()) {
2890
+ val expression = styleValue.getExpression()
2891
+ if (expression != null) {
2892
+ layer.rasterBrightnessMin(expression)
2893
+ } else {
2894
+ e("RNMBXRaster", "Expression for rasterBrightnessMin is null")
2895
+ }
2896
+ } else {
2897
+ val value = styleValue.getDouble(VALUE_KEY)
2898
+ if (value != null) {
2899
+ layer.rasterBrightnessMin(value)
2900
+ } else {
2901
+ e("RNMBXRaster", "value for rasterBrightnessMin is null")
2902
+ }
2903
+ }
2904
+ }
2905
+
2906
+
2907
+ fun setRasterBrightnessMinTransition(layer: RasterLayer, styleValue: RNMBXStyleValue) {
2908
+ val transition = styleValue.transition
2909
+ if (transition != null) {
2910
+ layer.rasterBrightnessMinTransition(transition);
2911
+ }
2912
+ }
2913
+
2914
+ fun setRasterBrightnessMax(layer: RasterLayer, styleValue: RNMBXStyleValue ) {
2915
+ if (styleValue.isExpression()) {
2916
+ val expression = styleValue.getExpression()
2917
+ if (expression != null) {
2918
+ layer.rasterBrightnessMax(expression)
2919
+ } else {
2920
+ e("RNMBXRaster", "Expression for rasterBrightnessMax is null")
2921
+ }
2922
+ } else {
2923
+ val value = styleValue.getDouble(VALUE_KEY)
2924
+ if (value != null) {
2925
+ layer.rasterBrightnessMax(value)
2926
+ } else {
2927
+ e("RNMBXRaster", "value for rasterBrightnessMax is null")
2928
+ }
2929
+ }
2930
+ }
2931
+
2932
+
2933
+ fun setRasterBrightnessMaxTransition(layer: RasterLayer, styleValue: RNMBXStyleValue) {
2934
+ val transition = styleValue.transition
2935
+ if (transition != null) {
2936
+ layer.rasterBrightnessMaxTransition(transition);
2937
+ }
2938
+ }
2939
+
2940
+ fun setRasterSaturation(layer: RasterLayer, styleValue: RNMBXStyleValue ) {
2941
+ if (styleValue.isExpression()) {
2942
+ val expression = styleValue.getExpression()
2943
+ if (expression != null) {
2944
+ layer.rasterSaturation(expression)
2945
+ } else {
2946
+ e("RNMBXRaster", "Expression for rasterSaturation is null")
2947
+ }
2948
+ } else {
2949
+ val value = styleValue.getDouble(VALUE_KEY)
2950
+ if (value != null) {
2951
+ layer.rasterSaturation(value)
2952
+ } else {
2953
+ e("RNMBXRaster", "value for rasterSaturation is null")
2954
+ }
2955
+ }
2956
+ }
2957
+
2958
+
2959
+ fun setRasterSaturationTransition(layer: RasterLayer, styleValue: RNMBXStyleValue) {
2960
+ val transition = styleValue.transition
2961
+ if (transition != null) {
2962
+ layer.rasterSaturationTransition(transition);
2963
+ }
2964
+ }
2965
+
2966
+ fun setRasterContrast(layer: RasterLayer, styleValue: RNMBXStyleValue ) {
2967
+ if (styleValue.isExpression()) {
2968
+ val expression = styleValue.getExpression()
2969
+ if (expression != null) {
2970
+ layer.rasterContrast(expression)
2971
+ } else {
2972
+ e("RNMBXRaster", "Expression for rasterContrast is null")
2973
+ }
2974
+ } else {
2975
+ val value = styleValue.getDouble(VALUE_KEY)
2976
+ if (value != null) {
2977
+ layer.rasterContrast(value)
2978
+ } else {
2979
+ e("RNMBXRaster", "value for rasterContrast is null")
2980
+ }
2981
+ }
2982
+ }
2983
+
2984
+
2985
+ fun setRasterContrastTransition(layer: RasterLayer, styleValue: RNMBXStyleValue) {
2986
+ val transition = styleValue.transition
2987
+ if (transition != null) {
2988
+ layer.rasterContrastTransition(transition);
2989
+ }
2990
+ }
2991
+
2992
+ fun setRasterResampling(layer: RasterLayer, styleValue: RNMBXStyleValue ) {
2993
+ if (styleValue.isExpression()) {
2994
+ val expression = styleValue.getExpression()
2995
+ if (expression != null) {
2996
+ layer.rasterResampling(expression)
2997
+ } else {
2998
+ e("RNMBXRaster", "Expression for rasterResampling is null")
2999
+ }
3000
+ } else {
3001
+ layer.rasterResampling(RasterResampling.valueOf(styleValue.getEnumName()))
3002
+ }
3003
+ }
3004
+
3005
+ fun setRasterFadeDuration(layer: RasterLayer, styleValue: RNMBXStyleValue ) {
3006
+ if (styleValue.isExpression()) {
3007
+ val expression = styleValue.getExpression()
3008
+ if (expression != null) {
3009
+ layer.rasterFadeDuration(expression)
3010
+ } else {
3011
+ e("RNMBXRaster", "Expression for rasterFadeDuration is null")
3012
+ }
3013
+ } else {
3014
+ val value = styleValue.getDouble(VALUE_KEY)
3015
+ if (value != null) {
3016
+ layer.rasterFadeDuration(value)
3017
+ } else {
3018
+ e("RNMBXRaster", "value for rasterFadeDuration is null")
3019
+ }
3020
+ }
3021
+ }
3022
+
3023
+ fun setVisibility(layer: HillshadeLayer, styleValue: RNMBXStyleValue ) {
3024
+ layer.visibility(Visibility.valueOf(styleValue.getEnumName()));
3025
+ }
3026
+
3027
+ fun setHillshadeIlluminationDirection(layer: HillshadeLayer, styleValue: RNMBXStyleValue ) {
3028
+ if (styleValue.isExpression()) {
3029
+ val expression = styleValue.getExpression()
3030
+ if (expression != null) {
3031
+ layer.hillshadeIlluminationDirection(expression)
3032
+ } else {
3033
+ e("RNMBXHillshade", "Expression for hillshadeIlluminationDirection is null")
3034
+ }
3035
+ } else {
3036
+ val value = styleValue.getDouble(VALUE_KEY)
3037
+ if (value != null) {
3038
+ layer.hillshadeIlluminationDirection(value)
3039
+ } else {
3040
+ e("RNMBXHillshade", "value for hillshadeIlluminationDirection is null")
3041
+ }
3042
+ }
3043
+ }
3044
+
3045
+ fun setHillshadeIlluminationAnchor(layer: HillshadeLayer, styleValue: RNMBXStyleValue ) {
3046
+ if (styleValue.isExpression()) {
3047
+ val expression = styleValue.getExpression()
3048
+ if (expression != null) {
3049
+ layer.hillshadeIlluminationAnchor(expression)
3050
+ } else {
3051
+ e("RNMBXHillshade", "Expression for hillshadeIlluminationAnchor is null")
3052
+ }
3053
+ } else {
3054
+ layer.hillshadeIlluminationAnchor(HillshadeIlluminationAnchor.valueOf(styleValue.getEnumName()))
3055
+ }
3056
+ }
3057
+
3058
+ fun setHillshadeExaggeration(layer: HillshadeLayer, styleValue: RNMBXStyleValue ) {
3059
+ if (styleValue.isExpression()) {
3060
+ val expression = styleValue.getExpression()
3061
+ if (expression != null) {
3062
+ layer.hillshadeExaggeration(expression)
3063
+ } else {
3064
+ e("RNMBXHillshade", "Expression for hillshadeExaggeration is null")
3065
+ }
3066
+ } else {
3067
+ val value = styleValue.getDouble(VALUE_KEY)
3068
+ if (value != null) {
3069
+ layer.hillshadeExaggeration(value)
3070
+ } else {
3071
+ e("RNMBXHillshade", "value for hillshadeExaggeration is null")
3072
+ }
3073
+ }
3074
+ }
3075
+
3076
+
3077
+ fun setHillshadeExaggerationTransition(layer: HillshadeLayer, styleValue: RNMBXStyleValue) {
3078
+ val transition = styleValue.transition
3079
+ if (transition != null) {
3080
+ layer.hillshadeExaggerationTransition(transition);
3081
+ }
3082
+ }
3083
+
3084
+ fun setHillshadeShadowColor(layer: HillshadeLayer, styleValue: RNMBXStyleValue ) {
3085
+ if (styleValue.isExpression()) {
3086
+ val expression = styleValue.getExpression()
3087
+ if (expression != null) {
3088
+ layer.hillshadeShadowColor(expression)
3089
+ } else {
3090
+ e("RNMBXHillshade", "Expression for hillshadeShadowColor is null")
3091
+ }
3092
+ } else {
3093
+ val value = styleValue.getInt(VALUE_KEY)
3094
+ if (value != null) {
3095
+ layer.hillshadeShadowColor(value)
3096
+ } else {
3097
+ e("RNMBXHillshade", "value for hillshadeShadowColor is null")
3098
+ }
3099
+ }
3100
+ }
3101
+
3102
+
3103
+ fun setHillshadeShadowColorTransition(layer: HillshadeLayer, styleValue: RNMBXStyleValue) {
3104
+ val transition = styleValue.transition
3105
+ if (transition != null) {
3106
+ layer.hillshadeShadowColorTransition(transition);
3107
+ }
3108
+ }
3109
+
3110
+ fun setHillshadeHighlightColor(layer: HillshadeLayer, styleValue: RNMBXStyleValue ) {
3111
+ if (styleValue.isExpression()) {
3112
+ val expression = styleValue.getExpression()
3113
+ if (expression != null) {
3114
+ layer.hillshadeHighlightColor(expression)
3115
+ } else {
3116
+ e("RNMBXHillshade", "Expression for hillshadeHighlightColor is null")
3117
+ }
3118
+ } else {
3119
+ val value = styleValue.getInt(VALUE_KEY)
3120
+ if (value != null) {
3121
+ layer.hillshadeHighlightColor(value)
3122
+ } else {
3123
+ e("RNMBXHillshade", "value for hillshadeHighlightColor is null")
3124
+ }
3125
+ }
3126
+ }
3127
+
3128
+
3129
+ fun setHillshadeHighlightColorTransition(layer: HillshadeLayer, styleValue: RNMBXStyleValue) {
3130
+ val transition = styleValue.transition
3131
+ if (transition != null) {
3132
+ layer.hillshadeHighlightColorTransition(transition);
3133
+ }
3134
+ }
3135
+
3136
+ fun setHillshadeAccentColor(layer: HillshadeLayer, styleValue: RNMBXStyleValue ) {
3137
+ if (styleValue.isExpression()) {
3138
+ val expression = styleValue.getExpression()
3139
+ if (expression != null) {
3140
+ layer.hillshadeAccentColor(expression)
3141
+ } else {
3142
+ e("RNMBXHillshade", "Expression for hillshadeAccentColor is null")
3143
+ }
3144
+ } else {
3145
+ val value = styleValue.getInt(VALUE_KEY)
3146
+ if (value != null) {
3147
+ layer.hillshadeAccentColor(value)
3148
+ } else {
3149
+ e("RNMBXHillshade", "value for hillshadeAccentColor is null")
3150
+ }
3151
+ }
3152
+ }
3153
+
3154
+
3155
+ fun setHillshadeAccentColorTransition(layer: HillshadeLayer, styleValue: RNMBXStyleValue) {
3156
+ val transition = styleValue.transition
3157
+ if (transition != null) {
3158
+ layer.hillshadeAccentColorTransition(transition);
3159
+ }
3160
+ }
3161
+
3162
+ fun setVisibility(layer: BackgroundLayer, styleValue: RNMBXStyleValue ) {
3163
+ layer.visibility(Visibility.valueOf(styleValue.getEnumName()));
3164
+ }
3165
+
3166
+ fun setBackgroundColor(layer: BackgroundLayer, styleValue: RNMBXStyleValue ) {
3167
+ if (styleValue.isExpression()) {
3168
+ val expression = styleValue.getExpression()
3169
+ if (expression != null) {
3170
+ layer.backgroundColor(expression)
3171
+ } else {
3172
+ e("RNMBXBackground", "Expression for backgroundColor is null")
3173
+ }
3174
+ } else {
3175
+ val value = styleValue.getInt(VALUE_KEY)
3176
+ if (value != null) {
3177
+ layer.backgroundColor(value)
3178
+ } else {
3179
+ e("RNMBXBackground", "value for backgroundColor is null")
3180
+ }
3181
+ }
3182
+ }
3183
+
3184
+
3185
+ fun setBackgroundColorTransition(layer: BackgroundLayer, styleValue: RNMBXStyleValue) {
3186
+ val transition = styleValue.transition
3187
+ if (transition != null) {
3188
+ layer.backgroundColorTransition(transition);
3189
+ }
3190
+ }
3191
+
3192
+ fun setBackgroundPattern(layer: BackgroundLayer, styleValue: RNMBXStyleValue ) {
3193
+ if (styleValue.isExpression()) {
3194
+ if (styleValue.isImageStringValue) {
3195
+ val value = styleValue.getImageStringValue()
3196
+ if (value != null) {
3197
+ layer.backgroundPattern(value)
3198
+ } else {
3199
+ e("RNMBXBackground", "Image for backgroundPattern is null")
3200
+ }
3201
+ } else {
3202
+ val expression = styleValue.getExpression()
3203
+ if (expression != null) {
3204
+ layer.backgroundPattern(expression)
3205
+ } else {
3206
+ e("RNMBXBackground", "Expression for backgroundPattern is null")
3207
+ }
3208
+ }
3209
+ } else {
3210
+ val value = styleValue.imageURI
3211
+ if (value != null) {
3212
+ layer.backgroundPattern(value);
3213
+ } else {
3214
+ e("RNMBXBackground", "value for backgroundPattern is null")
3215
+ }
3216
+ }
3217
+ }
3218
+
3219
+ fun setBackgroundOpacity(layer: BackgroundLayer, styleValue: RNMBXStyleValue ) {
3220
+ if (styleValue.isExpression()) {
3221
+ val expression = styleValue.getExpression()
3222
+ if (expression != null) {
3223
+ layer.backgroundOpacity(expression)
3224
+ } else {
3225
+ e("RNMBXBackground", "Expression for backgroundOpacity is null")
3226
+ }
3227
+ } else {
3228
+ val value = styleValue.getDouble(VALUE_KEY)
3229
+ if (value != null) {
3230
+ layer.backgroundOpacity(value)
3231
+ } else {
3232
+ e("RNMBXBackground", "value for backgroundOpacity is null")
3233
+ }
3234
+ }
3235
+ }
3236
+
3237
+
3238
+ fun setBackgroundOpacityTransition(layer: BackgroundLayer, styleValue: RNMBXStyleValue) {
3239
+ val transition = styleValue.transition
3240
+ if (transition != null) {
3241
+ layer.backgroundOpacityTransition(transition);
3242
+ }
3243
+ }
3244
+
3245
+ fun setVisibility(layer: SkyLayer, styleValue: RNMBXStyleValue ) {
3246
+ layer.visibility(Visibility.valueOf(styleValue.getEnumName()));
3247
+ }
3248
+
3249
+ fun setSkyType(layer: SkyLayer, styleValue: RNMBXStyleValue ) {
3250
+ if (styleValue.isExpression()) {
3251
+ val expression = styleValue.getExpression()
3252
+ if (expression != null) {
3253
+ layer.skyType(expression)
3254
+ } else {
3255
+ e("RNMBXSky", "Expression for skyType is null")
3256
+ }
3257
+ } else {
3258
+ layer.skyType(SkyType.valueOf(styleValue.getEnumName()))
3259
+ }
3260
+ }
3261
+
3262
+ fun setSkyAtmosphereSun(layer: SkyLayer, styleValue: RNMBXStyleValue ) {
3263
+ if (styleValue.isExpression()) {
3264
+ val expression = styleValue.getExpression()
3265
+ if (expression != null) {
3266
+ layer.skyAtmosphereSun(expression)
3267
+ } else {
3268
+ e("RNMBXSky", "Expression for skyAtmosphereSun is null")
3269
+ }
3270
+ } else {
3271
+ val value = styleValue.getFloatArray(VALUE_KEY)
3272
+ if (value != null) {
3273
+ layer.skyAtmosphereSun(value)
3274
+ } else {
3275
+ e("RNMBXSky", "value for skyAtmosphereSun is null")
3276
+ }
3277
+ }
3278
+ }
3279
+
3280
+ fun setSkyAtmosphereSunIntensity(layer: SkyLayer, styleValue: RNMBXStyleValue ) {
3281
+ if (styleValue.isExpression()) {
3282
+ val expression = styleValue.getExpression()
3283
+ if (expression != null) {
3284
+ layer.skyAtmosphereSunIntensity(expression)
3285
+ } else {
3286
+ e("RNMBXSky", "Expression for skyAtmosphereSunIntensity is null")
3287
+ }
3288
+ } else {
3289
+ val value = styleValue.getDouble(VALUE_KEY)
3290
+ if (value != null) {
3291
+ layer.skyAtmosphereSunIntensity(value)
3292
+ } else {
3293
+ e("RNMBXSky", "value for skyAtmosphereSunIntensity is null")
3294
+ }
3295
+ }
3296
+ }
3297
+
3298
+ fun setSkyGradientCenter(layer: SkyLayer, styleValue: RNMBXStyleValue ) {
3299
+ if (styleValue.isExpression()) {
3300
+ val expression = styleValue.getExpression()
3301
+ if (expression != null) {
3302
+ layer.skyGradientCenter(expression)
3303
+ } else {
3304
+ e("RNMBXSky", "Expression for skyGradientCenter is null")
3305
+ }
3306
+ } else {
3307
+ val value = styleValue.getFloatArray(VALUE_KEY)
3308
+ if (value != null) {
3309
+ layer.skyGradientCenter(value)
3310
+ } else {
3311
+ e("RNMBXSky", "value for skyGradientCenter is null")
3312
+ }
3313
+ }
3314
+ }
3315
+
3316
+ fun setSkyGradientRadius(layer: SkyLayer, styleValue: RNMBXStyleValue ) {
3317
+ if (styleValue.isExpression()) {
3318
+ val expression = styleValue.getExpression()
3319
+ if (expression != null) {
3320
+ layer.skyGradientRadius(expression)
3321
+ } else {
3322
+ e("RNMBXSky", "Expression for skyGradientRadius is null")
3323
+ }
3324
+ } else {
3325
+ val value = styleValue.getDouble(VALUE_KEY)
3326
+ if (value != null) {
3327
+ layer.skyGradientRadius(value)
3328
+ } else {
3329
+ e("RNMBXSky", "value for skyGradientRadius is null")
3330
+ }
3331
+ }
3332
+ }
3333
+
3334
+ fun setSkyGradient(layer: SkyLayer, styleValue: RNMBXStyleValue ) {
3335
+ if (styleValue.isExpression()) {
3336
+ val expression = styleValue.getExpression()
3337
+ if (expression != null) {
3338
+ layer.skyGradient(expression)
3339
+ } else {
3340
+ e("RNMBXSky", "Expression for skyGradient is null")
3341
+ }
3342
+ } else {
3343
+ layer.skyGradient(styleValue.getIntExpression(VALUE_KEY))
3344
+ }
3345
+ }
3346
+
3347
+ fun setSkyAtmosphereHaloColor(layer: SkyLayer, styleValue: RNMBXStyleValue ) {
3348
+ if (styleValue.isExpression()) {
3349
+ val expression = styleValue.getExpression()
3350
+ if (expression != null) {
3351
+ layer.skyAtmosphereHaloColor(expression)
3352
+ } else {
3353
+ e("RNMBXSky", "Expression for skyAtmosphereHaloColor is null")
3354
+ }
3355
+ } else {
3356
+ val value = styleValue.getInt(VALUE_KEY)
3357
+ if (value != null) {
3358
+ layer.skyAtmosphereHaloColor(value)
3359
+ } else {
3360
+ e("RNMBXSky", "value for skyAtmosphereHaloColor is null")
3361
+ }
3362
+ }
3363
+ }
3364
+
3365
+ fun setSkyAtmosphereColor(layer: SkyLayer, styleValue: RNMBXStyleValue ) {
3366
+ if (styleValue.isExpression()) {
3367
+ val expression = styleValue.getExpression()
3368
+ if (expression != null) {
3369
+ layer.skyAtmosphereColor(expression)
3370
+ } else {
3371
+ e("RNMBXSky", "Expression for skyAtmosphereColor is null")
3372
+ }
3373
+ } else {
3374
+ val value = styleValue.getInt(VALUE_KEY)
3375
+ if (value != null) {
3376
+ layer.skyAtmosphereColor(value)
3377
+ } else {
3378
+ e("RNMBXSky", "value for skyAtmosphereColor is null")
3379
+ }
3380
+ }
3381
+ }
3382
+
3383
+ fun setSkyOpacity(layer: SkyLayer, styleValue: RNMBXStyleValue ) {
3384
+ if (styleValue.isExpression()) {
3385
+ val expression = styleValue.getExpression()
3386
+ if (expression != null) {
3387
+ layer.skyOpacity(expression)
3388
+ } else {
3389
+ e("RNMBXSky", "Expression for skyOpacity is null")
3390
+ }
3391
+ } else {
3392
+ val value = styleValue.getDouble(VALUE_KEY)
3393
+ if (value != null) {
3394
+ layer.skyOpacity(value)
3395
+ } else {
3396
+ e("RNMBXSky", "value for skyOpacity is null")
3397
+ }
3398
+ }
3399
+ }
3400
+
3401
+
3402
+ fun setSkyOpacityTransition(layer: SkyLayer, styleValue: RNMBXStyleValue) {
3403
+ val transition = styleValue.transition
3404
+ if (transition != null) {
3405
+ layer.skyOpacityTransition(transition);
3406
+ }
3407
+ }
3408
+
3409
+ fun setAnchor(layer: Light, styleValue: RNMBXStyleValue ) {
3410
+ if (styleValue.isExpression()) {
3411
+ val expression = styleValue.getExpression()
3412
+ if (expression != null) {
3413
+ layer.anchor(expression)
3414
+ } else {
3415
+ e("RNMBXLight", "Expression for anchor is null")
3416
+ }
3417
+ } else {
3418
+ layer.anchor(Anchor.valueOf(styleValue.getEnumName()))
3419
+ }
3420
+ }
3421
+
3422
+ fun setPosition(layer: Light, styleValue: RNMBXStyleValue ) {
3423
+ if (styleValue.isExpression()) {
3424
+ val expression = styleValue.getExpression()
3425
+ if (expression != null) {
3426
+ layer.position(expression)
3427
+ } else {
3428
+ e("RNMBXLight", "Expression for position is null")
3429
+ }
3430
+ } else {
3431
+ layer.position(styleValue.getLightPosition())
3432
+ }
3433
+ }
3434
+
3435
+
3436
+ fun setPositionTransition(layer: Light, styleValue: RNMBXStyleValue) {
3437
+ val transition = styleValue.transition
3438
+ if (transition != null) {
3439
+ layer.positionTransition(transition);
3440
+ }
3441
+ }
3442
+
3443
+ fun setColor(layer: Light, styleValue: RNMBXStyleValue ) {
3444
+ if (styleValue.isExpression()) {
3445
+ val expression = styleValue.getExpression()
3446
+ if (expression != null) {
3447
+ layer.color(expression)
3448
+ } else {
3449
+ e("RNMBXLight", "Expression for color is null")
3450
+ }
3451
+ } else {
3452
+ val value = styleValue.getInt(VALUE_KEY)
3453
+ if (value != null) {
3454
+ layer.color(value)
3455
+ } else {
3456
+ e("RNMBXLight", "value for color is null")
3457
+ }
3458
+ }
3459
+ }
3460
+
3461
+
3462
+ fun setColorTransition(layer: Light, styleValue: RNMBXStyleValue) {
3463
+ val transition = styleValue.transition
3464
+ if (transition != null) {
3465
+ layer.colorTransition(transition);
3466
+ }
3467
+ }
3468
+
3469
+ fun setIntensity(layer: Light, styleValue: RNMBXStyleValue ) {
3470
+ if (styleValue.isExpression()) {
3471
+ val expression = styleValue.getExpression()
3472
+ if (expression != null) {
3473
+ layer.intensity(expression)
3474
+ } else {
3475
+ e("RNMBXLight", "Expression for intensity is null")
3476
+ }
3477
+ } else {
3478
+ val value = styleValue.getDouble(VALUE_KEY)
3479
+ if (value != null) {
3480
+ layer.intensity(value)
3481
+ } else {
3482
+ e("RNMBXLight", "value for intensity is null")
3483
+ }
3484
+ }
3485
+ }
3486
+
3487
+
3488
+ fun setIntensityTransition(layer: Light, styleValue: RNMBXStyleValue) {
3489
+ val transition = styleValue.transition
3490
+ if (transition != null) {
3491
+ layer.intensityTransition(transition);
3492
+ }
3493
+ }
3494
+
3495
+ fun setRange(layer: Atmosphere, styleValue: RNMBXStyleValue ) {
3496
+ if (styleValue.isExpression()) {
3497
+ val expression = styleValue.getExpression()
3498
+ if (expression != null) {
3499
+ layer.range(expression)
3500
+ } else {
3501
+ e("RNMBXAtmosphere", "Expression for range is null")
3502
+ }
3503
+ } else {
3504
+ val value = styleValue.getFloatArray(VALUE_KEY)
3505
+ if (value != null) {
3506
+ layer.range(value)
3507
+ } else {
3508
+ e("RNMBXAtmosphere", "value for range is null")
3509
+ }
3510
+ }
3511
+ }
3512
+
3513
+
3514
+ fun setRangeTransition(layer: Atmosphere, styleValue: RNMBXStyleValue) {
3515
+ val transition = styleValue.transition
3516
+ if (transition != null) {
3517
+ layer.rangeTransition(transition);
3518
+ }
3519
+ }
3520
+
3521
+ fun setColor(layer: Atmosphere, styleValue: RNMBXStyleValue ) {
3522
+ if (styleValue.isExpression()) {
3523
+ val expression = styleValue.getExpression()
3524
+ if (expression != null) {
3525
+ layer.color(expression)
3526
+ } else {
3527
+ e("RNMBXAtmosphere", "Expression for color is null")
3528
+ }
3529
+ } else {
3530
+ val value = styleValue.getInt(VALUE_KEY)
3531
+ if (value != null) {
3532
+ layer.color(value)
3533
+ } else {
3534
+ e("RNMBXAtmosphere", "value for color is null")
3535
+ }
3536
+ }
3537
+ }
3538
+
3539
+
3540
+ fun setColorTransition(layer: Atmosphere, styleValue: RNMBXStyleValue) {
3541
+ val transition = styleValue.transition
3542
+ if (transition != null) {
3543
+ layer.colorTransition(transition);
3544
+ }
3545
+ }
3546
+
3547
+ fun setHighColor(layer: Atmosphere, styleValue: RNMBXStyleValue ) {
3548
+ if (styleValue.isExpression()) {
3549
+ val expression = styleValue.getExpression()
3550
+ if (expression != null) {
3551
+ layer.highColor(expression)
3552
+ } else {
3553
+ e("RNMBXAtmosphere", "Expression for highColor is null")
3554
+ }
3555
+ } else {
3556
+ val value = styleValue.getInt(VALUE_KEY)
3557
+ if (value != null) {
3558
+ layer.highColor(value)
3559
+ } else {
3560
+ e("RNMBXAtmosphere", "value for highColor is null")
3561
+ }
3562
+ }
3563
+ }
3564
+
3565
+
3566
+ fun setHighColorTransition(layer: Atmosphere, styleValue: RNMBXStyleValue) {
3567
+ val transition = styleValue.transition
3568
+ if (transition != null) {
3569
+ layer.highColorTransition(transition);
3570
+ }
3571
+ }
3572
+
3573
+ fun setSpaceColor(layer: Atmosphere, styleValue: RNMBXStyleValue ) {
3574
+ if (styleValue.isExpression()) {
3575
+ val expression = styleValue.getExpression()
3576
+ if (expression != null) {
3577
+ layer.spaceColor(expression)
3578
+ } else {
3579
+ e("RNMBXAtmosphere", "Expression for spaceColor is null")
3580
+ }
3581
+ } else {
3582
+ val value = styleValue.getInt(VALUE_KEY)
3583
+ if (value != null) {
3584
+ layer.spaceColor(value)
3585
+ } else {
3586
+ e("RNMBXAtmosphere", "value for spaceColor is null")
3587
+ }
3588
+ }
3589
+ }
3590
+
3591
+
3592
+ fun setSpaceColorTransition(layer: Atmosphere, styleValue: RNMBXStyleValue) {
3593
+ val transition = styleValue.transition
3594
+ if (transition != null) {
3595
+ layer.spaceColorTransition(transition);
3596
+ }
3597
+ }
3598
+
3599
+ fun setHorizonBlend(layer: Atmosphere, styleValue: RNMBXStyleValue ) {
3600
+ if (styleValue.isExpression()) {
3601
+ val expression = styleValue.getExpression()
3602
+ if (expression != null) {
3603
+ layer.horizonBlend(expression)
3604
+ } else {
3605
+ e("RNMBXAtmosphere", "Expression for horizonBlend is null")
3606
+ }
3607
+ } else {
3608
+ val value = styleValue.getDouble(VALUE_KEY)
3609
+ if (value != null) {
3610
+ layer.horizonBlend(value)
3611
+ } else {
3612
+ e("RNMBXAtmosphere", "value for horizonBlend is null")
3613
+ }
3614
+ }
3615
+ }
3616
+
3617
+
3618
+ fun setHorizonBlendTransition(layer: Atmosphere, styleValue: RNMBXStyleValue) {
3619
+ val transition = styleValue.transition
3620
+ if (transition != null) {
3621
+ layer.horizonBlendTransition(transition);
3622
+ }
3623
+ }
3624
+
3625
+ fun setStarIntensity(layer: Atmosphere, styleValue: RNMBXStyleValue ) {
3626
+ if (styleValue.isExpression()) {
3627
+ val expression = styleValue.getExpression()
3628
+ if (expression != null) {
3629
+ layer.starIntensity(expression)
3630
+ } else {
3631
+ e("RNMBXAtmosphere", "Expression for starIntensity is null")
3632
+ }
3633
+ } else {
3634
+ val value = styleValue.getDouble(VALUE_KEY)
3635
+ if (value != null) {
3636
+ layer.starIntensity(value)
3637
+ } else {
3638
+ e("RNMBXAtmosphere", "value for starIntensity is null")
3639
+ }
3640
+ }
3641
+ }
3642
+
3643
+
3644
+ fun setStarIntensityTransition(layer: Atmosphere, styleValue: RNMBXStyleValue) {
3645
+ val transition = styleValue.transition
3646
+ if (transition != null) {
3647
+ layer.starIntensityTransition(transition);
3648
+ }
3649
+ }
3650
+
3651
+ fun setExaggeration(layer: Terrain, styleValue: RNMBXStyleValue ) {
3652
+ if (styleValue.isExpression()) {
3653
+ val expression = styleValue.getExpression()
3654
+ if (expression != null) {
3655
+ layer.exaggeration(expression)
3656
+ } else {
3657
+ e("RNMBXTerrain", "Expression for exaggeration is null")
3658
+ }
3659
+ } else {
3660
+ val value = styleValue.getDouble(VALUE_KEY)
3661
+ if (value != null) {
3662
+ layer.exaggeration(value)
3663
+ } else {
3664
+ e("RNMBXTerrain", "value for exaggeration is null")
3665
+ }
3666
+ }
3667
+ }
3668
+
3669
+ }