@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,1335 @@
1
+ // DO NOT MODIFY
2
+ // This file is auto-generated from scripts/src/templates/renderMapVinaRNStyles.ts
3
+
4
+ import { type ImageSourcePropType } from "react-native";
5
+
6
+ export type Translation = { x: number; y: number } | [number, number];
7
+
8
+ export interface Transition {
9
+ duration: number;
10
+ delay: number;
11
+ }
12
+
13
+ export type FormattedString = string;
14
+
15
+ export type ExpressionName =
16
+ // Types
17
+ | "array"
18
+ | "boolean"
19
+ | "collator"
20
+ | "format"
21
+ | "image"
22
+ | "literal"
23
+ | "number"
24
+ | "number-format"
25
+ | "object"
26
+ | "string"
27
+ | "to-boolean"
28
+ | "to-color"
29
+ | "to-number"
30
+ | "to-string"
31
+ | "typeof"
32
+ // Feature data
33
+ | "accumulated"
34
+ | "feature-state"
35
+ | "geometry-type"
36
+ | "id"
37
+ | "line-progress"
38
+ | "properties"
39
+ // Lookup
40
+ | "at"
41
+ | "get"
42
+ | "has"
43
+ | "in"
44
+ | "index-of"
45
+ | "length"
46
+ | "slice"
47
+ // Decision
48
+ | "!"
49
+ | "!="
50
+ | "<"
51
+ | "<="
52
+ | "=="
53
+ | ">"
54
+ | ">="
55
+ | "all"
56
+ | "any"
57
+ | "case"
58
+ | "match"
59
+ | "coalesce"
60
+ | "within"
61
+ // Ramps, scales, curves
62
+ | "interpolate"
63
+ | "interpolate-hcl"
64
+ | "interpolate-lab"
65
+ | "step"
66
+ // Variable binding
67
+ | "let"
68
+ | "var"
69
+ // String
70
+ | "concat"
71
+ | "downcase"
72
+ | "is-supported-script"
73
+ | "resolved-locale"
74
+ | "upcase"
75
+ // Color
76
+ | "rgb"
77
+ | "rgba"
78
+ | "to-rgba"
79
+ // Math
80
+ | "-"
81
+ | "*"
82
+ | "/"
83
+ | "%"
84
+ | "^"
85
+ | "+"
86
+ | "abs"
87
+ | "acos"
88
+ | "asin"
89
+ | "atan"
90
+ | "ceil"
91
+ | "cos"
92
+ | "distance"
93
+ | "e"
94
+ | "floor"
95
+ | "ln"
96
+ | "ln2"
97
+ | "log10"
98
+ | "log2"
99
+ | "max"
100
+ | "min"
101
+ | "pi"
102
+ | "round"
103
+ | "sin"
104
+ | "sqrt"
105
+ | "tan"
106
+ // Zoom, Heatmap
107
+ | "zoom"
108
+ | "heatmap-density";
109
+
110
+ export type ExpressionField =
111
+ | string
112
+ | number
113
+ | boolean
114
+ | Expression
115
+ | ExpressionField[]
116
+ | { [key: string]: ExpressionField };
117
+
118
+ /**
119
+ * @deprecated
120
+ */
121
+ export type Expression = [ExpressionName, ...ExpressionField[]];
122
+
123
+ type ExpressionParameters =
124
+ | "zoom"
125
+ | "feature"
126
+ | "feature-state"
127
+ | "global-state"
128
+ | "sky-radial-progress"
129
+ | "line-progress"
130
+ | "heatmap-density"
131
+ | "elevation";
132
+
133
+ type ResolvedImageType = ImageSourcePropType | string;
134
+
135
+ // @ts-ignore
136
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
137
+ export type Value<T, AllowedParameters extends ExpressionParameters[] = []> =
138
+ | T
139
+ | Expression;
140
+
141
+ /**
142
+ * @deprecated
143
+ */
144
+ export interface FillLayerStyle {
145
+ /**
146
+ * Sorts features in ascending order based on this value. Features with a higher
147
+ * sort key will appear above features with a lower sort key.
148
+ */
149
+ fillSortKey?: Value<number, ["zoom", "feature"]>;
150
+ /**
151
+ * Whether this layer is displayed.
152
+ */
153
+ visibility?: "visible" | "none";
154
+ /**
155
+ * Whether or not the fill should be antialiased.
156
+ */
157
+ fillAntialias?: Value<boolean, ["zoom"]>;
158
+ /**
159
+ * The opacity of the entire fill layer. In contrast to the `fillColor` , this
160
+ * value will also affect the 1px stroke around the fill, if the stroke is used.
161
+ */
162
+ fillOpacity?: Value<number, ["zoom", "feature", "feature-state"]>;
163
+ /**
164
+ * The transition affecting any changes to this layer's fillOpacity property.
165
+ */
166
+ fillOpacityTransition?: Transition;
167
+ /**
168
+ * The color of the filled part of this layer. This color can be specified as
169
+ * `rgba` with an alpha component and the color's opacity will not affect the
170
+ * opacity of the 1px stroke, if it is used.
171
+ *
172
+ * @disabledBy fillPattern
173
+ */
174
+ fillColor?: Value<string, ["zoom", "feature", "feature-state"]>;
175
+ /**
176
+ * The transition affecting any changes to this layer's fillColor property.
177
+ */
178
+ fillColorTransition?: Transition;
179
+ /**
180
+ * The outline color of the fill. Matches the value of `fillColor` if
181
+ * unspecified.
182
+ *
183
+ * @disabledBy fillPattern
184
+ */
185
+ fillOutlineColor?: Value<string, ["zoom", "feature", "feature-state"]>;
186
+ /**
187
+ * The transition affecting any changes to this layer's fillOutlineColor
188
+ * property.
189
+ */
190
+ fillOutlineColorTransition?: Transition;
191
+ /**
192
+ * The geometry's offset. Values are [x, y] where negatives indicate left and
193
+ * up, respectively.
194
+ */
195
+ fillTranslate?: Value<Translation, ["zoom"]>;
196
+ /**
197
+ * The transition affecting any changes to this layer's fillTranslate property.
198
+ */
199
+ fillTranslateTransition?: Transition;
200
+ /**
201
+ * Controls the frame of reference for `fillTranslate`.
202
+ *
203
+ * @requires fillTranslate
204
+ */
205
+ fillTranslateAnchor?: Value<"map" | "viewport", ["zoom"]>;
206
+ /**
207
+ * Name of image in sprite to use for drawing image fills. For seamless
208
+ * patterns, image width and height must be a factor of two (2, 4, 8, ..., 512).
209
+ * Note that zoomDependent expressions will be evaluated only at integer zoom
210
+ * levels.
211
+ */
212
+ fillPattern?: Value<ResolvedImageType, ["zoom", "feature"]>;
213
+ /**
214
+ * The transition affecting any changes to this layer's fillPattern property.
215
+ */
216
+ fillPatternTransition?: Transition;
217
+ }
218
+
219
+ /**
220
+ * @deprecated
221
+ */
222
+ export interface LineLayerStyle {
223
+ /**
224
+ * The display of line endings.
225
+ */
226
+ lineCap?: Value<"butt" | "round" | "square", ["zoom"]>;
227
+ /**
228
+ * The display of lines when joining.
229
+ */
230
+ lineJoin?: Value<"bevel" | "round" | "miter", ["zoom", "feature"]>;
231
+ /**
232
+ * Used to automatically convert miter joins to bevel joins for sharp angles.
233
+ */
234
+ lineMiterLimit?: Value<number, ["zoom"]>;
235
+ /**
236
+ * Used to automatically convert round joins to miter joins for shallow angles.
237
+ */
238
+ lineRoundLimit?: Value<number, ["zoom"]>;
239
+ /**
240
+ * Sorts features in ascending order based on this value. Features with a higher
241
+ * sort key will appear above features with a lower sort key.
242
+ */
243
+ lineSortKey?: Value<number, ["zoom", "feature"]>;
244
+ /**
245
+ * Whether this layer is displayed.
246
+ */
247
+ visibility?: "visible" | "none";
248
+ /**
249
+ * The opacity at which the line will be drawn.
250
+ */
251
+ lineOpacity?: Value<number, ["zoom", "feature", "feature-state"]>;
252
+ /**
253
+ * The transition affecting any changes to this layer's lineOpacity property.
254
+ */
255
+ lineOpacityTransition?: Transition;
256
+ /**
257
+ * The color with which the line will be drawn.
258
+ *
259
+ * @disabledBy linePattern
260
+ */
261
+ lineColor?: Value<string, ["zoom", "feature", "feature-state"]>;
262
+ /**
263
+ * The transition affecting any changes to this layer's lineColor property.
264
+ */
265
+ lineColorTransition?: Transition;
266
+ /**
267
+ * The geometry's offset. Values are [x, y] where negatives indicate left and
268
+ * up, respectively.
269
+ */
270
+ lineTranslate?: Value<Translation, ["zoom"]>;
271
+ /**
272
+ * The transition affecting any changes to this layer's lineTranslate property.
273
+ */
274
+ lineTranslateTransition?: Transition;
275
+ /**
276
+ * Controls the frame of reference for `lineTranslate`.
277
+ *
278
+ * @requires lineTranslate
279
+ */
280
+ lineTranslateAnchor?: Value<"map" | "viewport", ["zoom"]>;
281
+ /**
282
+ * Stroke thickness.
283
+ */
284
+ lineWidth?: Value<number, ["zoom", "feature", "feature-state"]>;
285
+ /**
286
+ * The transition affecting any changes to this layer's lineWidth property.
287
+ */
288
+ lineWidthTransition?: Transition;
289
+ /**
290
+ * Draws a line casing outside of a line's actual path. Value indicates the
291
+ * width of the inner gap.
292
+ */
293
+ lineGapWidth?: Value<number, ["zoom", "feature", "feature-state"]>;
294
+ /**
295
+ * The transition affecting any changes to this layer's lineGapWidth property.
296
+ */
297
+ lineGapWidthTransition?: Transition;
298
+ /**
299
+ * The line's offset. For linear features, a positive value offsets the line to
300
+ * the right, relative to the direction of the line, and a negative value to the
301
+ * left. For polygon features, a positive value results in an inset, and a
302
+ * negative value results in an outset.
303
+ */
304
+ lineOffset?: Value<number, ["zoom", "feature", "feature-state"]>;
305
+ /**
306
+ * The transition affecting any changes to this layer's lineOffset property.
307
+ */
308
+ lineOffsetTransition?: Transition;
309
+ /**
310
+ * Blur applied to the line, in pixels.
311
+ */
312
+ lineBlur?: Value<number, ["zoom", "feature", "feature-state"]>;
313
+ /**
314
+ * The transition affecting any changes to this layer's lineBlur property.
315
+ */
316
+ lineBlurTransition?: Transition;
317
+ /**
318
+ * Specifies the lengths of the alternating dashes and gaps that form the dash
319
+ * pattern. The lengths are later scaled by the line width. To convert a dash
320
+ * length to pixels, multiply the length by the current line width. Note that
321
+ * GeoJSON sources with `lineMetrics: true` specified won't render dashed lines
322
+ * to the expected scale. Also note that zoomDependent expressions will be
323
+ * evaluated only at integer zoom levels.
324
+ *
325
+ * @disabledBy linePattern
326
+ */
327
+ lineDasharray?: Value<number[], ["zoom"]>;
328
+ /**
329
+ * The transition affecting any changes to this layer's lineDasharray property.
330
+ */
331
+ lineDasharrayTransition?: Transition;
332
+ /**
333
+ * Name of image in sprite to use for drawing image lines. For seamless
334
+ * patterns, image width must be a factor of two (2, 4, 8, ..., 512). Note that
335
+ * zoomDependent expressions will be evaluated only at integer zoom levels.
336
+ */
337
+ linePattern?: Value<ResolvedImageType, ["zoom", "feature"]>;
338
+ /**
339
+ * The transition affecting any changes to this layer's linePattern property.
340
+ */
341
+ linePatternTransition?: Transition;
342
+ /**
343
+ * Defines a gradient with which to color a line feature. Can only be used with
344
+ * GeoJSON sources that specify `"lineMetrics": true` .
345
+ *
346
+ * @disabledBy lineDasharray, linePattern
347
+ */
348
+ lineGradient?: Value<string, ["line-progress"]>;
349
+ }
350
+
351
+ /**
352
+ * @deprecated
353
+ */
354
+ export interface SymbolLayerStyle {
355
+ /**
356
+ * Label placement relative to its geometry.
357
+ */
358
+ symbolPlacement?: Value<"point" | "line" | "line-center", ["zoom"]>;
359
+ /**
360
+ * Distance between two symbol anchors.
361
+ */
362
+ symbolSpacing?: Value<number, ["zoom"]>;
363
+ /**
364
+ * If true, the symbols will not cross tile edges to avoid mutual collisions.
365
+ * Recommended in layers that don't have enough padding in the vector tile to
366
+ * prevent collisions, or if it is a point symbol layer placed after a line
367
+ * symbol layer. When using a client that supports global collision detection,
368
+ * like MapVina GL JS version 0.42.0 or greater, enabling this property is not
369
+ * needed to prevent clipped labels at tile boundaries.
370
+ */
371
+ symbolAvoidEdges?: Value<boolean, ["zoom"]>;
372
+ /**
373
+ * Sorts features in ascending order based on this value. Features with lower
374
+ * sort keys are drawn and placed first. When `iconAllowOverlap` or
375
+ * `textAllowOverlap` is `false` , features with a lower sort key will have
376
+ * priority during placement. When `iconAllowOverlap` or `textAllowOverlap` is
377
+ * set to `true` , features with a higher sort key will overlap over features
378
+ * with a lower sort key.
379
+ */
380
+ symbolSortKey?: Value<number, ["zoom", "feature"]>;
381
+ /**
382
+ * Determines whether overlapping symbols in the same layer are rendered in the
383
+ * order that they appear in the data source or by their yPosition relative to
384
+ * the viewport. To control the order and prioritization of symbols otherwise,
385
+ * use `symbolSortKey` .
386
+ */
387
+ symbolZOrder?: Value<"auto" | "viewport-y" | "source", ["zoom"]>;
388
+ /**
389
+ * If true, the icon will be visible even if it collides with other previously
390
+ * drawn symbols.
391
+ *
392
+ * @requires iconImage
393
+ *
394
+ * @disabledBy iconOverlap
395
+ */
396
+ iconAllowOverlap?: Value<boolean, ["zoom"]>;
397
+ /**
398
+ * Allows for control over whether to show an icon when it overlaps other
399
+ * symbols on the map. If `iconOverlap` is not set, `iconAllowOverlap` is used
400
+ * instead.
401
+ *
402
+ * @requires iconImage
403
+ */
404
+ iconOverlap?: Value<"never" | "always" | "cooperative", ["zoom"]>;
405
+ /**
406
+ * If true, other symbols can be visible even if they collide with the icon.
407
+ *
408
+ * @requires iconImage
409
+ */
410
+ iconIgnorePlacement?: Value<boolean, ["zoom"]>;
411
+ /**
412
+ * If true, text will display without their corresponding icons when the icon
413
+ * collides with other symbols and the text does not.
414
+ *
415
+ * @requires iconImage, textField
416
+ */
417
+ iconOptional?: Value<boolean, ["zoom"]>;
418
+ /**
419
+ * In combination with `symbolPlacement` , determines the rotation behavior of
420
+ * icons.
421
+ *
422
+ * @requires iconImage
423
+ */
424
+ iconRotationAlignment?: Value<"map" | "viewport" | "auto", ["zoom"]>;
425
+ /**
426
+ * Scales the original size of the icon by the provided factor. The new pixel
427
+ * size of the image will be the original pixel size multiplied by `iconSize` .
428
+ * 1 is the original size; 3 triples the size of the image.
429
+ *
430
+ * @requires iconImage
431
+ */
432
+ iconSize?: Value<number, ["zoom", "feature"]>;
433
+ /**
434
+ * Scales the icon to fit around the associated text.
435
+ *
436
+ * @requires iconImage, textField
437
+ */
438
+ iconTextFit?: Value<"none" | "width" | "height" | "both", ["zoom"]>;
439
+ /**
440
+ * Size of the additional area added to dimensions determined by `iconTextFit` ,
441
+ * in clockwise order: top, right, bottom, left.
442
+ *
443
+ * @requires iconImage, textField
444
+ */
445
+ iconTextFitPadding?: Value<number[], ["zoom"]>;
446
+ /**
447
+ * Name of image in sprite to use for drawing an image background.
448
+ */
449
+ iconImage?: Value<ResolvedImageType, ["zoom", "feature"]>;
450
+ /**
451
+ * Rotates the icon clockwise.
452
+ *
453
+ * @requires iconImage
454
+ */
455
+ iconRotate?: Value<number, ["zoom", "feature"]>;
456
+ /**
457
+ * Size of additional area round the icon bounding box used for detecting symbol
458
+ * collisions.
459
+ *
460
+ * @requires iconImage
461
+ */
462
+ iconPadding?: Value<number[], ["zoom", "feature"]>;
463
+ /**
464
+ * If true, the icon may be flipped to prevent it from being rendered
465
+ * upsideDown.
466
+ *
467
+ * @requires iconImage
468
+ */
469
+ iconKeepUpright?: Value<boolean, ["zoom"]>;
470
+ /**
471
+ * Offset distance of icon from its anchor. Positive values indicate right and
472
+ * down, while negative values indicate left and up. Each component is
473
+ * multiplied by the value of `iconSize` to obtain the final offset in pixels.
474
+ * When combined with `iconRotate` the offset will be as if the rotated
475
+ * direction was up.
476
+ *
477
+ * @requires iconImage
478
+ */
479
+ iconOffset?: Value<number[], ["zoom", "feature"]>;
480
+ /**
481
+ * Part of the icon placed closest to the anchor.
482
+ *
483
+ * @requires iconImage
484
+ */
485
+ iconAnchor?: Value<
486
+ | "center"
487
+ | "left"
488
+ | "right"
489
+ | "top"
490
+ | "bottom"
491
+ | "top-left"
492
+ | "top-right"
493
+ | "bottom-left"
494
+ | "bottom-right",
495
+ ["zoom", "feature"]
496
+ >;
497
+ /**
498
+ * Orientation of icon when map is pitched.
499
+ *
500
+ * @requires iconImage
501
+ */
502
+ iconPitchAlignment?: Value<"map" | "viewport" | "auto", ["zoom"]>;
503
+ /**
504
+ * Orientation of text when map is pitched.
505
+ *
506
+ * @requires textField
507
+ */
508
+ textPitchAlignment?: Value<"map" | "viewport" | "auto", ["zoom"]>;
509
+ /**
510
+ * In combination with `symbolPlacement` , determines the rotation behavior of
511
+ * the individual glyphs forming the text.
512
+ *
513
+ * @requires textField
514
+ */
515
+ textRotationAlignment?: Value<
516
+ "map" | "viewport" | "viewport-glyph" | "auto",
517
+ ["zoom"]
518
+ >;
519
+ /**
520
+ * Value to use for a text label. If a plain `string` is provided, it will be
521
+ * treated as a `formatted` with default/inherited formatting options.
522
+ */
523
+ textField?: Value<FormattedString, ["zoom", "feature"]>;
524
+ /**
525
+ * Fonts to use for displaying text. If the `glyphs` root property is specified,
526
+ * this array is joined together and interpreted as a font stack name.
527
+ * Otherwise, it is interpreted as a cascading fallback list of local font
528
+ * names.
529
+ *
530
+ * @requires textField
531
+ */
532
+ textFont?: Value<string[], ["zoom", "feature"]>;
533
+ /**
534
+ * Font size.
535
+ *
536
+ * @requires textField
537
+ */
538
+ textSize?: Value<number, ["zoom", "feature"]>;
539
+ /**
540
+ * The maximum line width for text wrapping.
541
+ *
542
+ * @requires textField
543
+ */
544
+ textMaxWidth?: Value<number, ["zoom", "feature"]>;
545
+ /**
546
+ * Text leading value for multiLine text.
547
+ *
548
+ * @requires textField
549
+ */
550
+ textLineHeight?: Value<number, ["zoom"]>;
551
+ /**
552
+ * Text tracking amount.
553
+ *
554
+ * @requires textField
555
+ */
556
+ textLetterSpacing?: Value<number, ["zoom", "feature"]>;
557
+ /**
558
+ * Text justification options.
559
+ *
560
+ * @requires textField
561
+ */
562
+ textJustify?: Value<
563
+ "auto" | "left" | "center" | "right",
564
+ ["zoom", "feature"]
565
+ >;
566
+ /**
567
+ * Radial offset of text, in the direction of the symbol's anchor. Useful in
568
+ * combination with `textVariableAnchor` , which defaults to using the
569
+ * twoDimensional `textOffset` if present.
570
+ *
571
+ * @requires textField
572
+ */
573
+ textRadialOffset?: Value<number, ["zoom", "feature"]>;
574
+ /**
575
+ * To increase the chance of placing highPriority labels on the map, you can
576
+ * provide an array of `textAnchor` locations: the renderer will attempt to
577
+ * place the label at each location, in order, before moving onto the next
578
+ * label. Use `textJustify: auto` to choose justification based on anchor
579
+ * position. To apply an offset, use the `textRadialOffset` or the
580
+ * twoDimensional `textOffset` .
581
+ *
582
+ * @requires textField
583
+ */
584
+ textVariableAnchor?: Value<
585
+ (
586
+ | "center"
587
+ | "left"
588
+ | "right"
589
+ | "top"
590
+ | "bottom"
591
+ | "top-left"
592
+ | "top-right"
593
+ | "bottom-left"
594
+ | "bottom-right"
595
+ )[],
596
+ ["zoom"]
597
+ >;
598
+ /**
599
+ * Part of the text placed closest to the anchor.
600
+ *
601
+ * @requires textField
602
+ *
603
+ * @disabledBy textVariableAnchor
604
+ */
605
+ textAnchor?: Value<
606
+ | "center"
607
+ | "left"
608
+ | "right"
609
+ | "top"
610
+ | "bottom"
611
+ | "top-left"
612
+ | "top-right"
613
+ | "bottom-left"
614
+ | "bottom-right",
615
+ ["zoom", "feature"]
616
+ >;
617
+ /**
618
+ * Maximum angle change between adjacent characters.
619
+ *
620
+ * @requires textField
621
+ */
622
+ textMaxAngle?: Value<number, ["zoom"]>;
623
+ /**
624
+ * The property allows control over a symbol's orientation. Note that the
625
+ * property values act as a hint, so that a symbol whose language doesn’t
626
+ * support the provided orientation will be laid out in its natural orientation.
627
+ * Example: English point symbol will be rendered horizontally even if array
628
+ * value contains single 'vertical' enum value. The order of elements in an
629
+ * array define priority order for the placement of an orientation variant.
630
+ *
631
+ * @requires textField
632
+ */
633
+ textWritingMode?: Value<("horizontal" | "vertical")[], ["zoom"]>;
634
+ /**
635
+ * Rotates the text clockwise.
636
+ *
637
+ * @requires textField
638
+ */
639
+ textRotate?: Value<number, ["zoom", "feature"]>;
640
+ /**
641
+ * Size of the additional area around the text bounding box used for detecting
642
+ * symbol collisions.
643
+ *
644
+ * @requires textField
645
+ */
646
+ textPadding?: Value<number, ["zoom"]>;
647
+ /**
648
+ * If true, the text may be flipped vertically to prevent it from being rendered
649
+ * upsideDown.
650
+ *
651
+ * @requires textField
652
+ */
653
+ textKeepUpright?: Value<boolean, ["zoom"]>;
654
+ /**
655
+ * Specifies how to capitalize text, similar to the CSS `textTransform`
656
+ * property.
657
+ *
658
+ * @requires textField
659
+ */
660
+ textTransform?: Value<
661
+ "none" | "uppercase" | "lowercase",
662
+ ["zoom", "feature"]
663
+ >;
664
+ /**
665
+ * Offset distance of text from its anchor. Positive values indicate right and
666
+ * down, while negative values indicate left and up. If used with
667
+ * textVariableAnchor, input values will be taken as absolute values. Offsets
668
+ * along the x and yAxis will be applied automatically based on the anchor
669
+ * position.
670
+ *
671
+ * @requires textField
672
+ *
673
+ * @disabledBy textRadialOffset
674
+ */
675
+ textOffset?: Value<number[], ["zoom", "feature"]>;
676
+ /**
677
+ * If true, the text will be visible even if it collides with other previously
678
+ * drawn symbols.
679
+ *
680
+ * @requires textField
681
+ *
682
+ * @disabledBy textOverlap
683
+ */
684
+ textAllowOverlap?: Value<boolean, ["zoom"]>;
685
+ /**
686
+ * Allows for control over whether to show symbol text when it overlaps other
687
+ * symbols on the map. If `textOverlap` is not set, `textAllowOverlap` is used
688
+ * instead
689
+ *
690
+ * @requires textField
691
+ */
692
+ textOverlap?: Value<"never" | "always" | "cooperative", ["zoom"]>;
693
+ /**
694
+ * If true, other symbols can be visible even if they collide with the text.
695
+ *
696
+ * @requires textField
697
+ */
698
+ textIgnorePlacement?: Value<boolean, ["zoom"]>;
699
+ /**
700
+ * If true, icons will display without their corresponding text when the text
701
+ * collides with other symbols and the icon does not.
702
+ *
703
+ * @requires textField, iconImage
704
+ */
705
+ textOptional?: Value<boolean, ["zoom"]>;
706
+ /**
707
+ * Whether this layer is displayed.
708
+ */
709
+ visibility?: "visible" | "none";
710
+ /**
711
+ * The opacity at which the icon will be drawn.
712
+ *
713
+ * @requires iconImage
714
+ */
715
+ iconOpacity?: Value<number, ["zoom", "feature", "feature-state"]>;
716
+ /**
717
+ * The transition affecting any changes to this layer's iconOpacity property.
718
+ */
719
+ iconOpacityTransition?: Transition;
720
+ /**
721
+ * The color of the icon. This can only be used with SDF icons.
722
+ *
723
+ * @requires iconImage
724
+ */
725
+ iconColor?: Value<string, ["zoom", "feature", "feature-state"]>;
726
+ /**
727
+ * The transition affecting any changes to this layer's iconColor property.
728
+ */
729
+ iconColorTransition?: Transition;
730
+ /**
731
+ * The color of the icon's halo. Icon halos can only be used with SDF icons.
732
+ *
733
+ * @requires iconImage
734
+ */
735
+ iconHaloColor?: Value<string, ["zoom", "feature", "feature-state"]>;
736
+ /**
737
+ * The transition affecting any changes to this layer's iconHaloColor property.
738
+ */
739
+ iconHaloColorTransition?: Transition;
740
+ /**
741
+ * Distance of halo to the icon outline.
742
+ *
743
+ * The unit is in pixels only for SDF sprites that were created with a blur
744
+ * radius of 8, multiplied by the display density. I.e., the radius needs to be
745
+ * 16 for `@2x` sprites, etc.
746
+ *
747
+ * @requires iconImage
748
+ */
749
+ iconHaloWidth?: Value<number, ["zoom", "feature", "feature-state"]>;
750
+ /**
751
+ * The transition affecting any changes to this layer's iconHaloWidth property.
752
+ */
753
+ iconHaloWidthTransition?: Transition;
754
+ /**
755
+ * Fade out the halo towards the outside.
756
+ *
757
+ * @requires iconImage
758
+ */
759
+ iconHaloBlur?: Value<number, ["zoom", "feature", "feature-state"]>;
760
+ /**
761
+ * The transition affecting any changes to this layer's iconHaloBlur property.
762
+ */
763
+ iconHaloBlurTransition?: Transition;
764
+ /**
765
+ * Distance that the icon's anchor is moved from its original placement.
766
+ * Positive values indicate right and down, while negative values indicate left
767
+ * and up.
768
+ *
769
+ * @requires iconImage
770
+ */
771
+ iconTranslate?: Value<Translation, ["zoom"]>;
772
+ /**
773
+ * The transition affecting any changes to this layer's iconTranslate property.
774
+ */
775
+ iconTranslateTransition?: Transition;
776
+ /**
777
+ * Controls the frame of reference for `iconTranslate`.
778
+ *
779
+ * @requires iconImage, iconTranslate
780
+ */
781
+ iconTranslateAnchor?: Value<"map" | "viewport", ["zoom"]>;
782
+ /**
783
+ * The opacity at which the text will be drawn.
784
+ *
785
+ * @requires textField
786
+ */
787
+ textOpacity?: Value<number, ["zoom", "feature", "feature-state"]>;
788
+ /**
789
+ * The transition affecting any changes to this layer's textOpacity property.
790
+ */
791
+ textOpacityTransition?: Transition;
792
+ /**
793
+ * The color with which the text will be drawn.
794
+ *
795
+ * @requires textField
796
+ */
797
+ textColor?: Value<string, ["zoom", "feature", "feature-state"]>;
798
+ /**
799
+ * The transition affecting any changes to this layer's textColor property.
800
+ */
801
+ textColorTransition?: Transition;
802
+ /**
803
+ * The color of the text's halo, which helps it stand out from backgrounds.
804
+ *
805
+ * @requires textField
806
+ */
807
+ textHaloColor?: Value<string, ["zoom", "feature", "feature-state"]>;
808
+ /**
809
+ * The transition affecting any changes to this layer's textHaloColor property.
810
+ */
811
+ textHaloColorTransition?: Transition;
812
+ /**
813
+ * Distance of halo to the font outline. Max text halo width is 1/4 of the
814
+ * fontSize.
815
+ *
816
+ * @requires textField
817
+ */
818
+ textHaloWidth?: Value<number, ["zoom", "feature", "feature-state"]>;
819
+ /**
820
+ * The transition affecting any changes to this layer's textHaloWidth property.
821
+ */
822
+ textHaloWidthTransition?: Transition;
823
+ /**
824
+ * The halo's fadeout distance towards the outside.
825
+ *
826
+ * @requires textField
827
+ */
828
+ textHaloBlur?: Value<number, ["zoom", "feature", "feature-state"]>;
829
+ /**
830
+ * The transition affecting any changes to this layer's textHaloBlur property.
831
+ */
832
+ textHaloBlurTransition?: Transition;
833
+ /**
834
+ * Distance that the text's anchor is moved from its original placement.
835
+ * Positive values indicate right and down, while negative values indicate left
836
+ * and up.
837
+ *
838
+ * @requires textField
839
+ */
840
+ textTranslate?: Value<Translation, ["zoom"]>;
841
+ /**
842
+ * The transition affecting any changes to this layer's textTranslate property.
843
+ */
844
+ textTranslateTransition?: Transition;
845
+ /**
846
+ * Controls the frame of reference for `textTranslate`.
847
+ *
848
+ * @requires textField, textTranslate
849
+ */
850
+ textTranslateAnchor?: Value<"map" | "viewport", ["zoom"]>;
851
+ }
852
+
853
+ /**
854
+ * @deprecated
855
+ */
856
+ export interface CircleLayerStyle {
857
+ /**
858
+ * Sorts features in ascending order based on this value. Features with a higher
859
+ * sort key will appear above features with a lower sort key.
860
+ */
861
+ circleSortKey?: Value<number, ["zoom", "feature"]>;
862
+ /**
863
+ * Whether this layer is displayed.
864
+ */
865
+ visibility?: "visible" | "none";
866
+ /**
867
+ * Circle radius.
868
+ */
869
+ circleRadius?: Value<number, ["zoom", "feature", "feature-state"]>;
870
+ /**
871
+ * The transition affecting any changes to this layer's circleRadius property.
872
+ */
873
+ circleRadiusTransition?: Transition;
874
+ /**
875
+ * The fill color of the circle.
876
+ */
877
+ circleColor?: Value<string, ["zoom", "feature", "feature-state"]>;
878
+ /**
879
+ * The transition affecting any changes to this layer's circleColor property.
880
+ */
881
+ circleColorTransition?: Transition;
882
+ /**
883
+ * Amount to blur the circle. 1 blurs the circle such that only the centerpoint
884
+ * is full opacity.
885
+ */
886
+ circleBlur?: Value<number, ["zoom", "feature", "feature-state"]>;
887
+ /**
888
+ * The transition affecting any changes to this layer's circleBlur property.
889
+ */
890
+ circleBlurTransition?: Transition;
891
+ /**
892
+ * The opacity at which the circle will be drawn.
893
+ */
894
+ circleOpacity?: Value<number, ["zoom", "feature", "feature-state"]>;
895
+ /**
896
+ * The transition affecting any changes to this layer's circleOpacity property.
897
+ */
898
+ circleOpacityTransition?: Transition;
899
+ /**
900
+ * The geometry's offset. Values are [x, y] where negatives indicate left and
901
+ * up, respectively.
902
+ */
903
+ circleTranslate?: Value<Translation, ["zoom"]>;
904
+ /**
905
+ * The transition affecting any changes to this layer's circleTranslate
906
+ * property.
907
+ */
908
+ circleTranslateTransition?: Transition;
909
+ /**
910
+ * Controls the frame of reference for `circleTranslate`.
911
+ *
912
+ * @requires circleTranslate
913
+ */
914
+ circleTranslateAnchor?: Value<"map" | "viewport", ["zoom"]>;
915
+ /**
916
+ * Controls the scaling behavior of the circle when the map is pitched.
917
+ */
918
+ circlePitchScale?: Value<"map" | "viewport", ["zoom"]>;
919
+ /**
920
+ * Orientation of circle when map is pitched.
921
+ */
922
+ circlePitchAlignment?: Value<"map" | "viewport", ["zoom"]>;
923
+ /**
924
+ * The width of the circle's stroke. Strokes are placed outside of the
925
+ * `circleRadius` .
926
+ */
927
+ circleStrokeWidth?: Value<number, ["zoom", "feature", "feature-state"]>;
928
+ /**
929
+ * The transition affecting any changes to this layer's circleStrokeWidth
930
+ * property.
931
+ */
932
+ circleStrokeWidthTransition?: Transition;
933
+ /**
934
+ * The stroke color of the circle.
935
+ */
936
+ circleStrokeColor?: Value<string, ["zoom", "feature", "feature-state"]>;
937
+ /**
938
+ * The transition affecting any changes to this layer's circleStrokeColor
939
+ * property.
940
+ */
941
+ circleStrokeColorTransition?: Transition;
942
+ /**
943
+ * The opacity of the circle's stroke.
944
+ */
945
+ circleStrokeOpacity?: Value<number, ["zoom", "feature", "feature-state"]>;
946
+ /**
947
+ * The transition affecting any changes to this layer's circleStrokeOpacity
948
+ * property.
949
+ */
950
+ circleStrokeOpacityTransition?: Transition;
951
+ }
952
+
953
+ /**
954
+ * @deprecated
955
+ */
956
+ export interface HeatmapLayerStyle {
957
+ /**
958
+ * Whether this layer is displayed.
959
+ */
960
+ visibility?: "visible" | "none";
961
+ /**
962
+ * Radius of influence of one heatmap point in pixels. Increasing the value
963
+ * makes the heatmap smoother, but less detailed.
964
+ */
965
+ heatmapRadius?: Value<number, ["zoom", "feature", "feature-state"]>;
966
+ /**
967
+ * The transition affecting any changes to this layer's heatmapRadius property.
968
+ */
969
+ heatmapRadiusTransition?: Transition;
970
+ /**
971
+ * A measure of how much an individual point contributes to the heatmap. A value
972
+ * of 10 would be equivalent to having 10 points of weight 1 in the same spot.
973
+ * Especially useful when combined with clustering.
974
+ */
975
+ heatmapWeight?: Value<number, ["zoom", "feature", "feature-state"]>;
976
+ /**
977
+ * Similar to `heatmapWeight` but controls the intensity of the heatmap
978
+ * globally. Primarily used for adjusting the heatmap based on zoom level.
979
+ */
980
+ heatmapIntensity?: Value<number, ["zoom"]>;
981
+ /**
982
+ * The transition affecting any changes to this layer's heatmapIntensity
983
+ * property.
984
+ */
985
+ heatmapIntensityTransition?: Transition;
986
+ /**
987
+ * Defines the color of each pixel based on its density value in a heatmap.
988
+ * Should be an expression that uses `["heatmapDensity"]` as input.
989
+ */
990
+ heatmapColor?: Value<string, ["heatmap-density"]>;
991
+ /**
992
+ * The global opacity at which the heatmap layer will be drawn.
993
+ */
994
+ heatmapOpacity?: Value<number, ["zoom"]>;
995
+ /**
996
+ * The transition affecting any changes to this layer's heatmapOpacity property.
997
+ */
998
+ heatmapOpacityTransition?: Transition;
999
+ }
1000
+
1001
+ /**
1002
+ * @deprecated
1003
+ */
1004
+ export interface FillExtrusionLayerStyle {
1005
+ /**
1006
+ * Whether this layer is displayed.
1007
+ */
1008
+ visibility?: "visible" | "none";
1009
+ /**
1010
+ * The opacity of the entire fill extrusion layer. This is rendered on a
1011
+ * perLayer, not perFeature, basis, and dataDriven styling is not available.
1012
+ */
1013
+ fillExtrusionOpacity?: Value<number, ["zoom"]>;
1014
+ /**
1015
+ * The transition affecting any changes to this layer's fillExtrusionOpacity
1016
+ * property.
1017
+ */
1018
+ fillExtrusionOpacityTransition?: Transition;
1019
+ /**
1020
+ * The base color of the extruded fill. The extrusion's surfaces will be shaded
1021
+ * differently based on this color in combination with the root `light`
1022
+ * settings. If this color is specified as `rgba` with an alpha component, the
1023
+ * alpha component will be ignored; use `fillExtrusionOpacity` to set layer
1024
+ * opacity.
1025
+ *
1026
+ * @disabledBy fillExtrusionPattern
1027
+ */
1028
+ fillExtrusionColor?: Value<string, ["zoom", "feature", "feature-state"]>;
1029
+ /**
1030
+ * The transition affecting any changes to this layer's fillExtrusionColor
1031
+ * property.
1032
+ */
1033
+ fillExtrusionColorTransition?: Transition;
1034
+ /**
1035
+ * The geometry's offset. Values are [x, y] where negatives indicate left and up
1036
+ * (on the flat plane), respectively.
1037
+ */
1038
+ fillExtrusionTranslate?: Value<Translation, ["zoom"]>;
1039
+ /**
1040
+ * The transition affecting any changes to this layer's fillExtrusionTranslate
1041
+ * property.
1042
+ */
1043
+ fillExtrusionTranslateTransition?: Transition;
1044
+ /**
1045
+ * Controls the frame of reference for `fillExtrusionTranslate`.
1046
+ *
1047
+ * @requires fillExtrusionTranslate
1048
+ */
1049
+ fillExtrusionTranslateAnchor?: Value<"map" | "viewport", ["zoom"]>;
1050
+ /**
1051
+ * Name of image in sprite to use for drawing images on extruded fills. For
1052
+ * seamless patterns, image width and height must be a factor of two (2, 4, 8,
1053
+ * ..., 512). Note that zoomDependent expressions will be evaluated only at
1054
+ * integer zoom levels.
1055
+ */
1056
+ fillExtrusionPattern?: Value<ResolvedImageType, ["zoom", "feature"]>;
1057
+ /**
1058
+ * The transition affecting any changes to this layer's fillExtrusionPattern
1059
+ * property.
1060
+ */
1061
+ fillExtrusionPatternTransition?: Transition;
1062
+ /**
1063
+ * The height with which to extrude this layer.
1064
+ */
1065
+ fillExtrusionHeight?: Value<number, ["zoom", "feature", "feature-state"]>;
1066
+ /**
1067
+ * The transition affecting any changes to this layer's fillExtrusionHeight
1068
+ * property.
1069
+ */
1070
+ fillExtrusionHeightTransition?: Transition;
1071
+ /**
1072
+ * The height with which to extrude the base of this layer. Must be less than or
1073
+ * equal to `fillExtrusionHeight` .
1074
+ *
1075
+ * @requires fillExtrusionHeight
1076
+ */
1077
+ fillExtrusionBase?: Value<number, ["zoom", "feature", "feature-state"]>;
1078
+ /**
1079
+ * The transition affecting any changes to this layer's fillExtrusionBase
1080
+ * property.
1081
+ */
1082
+ fillExtrusionBaseTransition?: Transition;
1083
+ /**
1084
+ * Whether to apply a vertical gradient to the sides of a fillExtrusion layer.
1085
+ * If true, sides will be shaded slightly darker farther down.
1086
+ */
1087
+ fillExtrusionVerticalGradient?: Value<boolean, ["zoom"]>;
1088
+ }
1089
+
1090
+ /**
1091
+ * @deprecated
1092
+ */
1093
+ export interface RasterLayerStyle {
1094
+ /**
1095
+ * Whether this layer is displayed.
1096
+ */
1097
+ visibility?: "visible" | "none";
1098
+ /**
1099
+ * The opacity at which the image will be drawn.
1100
+ */
1101
+ rasterOpacity?: Value<number, ["zoom"]>;
1102
+ /**
1103
+ * The transition affecting any changes to this layer's rasterOpacity property.
1104
+ */
1105
+ rasterOpacityTransition?: Transition;
1106
+ /**
1107
+ * Rotates hues around the color wheel.
1108
+ */
1109
+ rasterHueRotate?: Value<number, ["zoom"]>;
1110
+ /**
1111
+ * The transition affecting any changes to this layer's rasterHueRotate
1112
+ * property.
1113
+ */
1114
+ rasterHueRotateTransition?: Transition;
1115
+ /**
1116
+ * Increase or reduce the brightness of the image. The value is the minimum
1117
+ * brightness.
1118
+ */
1119
+ rasterBrightnessMin?: Value<number, ["zoom"]>;
1120
+ /**
1121
+ * The transition affecting any changes to this layer's rasterBrightnessMin
1122
+ * property.
1123
+ */
1124
+ rasterBrightnessMinTransition?: Transition;
1125
+ /**
1126
+ * Increase or reduce the brightness of the image. The value is the maximum
1127
+ * brightness.
1128
+ */
1129
+ rasterBrightnessMax?: Value<number, ["zoom"]>;
1130
+ /**
1131
+ * The transition affecting any changes to this layer's rasterBrightnessMax
1132
+ * property.
1133
+ */
1134
+ rasterBrightnessMaxTransition?: Transition;
1135
+ /**
1136
+ * Increase or reduce the saturation of the image.
1137
+ */
1138
+ rasterSaturation?: Value<number, ["zoom"]>;
1139
+ /**
1140
+ * The transition affecting any changes to this layer's rasterSaturation
1141
+ * property.
1142
+ */
1143
+ rasterSaturationTransition?: Transition;
1144
+ /**
1145
+ * Increase or reduce the contrast of the image.
1146
+ */
1147
+ rasterContrast?: Value<number, ["zoom"]>;
1148
+ /**
1149
+ * The transition affecting any changes to this layer's rasterContrast property.
1150
+ */
1151
+ rasterContrastTransition?: Transition;
1152
+ /**
1153
+ * The resampling/interpolation method to use for overscaling, also known as
1154
+ * texture magnification filter
1155
+ */
1156
+ rasterResampling?: Value<"linear" | "nearest", ["zoom"]>;
1157
+ /**
1158
+ * Fade duration when a new tile is added, or when a video is started or its
1159
+ * coordinates are updated.
1160
+ */
1161
+ rasterFadeDuration?: Value<number, ["zoom"]>;
1162
+ }
1163
+
1164
+ /**
1165
+ * @deprecated
1166
+ */
1167
+ export interface HillshadeLayerStyle {
1168
+ /**
1169
+ * Whether this layer is displayed.
1170
+ */
1171
+ visibility?: "visible" | "none";
1172
+ /**
1173
+ * The direction of the light source(s) used to generate the hillshading with 0
1174
+ * as the top of the viewport if `hillshadeIlluminationAnchor` is set to
1175
+ * `viewport` and due north if `hillshadeIlluminationAnchor` is set to `map` .
1176
+ * Only when `hillshadeMethod` is set to `multidirectional` can you specify
1177
+ * multiple light sources.
1178
+ */
1179
+ hillshadeIlluminationDirection?: Value<number, ["zoom"]>;
1180
+ /**
1181
+ * The altitude of the light source(s) used to generate the hillshading with 0
1182
+ * as sunset and 90 as noon. Only when `hillshadeMethod` is set to
1183
+ * `multidirectional` can you specify multiple light sources.
1184
+ */
1185
+ hillshadeIlluminationAltitude?: Value<number, ["zoom"]>;
1186
+ /**
1187
+ * Direction of light source when map is rotated.
1188
+ */
1189
+ hillshadeIlluminationAnchor?: Value<"map" | "viewport", ["zoom"]>;
1190
+ /**
1191
+ * Intensity of the hillshade
1192
+ */
1193
+ hillshadeExaggeration?: Value<number, ["zoom"]>;
1194
+ /**
1195
+ * The transition affecting any changes to this layer's hillshadeExaggeration
1196
+ * property.
1197
+ */
1198
+ hillshadeExaggerationTransition?: Transition;
1199
+ /**
1200
+ * The shading color of areas that face away from the light source(s). Only when
1201
+ * `hillshadeMethod` is set to `multidirectional` can you specify multiple light
1202
+ * sources.
1203
+ */
1204
+ hillshadeShadowColor?: Value<string, ["zoom"]>;
1205
+ /**
1206
+ * The transition affecting any changes to this layer's hillshadeShadowColor
1207
+ * property.
1208
+ */
1209
+ hillshadeShadowColorTransition?: Transition;
1210
+ /**
1211
+ * The shading color of areas that faces towards the light source(s). Only when
1212
+ * `hillshadeMethod` is set to `multidirectional` can you specify multiple light
1213
+ * sources.
1214
+ */
1215
+ hillshadeHighlightColor?: Value<string, ["zoom"]>;
1216
+ /**
1217
+ * The transition affecting any changes to this layer's hillshadeHighlightColor
1218
+ * property.
1219
+ */
1220
+ hillshadeHighlightColorTransition?: Transition;
1221
+ /**
1222
+ * The shading color used to accentuate rugged terrain like sharp cliffs and
1223
+ * gorges.
1224
+ */
1225
+ hillshadeAccentColor?: Value<string, ["zoom"]>;
1226
+ /**
1227
+ * The transition affecting any changes to this layer's hillshadeAccentColor
1228
+ * property.
1229
+ */
1230
+ hillshadeAccentColorTransition?: Transition;
1231
+ /**
1232
+ * The hillshade algorithm to use, one of `standard` , `basic` , `combined` ,
1233
+ * `igor` , or `multidirectional` . ![image](assets/hillshade_methods.png)
1234
+ */
1235
+ hillshadeMethod?: Value<
1236
+ "standard" | "basic" | "combined" | "igor" | "multidirectional",
1237
+ ["zoom"]
1238
+ >;
1239
+ }
1240
+
1241
+ /**
1242
+ * @deprecated
1243
+ */
1244
+ export interface BackgroundLayerStyle {
1245
+ /**
1246
+ * Whether this layer is displayed.
1247
+ */
1248
+ visibility?: "visible" | "none";
1249
+ /**
1250
+ * The color with which the background will be drawn.
1251
+ *
1252
+ * @disabledBy backgroundPattern
1253
+ */
1254
+ backgroundColor?: Value<string, ["zoom"]>;
1255
+ /**
1256
+ * The transition affecting any changes to this layer's backgroundColor
1257
+ * property.
1258
+ */
1259
+ backgroundColorTransition?: Transition;
1260
+ /**
1261
+ * Name of image in sprite to use for drawing an image background. For seamless
1262
+ * patterns, image width and height must be a factor of two (2, 4, 8, ..., 512).
1263
+ * Note that zoomDependent expressions will be evaluated only at integer zoom
1264
+ * levels.
1265
+ */
1266
+ backgroundPattern?: Value<ResolvedImageType, ["zoom"]>;
1267
+ /**
1268
+ * The transition affecting any changes to this layer's backgroundPattern
1269
+ * property.
1270
+ */
1271
+ backgroundPatternTransition?: Transition;
1272
+ /**
1273
+ * The opacity at which the background will be drawn.
1274
+ */
1275
+ backgroundOpacity?: Value<number, ["zoom"]>;
1276
+ /**
1277
+ * The transition affecting any changes to this layer's backgroundOpacity
1278
+ * property.
1279
+ */
1280
+ backgroundOpacityTransition?: Transition;
1281
+ }
1282
+
1283
+ /**
1284
+ * @deprecated
1285
+ */
1286
+ export interface LightLayerStyle {
1287
+ /**
1288
+ * Whether extruded geometries are lit relative to the map or viewport.
1289
+ */
1290
+ anchor?: Value<"map" | "viewport", ["zoom"]>;
1291
+ /**
1292
+ * Position of the light source relative to lit (extruded) geometries, in [r
1293
+ * radial coordinate, a azimuthal angle, p polar angle] where r indicates the
1294
+ * distance from the center of the base of an object to its light, a indicates
1295
+ * the position of the light relative to 0° (0° when `light.anchor` is set to
1296
+ * `viewport` corresponds to the top of the viewport, or 0° when `light.anchor`
1297
+ * is set to `map` corresponds to due north, and degrees proceed clockwise),
1298
+ * and p indicates the height of the light (from 0°, directly above, to 180°,
1299
+ * directly below).
1300
+ */
1301
+ position?: Value<number[], ["zoom"]>;
1302
+ /**
1303
+ * The transition affecting any changes to this layer's position property.
1304
+ */
1305
+ positionTransition?: Transition;
1306
+ /**
1307
+ * Color tint for lighting extruded geometries.
1308
+ */
1309
+ color?: Value<string, ["zoom"]>;
1310
+ /**
1311
+ * The transition affecting any changes to this layer's color property.
1312
+ */
1313
+ colorTransition?: Transition;
1314
+ /**
1315
+ * Intensity of lighting (on a scale from 0 to 1). Higher numbers will present
1316
+ * as more extreme contrast.
1317
+ */
1318
+ intensity?: Value<number, ["zoom"]>;
1319
+ /**
1320
+ * The transition affecting any changes to this layer's intensity property.
1321
+ */
1322
+ intensityTransition?: Transition;
1323
+ }
1324
+
1325
+ export type AllLayerStyle =
1326
+ | FillLayerStyle
1327
+ | LineLayerStyle
1328
+ | SymbolLayerStyle
1329
+ | CircleLayerStyle
1330
+ | HeatmapLayerStyle
1331
+ | FillExtrusionLayerStyle
1332
+ | RasterLayerStyle
1333
+ | HillshadeLayerStyle
1334
+ | BackgroundLayerStyle
1335
+ | LightLayerStyle;