@maplibre/maplibre-react-native 11.0.0-alpha.8 → 11.0.0-alpha.9

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 (337) hide show
  1. package/android/build.gradle +0 -3
  2. package/android/src/main/java/org/maplibre/reactnative/MLRNPackage.kt +43 -0
  3. package/android/src/main/java/org/maplibre/reactnative/components/AbstractEvent.kt +24 -0
  4. package/android/src/main/java/org/maplibre/reactnative/components/AbstractEventEmitter.kt +71 -0
  5. package/android/src/main/java/org/maplibre/reactnative/components/annotation/MLRNPointAnnotation.java +1 -1
  6. package/android/src/main/java/org/maplibre/reactnative/components/camera/CameraStop.kt +203 -0
  7. package/android/src/main/java/org/maplibre/reactnative/components/camera/CameraUpdateItem.kt +109 -0
  8. package/android/src/main/java/org/maplibre/reactnative/components/camera/CameraUpdateQueue.kt +60 -0
  9. package/android/src/main/java/org/maplibre/reactnative/components/camera/MLRNCamera.kt +409 -0
  10. package/android/src/main/java/org/maplibre/reactnative/components/camera/MLRNCameraManager.kt +69 -0
  11. package/android/src/main/java/org/maplibre/reactnative/components/camera/MLRNCameraModule.kt +34 -0
  12. package/android/src/main/java/org/maplibre/reactnative/components/camera/constants/CameraEasing.kt +24 -0
  13. package/android/src/main/java/org/maplibre/reactnative/components/images/MLRNImages.java +1 -2
  14. package/android/src/main/java/org/maplibre/reactnative/components/location/LocationComponentManager.java +1 -1
  15. package/android/src/main/java/org/maplibre/reactnative/components/mapview/MLRNAndroidTextureMapView.kt +23 -0
  16. package/android/src/main/java/org/maplibre/reactnative/components/mapview/MLRNAndroidTextureMapViewManager.kt +23 -0
  17. package/android/src/main/java/org/maplibre/reactnative/components/mapview/MLRNMapView.kt +1338 -0
  18. package/android/src/main/java/org/maplibre/reactnative/components/mapview/MLRNMapViewManager.kt +187 -0
  19. package/android/src/main/java/org/maplibre/reactnative/components/mapview/MLRNMapViewModule.kt +159 -0
  20. package/android/src/main/java/org/maplibre/reactnative/components/mapview/helpers/CameraChangeTracker.kt +26 -0
  21. package/android/src/main/java/org/maplibre/reactnative/components/mapview/helpers/LayerSourceInfo.kt +74 -0
  22. package/android/src/main/java/org/maplibre/reactnative/components/styles/layers/MLRNLayer.java +1 -5
  23. package/android/src/main/java/org/maplibre/reactnative/components/styles/light/MLRNLight.java +1 -6
  24. package/android/src/main/java/org/maplibre/reactnative/components/styles/sources/MLRNShapeSource.java +2 -9
  25. package/android/src/main/java/org/maplibre/reactnative/components/styles/sources/MLRNSource.java +1 -1
  26. package/android/src/main/java/org/maplibre/reactnative/events/AbstractEvent.java +2 -5
  27. package/android/src/main/java/org/maplibre/reactnative/events/MapChangeEvent.kt +18 -0
  28. package/android/src/main/java/org/maplibre/reactnative/events/MapClickEvent.java +4 -0
  29. package/android/src/main/java/org/maplibre/reactnative/events/MapPressEvent.kt +27 -0
  30. package/android/src/main/java/org/maplibre/reactnative/events/TrackUserLocationChangeEvent.kt +24 -0
  31. package/android/src/main/java/org/maplibre/reactnative/events/constants/EventKeys.java +0 -1
  32. package/android/src/main/java/org/maplibre/reactnative/events/constants/EventTypes.java +0 -19
  33. package/android/src/main/java/org/maplibre/reactnative/location/LocationManager.java +1 -1
  34. package/android/src/main/java/org/maplibre/reactnative/location/TrackUserLocationMode.kt +43 -0
  35. package/android/src/main/java/org/maplibre/reactnative/location/{UserTrackingState.java → TrackUserLocationState.java} +1 -1
  36. package/android/src/main/java/org/maplibre/reactnative/location/UserLocation.java +1 -1
  37. package/android/src/main/java/org/maplibre/reactnative/modules/MLRNModule.java +1 -49
  38. package/android/src/main/java/org/maplibre/reactnative/utils/ConvertUtils.java +2 -9
  39. package/android/src/main/java/org/maplibre/reactnative/utils/GeoJSONUtils.kt +322 -0
  40. package/android/src/main/java/org/maplibre/reactnative/utils/ReactTagResolver.kt +85 -0
  41. package/ios/MLRNCallout.h +1 -1
  42. package/ios/MLRNEvent.m +3 -1
  43. package/ios/MLRNEventTypes.h +10 -31
  44. package/ios/MLRNEventTypes.m +10 -30
  45. package/ios/MLRNImages.h +1 -1
  46. package/ios/MLRNImages.m +1 -1
  47. package/ios/MLRNLayer.h +1 -1
  48. package/ios/MLRNLayer.m +2 -2
  49. package/ios/MLRNLight.h +2 -1
  50. package/ios/MLRNLocationModule.m +2 -2
  51. package/ios/MLRNMapTouchEvent.h +2 -1
  52. package/ios/MLRNMapTouchEvent.m +12 -10
  53. package/ios/MLRNModule.m +5 -52
  54. package/ios/MLRNNativeUserLocation.m +0 -1
  55. package/ios/MLRNOfflineModule.h +2 -2
  56. package/ios/MLRNOfflineModule.m +9 -9
  57. package/ios/MLRNPointAnnotation.h +1 -1
  58. package/ios/MLRNShapeSource.h +1 -1
  59. package/ios/MLRNSource.h +3 -1
  60. package/ios/MLRNStyle.m +20 -20
  61. package/ios/MLRNUtils.h +17 -2
  62. package/ios/MLRNUtils.m +25 -2
  63. package/ios/components/camera/CameraEasing.h +8 -0
  64. package/ios/{CameraStop.h → components/camera/CameraStop.h} +10 -6
  65. package/ios/components/camera/CameraStop.m +75 -0
  66. package/ios/{CameraUpdateItem.m → components/camera/CameraUpdateItem.m} +45 -46
  67. package/ios/components/camera/MLRNCamera.h +26 -0
  68. package/ios/components/camera/MLRNCamera.m +195 -0
  69. package/ios/components/camera/MLRNCameraComponentView.h +18 -0
  70. package/ios/components/camera/MLRNCameraComponentView.mm +192 -0
  71. package/ios/components/camera/MLRNCameraManager.h +11 -0
  72. package/ios/components/camera/MLRNCameraManager.m +20 -0
  73. package/ios/components/camera/MLRNCameraModule.h +4 -0
  74. package/ios/components/camera/MLRNCameraModule.mm +111 -0
  75. package/ios/{MLRNMapView.h → components/map-view/MLRNMapView.h} +42 -20
  76. package/ios/components/map-view/MLRNMapView.m +809 -0
  77. package/ios/components/map-view/MLRNMapViewComponentView.h +18 -0
  78. package/ios/components/map-view/MLRNMapViewComponentView.mm +400 -0
  79. package/ios/components/map-view/MLRNMapViewManager.h +70 -0
  80. package/ios/components/map-view/MLRNMapViewManager.m +163 -0
  81. package/ios/components/map-view/MLRNMapViewModule.h +4 -0
  82. package/ios/components/map-view/MLRNMapViewModule.mm +249 -0
  83. package/ios/{MLRNSnapshotModule → modules/snapshot}/MLRNSnapshotModule.mm +0 -1
  84. package/lib/commonjs/MLRNModule.js +1 -3
  85. package/lib/commonjs/MLRNModule.js.map +1 -1
  86. package/lib/commonjs/components/Annotation.js +1 -13
  87. package/lib/commonjs/components/Annotation.js.map +1 -1
  88. package/lib/commonjs/components/Images.js.map +1 -1
  89. package/lib/commonjs/components/ShapeSource.js +2 -21
  90. package/lib/commonjs/components/ShapeSource.js.map +1 -1
  91. package/lib/commonjs/components/VectorSource.js +3 -26
  92. package/lib/commonjs/components/VectorSource.js.map +1 -1
  93. package/lib/commonjs/components/camera/Camera.js +97 -0
  94. package/lib/commonjs/components/camera/Camera.js.map +1 -0
  95. package/lib/commonjs/components/camera/CameraNativeComponent.ts +61 -0
  96. package/lib/commonjs/components/camera/NativeCameraModule.js +11 -0
  97. package/lib/commonjs/components/camera/NativeCameraModule.js.map +1 -0
  98. package/lib/commonjs/components/map-view/MapView.js +115 -0
  99. package/lib/commonjs/components/map-view/MapView.js.map +1 -0
  100. package/lib/commonjs/components/map-view/MapViewNativeComponent.ts +96 -0
  101. package/lib/commonjs/components/map-view/NativeMapViewModule.js +9 -0
  102. package/lib/commonjs/components/map-view/NativeMapViewModule.js.map +1 -0
  103. package/lib/commonjs/index.js +246 -4
  104. package/lib/commonjs/index.js.map +1 -1
  105. package/lib/commonjs/modules/snapshot/NativeSnapshotModule.js +2 -2
  106. package/lib/commonjs/modules/snapshot/NativeSnapshotModule.js.map +1 -1
  107. package/lib/commonjs/modules/snapshot/SnapshotManager.js +3 -2
  108. package/lib/commonjs/modules/snapshot/SnapshotManager.js.map +1 -1
  109. package/lib/commonjs/types/Bounds.js +2 -0
  110. package/lib/commonjs/types/{OnPressEvent.js.map → Bounds.js.map} +1 -1
  111. package/lib/commonjs/types/PressEvent.js +2 -0
  112. package/lib/{module/types/OnPressEvent.js.map → commonjs/types/PressEvent.js.map} +1 -1
  113. package/lib/commonjs/types/ViewPadding.js +2 -0
  114. package/lib/commonjs/types/{MapLibreRNEvent.js.map → ViewPadding.js.map} +1 -1
  115. package/lib/commonjs/types/codegen/UnsafeMixed.js +2 -0
  116. package/lib/commonjs/types/codegen/UnsafeMixed.js.map +1 -0
  117. package/lib/commonjs/utils/index.js +0 -11
  118. package/lib/commonjs/utils/index.js.map +1 -1
  119. package/lib/module/MLRNModule.js +0 -1
  120. package/lib/module/MLRNModule.js.map +1 -1
  121. package/lib/module/components/Annotation.js +2 -14
  122. package/lib/module/components/Annotation.js.map +1 -1
  123. package/lib/module/components/Images.js.map +1 -1
  124. package/lib/module/components/ShapeSource.js +3 -22
  125. package/lib/module/components/ShapeSource.js.map +1 -1
  126. package/lib/module/components/VectorSource.js +4 -27
  127. package/lib/module/components/VectorSource.js.map +1 -1
  128. package/lib/module/components/camera/Camera.js +92 -0
  129. package/lib/module/components/camera/Camera.js.map +1 -0
  130. package/lib/module/components/camera/CameraNativeComponent.ts +61 -0
  131. package/lib/module/components/camera/NativeCameraModule.js +10 -0
  132. package/lib/module/components/camera/NativeCameraModule.js.map +1 -0
  133. package/lib/module/components/map-view/MapView.js +110 -0
  134. package/lib/module/components/map-view/MapView.js.map +1 -0
  135. package/lib/module/components/map-view/MapViewNativeComponent.ts +96 -0
  136. package/lib/module/components/map-view/NativeMapViewModule.js +5 -0
  137. package/lib/module/components/map-view/NativeMapViewModule.js.map +1 -0
  138. package/lib/module/index.js +30 -1
  139. package/lib/module/index.js.map +1 -1
  140. package/lib/module/modules/snapshot/NativeSnapshotModule.js +1 -1
  141. package/lib/module/modules/snapshot/NativeSnapshotModule.js.map +1 -1
  142. package/lib/module/modules/snapshot/SnapshotManager.js +1 -1
  143. package/lib/module/modules/snapshot/SnapshotManager.js.map +1 -1
  144. package/lib/module/types/Bounds.js +2 -0
  145. package/lib/module/types/{MapLibreRNEvent.js.map → Bounds.js.map} +1 -1
  146. package/lib/module/types/PressEvent.js +2 -0
  147. package/lib/module/types/PressEvent.js.map +1 -0
  148. package/lib/module/types/ViewPadding.js +2 -0
  149. package/lib/module/types/ViewPadding.js.map +1 -0
  150. package/lib/module/types/codegen/UnsafeMixed.js +2 -0
  151. package/lib/module/types/codegen/UnsafeMixed.js.map +1 -0
  152. package/lib/module/utils/index.js +0 -9
  153. package/lib/module/utils/index.js.map +1 -1
  154. package/lib/typescript/commonjs/src/MLRNModule.d.ts +1 -7
  155. package/lib/typescript/commonjs/src/MLRNModule.d.ts.map +1 -1
  156. package/lib/typescript/commonjs/src/components/Annotation.d.ts +3 -3
  157. package/lib/typescript/commonjs/src/components/Annotation.d.ts.map +1 -1
  158. package/lib/typescript/commonjs/src/components/Images.d.ts +1 -2
  159. package/lib/typescript/commonjs/src/components/Images.d.ts.map +1 -1
  160. package/lib/typescript/commonjs/src/components/ShapeSource.d.ts +2 -5
  161. package/lib/typescript/commonjs/src/components/ShapeSource.d.ts.map +1 -1
  162. package/lib/typescript/commonjs/src/components/VectorSource.d.ts +3 -2
  163. package/lib/typescript/commonjs/src/components/VectorSource.d.ts.map +1 -1
  164. package/lib/typescript/commonjs/src/components/camera/Camera.d.ts +180 -0
  165. package/lib/typescript/commonjs/src/components/camera/Camera.d.ts.map +1 -0
  166. package/lib/typescript/commonjs/src/components/camera/CameraNativeComponent.d.ts +37 -0
  167. package/lib/typescript/commonjs/src/components/camera/CameraNativeComponent.d.ts.map +1 -0
  168. package/lib/typescript/commonjs/src/components/camera/NativeCameraModule.d.ts +27 -0
  169. package/lib/typescript/commonjs/src/components/camera/NativeCameraModule.d.ts.map +1 -0
  170. package/lib/typescript/commonjs/src/components/map-view/MapView.d.ts +323 -0
  171. package/lib/typescript/commonjs/src/components/map-view/MapView.d.ts.map +1 -0
  172. package/lib/typescript/commonjs/src/components/map-view/MapViewNativeComponent.d.ts +69 -0
  173. package/lib/typescript/commonjs/src/components/map-view/MapViewNativeComponent.d.ts.map +1 -0
  174. package/lib/typescript/commonjs/src/components/map-view/NativeMapViewModule.d.ts +45 -0
  175. package/lib/typescript/commonjs/src/components/map-view/NativeMapViewModule.d.ts.map +1 -0
  176. package/lib/typescript/commonjs/src/index.d.ts +41 -1
  177. package/lib/typescript/commonjs/src/index.d.ts.map +1 -1
  178. package/lib/typescript/commonjs/src/modules/snapshot/NativeSnapshotModule.d.ts +2 -1
  179. package/lib/typescript/commonjs/src/modules/snapshot/NativeSnapshotModule.d.ts.map +1 -1
  180. package/lib/typescript/commonjs/src/types/Bounds.d.ts +2 -0
  181. package/lib/typescript/commonjs/src/types/Bounds.d.ts.map +1 -0
  182. package/lib/typescript/commonjs/src/types/PressEvent.d.ts +16 -0
  183. package/lib/typescript/commonjs/src/types/PressEvent.d.ts.map +1 -0
  184. package/lib/typescript/commonjs/src/types/ViewPadding.d.ts +7 -0
  185. package/lib/typescript/commonjs/src/types/ViewPadding.d.ts.map +1 -0
  186. package/lib/typescript/commonjs/src/types/codegen/UnsafeMixed.d.ts +10 -0
  187. package/lib/typescript/commonjs/src/types/codegen/UnsafeMixed.d.ts.map +1 -0
  188. package/lib/typescript/commonjs/src/utils/index.d.ts +1 -3
  189. package/lib/typescript/commonjs/src/utils/index.d.ts.map +1 -1
  190. package/lib/typescript/module/src/MLRNModule.d.ts +1 -7
  191. package/lib/typescript/module/src/MLRNModule.d.ts.map +1 -1
  192. package/lib/typescript/module/src/components/Annotation.d.ts +3 -3
  193. package/lib/typescript/module/src/components/Annotation.d.ts.map +1 -1
  194. package/lib/typescript/module/src/components/Images.d.ts +1 -2
  195. package/lib/typescript/module/src/components/Images.d.ts.map +1 -1
  196. package/lib/typescript/module/src/components/ShapeSource.d.ts +2 -5
  197. package/lib/typescript/module/src/components/ShapeSource.d.ts.map +1 -1
  198. package/lib/typescript/module/src/components/VectorSource.d.ts +3 -2
  199. package/lib/typescript/module/src/components/VectorSource.d.ts.map +1 -1
  200. package/lib/typescript/module/src/components/camera/Camera.d.ts +180 -0
  201. package/lib/typescript/module/src/components/camera/Camera.d.ts.map +1 -0
  202. package/lib/typescript/module/src/components/camera/CameraNativeComponent.d.ts +37 -0
  203. package/lib/typescript/module/src/components/camera/CameraNativeComponent.d.ts.map +1 -0
  204. package/lib/typescript/module/src/components/camera/NativeCameraModule.d.ts +27 -0
  205. package/lib/typescript/module/src/components/camera/NativeCameraModule.d.ts.map +1 -0
  206. package/lib/typescript/module/src/components/map-view/MapView.d.ts +323 -0
  207. package/lib/typescript/module/src/components/map-view/MapView.d.ts.map +1 -0
  208. package/lib/typescript/module/src/components/map-view/MapViewNativeComponent.d.ts +69 -0
  209. package/lib/typescript/module/src/components/map-view/MapViewNativeComponent.d.ts.map +1 -0
  210. package/lib/typescript/module/src/components/map-view/NativeMapViewModule.d.ts +45 -0
  211. package/lib/typescript/module/src/components/map-view/NativeMapViewModule.d.ts.map +1 -0
  212. package/lib/typescript/module/src/index.d.ts +41 -1
  213. package/lib/typescript/module/src/index.d.ts.map +1 -1
  214. package/lib/typescript/module/src/modules/snapshot/NativeSnapshotModule.d.ts +2 -1
  215. package/lib/typescript/module/src/modules/snapshot/NativeSnapshotModule.d.ts.map +1 -1
  216. package/lib/typescript/module/src/types/Bounds.d.ts +2 -0
  217. package/lib/typescript/module/src/types/Bounds.d.ts.map +1 -0
  218. package/lib/typescript/module/src/types/PressEvent.d.ts +16 -0
  219. package/lib/typescript/module/src/types/PressEvent.d.ts.map +1 -0
  220. package/lib/typescript/module/src/types/ViewPadding.d.ts +7 -0
  221. package/lib/typescript/module/src/types/ViewPadding.d.ts.map +1 -0
  222. package/lib/typescript/module/src/types/codegen/UnsafeMixed.d.ts +10 -0
  223. package/lib/typescript/module/src/types/codegen/UnsafeMixed.d.ts.map +1 -0
  224. package/lib/typescript/module/src/utils/index.d.ts +1 -3
  225. package/lib/typescript/module/src/utils/index.d.ts.map +1 -1
  226. package/package.json +38 -28
  227. package/src/MLRNModule.ts +0 -10
  228. package/src/components/Annotation.tsx +8 -23
  229. package/src/components/Images.tsx +2 -4
  230. package/src/components/ShapeSource.tsx +18 -31
  231. package/src/components/VectorSource.tsx +5 -28
  232. package/src/components/camera/Camera.tsx +311 -0
  233. package/src/components/camera/CameraNativeComponent.ts +61 -0
  234. package/src/components/camera/NativeCameraModule.ts +39 -0
  235. package/src/components/map-view/MapView.tsx +582 -0
  236. package/src/components/map-view/MapViewNativeComponent.ts +96 -0
  237. package/src/components/map-view/NativeMapViewModule.ts +83 -0
  238. package/src/index.ts +86 -1
  239. package/src/modules/snapshot/NativeSnapshotModule.ts +1 -2
  240. package/src/modules/snapshot/SnapshotManager.ts +1 -1
  241. package/src/types/Bounds.ts +1 -0
  242. package/src/types/PressEvent.ts +19 -0
  243. package/src/types/ViewPadding.ts +6 -0
  244. package/src/types/codegen/UnsafeMixed.ts +9 -0
  245. package/src/utils/index.ts +1 -14
  246. package/android/src/main/java/org/maplibre/reactnative/components/AbstractEvent.java +0 -35
  247. package/android/src/main/java/org/maplibre/reactnative/components/AbstractEventEmitter.java +0 -80
  248. package/android/src/main/java/org/maplibre/reactnative/components/camera/CameraStop.java +0 -245
  249. package/android/src/main/java/org/maplibre/reactnative/components/camera/CameraUpdateItem.java +0 -121
  250. package/android/src/main/java/org/maplibre/reactnative/components/camera/CameraUpdateQueue.java +0 -68
  251. package/android/src/main/java/org/maplibre/reactnative/components/camera/MLRNCamera.java +0 -519
  252. package/android/src/main/java/org/maplibre/reactnative/components/camera/MLRNCameraManager.java +0 -101
  253. package/android/src/main/java/org/maplibre/reactnative/components/camera/constants/CameraMode.java +0 -18
  254. package/android/src/main/java/org/maplibre/reactnative/components/mapview/LayerSourceInfo.java +0 -59
  255. package/android/src/main/java/org/maplibre/reactnative/components/mapview/MLRNAndroidTextureMapView.java +0 -13
  256. package/android/src/main/java/org/maplibre/reactnative/components/mapview/MLRNAndroidTextureMapViewManager.java +0 -27
  257. package/android/src/main/java/org/maplibre/reactnative/components/mapview/MLRNMapView.java +0 -1521
  258. package/android/src/main/java/org/maplibre/reactnative/components/mapview/MLRNMapViewManager.java +0 -342
  259. package/android/src/main/java/org/maplibre/reactnative/components/mapview/helpers/CameraChangeTracker.java +0 -37
  260. package/android/src/main/java/org/maplibre/reactnative/events/MapChangeEvent.java +0 -43
  261. package/android/src/main/java/org/maplibre/reactnative/events/MapUserTrackingModeEvent.java +0 -32
  262. package/android/src/main/java/org/maplibre/reactnative/location/UserLocationVerticalAlignment.java +0 -7
  263. package/android/src/main/java/org/maplibre/reactnative/location/UserTrackingMode.java +0 -59
  264. package/android/src/main/java/org/maplibre/reactnative/utils/GeoJSONUtils.java +0 -310
  265. package/ios/CameraMode.h +0 -10
  266. package/ios/CameraMode.m +0 -10
  267. package/ios/CameraStop.m +0 -73
  268. package/ios/MLRNCamera.h +0 -29
  269. package/ios/MLRNCamera.m +0 -236
  270. package/ios/MLRNCameraManager.h +0 -5
  271. package/ios/MLRNCameraManager.m +0 -39
  272. package/ios/MLRNMapView.m +0 -497
  273. package/ios/MLRNMapViewManager.h +0 -9
  274. package/ios/MLRNMapViewManager.m +0 -604
  275. package/lib/commonjs/MapLibreRN.js +0 -266
  276. package/lib/commonjs/MapLibreRN.js.map +0 -1
  277. package/lib/commonjs/components/Camera.js +0 -333
  278. package/lib/commonjs/components/Camera.js.map +0 -1
  279. package/lib/commonjs/components/MapView.js +0 -449
  280. package/lib/commonjs/components/MapView.js.map +0 -1
  281. package/lib/commonjs/hooks/useNativeRef.js +0 -14
  282. package/lib/commonjs/hooks/useNativeRef.js.map +0 -1
  283. package/lib/commonjs/types/CameraMode.js +0 -14
  284. package/lib/commonjs/types/CameraMode.js.map +0 -1
  285. package/lib/commonjs/types/MapLibreRNEvent.js +0 -6
  286. package/lib/commonjs/types/OnPressEvent.js +0 -2
  287. package/lib/module/MapLibreRN.js +0 -33
  288. package/lib/module/MapLibreRN.js.map +0 -1
  289. package/lib/module/components/Camera.js +0 -328
  290. package/lib/module/components/Camera.js.map +0 -1
  291. package/lib/module/components/MapView.js +0 -444
  292. package/lib/module/components/MapView.js.map +0 -1
  293. package/lib/module/hooks/useNativeRef.js +0 -10
  294. package/lib/module/hooks/useNativeRef.js.map +0 -1
  295. package/lib/module/types/CameraMode.js +0 -10
  296. package/lib/module/types/CameraMode.js.map +0 -1
  297. package/lib/module/types/MapLibreRNEvent.js +0 -4
  298. package/lib/module/types/OnPressEvent.js +0 -2
  299. package/lib/typescript/commonjs/src/MapLibreRN.d.ts +0 -41
  300. package/lib/typescript/commonjs/src/MapLibreRN.d.ts.map +0 -1
  301. package/lib/typescript/commonjs/src/components/Camera.d.ts +0 -134
  302. package/lib/typescript/commonjs/src/components/Camera.d.ts.map +0 -1
  303. package/lib/typescript/commonjs/src/components/MapView.d.ts +0 -223
  304. package/lib/typescript/commonjs/src/components/MapView.d.ts.map +0 -1
  305. package/lib/typescript/commonjs/src/hooks/useNativeRef.d.ts +0 -8
  306. package/lib/typescript/commonjs/src/hooks/useNativeRef.d.ts.map +0 -1
  307. package/lib/typescript/commonjs/src/types/CameraMode.d.ts +0 -7
  308. package/lib/typescript/commonjs/src/types/CameraMode.d.ts.map +0 -1
  309. package/lib/typescript/commonjs/src/types/MapLibreRNEvent.d.ts +0 -6
  310. package/lib/typescript/commonjs/src/types/MapLibreRNEvent.d.ts.map +0 -1
  311. package/lib/typescript/commonjs/src/types/OnPressEvent.d.ts +0 -12
  312. package/lib/typescript/commonjs/src/types/OnPressEvent.d.ts.map +0 -1
  313. package/lib/typescript/module/src/MapLibreRN.d.ts +0 -41
  314. package/lib/typescript/module/src/MapLibreRN.d.ts.map +0 -1
  315. package/lib/typescript/module/src/components/Camera.d.ts +0 -134
  316. package/lib/typescript/module/src/components/Camera.d.ts.map +0 -1
  317. package/lib/typescript/module/src/components/MapView.d.ts +0 -223
  318. package/lib/typescript/module/src/components/MapView.d.ts.map +0 -1
  319. package/lib/typescript/module/src/hooks/useNativeRef.d.ts +0 -8
  320. package/lib/typescript/module/src/hooks/useNativeRef.d.ts.map +0 -1
  321. package/lib/typescript/module/src/types/CameraMode.d.ts +0 -7
  322. package/lib/typescript/module/src/types/CameraMode.d.ts.map +0 -1
  323. package/lib/typescript/module/src/types/MapLibreRNEvent.d.ts +0 -6
  324. package/lib/typescript/module/src/types/MapLibreRNEvent.d.ts.map +0 -1
  325. package/lib/typescript/module/src/types/OnPressEvent.d.ts +0 -12
  326. package/lib/typescript/module/src/types/OnPressEvent.d.ts.map +0 -1
  327. package/src/MapLibreRN.ts +0 -75
  328. package/src/components/Camera.tsx +0 -568
  329. package/src/components/MapView.tsx +0 -838
  330. package/src/hooks/useNativeRef.ts +0 -14
  331. package/src/types/CameraMode.ts +0 -6
  332. package/src/types/MapLibreRNEvent.ts +0 -7
  333. package/src/types/OnPressEvent.ts +0 -11
  334. /package/ios/{CameraUpdateItem.h → components/camera/CameraUpdateItem.h} +0 -0
  335. /package/ios/{CameraUpdateQueue.h → components/camera/CameraUpdateQueue.h} +0 -0
  336. /package/ios/{CameraUpdateQueue.m → components/camera/CameraUpdateQueue.m} +0 -0
  337. /package/ios/{MLRNSnapshotModule → modules/snapshot}/MLRNSnapshotModule.h +0 -0
@@ -0,0 +1,27 @@
1
+ import { type CodegenTypes, type TurboModule } from "react-native";
2
+ type NativeViewPadding = {
3
+ top?: CodegenTypes.WithDefault<CodegenTypes.Int32, 0>;
4
+ right?: CodegenTypes.WithDefault<CodegenTypes.Int32, 0>;
5
+ bottom?: CodegenTypes.WithDefault<CodegenTypes.Int32, 0>;
6
+ left?: CodegenTypes.WithDefault<CodegenTypes.Int32, 0>;
7
+ };
8
+ type NativeViewState = {
9
+ longitude?: CodegenTypes.WithDefault<CodegenTypes.Double, -360>;
10
+ latitude?: CodegenTypes.WithDefault<CodegenTypes.Double, -360>;
11
+ bounds?: CodegenTypes.Double[];
12
+ padding?: NativeViewPadding;
13
+ zoom?: CodegenTypes.WithDefault<CodegenTypes.Double, -1>;
14
+ bearing?: CodegenTypes.WithDefault<CodegenTypes.Double, -1>;
15
+ pitch?: CodegenTypes.WithDefault<CodegenTypes.Double, -1>;
16
+ };
17
+ type NativeEasingMode = "none" | "linear" | "ease" | "fly";
18
+ type NativeCameraStop = NativeViewState & {
19
+ duration?: CodegenTypes.WithDefault<CodegenTypes.Int32, -1>;
20
+ easing?: CodegenTypes.WithDefault<NativeEasingMode, "none">;
21
+ };
22
+ export interface Spec extends TurboModule {
23
+ setStop(reactTag: CodegenTypes.Int32, stop: NativeCameraStop): Promise<void>;
24
+ }
25
+ declare const _default: Spec;
26
+ export default _default;
27
+ //# sourceMappingURL=NativeCameraModule.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NativeCameraModule.d.ts","sourceRoot":"","sources":["../../../../../../src/components/camera/NativeCameraModule.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,YAAY,EACjB,KAAK,WAAW,EACjB,MAAM,cAAc,CAAC;AAGtB,KAAK,iBAAiB,GAAG;IACvB,GAAG,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC,YAAY,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;IACtD,KAAK,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC,YAAY,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;IACxD,MAAM,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC,YAAY,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;IACzD,IAAI,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC,YAAY,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;CACxD,CAAC;AAEF,KAAK,eAAe,GAAG;IACrB,SAAS,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC,YAAY,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC;IAChE,QAAQ,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC,YAAY,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC;IAE/D,MAAM,CAAC,EAAE,YAAY,CAAC,MAAM,EAAE,CAAC;IAE/B,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B,IAAI,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC,YAAY,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC;IACzD,OAAO,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC,YAAY,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC;IAC5D,KAAK,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC,YAAY,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC;CAC3D,CAAC;AAEF,KAAK,gBAAgB,GAAG,MAAM,GAAG,QAAQ,GAAG,MAAM,GAAG,KAAK,CAAC;AAE3D,KAAK,gBAAgB,GAAG,eAAe,GAAG;IACxC,QAAQ,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC,YAAY,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,CAAC;IAC5D,MAAM,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAAC;CAC7D,CAAC;AAGF,MAAM,WAAW,IAAK,SAAQ,WAAW;IACvC,OAAO,CAAC,QAAQ,EAAE,YAAY,CAAC,KAAK,EAAE,IAAI,EAAE,gBAAgB,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC9E;;AAED,wBAA0E"}
@@ -0,0 +1,323 @@
1
+ import { type ReactNode } from "react";
2
+ import { type NativeSyntheticEvent, type ViewProps } from "react-native";
3
+ import { type BaseProps } from "../../types/BaseProps";
4
+ import type { Bounds } from "../../types/Bounds";
5
+ import { type FilterExpression } from "../../types/MapLibreRNStyles";
6
+ import type { PressEvent } from "../../types/PressEvent";
7
+ import type { ViewPadding } from "../../types/ViewPadding";
8
+ export type OrnamentViewPosition = {
9
+ top: number;
10
+ left: number;
11
+ } | {
12
+ top: number;
13
+ right: number;
14
+ } | {
15
+ bottom: number;
16
+ right: number;
17
+ } | {
18
+ bottom: number;
19
+ left: number;
20
+ };
21
+ export type ViewState = {
22
+ longitude: number;
23
+ latitude: number;
24
+ zoom: number;
25
+ bearing: number;
26
+ pitch: number;
27
+ bounds: Bounds;
28
+ };
29
+ export type ViewStateChangeEvent = ViewState & {
30
+ animated: boolean;
31
+ userInteraction: boolean;
32
+ };
33
+ export type QueryRenderedFeaturesOptions = {
34
+ filter?: FilterExpression;
35
+ layers?: string[];
36
+ };
37
+ export interface MapViewRef {
38
+ /**
39
+ * Returns the current center coordinates of the map
40
+ *
41
+ * @example
42
+ * await mapViewRef.current?.getCenter();
43
+ *
44
+ * @return Current center coordinates of the map
45
+ */
46
+ getCenter(): Promise<Pick<ViewState, "longitude" | "latitude">>;
47
+ /**
48
+ * Returns the current zoom level of the map
49
+ *
50
+ * @example
51
+ * await mapViewRef.current?.getZoom();
52
+ *
53
+ * @return Current zoom level of the map
54
+ */
55
+ getZoom(): Promise<ViewState["zoom"]>;
56
+ /**
57
+ * Returns the current bearing of the map
58
+ *
59
+ * @example
60
+ * await mapViewRef.current?.getBearing();
61
+ *
62
+ * @return Current bearing of the map
63
+ */
64
+ getBearing(): Promise<ViewState["bearing"]>;
65
+ /**
66
+ * Returns the current pitch of the map
67
+ *
68
+ * @example
69
+ * await mapViewRef.current?.getPitch();
70
+ *
71
+ * @return Current pitch of the map
72
+ */
73
+ getPitch(): Promise<ViewState["pitch"]>;
74
+ /**
75
+ * Returns the current bounds of the map
76
+ *
77
+ * @example
78
+ * await mapViewRef.current?.getBounds();
79
+ *
80
+ * @return Current bounds of the map
81
+ */
82
+ getBounds(): Promise<ViewState["bounds"]>;
83
+ /**
84
+ * Returns the current view state of the map
85
+ *
86
+ * @example
87
+ * await mapViewRef.current?.getViewState();
88
+ *
89
+ * @return Current view state of the map
90
+ */
91
+ getViewState(): Promise<ViewState>;
92
+ /**
93
+ * Converts a geographic coordinate to a pixel point of the view
94
+ *
95
+ * @example
96
+ * await mapViewRef.current?.getPointInView([-37.817070, 144.949901]);
97
+ *
98
+ * @param coordinate Geographic coordinate
99
+ * @return Pixel point
100
+ */
101
+ project(coordinate: {
102
+ longitude: number;
103
+ latitude: number;
104
+ }): Promise<{
105
+ locationX: number;
106
+ locationY: number;
107
+ }>;
108
+ /**
109
+ * Converts a pixel point of the view to a geographic coordinate.
110
+ *
111
+ * @example
112
+ * await mapViewRef.current?.getCoordinateFromView([100, 100]);
113
+ *
114
+ * @param point Pixel point
115
+ * @return Geographic coordinate
116
+ */
117
+ unproject(point: {
118
+ locationX: number;
119
+ locationY: number;
120
+ }): Promise<{
121
+ longitude: number;
122
+ latitude: number;
123
+ }>;
124
+ /**
125
+ * Returns an array of rendered map features.
126
+ *
127
+ * @example
128
+ * await mapViewRef.current?.queryRenderedFeaturesAtPoint([30, 40], ['==', 'type', 'Point'], ['id1', 'id2'])
129
+ *
130
+ * @param options.filter - A set of strings that correspond to the names of layers defined in the current style. Only the features contained in these layers are included in the returned array.
131
+ * @param options.layers - A array of layer id's to filter the features by
132
+ * @return FeatureCollection containing queried features
133
+ */
134
+ queryRenderedFeatures(coordinate: {
135
+ longitude: number;
136
+ latitude: number;
137
+ }, options?: QueryRenderedFeaturesOptions): Promise<GeoJSON.FeatureCollection>;
138
+ queryRenderedFeatures(bounds: Bounds, options?: QueryRenderedFeaturesOptions): Promise<GeoJSON.FeatureCollection>;
139
+ queryRenderedFeatures(options?: QueryRenderedFeaturesOptions): Promise<GeoJSON.FeatureCollection>;
140
+ /**
141
+ * Takes snapshot of map with current tiles and returns a URI to the image
142
+ * @param writeToDisk If true will create a temp file, otherwise it is in base64
143
+ * @return URL of snapshot file or base64 encoded image
144
+ */
145
+ takeSnap(writeToDisk?: boolean): Promise<string>;
146
+ /**
147
+ * Sets the visibility of all the layers referencing the specified `source` and optionally `sourceLayer`
148
+ *
149
+ * @example
150
+ * await mapViewRef.current?.setSourceVisibility(false, 'composite', 'building')
151
+ *
152
+ * @param visible - Visibility of the layers
153
+ * @param source - Identifier of the target source (e.g. 'composite')
154
+ * @param sourceLayer - Identifier of the target source-layer (e.g. 'building')
155
+ */
156
+ setSourceVisibility(visible: boolean, source: string, sourceLayer?: string): Promise<void>;
157
+ /**
158
+ * Show the attribution action sheet, can be used to implement a
159
+ * custom attribution button
160
+ */
161
+ showAttribution(): Promise<void>;
162
+ }
163
+ interface MapViewProps extends BaseProps {
164
+ children?: ReactNode;
165
+ /**
166
+ * Style for wrapping React Native View
167
+ */
168
+ style?: ViewProps["style"];
169
+ /**
170
+ * The map's Maplibre style - either a URL or a Style JSON (https://maplibre.org/maplibre-style-spec/).
171
+ *
172
+ * @default "https://demotiles.maplibre.org/style.json"
173
+ */
174
+ mapStyle?: string | object;
175
+ /**
176
+ * The distance from the edges of the map view’s frame to the edges of the map view’s logical viewport.
177
+ */
178
+ contentInset?: ViewPadding;
179
+ /**
180
+ * iOS: The preferred frame rate at which the map view is rendered.
181
+ * The default value for this property is MLNMapViewPreferredFramesPerSecondDefault,
182
+ * which will adaptively set the preferred frame rate based on the capability of
183
+ * the user’s device to maintain a smooth experience. This property can be set to arbitrary integer values.
184
+ *
185
+ * Android: The maximum frame rate at which the map view is rendered, but it can't excess the ability of device hardware.
186
+ * This property can be set to arbitrary integer values.
187
+ */
188
+ preferredFramesPerSecond?: number;
189
+ /**
190
+ * Toggle pan interaction of the map
191
+ *
192
+ * @default true
193
+ */
194
+ dragPan?: boolean;
195
+ /**
196
+ * Toggle zoom interaction of the map
197
+ *
198
+ * @default true
199
+ */
200
+ touchAndDoubleTapZoom?: boolean;
201
+ /**
202
+ * Toggle rotate interaction of the map
203
+ *
204
+ * @default true
205
+ */
206
+ touchRotate?: boolean;
207
+ /**
208
+ * Toggle pitch interaction of the map
209
+ *
210
+ * @default true
211
+ */
212
+ touchPitch?: boolean;
213
+ /**
214
+ * Tints UI elements like the attribution button
215
+ */
216
+ tintColor?: string;
217
+ /**
218
+ * Toggle the attribution button of the map
219
+ */
220
+ attribution?: boolean;
221
+ /**
222
+ * Positions the attribution button
223
+ *
224
+ * @example Position in the top-left corner
225
+ * { top: 8, left: 8 }
226
+ */
227
+ attributionPosition?: OrnamentViewPosition;
228
+ /**
229
+ * Toggle the logo on the map
230
+ */
231
+ logo?: boolean;
232
+ /**
233
+ * Positions the logo
234
+ *
235
+ * @example Position in the top-left corner
236
+ * { top: 8, left: 8 }
237
+ */
238
+ logoPosition?: OrnamentViewPosition;
239
+ /**
240
+ * Toggle the compass from appearing on the map
241
+ */
242
+ compass?: boolean;
243
+ /**
244
+ * Positions the compass
245
+ *
246
+ * @example Position in the top-left corner
247
+ * { top: 8, left: 8 }
248
+ */
249
+ compassPosition?: OrnamentViewPosition;
250
+ /**
251
+ * Android only: Switch between TextureView (default) and GLSurfaceView for
252
+ * rendering the map
253
+ *
254
+ * @default "surface"
255
+ */
256
+ androidView?: "surface" | "texture";
257
+ /**
258
+ * Called when a user presses the map
259
+ */
260
+ onPress?: (event: NativeSyntheticEvent<PressEvent>) => void;
261
+ /**
262
+ * Called when a user long presses the map
263
+ */
264
+ onLongPress?: (event: NativeSyntheticEvent<PressEvent>) => void;
265
+ /**
266
+ * Called when the currently displayed map region is about to change
267
+ */
268
+ onRegionWillChange?: (event: NativeSyntheticEvent<ViewStateChangeEvent>) => void;
269
+ /**
270
+ * Called when the currently displayed map region is changing
271
+ */
272
+ onRegionIsChanging?: (event: NativeSyntheticEvent<ViewStateChangeEvent>) => void;
273
+ /**
274
+ * Called when the currently displayed map region finished changing
275
+ */
276
+ onRegionDidChange?: (event: NativeSyntheticEvent<ViewStateChangeEvent>) => void;
277
+ /**
278
+ * Called when the map is about to start loading a new map style
279
+ */
280
+ onWillStartLoadingMap?: (event: NativeSyntheticEvent<null>) => void;
281
+ /**
282
+ * Called when the map has successfully loaded a new map style
283
+ */
284
+ onDidFinishLoadingMap?: (event: NativeSyntheticEvent<null>) => void;
285
+ /**
286
+ * Called when the map has failed to load a new map style
287
+ */
288
+ onDidFailLoadingMap?: (event: NativeSyntheticEvent<null>) => void;
289
+ /**
290
+ * Called when the map will start rendering a frame
291
+ */
292
+ onWillStartRenderingFrame?: (event: NativeSyntheticEvent<null>) => void;
293
+ /**
294
+ * Called when the map finished rendering a frame
295
+ */
296
+ onDidFinishRenderingFrame?: (event: NativeSyntheticEvent<null>) => void;
297
+ /**
298
+ * Called when the map fully finished rendering a frame
299
+ */
300
+ onDidFinishRenderingFrameFully?: (event: NativeSyntheticEvent<null>) => void;
301
+ /**
302
+ * Called when the map will start rendering itself
303
+ */
304
+ onWillStartRenderingMap?: (event: NativeSyntheticEvent<null>) => void;
305
+ /**
306
+ * Called when the map has finished rendering itself
307
+ */
308
+ onDidFinishRenderingMap?: (event: NativeSyntheticEvent<null>) => void;
309
+ /**
310
+ * Called when the map has fully finished rendering itself
311
+ */
312
+ onDidFinishRenderingMapFully?: (event: NativeSyntheticEvent<null>) => void;
313
+ /**
314
+ * Triggered when a style has finished loading
315
+ */
316
+ onDidFinishLoadingStyle?: (event: NativeSyntheticEvent<null>) => void;
317
+ }
318
+ /**
319
+ * MapLibre Native MapView
320
+ */
321
+ export declare const MapView: import("react").NamedExoticComponent<MapViewProps & import("react").RefAttributes<MapViewRef>>;
322
+ export {};
323
+ //# sourceMappingURL=MapView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MapView.d.ts","sourceRoot":"","sources":["../../../../../../src/components/map-view/MapView.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,SAAS,EAMf,MAAM,OAAO,CAAC;AACf,OAAO,EAKL,KAAK,oBAAoB,EAIzB,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAMtB,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAkC3D,MAAM,MAAM,oBAAoB,GAC5B;IAAE,GAAG,EAAE,MAAM,CAAC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eAAO,MAAM,OAAO,gGAwJnB,CAAC"}
@@ -0,0 +1,69 @@
1
+ import { type CodegenTypes, type ColorValue, type HostComponent, type ViewProps } from "react-native";
2
+ import type { UnsafeMixed } from "../../types/codegen/UnsafeMixed";
3
+ type NativeViewPadding = {
4
+ top?: CodegenTypes.WithDefault<CodegenTypes.Int32, 0>;
5
+ right?: CodegenTypes.WithDefault<CodegenTypes.Int32, 0>;
6
+ bottom?: CodegenTypes.WithDefault<CodegenTypes.Int32, 0>;
7
+ left?: CodegenTypes.WithDefault<CodegenTypes.Int32, 0>;
8
+ };
9
+ type NativeOrnamentViewPosition = {
10
+ top?: CodegenTypes.WithDefault<CodegenTypes.Int32, -1>;
11
+ right?: CodegenTypes.WithDefault<CodegenTypes.Int32, -1>;
12
+ bottom?: CodegenTypes.WithDefault<CodegenTypes.Int32, -1>;
13
+ left?: CodegenTypes.WithDefault<CodegenTypes.Int32, -1>;
14
+ };
15
+ type NativePressEvent = {
16
+ longitude: CodegenTypes.Double;
17
+ latitude: CodegenTypes.Double;
18
+ locationX: CodegenTypes.Double;
19
+ locationY: CodegenTypes.Double;
20
+ };
21
+ type NativeViewStateEvent = {
22
+ longitude: CodegenTypes.Double;
23
+ latitude: CodegenTypes.Double;
24
+ zoom: CodegenTypes.Double;
25
+ bearing: CodegenTypes.Double;
26
+ pitch: CodegenTypes.Double;
27
+ bounds: UnsafeMixed<[
28
+ west: CodegenTypes.Double,
29
+ south: CodegenTypes.Double,
30
+ east: CodegenTypes.Double,
31
+ north: CodegenTypes.Double
32
+ ]>;
33
+ animated: boolean;
34
+ userInteraction: boolean;
35
+ };
36
+ export interface NativeProps extends ViewProps {
37
+ mapStyle?: string;
38
+ contentInset?: NativeViewPadding;
39
+ preferredFramesPerSecond?: CodegenTypes.WithDefault<CodegenTypes.Int32, -1>;
40
+ dragPan?: CodegenTypes.WithDefault<boolean, true>;
41
+ touchAndDoubleTapZoom?: CodegenTypes.WithDefault<boolean, true>;
42
+ touchRotate?: CodegenTypes.WithDefault<boolean, true>;
43
+ touchPitch?: CodegenTypes.WithDefault<boolean, true>;
44
+ tintColor?: ColorValue | undefined;
45
+ attribution?: CodegenTypes.WithDefault<boolean, true>;
46
+ attributionPosition?: NativeOrnamentViewPosition;
47
+ logo?: CodegenTypes.WithDefault<boolean, true>;
48
+ logoPosition?: NativeOrnamentViewPosition;
49
+ compass?: CodegenTypes.WithDefault<boolean, false>;
50
+ compassPosition?: NativeOrnamentViewPosition;
51
+ onPress?: CodegenTypes.BubblingEventHandler<NativePressEvent>;
52
+ onLongPress?: CodegenTypes.BubblingEventHandler<NativePressEvent>;
53
+ onRegionWillChange?: CodegenTypes.DirectEventHandler<NativeViewStateEvent>;
54
+ onRegionIsChanging?: CodegenTypes.DirectEventHandler<NativeViewStateEvent>;
55
+ onRegionDidChange?: CodegenTypes.DirectEventHandler<NativeViewStateEvent>;
56
+ onWillStartLoadingMap?: CodegenTypes.DirectEventHandler<null>;
57
+ onDidFinishLoadingMap?: CodegenTypes.DirectEventHandler<null>;
58
+ onDidFailLoadingMap?: CodegenTypes.DirectEventHandler<null>;
59
+ onWillStartRenderingFrame?: CodegenTypes.DirectEventHandler<null>;
60
+ onDidFinishRenderingFrame?: CodegenTypes.DirectEventHandler<null>;
61
+ onDidFinishRenderingFrameFully?: CodegenTypes.DirectEventHandler<null>;
62
+ onWillStartRenderingMap?: CodegenTypes.DirectEventHandler<null>;
63
+ onDidFinishRenderingMap?: CodegenTypes.DirectEventHandler<null>;
64
+ onDidFinishRenderingMapFully?: CodegenTypes.DirectEventHandler<null>;
65
+ onDidFinishLoadingStyle?: CodegenTypes.DirectEventHandler<null>;
66
+ }
67
+ declare const _default: HostComponent<NativeProps>;
68
+ export default _default;
69
+ //# sourceMappingURL=MapViewNativeComponent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MapViewNativeComponent.d.ts","sourceRoot":"","sources":["../../../../../../src/components/map-view/MapViewNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO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CAAC,IAAI,CAAC,CAAC;CACjE;wBAII,aAAa,CAAC,WAAW,CAAC;AAF/B,wBAEgC"}
@@ -0,0 +1,45 @@
1
+ import { type CodegenTypes, type TurboModule } from "react-native";
2
+ type NativeViewState = {
3
+ longitude: CodegenTypes.Double;
4
+ latitude: CodegenTypes.Double;
5
+ zoom: CodegenTypes.Double;
6
+ bearing: CodegenTypes.Double;
7
+ pitch: CodegenTypes.Double;
8
+ bounds: CodegenTypes.Double[];
9
+ };
10
+ export interface Spec extends TurboModule {
11
+ getCenter: (reactTag: CodegenTypes.Int32) => Promise<{
12
+ longitude: CodegenTypes.Double;
13
+ latitude: CodegenTypes.Double;
14
+ }>;
15
+ getZoom: (reactTag: CodegenTypes.Int32) => Promise<CodegenTypes.Double>;
16
+ getBearing: (reactTag: CodegenTypes.Int32) => Promise<CodegenTypes.Double>;
17
+ getPitch: (reactTag: CodegenTypes.Int32) => Promise<CodegenTypes.Double>;
18
+ getBounds: (reactTag: CodegenTypes.Int32) => Promise<CodegenTypes.Double[]>;
19
+ getViewState: (reactTag: CodegenTypes.Int32) => Promise<NativeViewState>;
20
+ project: (reactTag: CodegenTypes.Int32, coordinate: {
21
+ longitude: CodegenTypes.Double;
22
+ latitude: CodegenTypes.Double;
23
+ }) => Promise<{
24
+ locationX: CodegenTypes.Double;
25
+ locationY: CodegenTypes.Double;
26
+ }>;
27
+ unproject: (reactTag: CodegenTypes.Int32, point: {
28
+ locationX: CodegenTypes.Double;
29
+ locationY: CodegenTypes.Double;
30
+ }) => Promise<{
31
+ longitude: CodegenTypes.Double;
32
+ latitude: CodegenTypes.Double;
33
+ }>;
34
+ queryRenderedFeaturesWithCoordinate: (reactTag: CodegenTypes.Int32, coordinate: {
35
+ longitude: CodegenTypes.Double;
36
+ latitude: CodegenTypes.Double;
37
+ }, layers: string[], filter: string[]) => Promise<object>;
38
+ queryRenderedFeaturesWithBounds: (reactTag: CodegenTypes.Int32, bounds: CodegenTypes.Double[], layers: string[], filter: string[]) => Promise<object>;
39
+ setSourceVisibility: (reactTag: CodegenTypes.Int32, visible: boolean, sourceId: string, sourceLayerId: string | null) => Promise<void>;
40
+ takeSnap: (reactTag: CodegenTypes.Int32, writeToDisk: boolean) => Promise<string>;
41
+ showAttribution: (reactTag: CodegenTypes.Int32) => Promise<void>;
42
+ }
43
+ declare const _default: Spec;
44
+ export default _default;
45
+ //# sourceMappingURL=NativeMapViewModule.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NativeMapViewModule.d.ts","sourceRoot":"","sources":["../../../../../../src/components/map-view/NativeMapViewModule.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,YAAY,EACjB,KAAK,WAAW,EAEjB,MAAM,cAAc,CAAC;AAEtB,KAAK,eAAe,GAAG;IACrB,SAAS,EAAE,YAAY,CAAC,MAAM,CAAC;IAC/B,QAAQ,EAAE,YAAY,CAAC,MAAM,CAAC;IAC9B,IAAI,EAAE,YAAY,CAAC,MAAM,CAAC;IAC1B,OAAO,EAAE,YAAY,CAAC,MAAM,CAAC;IAC7B,KAAK,EAAE,YAAY,CAAC,MAAM,CAAC;IAC3B,MAAM,EAAE,YAAY,CAAC,MAAM,EAAE,CAAC;CAC/B,CAAC;AAEF,MAAM,WAAW,IAAK,SAAQ,WAAW;IACvC,SAAS,EAAE,CAAC,QAAQ,EAAE,YAAY,CAAC,KAAK,KAAK,OAAO,CAAC;QACnD,SAAS,EAAE,YAAY,CAAC,MAAM,CAAC;QAC/B,QAAQ,EAAE,YAAY,CAAC,MAAM,CAAC;KAC/B,CAAC,CAAC;IAEH,OAAO,EAAE,CAAC,QAAQ,EAAE,YAAY,CAAC,KAAK,KAAK,OAAO,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC;IAExE,UAAU,EAAE,CAAC,QAAQ,EAAE,YAAY,CAAC,KAAK,KAAK,OAAO,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC;IAE3E,QAAQ,EAAE,CAAC,QAAQ,EAAE,YAAY,CAAC,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,MAAM,EAAE,MAAM,EAAE,KACb,OAAO,CAAC,MAAM,CAAC,CAAC;IAErB,mBAAmB,EAAE,CACnB,QAAQ,EAAE,YAAY,CAAC,KAAK,EAC5B,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,MAAM,EAChB,aAAa,EAAE,MAAM,GAAG,IAAI,KACzB,OAAO,CAAC,IAAI,CAAC,CAAC;IAEnB,QAAQ,EAAE,CACR,QAAQ,EAAE,YAAY,CAAC,KAAK,EAC5B,WAAW,EAAE,OAAO,KACjB,OAAO,CAAC,MAAM,CAAC,CAAC;IAErB,eAAe,EAAE,CAAC,QAAQ,EAAE,YAAY,CAAC,KAAK,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAClE;;AAED,wBAA2E"}
@@ -1,2 +1,42 @@
1
- export * from "./MapLibreRN";
1
+ export * from "./MLRNModule";
2
+ export { type CameraOptions, type CameraEasing, type CameraAnimationOptions, type CameraCenterOptions, type CameraBoundsOptions, type CameraCenterStop, type CameraBoundsStop, type CameraStop, type InitialViewState, type CameraRef, type TrackUserLocation, type TrackUserLocationChangeEvent, type CameraProps, Camera, } from "./components/camera/Camera";
3
+ export { MapView, type MapViewRef, type ViewState, type ViewStateChangeEvent, } from "./components/map-view/MapView";
4
+ export { Light } from "./components/Light";
5
+ export { PointAnnotation } from "./components/PointAnnotation";
6
+ export type { PointAnnotationRef } from "./components/PointAnnotation";
7
+ export { Annotation } from "./components/Annotation";
8
+ export { Callout } from "./components/Callout";
9
+ export { requestAndroidLocationPermissions } from "./requestAndroidLocationPermissions";
10
+ export { UserLocation, UserLocationRenderMode, } from "./components/UserLocation";
11
+ export type { UserLocationRef } from "./components/UserLocation";
12
+ export { VectorSource } from "./components/VectorSource";
13
+ export { ShapeSource } from "./components/ShapeSource";
14
+ export type { ShapeSourceRef } from "./components/ShapeSource";
15
+ export { RasterSource } from "./components/RasterSource";
16
+ export { ImageSource } from "./components/ImageSource";
17
+ export { Images } from "./components/Images";
18
+ export { FillLayer } from "./components/FillLayer";
19
+ export { FillExtrusionLayer } from "./components/FillExtrusionLayer";
20
+ export { HeatmapLayer } from "./components/HeatmapLayer";
21
+ export { LineLayer } from "./components/LineLayer";
22
+ export { CircleLayer } from "./components/CircleLayer";
23
+ export { SymbolLayer } from "./components/SymbolLayer";
24
+ export { RasterLayer } from "./components/RasterLayer";
25
+ export { BackgroundLayer } from "./components/BackgroundLayer";
26
+ export { MarkerView } from "./components/MarkerView";
27
+ export { LocationManager, type Location, } from "./modules/location/LocationManager";
28
+ export { OfflineManager } from "./modules/offline/OfflineManager";
29
+ export type { OfflinePackError } from "./modules/offline/OfflineManager";
30
+ export type { OfflinePackStatus } from "./modules/offline/OfflinePack";
31
+ export { OfflinePack } from "./modules/offline/OfflinePack";
32
+ export { OfflineCreatePackOptions } from "./modules/offline/OfflineCreatePackOptions";
33
+ export { SnapshotManager } from "./modules/snapshot/SnapshotManager";
34
+ export type { SnapshotInputOptions } from "./modules/snapshot/SnapshotOptions";
35
+ export type { Bounds } from "./types/Bounds";
36
+ export type { FillLayerStyle, LineLayerStyle, SymbolLayerStyle, CircleLayerStyle, HeatmapLayerStyle, FillExtrusionLayerStyle, RasterLayerStyle, HillshadeLayerStyle, BackgroundLayerStyle, LightLayerStyle, Expression, } from "./types/MapLibreRNStyles";
37
+ export type { PressEvent, PressEventWithFeatures } from "./types/PressEvent";
38
+ export type { ViewPadding } from "./types/ViewPadding";
39
+ export { Animated } from "./utils/animated/Animated";
40
+ export { Logger, type LogLevel } from "./utils/Logger";
41
+ export type { MapLibrePluginProps } from "./plugin/MapLibrePluginProps";
2
42
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAE7B,OAAO,EAC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AE,MAAM,gBAAgB,CAAC;AAEvD,YAAY,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC"}
@@ -14,5 +14,6 @@ export interface SnapshotJsonOptions {
14
14
  export interface Spec extends TurboModule {
15
15
  takeSnap(options: SnapshotJsonOptions): Promise<string>;
16
16
  }
17
- export declare const NativeSnapshotModule: Spec;
17
+ declare const _default: Spec;
18
+ export default _default;
18
19
  //# sourceMappingURL=NativeSnapshotModule.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NativeSnapshotModule.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/snapshot/NativeSnapshotModule.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAGhD,MAAM,WAAW,mBAAmB;IAClC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,OAAO,CAAC;IACrB,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,IAAK,SAAQ,WAAW;IACvC,QAAQ,CAAC,OAAO,EAAE,mBAAmB,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;CACzD;AAED,eAAO,MAAM,oBAAoB,MAC6B,CAAC"}
1
+ {"version":3,"file":"NativeSnapshotModule.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/snapshot/NativeSnapshotModule.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAGhD,MAAM,WAAW,mBAAmB;IAClC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,OAAO,CAAC;IACrB,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,IAAK,SAAQ,WAAW;IACvC,QAAQ,CAAC,OAAO,EAAE,mBAAmB,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;CACzD;;AAED,wBAA4E"}
@@ -0,0 +1,2 @@
1
+ export type Bounds = [west: number, south: number, east: number, north: number];
2
+ //# sourceMappingURL=Bounds.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Bounds.d.ts","sourceRoot":"","sources":["../../../../../src/types/Bounds.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,MAAM,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,CAAC,CAAC"}
@@ -0,0 +1,16 @@
1
+ export interface PressEvent {
2
+ longitude: number;
3
+ latitude: number;
4
+ /**
5
+ * Touch origin X coordinate inside touchable area (relative to the element).
6
+ */
7
+ locationX: number;
8
+ /**
9
+ * Touch origin Y coordinate inside touchable area (relative to the element).
10
+ */
11
+ locationY: number;
12
+ }
13
+ export interface PressEventWithFeatures extends PressEvent {
14
+ features: GeoJSON.Feature[];
15
+ }
16
+ //# sourceMappingURL=PressEvent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PressEvent.d.ts","sourceRoot":"","sources":["../../../../../src/types/PressEvent.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB,SAAS,EAAE,MAAM,CAAC;IAElB,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,sBAAuB,SAAQ,UAAU;IACxD,QAAQ,EAAE,OAAO,CAAC,OAAO,EAAE,CAAC;CAC7B"}
@@ -0,0 +1,7 @@
1
+ export type ViewPadding = {
2
+ top?: number;
3
+ right?: number;
4
+ bottom?: number;
5
+ left?: number;
6
+ };
7
+ //# sourceMappingURL=ViewPadding.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ViewPadding.d.ts","sourceRoot":"","sources":["../../../../../src/types/ViewPadding.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG;IACxB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This type makes it possible to us strict types in TypeScript while being
3
+ * loose on native.
4
+ *
5
+ * RN codegen specifies `type UnsafeMixed = unknown` mapping to folly::dynamic.
6
+ * During codegen only the name of the type is analyzed, making it possible to
7
+ * override their type this way.
8
+ */
9
+ export type UnsafeMixed<T> = T;
10
+ //# sourceMappingURL=UnsafeMixed.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UnsafeMixed.d.ts","sourceRoot":"","sources":["../../../../../../src/types/codegen/UnsafeMixed.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI,CAAC,CAAC"}
@@ -1,13 +1,11 @@
1
1
  import { Children, Component, type ReactElement } from "react";
2
2
  import { type ImageSourcePropType } from "react-native";
3
3
  export declare function isAndroid(): boolean;
4
- export declare function existenceChange(cur: boolean, next: boolean): boolean;
5
- export declare function isFunction(fn: unknown): fn is boolean;
4
+ export declare function isFunction(fn: unknown): fn is Function;
6
5
  export declare function isNumber(num: unknown): num is number;
7
6
  export declare function isUndefined(obj: unknown): obj is undefined;
8
7
  export declare function isString(str: unknown): str is string;
9
8
  export declare function isBoolean(bool: unknown): bool is boolean;
10
- export declare function isPrimitive(value: unknown): value is string | number | boolean;
11
9
  export type NativeArg = string | number | boolean | null | {
12
10
  [k: string]: NativeArg;
13
11
  } | NativeArg[];
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAgB,SAAS,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAC7E,OAAO,EAKL,KAAK,mBAAmB,EAEzB,MAAM,cAAc,CAAC;AAEtB,wBAAgB,SAAS,IAAI,OAAO,CAEnC;AAED,wBAAgB,eAAe,CAAC,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,GAAG,OAAO,CAKpE;AAED,wBAAgB,UAAU,CAAC,EAAE,EAAE,OAAO,GAAG,EAAE,IAAI,OAAO,CAErD;AAED,wBAAgB,QAAQ,CAAC,GAAG,EAAE,OAAO,GAAG,GAAG,IAAI,MAAM,CAEpD;AAED,wBAAgB,WAAW,CAAC,GAAG,EAAE,OAAO,GAAG,GAAG,IAAI,SAAS,CAE1D;AAED,wBAAgB,QAAQ,CAAC,GAAG,EAAE,OAAO,GAAG,GAAG,IAAI,MAAM,CAEpD;AAED,wBAAgB,SAAS,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,IAAI,OAAO,CAExD;AAED,wBAAgB,WAAW,CACzB,KAAK,EAAE,OAAO,GACb,KAAK,IAAI,MAAM,GAAG,MAAM,GAAG,OAAO,CAEpC;AAED,MAAM,MAAM,SAAS,GACjB,MAAM,GACN,MAAM,GACN,OAAO,GACP,IAAI,GACJ;IAAE,CAAC,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,GAC1B,SAAS,EAAE,CAAC;AAEhB,wBAAgB,gBAAgB,CAAC,UAAU,GAAG,SA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