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