@rnmapbox/maps 10.1.0-beta.4 → 10.1.0-beta.6

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