@maplibre/maplibre-react-native 11.0.0-alpha.26 → 11.0.0-alpha.27

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 (243) hide show
  1. package/android/src/main/java/org/maplibre/reactnative/MLRNPackage.kt +16 -1
  2. package/android/src/main/java/org/maplibre/reactnative/components/mapview/MLRNMapView.kt +20 -32
  3. package/android/src/main/java/org/maplibre/reactnative/components/sources/MLRNRasterSource.java +1 -1
  4. package/android/src/main/java/org/maplibre/reactnative/components/sources/MLRNSource.kt +228 -0
  5. package/android/src/main/java/org/maplibre/reactnative/components/sources/MLRNTileSource.java +0 -1
  6. package/android/src/main/java/org/maplibre/reactnative/components/sources/MLRNVectorSourceManager.java +2 -2
  7. package/android/src/main/java/org/maplibre/reactnative/components/sources/shapesource/ClusterPropertyEntry.kt +5 -0
  8. package/android/src/main/java/org/maplibre/reactnative/components/sources/shapesource/MLRNShapeSource.kt +232 -0
  9. package/android/src/main/java/org/maplibre/reactnative/components/sources/shapesource/MLRNShapeSourceManager.kt +183 -0
  10. package/android/src/main/java/org/maplibre/reactnative/components/sources/shapesource/MLRNShapeSourceModule.kt +65 -0
  11. package/android/src/main/java/org/maplibre/reactnative/events/MapPressEvent.kt +1 -1
  12. package/android/src/main/java/org/maplibre/reactnative/events/MapPressEventWithFeatures.kt +24 -0
  13. package/android/src/main/java/org/maplibre/reactnative/utils/ConvertUtils.kt +203 -0
  14. package/android/src/main/java/org/maplibre/reactnative/utils/ExpressionParser.kt +70 -0
  15. package/android/src/main/java/org/maplibre/reactnative/utils/GeoJSONUtils.kt +37 -20
  16. package/ios/components/camera/MLRNCameraModule.mm +10 -20
  17. package/ios/components/map-view/MLRNMapViewModule.mm +10 -20
  18. package/ios/components/sources/MLRNSource.h +3 -0
  19. package/ios/components/sources/{MLRNShapeSource.h → shape-source/MLRNShapeSource.h} +3 -5
  20. package/ios/components/sources/{MLRNShapeSource.m → shape-source/MLRNShapeSource.m} +4 -12
  21. package/ios/components/sources/shape-source/MLRNShapeSourceComponentView.h +11 -0
  22. package/ios/components/sources/shape-source/MLRNShapeSourceComponentView.mm +163 -0
  23. package/ios/components/sources/shape-source/MLRNShapeSourceModule.h +5 -0
  24. package/ios/components/sources/shape-source/MLRNShapeSourceModule.mm +136 -0
  25. package/ios/utils/MLRNViewModuleUtils.h +35 -0
  26. package/ios/utils/MLRNViewModuleUtils.m +39 -0
  27. package/lib/commonjs/components/annotations/Annotation.js +1 -1
  28. package/lib/commonjs/components/annotations/Annotation.js.map +1 -1
  29. package/lib/commonjs/components/layers/BackgroundLayer.js.map +1 -1
  30. package/lib/commonjs/components/layers/CircleLayer.js.map +1 -1
  31. package/lib/commonjs/components/layers/FillExtrusionLayer.js.map +1 -1
  32. package/lib/commonjs/components/layers/HeatmapLayer.js.map +1 -1
  33. package/lib/commonjs/components/layers/RasterLayer.js.map +1 -1
  34. package/lib/commonjs/components/layers/SymbolLayer.js.map +1 -1
  35. package/lib/commonjs/components/map-view/MapView.js +16 -22
  36. package/lib/commonjs/components/map-view/MapView.js.map +1 -1
  37. package/lib/commonjs/components/sources/VectorSource.js +2 -2
  38. package/lib/commonjs/components/sources/VectorSource.js.map +1 -1
  39. package/lib/commonjs/components/sources/shape-source/NativeShapeSourceModule.js +9 -0
  40. package/lib/commonjs/components/sources/shape-source/NativeShapeSourceModule.js.map +1 -0
  41. package/lib/commonjs/components/sources/shape-source/ShapeSource.js +51 -0
  42. package/lib/commonjs/components/sources/shape-source/ShapeSource.js.map +1 -0
  43. package/lib/commonjs/components/sources/shape-source/ShapeSourceNativeComponent.ts +48 -0
  44. package/lib/commonjs/hooks/useAbstractLayer.js +2 -2
  45. package/lib/commonjs/hooks/useAbstractLayer.js.map +1 -1
  46. package/lib/commonjs/hooks/useFrozenId.js +16 -0
  47. package/lib/commonjs/hooks/useFrozenId.js.map +1 -0
  48. package/lib/commonjs/index.js +1 -1
  49. package/lib/commonjs/index.js.map +1 -1
  50. package/lib/commonjs/modules/snapshot/SnapshotOptions.js.map +1 -1
  51. package/lib/commonjs/types/PressEventWithFeatures.js +6 -0
  52. package/lib/commonjs/types/PressEventWithFeatures.js.map +1 -0
  53. package/lib/commonjs/utils/animated/AbstractAnimatedCoordinates.js +0 -6
  54. package/lib/commonjs/utils/animated/AbstractAnimatedCoordinates.js.map +1 -1
  55. package/lib/commonjs/utils/animated/Animated.js +4 -4
  56. package/lib/commonjs/utils/animated/Animated.js.map +1 -1
  57. package/lib/commonjs/utils/animated/AnimatedExtractCoordinateFromArray.js +0 -6
  58. package/lib/commonjs/utils/animated/AnimatedExtractCoordinateFromArray.js.map +1 -1
  59. package/lib/commonjs/utils/animated/AnimatedPoint.js +0 -2
  60. package/lib/commonjs/utils/animated/AnimatedPoint.js.map +1 -1
  61. package/lib/commonjs/utils/animated/AnimatedShape.js +3 -16
  62. package/lib/commonjs/utils/animated/AnimatedShape.js.map +1 -1
  63. package/lib/commonjs/utils/findNodeHandle.js +16 -0
  64. package/lib/commonjs/utils/findNodeHandle.js.map +1 -0
  65. package/lib/commonjs/utils/{filterUtils.js → getFilter.js} +2 -2
  66. package/lib/commonjs/utils/getFilter.js.map +1 -0
  67. package/lib/commonjs/utils/index.js +3 -8
  68. package/lib/commonjs/utils/index.js.map +1 -1
  69. package/lib/module/components/annotations/Annotation.js +1 -1
  70. package/lib/module/components/annotations/Annotation.js.map +1 -1
  71. package/lib/module/components/layers/BackgroundLayer.js.map +1 -1
  72. package/lib/module/components/layers/CircleLayer.js.map +1 -1
  73. package/lib/module/components/layers/FillExtrusionLayer.js.map +1 -1
  74. package/lib/module/components/layers/HeatmapLayer.js.map +1 -1
  75. package/lib/module/components/layers/RasterLayer.js.map +1 -1
  76. package/lib/module/components/layers/SymbolLayer.js.map +1 -1
  77. package/lib/module/components/map-view/MapView.js +3 -9
  78. package/lib/module/components/map-view/MapView.js.map +1 -1
  79. package/lib/module/components/sources/VectorSource.js +1 -1
  80. package/lib/module/components/sources/VectorSource.js.map +1 -1
  81. package/lib/module/components/sources/shape-source/NativeShapeSourceModule.js +5 -0
  82. package/lib/module/components/sources/shape-source/NativeShapeSourceModule.js.map +1 -0
  83. package/lib/module/components/sources/shape-source/ShapeSource.js +46 -0
  84. package/lib/module/components/sources/shape-source/ShapeSource.js.map +1 -0
  85. package/lib/module/components/sources/shape-source/ShapeSourceNativeComponent.ts +48 -0
  86. package/lib/module/hooks/useAbstractLayer.js +1 -1
  87. package/lib/module/hooks/useAbstractLayer.js.map +1 -1
  88. package/lib/module/hooks/useFrozenId.js +12 -0
  89. package/lib/module/hooks/useFrozenId.js.map +1 -0
  90. package/lib/module/index.js +1 -1
  91. package/lib/module/index.js.map +1 -1
  92. package/lib/module/modules/snapshot/SnapshotOptions.js.map +1 -1
  93. package/lib/module/types/PressEventWithFeatures.js +4 -0
  94. package/lib/module/types/PressEventWithFeatures.js.map +1 -0
  95. package/lib/module/utils/animated/AbstractAnimatedCoordinates.js +0 -7
  96. package/lib/module/utils/animated/AbstractAnimatedCoordinates.js.map +1 -1
  97. package/lib/module/utils/animated/Animated.js +4 -4
  98. package/lib/module/utils/animated/Animated.js.map +1 -1
  99. package/lib/module/utils/animated/AnimatedExtractCoordinateFromArray.js +0 -6
  100. package/lib/module/utils/animated/AnimatedExtractCoordinateFromArray.js.map +1 -1
  101. package/lib/module/utils/animated/AnimatedPoint.js +0 -3
  102. package/lib/module/utils/animated/AnimatedPoint.js.map +1 -1
  103. package/lib/module/utils/animated/AnimatedShape.js +3 -16
  104. package/lib/module/utils/animated/AnimatedShape.js.map +1 -1
  105. package/lib/module/utils/findNodeHandle.js +11 -0
  106. package/lib/module/utils/findNodeHandle.js.map +1 -0
  107. package/lib/module/utils/getFilter.js +9 -0
  108. package/lib/module/utils/getFilter.js.map +1 -0
  109. package/lib/module/utils/index.js +3 -8
  110. package/lib/module/utils/index.js.map +1 -1
  111. package/lib/typescript/commonjs/src/components/annotations/Annotation.d.ts +1 -1
  112. package/lib/typescript/commonjs/src/components/annotations/Annotation.d.ts.map +1 -1
  113. package/lib/typescript/commonjs/src/components/layers/BackgroundLayer.d.ts.map +1 -1
  114. package/lib/typescript/commonjs/src/components/layers/CircleLayer.d.ts.map +1 -1
  115. package/lib/typescript/commonjs/src/components/layers/FillExtrusionLayer.d.ts.map +1 -1
  116. package/lib/typescript/commonjs/src/components/layers/HeatmapLayer.d.ts.map +1 -1
  117. package/lib/typescript/commonjs/src/components/layers/RasterLayer.d.ts.map +1 -1
  118. package/lib/typescript/commonjs/src/components/layers/SymbolLayer.d.ts.map +1 -1
  119. package/lib/typescript/commonjs/src/components/map-view/MapView.d.ts.map +1 -1
  120. package/lib/typescript/commonjs/src/components/sources/VectorSource.d.ts +1 -1
  121. package/lib/typescript/commonjs/src/components/sources/VectorSource.d.ts.map +1 -1
  122. package/lib/typescript/commonjs/src/components/sources/shape-source/NativeShapeSourceModule.d.ts +10 -0
  123. package/lib/typescript/commonjs/src/components/sources/shape-source/NativeShapeSourceModule.d.ts.map +1 -0
  124. package/lib/typescript/{module/src/components/sources → commonjs/src/components/sources/shape-source}/ShapeSource.d.ts +60 -41
  125. package/lib/typescript/commonjs/src/components/sources/shape-source/ShapeSource.d.ts.map +1 -0
  126. package/lib/typescript/commonjs/src/components/sources/shape-source/ShapeSourceNativeComponent.d.ts +35 -0
  127. package/lib/typescript/commonjs/src/components/sources/shape-source/ShapeSourceNativeComponent.d.ts.map +1 -0
  128. package/lib/typescript/commonjs/src/hooks/useFrozenId.d.ts +2 -0
  129. package/lib/typescript/commonjs/src/hooks/useFrozenId.d.ts.map +1 -0
  130. package/lib/typescript/commonjs/src/index.d.ts +4 -3
  131. package/lib/typescript/commonjs/src/index.d.ts.map +1 -1
  132. package/lib/typescript/commonjs/src/modules/snapshot/SnapshotOptions.d.ts.map +1 -1
  133. package/lib/typescript/commonjs/src/types/MapLibreRNStyles.d.ts +1 -1
  134. package/lib/typescript/commonjs/src/types/MapLibreRNStyles.d.ts.map +1 -1
  135. package/lib/typescript/commonjs/src/types/PressEvent.d.ts +0 -3
  136. package/lib/typescript/commonjs/src/types/PressEvent.d.ts.map +1 -1
  137. package/lib/typescript/commonjs/src/types/PressEventWithFeatures.d.ts +5 -0
  138. package/lib/typescript/commonjs/src/types/PressEventWithFeatures.d.ts.map +1 -0
  139. package/lib/typescript/commonjs/src/utils/animated/AbstractAnimatedCoordinates.d.ts.map +1 -1
  140. package/lib/typescript/commonjs/src/utils/animated/Animated.d.ts +4 -1
  141. package/lib/typescript/commonjs/src/utils/animated/Animated.d.ts.map +1 -1
  142. package/lib/typescript/commonjs/src/utils/animated/AnimatedExtractCoordinateFromArray.d.ts.map +1 -1
  143. package/lib/typescript/commonjs/src/utils/animated/AnimatedPoint.d.ts.map +1 -1
  144. package/lib/typescript/commonjs/src/utils/animated/AnimatedRouteCoordinatesArray.d.ts.map +1 -1
  145. package/lib/typescript/commonjs/src/utils/animated/AnimatedShape.d.ts +2 -2
  146. package/lib/typescript/commonjs/src/utils/animated/AnimatedShape.d.ts.map +1 -1
  147. package/lib/typescript/commonjs/src/utils/findNodeHandle.d.ts +3 -0
  148. package/lib/typescript/commonjs/src/utils/findNodeHandle.d.ts.map +1 -0
  149. package/lib/typescript/commonjs/src/utils/{filterUtils.d.ts → getFilter.d.ts} +2 -2
  150. package/lib/typescript/commonjs/src/utils/getFilter.d.ts.map +1 -0
  151. package/lib/typescript/commonjs/src/utils/index.d.ts +3 -3
  152. package/lib/typescript/commonjs/src/utils/index.d.ts.map +1 -1
  153. package/lib/typescript/module/src/components/annotations/Annotation.d.ts +1 -1
  154. package/lib/typescript/module/src/components/annotations/Annotation.d.ts.map +1 -1
  155. package/lib/typescript/module/src/components/layers/BackgroundLayer.d.ts.map +1 -1
  156. package/lib/typescript/module/src/components/layers/CircleLayer.d.ts.map +1 -1
  157. package/lib/typescript/module/src/components/layers/FillExtrusionLayer.d.ts.map +1 -1
  158. package/lib/typescript/module/src/components/layers/HeatmapLayer.d.ts.map +1 -1
  159. package/lib/typescript/module/src/components/layers/RasterLayer.d.ts.map +1 -1
  160. package/lib/typescript/module/src/components/layers/SymbolLayer.d.ts.map +1 -1
  161. package/lib/typescript/module/src/components/map-view/MapView.d.ts.map +1 -1
  162. package/lib/typescript/module/src/components/sources/VectorSource.d.ts +1 -1
  163. package/lib/typescript/module/src/components/sources/VectorSource.d.ts.map +1 -1
  164. package/lib/typescript/module/src/components/sources/shape-source/NativeShapeSourceModule.d.ts +10 -0
  165. package/lib/typescript/module/src/components/sources/shape-source/NativeShapeSourceModule.d.ts.map +1 -0
  166. package/lib/typescript/{commonjs/src/components/sources → module/src/components/sources/shape-source}/ShapeSource.d.ts +60 -41
  167. package/lib/typescript/module/src/components/sources/shape-source/ShapeSource.d.ts.map +1 -0
  168. package/lib/typescript/module/src/components/sources/shape-source/ShapeSourceNativeComponent.d.ts +35 -0
  169. package/lib/typescript/module/src/components/sources/shape-source/ShapeSourceNativeComponent.d.ts.map +1 -0
  170. package/lib/typescript/module/src/hooks/useFrozenId.d.ts +2 -0
  171. package/lib/typescript/module/src/hooks/useFrozenId.d.ts.map +1 -0
  172. package/lib/typescript/module/src/index.d.ts +4 -3
  173. package/lib/typescript/module/src/index.d.ts.map +1 -1
  174. package/lib/typescript/module/src/modules/snapshot/SnapshotOptions.d.ts.map +1 -1
  175. package/lib/typescript/module/src/types/MapLibreRNStyles.d.ts +1 -1
  176. package/lib/typescript/module/src/types/MapLibreRNStyles.d.ts.map +1 -1
  177. package/lib/typescript/module/src/types/PressEvent.d.ts +0 -3
  178. package/lib/typescript/module/src/types/PressEvent.d.ts.map +1 -1
  179. package/lib/typescript/module/src/types/PressEventWithFeatures.d.ts +5 -0
  180. package/lib/typescript/module/src/types/PressEventWithFeatures.d.ts.map +1 -0
  181. package/lib/typescript/module/src/utils/animated/AbstractAnimatedCoordinates.d.ts.map +1 -1
  182. package/lib/typescript/module/src/utils/animated/Animated.d.ts +4 -1
  183. package/lib/typescript/module/src/utils/animated/Animated.d.ts.map +1 -1
  184. package/lib/typescript/module/src/utils/animated/AnimatedExtractCoordinateFromArray.d.ts.map +1 -1
  185. package/lib/typescript/module/src/utils/animated/AnimatedPoint.d.ts.map +1 -1
  186. package/lib/typescript/module/src/utils/animated/AnimatedRouteCoordinatesArray.d.ts.map +1 -1
  187. package/lib/typescript/module/src/utils/animated/AnimatedShape.d.ts +2 -2
  188. package/lib/typescript/module/src/utils/animated/AnimatedShape.d.ts.map +1 -1
  189. package/lib/typescript/module/src/utils/findNodeHandle.d.ts +3 -0
  190. package/lib/typescript/module/src/utils/findNodeHandle.d.ts.map +1 -0
  191. package/lib/typescript/module/src/utils/{filterUtils.d.ts → getFilter.d.ts} +2 -2
  192. package/lib/typescript/module/src/utils/getFilter.d.ts.map +1 -0
  193. package/lib/typescript/module/src/utils/index.d.ts +3 -3
  194. package/lib/typescript/module/src/utils/index.d.ts.map +1 -1
  195. package/package.json +7 -6
  196. package/src/components/annotations/Annotation.tsx +2 -2
  197. package/src/components/layers/BackgroundLayer.tsx +1 -2
  198. package/src/components/layers/CircleLayer.tsx +1 -2
  199. package/src/components/layers/FillExtrusionLayer.tsx +1 -2
  200. package/src/components/layers/HeatmapLayer.tsx +1 -2
  201. package/src/components/layers/RasterLayer.tsx +1 -2
  202. package/src/components/layers/SymbolLayer.tsx +1 -2
  203. package/src/components/map-view/MapView.tsx +2 -14
  204. package/src/components/sources/VectorSource.tsx +2 -2
  205. package/src/components/sources/shape-source/NativeShapeSourceModule.ts +31 -0
  206. package/src/components/sources/shape-source/ShapeSource.tsx +235 -0
  207. package/src/components/sources/shape-source/ShapeSourceNativeComponent.ts +48 -0
  208. package/src/hooks/useAbstractLayer.ts +1 -1
  209. package/src/hooks/useFrozenId.ts +13 -0
  210. package/src/index.ts +4 -3
  211. package/src/modules/snapshot/SnapshotOptions.ts +3 -2
  212. package/src/types/MapLibreRNStyles.ts +1 -1
  213. package/src/types/PressEvent.ts +0 -4
  214. package/src/types/PressEventWithFeatures.ts +5 -0
  215. package/src/utils/animated/AbstractAnimatedCoordinates.ts +0 -9
  216. package/src/utils/animated/Animated.ts +12 -5
  217. package/src/utils/animated/AnimatedExtractCoordinateFromArray.ts +0 -9
  218. package/src/utils/animated/AnimatedPoint.ts +0 -2
  219. package/src/utils/animated/AnimatedRouteCoordinatesArray.ts +3 -3
  220. package/src/utils/animated/AnimatedShape.ts +7 -18
  221. package/src/utils/findNodeHandle.ts +14 -0
  222. package/src/utils/{filterUtils.ts → getFilter.ts} +2 -2
  223. package/src/utils/index.ts +12 -12
  224. package/android/src/main/java/org/maplibre/reactnative/components/sources/MLRNShapeSource.java +0 -248
  225. package/android/src/main/java/org/maplibre/reactnative/components/sources/MLRNShapeSourceManager.java +0 -216
  226. package/android/src/main/java/org/maplibre/reactnative/components/sources/MLRNSource.java +0 -240
  227. package/android/src/main/java/org/maplibre/reactnative/utils/ClusterPropertyEntry.java +0 -13
  228. package/android/src/main/java/org/maplibre/reactnative/utils/ConvertUtils.java +0 -246
  229. package/android/src/main/java/org/maplibre/reactnative/utils/ExpressionParser.java +0 -74
  230. package/ios/components/sources/MLRNShapeSourceManager.h +0 -6
  231. package/ios/components/sources/MLRNShapeSourceManager.m +0 -128
  232. package/lib/commonjs/components/sources/ShapeSource.js +0 -153
  233. package/lib/commonjs/components/sources/ShapeSource.js.map +0 -1
  234. package/lib/commonjs/utils/filterUtils.js.map +0 -1
  235. package/lib/module/components/sources/ShapeSource.js +0 -149
  236. package/lib/module/components/sources/ShapeSource.js.map +0 -1
  237. package/lib/module/utils/filterUtils.js +0 -9
  238. package/lib/module/utils/filterUtils.js.map +0 -1
  239. package/lib/typescript/commonjs/src/components/sources/ShapeSource.d.ts.map +0 -1
  240. package/lib/typescript/commonjs/src/utils/filterUtils.d.ts.map +0 -1
  241. package/lib/typescript/module/src/components/sources/ShapeSource.d.ts.map +0 -1
  242. package/lib/typescript/module/src/utils/filterUtils.d.ts.map +0 -1
  243. package/src/components/sources/ShapeSource.tsx +0 -366
@@ -4,6 +4,7 @@
4
4
  #import "MLRNCamera.h"
5
5
  #import "MLRNCameraComponentView.h"
6
6
  #import "MLRNCameraManager.h"
7
+ #import "MLRNViewModuleUtils.h"
7
8
 
8
9
  @implementation MLRNCameraModule
9
10
 
@@ -22,26 +23,15 @@
22
23
  block:(void (^)(MLRNCamera *))block
23
24
  reject:(RCTPromiseRejectBlock)reject
24
25
  methodName:(NSString *)methodName {
25
- [self.viewRegistry_DEPRECATED addUIBlock:^(RCTViewRegistry *viewRegistry) {
26
- UIView *view =
27
- [self.viewRegistry_DEPRECATED viewForReactTag:[NSNumber numberWithInteger:reactTag]];
28
-
29
- if ([view isKindOfClass:[MLRNCameraComponentView class]]) {
30
- MLRNCameraComponentView *componentView = (MLRNCameraComponentView *)view;
31
-
32
- if ([componentView.contentView isKindOfClass:[MLRNCamera class]]) {
33
- MLRNCamera *camera = (MLRNCamera *)componentView.contentView;
34
-
35
- block(camera);
36
- return;
37
- }
38
- }
39
-
40
- reject(methodName,
41
- [NSString stringWithFormat:@"Invalid `reactTag` %@, could not find MLRNCamera",
42
- [NSNumber numberWithInteger:reactTag]],
43
- nil);
44
- }];
26
+ [MLRNViewModuleUtils withView:self.viewRegistry_DEPRECATED
27
+ reactTag:reactTag
28
+ componentViewClass:[MLRNCameraComponentView class]
29
+ contentViewClass:[MLRNCamera class]
30
+ block:^(UIView *view) {
31
+ block((MLRNCamera *)view);
32
+ }
33
+ reject:reject
34
+ methodName:methodName];
45
35
  }
46
36
 
47
37
  - (void)setStop:(NSInteger)reactTag
@@ -5,6 +5,7 @@
5
5
  #import "MLRNMapViewComponentView.h"
6
6
  #import "MLRNMapViewManager.h"
7
7
  #import "MLRNUtils.h"
8
+ #import "MLRNViewModuleUtils.h"
8
9
 
9
10
  @implementation MLRNMapViewModule
10
11
 
@@ -23,26 +24,15 @@
23
24
  block:(void (^)(MLRNMapView *))block
24
25
  reject:(RCTPromiseRejectBlock)reject
25
26
  methodName:(NSString *)methodName {
26
- [self.viewRegistry_DEPRECATED addUIBlock:^(RCTViewRegistry *viewRegistry) {
27
- UIView *view =
28
- [self.viewRegistry_DEPRECATED viewForReactTag:[NSNumber numberWithInteger:reactTag]];
29
-
30
- if ([view isKindOfClass:[MLRNMapViewComponentView class]]) {
31
- MLRNMapViewComponentView *componentView = (MLRNMapViewComponentView *)view;
32
-
33
- if ([componentView.contentView isKindOfClass:[MLRNMapView class]]) {
34
- MLRNMapView *mapView = (MLRNMapView *)componentView.contentView;
35
-
36
- block(mapView);
37
- return;
38
- }
39
- }
40
-
41
- reject(methodName,
42
- [NSString stringWithFormat:@"Invalid `reactTag` %@, could not find MLRNMapView",
43
- [NSNumber numberWithInteger:reactTag]],
44
- nil);
45
- }];
27
+ [MLRNViewModuleUtils withView:self.viewRegistry_DEPRECATED
28
+ reactTag:reactTag
29
+ componentViewClass:[MLRNMapViewComponentView class]
30
+ contentViewClass:[MLRNMapView class]
31
+ block:^(UIView *view) {
32
+ block((MLRNMapView *)view);
33
+ }
34
+ reject:reject
35
+ methodName:methodName];
46
36
  }
47
37
 
48
38
  - (void)getCenter:(NSInteger)reactTag
@@ -24,6 +24,9 @@ extern NSString *_Nonnull const DEFAULT_SOURCE_ID;
24
24
  - (nullable MLNSource *)makeSource;
25
25
  - (nonnull NSArray<NSString *> *)getLayerIDs;
26
26
 
27
+ - (void)insertReactSubview:(id<RCTComponent>_Nullable)subview atIndex:(NSInteger)atIndex;
28
+ - (void)removeReactSubview:(id<RCTComponent>_Nullable)subview;
29
+
27
30
  + (BOOL)isDefaultSource:(nonnull NSString *)sourceID;
28
31
 
29
32
  @end
@@ -22,15 +22,13 @@
22
22
  @property (nonatomic, strong, nullable) NSNumber *tolerance;
23
23
  @property (nonatomic, strong, nullable) NSNumber *lineMetrics;
24
24
 
25
- @property (nonatomic, copy, nullable) RCTBubblingEventBlock onPress;
26
- @property (nonatomic, assign) BOOL hasPressListener;
27
25
 
28
26
  - (nonnull NSArray<id<MLNFeature>> *)featuresMatchingPredicate:(nullable NSPredicate *)predicate;
29
- - (nonnull NSArray<id<MLNFeature>> *)getClusterLeaves:(nonnull NSString *)featureJSON
27
+ - (nonnull NSArray<id<MLNFeature>> *)getClusterLeaves:(nonnull MLNPointFeatureCluster *)cluster
30
28
  number:(NSUInteger)number
31
29
  offset:(NSUInteger)offset;
32
- - (nonnull NSArray<id<MLNFeature>> *)getClusterChildren:(nonnull NSString *)featureJSON;
30
+ - (nonnull NSArray<id<MLNFeature>> *)getClusterChildren:(nonnull MLNPointFeatureCluster *)cluster;
33
31
 
34
- - (double)getClusterExpansionZoom:(nonnull NSString *)featureJSON;
32
+ - (double)getClusterExpansionZoom:(nonnull MLNPointFeatureCluster *)cluster;
35
33
 
36
34
  @end
@@ -113,31 +113,23 @@ static UIImage *_placeHolderImage;
113
113
  return [shapeSource featuresMatchingPredicate:predicate];
114
114
  }
115
115
 
116
- - (double)getClusterExpansionZoom:(nonnull NSString *)featureJSON {
116
+ - (double)getClusterExpansionZoom:(nonnull MLNPointFeatureCluster *)cluster {
117
117
  MLNShapeSource *shapeSource = (MLNShapeSource *)self.source;
118
118
 
119
- MLNPointFeature *feature = (MLNPointFeature *)[MLRNUtils shapeFromGeoJSON:featureJSON];
120
-
121
- return [shapeSource zoomLevelForExpandingCluster:(MLNPointFeatureCluster *)feature];
119
+ return [shapeSource zoomLevelForExpandingCluster:cluster];
122
120
  }
123
121
 
124
- - (nonnull NSArray<id<MLNFeature>> *)getClusterLeaves:(nonnull NSString *)featureJSON
122
+ - (nonnull NSArray<id<MLNFeature>> *)getClusterLeaves:(nonnull MLNPointFeatureCluster *)cluster
125
123
  number:(NSUInteger)number
126
124
  offset:(NSUInteger)offset {
127
125
  MLNShapeSource *shapeSource = (MLNShapeSource *)self.source;
128
126
 
129
- MLNPointFeature *feature = (MLNPointFeature *)[MLRNUtils shapeFromGeoJSON:featureJSON];
130
-
131
- MLNPointFeatureCluster *cluster = (MLNPointFeatureCluster *)feature;
132
127
  return [shapeSource leavesOfCluster:cluster offset:offset limit:number];
133
128
  }
134
129
 
135
- - (nonnull NSArray<id<MLNFeature>> *)getClusterChildren:(nonnull NSString *)featureJSON {
130
+ - (nonnull NSArray<id<MLNFeature>> *)getClusterChildren:(nonnull MLNPointFeatureCluster *)cluster {
136
131
  MLNShapeSource *shapeSource = (MLNShapeSource *)self.source;
137
132
 
138
- MLNPointFeature *feature = (MLNPointFeature *)[MLRNUtils shapeFromGeoJSON:featureJSON];
139
-
140
- MLNPointFeatureCluster *cluster = (MLNPointFeatureCluster *)feature;
141
133
  return [shapeSource childrenOfCluster:cluster];
142
134
  }
143
135
 
@@ -0,0 +1,11 @@
1
+ #import <React/RCTViewComponentView.h>
2
+
3
+ @class MLRNShapeSource;
4
+
5
+ @interface MLRNShapeSourceComponentView : RCTViewComponentView
6
+
7
+ @property (nonatomic, readonly) MLRNShapeSource *shapeSource;
8
+
9
+ @end
10
+
11
+
@@ -0,0 +1,163 @@
1
+ #import "MLRNShapeSourceComponentView.h"
2
+
3
+ #import <react/renderer/components/MapLibreReactNativeSpec/ComponentDescriptors.h>
4
+ #import <react/renderer/components/MapLibreReactNativeSpec/EventEmitters.h>
5
+ #import <react/renderer/components/MapLibreReactNativeSpec/Props.h>
6
+ #import <react/renderer/components/MapLibreReactNativeSpec/RCTComponentViewHelpers.h>
7
+
8
+ #import "RCTFabricComponentsPlugins.h"
9
+
10
+ #import <React/RCTConversions.h>
11
+ #import <react/utils/FollyConvert.h>
12
+ #import "MLRNShapeSource.h"
13
+
14
+ using namespace facebook::react;
15
+
16
+ // MARK: - MLRNShapeSourceComponentView
17
+
18
+ @interface MLRNShapeSourceComponentView () <RCTMLRNShapeSourceViewProtocol>
19
+
20
+ @end
21
+
22
+ @implementation MLRNShapeSourceComponentView {
23
+ MLRNShapeSource *_view;
24
+ }
25
+
26
+ - (instancetype)initWithFrame:(CGRect)frame {
27
+ if (self = [super initWithFrame:frame]) {
28
+ static const auto defaultProps = std::make_shared<const MLRNShapeSourceProps>();
29
+ _props = defaultProps;
30
+ [self prepareView];
31
+ }
32
+
33
+ return self;
34
+ }
35
+
36
+ - (void)prepareView {
37
+ _view = [[MLRNShapeSource alloc] init];
38
+
39
+ // Capture weak self reference to prevent retain cycle
40
+ __weak __typeof__(self) weakSelf = self;
41
+
42
+ [_view setOnPress:^(NSDictionary *event) {
43
+ __typeof__(self) strongSelf = weakSelf;
44
+ if (strongSelf != nullptr && strongSelf->_eventEmitter != nullptr) {
45
+ const auto eventEmitter =
46
+ std::static_pointer_cast<const MLRNShapeSourceEventEmitter>(strongSelf->_eventEmitter);
47
+
48
+ facebook::react::MLRNShapeSourceEventEmitter::OnPress data = {
49
+ .lngLat = convertIdToFollyDynamic(event[@"lngLat"]),
50
+ .point = convertIdToFollyDynamic(event[@"point"]),
51
+ .features = convertIdToFollyDynamic(event[@"features"]),
52
+ };
53
+
54
+ eventEmitter->onPress(data);
55
+ }
56
+ }];
57
+
58
+ self.contentView = _view;
59
+ }
60
+
61
+ - (MLRNShapeSource *)shapeSource {
62
+ return _view;
63
+ }
64
+
65
+ #pragma mark - RCTComponentViewProtocol
66
+
67
+ + (ComponentDescriptorProvider)componentDescriptorProvider {
68
+ return concreteComponentDescriptorProvider<MLRNShapeSourceComponentDescriptor>();
69
+ }
70
+
71
+ - (void)updateProps:(const Props::Shared &)props oldProps:(const Props::Shared &)oldProps {
72
+ const auto &oldViewProps = *std::static_pointer_cast<const MLRNShapeSourceProps>(_props);
73
+ const auto &newViewProps = *std::static_pointer_cast<const MLRNShapeSourceProps>(props);
74
+
75
+ if (oldViewProps.id != newViewProps.id) {
76
+ _view.id = RCTNSStringFromString(newViewProps.id);
77
+ }
78
+
79
+ if (oldViewProps.data != newViewProps.data) {
80
+ _view.shape = RCTNSStringFromString(newViewProps.data);
81
+ }
82
+
83
+ if (oldViewProps.cluster != newViewProps.cluster) {
84
+ _view.cluster = @(newViewProps.cluster);
85
+ }
86
+
87
+ if (oldViewProps.clusterRadius != newViewProps.clusterRadius) {
88
+ _view.clusterRadius = newViewProps.clusterRadius >= 0 ? @(newViewProps.clusterRadius) : nil;
89
+ }
90
+
91
+ if (oldViewProps.clusterMinPoints != newViewProps.clusterMinPoints) {
92
+ _view.clusterMinPoints =
93
+ newViewProps.clusterMinPoints >= 0 ? @(newViewProps.clusterMinPoints) : nil;
94
+ }
95
+
96
+ if (oldViewProps.clusterMaxZoom != newViewProps.clusterMaxZoom) {
97
+ _view.clusterMaxZoomLevel =
98
+ newViewProps.clusterMaxZoom >= 0 ? @(newViewProps.clusterMaxZoom) : nil;
99
+ }
100
+
101
+ if (oldViewProps.clusterProperties != newViewProps.clusterProperties) {
102
+ _view.clusterProperties = convertFollyDynamicToId(newViewProps.clusterProperties);
103
+ }
104
+
105
+ if (oldViewProps.maxzoom != newViewProps.maxzoom) {
106
+ _view.maxZoomLevel = newViewProps.maxzoom >= 0 ? @(newViewProps.maxzoom) : nil;
107
+ }
108
+
109
+ if (oldViewProps.buffer != newViewProps.buffer) {
110
+ _view.buffer = newViewProps.buffer >= 0 ? @(newViewProps.buffer) : nil;
111
+ }
112
+
113
+ if (oldViewProps.tolerance != newViewProps.tolerance) {
114
+ _view.tolerance = newViewProps.tolerance >= 0 ? @(newViewProps.tolerance) : nil;
115
+ }
116
+
117
+ if (oldViewProps.lineMetrics != newViewProps.lineMetrics) {
118
+ _view.lineMetrics = @(newViewProps.lineMetrics);
119
+ }
120
+
121
+ if (oldViewProps.hasOnPress != newViewProps.hasOnPress) {
122
+ _view.hasPressListener = newViewProps.hasOnPress;
123
+ }
124
+
125
+ if (oldViewProps.hitbox.top != newViewProps.hitbox.top ||
126
+ oldViewProps.hitbox.right != newViewProps.hitbox.right ||
127
+ oldViewProps.hitbox.bottom != newViewProps.hitbox.bottom ||
128
+ oldViewProps.hitbox.left != newViewProps.hitbox.left) {
129
+ _view.hitbox = @{
130
+ @"top" : @(newViewProps.hitbox.top),
131
+ @"right" : @(newViewProps.hitbox.right),
132
+ @"bottom" : @(newViewProps.hitbox.bottom),
133
+ @"left" : @(newViewProps.hitbox.left),
134
+ };
135
+ }
136
+
137
+ [super updateProps:props oldProps:oldProps];
138
+ }
139
+
140
+ - (void)mountChildComponentView:(UIView<RCTComponentViewProtocol> *)childComponentView
141
+ index:(NSInteger)index {
142
+ if ([childComponentView isKindOfClass:[RCTViewComponentView class]] &&
143
+ ((RCTViewComponentView *)childComponentView).contentView) {
144
+ [_view insertReactSubview:(id<RCTComponent>)((RCTViewComponentView *)childComponentView).contentView
145
+ atIndex:index];
146
+ }
147
+ [super mountChildComponentView:childComponentView index:index];
148
+ }
149
+
150
+ - (void)unmountChildComponentView:(UIView<RCTComponentViewProtocol> *)childComponentView
151
+ index:(NSInteger)index {
152
+ if ([childComponentView isKindOfClass:[RCTViewComponentView class]] &&
153
+ ((RCTViewComponentView *)childComponentView).contentView) {
154
+ [_view removeReactSubview:(id<RCTComponent>)((RCTViewComponentView *)childComponentView).contentView];
155
+ }
156
+ [super unmountChildComponentView:childComponentView index:index];
157
+ }
158
+
159
+ Class<RCTComponentViewProtocol> MLRNShapeSourceCls(void) {
160
+ return MLRNShapeSourceComponentView.class;
161
+ }
162
+
163
+ @end
@@ -0,0 +1,5 @@
1
+ #import <MapLibreReactNativeSpec/MapLibreReactNativeSpec.h>
2
+
3
+ @interface MLRNShapeSourceModule : NSObject <NativeShapeSourceModuleSpec>
4
+ @end
5
+
@@ -0,0 +1,136 @@
1
+ #import "MLRNShapeSourceModule.h"
2
+
3
+ #import <React/RCTUIManager.h>
4
+ #import "FilterParser.h"
5
+ #import "MLRNShapeSource.h"
6
+ #import "MLRNShapeSourceComponentView.h"
7
+ #import "MLRNUtils.h"
8
+ #import "MLRNViewModuleUtils.h"
9
+
10
+ @implementation MLRNShapeSourceModule
11
+
12
+ @synthesize viewRegistry_DEPRECATED = _viewRegistry_DEPRECATED;
13
+
14
+ + (NSString *)moduleName {
15
+ return @"MLRNShapeSourceModule";
16
+ }
17
+
18
+ - (std::shared_ptr<facebook::react::TurboModule>)getTurboModule:
19
+ (const facebook::react::ObjCTurboModule::InitParams &)params {
20
+ return std::make_shared<facebook::react::NativeShapeSourceModuleSpecJSI>(params);
21
+ }
22
+
23
+ - (void)withShapeSource:(NSInteger)reactTag
24
+ block:(void (^)(MLRNShapeSource *))block
25
+ reject:(RCTPromiseRejectBlock)reject
26
+ methodName:(NSString *)methodName {
27
+ [MLRNViewModuleUtils withView:self.viewRegistry_DEPRECATED
28
+ reactTag:reactTag
29
+ componentViewClass:[MLRNShapeSourceComponentView class]
30
+ contentViewClass:[MLRNShapeSource class]
31
+ block:^(UIView *view) {
32
+ block((MLRNShapeSource *)view);
33
+ }
34
+ reject:reject
35
+ methodName:methodName];
36
+ }
37
+
38
+ - (MLNPointFeatureCluster *)clusterFromClusterId:(NSInteger)clusterId {
39
+ NSString *featureJSON =
40
+ [NSString stringWithFormat:@"{\"type\":\"Feature\",\"properties\":{\"cluster_id\":%ld},"
41
+ @"\"geometry\":{\"type\":\"Point\",\"coordinates\":[0,0]}}",
42
+ (long)clusterId];
43
+ MLNPointFeature *feature = (MLNPointFeature *)[MLRNUtils shapeFromGeoJSON:featureJSON];
44
+ return (MLNPointFeatureCluster *)feature;
45
+ }
46
+
47
+ - (void)getData:(NSInteger)reactTag
48
+ filter:(NSArray *)filter
49
+ resolve:(nonnull RCTPromiseResolveBlock)resolve
50
+ reject:(nonnull RCTPromiseRejectBlock)reject {
51
+ [self withShapeSource:reactTag
52
+ block:^(MLRNShapeSource *shapeSource) {
53
+ NSPredicate *predicate = [FilterParser parse:filter];
54
+ NSArray<id<MLNFeature>> *shapes =
55
+ [shapeSource featuresMatchingPredicate:predicate];
56
+
57
+ NSMutableArray<NSDictionary *> *features =
58
+ [[NSMutableArray alloc] initWithCapacity:shapes.count];
59
+ for (int i = 0; i < shapes.count; i++) {
60
+ [features addObject:shapes[i].geoJSONDictionary];
61
+ }
62
+
63
+ resolve(@{@"type" : @"FeatureCollection", @"features" : features});
64
+ }
65
+ reject:reject
66
+ methodName:@"getData"];
67
+ }
68
+
69
+ - (void)getClusterExpansionZoom:(NSInteger)reactTag
70
+ clusterId:(NSInteger)clusterId
71
+ resolve:(nonnull RCTPromiseResolveBlock)resolve
72
+ reject:(nonnull RCTPromiseRejectBlock)reject {
73
+ [self withShapeSource:reactTag
74
+ block:^(MLRNShapeSource *shapeSource) {
75
+ MLNPointFeatureCluster *cluster = [self clusterFromClusterId:clusterId];
76
+ double zoom = [shapeSource getClusterExpansionZoom:cluster];
77
+ if (zoom == -1) {
78
+ reject(@"zoom_error",
79
+ [NSString stringWithFormat:@"Could not get zoom for cluster %ld",
80
+ (long)clusterId],
81
+ nil);
82
+ return;
83
+ }
84
+ resolve(@(zoom));
85
+ }
86
+ reject:reject
87
+ methodName:@"getClusterExpansionZoom"];
88
+ }
89
+
90
+ - (void)getClusterLeaves:(NSInteger)reactTag
91
+ clusterId:(NSInteger)clusterId
92
+ limit:(NSInteger)limit
93
+ offset:(NSInteger)offset
94
+ resolve:(nonnull RCTPromiseResolveBlock)resolve
95
+ reject:(nonnull RCTPromiseRejectBlock)reject {
96
+ [self withShapeSource:reactTag
97
+ block:^(MLRNShapeSource *shapeSource) {
98
+ MLNPointFeatureCluster *cluster = [self clusterFromClusterId:clusterId];
99
+ NSArray<id<MLNFeature>> *shapes = [shapeSource getClusterLeaves:cluster
100
+ number:limit
101
+ offset:offset];
102
+
103
+ NSMutableArray<NSDictionary *> *features =
104
+ [[NSMutableArray alloc] initWithCapacity:shapes.count];
105
+ for (int i = 0; i < shapes.count; i++) {
106
+ [features addObject:shapes[i].geoJSONDictionary];
107
+ }
108
+
109
+ resolve(features);
110
+ }
111
+ reject:reject
112
+ methodName:@"getClusterLeaves"];
113
+ }
114
+
115
+ - (void)getClusterChildren:(NSInteger)reactTag
116
+ clusterId:(NSInteger)clusterId
117
+ resolve:(nonnull RCTPromiseResolveBlock)resolve
118
+ reject:(nonnull RCTPromiseRejectBlock)reject {
119
+ [self withShapeSource:reactTag
120
+ block:^(MLRNShapeSource *shapeSource) {
121
+ MLNPointFeatureCluster *cluster = [self clusterFromClusterId:clusterId];
122
+ NSArray<id<MLNFeature>> *shapes = [shapeSource getClusterChildren:cluster];
123
+
124
+ NSMutableArray<NSDictionary *> *features =
125
+ [[NSMutableArray alloc] initWithCapacity:shapes.count];
126
+ for (int i = 0; i < shapes.count; i++) {
127
+ [features addObject:shapes[i].geoJSONDictionary];
128
+ }
129
+
130
+ resolve(features);
131
+ }
132
+ reject:reject
133
+ methodName:@"getClusterChildren"];
134
+ }
135
+
136
+ @end
@@ -0,0 +1,35 @@
1
+ #import <Foundation/Foundation.h>
2
+ #import <React/RCTBridgeModule.h>
3
+
4
+ NS_ASSUME_NONNULL_BEGIN
5
+
6
+ /**
7
+ * Utility class for common view module operations across MapLibre React Native modules.
8
+ */
9
+ @interface MLRNViewModuleUtils : NSObject
10
+
11
+ /**
12
+ * Retrieves a specific view type from the view registry and executes a block with it
13
+ *
14
+ * Currently based upon the interop layer:
15
+ * https://github.com/facebook/react-native/issues/50800#issuecomment-3046289718
16
+ *
17
+ * @param viewRegistry The RCT view registry (typically viewRegistry_DEPRECATED)
18
+ * @param reactTag The React tag identifying the view
19
+ * @param componentViewClass The expected component view class (e.g., MLRNMapViewComponentView)
20
+ * @param contentViewClass The expected content view class (e.g., MLRNMapView)
21
+ * @param block The block to execute with the typed content view
22
+ * @param reject The promise reject block to call if view lookup fails
23
+ * @param methodName The name of the calling method (used in error messages)
24
+ */
25
+ + (void)withView:(RCTViewRegistry *)viewRegistry
26
+ reactTag:(NSInteger)reactTag
27
+ componentViewClass:(Class)componentViewClass
28
+ contentViewClass:(Class)contentViewClass
29
+ block:(void (^)(UIView *))block
30
+ reject:(RCTPromiseRejectBlock)reject
31
+ methodName:(NSString *)methodName;
32
+
33
+ @end
34
+
35
+ NS_ASSUME_NONNULL_END
@@ -0,0 +1,39 @@
1
+ #import "MLRNViewModuleUtils.h"
2
+
3
+ @implementation MLRNViewModuleUtils
4
+
5
+ + (void)withView:(RCTViewRegistry *)viewRegistry
6
+ reactTag:(NSInteger)reactTag
7
+ componentViewClass:(Class)componentViewClass
8
+ contentViewClass:(Class)contentViewClass
9
+ block:(void (^)(UIView *))block
10
+ reject:(RCTPromiseRejectBlock)reject
11
+ methodName:(NSString *)methodName {
12
+ __weak RCTViewRegistry *weakRegistry = viewRegistry;
13
+ [viewRegistry addUIBlock:^(RCTViewRegistry *registry) {
14
+ RCTViewRegistry *strongRegistry = weakRegistry;
15
+ if (!strongRegistry) {
16
+ return;
17
+ }
18
+
19
+ UIView *view = [strongRegistry viewForReactTag:[NSNumber numberWithInteger:reactTag]];
20
+
21
+ if ([view isKindOfClass:componentViewClass]) {
22
+ UIView *componentView = view;
23
+ UIView *contentView = [componentView valueForKey:@"contentView"];
24
+
25
+ if ([contentView isKindOfClass:contentViewClass]) {
26
+ block(contentView);
27
+ return;
28
+ }
29
+ }
30
+
31
+ reject(methodName,
32
+ [NSString stringWithFormat:@"Invalid `reactTag` %@, could not find %@",
33
+ [NSNumber numberWithInteger:reactTag],
34
+ NSStringFromClass(contentViewClass)],
35
+ nil);
36
+ }];
37
+ }
38
+
39
+ @end
@@ -88,7 +88,7 @@ const Annotation = exports.Annotation = /*#__PURE__*/(0, _react.forwardRef)(({
88
88
  id: props.id,
89
89
  testID: props.testID,
90
90
  onPress: props.onPress,
91
- shape: shape,
91
+ data: shape,
92
92
  children: children
93
93
  });
94
94
  });
@@ -1 +1 @@
1
- {"version":3,"names":["_react","require","_reactNative","_Animated","_AnimatedPoint","_SymbolLayer","_jsxRuntime","getShapeFromProps","props","lng","coordinates","lat","point","type","animated","AnimatedPoint","isShapeAnimated","shape","Annotation","exports","forwardRef","animationDuration","animationEasingFunction","Easing","linear","otherProps","ref","useImperativeHandle","symbolStyle","setShape","useState","coordinateDeps","join","useEffect","Array","isArray","stopAnimation","timing","easing","duration","start","newShape","children","icon","style","iconImage","undefined","push","jsx","SymbolLayer","id","Animated","ShapeSource","testID","onPress","displayName"],"sourceRoot":"../../../../src","sources":["components/annotations/Annotation.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAA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,KAAK,CAACC,OAAO,CAAC3B,KAAK,CAACkC,QAAQ,CAAC,EAAE;MACjCA,QAAQ,CAACK,IAAI,CAAC,GAAGvC,KAAK,CAACkC,QAAQ,CAAC;IAClC,CAAC,MAAM;MACLA,QAAQ,CAACK,IAAI,CAACvC,KAAK,CAACkC,QAAQ,CAAC;IAC/B;EACF;EAEA,oBACE,IAAApC,WAAA,CAAA0C,GAAA,EAAC7C,SAAA,CAAAgD,QAAQ,CAACC,WAAW;IACnBF,EAAE,EAAE1C,KAAK,CAAC0C,EAAG;IACbG,MAAM,EAAE7C,KAAK,CAAC6C,MAAO;IACrBC,OAAO,EAAE9C,KAAK,CAAC8C,OAAQ;IACvBrC,KAAK,EAAEA,KAAsD;IAAAyB,QAAA,EAE5DA;EAAQ,CACW,CAAC;AAE3B,CACF,CAAC;AAEDxB,UAAU,CAACqC,WAAW,GAAG,YAAY","ignoreList":[]}
1
+ {"version":3,"names":["_react","require","_reactNative","_Animated","_AnimatedPoint","_SymbolLayer","_jsxRuntime","getShapeFromProps","props","lng","coordinates","lat","point","type","animated","AnimatedPoint","isShapeAnimated","shape","Annotation","exports","forwardRef","animationDuration","animationEasingFunction","Easing","linear","otherProps","ref","useImperativeHandle","symbolStyle","setShape","useState","coordinateDeps","join","useEffect","Array","isArray","stopAnimation","timing","easing","duration","start","newShape","children","icon","style","iconImage","undefined","push","jsx","SymbolLayer","id","Animated","ShapeSource","testID","onPress","data","displayName"],"sourceRoot":"../../../../src","sources":["components/annotations/Annotation.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAOA,IAAAC,YAAA,GAAAD,OAAA;AASA,IAAAE,SAAA,GAAAF,OAAA;AACA,IAAAG,cAAA,GAAAH,OAAA;AACA,IAAAI,YAAA,GAAAJ,OAAA;AAAoD,IAAAK,WAAA,GAAAL,OAAA;AAgBpD,SAASM,iBAAiBA,CAACC,KAA+B,GAAG,CAAC,CAAC,EAAS;EACtE,MAAMC,GAAG,GAAGD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EAAC7C,SAAA,CAAAgD,QAAQ,CAACC,WAAW;IACnBF,EAAE,EAAE1C,KAAK,CAAC0C,EAAG;IACbG,MAAM,EAAE7C,KAAK,CAAC6C,MAAO;IACrBC,OAAO,EAAE9C,KAAK,CAAC8C,OAAQ;IACvBC,IAAI,EAAEtC,KAAsD;IAAAyB,QAAA,EAE3DA;EAAQ,CACW,CAAC;AAE3B,CACF,CAAC;AAEDxB,UAAU,CAACsC,WAAW,GAAG,YAAY","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["_reactNative","require","_useAbstractLayer","_jsxRuntime","MLRNModule","NativeModules","NATIVE_MODULE_NAME","exports","MLRNBackgroundLayer","requireNativeComponent","BackgroundLayer","sourceID","StyleSource","DefaultSourceID","props","baseProps","setNativeLayer","useAbstractLayer","jsx","testID","ref"],"sourceRoot":"../../../../src","sources":["components/layers/BackgroundLayer.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAEA,IAAAC,iBAAA,GAAAD,OAAA;AAIsC,IAAAE,WAAA,GAAAF,OAAA;AAItC,MAAMG,UAAU,GAAGC,0BAAa,CAACD,UAAU;AAEpC,MAAME,kBAAkB,GAAAC,OAAA,CAAAD,kBAAA,GAAG,qBAAqB;AAavD,MAAME,mBAAmB,GACvB,IAAAC,mCAAsB,EAAuBH,kBAAkB,CAAC;AAE3D,MAAMI,eAAe,GAAGA,CAAC;EAC9BC,QAAQ,GAAGP,UAAU,CAACQ,WAAW,CAACC,eAAe;EACjD,GAAGC;AACiB,CAAC,KAAK;EAC1B,MAAM;IAAEC,SAAS;IAAEC;EAAe,CAAC,GAAG,IAAAC,kCAAgB,EAGpD;IACA,GAAGH,KAAK;IACRH;EACF,CAAC,CAAC;EAEF,oBACE,IAAAR,WAAA,CAAAe,GAAA,EAACV,mBAAmB;IAClBW,MAAM,EAAC,qBAAqB;IAC5BC,GAAG,EAAEJ,cAAe;IAAA,GAChBD;EAAS,CACd,CAAC;AAEN,CAAC;AAACR,OAAA,CAAAG,eAAA,GAAAA,eAAA","ignoreList":[]}
1
+ {"version":3,"names":["_reactNative","require","_useAbstractLayer","_jsxRuntime","MLRNModule","NativeModules","NATIVE_MODULE_NAME","exports","MLRNBackgroundLayer","requireNativeComponent","BackgroundLayer","sourceID","StyleSource","DefaultSourceID","props","baseProps","setNativeLayer","useAbstractLayer","jsx","testID","ref"],"sourceRoot":"../../../../src","sources":["components/layers/BackgroundLayer.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAEA,IAAAC,iBAAA,GAAAD,OAAA;AAIsC,IAAAE,WAAA,GAAAF,OAAA;AAItC,MAAMG,UAAU,GAAGC,0BAAa,CAACD,UAAU;AAEpC,MAAME,kBAAkB,GAAAC,OAAA,CAAAD,kBAAA,GAAG,qBAAqB;AAYvD,MAAME,mBAAmB,GACvB,IAAAC,mCAAsB,EAAuBH,kBAAkB,CAAC;AAE3D,MAAMI,eAAe,GAAGA,CAAC;EAC9BC,QAAQ,GAAGP,UAAU,CAACQ,WAAW,CAACC,eAAe;EACjD,GAAGC;AACiB,CAAC,KAAK;EAC1B,MAAM;IAAEC,SAAS;IAAEC;EAAe,CAAC,GAAG,IAAAC,kCAAgB,EAGpD;IACA,GAAGH,KAAK;IACRH;EACF,CAAC,CAAC;EAEF,oBACE,IAAAR,WAAA,CAAAe,GAAA,EAACV,mBAAmB;IAClBW,MAAM,EAAC,qBAAqB;IAC5BC,GAAG,EAAEJ,cAAe;IAAA,GAChBD;EAAS,CACd,CAAC;AAEN,CAAC;AAACR,OAAA,CAAAG,eAAA,GAAAA,eAAA","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["_reactNative","require","_useAbstractLayer","_jsxRuntime","MLRNModule","NativeModules","NATIVE_MODULE_NAME","exports","MLRNCircleLayer","requireNativeComponent","CircleLayer","sourceID","StyleSource","DefaultSourceID","props","baseProps","setNativeLayer","useAbstractLayer","jsx","testID","ref"],"sourceRoot":"../../../../src","sources":["components/layers/CircleLayer.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAEA,IAAAC,iBAAA,GAAAD,OAAA;AAIsC,IAAAE,WAAA,GAAAF,OAAA;AAItC,MAAMG,UAAU,GAAGC,0BAAa,CAACD,UAAU;AAEpC,MAAME,kBAAkB,GAAAC,OAAA,CAAAD,kBAAA,GAAG,iBAAiB;AAanD,MAAME,eAAe,GAAG,IAAAC,mCAAsB,EAAcH,kBAAkB,CAAC;;AAE/E;AACA;AACA;AACO,MAAMI,WAAW,GAAGA,CAAC;EAC1BC,QAAQ,GAAGP,UAAU,CAACQ,WAAW,CAACC,eAAe;EACjD,GAAGC;AACa,CAAC,KAAK;EACtB,MAAM;IAAEC,SAAS;IAAEC;EAAe,CAAC,GAAG,IAAAC,kCAAgB,EAGpD;IACA,GAAGH,KAAK;IACRH;EACF,CAAC,CAAC;EAEF,oBACE,IAAAR,WAAA,CAAAe,GAAA,EAACV,eAAe;IACdW,MAAM,EAAC,iBAAiB;IACxBC,GAAG,EAAEJ,cAAe;IAAA,GAChBD;EAAS,CACd,CAAC;AAEN,CAAC;AAACR,OAAA,CAAAG,WAAA,GAAAA,WAAA","ignoreList":[]}
1
+ {"version":3,"names":["_reactNative","require","_useAbstractLayer","_jsxRuntime","MLRNModule","NativeModules","NATIVE_MODULE_NAME","exports","MLRNCircleLayer","requireNativeComponent","CircleLayer","sourceID","StyleSource","DefaultSourceID","props","baseProps","setNativeLayer","useAbstractLayer","jsx","testID","ref"],"sourceRoot":"../../../../src","sources":["components/layers/CircleLayer.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAEA,IAAAC,iBAAA,GAAAD,OAAA;AAIsC,IAAAE,WAAA,GAAAF,OAAA;AAItC,MAAMG,UAAU,GAAGC,0BAAa,CAACD,UAAU;AAEpC,MAAME,kBAAkB,GAAAC,OAAA,CAAAD,kBAAA,GAAG,iBAAiB;AAYnD,MAAME,eAAe,GAAG,IAAAC,mCAAsB,EAAcH,kBAAkB,CAAC;;AAE/E;AACA;AACA;AACO,MAAMI,WAAW,GAAGA,CAAC;EAC1BC,QAAQ,GAAGP,UAAU,CAACQ,WAAW,CAACC,eAAe;EACjD,GAAGC;AACa,CAAC,KAAK;EACtB,MAAM;IAAEC,SAAS;IAAEC;EAAe,CAAC,GAAG,IAAAC,kCAAgB,EAGpD;IACA,GAAGH,KAAK;IACRH;EACF,CAAC,CAAC;EAEF,oBACE,IAAAR,WAAA,CAAAe,GAAA,EAACV,eAAe;IACdW,MAAM,EAAC,iBAAiB;IACxBC,GAAG,EAAEJ,cAAe;IAAA,GAChBD;EAAS,CACd,CAAC;AAEN,CAAC;AAACR,OAAA,CAAAG,WAAA,GAAAA,WAAA","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["_reactNative","require","_useAbstractLayer","_jsxRuntime","MLRNModule","NativeModules","NATIVE_MODULE_NAME","exports","MLRNFillExtrusionLayer","requireNativeComponent","FillExtrusionLayer","sourceID","StyleSource","DefaultSourceID","props","baseProps","setNativeLayer","useAbstractLayer","jsx","ref"],"sourceRoot":"../../../../src","sources":["components/layers/FillExtrusionLayer.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAEA,IAAAC,iBAAA,GAAAD,OAAA;AAIsC,IAAAE,WAAA,GAAAF,OAAA;AAItC,MAAMG,UAAU,GAAGC,0BAAa,CAACD,UAAU;AAEpC,MAAME,kBAAkB,GAAAC,OAAA,CAAAD,kBAAA,GAAG,wBAAwB;AAa1D,MAAME,sBAAsB,GAC1B,IAAAC,mCAAsB,EAAcH,kBAAkB,CAAC;;AAEzD;AACA;AACA;AACO,MAAMI,kBAAkB,GAAGA,CAAC;EACjCC,QAAQ,GAAGP,UAAU,CAACQ,WAAW,CAACC,eAAe;EACjD,GAAGC;AACoB,CAAC,KAAK;EAC7B,MAAM;IAAEC,SAAS;IAAEC;EAAe,CAAC,GAAG,IAAAC,kCAAgB,EAGpD;IACA,GAAGH,KAAK;IACRH;EACF,CAAC,CAAC;EAEF,oBAAO,IAAAR,WAAA,CAAAe,GAAA,EAACV,sBAAsB;IAACW,GAAG,EAAEH,cAAe;IAAA,GAAKD;EAAS,CAAG,CAAC;AACvE,CAAC;AAACR,OAAA,CAAAG,kBAAA,GAAAA,kBAAA","ignoreList":[]}
1
+ {"version":3,"names":["_reactNative","require","_useAbstractLayer","_jsxRuntime","MLRNModule","NativeModules","NATIVE_MODULE_NAME","exports","MLRNFillExtrusionLayer","requireNativeComponent","FillExtrusionLayer","sourceID","StyleSource","DefaultSourceID","props","baseProps","setNativeLayer","useAbstractLayer","jsx","ref"],"sourceRoot":"../../../../src","sources":["components/layers/FillExtrusionLayer.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAEA,IAAAC,iBAAA,GAAAD,OAAA;AAIsC,IAAAE,WAAA,GAAAF,OAAA;AAItC,MAAMG,UAAU,GAAGC,0BAAa,CAACD,UAAU;AAEpC,MAAME,kBAAkB,GAAAC,OAAA,CAAAD,kBAAA,GAAG,wBAAwB;AAY1D,MAAME,sBAAsB,GAC1B,IAAAC,mCAAsB,EAAcH,kBAAkB,CAAC;;AAEzD;AACA;AACA;AACO,MAAMI,kBAAkB,GAAGA,CAAC;EACjCC,QAAQ,GAAGP,UAAU,CAACQ,WAAW,CAACC,eAAe;EACjD,GAAGC;AACoB,CAAC,KAAK;EAC7B,MAAM;IAAEC,SAAS;IAAEC;EAAe,CAAC,GAAG,IAAAC,kCAAgB,EAGpD;IACA,GAAGH,KAAK;IACRH;EACF,CAAC,CAAC;EAEF,oBAAO,IAAAR,WAAA,CAAAe,GAAA,EAACV,sBAAsB;IAACW,GAAG,EAAEH,cAAe;IAAA,GAAKD;EAAS,CAAG,CAAC;AACvE,CAAC;AAACR,OAAA,CAAAG,kBAAA,GAAAA,kBAAA","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["_reactNative","require","_useAbstractLayer","_jsxRuntime","MLRNModule","NativeModules","NATIVE_MODULE_NAME","exports","MLRNHeatmapLayer","requireNativeComponent","HeatmapLayer","sourceID","StyleSource","DefaultSourceID","props","baseProps","setNativeLayer","useAbstractLayer","jsx","ref"],"sourceRoot":"../../../../src","sources":["components/layers/HeatmapLayer.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAEA,IAAAC,iBAAA,GAAAD,OAAA;AAIsC,IAAAE,WAAA,GAAAF,OAAA;AAItC,MAAMG,UAAU,GAAGC,0BAAa,CAACD,UAAU;AAEpC,MAAME,kBAAkB,GAAAC,OAAA,CAAAD,kBAAA,GAAG,kBAAkB;AAapD,MAAME,gBAAgB,GACpB,IAAAC,mCAAsB,EAAcH,kBAAkB,CAAC;AACzD;AACA;AACA;AACO,MAAMI,YAAY,GAAGA,CAAC;EAC3BC,QAAQ,GAAGP,UAAU,CAACQ,WAAW,CAACC,eAAe;EACjD,GAAGC;AACc,CAAC,KAAK;EACvB,MAAM;IAAEC,SAAS;IAAEC;EAAe,CAAC,GAAG,IAAAC,kCAAgB,EAGpD;IACA,GAAGH,KAAK;IACRH;EACF,CAAC,CAAC;EAEF,oBAAO,IAAAR,WAAA,CAAAe,GAAA,EAACV,gBAAgB;IAACW,GAAG,EAAEH,cAAe;IAAA,GAAKD;EAAS,CAAG,CAAC;AACjE,CAAC;AAACR,OAAA,CAAAG,YAAA,GAAAA,YAAA","ignoreList":[]}
1
+ {"version":3,"names":["_reactNative","require","_useAbstractLayer","_jsxRuntime","MLRNModule","NativeModules","NATIVE_MODULE_NAME","exports","MLRNHeatmapLayer","requireNativeComponent","HeatmapLayer","sourceID","StyleSource","DefaultSourceID","props","baseProps","setNativeLayer","useAbstractLayer","jsx","ref"],"sourceRoot":"../../../../src","sources":["components/layers/HeatmapLayer.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAEA,IAAAC,iBAAA,GAAAD,OAAA;AAIsC,IAAAE,WAAA,GAAAF,OAAA;AAItC,MAAMG,UAAU,GAAGC,0BAAa,CAACD,UAAU;AAEpC,MAAME,kBAAkB,GAAAC,OAAA,CAAAD,kBAAA,GAAG,kBAAkB;AAYpD,MAAME,gBAAgB,GACpB,IAAAC,mCAAsB,EAAcH,kBAAkB,CAAC;AACzD;AACA;AACA;AACO,MAAMI,YAAY,GAAGA,CAAC;EAC3BC,QAAQ,GAAGP,UAAU,CAACQ,WAAW,CAACC,eAAe;EACjD,GAAGC;AACc,CAAC,KAAK;EACvB,MAAM;IAAEC,SAAS;IAAEC;EAAe,CAAC,GAAG,IAAAC,kCAAgB,EAGpD;IACA,GAAGH,KAAK;IACRH;EACF,CAAC,CAAC;EAEF,oBAAO,IAAAR,WAAA,CAAAe,GAAA,EAACV,gBAAgB;IAACW,GAAG,EAAEH,cAAe;IAAA,GAAKD;EAAS,CAAG,CAAC;AACjE,CAAC;AAACR,OAAA,CAAAG,YAAA,GAAAA,YAAA","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["_reactNative","require","_useAbstractLayer","_jsxRuntime","MLRNModule","NativeModules","NATIVE_MODULE_NAME","exports","MLRNRasterLayer","requireNativeComponent","RasterLayer","sourceID","StyleSource","DefaultSourceID","props","baseProps","setNativeLayer","useAbstractLayer","jsx","ref"],"sourceRoot":"../../../../src","sources":["components/layers/RasterLayer.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAEA,IAAAC,iBAAA,GAAAD,OAAA;AAIsC,IAAAE,WAAA,GAAAF,OAAA;AAItC,MAAMG,UAAU,GAAGC,0BAAa,CAACD,UAAU;AAEpC,MAAME,kBAAkB,GAAAC,OAAA,CAAAD,kBAAA,GAAG,iBAAiB;AAanD,MAAME,eAAe,GAAG,IAAAC,mCAAsB,EAAcH,kBAAkB,CAAC;AAExE,MAAMI,WAAW,GAAGA,CAAC;EAC1BC,QAAQ,GAAGP,UAAU,CAACQ,WAAW,CAACC,eAAe;EACjD,GAAGC;AACa,CAAC,KAAK;EACtB,MAAM;IAAEC,SAAS;IAAEC;EAAe,CAAC,GAAG,IAAAC,kCAAgB,EAGpD;IACA,GAAGH,KAAK;IACRH;EACF,CAAC,CAAC;EAEF,oBAAO,IAAAR,WAAA,CAAAe,GAAA,EAACV,eAAe;IAACW,GAAG,EAAEH,cAAe;IAAA,GAAKD;EAAS,CAAG,CAAC;AAChE,CAAC;AAACR,OAAA,CAAAG,WAAA,GAAAA,WAAA","ignoreList":[]}
1
+ {"version":3,"names":["_reactNative","require","_useAbstractLayer","_jsxRuntime","MLRNModule","NativeModules","NATIVE_MODULE_NAME","exports","MLRNRasterLayer","requireNativeComponent","RasterLayer","sourceID","StyleSource","DefaultSourceID","props","baseProps","setNativeLayer","useAbstractLayer","jsx","ref"],"sourceRoot":"../../../../src","sources":["components/layers/RasterLayer.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAEA,IAAAC,iBAAA,GAAAD,OAAA;AAIsC,IAAAE,WAAA,GAAAF,OAAA;AAItC,MAAMG,UAAU,GAAGC,0BAAa,CAACD,UAAU;AAEpC,MAAME,kBAAkB,GAAAC,OAAA,CAAAD,kBAAA,GAAG,iBAAiB;AAYnD,MAAME,eAAe,GAAG,IAAAC,mCAAsB,EAAcH,kBAAkB,CAAC;AAExE,MAAMI,WAAW,GAAGA,CAAC;EAC1BC,QAAQ,GAAGP,UAAU,CAACQ,WAAW,CAACC,eAAe;EACjD,GAAGC;AACa,CAAC,KAAK;EACtB,MAAM;IAAEC,SAAS;IAAEC;EAAe,CAAC,GAAG,IAAAC,kCAAgB,EAGpD;IACA,GAAGH,KAAK;IACRH;EACF,CAAC,CAAC;EAEF,oBAAO,IAAAR,WAAA,CAAAe,GAAA,EAACV,eAAe;IAACW,GAAG,EAAEH,cAAe;IAAA,GAAKD;EAAS,CAAG,CAAC;AAChE,CAAC;AAACR,OAAA,CAAAG,WAAA,GAAAA,WAAA","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["_reactNative","require","_useAbstractLayer","_jsxRuntime","MLRNModule","NativeModules","NATIVE_MODULE_NAME","exports","MLRNSymbolLayer","requireNativeComponent","SymbolLayer","sourceID","StyleSource","DefaultSourceID","props","baseProps","setNativeLayer","useAbstractLayer","updatedProps","jsx","ref"],"sourceRoot":"../../../../src","sources":["components/layers/SymbolLayer.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAEA,IAAAC,iBAAA,GAAAD,OAAA;AAIsC,IAAAE,WAAA,GAAAF,OAAA;AAItC,MAAMG,UAAU,GAAGC,0BAAa,CAACD,UAAU;AAEpC,MAAME,kBAAkB,GAAAC,OAAA,CAAAD,kBAAA,GAAG,iBAAiB;AAanD,MAAME,eAAe,GAAG,IAAAC,mCAAsB,EAAcH,kBAAkB,CAAC;;AAE/E;AACA;AACA;AACO,MAAMI,WAAW,GAAGA,CAAC;EAC1BC,QAAQ,GAAGP,UAAU,CAACQ,WAAW,CAACC,eAAe;EACjD,GAAGC;AACa,CAAC,KAAK;EACtB,MAAM;IAAEC,SAAS;IAAEC;EAAe,CAAC,GAAG,IAAAC,kCAAgB,EAGpD;IACA,GAAGH,KAAK;IACRH;EACF,CAAC,CAAC;EAEF,MAAMO,YAAY,GAAG;IACnB,GAAGH;EACL,CAAC;EAED,oBAAO,IAAAZ,WAAA,CAAAgB,GAAA,EAACX,eAAe;IAACY,GAAG,EAAEJ,cAAe;IAAA,GAAKE;EAAY,CAAG,CAAC;AACnE,CAAC;AAACX,OAAA,CAAAG,WAAA,GAAAA,WAAA","ignoreList":[]}
1
+ {"version":3,"names":["_reactNative","require","_useAbstractLayer","_jsxRuntime","MLRNModule","NativeModules","NATIVE_MODULE_NAME","exports","MLRNSymbolLayer","requireNativeComponent","SymbolLayer","sourceID","StyleSource","DefaultSourceID","props","baseProps","setNativeLayer","useAbstractLayer","updatedProps","jsx","ref"],"sourceRoot":"../../../../src","sources":["components/layers/SymbolLayer.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAEA,IAAAC,iBAAA,GAAAD,OAAA;AAIsC,IAAAE,WAAA,GAAAF,OAAA;AAItC,MAAMG,UAAU,GAAGC,0BAAa,CAACD,UAAU;AAEpC,MAAME,kBAAkB,GAAAC,OAAA,CAAAD,kBAAA,GAAG,iBAAiB;AAYnD,MAAME,eAAe,GAAG,IAAAC,mCAAsB,EAAcH,kBAAkB,CAAC;;AAE/E;AACA;AACA;AACO,MAAMI,WAAW,GAAGA,CAAC;EAC1BC,QAAQ,GAAGP,UAAU,CAACQ,WAAW,CAACC,eAAe;EACjD,GAAGC;AACa,CAAC,KAAK;EACtB,MAAM;IAAEC,SAAS;IAAEC;EAAe,CAAC,GAAG,IAAAC,kCAAgB,EAGpD;IACA,GAAGH,KAAK;IACRH;EACF,CAAC,CAAC;EAEF,MAAMO,YAAY,GAAG;IACnB,GAAGH;EACL,CAAC;EAED,oBAAO,IAAAZ,WAAA,CAAAgB,GAAA,EAACX,eAAe;IAACY,GAAG,EAAEJ,cAAe;IAAA,GAAKE;EAAY,CAAG,CAAC;AACnE,CAAC;AAACX,OAAA,CAAAG,WAAA,GAAAA,WAAA","ignoreList":[]}