@mapvina-com/mapvina-react-native 1.0.0

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 (961) hide show
  1. package/LICENSE.md +9 -0
  2. package/MapVinaReactNative.podspec +96 -0
  3. package/README.md +47 -0
  4. package/android/build.gradle +139 -0
  5. package/android/gradle.properties +16 -0
  6. package/android/src/main/AndroidManifest.xml +5 -0
  7. package/android/src/main/java/io/github/mapvina/reactnative/MLRNPackage.kt +163 -0
  8. package/android/src/main/java/io/github/mapvina/reactnative/components/AbstractEvent.kt +20 -0
  9. package/android/src/main/java/io/github/mapvina/reactnative/components/AbstractEventEmitter.kt +80 -0
  10. package/android/src/main/java/io/github/mapvina/reactnative/components/AbstractMapFeature.kt +13 -0
  11. package/android/src/main/java/io/github/mapvina/reactnative/components/annotations/callout/MLRNCallout.kt +8 -0
  12. package/android/src/main/java/io/github/mapvina/reactnative/components/annotations/callout/MLRNCalloutManager.kt +26 -0
  13. package/android/src/main/java/io/github/mapvina/reactnative/components/annotations/markerview/MLRNMarkerView.kt +245 -0
  14. package/android/src/main/java/io/github/mapvina/reactnative/components/annotations/markerview/MLRNMarkerViewContent.kt +46 -0
  15. package/android/src/main/java/io/github/mapvina/reactnative/components/annotations/markerview/MLRNMarkerViewManager.kt +104 -0
  16. package/android/src/main/java/io/github/mapvina/reactnative/components/annotations/markerview/MarkerViewManager.kt +143 -0
  17. package/android/src/main/java/io/github/mapvina/reactnative/components/annotations/pointannotation/MLRNPointAnnotation.kt +449 -0
  18. package/android/src/main/java/io/github/mapvina/reactnative/components/annotations/pointannotation/MLRNPointAnnotationManager.kt +133 -0
  19. package/android/src/main/java/io/github/mapvina/reactnative/components/camera/CameraStop.kt +223 -0
  20. package/android/src/main/java/io/github/mapvina/reactnative/components/camera/CameraUpdateItem.kt +100 -0
  21. package/android/src/main/java/io/github/mapvina/reactnative/components/camera/CameraUpdateQueue.kt +58 -0
  22. package/android/src/main/java/io/github/mapvina/reactnative/components/camera/MLRNCamera.kt +411 -0
  23. package/android/src/main/java/io/github/mapvina/reactnative/components/camera/MLRNCameraManager.kt +84 -0
  24. package/android/src/main/java/io/github/mapvina/reactnative/components/camera/MLRNCameraModule.kt +36 -0
  25. package/android/src/main/java/io/github/mapvina/reactnative/components/camera/constants/CameraEasing.kt +23 -0
  26. package/android/src/main/java/io/github/mapvina/reactnative/components/images/MLRNImages.kt +172 -0
  27. package/android/src/main/java/io/github/mapvina/reactnative/components/images/MLRNImagesManager.kt +73 -0
  28. package/android/src/main/java/io/github/mapvina/reactnative/components/layer/MLRNLayer.kt +370 -0
  29. package/android/src/main/java/io/github/mapvina/reactnative/components/layer/MLRNLayerManager.kt +105 -0
  30. package/android/src/main/java/io/github/mapvina/reactnative/components/layer/style/MLRNStyle.kt +60 -0
  31. package/android/src/main/java/io/github/mapvina/reactnative/components/layer/style/MLRNStyleFactory.kt +3057 -0
  32. package/android/src/main/java/io/github/mapvina/reactnative/components/layer/style/MLRNStyleValue.kt +159 -0
  33. package/android/src/main/java/io/github/mapvina/reactnative/components/location/LocationComponentManager.kt +174 -0
  34. package/android/src/main/java/io/github/mapvina/reactnative/components/location/MLRNNativeUserLocation.kt +75 -0
  35. package/android/src/main/java/io/github/mapvina/reactnative/components/location/MLRNNativeUserLocationManager.kt +50 -0
  36. package/android/src/main/java/io/github/mapvina/reactnative/components/mapview/MLRNAndroidTextureMapView.kt +25 -0
  37. package/android/src/main/java/io/github/mapvina/reactnative/components/mapview/MLRNAndroidTextureMapViewManager.kt +25 -0
  38. package/android/src/main/java/io/github/mapvina/reactnative/components/mapview/MLRNMapView.kt +1514 -0
  39. package/android/src/main/java/io/github/mapvina/reactnative/components/mapview/MLRNMapViewManager.kt +280 -0
  40. package/android/src/main/java/io/github/mapvina/reactnative/components/mapview/MLRNMapViewModule.kt +202 -0
  41. package/android/src/main/java/io/github/mapvina/reactnative/components/mapview/helpers/CameraChangeTracker.kt +26 -0
  42. package/android/src/main/java/io/github/mapvina/reactnative/components/mapview/helpers/LayerSourceInfo.kt +76 -0
  43. package/android/src/main/java/io/github/mapvina/reactnative/components/sources/MLRNPressableSource.kt +61 -0
  44. package/android/src/main/java/io/github/mapvina/reactnative/components/sources/MLRNSource.kt +198 -0
  45. package/android/src/main/java/io/github/mapvina/reactnative/components/sources/MLRNSourceManager.kt +69 -0
  46. package/android/src/main/java/io/github/mapvina/reactnative/components/sources/geojsonsource/ClusterPropertyEntry.kt +8 -0
  47. package/android/src/main/java/io/github/mapvina/reactnative/components/sources/geojsonsource/MLRNGeoJSONSource.kt +212 -0
  48. package/android/src/main/java/io/github/mapvina/reactnative/components/sources/geojsonsource/MLRNGeoJSONSourceManager.kt +159 -0
  49. package/android/src/main/java/io/github/mapvina/reactnative/components/sources/geojsonsource/MLRNGeoJSONSourceModule.kt +74 -0
  50. package/android/src/main/java/io/github/mapvina/reactnative/components/sources/imagesource/MLRNImageSource.kt +58 -0
  51. package/android/src/main/java/io/github/mapvina/reactnative/components/sources/imagesource/MLRNImageSourceManager.kt +38 -0
  52. package/android/src/main/java/io/github/mapvina/reactnative/components/sources/tilesources/MLRNPressableTileSource.kt +20 -0
  53. package/android/src/main/java/io/github/mapvina/reactnative/components/sources/tilesources/MLRNTileSource.kt +20 -0
  54. package/android/src/main/java/io/github/mapvina/reactnative/components/sources/tilesources/MLRNTileSourceManager.kt +66 -0
  55. package/android/src/main/java/io/github/mapvina/reactnative/components/sources/tilesources/TileSourceInterface.kt +50 -0
  56. package/android/src/main/java/io/github/mapvina/reactnative/components/sources/tilesources/rasterdemsource/MLRNRasterDEMSource.kt +28 -0
  57. package/android/src/main/java/io/github/mapvina/reactnative/components/sources/tilesources/rasterdemsource/MLRNRasterDEMSourceManager.kt +34 -0
  58. package/android/src/main/java/io/github/mapvina/reactnative/components/sources/tilesources/rastersource/MLRNRasterSource.kt +23 -0
  59. package/android/src/main/java/io/github/mapvina/reactnative/components/sources/tilesources/rastersource/MLRNRasterSourceManager.kt +26 -0
  60. package/android/src/main/java/io/github/mapvina/reactnative/components/sources/tilesources/vectorsource/MLRNVectorSource.kt +37 -0
  61. package/android/src/main/java/io/github/mapvina/reactnative/components/sources/tilesources/vectorsource/MLRNVectorSourceManager.kt +17 -0
  62. package/android/src/main/java/io/github/mapvina/reactnative/components/sources/tilesources/vectorsource/MLRNVectorSourceModule.kt +44 -0
  63. package/android/src/main/java/io/github/mapvina/reactnative/events/AbstractEvent.java +59 -0
  64. package/android/src/main/java/io/github/mapvina/reactnative/events/EventEmitter.java +45 -0
  65. package/android/src/main/java/io/github/mapvina/reactnative/events/IEvent.java +14 -0
  66. package/android/src/main/java/io/github/mapvina/reactnative/events/MapChangeEvent.kt +16 -0
  67. package/android/src/main/java/io/github/mapvina/reactnative/events/MapClickEvent.java +51 -0
  68. package/android/src/main/java/io/github/mapvina/reactnative/events/MapPressEvent.kt +30 -0
  69. package/android/src/main/java/io/github/mapvina/reactnative/events/MapPressEventWithFeatures.kt +21 -0
  70. package/android/src/main/java/io/github/mapvina/reactnative/events/OfflineEvent.java +25 -0
  71. package/android/src/main/java/io/github/mapvina/reactnative/events/PointAnnotationClickEvent.java +40 -0
  72. package/android/src/main/java/io/github/mapvina/reactnative/events/PointAnnotationDragEvent.java +49 -0
  73. package/android/src/main/java/io/github/mapvina/reactnative/events/PointAnnotationEvent.kt +32 -0
  74. package/android/src/main/java/io/github/mapvina/reactnative/events/constants/EventKeys.java +22 -0
  75. package/android/src/main/java/io/github/mapvina/reactnative/events/constants/EventTypes.java +27 -0
  76. package/android/src/main/java/io/github/mapvina/reactnative/location/LocationManager.kt +167 -0
  77. package/android/src/main/java/io/github/mapvina/reactnative/location/TrackUserLocationMode.kt +39 -0
  78. package/android/src/main/java/io/github/mapvina/reactnative/location/TrackUserLocationState.kt +15 -0
  79. package/android/src/main/java/io/github/mapvina/reactnative/location/UserLocation.kt +42 -0
  80. package/android/src/main/java/io/github/mapvina/reactnative/location/engine/DefaultLocationEngineProvider.kt +18 -0
  81. package/android/src/main/java/io/github/mapvina/reactnative/location/engine/LocationEngineProvidable.kt +8 -0
  82. package/android/src/main/java/io/github/mapvina/reactnative/modules/MLRNLocationModule.kt +179 -0
  83. package/android/src/main/java/io/github/mapvina/reactnative/modules/MLRNLogModule.kt +141 -0
  84. package/android/src/main/java/io/github/mapvina/reactnative/modules/MLRNNetworkModule.kt +25 -0
  85. package/android/src/main/java/io/github/mapvina/reactnative/modules/MLRNOfflineModule.kt +661 -0
  86. package/android/src/main/java/io/github/mapvina/reactnative/modules/MLRNStaticMapModule.kt +121 -0
  87. package/android/src/main/java/io/github/mapvina/reactnative/modules/MLRNTransformRequestModule.kt +144 -0
  88. package/android/src/main/java/io/github/mapvina/reactnative/modules/TransformRequestInterceptor.kt +184 -0
  89. package/android/src/main/java/io/github/mapvina/reactnative/utils/BitmapUtils.java +125 -0
  90. package/android/src/main/java/io/github/mapvina/reactnative/utils/ConvertUtils.kt +225 -0
  91. package/android/src/main/java/io/github/mapvina/reactnative/utils/DownloadMapImageTask.java +155 -0
  92. package/android/src/main/java/io/github/mapvina/reactnative/utils/DownloadedImage.java +6 -0
  93. package/android/src/main/java/io/github/mapvina/reactnative/utils/ExpressionParser.kt +67 -0
  94. package/android/src/main/java/io/github/mapvina/reactnative/utils/GeoJSONUtils.kt +368 -0
  95. package/android/src/main/java/io/github/mapvina/reactnative/utils/GeoViewport.java +37 -0
  96. package/android/src/main/java/io/github/mapvina/reactnative/utils/ImageEntry.kt +14 -0
  97. package/android/src/main/java/io/github/mapvina/reactnative/utils/ReactTagResolver.kt +91 -0
  98. package/android/src/main/java/io/github/mapvina/reactnative/utils/ResourceUtils.java +26 -0
  99. package/android/src/main/java/io/github/mapvina/reactnative/utils/SphericalMercator.java +68 -0
  100. package/android/src/main/location-engine-default/io/github/mapvina/reactnative/location/engine/LocationEngineProvider.kt +8 -0
  101. package/android/src/main/location-engine-google/io/github/mapvina/reactnative/location/engine/GoogleLocationEngineImpl.kt +142 -0
  102. package/android/src/main/location-engine-google/io/github/mapvina/reactnative/location/engine/GoogleLocationEngineProvider.kt +29 -0
  103. package/android/src/main/location-engine-google/io/github/mapvina/reactnative/location/engine/LocationEngineProvider.kt +8 -0
  104. package/android/src/main/res/drawable/empty.xml +5 -0
  105. package/android/src/main/res/drawable/empty_drawable.png +0 -0
  106. package/android/src/main/res/drawable-xxhdpi/default_marker.png +0 -0
  107. package/app.plugin.js +1 -0
  108. package/ios/components/ViewManager.h +8 -0
  109. package/ios/components/ViewManager.m +49 -0
  110. package/ios/components/annotations/callout/MLRNCallout.h +7 -0
  111. package/ios/components/annotations/callout/MLRNCallout.m +67 -0
  112. package/ios/components/annotations/callout/MLRNCalloutComponentView.h +10 -0
  113. package/ios/components/annotations/callout/MLRNCalloutComponentView.mm +85 -0
  114. package/ios/components/annotations/point-annotation/MLRNPointAnnotation.h +45 -0
  115. package/ios/components/annotations/point-annotation/MLRNPointAnnotation.m +319 -0
  116. package/ios/components/annotations/point-annotation/MLRNPointAnnotationComponentView.h +10 -0
  117. package/ios/components/annotations/point-annotation/MLRNPointAnnotationComponentView.mm +327 -0
  118. package/ios/components/camera/CameraEasing.h +8 -0
  119. package/ios/components/camera/CameraStop.h +22 -0
  120. package/ios/components/camera/CameraStop.m +75 -0
  121. package/ios/components/camera/CameraUpdateItem.h +11 -0
  122. package/ios/components/camera/CameraUpdateItem.m +167 -0
  123. package/ios/components/camera/CameraUpdateQueue.h +13 -0
  124. package/ios/components/camera/CameraUpdateQueue.m +62 -0
  125. package/ios/components/camera/MLRNCamera.h +26 -0
  126. package/ios/components/camera/MLRNCamera.m +195 -0
  127. package/ios/components/camera/MLRNCameraComponentView.h +10 -0
  128. package/ios/components/camera/MLRNCameraComponentView.mm +201 -0
  129. package/ios/components/camera/MLRNCameraManager.h +11 -0
  130. package/ios/components/camera/MLRNCameraManager.m +20 -0
  131. package/ios/components/camera/MLRNCameraModule.h +4 -0
  132. package/ios/components/camera/MLRNCameraModule.mm +101 -0
  133. package/ios/components/images/MLRNImageLoader.h +27 -0
  134. package/ios/components/images/MLRNImageLoader.m +85 -0
  135. package/ios/components/images/MLRNImageQueue.h +15 -0
  136. package/ios/components/images/MLRNImageQueue.m +48 -0
  137. package/ios/components/images/MLRNImageQueueOperation.h +11 -0
  138. package/ios/components/images/MLRNImageQueueOperation.m +138 -0
  139. package/ios/components/images/MLRNImages.h +26 -0
  140. package/ios/components/images/MLRNImages.m +189 -0
  141. package/ios/components/images/MLRNImagesComponentView.h +9 -0
  142. package/ios/components/images/MLRNImagesComponentView.mm +104 -0
  143. package/ios/components/images/MLRNImagesModule.h +6 -0
  144. package/ios/components/images/MLRNImagesModule.mm +23 -0
  145. package/ios/components/layer/MLRNLayer.h +54 -0
  146. package/ios/components/layer/MLRNLayer.m +348 -0
  147. package/ios/components/layer/MLRNLayerComponentView.h +9 -0
  148. package/ios/components/layer/MLRNLayerComponentView.mm +136 -0
  149. package/ios/components/layer/style/MLRNStyle.h +224 -0
  150. package/ios/components/layer/style/MLRNStyle.m +1627 -0
  151. package/ios/components/layer/style/MLRNStyleValue.h +20 -0
  152. package/ios/components/layer/style/MLRNStyleValue.m +172 -0
  153. package/ios/components/map-view/MLRNMapTouchEvent.h +18 -0
  154. package/ios/components/map-view/MLRNMapTouchEvent.m +78 -0
  155. package/ios/components/map-view/MLRNMapView.h +119 -0
  156. package/ios/components/map-view/MLRNMapView.m +905 -0
  157. package/ios/components/map-view/MLRNMapViewComponentView.h +13 -0
  158. package/ios/components/map-view/MLRNMapViewComponentView.mm +430 -0
  159. package/ios/components/map-view/MLRNMapViewManager.h +70 -0
  160. package/ios/components/map-view/MLRNMapViewManager.m +152 -0
  161. package/ios/components/map-view/MLRNMapViewModule.h +4 -0
  162. package/ios/components/map-view/MLRNMapViewModule.mm +248 -0
  163. package/ios/components/sources/MLRNSource.h +28 -0
  164. package/ios/components/sources/MLRNSource.m +129 -0
  165. package/ios/components/sources/geojson-source/MLRNGeoJSONSource.h +32 -0
  166. package/ios/components/sources/geojson-source/MLRNGeoJSONSource.m +146 -0
  167. package/ios/components/sources/geojson-source/MLRNGeoJSONSourceComponentView.h +9 -0
  168. package/ios/components/sources/geojson-source/MLRNGeoJSONSourceComponentView.mm +168 -0
  169. package/ios/components/sources/geojson-source/MLRNGeoJSONSourceModule.h +4 -0
  170. package/ios/components/sources/geojson-source/MLRNGeoJSONSourceModule.mm +136 -0
  171. package/ios/components/sources/image-source/MLRNImageSource.h +8 -0
  172. package/ios/components/sources/image-source/MLRNImageSource.m +41 -0
  173. package/ios/components/sources/image-source/MLRNImageSourceComponentView.h +9 -0
  174. package/ios/components/sources/image-source/MLRNImageSourceComponentView.mm +95 -0
  175. package/ios/components/sources/tile-sources/MLRNTileSource.h +18 -0
  176. package/ios/components/sources/tile-sources/MLRNTileSource.m +26 -0
  177. package/ios/components/sources/tile-sources/raster-dem-source/MLRNRasterDEMSource.h +10 -0
  178. package/ios/components/sources/tile-sources/raster-dem-source/MLRNRasterDEMSource.m +39 -0
  179. package/ios/components/sources/tile-sources/raster-dem-source/MLRNRasterDEMSourceComponentView.h +9 -0
  180. package/ios/components/sources/tile-sources/raster-dem-source/MLRNRasterDEMSourceComponentView.mm +131 -0
  181. package/ios/components/sources/tile-sources/raster-source/MLRNRasterSource.h +9 -0
  182. package/ios/components/sources/tile-sources/raster-source/MLRNRasterSource.m +31 -0
  183. package/ios/components/sources/tile-sources/raster-source/MLRNRasterSourceComponentView.h +9 -0
  184. package/ios/components/sources/tile-sources/raster-source/MLRNRasterSourceComponentView.mm +129 -0
  185. package/ios/components/sources/tile-sources/vector-source/MLRNVectorSource.h +11 -0
  186. package/ios/components/sources/tile-sources/vector-source/MLRNVectorSource.m +23 -0
  187. package/ios/components/sources/tile-sources/vector-source/MLRNVectorSourceComponentView.h +9 -0
  188. package/ios/components/sources/tile-sources/vector-source/MLRNVectorSourceComponentView.mm +162 -0
  189. package/ios/components/sources/tile-sources/vector-source/MLRNVectorSourceModule.h +4 -0
  190. package/ios/components/sources/tile-sources/vector-source/MLRNVectorSourceModule.mm +65 -0
  191. package/ios/components/user-location/MLRNNativeUserLocation.h +11 -0
  192. package/ios/components/user-location/MLRNNativeUserLocation.m +38 -0
  193. package/ios/components/user-location/MLRNNativeUserLocationComponentView.h +10 -0
  194. package/ios/components/user-location/MLRNNativeUserLocationComponentView.mm +51 -0
  195. package/ios/components/user-location/MLRNUserLocation.h +15 -0
  196. package/ios/components/user-location/MLRNUserLocation.m +36 -0
  197. package/ios/modules/location/MLRNLocation.h +10 -0
  198. package/ios/modules/location/MLRNLocation.m +26 -0
  199. package/ios/modules/location/MLRNLocationManager.h +20 -0
  200. package/ios/modules/location/MLRNLocationManager.m +167 -0
  201. package/ios/modules/location/MLRNLocationManagerDelegate.h +10 -0
  202. package/ios/modules/location/MLRNLocationModule.h +7 -0
  203. package/ios/modules/location/MLRNLocationModule.mm +67 -0
  204. package/ios/modules/logging/MLRNLogModule.h +10 -0
  205. package/ios/modules/logging/MLRNLogModule.mm +39 -0
  206. package/ios/modules/logging/MLRNLogging.h +27 -0
  207. package/ios/modules/logging/MLRNLogging.m +102 -0
  208. package/ios/modules/network/MLRNNetworkModule.h +8 -0
  209. package/ios/modules/network/MLRNNetworkModule.mm +18 -0
  210. package/ios/modules/offline/MLRNOfflineModule.h +7 -0
  211. package/ios/modules/offline/MLRNOfflineModule.mm +692 -0
  212. package/ios/modules/static-map/MLRNStaticMapModule.h +4 -0
  213. package/ios/modules/static-map/MLRNStaticMapModule.mm +84 -0
  214. package/ios/modules/transform-request/MLRNTransformRequest.h +38 -0
  215. package/ios/modules/transform-request/MLRNTransformRequest.m +413 -0
  216. package/ios/modules/transform-request/MLRNTransformRequestModule.h +9 -0
  217. package/ios/modules/transform-request/MLRNTransformRequestModule.mm +72 -0
  218. package/ios/utils/FilterParser.h +7 -0
  219. package/ios/utils/FilterParser.m +13 -0
  220. package/ios/utils/MLRNEvent.h +13 -0
  221. package/ios/utils/MLRNEvent.m +36 -0
  222. package/ios/utils/MLRNEventProtocol.h +8 -0
  223. package/ios/utils/MLRNEventTypes.h +12 -0
  224. package/ios/utils/MLRNEventTypes.m +12 -0
  225. package/ios/utils/MLRNFollyConvert.h +5 -0
  226. package/ios/utils/MLRNImageUtils.h +9 -0
  227. package/ios/utils/MLRNImageUtils.m +24 -0
  228. package/ios/utils/MLRNPropConvert.h +17 -0
  229. package/ios/utils/MLRNUtils.h +32 -0
  230. package/ios/utils/MLRNUtils.m +193 -0
  231. package/ios/utils/MLRNViewModuleUtils.h +35 -0
  232. package/ios/utils/MLRNViewModuleUtils.m +39 -0
  233. package/lib/commonjs/assets/heading.png +0 -0
  234. package/lib/commonjs/assets/heading@2x.png +0 -0
  235. package/lib/commonjs/assets/heading@3x.png +0 -0
  236. package/lib/commonjs/assets/png.d.js +2 -0
  237. package/lib/commonjs/assets/png.d.js.map +1 -0
  238. package/lib/commonjs/components/annotations/LayerAnnotation.js +59 -0
  239. package/lib/commonjs/components/annotations/LayerAnnotation.js.map +1 -0
  240. package/lib/commonjs/components/annotations/callout/Callout.js +95 -0
  241. package/lib/commonjs/components/annotations/callout/Callout.js.map +1 -0
  242. package/lib/commonjs/components/annotations/callout/CalloutNativeComponent.ts +11 -0
  243. package/lib/commonjs/components/annotations/marker/Marker.js +88 -0
  244. package/lib/commonjs/components/annotations/marker/Marker.js.map +1 -0
  245. package/lib/commonjs/components/annotations/marker/MarkerViewNativeComponent.ts +40 -0
  246. package/lib/commonjs/components/annotations/view-annotation/PointAnnotationNativeComponent.ts +59 -0
  247. package/lib/commonjs/components/annotations/view-annotation/ViewAnnotation.js +93 -0
  248. package/lib/commonjs/components/annotations/view-annotation/ViewAnnotation.js.map +1 -0
  249. package/lib/commonjs/components/camera/Camera.js +146 -0
  250. package/lib/commonjs/components/camera/Camera.js.map +1 -0
  251. package/lib/commonjs/components/camera/CameraNativeComponent.ts +65 -0
  252. package/lib/commonjs/components/camera/NativeCameraModule.js +11 -0
  253. package/lib/commonjs/components/camera/NativeCameraModule.js.map +1 -0
  254. package/lib/commonjs/components/images/Images.js +58 -0
  255. package/lib/commonjs/components/images/Images.js.map +1 -0
  256. package/lib/commonjs/components/images/ImagesNativeComponent.ts +27 -0
  257. package/lib/commonjs/components/images/NativeImagesModule.js +10 -0
  258. package/lib/commonjs/components/images/NativeImagesModule.js.map +1 -0
  259. package/lib/commonjs/components/layer/Layer.js +157 -0
  260. package/lib/commonjs/components/layer/Layer.js.map +1 -0
  261. package/lib/commonjs/components/layer/LayerNativeComponent.ts +43 -0
  262. package/lib/commonjs/components/map/AndroidTextureMapViewNativeComponent.ts +109 -0
  263. package/lib/commonjs/components/map/Map.js +117 -0
  264. package/lib/commonjs/components/map/Map.js.map +1 -0
  265. package/lib/commonjs/components/map/MapViewNativeComponent.ts +105 -0
  266. package/lib/commonjs/components/map/NativeMapViewModule.js +9 -0
  267. package/lib/commonjs/components/map/NativeMapViewModule.js.map +1 -0
  268. package/lib/commonjs/components/sources/geojson-source/GeoJSONSource.js +56 -0
  269. package/lib/commonjs/components/sources/geojson-source/GeoJSONSource.js.map +1 -0
  270. package/lib/commonjs/components/sources/geojson-source/GeoJSONSourceNativeComponent.ts +48 -0
  271. package/lib/commonjs/components/sources/geojson-source/NativeGeoJSONSourceModule.js +9 -0
  272. package/lib/commonjs/components/sources/geojson-source/NativeGeoJSONSourceModule.js.map +1 -0
  273. package/lib/commonjs/components/sources/image-source/ImageSource.js +33 -0
  274. package/lib/commonjs/components/sources/image-source/ImageSource.js.map +1 -0
  275. package/lib/commonjs/components/sources/image-source/ImageSourceNativeComponent.ts +31 -0
  276. package/lib/commonjs/components/sources/raster-dem-source/RasterDEMSource.js +31 -0
  277. package/lib/commonjs/components/sources/raster-dem-source/RasterDEMSource.js.map +1 -0
  278. package/lib/commonjs/components/sources/raster-dem-source/RasterDEMSourceNativeComponent.ts +25 -0
  279. package/lib/commonjs/components/sources/raster-source/RasterSource.js +32 -0
  280. package/lib/commonjs/components/sources/raster-source/RasterSource.js.map +1 -0
  281. package/lib/commonjs/components/sources/raster-source/RasterSourceNativeComponent.ts +25 -0
  282. package/lib/commonjs/components/sources/vector-source/NativeVectorSourceModule.js +9 -0
  283. package/lib/commonjs/components/sources/vector-source/NativeVectorSourceModule.js.map +1 -0
  284. package/lib/commonjs/components/sources/vector-source/VectorSource.js +47 -0
  285. package/lib/commonjs/components/sources/vector-source/VectorSource.js.map +1 -0
  286. package/lib/commonjs/components/sources/vector-source/VectorSourceNativeComponent.ts +45 -0
  287. package/lib/commonjs/components/user-location/NativeUserLocation.js +16 -0
  288. package/lib/commonjs/components/user-location/NativeUserLocation.js.map +1 -0
  289. package/lib/commonjs/components/user-location/UserLocation.js +52 -0
  290. package/lib/commonjs/components/user-location/UserLocation.js.map +1 -0
  291. package/lib/commonjs/components/user-location/UserLocationNativeComponent.ts +19 -0
  292. package/lib/commonjs/components/user-location/UserLocationPuck.js +63 -0
  293. package/lib/commonjs/components/user-location/UserLocationPuck.js.map +1 -0
  294. package/lib/commonjs/components/user-location/UserLocationPuckHeading.js +31 -0
  295. package/lib/commonjs/components/user-location/UserLocationPuckHeading.js.map +1 -0
  296. package/lib/commonjs/hooks/useCurrentPosition.js +34 -0
  297. package/lib/commonjs/hooks/useCurrentPosition.js.map +1 -0
  298. package/lib/commonjs/hooks/useFrozenId.js +16 -0
  299. package/lib/commonjs/hooks/useFrozenId.js.map +1 -0
  300. package/lib/commonjs/hooks/useNativeBridge.js +84 -0
  301. package/lib/commonjs/hooks/useNativeBridge.js.map +1 -0
  302. package/lib/commonjs/index.js +174 -0
  303. package/lib/commonjs/index.js.map +1 -0
  304. package/lib/commonjs/modules/location/LocationManager.js +98 -0
  305. package/lib/commonjs/modules/location/LocationManager.js.map +1 -0
  306. package/lib/commonjs/modules/location/NativeLocationModule.js +9 -0
  307. package/lib/commonjs/modules/location/NativeLocationModule.js.map +1 -0
  308. package/lib/commonjs/modules/log/LogManager.js +100 -0
  309. package/lib/commonjs/modules/log/LogManager.js.map +1 -0
  310. package/lib/commonjs/modules/log/NativeLogModule.js +9 -0
  311. package/lib/commonjs/modules/log/NativeLogModule.js.map +1 -0
  312. package/lib/commonjs/modules/network/NativeNetworkModule.js +9 -0
  313. package/lib/commonjs/modules/network/NativeNetworkModule.js.map +1 -0
  314. package/lib/commonjs/modules/network/NetworkManager.js +34 -0
  315. package/lib/commonjs/modules/network/NetworkManager.js.map +1 -0
  316. package/lib/commonjs/modules/offline/NativeOfflineModule.js +9 -0
  317. package/lib/commonjs/modules/offline/NativeOfflineModule.js.map +1 -0
  318. package/lib/commonjs/modules/offline/OfflineManager.js +351 -0
  319. package/lib/commonjs/modules/offline/OfflineManager.js.map +1 -0
  320. package/lib/commonjs/modules/offline/OfflinePack.js +30 -0
  321. package/lib/commonjs/modules/offline/OfflinePack.js.map +1 -0
  322. package/lib/commonjs/modules/static-map/NativeStaticMapModule.js +9 -0
  323. package/lib/commonjs/modules/static-map/NativeStaticMapModule.js.map +1 -0
  324. package/lib/commonjs/modules/static-map/StaticMapManager.js +57 -0
  325. package/lib/commonjs/modules/static-map/StaticMapManager.js.map +1 -0
  326. package/lib/commonjs/modules/transform-request/NativeTransformRequestModule.js +9 -0
  327. package/lib/commonjs/modules/transform-request/NativeTransformRequestModule.js.map +1 -0
  328. package/lib/commonjs/modules/transform-request/TransformRequestManager.js +233 -0
  329. package/lib/commonjs/modules/transform-request/TransformRequestManager.js.map +1 -0
  330. package/lib/commonjs/package.json +1 -0
  331. package/lib/commonjs/plugin/MapVinaPluginProps.js +2 -0
  332. package/lib/commonjs/plugin/MapVinaPluginProps.js.map +1 -0
  333. package/lib/commonjs/plugin/android.js +39 -0
  334. package/lib/commonjs/plugin/android.js.map +1 -0
  335. package/lib/commonjs/plugin/ios.js +91 -0
  336. package/lib/commonjs/plugin/ios.js.map +1 -0
  337. package/lib/commonjs/types/Anchor.js +67 -0
  338. package/lib/commonjs/types/Anchor.js.map +1 -0
  339. package/lib/commonjs/types/BaseProps.js +2 -0
  340. package/lib/commonjs/types/BaseProps.js.map +1 -0
  341. package/lib/commonjs/types/LngLat.js +2 -0
  342. package/lib/commonjs/types/LngLat.js.map +1 -0
  343. package/lib/commonjs/types/LngLatBounds.js +2 -0
  344. package/lib/commonjs/types/LngLatBounds.js.map +1 -0
  345. package/lib/commonjs/types/MapVinaRNStyles.js +6 -0
  346. package/lib/commonjs/types/MapVinaRNStyles.js.map +1 -0
  347. package/lib/commonjs/types/PixelPoint.js +2 -0
  348. package/lib/commonjs/types/PixelPoint.js.map +1 -0
  349. package/lib/commonjs/types/PixelPointBounds.js +2 -0
  350. package/lib/commonjs/types/PixelPointBounds.js.map +1 -0
  351. package/lib/commonjs/types/PressEvent.js +6 -0
  352. package/lib/commonjs/types/PressEvent.js.map +1 -0
  353. package/lib/commonjs/types/PressEventWithFeatures.js +6 -0
  354. package/lib/commonjs/types/PressEventWithFeatures.js.map +1 -0
  355. package/lib/commonjs/types/PressableSourceProps.js +6 -0
  356. package/lib/commonjs/types/PressableSourceProps.js.map +1 -0
  357. package/lib/commonjs/types/ViewPadding.js +2 -0
  358. package/lib/commonjs/types/ViewPadding.js.map +1 -0
  359. package/lib/commonjs/types/codegen/UnsafeMixed.js +2 -0
  360. package/lib/commonjs/types/codegen/UnsafeMixed.js.map +1 -0
  361. package/lib/commonjs/utils/BridgeValue.js +59 -0
  362. package/lib/commonjs/utils/BridgeValue.js.map +1 -0
  363. package/lib/commonjs/utils/StyleValue.js +38 -0
  364. package/lib/commonjs/utils/StyleValue.js.map +1 -0
  365. package/lib/commonjs/utils/animated/AbstractAnimatedCoordinates.js +96 -0
  366. package/lib/commonjs/utils/animated/AbstractAnimatedCoordinates.js.map +1 -0
  367. package/lib/commonjs/utils/animated/Animated.js +30 -0
  368. package/lib/commonjs/utils/animated/Animated.js.map +1 -0
  369. package/lib/commonjs/utils/animated/AnimatedCoordinatesArray.js +91 -0
  370. package/lib/commonjs/utils/animated/AnimatedCoordinatesArray.js.map +1 -0
  371. package/lib/commonjs/utils/animated/AnimatedExtractCoordinateFromArray.js +32 -0
  372. package/lib/commonjs/utils/animated/AnimatedExtractCoordinateFromArray.js.map +1 -0
  373. package/lib/commonjs/utils/animated/AnimatedGeoJSON.js +67 -0
  374. package/lib/commonjs/utils/animated/AnimatedGeoJSON.js.map +1 -0
  375. package/lib/commonjs/utils/animated/AnimatedPoint.js +114 -0
  376. package/lib/commonjs/utils/animated/AnimatedPoint.js.map +1 -0
  377. package/lib/commonjs/utils/animated/AnimatedRouteCoordinatesArray.js +120 -0
  378. package/lib/commonjs/utils/animated/AnimatedRouteCoordinatesArray.js.map +1 -0
  379. package/lib/commonjs/utils/convertStyleSpec.js +58 -0
  380. package/lib/commonjs/utils/convertStyleSpec.js.map +1 -0
  381. package/lib/commonjs/utils/findNodeHandle.js +16 -0
  382. package/lib/commonjs/utils/findNodeHandle.js.map +1 -0
  383. package/lib/commonjs/utils/getNativeFilter.js +16 -0
  384. package/lib/commonjs/utils/getNativeFilter.js.map +1 -0
  385. package/lib/commonjs/utils/getStylePropertyType.js +255 -0
  386. package/lib/commonjs/utils/getStylePropertyType.js.map +1 -0
  387. package/lib/commonjs/utils/index.js +68 -0
  388. package/lib/commonjs/utils/index.js.map +1 -0
  389. package/lib/module/assets/heading.png +0 -0
  390. package/lib/module/assets/heading@2x.png +0 -0
  391. package/lib/module/assets/heading@3x.png +0 -0
  392. package/lib/module/assets/png.d.js +2 -0
  393. package/lib/module/assets/png.d.js.map +1 -0
  394. package/lib/module/components/annotations/LayerAnnotation.js +54 -0
  395. package/lib/module/components/annotations/LayerAnnotation.js.map +1 -0
  396. package/lib/module/components/annotations/callout/Callout.js +89 -0
  397. package/lib/module/components/annotations/callout/Callout.js.map +1 -0
  398. package/lib/module/components/annotations/callout/CalloutNativeComponent.ts +11 -0
  399. package/lib/module/components/annotations/marker/Marker.js +82 -0
  400. package/lib/module/components/annotations/marker/Marker.js.map +1 -0
  401. package/lib/module/components/annotations/marker/MarkerViewNativeComponent.ts +40 -0
  402. package/lib/module/components/annotations/view-annotation/PointAnnotationNativeComponent.ts +59 -0
  403. package/lib/module/components/annotations/view-annotation/ViewAnnotation.js +87 -0
  404. package/lib/module/components/annotations/view-annotation/ViewAnnotation.js.map +1 -0
  405. package/lib/module/components/camera/Camera.js +141 -0
  406. package/lib/module/components/camera/Camera.js.map +1 -0
  407. package/lib/module/components/camera/CameraNativeComponent.ts +65 -0
  408. package/lib/module/components/camera/NativeCameraModule.js +10 -0
  409. package/lib/module/components/camera/NativeCameraModule.js.map +1 -0
  410. package/lib/module/components/images/Images.js +52 -0
  411. package/lib/module/components/images/Images.js.map +1 -0
  412. package/lib/module/components/images/ImagesNativeComponent.ts +27 -0
  413. package/lib/module/components/images/NativeImagesModule.js +7 -0
  414. package/lib/module/components/images/NativeImagesModule.js.map +1 -0
  415. package/lib/module/components/layer/Layer.js +151 -0
  416. package/lib/module/components/layer/Layer.js.map +1 -0
  417. package/lib/module/components/layer/LayerNativeComponent.ts +43 -0
  418. package/lib/module/components/map/AndroidTextureMapViewNativeComponent.ts +109 -0
  419. package/lib/module/components/map/Map.js +112 -0
  420. package/lib/module/components/map/Map.js.map +1 -0
  421. package/lib/module/components/map/MapViewNativeComponent.ts +105 -0
  422. package/lib/module/components/map/NativeMapViewModule.js +5 -0
  423. package/lib/module/components/map/NativeMapViewModule.js.map +1 -0
  424. package/lib/module/components/sources/geojson-source/GeoJSONSource.js +51 -0
  425. package/lib/module/components/sources/geojson-source/GeoJSONSource.js.map +1 -0
  426. package/lib/module/components/sources/geojson-source/GeoJSONSourceNativeComponent.ts +48 -0
  427. package/lib/module/components/sources/geojson-source/NativeGeoJSONSourceModule.js +5 -0
  428. package/lib/module/components/sources/geojson-source/NativeGeoJSONSourceModule.js.map +1 -0
  429. package/lib/module/components/sources/image-source/ImageSource.js +28 -0
  430. package/lib/module/components/sources/image-source/ImageSource.js.map +1 -0
  431. package/lib/module/components/sources/image-source/ImageSourceNativeComponent.ts +31 -0
  432. package/lib/module/components/sources/raster-dem-source/RasterDEMSource.js +26 -0
  433. package/lib/module/components/sources/raster-dem-source/RasterDEMSource.js.map +1 -0
  434. package/lib/module/components/sources/raster-dem-source/RasterDEMSourceNativeComponent.ts +25 -0
  435. package/lib/module/components/sources/raster-source/RasterSource.js +27 -0
  436. package/lib/module/components/sources/raster-source/RasterSource.js.map +1 -0
  437. package/lib/module/components/sources/raster-source/RasterSourceNativeComponent.ts +25 -0
  438. package/lib/module/components/sources/vector-source/NativeVectorSourceModule.js +5 -0
  439. package/lib/module/components/sources/vector-source/NativeVectorSourceModule.js.map +1 -0
  440. package/lib/module/components/sources/vector-source/VectorSource.js +42 -0
  441. package/lib/module/components/sources/vector-source/VectorSource.js.map +1 -0
  442. package/lib/module/components/sources/vector-source/VectorSourceNativeComponent.ts +45 -0
  443. package/lib/module/components/user-location/NativeUserLocation.js +10 -0
  444. package/lib/module/components/user-location/NativeUserLocation.js.map +1 -0
  445. package/lib/module/components/user-location/UserLocation.js +47 -0
  446. package/lib/module/components/user-location/UserLocation.js.map +1 -0
  447. package/lib/module/components/user-location/UserLocationNativeComponent.ts +19 -0
  448. package/lib/module/components/user-location/UserLocationPuck.js +59 -0
  449. package/lib/module/components/user-location/UserLocationPuck.js.map +1 -0
  450. package/lib/module/components/user-location/UserLocationPuckHeading.js +27 -0
  451. package/lib/module/components/user-location/UserLocationPuckHeading.js.map +1 -0
  452. package/lib/module/hooks/useCurrentPosition.js +30 -0
  453. package/lib/module/hooks/useCurrentPosition.js.map +1 -0
  454. package/lib/module/hooks/useFrozenId.js +12 -0
  455. package/lib/module/hooks/useFrozenId.js.map +1 -0
  456. package/lib/module/hooks/useNativeBridge.js +79 -0
  457. package/lib/module/hooks/useNativeBridge.js.map +1 -0
  458. package/lib/module/index.js +27 -0
  459. package/lib/module/index.js.map +1 -0
  460. package/lib/module/modules/location/LocationManager.js +94 -0
  461. package/lib/module/modules/location/LocationManager.js.map +1 -0
  462. package/lib/module/modules/location/NativeLocationModule.js +5 -0
  463. package/lib/module/modules/location/NativeLocationModule.js.map +1 -0
  464. package/lib/module/modules/log/LogManager.js +97 -0
  465. package/lib/module/modules/log/LogManager.js.map +1 -0
  466. package/lib/module/modules/log/NativeLogModule.js +5 -0
  467. package/lib/module/modules/log/NativeLogModule.js.map +1 -0
  468. package/lib/module/modules/network/NativeNetworkModule.js +5 -0
  469. package/lib/module/modules/network/NativeNetworkModule.js.map +1 -0
  470. package/lib/module/modules/network/NetworkManager.js +30 -0
  471. package/lib/module/modules/network/NetworkManager.js.map +1 -0
  472. package/lib/module/modules/offline/NativeOfflineModule.js +5 -0
  473. package/lib/module/modules/offline/NativeOfflineModule.js.map +1 -0
  474. package/lib/module/modules/offline/OfflineManager.js +348 -0
  475. package/lib/module/modules/offline/OfflineManager.js.map +1 -0
  476. package/lib/module/modules/offline/OfflinePack.js +24 -0
  477. package/lib/module/modules/offline/OfflinePack.js.map +1 -0
  478. package/lib/module/modules/static-map/NativeStaticMapModule.js +5 -0
  479. package/lib/module/modules/static-map/NativeStaticMapModule.js.map +1 -0
  480. package/lib/module/modules/static-map/StaticMapManager.js +53 -0
  481. package/lib/module/modules/static-map/StaticMapManager.js.map +1 -0
  482. package/lib/module/modules/transform-request/NativeTransformRequestModule.js +5 -0
  483. package/lib/module/modules/transform-request/NativeTransformRequestModule.js.map +1 -0
  484. package/lib/module/modules/transform-request/TransformRequestManager.js +230 -0
  485. package/lib/module/modules/transform-request/TransformRequestManager.js.map +1 -0
  486. package/lib/module/package.json +1 -0
  487. package/lib/module/plugin/MapVinaPluginProps.js +2 -0
  488. package/lib/module/plugin/MapVinaPluginProps.js.map +1 -0
  489. package/lib/module/plugin/android.js +32 -0
  490. package/lib/module/plugin/android.js.map +1 -0
  491. package/lib/module/plugin/ios.js +83 -0
  492. package/lib/module/plugin/ios.js.map +1 -0
  493. package/lib/module/types/Anchor.js +63 -0
  494. package/lib/module/types/Anchor.js.map +1 -0
  495. package/lib/module/types/BaseProps.js +2 -0
  496. package/lib/module/types/BaseProps.js.map +1 -0
  497. package/lib/module/types/LngLat.js +2 -0
  498. package/lib/module/types/LngLat.js.map +1 -0
  499. package/lib/module/types/LngLatBounds.js +2 -0
  500. package/lib/module/types/LngLatBounds.js.map +1 -0
  501. package/lib/module/types/MapVinaRNStyles.js +4 -0
  502. package/lib/module/types/MapVinaRNStyles.js.map +1 -0
  503. package/lib/module/types/PixelPoint.js +2 -0
  504. package/lib/module/types/PixelPoint.js.map +1 -0
  505. package/lib/module/types/PixelPointBounds.js +2 -0
  506. package/lib/module/types/PixelPointBounds.js.map +1 -0
  507. package/lib/module/types/PressEvent.js +4 -0
  508. package/lib/module/types/PressEvent.js.map +1 -0
  509. package/lib/module/types/PressEventWithFeatures.js +4 -0
  510. package/lib/module/types/PressEventWithFeatures.js.map +1 -0
  511. package/lib/module/types/PressableSourceProps.js +4 -0
  512. package/lib/module/types/PressableSourceProps.js.map +1 -0
  513. package/lib/module/types/ViewPadding.js +2 -0
  514. package/lib/module/types/ViewPadding.js.map +1 -0
  515. package/lib/module/types/codegen/UnsafeMixed.js +2 -0
  516. package/lib/module/types/codegen/UnsafeMixed.js.map +1 -0
  517. package/lib/module/utils/BridgeValue.js +54 -0
  518. package/lib/module/utils/BridgeValue.js.map +1 -0
  519. package/lib/module/utils/StyleValue.js +34 -0
  520. package/lib/module/utils/StyleValue.js.map +1 -0
  521. package/lib/module/utils/animated/AbstractAnimatedCoordinates.js +91 -0
  522. package/lib/module/utils/animated/AbstractAnimatedCoordinates.js.map +1 -0
  523. package/lib/module/utils/animated/Animated.js +26 -0
  524. package/lib/module/utils/animated/Animated.js.map +1 -0
  525. package/lib/module/utils/animated/AnimatedCoordinatesArray.js +86 -0
  526. package/lib/module/utils/animated/AnimatedCoordinatesArray.js.map +1 -0
  527. package/lib/module/utils/animated/AnimatedExtractCoordinateFromArray.js +27 -0
  528. package/lib/module/utils/animated/AnimatedExtractCoordinateFromArray.js.map +1 -0
  529. package/lib/module/utils/animated/AnimatedGeoJSON.js +62 -0
  530. package/lib/module/utils/animated/AnimatedGeoJSON.js.map +1 -0
  531. package/lib/module/utils/animated/AnimatedPoint.js +109 -0
  532. package/lib/module/utils/animated/AnimatedPoint.js.map +1 -0
  533. package/lib/module/utils/animated/AnimatedRouteCoordinatesArray.js +115 -0
  534. package/lib/module/utils/animated/AnimatedRouteCoordinatesArray.js.map +1 -0
  535. package/lib/module/utils/convertStyleSpec.js +53 -0
  536. package/lib/module/utils/convertStyleSpec.js.map +1 -0
  537. package/lib/module/utils/findNodeHandle.js +11 -0
  538. package/lib/module/utils/findNodeHandle.js.map +1 -0
  539. package/lib/module/utils/getNativeFilter.js +12 -0
  540. package/lib/module/utils/getNativeFilter.js.map +1 -0
  541. package/lib/module/utils/getStylePropertyType.js +251 -0
  542. package/lib/module/utils/getStylePropertyType.js.map +1 -0
  543. package/lib/module/utils/index.js +55 -0
  544. package/lib/module/utils/index.js.map +1 -0
  545. package/lib/typescript/commonjs/components/annotations/LayerAnnotation.d.ts +20 -0
  546. package/lib/typescript/commonjs/components/annotations/LayerAnnotation.d.ts.map +1 -0
  547. package/lib/typescript/commonjs/components/annotations/callout/Callout.d.ts +35 -0
  548. package/lib/typescript/commonjs/components/annotations/callout/Callout.d.ts.map +1 -0
  549. package/lib/typescript/commonjs/components/annotations/callout/CalloutNativeComponent.d.ts +6 -0
  550. package/lib/typescript/commonjs/components/annotations/callout/CalloutNativeComponent.d.ts.map +1 -0
  551. package/lib/typescript/commonjs/components/annotations/marker/Marker.d.ts +79 -0
  552. package/lib/typescript/commonjs/components/annotations/marker/Marker.d.ts.map +1 -0
  553. package/lib/typescript/commonjs/components/annotations/marker/MarkerViewNativeComponent.d.ts +31 -0
  554. package/lib/typescript/commonjs/components/annotations/marker/MarkerViewNativeComponent.d.ts.map +1 -0
  555. package/lib/typescript/commonjs/components/annotations/view-annotation/PointAnnotationNativeComponent.d.ts +44 -0
  556. package/lib/typescript/commonjs/components/annotations/view-annotation/PointAnnotationNativeComponent.d.ts.map +1 -0
  557. package/lib/typescript/commonjs/components/annotations/view-annotation/ViewAnnotation.d.ts +119 -0
  558. package/lib/typescript/commonjs/components/annotations/view-annotation/ViewAnnotation.d.ts.map +1 -0
  559. package/lib/typescript/commonjs/components/camera/Camera.d.ts +217 -0
  560. package/lib/typescript/commonjs/components/camera/Camera.d.ts.map +1 -0
  561. package/lib/typescript/commonjs/components/camera/CameraNativeComponent.d.ts +37 -0
  562. package/lib/typescript/commonjs/components/camera/CameraNativeComponent.d.ts.map +1 -0
  563. package/lib/typescript/commonjs/components/camera/NativeCameraModule.d.ts +26 -0
  564. package/lib/typescript/commonjs/components/camera/NativeCameraModule.d.ts.map +1 -0
  565. package/lib/typescript/commonjs/components/images/Images.d.ts +69 -0
  566. package/lib/typescript/commonjs/components/images/Images.d.ts.map +1 -0
  567. package/lib/typescript/commonjs/components/images/ImagesNativeComponent.d.ts +17 -0
  568. package/lib/typescript/commonjs/components/images/ImagesNativeComponent.d.ts.map +1 -0
  569. package/lib/typescript/commonjs/components/images/NativeImagesModule.d.ts +6 -0
  570. package/lib/typescript/commonjs/components/images/NativeImagesModule.d.ts.map +1 -0
  571. package/lib/typescript/commonjs/components/layer/Layer.d.ts +172 -0
  572. package/lib/typescript/commonjs/components/layer/Layer.d.ts.map +1 -0
  573. package/lib/typescript/commonjs/components/layer/LayerNativeComponent.d.ts +19 -0
  574. package/lib/typescript/commonjs/components/layer/LayerNativeComponent.d.ts.map +1 -0
  575. package/lib/typescript/commonjs/components/map/AndroidTextureMapViewNativeComponent.d.ts +79 -0
  576. package/lib/typescript/commonjs/components/map/AndroidTextureMapViewNativeComponent.d.ts.map +1 -0
  577. package/lib/typescript/commonjs/components/map/Map.d.ts +448 -0
  578. package/lib/typescript/commonjs/components/map/Map.d.ts.map +1 -0
  579. package/lib/typescript/commonjs/components/map/MapViewNativeComponent.d.ts +79 -0
  580. package/lib/typescript/commonjs/components/map/MapViewNativeComponent.d.ts.map +1 -0
  581. package/lib/typescript/commonjs/components/map/NativeMapViewModule.d.ts +31 -0
  582. package/lib/typescript/commonjs/components/map/NativeMapViewModule.d.ts.map +1 -0
  583. package/lib/typescript/commonjs/components/sources/geojson-source/GeoJSONSource.d.ts +135 -0
  584. package/lib/typescript/commonjs/components/sources/geojson-source/GeoJSONSource.d.ts.map +1 -0
  585. package/lib/typescript/commonjs/components/sources/geojson-source/GeoJSONSourceNativeComponent.d.ts +35 -0
  586. package/lib/typescript/commonjs/components/sources/geojson-source/GeoJSONSourceNativeComponent.d.ts.map +1 -0
  587. package/lib/typescript/commonjs/components/sources/geojson-source/NativeGeoJSONSourceModule.d.ts +10 -0
  588. package/lib/typescript/commonjs/components/sources/geojson-source/NativeGeoJSONSourceModule.d.ts.map +1 -0
  589. package/lib/typescript/commonjs/components/sources/image-source/ImageSource.d.ts +32 -0
  590. package/lib/typescript/commonjs/components/sources/image-source/ImageSource.d.ts.map +1 -0
  591. package/lib/typescript/commonjs/components/sources/image-source/ImageSourceNativeComponent.d.ts +21 -0
  592. package/lib/typescript/commonjs/components/sources/image-source/ImageSourceNativeComponent.d.ts.map +1 -0
  593. package/lib/typescript/commonjs/components/sources/raster-dem-source/RasterDEMSource.d.ts +58 -0
  594. package/lib/typescript/commonjs/components/sources/raster-dem-source/RasterDEMSource.d.ts.map +1 -0
  595. package/lib/typescript/commonjs/components/sources/raster-dem-source/RasterDEMSourceNativeComponent.d.ts +15 -0
  596. package/lib/typescript/commonjs/components/sources/raster-dem-source/RasterDEMSourceNativeComponent.d.ts.map +1 -0
  597. package/lib/typescript/commonjs/components/sources/raster-source/RasterSource.d.ts +59 -0
  598. package/lib/typescript/commonjs/components/sources/raster-source/RasterSource.d.ts.map +1 -0
  599. package/lib/typescript/commonjs/components/sources/raster-source/RasterSourceNativeComponent.d.ts +15 -0
  600. package/lib/typescript/commonjs/components/sources/raster-source/RasterSourceNativeComponent.d.ts.map +1 -0
  601. package/lib/typescript/commonjs/components/sources/vector-source/NativeVectorSourceModule.d.ts +7 -0
  602. package/lib/typescript/commonjs/components/sources/vector-source/NativeVectorSourceModule.d.ts.map +1 -0
  603. package/lib/typescript/commonjs/components/sources/vector-source/VectorSource.d.ts +75 -0
  604. package/lib/typescript/commonjs/components/sources/vector-source/VectorSource.d.ts.map +1 -0
  605. package/lib/typescript/commonjs/components/sources/vector-source/VectorSourceNativeComponent.d.ts +32 -0
  606. package/lib/typescript/commonjs/components/sources/vector-source/VectorSourceNativeComponent.d.ts.map +1 -0
  607. package/lib/typescript/commonjs/components/user-location/NativeUserLocation.d.ts +27 -0
  608. package/lib/typescript/commonjs/components/user-location/NativeUserLocation.d.ts.map +1 -0
  609. package/lib/typescript/commonjs/components/user-location/UserLocation.d.ts +31 -0
  610. package/lib/typescript/commonjs/components/user-location/UserLocation.d.ts.map +1 -0
  611. package/lib/typescript/commonjs/components/user-location/UserLocationNativeComponent.d.ts +8 -0
  612. package/lib/typescript/commonjs/components/user-location/UserLocationNativeComponent.d.ts.map +1 -0
  613. package/lib/typescript/commonjs/components/user-location/UserLocationPuck.d.ts +10 -0
  614. package/lib/typescript/commonjs/components/user-location/UserLocationPuck.d.ts.map +1 -0
  615. package/lib/typescript/commonjs/components/user-location/UserLocationPuckHeading.d.ts +9 -0
  616. package/lib/typescript/commonjs/components/user-location/UserLocationPuckHeading.d.ts.map +1 -0
  617. package/lib/typescript/commonjs/hooks/useCurrentPosition.d.ts +18 -0
  618. package/lib/typescript/commonjs/hooks/useCurrentPosition.d.ts.map +1 -0
  619. package/lib/typescript/commonjs/hooks/useFrozenId.d.ts +2 -0
  620. package/lib/typescript/commonjs/hooks/useFrozenId.d.ts.map +1 -0
  621. package/lib/typescript/commonjs/hooks/useNativeBridge.d.ts +21 -0
  622. package/lib/typescript/commonjs/hooks/useNativeBridge.d.ts.map +1 -0
  623. package/lib/typescript/commonjs/index.d.ts +36 -0
  624. package/lib/typescript/commonjs/index.d.ts.map +1 -0
  625. package/lib/typescript/commonjs/modules/location/LocationManager.d.ts +62 -0
  626. package/lib/typescript/commonjs/modules/location/LocationManager.d.ts.map +1 -0
  627. package/lib/typescript/commonjs/modules/location/NativeLocationModule.d.ts +25 -0
  628. package/lib/typescript/commonjs/modules/location/NativeLocationModule.d.ts.map +1 -0
  629. package/lib/typescript/commonjs/modules/log/LogManager.d.ts +46 -0
  630. package/lib/typescript/commonjs/modules/log/LogManager.d.ts.map +1 -0
  631. package/lib/typescript/commonjs/modules/log/NativeLogModule.d.ts +13 -0
  632. package/lib/typescript/commonjs/modules/log/NativeLogModule.d.ts.map +1 -0
  633. package/lib/typescript/commonjs/modules/network/NativeNetworkModule.d.ts +7 -0
  634. package/lib/typescript/commonjs/modules/network/NativeNetworkModule.d.ts.map +1 -0
  635. package/lib/typescript/commonjs/modules/network/NetworkManager.d.ts +24 -0
  636. package/lib/typescript/commonjs/modules/network/NetworkManager.d.ts.map +1 -0
  637. package/lib/typescript/commonjs/modules/offline/NativeOfflineModule.d.ts +50 -0
  638. package/lib/typescript/commonjs/modules/offline/NativeOfflineModule.d.ts.map +1 -0
  639. package/lib/typescript/commonjs/modules/offline/OfflineManager.d.ts +238 -0
  640. package/lib/typescript/commonjs/modules/offline/OfflineManager.d.ts.map +1 -0
  641. package/lib/typescript/commonjs/modules/offline/OfflinePack.d.ts +25 -0
  642. package/lib/typescript/commonjs/modules/offline/OfflinePack.d.ts.map +1 -0
  643. package/lib/typescript/commonjs/modules/static-map/NativeStaticMapModule.d.ts +19 -0
  644. package/lib/typescript/commonjs/modules/static-map/NativeStaticMapModule.d.ts.map +1 -0
  645. package/lib/typescript/commonjs/modules/static-map/StaticMapManager.d.ts +105 -0
  646. package/lib/typescript/commonjs/modules/static-map/StaticMapManager.d.ts.map +1 -0
  647. package/lib/typescript/commonjs/modules/transform-request/NativeTransformRequestModule.d.ts +15 -0
  648. package/lib/typescript/commonjs/modules/transform-request/NativeTransformRequestModule.d.ts.map +1 -0
  649. package/lib/typescript/commonjs/modules/transform-request/TransformRequestManager.d.ts +213 -0
  650. package/lib/typescript/commonjs/modules/transform-request/TransformRequestManager.d.ts.map +1 -0
  651. package/lib/typescript/commonjs/package.json +1 -0
  652. package/lib/typescript/commonjs/plugin/MapVinaPluginProps.d.ts +78 -0
  653. package/lib/typescript/commonjs/plugin/MapVinaPluginProps.d.ts.map +1 -0
  654. package/lib/typescript/commonjs/plugin/android.d.ts +17 -0
  655. package/lib/typescript/commonjs/plugin/android.d.ts.map +1 -0
  656. package/lib/typescript/commonjs/plugin/ios.d.ts +15 -0
  657. package/lib/typescript/commonjs/plugin/ios.d.ts.map +1 -0
  658. package/lib/typescript/commonjs/types/Anchor.d.ts +16 -0
  659. package/lib/typescript/commonjs/types/Anchor.d.ts.map +1 -0
  660. package/lib/typescript/commonjs/types/BaseProps.d.ts +7 -0
  661. package/lib/typescript/commonjs/types/BaseProps.d.ts.map +1 -0
  662. package/lib/typescript/commonjs/types/LngLat.d.ts +5 -0
  663. package/lib/typescript/commonjs/types/LngLat.d.ts.map +1 -0
  664. package/lib/typescript/commonjs/types/LngLatBounds.d.ts +13 -0
  665. package/lib/typescript/commonjs/types/LngLatBounds.d.ts.map +1 -0
  666. package/lib/typescript/commonjs/types/MapVinaRNStyles.d.ts +1169 -0
  667. package/lib/typescript/commonjs/types/MapVinaRNStyles.d.ts.map +1 -0
  668. package/lib/typescript/commonjs/types/PixelPoint.d.ts +5 -0
  669. package/lib/typescript/commonjs/types/PixelPoint.d.ts.map +1 -0
  670. package/lib/typescript/commonjs/types/PixelPointBounds.d.ts +10 -0
  671. package/lib/typescript/commonjs/types/PixelPointBounds.d.ts.map +1 -0
  672. package/lib/typescript/commonjs/types/PressEvent.d.ts +16 -0
  673. package/lib/typescript/commonjs/types/PressEvent.d.ts.map +1 -0
  674. package/lib/typescript/commonjs/types/PressEventWithFeatures.d.ts +8 -0
  675. package/lib/typescript/commonjs/types/PressEventWithFeatures.d.ts.map +1 -0
  676. package/lib/typescript/commonjs/types/PressableSourceProps.d.ts +19 -0
  677. package/lib/typescript/commonjs/types/PressableSourceProps.d.ts.map +1 -0
  678. package/lib/typescript/commonjs/types/ViewPadding.d.ts +10 -0
  679. package/lib/typescript/commonjs/types/ViewPadding.d.ts.map +1 -0
  680. package/lib/typescript/commonjs/types/codegen/UnsafeMixed.d.ts +10 -0
  681. package/lib/typescript/commonjs/types/codegen/UnsafeMixed.d.ts.map +1 -0
  682. package/lib/typescript/commonjs/utils/BridgeValue.d.ts +29 -0
  683. package/lib/typescript/commonjs/utils/BridgeValue.d.ts.map +1 -0
  684. package/lib/typescript/commonjs/utils/StyleValue.d.ts +10 -0
  685. package/lib/typescript/commonjs/utils/StyleValue.d.ts.map +1 -0
  686. package/lib/typescript/commonjs/utils/animated/AbstractAnimatedCoordinates.d.ts +42 -0
  687. package/lib/typescript/commonjs/utils/animated/AbstractAnimatedCoordinates.d.ts.map +1 -0
  688. package/lib/typescript/commonjs/utils/animated/Animated.d.ts +21 -0
  689. package/lib/typescript/commonjs/utils/animated/Animated.d.ts.map +1 -0
  690. package/lib/typescript/commonjs/utils/animated/AnimatedCoordinatesArray.d.ts +40 -0
  691. package/lib/typescript/commonjs/utils/animated/AnimatedCoordinatesArray.d.ts.map +1 -0
  692. package/lib/typescript/commonjs/utils/animated/AnimatedExtractCoordinateFromArray.d.ts +13 -0
  693. package/lib/typescript/commonjs/utils/animated/AnimatedExtractCoordinateFromArray.d.ts.map +1 -0
  694. package/lib/typescript/commonjs/utils/animated/AnimatedGeoJSON.d.ts +31 -0
  695. package/lib/typescript/commonjs/utils/animated/AnimatedGeoJSON.d.ts.map +1 -0
  696. package/lib/typescript/commonjs/utils/animated/AnimatedPoint.d.ts +32 -0
  697. package/lib/typescript/commonjs/utils/animated/AnimatedPoint.d.ts.map +1 -0
  698. package/lib/typescript/commonjs/utils/animated/AnimatedRouteCoordinatesArray.d.ts +62 -0
  699. package/lib/typescript/commonjs/utils/animated/AnimatedRouteCoordinatesArray.d.ts.map +1 -0
  700. package/lib/typescript/commonjs/utils/convertStyleSpec.d.ts +16 -0
  701. package/lib/typescript/commonjs/utils/convertStyleSpec.d.ts.map +1 -0
  702. package/lib/typescript/commonjs/utils/findNodeHandle.d.ts +3 -0
  703. package/lib/typescript/commonjs/utils/findNodeHandle.d.ts.map +1 -0
  704. package/lib/typescript/commonjs/utils/getNativeFilter.d.ts +3 -0
  705. package/lib/typescript/commonjs/utils/getNativeFilter.d.ts.map +1 -0
  706. package/lib/typescript/commonjs/utils/getStylePropertyType.d.ts +35 -0
  707. package/lib/typescript/commonjs/utils/getStylePropertyType.d.ts.map +1 -0
  708. package/lib/typescript/commonjs/utils/index.d.ts +18 -0
  709. package/lib/typescript/commonjs/utils/index.d.ts.map +1 -0
  710. package/lib/typescript/module/components/annotations/LayerAnnotation.d.ts +20 -0
  711. package/lib/typescript/module/components/annotations/LayerAnnotation.d.ts.map +1 -0
  712. package/lib/typescript/module/components/annotations/callout/Callout.d.ts +35 -0
  713. package/lib/typescript/module/components/annotations/callout/Callout.d.ts.map +1 -0
  714. package/lib/typescript/module/components/annotations/callout/CalloutNativeComponent.d.ts +6 -0
  715. package/lib/typescript/module/components/annotations/callout/CalloutNativeComponent.d.ts.map +1 -0
  716. package/lib/typescript/module/components/annotations/marker/Marker.d.ts +79 -0
  717. package/lib/typescript/module/components/annotations/marker/Marker.d.ts.map +1 -0
  718. package/lib/typescript/module/components/annotations/marker/MarkerViewNativeComponent.d.ts +31 -0
  719. package/lib/typescript/module/components/annotations/marker/MarkerViewNativeComponent.d.ts.map +1 -0
  720. package/lib/typescript/module/components/annotations/view-annotation/PointAnnotationNativeComponent.d.ts +44 -0
  721. package/lib/typescript/module/components/annotations/view-annotation/PointAnnotationNativeComponent.d.ts.map +1 -0
  722. package/lib/typescript/module/components/annotations/view-annotation/ViewAnnotation.d.ts +119 -0
  723. package/lib/typescript/module/components/annotations/view-annotation/ViewAnnotation.d.ts.map +1 -0
  724. package/lib/typescript/module/components/camera/Camera.d.ts +217 -0
  725. package/lib/typescript/module/components/camera/Camera.d.ts.map +1 -0
  726. package/lib/typescript/module/components/camera/CameraNativeComponent.d.ts +37 -0
  727. package/lib/typescript/module/components/camera/CameraNativeComponent.d.ts.map +1 -0
  728. package/lib/typescript/module/components/camera/NativeCameraModule.d.ts +26 -0
  729. package/lib/typescript/module/components/camera/NativeCameraModule.d.ts.map +1 -0
  730. package/lib/typescript/module/components/images/Images.d.ts +69 -0
  731. package/lib/typescript/module/components/images/Images.d.ts.map +1 -0
  732. package/lib/typescript/module/components/images/ImagesNativeComponent.d.ts +17 -0
  733. package/lib/typescript/module/components/images/ImagesNativeComponent.d.ts.map +1 -0
  734. package/lib/typescript/module/components/images/NativeImagesModule.d.ts +6 -0
  735. package/lib/typescript/module/components/images/NativeImagesModule.d.ts.map +1 -0
  736. package/lib/typescript/module/components/layer/Layer.d.ts +172 -0
  737. package/lib/typescript/module/components/layer/Layer.d.ts.map +1 -0
  738. package/lib/typescript/module/components/layer/LayerNativeComponent.d.ts +19 -0
  739. package/lib/typescript/module/components/layer/LayerNativeComponent.d.ts.map +1 -0
  740. package/lib/typescript/module/components/map/AndroidTextureMapViewNativeComponent.d.ts +79 -0
  741. package/lib/typescript/module/components/map/AndroidTextureMapViewNativeComponent.d.ts.map +1 -0
  742. package/lib/typescript/module/components/map/Map.d.ts +448 -0
  743. package/lib/typescript/module/components/map/Map.d.ts.map +1 -0
  744. package/lib/typescript/module/components/map/MapViewNativeComponent.d.ts +79 -0
  745. package/lib/typescript/module/components/map/MapViewNativeComponent.d.ts.map +1 -0
  746. package/lib/typescript/module/components/map/NativeMapViewModule.d.ts +31 -0
  747. package/lib/typescript/module/components/map/NativeMapViewModule.d.ts.map +1 -0
  748. package/lib/typescript/module/components/sources/geojson-source/GeoJSONSource.d.ts +135 -0
  749. package/lib/typescript/module/components/sources/geojson-source/GeoJSONSource.d.ts.map +1 -0
  750. package/lib/typescript/module/components/sources/geojson-source/GeoJSONSourceNativeComponent.d.ts +35 -0
  751. package/lib/typescript/module/components/sources/geojson-source/GeoJSONSourceNativeComponent.d.ts.map +1 -0
  752. package/lib/typescript/module/components/sources/geojson-source/NativeGeoJSONSourceModule.d.ts +10 -0
  753. package/lib/typescript/module/components/sources/geojson-source/NativeGeoJSONSourceModule.d.ts.map +1 -0
  754. package/lib/typescript/module/components/sources/image-source/ImageSource.d.ts +32 -0
  755. package/lib/typescript/module/components/sources/image-source/ImageSource.d.ts.map +1 -0
  756. package/lib/typescript/module/components/sources/image-source/ImageSourceNativeComponent.d.ts +21 -0
  757. package/lib/typescript/module/components/sources/image-source/ImageSourceNativeComponent.d.ts.map +1 -0
  758. package/lib/typescript/module/components/sources/raster-dem-source/RasterDEMSource.d.ts +58 -0
  759. package/lib/typescript/module/components/sources/raster-dem-source/RasterDEMSource.d.ts.map +1 -0
  760. package/lib/typescript/module/components/sources/raster-dem-source/RasterDEMSourceNativeComponent.d.ts +15 -0
  761. package/lib/typescript/module/components/sources/raster-dem-source/RasterDEMSourceNativeComponent.d.ts.map +1 -0
  762. package/lib/typescript/module/components/sources/raster-source/RasterSource.d.ts +59 -0
  763. package/lib/typescript/module/components/sources/raster-source/RasterSource.d.ts.map +1 -0
  764. package/lib/typescript/module/components/sources/raster-source/RasterSourceNativeComponent.d.ts +15 -0
  765. package/lib/typescript/module/components/sources/raster-source/RasterSourceNativeComponent.d.ts.map +1 -0
  766. package/lib/typescript/module/components/sources/vector-source/NativeVectorSourceModule.d.ts +7 -0
  767. package/lib/typescript/module/components/sources/vector-source/NativeVectorSourceModule.d.ts.map +1 -0
  768. package/lib/typescript/module/components/sources/vector-source/VectorSource.d.ts +75 -0
  769. package/lib/typescript/module/components/sources/vector-source/VectorSource.d.ts.map +1 -0
  770. package/lib/typescript/module/components/sources/vector-source/VectorSourceNativeComponent.d.ts +32 -0
  771. package/lib/typescript/module/components/sources/vector-source/VectorSourceNativeComponent.d.ts.map +1 -0
  772. package/lib/typescript/module/components/user-location/NativeUserLocation.d.ts +27 -0
  773. package/lib/typescript/module/components/user-location/NativeUserLocation.d.ts.map +1 -0
  774. package/lib/typescript/module/components/user-location/UserLocation.d.ts +31 -0
  775. package/lib/typescript/module/components/user-location/UserLocation.d.ts.map +1 -0
  776. package/lib/typescript/module/components/user-location/UserLocationNativeComponent.d.ts +8 -0
  777. package/lib/typescript/module/components/user-location/UserLocationNativeComponent.d.ts.map +1 -0
  778. package/lib/typescript/module/components/user-location/UserLocationPuck.d.ts +10 -0
  779. package/lib/typescript/module/components/user-location/UserLocationPuck.d.ts.map +1 -0
  780. package/lib/typescript/module/components/user-location/UserLocationPuckHeading.d.ts +9 -0
  781. package/lib/typescript/module/components/user-location/UserLocationPuckHeading.d.ts.map +1 -0
  782. package/lib/typescript/module/hooks/useCurrentPosition.d.ts +18 -0
  783. package/lib/typescript/module/hooks/useCurrentPosition.d.ts.map +1 -0
  784. package/lib/typescript/module/hooks/useFrozenId.d.ts +2 -0
  785. package/lib/typescript/module/hooks/useFrozenId.d.ts.map +1 -0
  786. package/lib/typescript/module/hooks/useNativeBridge.d.ts +21 -0
  787. package/lib/typescript/module/hooks/useNativeBridge.d.ts.map +1 -0
  788. package/lib/typescript/module/index.d.ts +36 -0
  789. package/lib/typescript/module/index.d.ts.map +1 -0
  790. package/lib/typescript/module/modules/location/LocationManager.d.ts +62 -0
  791. package/lib/typescript/module/modules/location/LocationManager.d.ts.map +1 -0
  792. package/lib/typescript/module/modules/location/NativeLocationModule.d.ts +25 -0
  793. package/lib/typescript/module/modules/location/NativeLocationModule.d.ts.map +1 -0
  794. package/lib/typescript/module/modules/log/LogManager.d.ts +46 -0
  795. package/lib/typescript/module/modules/log/LogManager.d.ts.map +1 -0
  796. package/lib/typescript/module/modules/log/NativeLogModule.d.ts +13 -0
  797. package/lib/typescript/module/modules/log/NativeLogModule.d.ts.map +1 -0
  798. package/lib/typescript/module/modules/network/NativeNetworkModule.d.ts +7 -0
  799. package/lib/typescript/module/modules/network/NativeNetworkModule.d.ts.map +1 -0
  800. package/lib/typescript/module/modules/network/NetworkManager.d.ts +24 -0
  801. package/lib/typescript/module/modules/network/NetworkManager.d.ts.map +1 -0
  802. package/lib/typescript/module/modules/offline/NativeOfflineModule.d.ts +50 -0
  803. package/lib/typescript/module/modules/offline/NativeOfflineModule.d.ts.map +1 -0
  804. package/lib/typescript/module/modules/offline/OfflineManager.d.ts +238 -0
  805. package/lib/typescript/module/modules/offline/OfflineManager.d.ts.map +1 -0
  806. package/lib/typescript/module/modules/offline/OfflinePack.d.ts +25 -0
  807. package/lib/typescript/module/modules/offline/OfflinePack.d.ts.map +1 -0
  808. package/lib/typescript/module/modules/static-map/NativeStaticMapModule.d.ts +19 -0
  809. package/lib/typescript/module/modules/static-map/NativeStaticMapModule.d.ts.map +1 -0
  810. package/lib/typescript/module/modules/static-map/StaticMapManager.d.ts +105 -0
  811. package/lib/typescript/module/modules/static-map/StaticMapManager.d.ts.map +1 -0
  812. package/lib/typescript/module/modules/transform-request/NativeTransformRequestModule.d.ts +15 -0
  813. package/lib/typescript/module/modules/transform-request/NativeTransformRequestModule.d.ts.map +1 -0
  814. package/lib/typescript/module/modules/transform-request/TransformRequestManager.d.ts +213 -0
  815. package/lib/typescript/module/modules/transform-request/TransformRequestManager.d.ts.map +1 -0
  816. package/lib/typescript/module/package.json +1 -0
  817. package/lib/typescript/module/plugin/MapVinaPluginProps.d.ts +78 -0
  818. package/lib/typescript/module/plugin/MapVinaPluginProps.d.ts.map +1 -0
  819. package/lib/typescript/module/plugin/android.d.ts +17 -0
  820. package/lib/typescript/module/plugin/android.d.ts.map +1 -0
  821. package/lib/typescript/module/plugin/ios.d.ts +15 -0
  822. package/lib/typescript/module/plugin/ios.d.ts.map +1 -0
  823. package/lib/typescript/module/types/Anchor.d.ts +16 -0
  824. package/lib/typescript/module/types/Anchor.d.ts.map +1 -0
  825. package/lib/typescript/module/types/BaseProps.d.ts +7 -0
  826. package/lib/typescript/module/types/BaseProps.d.ts.map +1 -0
  827. package/lib/typescript/module/types/LngLat.d.ts +5 -0
  828. package/lib/typescript/module/types/LngLat.d.ts.map +1 -0
  829. package/lib/typescript/module/types/LngLatBounds.d.ts +13 -0
  830. package/lib/typescript/module/types/LngLatBounds.d.ts.map +1 -0
  831. package/lib/typescript/module/types/MapVinaRNStyles.d.ts +1169 -0
  832. package/lib/typescript/module/types/MapVinaRNStyles.d.ts.map +1 -0
  833. package/lib/typescript/module/types/PixelPoint.d.ts +5 -0
  834. package/lib/typescript/module/types/PixelPoint.d.ts.map +1 -0
  835. package/lib/typescript/module/types/PixelPointBounds.d.ts +10 -0
  836. package/lib/typescript/module/types/PixelPointBounds.d.ts.map +1 -0
  837. package/lib/typescript/module/types/PressEvent.d.ts +16 -0
  838. package/lib/typescript/module/types/PressEvent.d.ts.map +1 -0
  839. package/lib/typescript/module/types/PressEventWithFeatures.d.ts +8 -0
  840. package/lib/typescript/module/types/PressEventWithFeatures.d.ts.map +1 -0
  841. package/lib/typescript/module/types/PressableSourceProps.d.ts +19 -0
  842. package/lib/typescript/module/types/PressableSourceProps.d.ts.map +1 -0
  843. package/lib/typescript/module/types/ViewPadding.d.ts +10 -0
  844. package/lib/typescript/module/types/ViewPadding.d.ts.map +1 -0
  845. package/lib/typescript/module/types/codegen/UnsafeMixed.d.ts +10 -0
  846. package/lib/typescript/module/types/codegen/UnsafeMixed.d.ts.map +1 -0
  847. package/lib/typescript/module/utils/BridgeValue.d.ts +29 -0
  848. package/lib/typescript/module/utils/BridgeValue.d.ts.map +1 -0
  849. package/lib/typescript/module/utils/StyleValue.d.ts +10 -0
  850. package/lib/typescript/module/utils/StyleValue.d.ts.map +1 -0
  851. package/lib/typescript/module/utils/animated/AbstractAnimatedCoordinates.d.ts +42 -0
  852. package/lib/typescript/module/utils/animated/AbstractAnimatedCoordinates.d.ts.map +1 -0
  853. package/lib/typescript/module/utils/animated/Animated.d.ts +21 -0
  854. package/lib/typescript/module/utils/animated/Animated.d.ts.map +1 -0
  855. package/lib/typescript/module/utils/animated/AnimatedCoordinatesArray.d.ts +40 -0
  856. package/lib/typescript/module/utils/animated/AnimatedCoordinatesArray.d.ts.map +1 -0
  857. package/lib/typescript/module/utils/animated/AnimatedExtractCoordinateFromArray.d.ts +13 -0
  858. package/lib/typescript/module/utils/animated/AnimatedExtractCoordinateFromArray.d.ts.map +1 -0
  859. package/lib/typescript/module/utils/animated/AnimatedGeoJSON.d.ts +31 -0
  860. package/lib/typescript/module/utils/animated/AnimatedGeoJSON.d.ts.map +1 -0
  861. package/lib/typescript/module/utils/animated/AnimatedPoint.d.ts +32 -0
  862. package/lib/typescript/module/utils/animated/AnimatedPoint.d.ts.map +1 -0
  863. package/lib/typescript/module/utils/animated/AnimatedRouteCoordinatesArray.d.ts +62 -0
  864. package/lib/typescript/module/utils/animated/AnimatedRouteCoordinatesArray.d.ts.map +1 -0
  865. package/lib/typescript/module/utils/convertStyleSpec.d.ts +16 -0
  866. package/lib/typescript/module/utils/convertStyleSpec.d.ts.map +1 -0
  867. package/lib/typescript/module/utils/findNodeHandle.d.ts +3 -0
  868. package/lib/typescript/module/utils/findNodeHandle.d.ts.map +1 -0
  869. package/lib/typescript/module/utils/getNativeFilter.d.ts +3 -0
  870. package/lib/typescript/module/utils/getNativeFilter.d.ts.map +1 -0
  871. package/lib/typescript/module/utils/getStylePropertyType.d.ts +35 -0
  872. package/lib/typescript/module/utils/getStylePropertyType.d.ts.map +1 -0
  873. package/lib/typescript/module/utils/index.d.ts +18 -0
  874. package/lib/typescript/module/utils/index.d.ts.map +1 -0
  875. package/package.json +191 -0
  876. package/src/assets/heading.png +0 -0
  877. package/src/assets/heading@2x.png +0 -0
  878. package/src/assets/heading@3x.png +0 -0
  879. package/src/assets/png.d.ts +4 -0
  880. package/src/components/annotations/LayerAnnotation.tsx +74 -0
  881. package/src/components/annotations/callout/Callout.tsx +146 -0
  882. package/src/components/annotations/callout/CalloutNativeComponent.ts +11 -0
  883. package/src/components/annotations/marker/Marker.tsx +176 -0
  884. package/src/components/annotations/marker/MarkerViewNativeComponent.ts +40 -0
  885. package/src/components/annotations/view-annotation/PointAnnotationNativeComponent.ts +59 -0
  886. package/src/components/annotations/view-annotation/ViewAnnotation.tsx +239 -0
  887. package/src/components/camera/Camera.tsx +344 -0
  888. package/src/components/camera/CameraNativeComponent.ts +65 -0
  889. package/src/components/camera/NativeCameraModule.ts +38 -0
  890. package/src/components/images/Images.tsx +111 -0
  891. package/src/components/images/ImagesNativeComponent.ts +27 -0
  892. package/src/components/images/NativeImagesModule.ts +11 -0
  893. package/src/components/layer/Layer.tsx +278 -0
  894. package/src/components/layer/LayerNativeComponent.ts +43 -0
  895. package/src/components/map/AndroidTextureMapViewNativeComponent.ts +109 -0
  896. package/src/components/map/Map.tsx +697 -0
  897. package/src/components/map/MapViewNativeComponent.ts +105 -0
  898. package/src/components/map/NativeMapViewModule.ts +78 -0
  899. package/src/components/sources/geojson-source/GeoJSONSource.tsx +245 -0
  900. package/src/components/sources/geojson-source/GeoJSONSourceNativeComponent.ts +48 -0
  901. package/src/components/sources/geojson-source/NativeGeoJSONSourceModule.ts +33 -0
  902. package/src/components/sources/image-source/ImageSource.tsx +58 -0
  903. package/src/components/sources/image-source/ImageSourceNativeComponent.ts +31 -0
  904. package/src/components/sources/raster-dem-source/RasterDEMSource.tsx +83 -0
  905. package/src/components/sources/raster-dem-source/RasterDEMSourceNativeComponent.ts +25 -0
  906. package/src/components/sources/raster-source/RasterSource.tsx +82 -0
  907. package/src/components/sources/raster-source/RasterSourceNativeComponent.ts +25 -0
  908. package/src/components/sources/vector-source/NativeVectorSourceModule.ts +15 -0
  909. package/src/components/sources/vector-source/VectorSource.tsx +137 -0
  910. package/src/components/sources/vector-source/VectorSourceNativeComponent.ts +45 -0
  911. package/src/components/user-location/NativeUserLocation.tsx +31 -0
  912. package/src/components/user-location/UserLocation.tsx +98 -0
  913. package/src/components/user-location/UserLocationNativeComponent.ts +19 -0
  914. package/src/components/user-location/UserLocationPuck.tsx +83 -0
  915. package/src/components/user-location/UserLocationPuckHeading.tsx +34 -0
  916. package/src/hooks/useCurrentPosition.ts +53 -0
  917. package/src/hooks/useFrozenId.ts +13 -0
  918. package/src/hooks/useNativeBridge.ts +128 -0
  919. package/src/index.ts +119 -0
  920. package/src/modules/location/LocationManager.ts +174 -0
  921. package/src/modules/location/NativeLocationModule.ts +33 -0
  922. package/src/modules/log/LogManager.ts +115 -0
  923. package/src/modules/log/NativeLogModule.ts +16 -0
  924. package/src/modules/network/NativeNetworkModule.ts +8 -0
  925. package/src/modules/network/NetworkManager.ts +28 -0
  926. package/src/modules/offline/NativeOfflineModule.ts +63 -0
  927. package/src/modules/offline/OfflineManager.ts +428 -0
  928. package/src/modules/offline/OfflinePack.ts +44 -0
  929. package/src/modules/static-map/NativeStaticMapModule.ts +26 -0
  930. package/src/modules/static-map/StaticMapManager.ts +127 -0
  931. package/src/modules/transform-request/NativeTransformRequestModule.ts +41 -0
  932. package/src/modules/transform-request/TransformRequestManager.ts +304 -0
  933. package/src/plugin/MapVinaPluginProps.ts +84 -0
  934. package/src/plugin/android.ts +68 -0
  935. package/src/plugin/ios.ts +114 -0
  936. package/src/types/Anchor.ts +43 -0
  937. package/src/types/BaseProps.ts +6 -0
  938. package/src/types/LngLat.ts +4 -0
  939. package/src/types/LngLatBounds.ts +12 -0
  940. package/src/types/MapVinaRNStyles.ts +1335 -0
  941. package/src/types/PixelPoint.ts +4 -0
  942. package/src/types/PixelPointBounds.ts +9 -0
  943. package/src/types/PressEvent.ts +17 -0
  944. package/src/types/PressEventWithFeatures.ts +8 -0
  945. package/src/types/PressableSourceProps.ts +21 -0
  946. package/src/types/ViewPadding.ts +9 -0
  947. package/src/types/codegen/UnsafeMixed.ts +9 -0
  948. package/src/utils/BridgeValue.ts +90 -0
  949. package/src/utils/StyleValue.ts +52 -0
  950. package/src/utils/animated/AbstractAnimatedCoordinates.ts +145 -0
  951. package/src/utils/animated/Animated.ts +33 -0
  952. package/src/utils/animated/AnimatedCoordinatesArray.ts +114 -0
  953. package/src/utils/animated/AnimatedExtractCoordinateFromArray.ts +37 -0
  954. package/src/utils/animated/AnimatedGeoJSON.ts +90 -0
  955. package/src/utils/animated/AnimatedPoint.ts +153 -0
  956. package/src/utils/animated/AnimatedRouteCoordinatesArray.ts +155 -0
  957. package/src/utils/convertStyleSpec.ts +61 -0
  958. package/src/utils/findNodeHandle.ts +14 -0
  959. package/src/utils/getNativeFilter.ts +15 -0
  960. package/src/utils/getStylePropertyType.ts +268 -0
  961. package/src/utils/index.ts +105 -0
@@ -0,0 +1 @@
1
+ {"version":3,"names":["distance","convertLength","lineString","point","length","nearestPointOnLine","AbstractAnimatedCoordinates","AnimatedRouteCoordinatesArray","onInitialState","coordinatesArray","fullRoute","map","coordinates","end","from","to","onGetValue","state","actRoute","onCalculate","progress","currentEnd","prevSum","actSum","i","start","distconf","slice","current","r","or","onStart","toValue","fullRouteLineString","undefined","along","units","nearest","properties","location","originalRoute"],"sourceRoot":"../../../../src","sources":["utils/animated/AnimatedRouteCoordinatesArray.ts"],"mappings":";;AAAA,SAASA,QAAQ,QAAQ,gBAAgB;AACzC,SACEC,aAAa,EAEbC,UAAU,EACVC,KAAK,QAEA,eAAe;AACtB,SAASC,MAAM,QAAQ,cAAc;AACrC,SAASC,kBAAkB,QAAQ,6BAA6B;AAEhE,SACEC,2BAA2B,QAEtB,kCAA+B;AA0BtC,OAAO,MAAMC,6BAA6B,SAASD,2BAA2B,CAG5E;EACA;AACF;AACA;AACA;AACA;AACA;EACYE,cAAcA,CACtBC,gBAAuC,EACnB;IACpB,OAAO;MACLC,SAAS,EAAED,gBAAgB,CAACE,GAAG,CAC5BC,WAAW,IAA0B,CAACA,WAAW,CAAC,CAAC,CAAC,EAAEA,WAAW,CAAC,CAAC,CAAC,CACvE,CAAC;MACDC,GAAG,EAAE;QAAEC,IAAI,EAAE,CAAC;QAAEC,EAAE,EAAE;MAAE;IACxB,CAAC;EACH;;EAEA;AACF;AACA;AACA;AACA;AACA;EACYC,UAAUA,CAACC,KAAyB,EAAyB;IACrE,OAAOA,KAAK,CAACC,QAAQ,IAAID,KAAK,CAACP,SAAS;EAC1C;;EAEA;AACF;AACA;AACA;AACA;AACA;AACA;EACYS,WAAWA,CACnBF,KAAyB,EACzBG,QAAgB,EACI;IACpB,MAAM;MAAEV,SAAS;MAAEG;I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ACzC,OAAO,IAAI,CAACvB,KAAK,CAACP,SAAS;EAC7B;AACF","ignoreList":[]}
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+
3
+ /**
4
+ * Converts a kebab-case string to camelCase.
5
+ *
6
+ * @example
7
+ * kebabToCamel('fill-color') // Returns: 'fillColor'
8
+ * kebabToCamel('line-gap-width') // Returns: 'lineGapWidth'
9
+ */
10
+ function kebabToCamel(str) {
11
+ return str.replace(/-([a-z])/g, (_, char) => char.toUpperCase());
12
+ }
13
+
14
+ /**
15
+ * Converts style spec compliant paint/layout objects (kebab-case) to internal
16
+ * style format (camelCase).
17
+ *
18
+ * @example
19
+ * convertToInternalStyle({ 'fill-color': 'red' })
20
+ * // Returns: { fillColor: 'red' }
21
+ */
22
+ export function convertToInternalStyle(specStyle) {
23
+ if (!specStyle) {
24
+ return undefined;
25
+ }
26
+ const result = {};
27
+ for (const key of Object.keys(specStyle)) {
28
+ result[kebabToCamel(key)] = specStyle[key];
29
+ }
30
+ return result;
31
+ }
32
+
33
+ /**
34
+ * Merges paint and layout props into a single internal style object. Priority
35
+ * order (highest to lowest): paint > layout > style (deprecated)
36
+ */
37
+ export function mergeStyleProps(paint, layout, deprecatedStyle) {
38
+ const convertedPaint = convertToInternalStyle(paint);
39
+ const convertedLayout = convertToInternalStyle(layout);
40
+
41
+ // If nothing provided, return undefined
42
+ if (!convertedPaint && !convertedLayout && !deprecatedStyle) {
43
+ return undefined;
44
+ }
45
+
46
+ // Merge: deprecated style has lowest precedence
47
+ return {
48
+ ...deprecatedStyle,
49
+ ...convertedLayout,
50
+ ...convertedPaint
51
+ };
52
+ }
53
+ //# sourceMappingURL=convertStyleSpec.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["kebabToCamel","str","replace","_","char","toUpperCase","convertToInternalStyle","specStyle","undefined","result","key","Object","keys","mergeStyleProps","paint","layout","deprecatedStyle","convertedPaint","convertedLayout"],"sourceRoot":"../../../src","sources":["utils/convertStyleSpec.ts"],"mappings":";;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,YAAYA,CAACC,GAAW,EAAU;EACzC,OAAOA,GAAG,CAACC,OAAO,CAAC,WAAW,EAAE,CAACC,CAAC,EAAEC,IAAI,KAAKA,IAAI,CAACC,WAAW,CAAC,CAAC,CAAC;AAClE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,sBAAsBA,CACpCC,SAA8C,EACV;EACpC,IAAI,CAACA,SAAS,EAAE;IACd,OAAOC,SAAS;EAClB;EAEA,MAAMC,MAA+B,GAAG,CAAC,CAAC;EAE1C,KAAK,MAAMC,GAAG,IAAIC,MAAM,CAACC,IAAI,CAACL,SAAS,CAAC,EAAE;IACxCE,MAAM,CAACT,YAAY,CAACU,GAAG,CAAC,CAAC,GAAGH,SAAS,CAACG,GAAG,CAAC;EAC5C;EAEA,OAAOD,MAAM;AACf;;AAEA;AACA;AACA;AACA;AACA,OAAO,SAASI,eAAeA,CAC7BC,KAA0C,EAC1CC,MAA2C,EAC3CC,eAA0C,EACf;EAC3B,MAAMC,cAAc,GAAGX,sBAAsB,CAACQ,KAAK,CAAC;EACpD,MAAMI,eAAe,GAAGZ,sBAAsB,CAACS,MAAM,CAAC;;EAEtD;EACA,IAAI,CAACE,cAAc,IAAI,CAACC,eAAe,IAAI,CAACF,eAAe,EAAE;IAC3D,OAAOR,SAAS;EAClB;;EAEA;EACA,OAAO;IACL,GAAGQ,eAAe;IAClB,GAAGE,eAAe;IAClB,GAAGD;EACL,CAAC;AACH","ignoreList":[]}
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+
3
+ import { findNodeHandle as rnFindNodeHandle } from "react-native";
4
+ export const findNodeHandle = ref => {
5
+ const nodeHandle = rnFindNodeHandle(ref);
6
+ if (nodeHandle === null) {
7
+ throw new Error("NativeComponent ref is null, wait for the map being initialized");
8
+ }
9
+ return nodeHandle;
10
+ };
11
+ //# sourceMappingURL=findNodeHandle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["findNodeHandle","rnFindNodeHandle","ref","nodeHandle","Error"],"sourceRoot":"../../../src","sources":["utils/findNodeHandle.ts"],"mappings":";;AACA,SAASA,cAAc,IAAIC,gBAAgB,QAAQ,cAAc;AAEjE,OAAO,MAAMD,cAAc,GAAIE,GAAqB,IAAK;EACvD,MAAMC,UAAU,GAAGF,gBAAgB,CAACC,GAAG,CAAC;EAExC,IAAIC,UAAU,KAAK,IAAI,EAAE;IACvB,MAAM,IAAIC,KAAK,CACb,iEACF,CAAC;EACH;EAEA,OAAOD,UAAU;AACnB,CAAC","ignoreList":[]}
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+
3
+ export function getNativeFilter(filter) {
4
+ if (Array.isArray(filter)) {
5
+ return filter;
6
+ }
7
+ if (typeof filter === "boolean") {
8
+ return ["literal", filter];
9
+ }
10
+ return [];
11
+ }
12
+ //# sourceMappingURL=getNativeFilter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["getNativeFilter","filter","Array","isArray"],"sourceRoot":"../../../src","sources":["utils/getNativeFilter.ts"],"mappings":";;AAEA,OAAO,SAASA,eAAeA,CAC7BC,MAAuC,EAC5B;EACX,IAAIC,KAAK,CAACC,OAAO,CAACF,MAAM,CAAC,EAAE;IACzB,OAAOA,MAAM;EACf;EAEA,IAAI,OAAOA,MAAM,KAAK,SAAS,EAAE;IAC/B,OAAO,CAAC,SAAS,EAAEA,MAAM,CAAC;EAC5B;EAEA,OAAO,EAAE;AACX","ignoreList":[]}
@@ -0,0 +1,251 @@
1
+ "use strict";
2
+
3
+ // DO NOT MODIFY
4
+ // This file is auto-generated from scripts/src/templates/renderGetStylePropertyType.ts
5
+
6
+ import { isAndroid } from "./index.js";
7
+ const StyleType = {
8
+ Constant: "constant",
9
+ Color: "color",
10
+ Transition: "transition",
11
+ Translation: "translation",
12
+ Function: "function",
13
+ Image: "image",
14
+ Enum: "enum"
15
+ };
16
+ const STYLE_MAP = {
17
+ fillSortKey: StyleType.Constant,
18
+ fillAntialias: StyleType.Constant,
19
+ fillOpacity: StyleType.Constant,
20
+ fillOpacityTransition: StyleType.Transition,
21
+ fillColor: StyleType.Color,
22
+ fillColorTransition: StyleType.Transition,
23
+ fillOutlineColor: StyleType.Color,
24
+ fillOutlineColorTransition: StyleType.Transition,
25
+ fillTranslate: StyleType.Translation,
26
+ fillTranslateTransition: StyleType.Transition,
27
+ fillTranslateAnchor: StyleType.Enum,
28
+ fillPattern: StyleType.Image,
29
+ fillPatternTransition: StyleType.Transition,
30
+ lineCap: StyleType.Enum,
31
+ lineJoin: StyleType.Enum,
32
+ lineMiterLimit: StyleType.Constant,
33
+ lineRoundLimit: StyleType.Constant,
34
+ lineSortKey: StyleType.Constant,
35
+ lineOpacity: StyleType.Constant,
36
+ lineOpacityTransition: StyleType.Transition,
37
+ lineColor: StyleType.Color,
38
+ lineColorTransition: StyleType.Transition,
39
+ lineTranslate: StyleType.Translation,
40
+ lineTranslateTransition: StyleType.Transition,
41
+ lineTranslateAnchor: StyleType.Enum,
42
+ lineWidth: StyleType.Constant,
43
+ lineWidthTransition: StyleType.Transition,
44
+ lineGapWidth: StyleType.Constant,
45
+ lineGapWidthTransition: StyleType.Transition,
46
+ lineOffset: StyleType.Constant,
47
+ lineOffsetTransition: StyleType.Transition,
48
+ lineBlur: StyleType.Constant,
49
+ lineBlurTransition: StyleType.Transition,
50
+ lineDasharray: StyleType.Constant,
51
+ lineDasharrayTransition: StyleType.Transition,
52
+ linePattern: StyleType.Image,
53
+ linePatternTransition: StyleType.Transition,
54
+ lineGradient: StyleType.Color,
55
+ symbolPlacement: StyleType.Enum,
56
+ symbolSpacing: StyleType.Constant,
57
+ symbolAvoidEdges: StyleType.Constant,
58
+ symbolSortKey: StyleType.Constant,
59
+ symbolZOrder: StyleType.Enum,
60
+ iconAllowOverlap: StyleType.Constant,
61
+ iconOverlap: StyleType.Enum,
62
+ iconIgnorePlacement: StyleType.Constant,
63
+ iconOptional: StyleType.Constant,
64
+ iconRotationAlignment: StyleType.Enum,
65
+ iconSize: StyleType.Constant,
66
+ iconTextFit: StyleType.Enum,
67
+ iconTextFitPadding: StyleType.Constant,
68
+ iconImage: StyleType.Image,
69
+ iconRotate: StyleType.Constant,
70
+ iconPadding: StyleType.Constant,
71
+ iconKeepUpright: StyleType.Constant,
72
+ iconOffset: StyleType.Constant,
73
+ iconAnchor: StyleType.Enum,
74
+ iconPitchAlignment: StyleType.Enum,
75
+ textPitchAlignment: StyleType.Enum,
76
+ textRotationAlignment: StyleType.Enum,
77
+ textField: StyleType.Constant,
78
+ textFont: StyleType.Constant,
79
+ textSize: StyleType.Constant,
80
+ textMaxWidth: StyleType.Constant,
81
+ textLineHeight: StyleType.Constant,
82
+ textLetterSpacing: StyleType.Constant,
83
+ textJustify: StyleType.Enum,
84
+ textRadialOffset: StyleType.Constant,
85
+ textVariableAnchor: StyleType.Constant,
86
+ textAnchor: StyleType.Enum,
87
+ textMaxAngle: StyleType.Constant,
88
+ textWritingMode: StyleType.Constant,
89
+ textRotate: StyleType.Constant,
90
+ textPadding: StyleType.Constant,
91
+ textKeepUpright: StyleType.Constant,
92
+ textTransform: StyleType.Enum,
93
+ textOffset: StyleType.Constant,
94
+ textAllowOverlap: StyleType.Constant,
95
+ textOverlap: StyleType.Enum,
96
+ textIgnorePlacement: StyleType.Constant,
97
+ textOptional: StyleType.Constant,
98
+ iconOpacity: StyleType.Constant,
99
+ iconOpacityTransition: StyleType.Transition,
100
+ iconColor: StyleType.Color,
101
+ iconColorTransition: StyleType.Transition,
102
+ iconHaloColor: StyleType.Color,
103
+ iconHaloColorTransition: StyleType.Transition,
104
+ iconHaloWidth: StyleType.Constant,
105
+ iconHaloWidthTransition: StyleType.Transition,
106
+ iconHaloBlur: StyleType.Constant,
107
+ iconHaloBlurTransition: StyleType.Transition,
108
+ iconTranslate: StyleType.Translation,
109
+ iconTranslateTransition: StyleType.Transition,
110
+ iconTranslateAnchor: StyleType.Enum,
111
+ textOpacity: StyleType.Constant,
112
+ textOpacityTransition: StyleType.Transition,
113
+ textColor: StyleType.Color,
114
+ textColorTransition: StyleType.Transition,
115
+ textHaloColor: StyleType.Color,
116
+ textHaloColorTransition: StyleType.Transition,
117
+ textHaloWidth: StyleType.Constant,
118
+ textHaloWidthTransition: StyleType.Transition,
119
+ textHaloBlur: StyleType.Constant,
120
+ textHaloBlurTransition: StyleType.Transition,
121
+ textTranslate: StyleType.Translation,
122
+ textTranslateTransition: StyleType.Transition,
123
+ textTranslateAnchor: StyleType.Enum,
124
+ circleSortKey: StyleType.Constant,
125
+ circleRadius: StyleType.Constant,
126
+ circleRadiusTransition: StyleType.Transition,
127
+ circleColor: StyleType.Color,
128
+ circleColorTransition: StyleType.Transition,
129
+ circleBlur: StyleType.Constant,
130
+ circleBlurTransition: StyleType.Transition,
131
+ circleOpacity: StyleType.Constant,
132
+ circleOpacityTransition: StyleType.Transition,
133
+ circleTranslate: StyleType.Translation,
134
+ circleTranslateTransition: StyleType.Transition,
135
+ circleTranslateAnchor: StyleType.Enum,
136
+ circlePitchScale: StyleType.Enum,
137
+ circlePitchAlignment: StyleType.Enum,
138
+ circleStrokeWidth: StyleType.Constant,
139
+ circleStrokeWidthTransition: StyleType.Transition,
140
+ circleStrokeColor: StyleType.Color,
141
+ circleStrokeColorTransition: StyleType.Transition,
142
+ circleStrokeOpacity: StyleType.Constant,
143
+ circleStrokeOpacityTransition: StyleType.Transition,
144
+ heatmapRadius: StyleType.Constant,
145
+ heatmapRadiusTransition: StyleType.Transition,
146
+ heatmapWeight: StyleType.Constant,
147
+ heatmapIntensity: StyleType.Constant,
148
+ heatmapIntensityTransition: StyleType.Transition,
149
+ heatmapColor: StyleType.Color,
150
+ heatmapOpacity: StyleType.Constant,
151
+ heatmapOpacityTransition: StyleType.Transition,
152
+ fillExtrusionOpacity: StyleType.Constant,
153
+ fillExtrusionOpacityTransition: StyleType.Transition,
154
+ fillExtrusionColor: StyleType.Color,
155
+ fillExtrusionColorTransition: StyleType.Transition,
156
+ fillExtrusionTranslate: StyleType.Translation,
157
+ fillExtrusionTranslateTransition: StyleType.Transition,
158
+ fillExtrusionTranslateAnchor: StyleType.Enum,
159
+ fillExtrusionPattern: StyleType.Image,
160
+ fillExtrusionPatternTransition: StyleType.Transition,
161
+ fillExtrusionHeight: StyleType.Constant,
162
+ fillExtrusionHeightTransition: StyleType.Transition,
163
+ fillExtrusionBase: StyleType.Constant,
164
+ fillExtrusionBaseTransition: StyleType.Transition,
165
+ fillExtrusionVerticalGradient: StyleType.Constant,
166
+ rasterOpacity: StyleType.Constant,
167
+ rasterOpacityTransition: StyleType.Transition,
168
+ rasterHueRotate: StyleType.Constant,
169
+ rasterHueRotateTransition: StyleType.Transition,
170
+ rasterBrightnessMin: StyleType.Constant,
171
+ rasterBrightnessMinTransition: StyleType.Transition,
172
+ rasterBrightnessMax: StyleType.Constant,
173
+ rasterBrightnessMaxTransition: StyleType.Transition,
174
+ rasterSaturation: StyleType.Constant,
175
+ rasterSaturationTransition: StyleType.Transition,
176
+ rasterContrast: StyleType.Constant,
177
+ rasterContrastTransition: StyleType.Transition,
178
+ rasterResampling: StyleType.Enum,
179
+ rasterFadeDuration: StyleType.Constant,
180
+ hillshadeIlluminationDirection: StyleType.Constant,
181
+ hillshadeIlluminationAltitude: StyleType.Constant,
182
+ hillshadeIlluminationAnchor: StyleType.Enum,
183
+ hillshadeExaggeration: StyleType.Constant,
184
+ hillshadeExaggerationTransition: StyleType.Transition,
185
+ hillshadeShadowColor: StyleType.Color,
186
+ hillshadeShadowColorTransition: StyleType.Transition,
187
+ hillshadeHighlightColor: StyleType.Color,
188
+ hillshadeHighlightColorTransition: StyleType.Transition,
189
+ hillshadeAccentColor: StyleType.Color,
190
+ hillshadeAccentColorTransition: StyleType.Transition,
191
+ hillshadeMethod: StyleType.Enum,
192
+ backgroundColor: StyleType.Color,
193
+ backgroundColorTransition: StyleType.Transition,
194
+ backgroundPattern: StyleType.Image,
195
+ backgroundPatternTransition: StyleType.Transition,
196
+ backgroundOpacity: StyleType.Constant,
197
+ backgroundOpacityTransition: StyleType.Transition,
198
+ anchor: StyleType.Enum,
199
+ position: StyleType.Constant,
200
+ positionTransition: StyleType.Transition,
201
+ color: StyleType.Color,
202
+ colorTransition: StyleType.Transition,
203
+ intensity: StyleType.Constant,
204
+ intensityTransition: StyleType.Transition,
205
+ visibility: StyleType.Constant
206
+ };
207
+ const STYLE_OVERRIDES = {
208
+ // padding
209
+ iconTextFitPadding: {
210
+ iosType: "edgeinsets"
211
+ },
212
+ // offsets
213
+ iconOffset: {
214
+ iosType: "vector"
215
+ },
216
+ textOffset: {
217
+ iosType: "vector"
218
+ },
219
+ lineOffset: {
220
+ iosType: "vector"
221
+ },
222
+ // translates
223
+ fillTranslate: {
224
+ iosType: "vector"
225
+ },
226
+ lineTranslate: {
227
+ iosType: "vector"
228
+ },
229
+ iconTranslate: {
230
+ iosType: "vector"
231
+ },
232
+ textTranslate: {
233
+ iosType: "vector"
234
+ },
235
+ circleTranslate: {
236
+ iosType: "vector"
237
+ },
238
+ fillExtrusionTranslate: {
239
+ iosType: "vector"
240
+ }
241
+ };
242
+ export function getStylePropertyType(styleProperty) {
243
+ if (!isAndroid() && STYLE_OVERRIDES[styleProperty]) {
244
+ return STYLE_OVERRIDES[styleProperty].iosType;
245
+ }
246
+ if (STYLE_MAP[styleProperty]) {
247
+ return STYLE_MAP[styleProperty];
248
+ }
249
+ throw new Error(`${styleProperty} is not a valid MapVina layer style`);
250
+ }
251
+ //# sourceMappingURL=getStylePropertyType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["isAndroid","StyleType","Constant","Color","Transition","Translation","Function","Image","Enum","STYLE_MAP","fillSortKey","fillAntialias","fillOpacity","fillOpacityTransition","fillColor","fillColorTransition","fillOutlineColor","fillOutlineColorTransition","fillTranslate","fillTranslateTransition","fillTranslateAnchor","fillPattern","fillPatternTransition","lineCap","lineJoin","lineMiterLimit","lineRoundLimit","lineSortKey","lineOpacity","lineOpacityTransition","lineColor","lineColorTransition","lineTranslate","lineTranslateTransition","lineTranslateAnchor","lineWidth","lineWidthTransition","lineGapWidth","lineGapWidthTransition","lineOffset","lineOffsetTransition","lineBlur","lineBlurTransition","lineDasharray","lineDasharrayTransition","linePattern","linePatternTransition","lineGradient","symbolPlacement","symbolSpacing","symbolAvoidEdges","symbolSortKey","symbolZOrder","iconAllowOverlap","iconOverlap","iconIgnorePlacement","iconOptional","iconRotationAlignment","iconSize","iconTextFit","iconTextFitPadding","iconImage","iconRotate","iconPadding","iconKeepUpright","iconOffset","iconAnchor","iconPitchAlignment","textPitchAlignment","textRotationAlignment","textField","textFont","textSize","textMaxWidth","textLineHeight","textLetterSpacing","textJustify","textRadialOffset","textVariableAnchor","textAnchor","textMaxAngle","textWritingMode","textRotate","textPadding","textKeepUpright","textTransform","textOffset","textAllowOverlap","textOverlap","textIgnorePlacement","textOptional","iconOpacity","iconOpacityTransition","iconColor","iconColorTransition","iconHaloColor","iconHaloColorTransition","iconHaloWidth","iconHaloWidthTransition","iconHaloBlur","iconHaloBlurTransition","iconTranslate","iconTranslateTransition","iconTranslateAnchor","textOpacity","textOpacityTransition","textColor","textColorTransition","textHaloColor","textHaloColorTransition","textHaloWidth","textHaloWidthTransition","textHaloBlur","textHaloBlurTransition","textTranslate","textTranslateTransition","textTranslateAnchor","circleSortKey","circleRadius","circleRadiusTransition","circleColor","circleColorTransition","circleBlur","circleBlurTransition","circleOpacity","circleOpacityTransition","circleTranslate","circleTranslateTransition","circleTranslateAnchor","circlePitchScale","circlePitchAlignment","circleStrokeWidth","circleStrokeWidthTransition","circleStrokeColor","circleStrokeColorTransition","circleStrokeOpacity","circleStrokeOpacityTransition","heatmapRadius","heatmapRadiusTransition","heatmapWeight","heatmapIntensity","heatmapIntensityTransition","heatmapColor","heatmapOpacity","heatmapOpacityTransition","fillExtrusionOpacity","fillExtrusionOpacityTransition","fillExtrusionColor","fillExtrusionColorTransition","fillExtrusionTranslate","fillExtrusionTranslateTransition","fillExtrusionTranslateAnchor","fillExtrusionPattern","fillExtrusionPatternTransition","fillExtrusionHeight","fillExtrusionHeightTransition","fillExtrusionBase","fillExtrusionBaseTransition","fillExtrusionVerticalGradient","rasterOpacity","rasterOpacityTransition","rasterHueRotate","rasterHueRotateTransition","rasterBrightnessMin","rasterBrightnessMinTransition","rasterBrightnessMax","rasterBrightnessMaxTransition","rasterSaturation","rasterSaturationTransition","rasterContrast","rasterContrastTransition","rasterResampling","rasterFadeDuration","hillshadeIlluminationDirection","hillshadeIlluminationAltitude","hillshadeIlluminationAnchor","hillshadeExaggeration","hillshadeExaggerationTransition","hillshadeShadowColor","hillshadeShadowColorTransition","hillshadeHighlightColor","hillshadeHighlightColorTransition","hillshadeAccentColor","hillshadeAccentColorTransition","hillshadeMethod","backgroundColor","backgroundColorTransition","backgroundPattern","backgroundPatternTransition","backgroundOpacity","backgroundOpacityTransition","anchor","position","positionTransition","color","colorTransition","intensity","intensityTransition","visibility","STYLE_OVERRIDES","iosType","getStylePropertyType","styleProperty","Error"],"sourceRoot":"../../../src","sources":["utils/getStylePropertyType.ts"],"mappings":";;AAAA;AACA;;AAEA,SAASA,SAAS,QAAQ,YAAS;AAEnC,MAAMC,SAAS,GAAG;EAChBC,QAAQ,EAAE,UAAU;EACpBC,KAAK,EAAE,OAAO;EACdC,UAAU,EAAE,YAAY;EACxBC,WAAW,EAAE,aAAa;EAC1BC,QAAQ,EAAE,UAAU;EACpBC,KAAK,EAAE,OAAO;EACdC,IAAI,EAAE;AACR,CAAC;AAED,MAAMC,SAAS,GAAG;EAChBC,WAAW,EAAET,SAAS,CAACC,QAAQ;EAC/BS,aAAa,EAAEV,SAAS,CAACC,QAAQ;EACjCU,WAAW,EAAEX,SAAS,CAACC,QAAQ;EAC/BW,qBAAqB,EAAEZ,SAAS,CAACG,UAAU;EAC3CU,SAAS,EAAEb,SAAS,CAACE,KAAK;EAC1BY,mBAAmB,EAAEd,SAAS,CAACG,UAAU;EACzCY,gBAAgB,EAAEf,SAAS,CAACE,KAAK;EACj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E;IAC5B,OAAOjM,SAAS,CAACiM,aAAa,CAAC;EACjC;EAEA,MAAM,IAAIC,KAAK,CAAC,GAAGD,aAAa,qCAAqC,CAAC;AACxE","ignoreList":[]}
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+
3
+ import { Children, cloneElement } from "react";
4
+ import { Image, NativeModules, findNodeHandle, Platform, UIManager } from "react-native";
5
+ export function isAndroid() {
6
+ return Platform.OS === "android";
7
+ }
8
+ export function isFunction(fn) {
9
+ return typeof fn === "function";
10
+ }
11
+ export function isNumber(num) {
12
+ return typeof num === "number" && !Number.isNaN(num);
13
+ }
14
+ export function isUndefined(obj) {
15
+ return typeof obj === "undefined";
16
+ }
17
+ export function isString(str) {
18
+ return typeof str === "string";
19
+ }
20
+ export function isBoolean(bool) {
21
+ return typeof bool === "boolean";
22
+ }
23
+ export function runNativeCommand(module, name, nativeRef, args = []) {
24
+ const handle = findNodeHandle(nativeRef);
25
+ if (!handle) {
26
+ throw new Error(`Could not find handle for native ref ${module}.${name}`);
27
+ }
28
+ const managerInstance = isAndroid() ? UIManager.getViewManagerConfig(module) : NativeModules[module];
29
+ if (!managerInstance) {
30
+ throw new Error(`Could not find ${module}`);
31
+ }
32
+ if (isAndroid()) {
33
+ UIManager.dispatchViewManagerCommand(handle, managerInstance.Commands[name], args);
34
+
35
+ // Android uses callback instead of return
36
+ return null;
37
+ }
38
+ return managerInstance[name](handle, ...args);
39
+ }
40
+ export function cloneReactChildrenWithProps(children, propsToAdd = {}) {
41
+ if (!children) {
42
+ return null;
43
+ }
44
+ const foundChildren = Array.isArray(children) ? children : [children];
45
+ const filteredChildren = foundChildren.filter(child => !!child);
46
+ return Children.map(filteredChildren, child => /*#__PURE__*/cloneElement(child, propsToAdd));
47
+ }
48
+ export function resolveImagePath(imageRef) {
49
+ const res = Image.resolveAssetSource(imageRef);
50
+ return res.uri;
51
+ }
52
+ export function toJSONString(json = "") {
53
+ return JSON.stringify(json);
54
+ }
55
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["Children","cloneElement","Image","NativeModules","findNodeHandle","Platform","UIManager","isAndroid","OS","isFunction","fn","isNumber","num","Number","isNaN","isUndefined","obj","isString","str","isBoolean","bool","runNativeCommand","module","name","nativeRef","args","handle","Error","managerInstance","getViewManagerConfig","dispatchViewManagerCommand","Commands","cloneReactChildrenWithProps","children","propsToAdd","foundChildren","Array","isArray","filteredChildren","filter","child","map","resolveImagePath","imageRef","res","resolveAssetSource","uri","toJSONString","json","JSON","stringify"],"sourceRoot":"../../../src","sources":["utils/index.ts"],"mappings":";;AAAA,SACEA,QAAQ,EACRC,YAAY,QAIP,OAAO;AACd,SACEC,KAAK,EACLC,aAAa,EACbC,cAAc,EACdC,QAAQ,EAERC,SAAS,QACJ,cAAc;AAErB,OAAO,SAASC,SAASA,CAAA,EAAY;EACnC,OAAOF,QAAQ,CAACG,EAAE,KAAK,SAAS;AAClC;AAEA,OAAO,SAASC,UAAUA,CAACC,EAAW,EAAkB;EACtD,OAAO,OAAOA,EAAE,KAAK,UAAU;AACjC;AAEA,OAAO,SAASC,QAAQA,CAACC,GAAY,EAAiB;EACpD,OAAO,OAAOA,GAAG,KAAK,QAAQ,IAAI,CAACC,MAAM,CAACC,KAAK,CAACF,GAAG,CAAC;AACtD;AAEA,OAAO,SAASG,WAAWA,CAACC,GAAY,EAAoB;EAC1D,OAAO,OAAOA,GAAG,KAAK,WAAW;AACnC;AAEA,OAAO,SAASC,QAAQA,CAACC,GAAY,EAAiB;EACpD,OAAO,OAAOA,GAAG,KAAK,QAAQ;AAChC;AAEA,OAAO,SAASC,SAASA,CAACC,IAAa,EAAmB;EACxD,OAAO,OAAOA,IAAI,KAAK,SAAS;AAClC;AAUA,OAAO,SAASC,gBAAgBA,CAC9BC,MAAc,EACdC,IAAY,EACZC,SAAoB,EACpBC,IAAiB,GAAG,EAAE,EACV;EACZ,MAAMC,MAAM,GAAGtB,cAAc,CAACoB,SAAS,CAAC;EACxC,IAAI,CA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;EAC/D,OAAOC,IAAI,CAACC,SAAS,CAACF,IAAI,CAAC;AAC7B","ignoreList":[]}
@@ -0,0 +1,20 @@
1
+ import { type ReactNode } from "react";
2
+ import { type NativeSyntheticEvent } from "react-native";
3
+ import type { BaseProps } from "../../types/BaseProps";
4
+ import type { LngLat } from "../../types/LngLat";
5
+ import type { PressEventWithFeatures } from "../../types/PressEventWithFeatures";
6
+ export interface LayerAnnotationProps extends BaseProps {
7
+ id?: string;
8
+ lngLat: LngLat;
9
+ animated?: boolean;
10
+ animationDuration?: number;
11
+ animationEasingFunction?: (x: number) => number;
12
+ onPress?: (event: NativeSyntheticEvent<PressEventWithFeatures>) => void;
13
+ children?: ReactNode;
14
+ }
15
+ /**
16
+ * Convenience wrapper around a GeoJSONSource for a Point/LngLat, optionally
17
+ * animated.
18
+ */
19
+ export declare const LayerAnnotation: ({ lngLat, animated, animationDuration, animationEasingFunction, ...props }: LayerAnnotationProps) => import("react/jsx-runtime").JSX.Element;
20
+ //# sourceMappingURL=LayerAnnotation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LayerAnnotation.d.ts","sourceRoot":"","sources":["../../../../../src/components/annotations/LayerAnnotation.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAuB,MAAM,OAAO,CAAC;AAC5D,OAAO,EAGL,KAAK,oBAAoB,EAC1B,MAAM,cAAc,CAAC;AAEtB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAIjF,MAAM,WAAW,oBAAqB,SAAQ,SAAS;IACrD,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,uBAAuB,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,MAAM,CAAC;IAChD,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,oBAAoB,CAAC,sBAAsB,CAAC,KAAK,IAAI,CAAC;IACxE,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAOD;;;GAGG;AACH,eAAO,MAAM,eAAe,GAAI,4EAM7B,oBAAoB,4CAmCtB,CAAC"}
@@ -0,0 +1,35 @@
1
+ import { type ViewProps, type ViewStyle } from "react-native";
2
+ export interface CalloutProps extends Omit<ViewProps, "style"> {
3
+ /**
4
+ * String that gets displayed in the default callout.
5
+ */
6
+ title?: string;
7
+ /**
8
+ * Style property for the CalloutNativeComponent.
9
+ *
10
+ * Use at your own risk.
11
+ */
12
+ style?: ViewStyle;
13
+ /**
14
+ * Style property for the Animated.View wrapper, apply animations to this
15
+ */
16
+ animatedStyle?: ViewStyle;
17
+ /**
18
+ * Style property for the content bubble.
19
+ */
20
+ contentStyle?: ViewStyle;
21
+ /**
22
+ * Style property for the triangle tip under the content.
23
+ */
24
+ tipStyle?: ViewStyle;
25
+ /**
26
+ * Style property for the title in the content bubble.
27
+ */
28
+ titleStyle?: ViewStyle;
29
+ }
30
+ /**
31
+ * Callout that displays information about a selected annotation near the
32
+ * annotation.
33
+ */
34
+ export declare const Callout: ({ title, style, animatedStyle, contentStyle, tipStyle, titleStyle, children, testID, ...props }: CalloutProps) => import("react/jsx-runtime").JSX.Element;
35
+ //# sourceMappingURL=Callout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Callout.d.ts","sourceRoot":"","sources":["../../../../../../src/components/annotations/callout/Callout.tsx"],"names":[],"mappings":"AACA,OAAO,EAKL,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAwCtB,MAAM,WAAW,YAAa,SAAQ,IAAI,CAAC,SAAS,EAAE,OAAO,CAAC;IAC5D;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;;OAIG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAElB;;OAEG;IACH,aAAa,CAAC,EAAE,SAAS,CAAC;IAE1B;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IAEzB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IAErB;;OAEG;IACH,UAAU,CAAC,EAAE,SAAS,CAAC;CACxB;AAED;;;GAGG;AACH,eAAO,MAAM,OAAO,GAAI,iGAUrB,YAAY,4CAiDd,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { type HostComponent, type ViewProps } from "react-native";
2
+ export interface NativeProps extends ViewProps {
3
+ }
4
+ declare const _default: HostComponent<NativeProps>;
5
+ export default _default;
6
+ //# sourceMappingURL=CalloutNativeComponent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CalloutNativeComponent.d.ts","sourceRoot":"","sources":["../../../../../../src/components/annotations/callout/CalloutNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,aAAa,EAClB,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAEtB,MAAM,WAAW,WAAY,SAAQ,SAAS;CAAG;wBAI5C,aAAa,CAAC,WAAW,CAAC;AAF/B,wBAEgC"}
@@ -0,0 +1,79 @@
1
+ import { Component, type ComponentProps, type ReactElement, type Ref } from "react";
2
+ import { type NativeSyntheticEvent, type ReactNativeElement, type ViewProps } from "react-native";
3
+ import MarkerViewNativeComponent from "./MarkerViewNativeComponent";
4
+ import { type Anchor } from "../../../types/Anchor";
5
+ import type { LngLat } from "../../../types/LngLat";
6
+ import type { PixelPoint } from "../../../types/PixelPoint";
7
+ import type { PressEvent } from "../../../types/PressEvent";
8
+ export type NativeMarkerRef = Component<ComponentProps<typeof MarkerViewNativeComponent>> & ReactNativeElement;
9
+ /**
10
+ * Event emitted by a Marker on press.
11
+ */
12
+ export type MarkerEvent = PressEvent & {
13
+ id: string;
14
+ };
15
+ export interface MarkerRef {
16
+ /**
17
+ * Returns the native ref for Reanimated v4 compatibility.
18
+ */
19
+ getAnimatableRef(): NativeMarkerRef | null;
20
+ }
21
+ export interface MarkerProps extends ViewProps {
22
+ /**
23
+ * A string that uniquely identifies the marker.
24
+ */
25
+ id?: string;
26
+ /**
27
+ * The center point (specified as a map coordinate) of the marker. See also
28
+ * #anchor.
29
+ */
30
+ lngLat: LngLat;
31
+ /**
32
+ * Specifies the anchor being set on a particular point of the annotation. The
33
+ * anchor indicates which part of the marker should be placed closest to the
34
+ * coordinate.
35
+ *
36
+ * @see {@link https://mapvina.com/mapvina-gl-js/docs/API/type-aliases/PositionAnchor/}
37
+ * @defaultValue "center"
38
+ */
39
+ anchor?: Anchor;
40
+ /**
41
+ * The offset in pixels to apply relative to the anchor. Negative values
42
+ * indicate left and up.
43
+ *
44
+ * @see {@link https://mapvina.com/mapvina-gl-js/docs/API/type-aliases/MarkerOptions/#offset}
45
+ * @defaultValue [0, 0]
46
+ */
47
+ offset?: PixelPoint;
48
+ /**
49
+ * Manually selects/deselects the marker.
50
+ *
51
+ * @platform iOS
52
+ */
53
+ selected?: boolean;
54
+ /**
55
+ * This callback is fired when the marker is pressed.
56
+ */
57
+ onPress?: (event: NativeSyntheticEvent<MarkerEvent>) => void;
58
+ /**
59
+ * Expects one child - can be a View with multiple elements.
60
+ */
61
+ children: ReactElement;
62
+ /**
63
+ * Ref to access Marker methods.
64
+ */
65
+ ref?: Ref<MarkerRef>;
66
+ }
67
+ /**
68
+ * Marker allows you to place an interactive React Native View on the map.
69
+ *
70
+ * If you have static view consider using ViewAnnotation or SymbolLayer for
71
+ * better performance.
72
+ *
73
+ * Implemented through:
74
+ * - Android: Native Views placed on the map projection
75
+ * - iOS:
76
+ * [MLNPointAnnotation](https://mapvina.com/mapvina-native/ios/latest/documentation/mapvina/mlnpointannotation/)
77
+ */
78
+ export declare const Marker: ({ id, anchor, offset, ref, ...props }: MarkerProps) => import("react/jsx-runtime").JSX.Element;
79
+ //# sourceMappingURL=Marker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Marker.d.ts","sourceRoot":"","sources":["../../../../../../src/components/annotations/marker/Marker.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,GAAG,EAGT,MAAM,OAAO,CAAC;AACf,OAAO,EACL,KAAK,oBAAoB,EAEzB,KAAK,kBAAkB,EAEvB,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAEtB,OAAO,yBAAyB,MAAM,6BAA6B,CAAC;AAEpE,OAAO,EAAE,KAAK,MAAM,EAAkB,MAAM,uBAAuB,CAAC;AACpE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAM5D,MAAM,MAAM,eAAe,GAAG,SAAS,CACrC,cAAc,CAAC,OAAO,yBAAyB,CAAC,CACjD,GACC,kBAAkB,CAAC;AAErB;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,UAAU,GAAG;IACrC,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,MAAM,WAAW,SAAS;IACxB;;OAEG;IACH,gBAAgB,IAAI,eAAe,GAAG,IAAI,CAAC;CAC5C;AAED,MAAM,WAAW,WAAY,SAAQ,SAAS;IAC5C;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;;OAGG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,UAAU,CAAC;IAEpB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,oBAAoB,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IAE7D;;OAEG;IACH,QAAQ,EAAE,YAAY,CAAC;IAEvB;;OAEG;IACH,GAAG,CAAC,EAAE,GAAG,CAAC,SAAS,CAAC,CAAC;CACtB;AAED;;;;;;;;;;GAUG;AACH,eAAO,MAAM,MAAM,GAAI,uCAMpB,WAAW,4CA0Db,CAAC"}
@@ -0,0 +1,31 @@
1
+ import { type CodegenTypes, type HostComponent, type ViewProps } from "react-native";
2
+ import type { UnsafeMixed } from "../../../types/codegen/UnsafeMixed";
3
+ type NativeAnchor = {
4
+ x?: CodegenTypes.WithDefault<CodegenTypes.Double, 0.5>;
5
+ y?: CodegenTypes.WithDefault<CodegenTypes.Double, 0.5>;
6
+ };
7
+ type NativeOffset = {
8
+ x: CodegenTypes.Double;
9
+ y: CodegenTypes.Double;
10
+ };
11
+ type NativeMarkerPressEvent = {
12
+ id: string;
13
+ lngLat: UnsafeMixed<[
14
+ longitude: CodegenTypes.Double,
15
+ latitude: CodegenTypes.Double
16
+ ]>;
17
+ point: UnsafeMixed<[x: CodegenTypes.Double, y: CodegenTypes.Double]>;
18
+ };
19
+ export interface NativeProps extends ViewProps {
20
+ id: string;
21
+ lngLat: UnsafeMixed<[
22
+ longitude: CodegenTypes.Double,
23
+ latitude: CodegenTypes.Double
24
+ ]>;
25
+ anchor?: NativeAnchor;
26
+ offset?: NativeOffset;
27
+ onPress?: CodegenTypes.BubblingEventHandler<NativeMarkerPressEvent>;
28
+ }
29
+ declare const _default: HostComponent<NativeProps>;
30
+ export default _default;
31
+ //# sourceMappingURL=MarkerViewNativeComponent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MarkerViewNativeComponent.d.ts","sourceRoot":"","sources":["../../../../../../src/components/annotations/marker/MarkerViewNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAEtB,OAAO,KAAK,EA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