@aguacerowx/react-native 0.0.9 → 0.0.12

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 (400) hide show
  1. package/README.md +60 -60
  2. package/android/build.gradle +83 -84
  3. package/android/src/main/AndroidManifest.xml +6 -6
  4. package/android/src/main/java/com/aguacerowx/reactnative/AguaceroPackage.java +33 -33
  5. package/android/src/main/java/com/aguacerowx/reactnative/GridRenderLayer.java +611 -611
  6. package/android/src/main/java/com/aguacerowx/reactnative/GridRenderLayerView.java +299 -299
  7. package/android/src/main/java/com/aguacerowx/reactnative/GridRenderManager.java +117 -117
  8. package/android/src/main/java/com/aguacerowx/reactnative/InspectorModule.java +71 -71
  9. package/android/src/main/java/com/aguacerowx/reactnative/ShaderUtils.java +106 -106
  10. package/android/src/main/java/com/aguacerowx/reactnative/WeatherFrameProcessorModule.java +151 -151
  11. package/android/src/main/java/com/facebook/react/viewmanagers/.gitkeep +0 -0
  12. package/android/src/main/java/com/facebook/react/viewmanagers/GridRenderLayerManagerDelegate.java +0 -0
  13. package/android/src/main/java/com/facebook/react/viewmanagers/GridRenderLayerManagerInterface.java +0 -0
  14. package/android/src/main/res/raw/debug_fragment_shader.glsl +12 -12
  15. package/android/src/main/res/raw/debug_vertex_shader.glsl +12 -12
  16. package/android/src/main/res/raw/fragment_shader.glsl +97 -97
  17. package/android/src/main/res/raw/vertex_shader.glsl +19 -19
  18. package/index.js +1 -1
  19. package/ios/AguaceroPackage.m +18 -18
  20. package/ios/FragmentUniforms.swift +13 -13
  21. package/ios/GridRenderLayer.swift +962 -962
  22. package/ios/GridRenderLayerBridge.swift +29 -29
  23. package/ios/GridRenderLayerManager.mm +145 -145
  24. package/ios/GridRenderLayerView.h +22 -22
  25. package/ios/GridRenderLayerView.m +199 -199
  26. package/ios/InspectorDataCache.swift +65 -65
  27. package/ios/InspectorModule.m +9 -9
  28. package/ios/InspectorModule.swift +63 -63
  29. package/ios/Shaders.metal +130 -130
  30. package/ios/WeatherFrameProcessorModule.m +15 -15
  31. package/ios/WeatherFrameProcessorModule.swift +103 -103
  32. package/ios/aguacerowx-react-native.podspec +36 -35
  33. package/ios/generated/.gitkeep +0 -0
  34. package/ios/generated/AguaceroWxReactNativeSpec-generated.mm +0 -0
  35. package/ios/generated/AguaceroWxReactNativeSpec.h +0 -0
  36. package/lib/commonjs/README.md +60 -60
  37. package/lib/commonjs/android/build.gradle +83 -84
  38. package/lib/commonjs/android/src/main/AndroidManifest.xml +6 -6
  39. package/lib/commonjs/android/src/main/java/com/aguacerowx/reactnative/AguaceroPackage.java +33 -33
  40. package/lib/commonjs/android/src/main/java/com/aguacerowx/reactnative/GridRenderLayer.java +611 -611
  41. package/lib/commonjs/android/src/main/java/com/aguacerowx/reactnative/GridRenderLayerView.java +299 -299
  42. package/lib/commonjs/android/src/main/java/com/aguacerowx/reactnative/GridRenderManager.java +117 -117
  43. package/lib/commonjs/android/src/main/java/com/aguacerowx/reactnative/InspectorModule.java +71 -71
  44. package/lib/commonjs/android/src/main/java/com/aguacerowx/reactnative/ShaderUtils.java +106 -106
  45. package/lib/commonjs/android/src/main/java/com/aguacerowx/reactnative/WeatherFrameProcessorModule.java +151 -151
  46. package/lib/commonjs/android/src/main/java/com/facebook/react/viewmanagers/GridRenderLayerManagerDelegate.java +0 -0
  47. package/lib/commonjs/android/src/main/java/com/facebook/react/viewmanagers/GridRenderLayerManagerInterface.java +0 -0
  48. package/lib/commonjs/android/src/main/res/raw/debug_fragment_shader.glsl +12 -12
  49. package/lib/commonjs/android/src/main/res/raw/debug_vertex_shader.glsl +12 -12
  50. package/lib/commonjs/android/src/main/res/raw/fragment_shader.glsl +97 -97
  51. package/lib/commonjs/android/src/main/res/raw/vertex_shader.glsl +19 -19
  52. package/lib/commonjs/babel.config.js.map +1 -1
  53. package/lib/commonjs/index.js.map +1 -1
  54. package/lib/commonjs/ios/AguaceroPackage.m +18 -18
  55. package/lib/commonjs/ios/FragmentUniforms.swift +13 -13
  56. package/lib/commonjs/ios/GridRenderLayer.swift +962 -962
  57. package/lib/commonjs/ios/GridRenderLayerBridge.swift +29 -29
  58. package/lib/commonjs/ios/GridRenderLayerManager.mm +145 -145
  59. package/lib/commonjs/ios/GridRenderLayerView.h +22 -22
  60. package/lib/commonjs/ios/GridRenderLayerView.m +199 -199
  61. package/lib/commonjs/ios/InspectorDataCache.swift +65 -65
  62. package/lib/commonjs/ios/InspectorModule.m +9 -9
  63. package/lib/commonjs/ios/InspectorModule.swift +63 -63
  64. package/lib/commonjs/ios/Shaders.metal +130 -130
  65. package/lib/commonjs/ios/WeatherFrameProcessorModule.m +15 -15
  66. package/lib/commonjs/ios/WeatherFrameProcessorModule.swift +103 -103
  67. package/lib/commonjs/ios/aguacerowx-react-native.podspec +36 -35
  68. package/lib/commonjs/ios/generated/AguaceroWxReactNativeSpec-generated.mm +0 -0
  69. package/lib/commonjs/ios/generated/AguaceroWxReactNativeSpec.h +0 -0
  70. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/AguaceroCore.js.map +1 -1
  71. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/coordinate_configs.js.map +1 -1
  72. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/default-colormaps.js.map +1 -1
  73. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/dictionaries.js.map +1 -1
  74. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/events.js.map +1 -1
  75. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/fill-layer-worker.js.map +1 -1
  76. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/getBundleId.js.map +1 -1
  77. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/index.js.map +1 -1
  78. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/map-styles.js.map +1 -1
  79. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/unitConversions.js.map +1 -1
  80. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/package.json +1 -1
  81. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/AguaceroCore.js.map +1 -1
  82. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/coordinate_configs.js.map +1 -1
  83. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/default-colormaps.js.map +1 -1
  84. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/dictionaries.js.map +1 -1
  85. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/events.js.map +1 -1
  86. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/fill-layer-worker.js.map +1 -1
  87. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/getBundleId.js.map +1 -1
  88. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/index.js.map +1 -1
  89. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/map-styles.js.map +1 -1
  90. package/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/unitConversions.js.map +1 -1
  91. package/lib/commonjs/package.json +71 -65
  92. package/lib/commonjs/react-native-builder-bob.config.js.map +1 -1
  93. package/lib/commonjs/src/AguaceroContext.js.map +1 -1
  94. package/lib/commonjs/src/GridRenderLayer.js.map +1 -1
  95. package/lib/commonjs/src/GridRenderLayerNativeComponent.js.map +1 -1
  96. package/lib/commonjs/src/MapManager.js.map +1 -1
  97. package/lib/commonjs/src/MapRegistry.js.map +1 -1
  98. package/lib/commonjs/src/StyleApplicator.js +6 -6
  99. package/lib/commonjs/src/StyleApplicator.js.map +1 -1
  100. package/lib/commonjs/src/WeatherLayerManager.js +2 -2
  101. package/lib/commonjs/src/WeatherLayerManager.js.map +1 -1
  102. package/lib/commonjs/tsconfig.json +23 -23
  103. package/lib/module/README.md +60 -60
  104. package/lib/module/android/build.gradle +83 -84
  105. package/lib/module/android/src/main/AndroidManifest.xml +6 -6
  106. package/lib/module/android/src/main/java/com/aguacerowx/reactnative/AguaceroPackage.java +33 -33
  107. package/lib/module/android/src/main/java/com/aguacerowx/reactnative/GridRenderLayer.java +611 -611
  108. package/lib/module/android/src/main/java/com/aguacerowx/reactnative/GridRenderLayerView.java +299 -299
  109. package/lib/module/android/src/main/java/com/aguacerowx/reactnative/GridRenderManager.java +117 -117
  110. package/lib/module/android/src/main/java/com/aguacerowx/reactnative/InspectorModule.java +71 -71
  111. package/lib/module/android/src/main/java/com/aguacerowx/reactnative/ShaderUtils.java +106 -106
  112. package/lib/module/android/src/main/java/com/aguacerowx/reactnative/WeatherFrameProcessorModule.java +151 -151
  113. package/lib/module/android/src/main/java/com/facebook/react/viewmanagers/GridRenderLayerManagerDelegate.java +0 -0
  114. package/lib/module/android/src/main/java/com/facebook/react/viewmanagers/GridRenderLayerManagerInterface.java +0 -0
  115. package/lib/module/android/src/main/res/raw/debug_fragment_shader.glsl +12 -12
  116. package/lib/module/android/src/main/res/raw/debug_vertex_shader.glsl +12 -12
  117. package/lib/module/android/src/main/res/raw/fragment_shader.glsl +97 -97
  118. package/lib/module/android/src/main/res/raw/vertex_shader.glsl +19 -19
  119. package/lib/module/babel.config.js.map +1 -1
  120. package/lib/module/index.js.map +1 -1
  121. package/lib/module/ios/AguaceroPackage.m +18 -18
  122. package/lib/module/ios/FragmentUniforms.swift +13 -13
  123. package/lib/module/ios/GridRenderLayer.swift +962 -962
  124. package/lib/module/ios/GridRenderLayerBridge.swift +29 -29
  125. package/lib/module/ios/GridRenderLayerManager.mm +145 -145
  126. package/lib/module/ios/GridRenderLayerView.h +22 -22
  127. package/lib/module/ios/GridRenderLayerView.m +199 -199
  128. package/lib/module/ios/InspectorDataCache.swift +65 -65
  129. package/lib/module/ios/InspectorModule.m +9 -9
  130. package/lib/module/ios/InspectorModule.swift +63 -63
  131. package/lib/module/ios/Shaders.metal +130 -130
  132. package/lib/module/ios/WeatherFrameProcessorModule.m +15 -15
  133. package/lib/module/ios/WeatherFrameProcessorModule.swift +103 -103
  134. package/lib/module/ios/aguacerowx-react-native.podspec +36 -35
  135. package/lib/module/ios/generated/AguaceroWxReactNativeSpec-generated.mm +0 -0
  136. package/lib/module/ios/generated/AguaceroWxReactNativeSpec.h +0 -0
  137. package/lib/module/lib/commonjs/README.md +60 -60
  138. package/lib/module/lib/commonjs/android/build.gradle +83 -84
  139. package/lib/module/lib/commonjs/android/src/main/AndroidManifest.xml +6 -6
  140. package/lib/module/lib/commonjs/babel.config.js.map +1 -1
  141. package/lib/module/lib/commonjs/index.js.map +1 -1
  142. package/lib/module/lib/commonjs/ios/AguaceroPackage.m +18 -18
  143. package/lib/module/lib/commonjs/ios/FragmentUniforms.swift +13 -13
  144. package/lib/module/lib/commonjs/ios/GridRenderLayer.swift +962 -962
  145. package/lib/module/lib/commonjs/ios/GridRenderLayerBridge.swift +29 -29
  146. package/lib/module/lib/commonjs/ios/GridRenderLayerManager.mm +145 -145
  147. package/lib/module/lib/commonjs/ios/GridRenderLayerView.h +22 -22
  148. package/lib/module/lib/commonjs/ios/GridRenderLayerView.m +199 -199
  149. package/lib/module/lib/commonjs/ios/InspectorDataCache.swift +65 -65
  150. package/lib/module/lib/commonjs/ios/InspectorModule.m +9 -9
  151. package/lib/module/lib/commonjs/ios/InspectorModule.swift +63 -63
  152. package/lib/module/lib/commonjs/ios/Shaders.metal +130 -130
  153. package/lib/module/lib/commonjs/ios/WeatherFrameProcessorModule.m +15 -15
  154. package/lib/module/lib/commonjs/ios/WeatherFrameProcessorModule.swift +103 -103
  155. package/lib/module/lib/commonjs/ios/aguacerowx-react-native.podspec +36 -35
  156. package/lib/module/lib/commonjs/ios/generated/AguaceroWxReactNativeSpec-generated.mm +0 -0
  157. package/lib/module/lib/commonjs/ios/generated/AguaceroWxReactNativeSpec.h +0 -0
  158. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/AguaceroCore.js.map +1 -1
  159. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/coordinate_configs.js.map +1 -1
  160. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/default-colormaps.js.map +1 -1
  161. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/dictionaries.js.map +1 -1
  162. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/events.js.map +1 -1
  163. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/fill-layer-worker.js.map +1 -1
  164. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/getBundleId.js.map +1 -1
  165. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/index.js.map +1 -1
  166. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/map-styles.js.map +1 -1
  167. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/dist/unitConversions.js.map +1 -1
  168. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/package.json +1 -1
  169. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/AguaceroCore.js.map +1 -1
  170. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/coordinate_configs.js.map +1 -1
  171. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/default-colormaps.js.map +1 -1
  172. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/dictionaries.js.map +1 -1
  173. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/events.js.map +1 -1
  174. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/fill-layer-worker.js.map +1 -1
  175. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/getBundleId.js.map +1 -1
  176. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/index.js.map +1 -1
  177. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/map-styles.js.map +1 -1
  178. package/lib/module/lib/commonjs/node_modules/@aguacerowx/javascript-sdk/src/unitConversions.js.map +1 -1
  179. package/lib/module/lib/commonjs/package.json +71 -65
  180. package/lib/module/lib/commonjs/react-native-builder-bob.config.js.map +1 -1
  181. package/lib/module/lib/commonjs/src/AguaceroContext.js.map +1 -1
  182. package/lib/module/lib/commonjs/src/GridRenderLayer.js.map +1 -1
  183. package/lib/module/lib/commonjs/src/GridRenderLayerNativeComponent.js.map +1 -1
  184. package/lib/module/lib/commonjs/src/MapManager.js.map +1 -1
  185. package/lib/module/lib/commonjs/src/MapRegistry.js.map +1 -1
  186. package/lib/module/lib/commonjs/src/StyleApplicator.js +6 -6
  187. package/lib/module/lib/commonjs/src/StyleApplicator.js.map +1 -1
  188. package/lib/module/lib/commonjs/src/WeatherLayerManager.js +2 -2
  189. package/lib/module/lib/commonjs/src/WeatherLayerManager.js.map +1 -1
  190. package/lib/module/lib/commonjs/tsconfig.json +23 -23
  191. package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/AguaceroCore.js.map +1 -1
  192. package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/coordinate_configs.js.map +1 -1
  193. package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/default-colormaps.js.map +1 -1
  194. package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/dictionaries.js.map +1 -1
  195. package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/events.js.map +1 -1
  196. package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/fill-layer-worker.js.map +1 -1
  197. package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/getBundleId.js.map +1 -1
  198. package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/index.js.map +1 -1
  199. package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/map-styles.js.map +1 -1
  200. package/lib/module/node_modules/@aguacerowx/javascript-sdk/dist/unitConversions.js.map +1 -1
  201. package/lib/module/node_modules/@aguacerowx/javascript-sdk/package.json +1 -1
  202. package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/AguaceroCore.js.map +1 -1
  203. package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/coordinate_configs.js.map +1 -1
  204. package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/default-colormaps.js.map +1 -1
  205. package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/dictionaries.js.map +1 -1
  206. package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/events.js.map +1 -1
  207. package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/fill-layer-worker.js.map +1 -1
  208. package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/getBundleId.js.map +1 -1
  209. package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/index.js.map +1 -1
  210. package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/map-styles.js.map +1 -1
  211. package/lib/module/node_modules/@aguacerowx/javascript-sdk/src/unitConversions.js.map +1 -1
  212. package/lib/module/package.json +71 -65
  213. package/lib/module/react-native-builder-bob.config.js.map +1 -1
  214. package/lib/module/src/AguaceroContext.js.map +1 -1
  215. package/lib/module/src/GridRenderLayer.js.map +1 -1
  216. package/lib/module/src/GridRenderLayerNativeComponent.js.map +1 -1
  217. package/lib/module/src/MapManager.js.map +1 -1
  218. package/lib/module/src/MapRegistry.js.map +1 -1
  219. package/lib/module/src/StyleApplicator.js +6 -6
  220. package/lib/module/src/StyleApplicator.js.map +1 -1
  221. package/lib/module/src/WeatherLayerManager.js +2 -2
  222. package/lib/module/src/WeatherLayerManager.js.map +1 -1
  223. package/lib/module/tsconfig.json +23 -23
  224. package/package.json +71 -65
  225. package/src/AguaceroContext.js +3 -3
  226. package/src/GridRenderLayer.js +204 -204
  227. package/src/GridRenderLayerNativeComponent.ts +15 -15
  228. package/src/MapManager.js +155 -155
  229. package/src/MapRegistry.js +34 -34
  230. package/src/StyleApplicator.js +240 -240
  231. package/src/WeatherLayerManager.js +872 -872
  232. package/android/build/.transforms/78b892a9dae44f36e51ff0649e9c6e36/results.bin +0 -1
  233. package/android/build/.transforms/78b892a9dae44f36e51ff0649e9c6e36/transformed/classes/classes_dex/classes.dex +0 -0
  234. package/android/build/.transforms/f4de14556a82e99f0d27ddcab762b219/results.bin +0 -1
  235. package/android/build/.transforms/f4de14556a82e99f0d27ddcab762b219/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/AguaceroPackage.dex +0 -0
  236. package/android/build/.transforms/f4de14556a82e99f0d27ddcab762b219/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/BuildConfig.dex +0 -0
  237. package/android/build/.transforms/f4de14556a82e99f0d27ddcab762b219/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/GridRenderLayer$VertexInfo.dex +0 -0
  238. package/android/build/.transforms/f4de14556a82e99f0d27ddcab762b219/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/GridRenderLayer.dex +0 -0
  239. package/android/build/.transforms/f4de14556a82e99f0d27ddcab762b219/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/GridRenderLayerView.dex +0 -0
  240. package/android/build/.transforms/f4de14556a82e99f0d27ddcab762b219/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/GridRenderManager.dex +0 -0
  241. package/android/build/.transforms/f4de14556a82e99f0d27ddcab762b219/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/InspectorModule.dex +0 -0
  242. package/android/build/.transforms/f4de14556a82e99f0d27ddcab762b219/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/ShaderUtils.dex +0 -0
  243. package/android/build/.transforms/f4de14556a82e99f0d27ddcab762b219/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/com/aguacerowx/reactnative/WeatherFrameProcessorModule.dex +0 -0
  244. package/android/build/.transforms/f4de14556a82e99f0d27ddcab762b219/transformed/bundleLibRuntimeToDirDebug/desugar_graph.bin +0 -0
  245. package/android/build/generated/source/buildConfig/debug/com/aguacerowx/reactnative/BuildConfig.java +0 -10
  246. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +0 -8
  247. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +0 -18
  248. package/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +0 -6
  249. package/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +0 -1
  250. package/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
  251. package/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
  252. package/android/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt +0 -4
  253. package/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_debug_fragment_shader.glsl.flat +0 -0
  254. package/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_debug_vertex_shader.glsl.flat +0 -0
  255. package/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_fragment_shader.glsl.flat +0 -0
  256. package/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_vertex_shader.glsl.flat +0 -0
  257. package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +0 -5
  258. package/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +0 -2
  259. package/android/build/intermediates/incremental/mergeDebugAssets/merger.xml +0 -2
  260. package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +0 -2
  261. package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +0 -2
  262. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/AguaceroPackage.class +0 -0
  263. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/BuildConfig.class +0 -0
  264. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayer$VertexInfo.class +0 -0
  265. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayer.class +0 -0
  266. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayerView.class +0 -0
  267. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderManager.class +0 -0
  268. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/InspectorModule.class +0 -0
  269. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/ShaderUtils.class +0 -0
  270. package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/WeatherFrameProcessorModule.class +0 -0
  271. package/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +0 -6
  272. package/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +0 -8
  273. package/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +0 -8
  274. package/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +0 -1
  275. package/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +0 -1
  276. package/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/debug_fragment_shader.glsl +0 -13
  277. package/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/debug_vertex_shader.glsl +0 -13
  278. package/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/fragment_shader.glsl +0 -98
  279. package/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/vertex_shader.glsl +0 -20
  280. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/AguaceroPackage.class +0 -0
  281. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/BuildConfig.class +0 -0
  282. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayer$VertexInfo.class +0 -0
  283. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayer.class +0 -0
  284. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayerView.class +0 -0
  285. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderManager.class +0 -0
  286. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/InspectorModule.class +0 -0
  287. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/ShaderUtils.class +0 -0
  288. package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/WeatherFrameProcessorModule.class +0 -0
  289. package/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
  290. package/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +0 -5
  291. package/android/build/outputs/logs/manifest-merger-debug-report.txt +0 -17
  292. package/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/AguaceroPackage.class.uniqueId1 +0 -0
  293. package/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderLayerView.class.uniqueId2 +0 -0
  294. package/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderManager.class.uniqueId3 +0 -0
  295. package/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/InspectorModule.class.uniqueId0 +0 -0
  296. package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
  297. package/lib/commonjs/android/build/generated/source/buildConfig/debug/com/aguacerowx/reactnative/BuildConfig.java +0 -10
  298. package/lib/commonjs/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +0 -8
  299. package/lib/commonjs/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +0 -18
  300. package/lib/commonjs/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +0 -6
  301. package/lib/commonjs/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +0 -1
  302. package/lib/commonjs/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
  303. package/lib/commonjs/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
  304. package/lib/commonjs/android/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt +0 -4
  305. package/lib/commonjs/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_debug_fragment_shader.glsl.flat +0 -0
  306. package/lib/commonjs/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_debug_vertex_shader.glsl.flat +0 -0
  307. package/lib/commonjs/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_fragment_shader.glsl.flat +0 -0
  308. package/lib/commonjs/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_vertex_shader.glsl.flat +0 -0
  309. package/lib/commonjs/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +0 -5
  310. package/lib/commonjs/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +0 -2
  311. package/lib/commonjs/android/build/intermediates/incremental/mergeDebugAssets/merger.xml +0 -2
  312. package/lib/commonjs/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +0 -2
  313. package/lib/commonjs/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +0 -2
  314. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/AguaceroPackage.class +0 -0
  315. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/BuildConfig.class +0 -0
  316. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayer$VertexInfo.class +0 -0
  317. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayer.class +0 -0
  318. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayerView.class +0 -0
  319. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderManager.class +0 -0
  320. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/InspectorModule.class +0 -0
  321. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/ShaderUtils.class +0 -0
  322. package/lib/commonjs/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/WeatherFrameProcessorModule.class +0 -0
  323. package/lib/commonjs/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +0 -6
  324. package/lib/commonjs/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +0 -8
  325. package/lib/commonjs/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +0 -8
  326. package/lib/commonjs/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +0 -1
  327. package/lib/commonjs/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +0 -1
  328. package/lib/commonjs/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/debug_fragment_shader.glsl +0 -13
  329. package/lib/commonjs/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/debug_vertex_shader.glsl +0 -13
  330. package/lib/commonjs/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/fragment_shader.glsl +0 -98
  331. package/lib/commonjs/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/vertex_shader.glsl +0 -20
  332. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/AguaceroPackage.class +0 -0
  333. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/BuildConfig.class +0 -0
  334. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayer$VertexInfo.class +0 -0
  335. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayer.class +0 -0
  336. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayerView.class +0 -0
  337. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderManager.class +0 -0
  338. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/InspectorModule.class +0 -0
  339. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/ShaderUtils.class +0 -0
  340. package/lib/commonjs/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/WeatherFrameProcessorModule.class +0 -0
  341. package/lib/commonjs/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
  342. package/lib/commonjs/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +0 -5
  343. package/lib/commonjs/android/build/outputs/logs/manifest-merger-debug-report.txt +0 -17
  344. package/lib/commonjs/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/AguaceroPackage.class.uniqueId1 +0 -0
  345. package/lib/commonjs/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderLayerView.class.uniqueId2 +0 -0
  346. package/lib/commonjs/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderManager.class.uniqueId3 +0 -0
  347. package/lib/commonjs/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/InspectorModule.class.uniqueId0 +0 -0
  348. package/lib/commonjs/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
  349. package/lib/module/android/build/generated/source/buildConfig/debug/com/aguacerowx/reactnative/BuildConfig.java +0 -10
  350. package/lib/module/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +0 -8
  351. package/lib/module/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +0 -18
  352. package/lib/module/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +0 -6
  353. package/lib/module/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +0 -1
  354. package/lib/module/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
  355. package/lib/module/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
  356. package/lib/module/android/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt +0 -4
  357. package/lib/module/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_debug_fragment_shader.glsl.flat +0 -0
  358. package/lib/module/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_debug_vertex_shader.glsl.flat +0 -0
  359. package/lib/module/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_fragment_shader.glsl.flat +0 -0
  360. package/lib/module/android/build/intermediates/compiled_local_resources/debug/compileDebugLibraryResources/out/raw_vertex_shader.glsl.flat +0 -0
  361. package/lib/module/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +0 -5
  362. package/lib/module/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +0 -2
  363. package/lib/module/android/build/intermediates/incremental/mergeDebugAssets/merger.xml +0 -2
  364. package/lib/module/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +0 -2
  365. package/lib/module/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +0 -2
  366. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/AguaceroPackage.class +0 -0
  367. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/BuildConfig.class +0 -0
  368. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayer$VertexInfo.class +0 -0
  369. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayer.class +0 -0
  370. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderLayerView.class +0 -0
  371. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/GridRenderManager.class +0 -0
  372. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/InspectorModule.class +0 -0
  373. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/ShaderUtils.class +0 -0
  374. package/lib/module/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/com/aguacerowx/reactnative/WeatherFrameProcessorModule.class +0 -0
  375. package/lib/module/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +0 -6
  376. package/lib/module/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +0 -8
  377. package/lib/module/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +0 -8
  378. package/lib/module/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +0 -1
  379. package/lib/module/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +0 -1
  380. package/lib/module/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/debug_fragment_shader.glsl +0 -13
  381. package/lib/module/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/debug_vertex_shader.glsl +0 -13
  382. package/lib/module/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/fragment_shader.glsl +0 -98
  383. package/lib/module/android/build/intermediates/packaged_res/debug/packageDebugResources/raw/vertex_shader.glsl +0 -20
  384. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/AguaceroPackage.class +0 -0
  385. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/BuildConfig.class +0 -0
  386. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayer$VertexInfo.class +0 -0
  387. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayer.class +0 -0
  388. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderLayerView.class +0 -0
  389. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/GridRenderManager.class +0 -0
  390. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/InspectorModule.class +0 -0
  391. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/ShaderUtils.class +0 -0
  392. package/lib/module/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/com/aguacerowx/reactnative/WeatherFrameProcessorModule.class +0 -0
  393. package/lib/module/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
  394. package/lib/module/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +0 -5
  395. package/lib/module/android/build/outputs/logs/manifest-merger-debug-report.txt +0 -17
  396. package/lib/module/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/AguaceroPackage.class.uniqueId1 +0 -0
  397. package/lib/module/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderLayerView.class.uniqueId2 +0 -0
  398. package/lib/module/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/GridRenderManager.class.uniqueId3 +0 -0
  399. package/lib/module/android/build/tmp/compileDebugJavaWithJavac/compileTransaction/stash-dir/InspectorModule.class.uniqueId0 +0 -0
  400. package/lib/module/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
@@ -1,30 +1,30 @@
1
- import Foundation
2
- @_spi(Experimental) import MapboxMaps
3
-
4
- @objc public class GridRenderLayerBridge: NSObject {
5
-
6
- @objc public static func addCustomLayer(
7
- to mapView: MapView,
8
- layerHost: CustomLayerHost,
9
- layerId: String,
10
- belowLayerId: String?
11
- ) -> Bool {
12
- let position: LayerPosition? = belowLayerId.map { .below($0) }
13
-
14
- // Create a CustomLayer object
15
- var customLayer = CustomLayer(id: layerId, renderer: layerHost)
16
-
17
- do {
18
- try mapView.mapboxMap.addLayer(customLayer, layerPosition: position)
19
- print("✅ [GridRenderLayerBridge] Successfully added custom layer!")
20
- return true
21
- } catch {
22
- print("❌ [GridRenderLayerBridge] Failed to add layer: \(error)")
23
- return false
24
- }
25
- }
26
-
27
- @objc public static func triggerRepaint(on mapView: MapView) {
28
- mapView.mapboxMap.triggerRepaint()
29
- }
1
+ import Foundation
2
+ @_spi(Experimental) import MapboxMaps
3
+
4
+ @objc public class GridRenderLayerBridge: NSObject {
5
+
6
+ @objc public static func addCustomLayer(
7
+ to mapView: MapView,
8
+ layerHost: CustomLayerHost,
9
+ layerId: String,
10
+ belowLayerId: String?
11
+ ) -> Bool {
12
+ let position: LayerPosition? = belowLayerId.map { .below($0) }
13
+
14
+ // Create a CustomLayer object
15
+ var customLayer = CustomLayer(id: layerId, renderer: layerHost)
16
+
17
+ do {
18
+ try mapView.mapboxMap.addLayer(customLayer, layerPosition: position)
19
+ print("✅ [GridRenderLayerBridge] Successfully added custom layer!")
20
+ return true
21
+ } catch {
22
+ print("❌ [GridRenderLayerBridge] Failed to add layer: \(error)")
23
+ return false
24
+ }
25
+ }
26
+
27
+ @objc public static func triggerRepaint(on mapView: MapView) {
28
+ mapView.mapboxMap.triggerRepaint()
29
+ }
30
30
  }
@@ -1,146 +1,146 @@
1
- #import <React/RCTViewManager.h>
2
- #import <React/RCTUIManager.h>
3
- #import <React/RCTLog.h>
4
- #import "GridRenderLayerView.h"
5
-
6
- // Import Swift bridging header here
7
- #if __has_include("aguacerowx_react_native-Swift.h")
8
- #import "aguacerowx_react_native-Swift.h"
9
- #else
10
- #import <aguacerowx_react_native/aguacerowx_react_native-Swift.h>
11
- #endif
12
-
13
- @interface GridRenderLayerManager : RCTViewManager
14
- @end
15
-
16
- @implementation GridRenderLayerManager
17
-
18
- RCT_EXPORT_MODULE(GridRenderLayer)
19
-
20
- + (BOOL)requiresMainQueueSetup {
21
- return YES;
22
- }
23
-
24
- - (UIView *)view {
25
- return [[GridRenderLayerView alloc] init];
26
- }
27
-
28
- // --- Props ---
29
- RCT_EXPORT_VIEW_PROPERTY(opacity, float)
30
- RCT_EXPORT_VIEW_PROPERTY(dataRange, NSArray)
31
- RCT_EXPORT_VIEW_PROPERTY(smoothing, BOOL)
32
- RCT_EXPORT_VIEW_PROPERTY(belowID, NSString)
33
-
34
- // --- Commands ---
35
- RCT_EXPORT_METHOD(updateGeometry:(nonnull NSNumber *)reactTag
36
- corners:(NSDictionary *)corners
37
- gridDef:(NSDictionary *)gridDef)
38
- {
39
- // OPTIMIZATION: Dispatch heavy geometry calculations to a high-priority background queue.
40
- dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0), ^{
41
- [self.bridge.uiManager addUIBlock:^(__unused RCTUIManager *uiManager, NSDictionary<NSNumber *, UIView *> *viewRegistry) {
42
- GridRenderLayerView *view = (GridRenderLayerView *)viewRegistry[reactTag];
43
- if ([view isKindOfClass:[GridRenderLayerView class]]) {
44
- [view.layerInstance updateGeometryWithCorners:corners gridDef:gridDef];
45
- }
46
- }];
47
- });
48
- }
49
-
50
-
51
- RCT_EXPORT_METHOD(updateDataTexture:(nonnull NSNumber *)reactTag
52
- data:(NSString *)data
53
- nx:(nonnull NSNumber *)nx
54
- ny:(nonnull NSNumber *)ny
55
- scale:(nonnull NSNumber *)scale
56
- offset:(nonnull NSNumber *)offset
57
- missing:(nonnull NSNumber *)missing
58
- scaleType:(NSString *)scaleType)
59
- {
60
- // OPTIMIZATION: Dispatch to a high-priority background queue immediately.
61
- // This unblocks the main thread and starts the heaviest work (data processing) sooner.
62
- dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0), ^{
63
- [self.bridge.uiManager addUIBlock:^(__unused RCTUIManager *uiManager, NSDictionary<NSNumber *, UIView *> *viewRegistry) {
64
- GridRenderLayerView *view = (GridRenderLayerView *)viewRegistry[reactTag];
65
- if ([view isKindOfClass:[GridRenderLayerView class]]) {
66
- [view.layerInstance updateDataTextureWithData:data nx:nx ny:ny scale:scale offset:offset missing:missing scaleType:scaleType];
67
- }
68
- }];
69
- });
70
- }
71
-
72
- RCT_EXPORT_METHOD(updateColormapTexture:(nonnull NSNumber *)reactTag
73
- colormapAsBase64:(NSString *)colormapAsBase64)
74
- {
75
- // Don't block the main thread - dispatch to background first
76
- dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0), ^{
77
- [self.bridge.uiManager addUIBlock:^(__unused RCTUIManager *uiManager, NSDictionary<NSNumber *, UIView *> *viewRegistry) {
78
- GridRenderLayerView *view = (GridRenderLayerView *)viewRegistry[reactTag];
79
- if ([view isKindOfClass:[GridRenderLayerView class]]) {
80
- [view.layerInstance updateColormapTextureWithColormapAsBase64:colormapAsBase64];
81
- }
82
- }];
83
- });
84
- }
85
-
86
- RCT_EXPORT_METHOD(updateDataParameters:(nonnull NSNumber *)reactTag
87
- scale:(nonnull NSNumber *)scale
88
- offset:(nonnull NSNumber *)offset
89
- missing:(nonnull NSNumber *)missing
90
- scaleType:(nonnull NSNumber *)scaleType) // ADD THIS
91
- {
92
- [self.bridge.uiManager addUIBlock:^(__unused RCTUIManager *uiManager, NSDictionary<NSNumber *, UIView *> *viewRegistry) {
93
- GridRenderLayerView *view = (GridRenderLayerView *)viewRegistry[reactTag];
94
- if ([view isKindOfClass:[GridRenderLayerView class]]) {
95
- [view.layerInstance updateDataParametersWithScale:scale offset:offset missing:missing scaleType:scaleType]; // ADD scaleType here
96
- }
97
- }];
98
- }
99
-
100
- RCT_EXPORT_METHOD(clear:(nonnull NSNumber *)reactTag)
101
- {
102
- [self.bridge.uiManager addUIBlock:^(__unused RCTUIManager *uiManager, NSDictionary<NSNumber *, UIView *> *viewRegistry) {
103
- GridRenderLayerView *view = (GridRenderLayerView *)viewRegistry[reactTag];
104
- if ([view isKindOfClass:[GridRenderLayerView class]]) {
105
- [view.layerInstance clear];
106
- }
107
- }];
108
- }
109
-
110
- RCT_EXPORT_METHOD(primeGpuCache:(nonnull NSNumber *)reactTag
111
- frameInfo:(NSDictionary *)frameInfo)
112
- {
113
- // OPTIMIZATION: Dispatch this immediately to a background thread to unblock JS.
114
- // The Swift implementation will then handle its own concurrency.
115
- dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
116
- [self.bridge.uiManager addUIBlock:^(__unused RCTUIManager *uiManager, NSDictionary<NSNumber *, UIView *> *viewRegistry) {
117
- GridRenderLayerView *view = (GridRenderLayerView *)viewRegistry[reactTag];
118
- if ([view isKindOfClass:[GridRenderLayerView class]]) {
119
- [view.layerInstance primeGpuCacheWithFrameInfo:frameInfo];
120
- }
121
- }];
122
- });
123
- }
124
-
125
- RCT_EXPORT_METHOD(setActiveFrame:(nonnull NSNumber *)reactTag
126
- cacheKey:(NSString *)cacheKey)
127
- {
128
- [self.bridge.uiManager addUIBlock:^(__unused RCTUIManager *uiManager, NSDictionary<NSNumber *, UIView *> *viewRegistry) {
129
- GridRenderLayerView *view = (GridRenderLayerView *)viewRegistry[reactTag];
130
- if ([view isKindOfClass:[GridRenderLayerView class]]) {
131
- [view.layerInstance setActiveFrameWithCacheKey:cacheKey];
132
- }
133
- }];
134
- }
135
-
136
- RCT_EXPORT_METHOD(clearGpuCache:(nonnull NSNumber *)reactTag)
137
- {
138
- [self.bridge.uiManager addUIBlock:^(__unused RCTUIManager *uiManager, NSDictionary<NSNumber *, UIView *> *viewRegistry) {
139
- GridRenderLayerView *view = (GridRenderLayerView *)viewRegistry[reactTag];
140
- if ([view isKindOfClass:[GridRenderLayerView class]]) {
141
- [view.layerInstance clearGpuCache];
142
- }
143
- }];
144
- }
145
-
1
+ #import <React/RCTViewManager.h>
2
+ #import <React/RCTUIManager.h>
3
+ #import <React/RCTLog.h>
4
+ #import "GridRenderLayerView.h"
5
+
6
+ // Import Swift bridging header here
7
+ #if __has_include("aguacerowx_react_native-Swift.h")
8
+ #import "aguacerowx_react_native-Swift.h"
9
+ #else
10
+ #import <aguacerowx_react_native/aguacerowx_react_native-Swift.h>
11
+ #endif
12
+
13
+ @interface GridRenderLayerManager : RCTViewManager
14
+ @end
15
+
16
+ @implementation GridRenderLayerManager
17
+
18
+ RCT_EXPORT_MODULE(GridRenderLayer)
19
+
20
+ + (BOOL)requiresMainQueueSetup {
21
+ return YES;
22
+ }
23
+
24
+ - (UIView *)view {
25
+ return [[GridRenderLayerView alloc] init];
26
+ }
27
+
28
+ // --- Props ---
29
+ RCT_EXPORT_VIEW_PROPERTY(opacity, float)
30
+ RCT_EXPORT_VIEW_PROPERTY(dataRange, NSArray)
31
+ RCT_EXPORT_VIEW_PROPERTY(smoothing, BOOL)
32
+ RCT_EXPORT_VIEW_PROPERTY(belowID, NSString)
33
+
34
+ // --- Commands ---
35
+ RCT_EXPORT_METHOD(updateGeometry:(nonnull NSNumber *)reactTag
36
+ corners:(NSDictionary *)corners
37
+ gridDef:(NSDictionary *)gridDef)
38
+ {
39
+ // OPTIMIZATION: Dispatch heavy geometry calculations to a high-priority background queue.
40
+ dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0), ^{
41
+ [self.bridge.uiManager addUIBlock:^(__unused RCTUIManager *uiManager, NSDictionary<NSNumber *, UIView *> *viewRegistry) {
42
+ GridRenderLayerView *view = (GridRenderLayerView *)viewRegistry[reactTag];
43
+ if ([view isKindOfClass:[GridRenderLayerView class]]) {
44
+ [view.layerInstance updateGeometryWithCorners:corners gridDef:gridDef];
45
+ }
46
+ }];
47
+ });
48
+ }
49
+
50
+
51
+ RCT_EXPORT_METHOD(updateDataTexture:(nonnull NSNumber *)reactTag
52
+ data:(NSString *)data
53
+ nx:(nonnull NSNumber *)nx
54
+ ny:(nonnull NSNumber *)ny
55
+ scale:(nonnull NSNumber *)scale
56
+ offset:(nonnull NSNumber *)offset
57
+ missing:(nonnull NSNumber *)missing
58
+ scaleType:(NSString *)scaleType)
59
+ {
60
+ // OPTIMIZATION: Dispatch to a high-priority background queue immediately.
61
+ // This unblocks the main thread and starts the heaviest work (data processing) sooner.
62
+ dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0), ^{
63
+ [self.bridge.uiManager addUIBlock:^(__unused RCTUIManager *uiManager, NSDictionary<NSNumber *, UIView *> *viewRegistry) {
64
+ GridRenderLayerView *view = (GridRenderLayerView *)viewRegistry[reactTag];
65
+ if ([view isKindOfClass:[GridRenderLayerView class]]) {
66
+ [view.layerInstance updateDataTextureWithData:data nx:nx ny:ny scale:scale offset:offset missing:missing scaleType:scaleType];
67
+ }
68
+ }];
69
+ });
70
+ }
71
+
72
+ RCT_EXPORT_METHOD(updateColormapTexture:(nonnull NSNumber *)reactTag
73
+ colormapAsBase64:(NSString *)colormapAsBase64)
74
+ {
75
+ // Don't block the main thread - dispatch to background first
76
+ dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0), ^{
77
+ [self.bridge.uiManager addUIBlock:^(__unused RCTUIManager *uiManager, NSDictionary<NSNumber *, UIView *> *viewRegistry) {
78
+ GridRenderLayerView *view = (GridRenderLayerView *)viewRegistry[reactTag];
79
+ if ([view isKindOfClass:[GridRenderLayerView class]]) {
80
+ [view.layerInstance updateColormapTextureWithColormapAsBase64:colormapAsBase64];
81
+ }
82
+ }];
83
+ });
84
+ }
85
+
86
+ RCT_EXPORT_METHOD(updateDataParameters:(nonnull NSNumber *)reactTag
87
+ scale:(nonnull NSNumber *)scale
88
+ offset:(nonnull NSNumber *)offset
89
+ missing:(nonnull NSNumber *)missing
90
+ scaleType:(nonnull NSNumber *)scaleType) // ADD THIS
91
+ {
92
+ [self.bridge.uiManager addUIBlock:^(__unused RCTUIManager *uiManager, NSDictionary<NSNumber *, UIView *> *viewRegistry) {
93
+ GridRenderLayerView *view = (GridRenderLayerView *)viewRegistry[reactTag];
94
+ if ([view isKindOfClass:[GridRenderLayerView class]]) {
95
+ [view.layerInstance updateDataParametersWithScale:scale offset:offset missing:missing scaleType:scaleType]; // ADD scaleType here
96
+ }
97
+ }];
98
+ }
99
+
100
+ RCT_EXPORT_METHOD(clear:(nonnull NSNumber *)reactTag)
101
+ {
102
+ [self.bridge.uiManager addUIBlock:^(__unused RCTUIManager *uiManager, NSDictionary<NSNumber *, UIView *> *viewRegistry) {
103
+ GridRenderLayerView *view = (GridRenderLayerView *)viewRegistry[reactTag];
104
+ if ([view isKindOfClass:[GridRenderLayerView class]]) {
105
+ [view.layerInstance clear];
106
+ }
107
+ }];
108
+ }
109
+
110
+ RCT_EXPORT_METHOD(primeGpuCache:(nonnull NSNumber *)reactTag
111
+ frameInfo:(NSDictionary *)frameInfo)
112
+ {
113
+ // OPTIMIZATION: Dispatch this immediately to a background thread to unblock JS.
114
+ // The Swift implementation will then handle its own concurrency.
115
+ dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
116
+ [self.bridge.uiManager addUIBlock:^(__unused RCTUIManager *uiManager, NSDictionary<NSNumber *, UIView *> *viewRegistry) {
117
+ GridRenderLayerView *view = (GridRenderLayerView *)viewRegistry[reactTag];
118
+ if ([view isKindOfClass:[GridRenderLayerView class]]) {
119
+ [view.layerInstance primeGpuCacheWithFrameInfo:frameInfo];
120
+ }
121
+ }];
122
+ });
123
+ }
124
+
125
+ RCT_EXPORT_METHOD(setActiveFrame:(nonnull NSNumber *)reactTag
126
+ cacheKey:(NSString *)cacheKey)
127
+ {
128
+ [self.bridge.uiManager addUIBlock:^(__unused RCTUIManager *uiManager, NSDictionary<NSNumber *, UIView *> *viewRegistry) {
129
+ GridRenderLayerView *view = (GridRenderLayerView *)viewRegistry[reactTag];
130
+ if ([view isKindOfClass:[GridRenderLayerView class]]) {
131
+ [view.layerInstance setActiveFrameWithCacheKey:cacheKey];
132
+ }
133
+ }];
134
+ }
135
+
136
+ RCT_EXPORT_METHOD(clearGpuCache:(nonnull NSNumber *)reactTag)
137
+ {
138
+ [self.bridge.uiManager addUIBlock:^(__unused RCTUIManager *uiManager, NSDictionary<NSNumber *, UIView *> *viewRegistry) {
139
+ GridRenderLayerView *view = (GridRenderLayerView *)viewRegistry[reactTag];
140
+ if ([view isKindOfClass:[GridRenderLayerView class]]) {
141
+ [view.layerInstance clearGpuCache];
142
+ }
143
+ }];
144
+ }
145
+
146
146
  @end
@@ -1,23 +1,23 @@
1
- #import <UIKit/UIKit.h>
2
-
3
- @class GridRenderLayer;
4
- @class MapView;
5
-
6
- NS_ASSUME_NONNULL_BEGIN
7
-
8
- @interface GridRenderLayerView : UIView
9
-
10
- @property (nonatomic, strong) GridRenderLayer *layerInstance;
11
- @property (nonatomic, weak) MapView *mapView;
12
- @property (nonatomic, strong) NSString *layerId;
13
- @property (nonatomic, strong, nullable) NSString *belowID;
14
-
15
- // Property setters for React Native
16
- - (void)setOpacity:(float)opacity;
17
- - (void)setDataRange:(NSArray *)dataRange;
18
- - (void)setSmoothing:(BOOL)smoothing;
19
- - (void)setBelowID:(NSString *)belowID;
20
-
21
- @end
22
-
1
+ #import <UIKit/UIKit.h>
2
+
3
+ @class GridRenderLayer;
4
+ @class MapView;
5
+
6
+ NS_ASSUME_NONNULL_BEGIN
7
+
8
+ @interface GridRenderLayerView : UIView
9
+
10
+ @property (nonatomic, strong) GridRenderLayer *layerInstance;
11
+ @property (nonatomic, weak) MapView *mapView;
12
+ @property (nonatomic, strong) NSString *layerId;
13
+ @property (nonatomic, strong, nullable) NSString *belowID;
14
+
15
+ // Property setters for React Native
16
+ - (void)setOpacity:(float)opacity;
17
+ - (void)setDataRange:(NSArray *)dataRange;
18
+ - (void)setSmoothing:(BOOL)smoothing;
19
+ - (void)setBelowID:(NSString *)belowID;
20
+
21
+ @end
22
+
23
23
  NS_ASSUME_NONNULL_END