@maplibre/maplibre-react-native 9.1.0 → 10.0.0-alpha.10

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 (444) hide show
  1. package/.husky/pre-commit +5 -0
  2. package/.sonarcloud.properties +1 -1
  3. package/CHANGELOG.md +107 -50
  4. package/CONTRIBUTING.md +10 -9
  5. package/README.md +1 -1
  6. package/android/build.gradle +1 -1
  7. package/android/{rctmgl → rctmln}/build.gradle +8 -8
  8. package/android/{rctmgl → rctmln}/src/main/AndroidManifest.xml +1 -1
  9. package/android/rctmln/src/main/java/com/maplibre/rctmln/RCTMLNPackage.java +99 -0
  10. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/components/AbstractEvent.java +1 -1
  11. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/components/AbstractEventEmitter.java +2 -2
  12. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/components/AbstractMapFeature.java +4 -4
  13. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/components/annotation/MarkerView.java +3 -3
  14. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/components/annotation/MarkerViewManager.java +12 -10
  15. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/annotation/RCTMGLCallout.java → rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNCallout.java} +3 -3
  16. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNCalloutManager.java +22 -0
  17. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/annotation/RCTMGLMarkerView.java → rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNMarkerView.java} +18 -18
  18. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/annotation/RCTMGLMarkerViewManager.java → rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNMarkerViewManager.java} +10 -10
  19. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/annotation/RCTMGLPointAnnotation.java → rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNPointAnnotation.java} +27 -26
  20. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/annotation/RCTMGLPointAnnotationManager.java → rctmln/src/main/java/com/maplibre/rctmln/components/annotation/RCTMLNPointAnnotationManager.java} +14 -14
  21. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/components/camera/CameraStop.java +21 -19
  22. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/components/camera/CameraUpdateItem.java +12 -12
  23. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/components/camera/CameraUpdateQueue.java +4 -4
  24. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/camera/RCTMGLCamera.java → rctmln/src/main/java/com/maplibre/rctmln/components/camera/RCTMLNCamera.java} +50 -50
  25. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/camera/RCTMGLCameraManager.java → rctmln/src/main/java/com/maplibre/rctmln/components/camera/RCTMLNCameraManager.java} +19 -19
  26. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/components/camera/constants/CameraMode.java +1 -1
  27. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/images/RCTMGLImages.java → rctmln/src/main/java/com/maplibre/rctmln/components/images/RCTMLNImages.java} +27 -27
  28. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/images/RCTMGLImagesManager.java → rctmln/src/main/java/com/maplibre/rctmln/components/images/RCTMLNImagesManager.java} +17 -17
  29. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/components/location/LocationComponentManager.java +16 -16
  30. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/location/RCTMGLNativeUserLocation.java → rctmln/src/main/java/com/maplibre/rctmln/components/location/RCTMLNNativeUserLocation.java} +15 -15
  31. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/location/RCTMGLNativeUserLocationManager.java → rctmln/src/main/java/com/maplibre/rctmln/components/location/RCTMLNNativeUserLocationManager.java} +7 -7
  32. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/components/mapview/LayerSourceInfo.java +10 -10
  33. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/mapview/RCTMLNAndroidTextureMapView.java +16 -0
  34. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/mapview/RCTMLNAndroidTextureMapViewManager.java +31 -0
  35. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/mapview/RCTMGLMapView.java → rctmln/src/main/java/com/maplibre/rctmln/components/mapview/RCTMLNMapView.java} +114 -114
  36. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/mapview/RCTMGLMapViewManager.java → rctmln/src/main/java/com/maplibre/rctmln/components/mapview/RCTMLNMapViewManager.java} +46 -46
  37. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/components/mapview/helpers/CameraChangeTracker.java +1 -1
  38. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/RCTMGLStyle.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/RCTMLNStyle.java} +12 -12
  39. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/RCTMGLStyleFactory.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/RCTMLNStyleFactory.java} +422 -422
  40. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/RCTMGLStyleFunctionParser.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/RCTMLNStyleFunctionParser.java} +8 -9
  41. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/RCTMGLStyleValue.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/RCTMLNStyleValue.java} +9 -9
  42. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/components/styles/layers/RCTLayer.java +17 -17
  43. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNBackgroundLayer.java +27 -0
  44. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLBackgroundLayerManager.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNBackgroundLayerManager.java} +13 -13
  45. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLCircleLayer.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNCircleLayer.java} +10 -10
  46. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLCircleLayerManager.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNCircleLayerManager.java} +15 -15
  47. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLFillExtrusionLayer.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNFillExtrusionLayer.java} +10 -10
  48. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLFillExtrusionLayerManager.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNFillExtrusionLayerManager.java} +16 -16
  49. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLFillLayer.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNFillLayer.java} +10 -10
  50. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLFillLayerManager.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNFillLayerManager.java} +16 -16
  51. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLHeatmapLayer.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNHeatmapLayer.java} +10 -10
  52. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLHeatmapLayerManager.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNHeatmapLayerManager.java} +15 -15
  53. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLLineLayer.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNLineLayer.java} +10 -10
  54. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLLineLayerManager.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNLineLayerManager.java} +17 -17
  55. package/android/rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNRasterLayer.java +27 -0
  56. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLRasterLayerManager.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNRasterLayerManager.java} +13 -13
  57. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLSymbolLayer.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNSymbolLayer.java} +10 -10
  58. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLSymbolLayerManager.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/layers/RCTMLNSymbolLayerManager.java} +15 -15
  59. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/light/RCTMGLLight.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/light/RCTMLNLight.java} +16 -16
  60. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/light/RCTMGLLightManager.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/light/RCTMLNLightManager.java} +6 -6
  61. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/sources/RCTMGLImageSource.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNImageSource.java} +7 -7
  62. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/sources/RCTMGLImageSourceManager.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNImageSourceManager.java} +15 -15
  63. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/sources/RCTMGLRasterSource.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNRasterSource.java} +6 -6
  64. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/sources/RCTMGLRasterSourceManager.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNRasterSourceManager.java} +7 -7
  65. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/sources/RCTMGLShapeSource.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNShapeSource.java} +22 -22
  66. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/sources/RCTMGLShapeSourceManager.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNShapeSourceManager.java} +35 -35
  67. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/sources/RCTMGLTileSource.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNTileSource.java} +5 -5
  68. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/sources/RCTMGLTileSourceManager.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNTileSourceManager.java} +4 -4
  69. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/sources/RCTMGLVectorSource.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNVectorSource.java} +10 -10
  70. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/sources/RCTMGLVectorSourceManager.java → rctmln/src/main/java/com/maplibre/rctmln/components/styles/sources/RCTMLNVectorSourceManager.java} +12 -12
  71. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/components/styles/sources/RCTSource.java +14 -14
  72. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/events/AbstractEvent.java +1 -1
  73. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/events/AndroidCallbackEvent.java +2 -2
  74. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/events/EventEmitter.java +1 -1
  75. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/events/FeatureClickEvent.java +8 -8
  76. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/events/IEvent.java +1 -1
  77. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/events/ImageMissingEvent.java +3 -3
  78. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/events/LocationEvent.java +6 -6
  79. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/events/MapChangeEvent.java +3 -3
  80. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/events/MapClickEvent.java +5 -5
  81. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/events/MapUserTrackingModeEvent.java +4 -4
  82. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/events/OfflineEvent.java +1 -1
  83. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/events/PointAnnotationClickEvent.java +10 -10
  84. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/events/PointAnnotationDragEvent.java +10 -10
  85. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/events/constants/EventKeys.java +1 -1
  86. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/events/constants/EventTypes.java +1 -1
  87. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/http/CustomHeadersInterceptor.java +1 -1
  88. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/location/LocationManager.java +8 -8
  89. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/location/UserLocation.java +2 -2
  90. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/location/UserLocationVerticalAlignment.java +1 -1
  91. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/location/UserTrackingMode.java +4 -4
  92. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/location/UserTrackingState.java +1 -1
  93. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/modules/RCTMGLLocationModule.java → rctmln/src/main/java/com/maplibre/rctmln/modules/RCTMLNLocationModule.java} +11 -11
  94. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/modules/RCTMGLLogging.java → rctmln/src/main/java/com/maplibre/rctmln/modules/RCTMLNLogging.java} +7 -7
  95. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/modules/RCTMGLModule.java → rctmln/src/main/java/com/maplibre/rctmln/modules/RCTMLNModule.java} +30 -30
  96. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/modules/RCTMGLOfflineModule.java → rctmln/src/main/java/com/maplibre/rctmln/modules/RCTMLNOfflineModule.java} +42 -47
  97. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl/modules/RCTMGLSnapshotModule.java → rctmln/src/main/java/com/maplibre/rctmln/modules/RCTMLNSnapshotModule.java} +14 -14
  98. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/utils/BitmapUtils.java +1 -1
  99. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/utils/ClusterPropertyEntry.java +2 -2
  100. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/utils/ConvertUtils.java +1 -1
  101. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/utils/DownloadMapImageTask.java +6 -6
  102. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/utils/ExpressionParser.java +3 -3
  103. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/utils/GeoJSONUtils.java +14 -14
  104. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/utils/GeoViewport.java +4 -4
  105. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/utils/ImageEntry.java +1 -1
  106. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/utils/ResourceUtils.java +1 -1
  107. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/utils/SimpleEventCallback.java +5 -5
  108. package/android/{rctmgl/src/main/java/com/mapbox/rctmgl → rctmln/src/main/java/com/maplibre/rctmln}/utils/SphericalMercator.java +2 -2
  109. package/android/rctmln/src/main/res/values/strings.xml +3 -0
  110. package/android/settings.gradle +1 -1
  111. package/docs/Annotation.md +8 -9
  112. package/docs/Annotations.md +1 -1
  113. package/docs/BackgroundLayer.md +2 -10
  114. package/docs/Callout.md +5 -5
  115. package/docs/Camera.md +21 -50
  116. package/docs/CircleLayer.md +2 -10
  117. package/docs/CustomHttpHeaders.md +4 -4
  118. package/docs/FillExtrusionLayer.md +2 -10
  119. package/docs/FillLayer.md +2 -10
  120. package/docs/HeatmapLayer.md +2 -10
  121. package/docs/ImageSource.md +3 -2
  122. package/docs/Images.md +5 -3
  123. package/docs/Light.md +1 -1
  124. package/docs/LineLayer.md +2 -10
  125. package/docs/MapView.md +31 -39
  126. package/docs/MarkerView.md +5 -3
  127. package/docs/NativeUserLocation.md +2 -2
  128. package/docs/PointAnnotation.md +6 -9
  129. package/docs/RasterLayer.md +2 -10
  130. package/docs/RasterSource.md +3 -2
  131. package/docs/ShapeSource.md +12 -7
  132. package/docs/Style.md +1 -1
  133. package/docs/SymbolLayer.md +3 -10
  134. package/docs/UserLocation.md +16 -10
  135. package/docs/VectorSource.md +6 -5
  136. package/docs/coordinates.md +6 -0
  137. package/docs/docs.json +557 -1317
  138. package/docs/location.md +6 -0
  139. package/docs/offlineManager.md +246 -0
  140. package/docs/snapshotManager.md +3 -3
  141. package/ios/{RCTMGL → RCTMLN}/CameraMode.h +1 -1
  142. package/ios/{RCTMGL → RCTMLN}/CameraMode.m +1 -1
  143. package/ios/{RCTMGL → RCTMLN}/CameraStop.h +4 -4
  144. package/ios/{RCTMGL → RCTMLN}/CameraStop.m +7 -7
  145. package/ios/{RCTMGL → RCTMLN}/CameraUpdateItem.h +3 -3
  146. package/ios/{RCTMGL → RCTMLN}/CameraUpdateItem.m +19 -19
  147. package/ios/{RCTMGL → RCTMLN}/CameraUpdateQueue.h +3 -3
  148. package/ios/{RCTMGL → RCTMLN}/CameraUpdateQueue.m +3 -3
  149. package/ios/{RCTMGL → RCTMLN}/FilterParser.h +1 -1
  150. package/ios/{RCTMGL → RCTMLN}/FilterParser.m +3 -3
  151. package/ios/{RCTMGL/MGLCustomHeaders.h → RCTMLN/MLNCustomHeaders.h} +3 -3
  152. package/ios/{RCTMGL/MGLCustomHeaders.m → RCTMLN/MLNCustomHeaders.m} +10 -10
  153. package/ios/RCTMLN/MLNFaux3DUserLocationAnnotationView.h +23 -0
  154. package/ios/{RCTMGL/MGLFaux3DUserLocationAnnotationView.m → RCTMLN/MLNFaux3DUserLocationAnnotationView.m} +38 -38
  155. package/ios/{RCTMGL/MGLModule.h → RCTMLN/MLNModule.h} +3 -3
  156. package/ios/{RCTMGL/MGLModule.m → RCTMLN/MLNModule.m} +91 -91
  157. package/ios/{RCTMGL/MGLOfflineModule.h → RCTMLN/MLNOfflineModule.h} +4 -4
  158. package/ios/{RCTMGL/MGLOfflineModule.m → RCTMLN/MLNOfflineModule.m} +59 -59
  159. package/ios/{RCTMGL/MGLSnapshotModule.h → RCTMLN/MLNSnapshotModule.h} +3 -3
  160. package/ios/{RCTMGL/MGLSnapshotModule.m → RCTMLN/MLNSnapshotModule.m} +14 -14
  161. package/ios/{RCTMGL/MGLUserLocationHeadingArrowLayer.h → RCTMLN/MLNUserLocationHeadingArrowLayer.h} +4 -4
  162. package/ios/{RCTMGL/MGLUserLocationHeadingArrowLayer.m → RCTMLN/MLNUserLocationHeadingArrowLayer.m} +7 -7
  163. package/ios/RCTMLN/MLNUserLocationHeadingBeamLayer.h +11 -0
  164. package/ios/{RCTMGL/MGLUserLocationHeadingBeamLayer.m → RCTMLN/MLNUserLocationHeadingBeamLayer.m} +10 -10
  165. package/ios/{RCTMGL/MGLUserLocationHeadingIndicator.h → RCTMLN/MLNUserLocationHeadingIndicator.h} +3 -3
  166. package/ios/{RCTMGL → RCTMLN}/RCTConvert+Mapbox.h +1 -1
  167. package/ios/{RCTMGL → RCTMLN}/RCTConvert+Mapbox.m +1 -1
  168. package/ios/{RCTMGL/RCTMGL.h → RCTMLN/RCTMLN.h} +3 -3
  169. package/ios/{RCTMGL/RCTMGL.m → RCTMLN/RCTMLN.m} +4 -4
  170. package/ios/RCTMLN/RCTMLNBackgroundLayer.h +14 -0
  171. package/ios/RCTMLN/RCTMLNBackgroundLayer.m +27 -0
  172. package/ios/{RCTMGL/RCTMGLBackgroundLayerManager.h → RCTMLN/RCTMLNBackgroundLayerManager.h} +3 -3
  173. package/ios/{RCTMGL/RCTMGLBackgroundLayerManager.m → RCTMLN/RCTMLNBackgroundLayerManager.m} +6 -6
  174. package/ios/{RCTMGL/RCTMGLCallout.h → RCTMLN/RCTMLNCallout.h} +4 -4
  175. package/ios/{RCTMGL/RCTMGLCallout.m → RCTMLN/RCTMLNCallout.m} +6 -6
  176. package/ios/{RCTMGL/RCTMGLCalloutManager.h → RCTMLN/RCTMLNCalloutManager.h} +3 -3
  177. package/ios/RCTMLN/RCTMLNCalloutManager.m +21 -0
  178. package/ios/{RCTMGL/RCTMGLCamera.h → RCTMLN/RCTMLNCamera.h} +6 -6
  179. package/ios/{RCTMGL/RCTMGLCamera.m → RCTMLN/RCTMLNCamera.m} +30 -30
  180. package/ios/{RCTMGL/RCTMGLCameraManager.h → RCTMLN/RCTMLNCameraManager.h} +3 -3
  181. package/ios/{RCTMGL/RCTMGLCameraManager.m → RCTMLN/RCTMLNCameraManager.m} +7 -7
  182. package/ios/RCTMLN/RCTMLNCircleLayer.h +13 -0
  183. package/ios/{RCTMGL/RCTMGLCircleLayer.m → RCTMLN/RCTMLNCircleLayer.m} +10 -10
  184. package/ios/{RCTMGL/RCTMGLCircleLayerManager.h → RCTMLN/RCTMLNCircleLayerManager.h} +3 -3
  185. package/ios/{RCTMGL/RCTMGLCircleLayerManager.m → RCTMLN/RCTMLNCircleLayerManager.m} +6 -6
  186. package/ios/{RCTMGL/RCTMGLEvent.h → RCTMLN/RCTMLNEvent.h} +6 -6
  187. package/ios/{RCTMGL/RCTMGLEvent.m → RCTMLN/RCTMLNEvent.m} +8 -8
  188. package/ios/{RCTMGL/RCTMGLEventProtocol.h → RCTMLN/RCTMLNEventProtocol.h} +3 -3
  189. package/ios/{RCTMGL/RCTMGLEventTypes.h → RCTMLN/RCTMLNEventTypes.h} +3 -3
  190. package/ios/{RCTMGL/RCTMGLEventTypes.m → RCTMLN/RCTMLNEventTypes.m} +4 -4
  191. package/ios/RCTMLN/RCTMLNFillExtrusionLayer.h +14 -0
  192. package/ios/{RCTMGL/RCTMGLFillExtrusionLayer.m → RCTMLN/RCTMLNFillExtrusionLayer.m} +10 -10
  193. package/ios/{RCTMGL/RCTMGLFillExtrusionLayerManager.h → RCTMLN/RCTMLNFillExtrusionLayerManager.h} +3 -3
  194. package/ios/{RCTMGL/RCTMGLFillExtrusionLayerManager.m → RCTMLN/RCTMLNFillExtrusionLayerManager.m} +6 -6
  195. package/ios/RCTMLN/RCTMLNFillLayer.h +14 -0
  196. package/ios/{RCTMGL/RCTMGLFillLayer.m → RCTMLN/RCTMLNFillLayer.m} +10 -10
  197. package/ios/{RCTMGL/RCTMGLFillLayerManager.h → RCTMLN/RCTMLNFillLayerManager.h} +3 -3
  198. package/ios/{RCTMGL/RCTMGLFillLayerManager.m → RCTMLN/RCTMLNFillLayerManager.m} +6 -6
  199. package/ios/RCTMLN/RCTMLNHeatmapLayer.h +12 -0
  200. package/ios/RCTMLN/RCTMLNHeatmapLayer.m +30 -0
  201. package/ios/RCTMLN/RCTMLNHeatmapLayerManager.h +12 -0
  202. package/ios/{RCTMGL/RCTMGLHeatmapLayerManager.m → RCTMLN/RCTMLNHeatmapLayerManager.m} +6 -6
  203. package/ios/{RCTMGL/RCTMGLImageQueue.h → RCTMLN/RCTMLNImageQueue.h} +3 -3
  204. package/ios/{RCTMGL/RCTMGLImageQueue.m → RCTMLN/RCTMLNImageQueue.m} +10 -10
  205. package/ios/{RCTMGL/RCTMGLImageQueueOperation.h → RCTMLN/RCTMLNImageQueueOperation.h} +3 -3
  206. package/ios/{RCTMGL/RCTMGLImageQueueOperation.m → RCTMLN/RCTMLNImageQueueOperation.m} +12 -12
  207. package/ios/{RCTMGL/RCTMGLImageSource.h → RCTMLN/RCTMLNImageSource.h} +4 -4
  208. package/ios/{RCTMGL/RCTMGLImageSource.m → RCTMLN/RCTMLNImageSource.m} +11 -11
  209. package/ios/{RCTMGL/RCTMGLImageSourceManager.h → RCTMLN/RCTMLNImageSourceManager.h} +3 -3
  210. package/ios/{RCTMGL/RCTMGLImageSourceManager.m → RCTMLN/RCTMLNImageSourceManager.m} +6 -6
  211. package/ios/{RCTMGL/RCTMGLImages.h → RCTMLN/RCTMLNImages.h} +4 -4
  212. package/ios/{RCTMGL/RCTMGLImages.m → RCTMLN/RCTMLNImages.m} +10 -10
  213. package/ios/RCTMLN/RCTMLNImagesManager.h +5 -0
  214. package/ios/{RCTMGL/RCTMGLImagesManager.m → RCTMLN/RCTMLNImagesManager.m} +4 -4
  215. package/ios/{RCTMGL/RCTMGLLayer.h → RCTMLN/RCTMLNLayer.h} +11 -11
  216. package/ios/{RCTMGL/RCTMGLLayer.m → RCTMLN/RCTMLNLayer.m} +17 -17
  217. package/ios/{RCTMGL/RCTMGLLight.h → RCTMLN/RCTMLNLight.h} +5 -5
  218. package/ios/{RCTMGL/RCTMGLLight.m → RCTMLN/RCTMLNLight.m} +9 -9
  219. package/ios/{RCTMGL/RCTMGLLightManager.h → RCTMLN/RCTMLNLightManager.h} +3 -3
  220. package/ios/{RCTMGL/RCTMGLLightManager.m → RCTMLN/RCTMLNLightManager.m} +6 -6
  221. package/ios/RCTMLN/RCTMLNLineLayer.h +14 -0
  222. package/ios/{RCTMGL/RCTMGLLineLayer.m → RCTMLN/RCTMLNLineLayer.m} +10 -10
  223. package/ios/{RCTMGL/RCTMGLLineLayerManager.h → RCTMLN/RCTMLNLineLayerManager.h} +3 -3
  224. package/ios/{RCTMGL/RCTMGLLineLayerManager.m → RCTMLN/RCTMLNLineLayerManager.m} +6 -6
  225. package/ios/{RCTMGL/RCTMGLLocation.h → RCTMLN/RCTMLNLocation.h} +3 -3
  226. package/ios/{RCTMGL/RCTMGLLocation.m → RCTMLN/RCTMLNLocation.m} +4 -4
  227. package/ios/RCTMLN/RCTMLNLocationManager.h +30 -0
  228. package/ios/{RCTMGL/RCTMGLLocationManager.m → RCTMLN/RCTMLNLocationManager.m} +16 -16
  229. package/ios/RCTMLN/RCTMLNLocationManagerDelegate.h +20 -0
  230. package/ios/{RCTMGL/RCTMGLLocationModule.h → RCTMLN/RCTMLNLocationModule.h} +3 -3
  231. package/ios/{RCTMGL/RCTMGLLocationModule.m → RCTMLN/RCTMLNLocationModule.m} +13 -13
  232. package/ios/RCTMLN/RCTMLNLogging.h +18 -0
  233. package/ios/{RCTMGL/RCTMGLLogging.m → RCTMLN/RCTMLNLogging.m} +29 -29
  234. package/ios/{RCTMGL/RCTMGLMapTouchEvent.h → RCTMLN/RCTMLNMapTouchEvent.h} +10 -10
  235. package/ios/{RCTMGL/RCTMGLMapTouchEvent.m → RCTMLN/RCTMLNMapTouchEvent.m} +18 -18
  236. package/ios/{RCTMGL/RCTMGLMapView.h → RCTMLN/RCTMLNMapView.h} +30 -30
  237. package/ios/{RCTMGL/RCTMGLMapView.m → RCTMLN/RCTMLNMapView.m} +82 -82
  238. package/ios/{RCTMGL/RCTMGLMapViewManager.h → RCTMLN/RCTMLNMapViewManager.h} +4 -4
  239. package/ios/{RCTMGL/RCTMGLMapViewManager.m → RCTMLN/RCTMLNMapViewManager.m} +117 -117
  240. package/ios/{RCTMGL/RCTMGLNativeUserLocation.h → RCTMLN/RCTMLNNativeUserLocation.h} +5 -5
  241. package/ios/{RCTMGL/RCTMGLNativeUserLocation.m → RCTMLN/RCTMLNNativeUserLocation.m} +10 -10
  242. package/ios/RCTMLN/RCTMLNNativeUserLocationManager.h +5 -0
  243. package/ios/RCTMLN/RCTMLNNativeUserLocationManager.m +25 -0
  244. package/ios/{RCTMGL/RCTMGLPointAnnotation.h → RCTMLN/RCTMLNPointAnnotation.h} +8 -8
  245. package/ios/{RCTMGL/RCTMGLPointAnnotation.m → RCTMLN/RCTMLNPointAnnotation.m} +21 -21
  246. package/ios/{RCTMGL/RCTMGLPointAnnotationManager.h → RCTMLN/RCTMLNPointAnnotationManager.h} +3 -3
  247. package/ios/{RCTMGL/RCTMGLPointAnnotationManager.m → RCTMLN/RCTMLNPointAnnotationManager.m} +6 -6
  248. package/ios/RCTMLN/RCTMLNRasterLayer.h +14 -0
  249. package/ios/RCTMLN/RCTMLNRasterLayer.m +30 -0
  250. package/ios/{RCTMGL/RCTMGLRasterLayerManager.h → RCTMLN/RCTMLNRasterLayerManager.h} +3 -3
  251. package/ios/{RCTMGL/RCTMGLRasterLayerManager.m → RCTMLN/RCTMLNRasterLayerManager.m} +6 -6
  252. package/ios/{RCTMGL/RCTMGLRasterSource.h → RCTMLN/RCTMLNRasterSource.h} +5 -5
  253. package/ios/{RCTMGL/RCTMGLRasterSource.m → RCTMLN/RCTMLNRasterSource.m} +11 -11
  254. package/ios/{RCTMGL/RCTMGLRasterSourceManager.h → RCTMLN/RCTMLNRasterSourceManager.h} +3 -3
  255. package/ios/{RCTMGL/RCTMGLRasterSourceManager.m → RCTMLN/RCTMLNRasterSourceManager.m} +6 -6
  256. package/ios/{RCTMGL/RCTMGLShapeSource.h → RCTMLN/RCTMLNShapeSource.h} +10 -10
  257. package/ios/{RCTMGL/RCTMGLShapeSource.m → RCTMLN/RCTMLNShapeSource.m} +50 -50
  258. package/ios/{RCTMGL/RCTMGLShapeSourceManager.h → RCTMLN/RCTMLNShapeSourceManager.h} +3 -3
  259. package/ios/{RCTMGL/RCTMGLShapeSourceManager.m → RCTMLN/RCTMLNShapeSourceManager.m} +25 -25
  260. package/ios/{RCTMGL/RCTMGLSource.h → RCTMLN/RCTMLNSource.h} +8 -8
  261. package/ios/{RCTMGL/RCTMGLSource.m → RCTMLN/RCTMLNSource.m} +15 -15
  262. package/ios/RCTMLN/RCTMLNStyle.h +222 -0
  263. package/ios/{RCTMGL/RCTMGLStyle.m → RCTMLN/RCTMLNStyle.m} +345 -345
  264. package/ios/{RCTMGL/RCTMGLStyleValue.h → RCTMLN/RCTMLNStyleValue.h} +7 -7
  265. package/ios/{RCTMGL/RCTMGLStyleValue.m → RCTMLN/RCTMLNStyleValue.m} +24 -24
  266. package/ios/{RCTMGL/RCTMGLSymbolLayer.h → RCTMLN/RCTMLNSymbolLayer.h} +4 -4
  267. package/ios/{RCTMGL/RCTMGLSymbolLayer.m → RCTMLN/RCTMLNSymbolLayer.m} +12 -12
  268. package/ios/{RCTMGL/RCTMGLSymbolLayerManager.h → RCTMLN/RCTMLNSymbolLayerManager.h} +3 -3
  269. package/ios/{RCTMGL/RCTMGLSymbolLayerManager.m → RCTMLN/RCTMLNSymbolLayerManager.m} +6 -6
  270. package/ios/{RCTMGL/RCTMGLTileSource.h → RCTMLN/RCTMLNTileSource.h} +6 -6
  271. package/ios/RCTMLN/RCTMLNTileSource.m +31 -0
  272. package/ios/RCTMLN/RCTMLNUserLocation.h +15 -0
  273. package/ios/{RCTMGL/RCTMGLUserLocation.m → RCTMLN/RCTMLNUserLocation.m} +8 -8
  274. package/ios/{RCTMGL/RCTMGLUtils.h → RCTMLN/RCTMLNUtils.h} +7 -7
  275. package/ios/{RCTMGL/RCTMGLUtils.m → RCTMLN/RCTMLNUtils.m} +20 -20
  276. package/ios/{RCTMGL/RCTMGLVectorLayer.h → RCTMLN/RCTMLNVectorLayer.h} +4 -4
  277. package/ios/{RCTMGL/RCTMGLVectorLayer.m → RCTMLN/RCTMLNVectorLayer.m} +7 -7
  278. package/ios/{RCTMGL/RCTMGLVectorSource.h → RCTMLN/RCTMLNVectorSource.h} +6 -6
  279. package/ios/{RCTMGL/RCTMGLVectorSource.m → RCTMLN/RCTMLNVectorSource.m} +9 -9
  280. package/ios/{RCTMGL/RCTMGLVectorSourceManager.h → RCTMLN/RCTMLNVectorSourceManager.h} +3 -3
  281. package/ios/{RCTMGL/RCTMGLVectorSourceManager.m → RCTMLN/RCTMLNVectorSourceManager.m} +11 -11
  282. package/ios/{RCTMGL → RCTMLN}/RNMBImageUtils.h +1 -1
  283. package/ios/{RCTMGL → RCTMLN}/RNMBImageUtils.m +2 -2
  284. package/ios/{RCTMGL → RCTMLN}/ViewManager.h +3 -3
  285. package/ios/{RCTMGL → RCTMLN}/ViewManager.m +4 -4
  286. package/ios/RCTMLN.xcodeproj/project.pbxproj +775 -0
  287. package/ios/install.md +6 -7
  288. package/javascript/MLNModule.ts +37 -0
  289. package/javascript/Maplibre.ts +64 -0
  290. package/javascript/components/BackgroundLayer.tsx +50 -0
  291. package/javascript/components/Callout.tsx +141 -0
  292. package/javascript/components/Camera.tsx +623 -0
  293. package/javascript/components/CircleLayer.tsx +53 -0
  294. package/javascript/components/FillExtrusionLayer.tsx +47 -0
  295. package/javascript/components/FillLayer.tsx +44 -0
  296. package/javascript/components/HeadingIndicator.tsx +31 -0
  297. package/javascript/components/HeatmapLayer.tsx +46 -0
  298. package/javascript/components/ImageSource.tsx +71 -0
  299. package/javascript/components/Images.tsx +134 -0
  300. package/javascript/components/Light.tsx +40 -0
  301. package/javascript/components/LineLayer.tsx +45 -0
  302. package/javascript/components/MapView.tsx +880 -0
  303. package/javascript/components/MarkerView.tsx +88 -0
  304. package/javascript/components/NativeUserLocation.tsx +31 -0
  305. package/javascript/components/PointAnnotation.tsx +245 -0
  306. package/javascript/components/RasterLayer.tsx +44 -0
  307. package/javascript/components/RasterSource.tsx +114 -0
  308. package/javascript/components/ShapeSource.tsx +433 -0
  309. package/javascript/components/Style.tsx +368 -0
  310. package/javascript/components/SymbolLayer.tsx +78 -0
  311. package/javascript/components/UserLocation.tsx +289 -0
  312. package/javascript/components/VectorSource.tsx +218 -0
  313. package/javascript/components/annotations/Annotation.tsx +161 -0
  314. package/javascript/hooks/useAbstractLayer.ts +127 -0
  315. package/javascript/hooks/useAbstractSource.ts +34 -0
  316. package/javascript/hooks/useNativeBridge.ts +125 -0
  317. package/javascript/hooks/useNativeRef.ts +13 -0
  318. package/javascript/hooks/useOnce.ts +12 -0
  319. package/javascript/index.ts +4 -0
  320. package/javascript/modules/location/locationManager.ts +162 -0
  321. package/javascript/modules/offline/OfflineCreatePackOptions.ts +62 -0
  322. package/javascript/modules/offline/OfflinePack.ts +56 -0
  323. package/javascript/modules/offline/{offlineManager.js → offlineManager.ts} +91 -35
  324. package/javascript/modules/snapshot/SnapshotOptions.ts +104 -0
  325. package/javascript/modules/snapshot/{snapshotManager.js → snapshotManager.ts} +7 -7
  326. package/javascript/requestAndroidLocationPermissions.ts +29 -0
  327. package/javascript/types/BaseProps.ts +5 -0
  328. package/javascript/types/OnPressEvent.ts +13 -0
  329. package/javascript/types/index.ts +11 -0
  330. package/javascript/utils/BridgeValue.ts +90 -0
  331. package/javascript/utils/{Logger.js → Logger.ts} +50 -31
  332. package/javascript/utils/MaplibreStyles.d.ts +1486 -0
  333. package/javascript/utils/StyleValue.ts +49 -0
  334. package/javascript/utils/animated/AbstractAnimatedCoordinates.ts +134 -0
  335. package/javascript/utils/animated/Animated.ts +61 -0
  336. package/javascript/utils/animated/AnimatedCoordinatesArray.ts +108 -0
  337. package/javascript/utils/animated/{AnimatedExtractCoordinateFromArray.js → AnimatedExtractCoordinateFromArray.ts} +8 -8
  338. package/javascript/utils/animated/{AnimatedPoint.js → AnimatedPoint.ts} +25 -17
  339. package/javascript/utils/animated/{AnimatedRouteCoordinatesArray.js → AnimatedRouteCoordinatesArray.ts} +46 -25
  340. package/javascript/utils/animated/AnimatedShape.ts +93 -0
  341. package/javascript/utils/deprecation.ts +31 -0
  342. package/javascript/utils/filterUtils.ts +9 -0
  343. package/javascript/utils/geoUtils.ts +79 -0
  344. package/javascript/utils/index.ts +133 -0
  345. package/javascript/utils/styleMap.ts +264 -0
  346. package/maplibre-react-native.podspec +8 -8
  347. package/package.json +64 -44
  348. package/plugin/build/withMapLibre.d.ts +2 -2
  349. package/plugin/build/withMapLibre.js +38 -23
  350. package/react-native.config.js +1 -1
  351. package/scripts/autogenHelpers/globals.js +11 -11
  352. package/scripts/autogenerate.js +25 -17
  353. package/scripts/download-style-spec.sh +1 -1
  354. package/scripts/templates/MaplibreStyles.ts.ejs +99 -0
  355. package/scripts/templates/{RCTMGLStyle.h.ejs → RCTMLNStyle.h.ejs} +8 -8
  356. package/scripts/templates/{RCTMGLStyle.m.ejs → RCTMLNStyle.m.ejs} +10 -10
  357. package/scripts/templates/{RCTMGLStyleFactory.java.ejs → RCTMLNStyleFactory.java.ejs} +24 -24
  358. package/scripts/templates/index.d.ts.ejs +71 -42
  359. package/scripts/templates/{styleMap.js.ejs → styleMap.ts.ejs} +3 -33
  360. package/setup-jest.js +5 -20
  361. package/tsconfig.json +20 -61
  362. package/.eslintignore +0 -3
  363. package/.eslintrc.js +0 -158
  364. package/.prettierrc.js +0 -7
  365. package/android/rctmgl/src/main/java/com/mapbox/rctmgl/RCTMGLPackage.java +0 -99
  366. package/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/annotation/RCTMGLCalloutManager.java +0 -22
  367. package/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/mapview/RCTMGLAndroidTextureMapView.java +0 -16
  368. package/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/mapview/RCTMGLAndroidTextureMapViewManager.java +0 -31
  369. package/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLBackgroundLayer.java +0 -27
  370. package/android/rctmgl/src/main/java/com/mapbox/rctmgl/components/styles/layers/RCTMGLRasterLayer.java +0 -27
  371. package/android/rctmgl/src/main/res/values/strings.xml +0 -3
  372. package/index.d.ts +0 -955
  373. package/ios/RCTMGL/MGLFaux3DUserLocationAnnotationView.h +0 -23
  374. package/ios/RCTMGL/MGLUserLocationHeadingBeamLayer.h +0 -11
  375. package/ios/RCTMGL/RCTMGLBackgroundLayer.h +0 -14
  376. package/ios/RCTMGL/RCTMGLBackgroundLayer.m +0 -27
  377. package/ios/RCTMGL/RCTMGLCalloutManager.m +0 -21
  378. package/ios/RCTMGL/RCTMGLCircleLayer.h +0 -13
  379. package/ios/RCTMGL/RCTMGLFillExtrusionLayer.h +0 -14
  380. package/ios/RCTMGL/RCTMGLFillLayer.h +0 -14
  381. package/ios/RCTMGL/RCTMGLHeatmapLayer.h +0 -12
  382. package/ios/RCTMGL/RCTMGLHeatmapLayer.m +0 -30
  383. package/ios/RCTMGL/RCTMGLHeatmapLayerManager.h +0 -12
  384. package/ios/RCTMGL/RCTMGLImagesManager.h +0 -5
  385. package/ios/RCTMGL/RCTMGLLineLayer.h +0 -14
  386. package/ios/RCTMGL/RCTMGLLocationManager.h +0 -30
  387. package/ios/RCTMGL/RCTMGLLocationManagerDelegate.h +0 -20
  388. package/ios/RCTMGL/RCTMGLLogging.h +0 -18
  389. package/ios/RCTMGL/RCTMGLNativeUserLocationManager.h +0 -5
  390. package/ios/RCTMGL/RCTMGLNativeUserLocationManager.m +0 -25
  391. package/ios/RCTMGL/RCTMGLRasterLayer.h +0 -14
  392. package/ios/RCTMGL/RCTMGLRasterLayer.m +0 -30
  393. package/ios/RCTMGL/RCTMGLStyle.h +0 -222
  394. package/ios/RCTMGL/RCTMGLTileSource.m +0 -31
  395. package/ios/RCTMGL/RCTMGLUserLocation.h +0 -15
  396. package/ios/RCTMGL.xcodeproj/project.pbxproj +0 -775
  397. package/javascript/components/AbstractLayer.js +0 -75
  398. package/javascript/components/AbstractSource.js +0 -15
  399. package/javascript/components/BackgroundLayer.js +0 -97
  400. package/javascript/components/Callout.js +0 -139
  401. package/javascript/components/Camera.js +0 -665
  402. package/javascript/components/CircleLayer.js +0 -101
  403. package/javascript/components/FillExtrusionLayer.js +0 -98
  404. package/javascript/components/FillLayer.js +0 -94
  405. package/javascript/components/HeadingIndicator.js +0 -31
  406. package/javascript/components/HeatmapLayer.js +0 -99
  407. package/javascript/components/ImageSource.js +0 -82
  408. package/javascript/components/Images.js +0 -119
  409. package/javascript/components/Light.js +0 -47
  410. package/javascript/components/LineLayer.js +0 -94
  411. package/javascript/components/MapView.js +0 -814
  412. package/javascript/components/MarkerView.js +0 -87
  413. package/javascript/components/NativeBridgeComponent.js +0 -86
  414. package/javascript/components/NativeUserLocation.js +0 -41
  415. package/javascript/components/PointAnnotation.js +0 -216
  416. package/javascript/components/RasterLayer.js +0 -95
  417. package/javascript/components/RasterSource.js +0 -124
  418. package/javascript/components/ShapeSource.js +0 -372
  419. package/javascript/components/Style.js +0 -267
  420. package/javascript/components/SymbolLayer.js +0 -120
  421. package/javascript/components/UserLocation.js +0 -275
  422. package/javascript/components/VectorSource.js +0 -200
  423. package/javascript/components/annotations/Annotation.js +0 -122
  424. package/javascript/index.js +0 -149
  425. package/javascript/modules/location/locationManager.js +0 -101
  426. package/javascript/modules/offline/OfflineCreatePackOptions.js +0 -46
  427. package/javascript/modules/offline/OfflinePack.js +0 -40
  428. package/javascript/modules/snapshot/SnapshotOptions.js +0 -67
  429. package/javascript/utils/BridgeValue.js +0 -81
  430. package/javascript/utils/animated/Animated.js +0 -39
  431. package/javascript/utils/animated/AnimatedCoordinatesArray.js +0 -191
  432. package/javascript/utils/animated/AnimatedShape.js +0 -72
  433. package/javascript/utils/deprecation.js +0 -25
  434. package/javascript/utils/filterUtils.js +0 -7
  435. package/javascript/utils/geoUtils.js +0 -73
  436. package/javascript/utils/index.js +0 -113
  437. package/javascript/utils/styleMap.js +0 -1932
  438. /package/android/{rctmgl → rctmln}/.settings/org.eclipse.buildship.core.prefs +0 -0
  439. /package/android/{rctmgl → rctmln}/proguard-rules.pro +0 -0
  440. /package/android/{rctmgl → rctmln}/src/main/res/drawable/empty.xml +0 -0
  441. /package/android/{rctmgl → rctmln}/src/main/res/drawable/empty_drawable.png +0 -0
  442. /package/android/{rctmgl → rctmln}/src/main/res/drawable-xxhdpi/red_marker.png +0 -0
  443. /package/android/{rctmgl → rctmln}/src/main/res/layout/annotation.xml +0 -0
  444. /package/ios/{RCTMGL → RCTMLN}/index.d.ts +0 -0
@@ -1,23 +0,0 @@
1
- //
2
- // MGLFaux3DUserLocationAnnotationView.h
3
- // RCTMGL
4
- //
5
- // Created by Nick Italiano on 12/20/17.
6
- // Copyright © 2017 Mapbox Inc. All rights reserved.
7
- //
8
-
9
- #import <UIKit/UIKit.h>
10
- @import Mapbox;
11
-
12
- extern const CGFloat MGLUserLocationAnnotationDotSize;
13
- extern const CGFloat MGLUserLocationAnnotationHaloSize;
14
-
15
- extern const CGFloat MGLUserLocationAnnotationPuckSize;
16
- extern const CGFloat MGLUserLocationAnnotationArrowSize;
17
-
18
- // Threshold in radians between heading indicator rotation updates.
19
- extern const CGFloat MGLUserLocationHeadingUpdateThreshold;
20
-
21
- @interface MGLFaux3DUserLocationAnnotationView : MGLUserLocationAnnotationView
22
-
23
- @end
@@ -1,11 +0,0 @@
1
- #import <QuartzCore/QuartzCore.h>
2
- #import "MGLUserLocationHeadingIndicator.h"
3
- @import Mapbox;
4
-
5
- @interface MGLUserLocationHeadingBeamLayer : CALayer <MGLUserLocationHeadingIndicator>
6
-
7
- - (MGLUserLocationHeadingBeamLayer *)initWithUserLocationAnnotationView:(MGLUserLocationAnnotationView *)userLocationView;
8
- - (void)updateHeadingAccuracy:(CLLocationDirection)accuracy;
9
- - (void)updateTintColor:(CGColorRef)color;
10
-
11
- @end
@@ -1,14 +0,0 @@
1
- //
2
- // RCTMGLBackgroundLayer.h
3
- // RCTMGL
4
- //
5
- // Created by Nick Italiano on 9/25/17.
6
- // Copyright © 2017 Mapbox Inc. All rights reserved.
7
- //
8
-
9
- #import "RCTMGLLayer.h"
10
- @import Mapbox;
11
-
12
- @interface RCTMGLBackgroundLayer : RCTMGLLayer
13
-
14
- @end
@@ -1,27 +0,0 @@
1
- //
2
- // RCTMGLBackgroundLayer.m
3
- // RCTMGL
4
- //
5
- // Created by Nick Italiano on 9/25/17.
6
- // Copyright © 2017 Mapbox Inc. All rights reserved.
7
- //
8
-
9
- #import "RCTMGLBackgroundLayer.h"
10
- #import "RCTMGLStyle.h"
11
-
12
- @implementation RCTMGLBackgroundLayer
13
-
14
- - (MGLStyleLayer*)makeLayer:(MGLStyle*)style
15
- {
16
- return [[MGLBackgroundStyleLayer alloc] initWithIdentifier:self.id];
17
- }
18
-
19
- - (void)addStyles
20
- {
21
- RCTMGLStyle *style = [[RCTMGLStyle alloc] initWithMGLStyle:self.style];
22
- style.bridge = self.bridge;
23
- [style backgroundLayer:(MGLBackgroundStyleLayer*)self.styleLayer withReactStyle:self.reactStyle isValid:^{ return [self isAddedToMap];
24
- }];
25
- }
26
-
27
- @end
@@ -1,21 +0,0 @@
1
- //
2
- // RCTMGLCalloutViewManager.m
3
- // RCTMGL
4
- //
5
- // Created by Nick Italiano on 10/13/17.
6
- // Copyright © 2017 Mapbox Inc. All rights reserved.
7
- //
8
-
9
- #import "RCTMGLCalloutManager.h"
10
- #import "RCTMGLCallout.h"
11
-
12
- @implementation RCTMGLCalloutManager
13
-
14
- RCT_EXPORT_MODULE()
15
-
16
- - (UIView *)view
17
- {
18
- return [[RCTMGLCallout alloc] init];
19
- }
20
-
21
- @end
@@ -1,13 +0,0 @@
1
- //
2
- // RCTMGLCircleLayer.h
3
- // RCTMGL
4
- //
5
- // Created by Nick Italiano on 9/18/17.
6
- // Copyright © 2017 Mapbox Inc. All rights reserved.
7
- //
8
-
9
- #import "RCTMGLVectorLayer.h"
10
-
11
- @interface RCTMGLCircleLayer : RCTMGLVectorLayer
12
-
13
- @end
@@ -1,14 +0,0 @@
1
- //
2
- // RCTMGLFillExtrusionLayer.h
3
- // RCTMGL
4
- //
5
- // Created by Nick Italiano on 9/15/17.
6
- // Copyright © 2017 Mapbox Inc. All rights reserved.
7
- //
8
-
9
- #import "RCTMGLVectorLayer.h"
10
- @import Mapbox;
11
-
12
- @interface RCTMGLFillExtrusionLayer : RCTMGLVectorLayer
13
-
14
- @end
@@ -1,14 +0,0 @@
1
- //
2
- // RCTMGLFillLayer.h
3
- // RCTMGL
4
- //
5
- // Created by Nick Italiano on 9/8/17.
6
- // Copyright © 2017 Mapbox Inc. All rights reserved.
7
- //
8
-
9
- #import "RCTMGLVectorLayer.h"
10
- @import Mapbox;
11
-
12
- @interface RCTMGLFillLayer : RCTMGLVectorLayer
13
-
14
- @end
@@ -1,12 +0,0 @@
1
- //
2
- // RCTMGLHeatmapLayer.h
3
- // RCTMGL
4
- //
5
- // Created by Dheeraj Yalamanchili on 6/8/19.
6
- //
7
-
8
- #import "RCTMGLVectorLayer.h"
9
-
10
- @interface RCTMGLHeatmapLayer : RCTMGLVectorLayer
11
-
12
- @end
@@ -1,30 +0,0 @@
1
- //
2
- // RCTMGLHeatmapLayer.m
3
- // RCTMGL
4
- //
5
- // Created by Dheeraj Yalamanchili on 6/8/2019
6
-
7
- #import "RCTMGLHeatmapLayer.h"
8
- #import "RCTMGLStyle.h"
9
-
10
- @implementation RCTMGLHeatmapLayer
11
-
12
- - (MGLHeatmapStyleLayer*)makeLayer:(MGLStyle*)style
13
- {
14
- MGLSource *source = [self layerWithSourceIDInStyle:style];
15
- if (source == nil) { return nil; }
16
- MGLHeatmapStyleLayer *layer = [[MGLHeatmapStyleLayer alloc] initWithIdentifier:self.id source:source];
17
- layer.sourceLayerIdentifier = self.sourceLayerID;
18
- return layer;
19
- }
20
-
21
- - (void)addStyles
22
- {
23
- RCTMGLStyle *style = [[RCTMGLStyle alloc] initWithMGLStyle:self.style];
24
- style.bridge = self.bridge;
25
- [style heatmapLayer:(MGLHeatmapStyleLayer *)self.styleLayer withReactStyle:self.reactStyle isValid:^{
26
- return [self isAddedToMap];
27
- }];
28
- }
29
-
30
- @end
@@ -1,12 +0,0 @@
1
- //
2
- // RCTMGLHeatmapLayerManager.h
3
- // RCTMGL
4
- //
5
- // Created by Dheeraj Yalamanchili on 6/8/19.
6
- //
7
-
8
- #import "ViewManager.h"
9
-
10
- @interface RCTMGLHeatmapLayerManager : ViewManager
11
-
12
- @end
@@ -1,5 +0,0 @@
1
- #import "ViewManager.h"
2
-
3
- @interface RCTMGLImagesManager : ViewManager
4
-
5
- @end
@@ -1,14 +0,0 @@
1
- //
2
- // RCTMGLLineLayer.h
3
- // RCTMGL
4
- //
5
- // Created by Nick Italiano on 9/18/17.
6
- // Copyright © 2017 Mapbox Inc. All rights reserved.
7
- //
8
-
9
- #import "RCTMGLVectorLayer.h"
10
- @import Mapbox;
11
-
12
- @interface RCTMGLLineLayer : RCTMGLVectorLayer
13
-
14
- @end
@@ -1,30 +0,0 @@
1
- //
2
- // RCTMGLLocationManager.h
3
- // RCTMGL
4
- //
5
- // Created by Nick Italiano on 6/21/18.
6
- // Copyright © 2018 Mapbox Inc. All rights reserved.
7
- //
8
-
9
- #import <Foundation/Foundation.h>
10
-
11
- #import "RCTMGLLocation.h"
12
- #import "RCTMGLLocationManagerDelegate.h"
13
-
14
- typedef void (^RCTMGLLocationBlock)(RCTMGLLocation *location);
15
-
16
- @interface RCTMGLLocationManager : NSObject
17
-
18
- @property (nonatomic, strong) id<RCTMGLLocationManagerDelegate> delegate;
19
-
20
- + (id)sharedInstance;
21
-
22
- - (void)start:(CLLocationDistance)minDisplacement;
23
- - (void)stop;
24
- - (void)setMinDisplacement:(CLLocationDistance)minDisplacement;
25
- - (BOOL)isEnabled;
26
- - (RCTMGLLocation *)getLastKnownLocation;
27
- - (void)addListener:(RCTMGLLocationBlock)listener;
28
- - (void)removeListener:(RCTMGLLocationBlock)listener;
29
-
30
- @end
@@ -1,20 +0,0 @@
1
- //
2
- // RCTMGLLocationManagerDelegate.h
3
- // RCTMGL
4
- //
5
- // Created by Nick Italiano on 6/21/18.
6
- // Copyright © 2018 Mapbox Inc. All rights reserved.
7
- //
8
-
9
- #import <CoreLocation/CoreLocation.h>
10
-
11
- #import "RCTMGLLocation.h"
12
-
13
- @class RCTMGLLocationManager;
14
-
15
- @protocol RCTMGLLocationManagerDelegate<NSObject>
16
-
17
- - (void)locationManager:(RCTMGLLocationManager *)locationManager didUpdateLocation:(RCTMGLLocation *)location;
18
-
19
- @end
20
-
@@ -1,18 +0,0 @@
1
- #ifndef RCTMGLLogging_h
2
- #define RCTMGLLogging_h
3
-
4
- #import <Foundation/Foundation.h>
5
- #import <React/RCTEventEmitter.h>
6
-
7
-
8
- @class MGLLoggingConfiguration;
9
-
10
- @interface RCTMGLLogging : RCTEventEmitter <RCTBridgeModule>
11
-
12
- @property (nonatomic, nonnull) MGLLoggingConfiguration* loggingConfiguration;
13
-
14
- - (void)setLoggingLevel:(nonnull NSString*) logLevel;
15
-
16
- @end
17
-
18
- #endif /* RCTMGLLogging_h */
@@ -1,5 +0,0 @@
1
- #import "ViewManager.h"
2
-
3
- @interface RCTMGLNativeUserLocationManager : ViewManager
4
-
5
- @end
@@ -1,25 +0,0 @@
1
- #import "RCTMGLNativeUserLocationManager.h"
2
- #import "RCTMGLNativeUserLocation.h"
3
-
4
- @implementation RCTMGLNativeUserLocationManager
5
-
6
- RCT_EXPORT_MODULE(RCTMGLNativeUserLocation)
7
- RCT_EXPORT_VIEW_PROPERTY(iosShowsUserHeadingIndicator, BOOL)
8
-
9
-
10
- #pragma - View Properties
11
-
12
-
13
- #pragma Methods
14
-
15
- - (BOOL)requiresMainQueueSetup
16
- {
17
- return YES;
18
- }
19
-
20
- - (UIView *)view
21
- {
22
- return [[RCTMGLNativeUserLocation alloc] init];
23
- }
24
-
25
- @end
@@ -1,14 +0,0 @@
1
- //
2
- // RCTMGLRasterLayer.h
3
- // RCTMGL
4
- //
5
- // Created by Nick Italiano on 9/25/17.
6
- // Copyright © 2017 Mapbox Inc. All rights reserved.
7
- //
8
-
9
- #import "RCTMGLLayer.h"
10
- @import Mapbox;
11
-
12
- @interface RCTMGLRasterLayer : RCTMGLLayer
13
-
14
- @end
@@ -1,30 +0,0 @@
1
- //
2
- // RCTMGLRasterLayer.m
3
- // RCTMGL
4
- //
5
- // Created by Nick Italiano on 9/25/17.
6
- // Copyright © 2017 Mapbox Inc. All rights reserved.
7
- //
8
-
9
- #import "RCTMGLRasterLayer.h"
10
- #import "RCTMGLStyle.h"
11
-
12
- @implementation RCTMGLRasterLayer
13
-
14
- - (MGLStyleLayer*)makeLayer:(MGLStyle*)style
15
- {
16
- MGLSource *source = [style sourceWithIdentifier:self.sourceID];
17
- if (source == nil) { return nil; }
18
- MGLRasterStyleLayer *layer = [[MGLRasterStyleLayer alloc] initWithIdentifier:self.id source:source];
19
- return layer;
20
- }
21
-
22
- - (void)addStyles
23
- {
24
- RCTMGLStyle *style = [[RCTMGLStyle alloc] initWithMGLStyle:self.style];
25
- style.bridge = self.bridge;
26
- [style rasterLayer:(MGLRasterStyleLayer*)self.styleLayer withReactStyle:self.reactStyle isValid:^{ return [self isAddedToMap];
27
- }];
28
- }
29
-
30
- @end
@@ -1,222 +0,0 @@
1
- // DO NOT MODIFY
2
- // THIS FILE IS AUTOGENERATED
3
-
4
- #import "RCTMGLStyle.h"
5
- #import "RCTMGLStyleValue.h"
6
- #import <React/RCTBridge.h>
7
-
8
- @import Mapbox;
9
-
10
- @interface RCTMGLStyle : NSObject
11
-
12
- @property (nonatomic, weak) RCTBridge *bridge;
13
- @property (nonatomic, strong) MGLStyle *style;
14
-
15
- - (id)initWithMGLStyle:(MGLStyle*)mglStyle;
16
-
17
- - (void)fillLayer:(MGLFillStyleLayer *)layer withReactStyle:(NSDictionary *)reactStyle isValid:(BOOL (^)(void)) isValid;
18
- - (void)lineLayer:(MGLLineStyleLayer *)layer withReactStyle:(NSDictionary *)reactStyle isValid:(BOOL (^)(void)) isValid;
19
- - (void)symbolLayer:(MGLSymbolStyleLayer *)layer withReactStyle:(NSDictionary *)reactStyle isValid:(BOOL (^)(void)) isValid;
20
- - (void)circleLayer:(MGLCircleStyleLayer *)layer withReactStyle:(NSDictionary *)reactStyle isValid:(BOOL (^)(void)) isValid;
21
- - (void)heatmapLayer:(MGLHeatmapStyleLayer *)layer withReactStyle:(NSDictionary *)reactStyle isValid:(BOOL (^)(void)) isValid;
22
- - (void)fillExtrusionLayer:(MGLFillExtrusionStyleLayer *)layer withReactStyle:(NSDictionary *)reactStyle isValid:(BOOL (^)(void)) isValid;
23
- - (void)rasterLayer:(MGLRasterStyleLayer *)layer withReactStyle:(NSDictionary *)reactStyle isValid:(BOOL (^)(void)) isValid;
24
- - (void)hillshadeLayer:(MGLHillshadeStyleLayer *)layer withReactStyle:(NSDictionary *)reactStyle isValid:(BOOL (^)(void)) isValid;
25
- - (void)backgroundLayer:(MGLBackgroundStyleLayer *)layer withReactStyle:(NSDictionary *)reactStyle isValid:(BOOL (^)(void)) isValid;
26
- - (void)lightLayer:(MGLLight *)layer withReactStyle:(NSDictionary *)reactStyle isValid:(BOOL (^)(void)) isValid;
27
-
28
- - (void)setFillSortKey:(MGLFillStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
29
- - (void)setFillStyleLayerVisibility:(MGLFillStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
30
- - (void)setFillAntialias:(MGLFillStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
31
- - (void)setFillOpacity:(MGLFillStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
32
- - (void)setFillOpacityTransition:(MGLFillStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
33
- - (void)setFillColor:(MGLFillStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
34
- - (void)setFillColorTransition:(MGLFillStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
35
- - (void)setFillOutlineColor:(MGLFillStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
36
- - (void)setFillOutlineColorTransition:(MGLFillStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
37
- - (void)setFillTranslate:(MGLFillStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
38
- - (void)setFillTranslateTransition:(MGLFillStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
39
- - (void)setFillTranslateAnchor:(MGLFillStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
40
- - (void)setFillPattern:(MGLFillStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
41
- - (void)setFillPatternTransition:(MGLFillStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
42
- - (void)setLineCap:(MGLLineStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
43
- - (void)setLineJoin:(MGLLineStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
44
- - (void)setLineMiterLimit:(MGLLineStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
45
- - (void)setLineRoundLimit:(MGLLineStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
46
- - (void)setLineSortKey:(MGLLineStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
47
- - (void)setLineStyleLayerVisibility:(MGLLineStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
48
- - (void)setLineOpacity:(MGLLineStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
49
- - (void)setLineOpacityTransition:(MGLLineStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
50
- - (void)setLineColor:(MGLLineStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
51
- - (void)setLineColorTransition:(MGLLineStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
52
- - (void)setLineTranslate:(MGLLineStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
53
- - (void)setLineTranslateTransition:(MGLLineStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
54
- - (void)setLineTranslateAnchor:(MGLLineStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
55
- - (void)setLineWidth:(MGLLineStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
56
- - (void)setLineWidthTransition:(MGLLineStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
57
- - (void)setLineGapWidth:(MGLLineStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
58
- - (void)setLineGapWidthTransition:(MGLLineStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
59
- - (void)setLineOffset:(MGLLineStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
60
- - (void)setLineOffsetTransition:(MGLLineStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
61
- - (void)setLineBlur:(MGLLineStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
62
- - (void)setLineBlurTransition:(MGLLineStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
63
- - (void)setLineDasharray:(MGLLineStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
64
- - (void)setLineDasharrayTransition:(MGLLineStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
65
- - (void)setLinePattern:(MGLLineStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
66
- - (void)setLinePatternTransition:(MGLLineStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
67
- - (void)setLineGradient:(MGLLineStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
68
- - (void)setSymbolPlacement:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
69
- - (void)setSymbolSpacing:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
70
- - (void)setSymbolAvoidEdges:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
71
- - (void)setSymbolSortKey:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
72
- - (void)setSymbolZOrder:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
73
- - (void)setIconAllowOverlap:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
74
- - (void)setIconIgnorePlacement:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
75
- - (void)setIconOptional:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
76
- - (void)setIconRotationAlignment:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
77
- - (void)setIconSize:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
78
- - (void)setIconTextFit:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
79
- - (void)setIconTextFitPadding:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
80
- - (void)setIconImage:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
81
- - (void)setIconRotate:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
82
- - (void)setIconPadding:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
83
- - (void)setIconKeepUpright:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
84
- - (void)setIconOffset:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
85
- - (void)setIconAnchor:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
86
- - (void)setIconPitchAlignment:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
87
- - (void)setTextPitchAlignment:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
88
- - (void)setTextRotationAlignment:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
89
- - (void)setTextField:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
90
- - (void)setTextFont:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
91
- - (void)setTextSize:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
92
- - (void)setTextMaxWidth:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
93
- - (void)setTextLineHeight:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
94
- - (void)setTextLetterSpacing:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
95
- - (void)setTextJustify:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
96
- - (void)setTextRadialOffset:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
97
- - (void)setTextVariableAnchor:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
98
- - (void)setTextAnchor:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
99
- - (void)setTextMaxAngle:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
100
- - (void)setTextWritingMode:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
101
- - (void)setTextRotate:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
102
- - (void)setTextPadding:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
103
- - (void)setTextKeepUpright:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
104
- - (void)setTextTransform:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
105
- - (void)setTextOffset:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
106
- - (void)setTextAllowOverlap:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
107
- - (void)setTextIgnorePlacement:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
108
- - (void)setTextOptional:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
109
- - (void)setSymbolStyleLayerVisibility:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
110
- - (void)setIconOpacity:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
111
- - (void)setIconOpacityTransition:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
112
- - (void)setIconColor:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
113
- - (void)setIconColorTransition:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
114
- - (void)setIconHaloColor:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
115
- - (void)setIconHaloColorTransition:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
116
- - (void)setIconHaloWidth:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
117
- - (void)setIconHaloWidthTransition:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
118
- - (void)setIconHaloBlur:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
119
- - (void)setIconHaloBlurTransition:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
120
- - (void)setIconTranslate:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
121
- - (void)setIconTranslateTransition:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
122
- - (void)setIconTranslateAnchor:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
123
- - (void)setTextOpacity:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
124
- - (void)setTextOpacityTransition:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
125
- - (void)setTextColor:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
126
- - (void)setTextColorTransition:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
127
- - (void)setTextHaloColor:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
128
- - (void)setTextHaloColorTransition:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
129
- - (void)setTextHaloWidth:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
130
- - (void)setTextHaloWidthTransition:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
131
- - (void)setTextHaloBlur:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
132
- - (void)setTextHaloBlurTransition:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
133
- - (void)setTextTranslate:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
134
- - (void)setTextTranslateTransition:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
135
- - (void)setTextTranslateAnchor:(MGLSymbolStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
136
- - (void)setCircleSortKey:(MGLCircleStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
137
- - (void)setCircleStyleLayerVisibility:(MGLCircleStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
138
- - (void)setCircleRadius:(MGLCircleStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
139
- - (void)setCircleRadiusTransition:(MGLCircleStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
140
- - (void)setCircleColor:(MGLCircleStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
141
- - (void)setCircleColorTransition:(MGLCircleStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
142
- - (void)setCircleBlur:(MGLCircleStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
143
- - (void)setCircleBlurTransition:(MGLCircleStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
144
- - (void)setCircleOpacity:(MGLCircleStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
145
- - (void)setCircleOpacityTransition:(MGLCircleStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
146
- - (void)setCircleTranslate:(MGLCircleStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
147
- - (void)setCircleTranslateTransition:(MGLCircleStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
148
- - (void)setCircleTranslateAnchor:(MGLCircleStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
149
- - (void)setCirclePitchScale:(MGLCircleStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
150
- - (void)setCirclePitchAlignment:(MGLCircleStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
151
- - (void)setCircleStrokeWidth:(MGLCircleStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
152
- - (void)setCircleStrokeWidthTransition:(MGLCircleStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
153
- - (void)setCircleStrokeColor:(MGLCircleStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
154
- - (void)setCircleStrokeColorTransition:(MGLCircleStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
155
- - (void)setCircleStrokeOpacity:(MGLCircleStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
156
- - (void)setCircleStrokeOpacityTransition:(MGLCircleStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
157
- - (void)setHeatmapStyleLayerVisibility:(MGLHeatmapStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
158
- - (void)setHeatmapRadius:(MGLHeatmapStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
159
- - (void)setHeatmapRadiusTransition:(MGLHeatmapStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
160
- - (void)setHeatmapWeight:(MGLHeatmapStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
161
- - (void)setHeatmapIntensity:(MGLHeatmapStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
162
- - (void)setHeatmapIntensityTransition:(MGLHeatmapStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
163
- - (void)setHeatmapColor:(MGLHeatmapStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
164
- - (void)setHeatmapOpacity:(MGLHeatmapStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
165
- - (void)setHeatmapOpacityTransition:(MGLHeatmapStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
166
- - (void)setFillExtrusionStyleLayerVisibility:(MGLFillExtrusionStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
167
- - (void)setFillExtrusionOpacity:(MGLFillExtrusionStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
168
- - (void)setFillExtrusionOpacityTransition:(MGLFillExtrusionStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
169
- - (void)setFillExtrusionColor:(MGLFillExtrusionStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
170
- - (void)setFillExtrusionColorTransition:(MGLFillExtrusionStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
171
- - (void)setFillExtrusionTranslate:(MGLFillExtrusionStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
172
- - (void)setFillExtrusionTranslateTransition:(MGLFillExtrusionStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
173
- - (void)setFillExtrusionTranslateAnchor:(MGLFillExtrusionStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
174
- - (void)setFillExtrusionPattern:(MGLFillExtrusionStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
175
- - (void)setFillExtrusionPatternTransition:(MGLFillExtrusionStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
176
- - (void)setFillExtrusionHeight:(MGLFillExtrusionStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
177
- - (void)setFillExtrusionHeightTransition:(MGLFillExtrusionStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
178
- - (void)setFillExtrusionBase:(MGLFillExtrusionStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
179
- - (void)setFillExtrusionBaseTransition:(MGLFillExtrusionStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
180
- - (void)setRasterStyleLayerVisibility:(MGLRasterStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
181
- - (void)setRasterOpacity:(MGLRasterStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
182
- - (void)setRasterOpacityTransition:(MGLRasterStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
183
- - (void)setRasterHueRotate:(MGLRasterStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
184
- - (void)setRasterHueRotateTransition:(MGLRasterStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
185
- - (void)setRasterBrightnessMin:(MGLRasterStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
186
- - (void)setRasterBrightnessMinTransition:(MGLRasterStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
187
- - (void)setRasterBrightnessMax:(MGLRasterStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
188
- - (void)setRasterBrightnessMaxTransition:(MGLRasterStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
189
- - (void)setRasterSaturation:(MGLRasterStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
190
- - (void)setRasterSaturationTransition:(MGLRasterStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
191
- - (void)setRasterContrast:(MGLRasterStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
192
- - (void)setRasterContrastTransition:(MGLRasterStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
193
- - (void)setRasterResampling:(MGLRasterStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
194
- - (void)setRasterFadeDuration:(MGLRasterStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
195
- - (void)setHillshadeStyleLayerVisibility:(MGLHillshadeStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
196
- - (void)setHillshadeIlluminationDirection:(MGLHillshadeStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
197
- - (void)setHillshadeIlluminationAnchor:(MGLHillshadeStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
198
- - (void)setHillshadeExaggeration:(MGLHillshadeStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
199
- - (void)setHillshadeExaggerationTransition:(MGLHillshadeStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
200
- - (void)setHillshadeShadowColor:(MGLHillshadeStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
201
- - (void)setHillshadeShadowColorTransition:(MGLHillshadeStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
202
- - (void)setHillshadeHighlightColor:(MGLHillshadeStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
203
- - (void)setHillshadeHighlightColorTransition:(MGLHillshadeStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
204
- - (void)setHillshadeAccentColor:(MGLHillshadeStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
205
- - (void)setHillshadeAccentColorTransition:(MGLHillshadeStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
206
- - (void)setBackgroundStyleLayerVisibility:(MGLBackgroundStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
207
- - (void)setBackgroundColor:(MGLBackgroundStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
208
- - (void)setBackgroundColorTransition:(MGLBackgroundStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
209
- - (void)setBackgroundPattern:(MGLBackgroundStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
210
- - (void)setBackgroundPatternTransition:(MGLBackgroundStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
211
- - (void)setBackgroundOpacity:(MGLBackgroundStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
212
- - (void)setBackgroundOpacityTransition:(MGLBackgroundStyleLayer *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
213
- - (void)setAnchor:(MGLLight *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
214
- - (void)setPosition:(MGLLight *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
215
- - (void)setPositionTransition:(MGLLight *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
216
- - (void)setColor:(MGLLight *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
217
- - (void)setColorTransition:(MGLLight *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
218
- - (void)setIntensity:(MGLLight *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
219
- - (void)setIntensityTransition:(MGLLight *)layer withReactStyleValue:(RCTMGLStyleValue *)styleValue;
220
-
221
-
222
- @end
@@ -1,31 +0,0 @@
1
- //
2
- // BaseSource.m
3
- // RCTMGL
4
- //
5
-
6
- #import "RCTMGLTileSource.h"
7
-
8
- @implementation RCTMGLTileSource
9
-
10
- - (NSDictionary<MGLTileSourceOption, id>*)getOptions {
11
- NSMutableDictionary<MGLTileSourceOption, id> *options = [[NSMutableDictionary alloc] init];
12
-
13
- if (self.maxZoomLevel != nil) {
14
- options[MGLTileSourceOptionMaximumZoomLevel] = self.maxZoomLevel;
15
- }
16
-
17
- if (self.minZoomLevel != nil) {
18
- options[MGLTileSourceOptionMinimumZoomLevel] = self.minZoomLevel;
19
- }
20
-
21
- if (self.tms) {
22
- options[MGLTileSourceOptionTileCoordinateSystem] = [NSNumber numberWithUnsignedInteger:MGLTileCoordinateSystemTMS];
23
- }
24
-
25
- if (self.attribution != nil) {
26
- options[MGLTileSourceOptionAttributionHTMLString] = self.attribution;
27
- }
28
-
29
- return options;
30
- }
31
- @end