@mapcomponents/react-maplibre 0.1.48 → 0.1.49

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 (329) hide show
  1. package/.github/workflows/node_version_test.yml +2 -1
  2. package/README.md +61 -150
  3. package/coverage/clover.xml +181 -178
  4. package/coverage/coverage-final.json +6 -6
  5. package/coverage/lcov-report/index.html +26 -26
  6. package/coverage/lcov-report/src/components/MapLibreMap/MapLibreMap.tsx.html +25 -25
  7. package/coverage/lcov-report/src/components/MapLibreMap/index.html +1 -1
  8. package/coverage/lcov-report/src/components/MlCreatePdfButton/MlCreatePdfButton.tsx.html +1 -1
  9. package/coverage/lcov-report/src/components/MlCreatePdfButton/index.html +1 -1
  10. package/coverage/lcov-report/src/components/MlFeatureEditor/MlFeatureEditor.tsx.html +69 -63
  11. package/coverage/lcov-report/src/components/MlFeatureEditor/index.html +18 -18
  12. package/coverage/lcov-report/src/components/MlFillExtrusionLayer/MlFillExtrusionLayer.tsx.html +1 -1
  13. package/coverage/lcov-report/src/components/MlFillExtrusionLayer/index.html +1 -1
  14. package/coverage/lcov-report/src/components/MlFollowGps/MlFollowGps.tsx.html +1 -1
  15. package/coverage/lcov-report/src/components/MlFollowGps/index.html +1 -1
  16. package/coverage/lcov-report/src/components/MlGPXViewer/MlGPXViewer.tsx.html +1 -1
  17. package/coverage/lcov-report/src/components/MlGPXViewer/gpxConverter.js.html +1 -1
  18. package/coverage/lcov-report/src/components/MlGPXViewer/index.html +1 -1
  19. package/coverage/lcov-report/src/components/MlGeoJsonLayer/MlGeoJsonLayer.tsx.html +1 -1
  20. package/coverage/lcov-report/src/components/MlGeoJsonLayer/index.html +1 -1
  21. package/coverage/lcov-report/src/components/MlImageMarkerLayer/MlImageMarkerLayer.tsx.html +1 -1
  22. package/coverage/lcov-report/src/components/MlImageMarkerLayer/index.html +1 -1
  23. package/coverage/lcov-report/src/components/MlLayer/MlLayer.tsx.html +1 -1
  24. package/coverage/lcov-report/src/components/MlLayer/index.html +1 -1
  25. package/coverage/lcov-report/src/components/MlLayerMagnify/MlLayerMagnify.tsx.html +1 -1
  26. package/coverage/lcov-report/src/components/MlLayerMagnify/index.html +1 -1
  27. package/coverage/lcov-report/src/components/MlLayerSwipe/MlLayerSwipe.tsx.html +1 -1
  28. package/coverage/lcov-report/src/components/MlLayerSwipe/index.html +1 -1
  29. package/coverage/lcov-report/src/components/MlLayerSwitcher/MlLayerSwitcher.js.html +1 -1
  30. package/coverage/lcov-report/src/components/MlLayerSwitcher/components/LayerBox.js.html +1 -1
  31. package/coverage/lcov-report/src/components/MlLayerSwitcher/components/index.html +1 -1
  32. package/coverage/lcov-report/src/components/MlLayerSwitcher/index.html +1 -1
  33. package/coverage/lcov-report/src/components/MlMarker/MlMarker.tsx.html +1 -1
  34. package/coverage/lcov-report/src/components/MlMarker/index.html +1 -1
  35. package/coverage/lcov-report/src/components/MlMeasureTool/MlMeasureTool.tsx.html +1 -1
  36. package/coverage/lcov-report/src/components/MlMeasureTool/index.html +1 -1
  37. package/coverage/lcov-report/src/components/MlNavigationCompass/MlNavigationCompass.tsx.html +1 -1
  38. package/coverage/lcov-report/src/components/MlNavigationCompass/index.html +1 -1
  39. package/coverage/lcov-report/src/components/MlNavigationTools/MlNavigationTools.tsx.html +1 -1
  40. package/coverage/lcov-report/src/components/MlNavigationTools/index.html +1 -1
  41. package/coverage/lcov-report/src/components/MlOsmLayer/MlOsmLayer.js.html +1 -1
  42. package/coverage/lcov-report/src/components/MlOsmLayer/MlOsmLayer.stories_.js.html +1 -1
  43. package/coverage/lcov-report/src/components/MlOsmLayer/index.html +1 -1
  44. package/coverage/lcov-report/src/components/MlScaleReference/MlScaleReference.js.html +1 -1
  45. package/coverage/lcov-report/src/components/MlScaleReference/index.html +1 -1
  46. package/coverage/lcov-report/src/components/MlShareMapState/MlShareMapState.js.html +1 -1
  47. package/coverage/lcov-report/src/components/MlShareMapState/index.html +1 -1
  48. package/coverage/lcov-report/src/components/MlSpatialElevationProfile/MlSpatialElevationProfile.js.html +1 -1
  49. package/coverage/lcov-report/src/components/MlSpatialElevationProfile/index.html +1 -1
  50. package/coverage/lcov-report/src/components/MlThreeJsLayer/MlThreeJsLayer.js.html +1 -1
  51. package/coverage/lcov-report/src/components/MlThreeJsLayer/index.html +1 -1
  52. package/coverage/lcov-report/src/components/MlTransitionGeoJsonLayer/MlTransitionGeoJsonLayer.tsx.html +1 -1
  53. package/coverage/lcov-report/src/components/MlTransitionGeoJsonLayer/index.html +1 -1
  54. package/coverage/lcov-report/src/components/MlUseMapDebugger/MlUseMapDebugger.js.html +1 -1
  55. package/coverage/lcov-report/src/components/MlUseMapDebugger/index.html +1 -1
  56. package/coverage/lcov-report/src/components/MlVectorTileLayer/MlVectorTileLayer.tsx.html +1 -1
  57. package/coverage/lcov-report/src/components/MlVectorTileLayer/index.html +1 -1
  58. package/coverage/lcov-report/src/components/MlWmsFeatureInfoPopup/MlWmsFeatureInfoPopup.js.html +1 -1
  59. package/coverage/lcov-report/src/components/MlWmsFeatureInfoPopup/index.html +1 -1
  60. package/coverage/lcov-report/src/components/MlWmsLayer/MlWmsLayer.tsx.html +1 -1
  61. package/coverage/lcov-report/src/components/MlWmsLayer/index.html +1 -1
  62. package/coverage/lcov-report/src/components/MlWmsLoader/MlWmsLoader.tsx.html +1 -1
  63. package/coverage/lcov-report/src/components/MlWmsLoader/index.html +1 -1
  64. package/coverage/lcov-report/src/contexts/MapContext.tsx.html +23 -23
  65. package/coverage/lcov-report/src/contexts/SimpleDataContext.js.html +1 -1
  66. package/coverage/lcov-report/src/contexts/SimpleDataProvider.js.html +1 -1
  67. package/coverage/lcov-report/src/contexts/index.html +1 -1
  68. package/coverage/lcov-report/src/hooks/index.html +15 -15
  69. package/coverage/lcov-report/src/hooks/useLayer.ts.html +60 -60
  70. package/coverage/lcov-report/src/hooks/useMap.ts.html +25 -25
  71. package/coverage/lcov-report/src/hooks/useMapState.ts.html +28 -28
  72. package/coverage/lcov-report/src/hooks/useWms.js.html +1 -1
  73. package/coverage/lcov-report/src/index.html +1 -1
  74. package/coverage/lcov-report/src/index.ts.html +1 -1
  75. package/coverage/lcov.info +320 -311
  76. package/dist/components/MapLibreMap/MapLibreMap.d.ts +31 -0
  77. package/dist/components/MapLibreMap/MapLibreMap.stories.d.ts +15 -0
  78. package/dist/components/MapLibreMap/MapLibreMap.test.d.ts +1 -0
  79. package/dist/components/MapLibreMap/lib/MapLibreGlWrapper.d.ts +75 -0
  80. package/dist/components/MapLibreMap/lib/MapLibreGlWrapper.test.d.ts +1 -0
  81. package/dist/components/MlBasicComponent.d.ts +5 -0
  82. package/dist/components/MlComponentTemplate/MlComponentTemplate.d.ts +22 -0
  83. package/dist/components/MlComponentTemplate/MlComponentTemplate.stories.d.ts +10 -0
  84. package/dist/components/MlCreatePdfButton/MlCreatePdfButton.d.ts +21 -0
  85. package/dist/components/MlCreatePdfButton/MlCreatePdfButton.stories.d.ts +10 -0
  86. package/dist/components/MlCreatePdfButton/lib/createPdf.d.ts +2 -0
  87. package/dist/components/MlCreatePdfButton/lib/nominatimMap.d.ts +2 -0
  88. package/dist/components/MlFeatureEditor/MlFeatureEditor.d.ts +35 -0
  89. package/dist/components/MlFeatureEditor/MlFeatureEditor.stories.d.ts +15 -0
  90. package/dist/components/MlFeatureEditor/MlFeatureEditor.test.d.ts +1 -0
  91. package/dist/components/MlFeatureEditor/custom-direct-select-mode.d.ts +37 -0
  92. package/dist/components/MlFeatureEditor/custom-polygon-mode.d.ts +16 -0
  93. package/dist/components/MlFeatureEditor/custom-select-mode.d.ts +37 -0
  94. package/dist/components/MlFeatureEditor/lib/common_selectors.d.ts +11 -0
  95. package/dist/components/MlFeatureEditor/lib/constants.d.ts +85 -0
  96. package/dist/components/MlFeatureEditor/lib/constrain_feature_movement.d.ts +2 -0
  97. package/dist/components/MlFeatureEditor/lib/create_midpoint.d.ts +15 -0
  98. package/dist/components/MlFeatureEditor/lib/create_supplementary_points.d.ts +2 -0
  99. package/dist/components/MlFeatureEditor/lib/create_vertex.d.ts +13 -0
  100. package/dist/components/MlFeatureEditor/lib/double_click_zoom.d.ts +7 -0
  101. package/dist/components/MlFeatureEditor/lib/euclidean_distance.d.ts +5 -0
  102. package/dist/components/MlFeatureEditor/lib/features_at.d.ts +7 -0
  103. package/dist/components/MlFeatureEditor/lib/get_features_and_set_cursor.d.ts +1 -0
  104. package/dist/components/MlFeatureEditor/lib/is_click.d.ts +1 -0
  105. package/dist/components/MlFeatureEditor/lib/is_event_at_coordinates.d.ts +6 -0
  106. package/dist/components/MlFeatureEditor/lib/is_tap.d.ts +3 -0
  107. package/dist/components/MlFeatureEditor/lib/map_event_to_bounding_box.d.ts +12 -0
  108. package/dist/components/MlFeatureEditor/lib/mode_handler.d.ts +24 -0
  109. package/dist/components/MlFeatureEditor/lib/mouse_event_point.d.ts +11 -0
  110. package/dist/components/MlFeatureEditor/lib/move_features.d.ts +2 -0
  111. package/dist/components/MlFeatureEditor/lib/sort_features.d.ts +2 -0
  112. package/dist/components/MlFeatureEditor/lib/string_set.d.ts +21 -0
  113. package/dist/components/MlFeatureEditor/lib/string_sets_are_equal.d.ts +5 -0
  114. package/dist/components/MlFeatureEditor/lib/theme.d.ts +88 -0
  115. package/dist/components/MlFeatureEditor/lib/to_dense_array.d.ts +12 -0
  116. package/dist/components/MlFeatureEditor/lib/utils.d.ts +10 -0
  117. package/dist/components/MlFillExtrusionLayer/MlFillExtrusionLayer.d.ts +61 -0
  118. package/dist/components/MlFillExtrusionLayer/MlFillExtrusionLayer.stories.d.ts +10 -0
  119. package/dist/components/MlFillExtrusionLayer/MlFillExtrusionLayer.test.d.ts +1 -0
  120. package/dist/components/MlFollowGps/MlFollowGps.d.ts +80 -0
  121. package/dist/components/MlFollowGps/MlFollowGps.stories.d.ts +10 -0
  122. package/dist/components/MlFollowGps/MlFollowGps.test.d.ts +1 -0
  123. package/dist/components/MlGPXViewer/MlGPXViewer.d.ts +29 -0
  124. package/dist/components/MlGPXViewer/MlGPXViewer.stories.d.ts +16 -0
  125. package/dist/components/MlGPXViewer/MlGPXViewer.test.d.ts +1 -0
  126. package/dist/components/MlGPXViewer/gpxConverter.d.ts +11 -0
  127. package/dist/components/MlGPXViewer/util/GeoJsonContext.d.ts +10 -0
  128. package/dist/components/MlGPXViewer/util/GeoJsonProvider.d.ts +4 -0
  129. package/dist/components/MlGeoJsonLayer/MlGeoJsonLayer.d.ts +69 -0
  130. package/dist/components/MlGeoJsonLayer/MlGeoJsonLayer.stories.d.ts +12 -0
  131. package/dist/components/MlGeoJsonLayer/MlGeoJsonLayer.test.d.ts +1 -0
  132. package/dist/components/MlGeoJsonLayer/util/getDefaultLayerTypeByGeometry.d.ts +2 -0
  133. package/dist/components/MlGeoJsonLayer/util/getDefaultPaintPropsByType.d.ts +2 -0
  134. package/dist/components/MlImageMarkerLayer/MlImageMarkerLayer.d.ts +29 -0
  135. package/dist/components/MlImageMarkerLayer/MlImageMarkerLayer.stories.d.ts +10 -0
  136. package/dist/components/MlImageMarkerLayer/MlImageMarkerLayer.test.d.ts +1 -0
  137. package/dist/components/MlLayer/MlLayer.d.ts +26 -0
  138. package/dist/components/MlLayer/MlLayer.stories.d.ts +10 -0
  139. package/dist/components/MlLayer/MlLayer.test.d.ts +1 -0
  140. package/dist/components/MlLayerMagnify/MlLayerMagnify.d.ts +27 -0
  141. package/dist/components/MlLayerMagnify/MlLayerMagnify.stories.d.ts +10 -0
  142. package/dist/components/MlLayerMagnify/MlLayerMagnify.test.d.ts +1 -0
  143. package/dist/components/MlLayerSwipe/MlLayerSwipe.d.ts +16 -0
  144. package/dist/components/MlLayerSwipe/MlLayerSwipe.stories.d.ts +11 -0
  145. package/dist/components/MlLayerSwipe/MlLayerSwipe.test.d.ts +1 -0
  146. package/dist/components/MlLayerSwitcher/MlLayerSwitcher.d.ts +30 -0
  147. package/dist/components/MlLayerSwitcher/MlLayerSwitcher.stories.d.ts +13 -0
  148. package/dist/components/MlLayerSwitcher/components/LayerBox.d.ts +6 -0
  149. package/dist/components/MlMarker/MlMarker.d.ts +33 -0
  150. package/dist/components/MlMarker/MlMarker.stories.d.ts +9 -0
  151. package/dist/components/MlMeasureTool/MlMeasureTool.d.ts +20 -0
  152. package/dist/components/MlMeasureTool/MlMeasureTool.stories.d.ts +11 -0
  153. package/dist/components/MlNavigationCompass/MlNavigationCompass.d.ts +47 -0
  154. package/dist/components/MlNavigationCompass/MlNavigationCompass.stories.d.ts +10 -0
  155. package/dist/components/MlNavigationCompass/MlNavigationCompass.test.d.ts +1 -0
  156. package/dist/components/MlNavigationTools/MlNavigationTools.d.ts +9 -0
  157. package/dist/components/MlNavigationTools/MlNavigationTools.stories.d.ts +13 -0
  158. package/dist/components/MlOsmLayer/MlOsmLayer.d.ts +18 -0
  159. package/dist/components/MlOsmLayer/MlOsmLayer.stories_.d.ts +16 -0
  160. package/dist/components/MlOsmLayer/MlOsmLayer.test.d.ts +1 -0
  161. package/dist/components/MlScaleReference/MlScaleReference.d.ts +2 -0
  162. package/dist/components/MlScaleReference/MlScaleReference.stories.d.ts +14 -0
  163. package/dist/components/MlShareMapState/MlShareMapState.d.ts +22 -0
  164. package/dist/components/MlShareMapState/MlShareMapState.stories.d.ts +10 -0
  165. package/dist/components/MlSpatialElevationProfile/MlSpatialElevationProfile.d.ts +20 -0
  166. package/dist/components/MlSpatialElevationProfile/MlSpatialElevationProfile.stories.d.ts +16 -0
  167. package/dist/components/MlSpatialElevationProfile/MlSpatialElevationProfile.test.d.ts +1 -0
  168. package/dist/components/MlThreeJsLayer/MlThreeJsLayer.d.ts +15 -0
  169. package/dist/components/MlThreeJsLayer/MlThreeJsLayer.stories.d.ts +16 -0
  170. package/dist/components/MlThreeJsLayer/MlThreeJsLayer.test.d.ts +1 -0
  171. package/dist/components/MlThreeJsLayer/lib/GLTFLoader.d.ts +17 -0
  172. package/dist/components/MlTransitionGeoJsonLayer/MlTransitionGeoJsonLayer.d.ts +68 -0
  173. package/dist/components/MlTransitionGeoJsonLayer/MlTransitionGeoJsonLayer.stories.d.ts +13 -0
  174. package/dist/components/MlTransitionGeoJsonLayer/MlTransitionGeoJsonLayer.test.d.ts +1 -0
  175. package/dist/components/MlTransitionGeoJsonLayer/util/transitionFunctions.d.ts +2 -0
  176. package/dist/components/MlUseMapDebugger/MlUseMapDebugger.d.ts +22 -0
  177. package/dist/components/MlUseMapDebugger/MlUseMapDebugger.stories.d.ts +13 -0
  178. package/dist/components/MlVectorTileLayer/MlVectorTileLayer.d.ts +37 -0
  179. package/dist/components/MlVectorTileLayer/MlVectorTileLayer.stories.d.ts +13 -0
  180. package/dist/components/MlVectorTileLayer/MlVectorTileLayer.test.d.ts +1 -0
  181. package/dist/components/MlWmsFeatureInfoPopup/MlWmsFeatureInfoPopup.d.ts +22 -0
  182. package/dist/components/MlWmsFeatureInfoPopup/MlWmsFeatureInfoPopup.stories.d.ts +13 -0
  183. package/dist/components/MlWmsLayer/MlWmsLayer.d.ts +100 -0
  184. package/dist/components/MlWmsLayer/MlWmsLayer.stories.d.ts +13 -0
  185. package/dist/components/MlWmsLayer/MlWmsLayer.test.d.ts +1 -0
  186. package/dist/components/MlWmsLoader/MlWmsLoader.d.ts +48 -0
  187. package/dist/components/MlWmsLoader/MlWmsLoader.stories.d.ts +13 -0
  188. package/dist/contexts/MapComponentsProvider.test.d.ts +1 -0
  189. package/dist/contexts/MapContext.d.ts +13 -0
  190. package/dist/contexts/SimpleDataContext.d.ts +4 -0
  191. package/dist/contexts/SimpleDataProvider.d.ts +8 -0
  192. package/dist/contexts/SimpleDataProvider.test.d.ts +1 -0
  193. package/dist/custom.d.d.ts +22 -0
  194. package/dist/decorators/MapContextDecorator.d.ts +2 -0
  195. package/dist/decorators/MultiMapContextDecorator.d.ts +2 -0
  196. package/dist/hooks/useLayer.d.ts +24 -0
  197. package/dist/hooks/useLayer.test.d.ts +1 -0
  198. package/dist/hooks/useMap.d.ts +14 -0
  199. package/dist/hooks/useMapState.d.ts +62 -0
  200. package/dist/hooks/useMapState.stories.d.ts +14 -0
  201. package/dist/hooks/useWms.d.ts +18 -0
  202. package/dist/index.d.ts +32 -0
  203. package/dist/index.esm.js +29 -22
  204. package/dist/index.esm.js.map +1 -1
  205. package/dist/setupTests.d.ts +12 -0
  206. package/dist/stories/components/Readme.d.ts +2 -0
  207. package/dist/ui_components/ImageLoader.d.ts +2 -0
  208. package/dist/ui_components/Legend.d.ts +1 -0
  209. package/dist/ui_components/LoadingOverlay.d.ts +2 -0
  210. package/dist/ui_components/LoadingOverlayContext.d.ts +11 -0
  211. package/dist/ui_components/Sidebar.d.ts +1 -0
  212. package/dist/ui_components/Tooltip.d.ts +1 -0
  213. package/dist/ui_components/TopToolbar.d.ts +1 -0
  214. package/dist/util/index.d.ts +3 -0
  215. package/dist/util/layerRemovalTest.d.ts +2 -0
  216. package/dist/util/sourceRemovalTest.d.ts +2 -0
  217. package/package.json +2 -1
  218. package/src/components/MapLibreMap/MapLibreMap.tsx +1 -1
  219. package/src/components/MlFeatureEditor/MlFeatureEditor.stories.js +1 -2
  220. package/src/components/MlFeatureEditor/MlFeatureEditor.test.js +3 -3
  221. package/src/components/MlFeatureEditor/MlFeatureEditor.tsx +37 -35
  222. package/src/components/MlFeatureEditor/lib/utils.js +1 -2
  223. package/src/components/MlWmsLoader/MlWmsLoader.stories.js +1 -1
  224. package/src/hooks/useLayer.test.js +205 -0
  225. package/tsconfig.json +35 -7
  226. package/docs-build/0.20735a16c2ad9677fe7d.manager.bundle.js +0 -1
  227. package/docs-build/0.968bdc5f.iframe.bundle.js +0 -2
  228. package/docs-build/0.968bdc5f.iframe.bundle.js.map +0 -1
  229. package/docs-build/1.3530bc86.iframe.bundle.js +0 -10
  230. package/docs-build/1.3530bc86.iframe.bundle.js.map +0 -1
  231. package/docs-build/17.c96fb6bc.iframe.bundle.js +0 -2
  232. package/docs-build/17.c96fb6bc.iframe.bundle.js.map +0 -1
  233. package/docs-build/18.0947f810.iframe.bundle.js +0 -17
  234. package/docs-build/18.0947f810.iframe.bundle.js.map +0 -1
  235. package/docs-build/19.44204e5a.iframe.bundle.js +0 -14
  236. package/docs-build/19.44204e5a.iframe.bundle.js.map +0 -1
  237. package/docs-build/2.c62e9630.iframe.bundle.js +0 -2
  238. package/docs-build/2.c62e9630.iframe.bundle.js.map +0 -1
  239. package/docs-build/20.50a2ad76.iframe.bundle.js +0 -2
  240. package/docs-build/20.50a2ad76.iframe.bundle.js.map +0 -1
  241. package/docs-build/21.ce55b70e.iframe.bundle.js +0 -4
  242. package/docs-build/21.ce55b70e.iframe.bundle.js.map +0 -1
  243. package/docs-build/22.639c6bb4.iframe.bundle.js +0 -22
  244. package/docs-build/22.639c6bb4.iframe.bundle.js.map +0 -1
  245. package/docs-build/3.afb0e0a5.iframe.bundle.js +0 -2
  246. package/docs-build/3.afb0e0a5.iframe.bundle.js.map +0 -1
  247. package/docs-build/4.8ac31bba1926f4f011b0.manager.bundle.js +0 -2
  248. package/docs-build/4.8ac31bba1926f4f011b0.manager.bundle.js.LICENSE.txt +0 -8
  249. package/docs-build/5.daf044a6c0f55d839078.manager.bundle.js +0 -1
  250. package/docs-build/6.99fba2cf6af0473f8209.manager.bundle.js +0 -2
  251. package/docs-build/6.99fba2cf6af0473f8209.manager.bundle.js.LICENSE.txt +0 -12
  252. package/docs-build/7.b6a48b90f61cb575c2e4.manager.bundle.js +0 -1
  253. package/docs-build/8.50518a5391398d9d5812.manager.bundle.js +0 -1
  254. package/docs-build/assets/3D/godzilla_simple.glb +0 -0
  255. package/docs-build/assets/dop.png +0 -0
  256. package/docs-build/assets/historic.png +0 -0
  257. package/docs-build/assets/marker.png +0 -0
  258. package/docs-build/assets/osm.png +0 -0
  259. package/docs-build/assets/sample.gpx +0 -716
  260. package/docs-build/catalogue/.gitkeep +0 -0
  261. package/docs-build/catalogue/mc_meta.json +0 -1
  262. package/docs-build/favicon.ico +0 -0
  263. package/docs-build/iframe.html +0 -348
  264. package/docs-build/index.html +0 -59
  265. package/docs-build/logo.png +0 -0
  266. package/docs-build/main.ef9704b1252e8efa56a0.manager.bundle.js +0 -1
  267. package/docs-build/main~24120820.e956ad2c.iframe.bundle.js +0 -2
  268. package/docs-build/main~24120820.e956ad2c.iframe.bundle.js.map +0 -1
  269. package/docs-build/manifest.json +0 -25
  270. package/docs-build/robots.txt +0 -3
  271. package/docs-build/runtime~main.6e6ed7dc9ea4785ef286.manager.bundle.js +0 -1
  272. package/docs-build/static/media/mapcomponents_logo.98b01a05.png +0 -0
  273. package/docs-build/static/media/wg-marker.bf3eeb2d.png +0 -0
  274. package/docs-build/thumbnails/MapLibreMap.png +0 -0
  275. package/docs-build/thumbnails/MlCameraFollowPath.png +0 -0
  276. package/docs-build/thumbnails/MlCreatePdfButton.png +0 -0
  277. package/docs-build/thumbnails/MlDeckGlLayer.png +0 -0
  278. package/docs-build/thumbnails/MlDeckGlTerrainLayer.png +0 -0
  279. package/docs-build/thumbnails/MlDemoDashboard.png +0 -0
  280. package/docs-build/thumbnails/MlFeatureEditor.png +0 -0
  281. package/docs-build/thumbnails/MlFillExtrusionLayer.png +0 -0
  282. package/docs-build/thumbnails/MlFollowGps.png +0 -0
  283. package/docs-build/thumbnails/MlGPXViewer.png +0 -0
  284. package/docs-build/thumbnails/MlGeoJsonLayer.png +0 -0
  285. package/docs-build/thumbnails/MlHillshadeLayer.png +0 -0
  286. package/docs-build/thumbnails/MlIconLayer.png +0 -0
  287. package/docs-build/thumbnails/MlLaermkarte.png +0 -0
  288. package/docs-build/thumbnails/MlLayerMagnify.png +0 -0
  289. package/docs-build/thumbnails/MlLayerSwipe.png +0 -0
  290. package/docs-build/thumbnails/MlMapDrawTools.png +0 -0
  291. package/docs-build/thumbnails/MlMeasureTool.png +0 -0
  292. package/docs-build/thumbnails/MlMobilerImker.png +0 -0
  293. package/docs-build/thumbnails/MlNavigationCompass.png +0 -0
  294. package/docs-build/thumbnails/MlNavigationTools.png +0 -0
  295. package/docs-build/thumbnails/MlOsmLayer.png +0 -0
  296. package/docs-build/thumbnails/MlScaleReference.png +0 -0
  297. package/docs-build/thumbnails/MlSpatialElevationProfile.png +0 -0
  298. package/docs-build/thumbnails/MlThreeJsLayer.png +0 -0
  299. package/docs-build/thumbnails/MlTransitionGeoJsonLayer.png +0 -0
  300. package/docs-build/thumbnails/MlVectorTileLayer.png +0 -0
  301. package/docs-build/thumbnails/MlWanderApp.png +0 -0
  302. package/docs-build/thumbnails/MlWmsLayer.png +0 -0
  303. package/docs-build/thumbnails/MlWmsLoader.png +0 -0
  304. package/docs-build/vendors~main.4b570b3072ba06ee44b5.manager.bundle.js +0 -2
  305. package/docs-build/vendors~main.4b570b3072ba06ee44b5.manager.bundle.js.LICENSE.txt +0 -104
  306. package/docs-build/vendors~main~0ad7406a.834c9ace.iframe.bundle.js +0 -8
  307. package/docs-build/vendors~main~0ad7406a.834c9ace.iframe.bundle.js.map +0 -1
  308. package/docs-build/vendors~main~0f485567.7297d057.iframe.bundle.js +0 -2
  309. package/docs-build/vendors~main~0f485567.7297d057.iframe.bundle.js.map +0 -1
  310. package/docs-build/vendors~main~41a6ab2c.19d97527.iframe.bundle.js +0 -2
  311. package/docs-build/vendors~main~41a6ab2c.19d97527.iframe.bundle.js.map +0 -1
  312. package/docs-build/vendors~main~52589227.cebbe724.iframe.bundle.js +0 -8
  313. package/docs-build/vendors~main~52589227.cebbe724.iframe.bundle.js.map +0 -1
  314. package/docs-build/vendors~main~57c1f6cb.8a8dd47e.iframe.bundle.js +0 -2
  315. package/docs-build/vendors~main~57c1f6cb.8a8dd47e.iframe.bundle.js.map +0 -1
  316. package/docs-build/vendors~main~73914085.2e61c0dc.iframe.bundle.js +0 -293
  317. package/docs-build/vendors~main~73914085.2e61c0dc.iframe.bundle.js.map +0 -1
  318. package/docs-build/vendors~main~9c5b28f6.32356887.iframe.bundle.js +0 -7
  319. package/docs-build/vendors~main~9c5b28f6.32356887.iframe.bundle.js.map +0 -1
  320. package/docs-build/vendors~main~b5906859.94dc520a.iframe.bundle.js +0 -21
  321. package/docs-build/vendors~main~b5906859.94dc520a.iframe.bundle.js.map +0 -1
  322. package/docs-build/vendors~main~b8f44717.8669cfb8.iframe.bundle.js +0 -89
  323. package/docs-build/vendors~main~b8f44717.8669cfb8.iframe.bundle.js.map +0 -1
  324. package/docs-build/vendors~main~b9cf3951.2a2025c3.iframe.bundle.js +0 -63
  325. package/docs-build/vendors~main~b9cf3951.2a2025c3.iframe.bundle.js.map +0 -1
  326. package/docs-build/vendors~main~d939e436.bb2b0303.iframe.bundle.js +0 -2
  327. package/docs-build/vendors~main~d939e436.bb2b0303.iframe.bundle.js.map +0 -1
  328. package/docs-build/vendors~main~f420d588.3481b43e.iframe.bundle.js +0 -107
  329. package/docs-build/vendors~main~f420d588.3481b43e.iframe.bundle.js.map +0 -1
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1655312891553" clover="3.2.0">
3
- <project timestamp="1655312891554" name="All files">
4
- <metrics statements="1623" coveredstatements="617" conditionals="997" coveredconditionals="294" methods="293" coveredmethods="104" elements="2913" coveredelements="1015" complexity="0" loc="1623" ncloc="1623" packages="31" files="38" classes="38"/>
2
+ <coverage generated="1657564890361" clover="3.2.0">
3
+ <project timestamp="1657564890362" name="All files">
4
+ <metrics statements="1626" coveredstatements="624" conditionals="1001" coveredconditionals="301" methods="294" coveredmethods="105" elements="2921" coveredelements="1030" complexity="0" loc="1626" ncloc="1626" packages="31" files="38" classes="38"/>
5
5
  <package name="src">
6
6
  <metrics statements="0" coveredstatements="0" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
7
7
  <file name="index.ts" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/index.ts">
@@ -12,36 +12,36 @@
12
12
  <metrics statements="30" coveredstatements="27" conditionals="11" coveredconditionals="8" methods="7" coveredmethods="7"/>
13
13
  <file name="MapLibreMap.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MapLibreMap/MapLibreMap.tsx">
14
14
  <metrics statements="30" coveredstatements="27" conditionals="11" coveredconditionals="8" methods="7" coveredmethods="7"/>
15
- <line num="26" count="18" type="stmt"/>
16
- <line num="61" count="18" type="stmt"/>
17
- <line num="62" count="247" type="stmt"/>
18
- <line num="63" count="247" type="stmt"/>
19
- <line num="65" count="247" type="stmt"/>
20
- <line num="67" count="247" type="stmt"/>
21
- <line num="68" count="247" type="stmt"/>
22
- <line num="69" count="247" type="stmt"/>
23
- <line num="71" count="247" type="stmt"/>
24
- <line num="72" count="73" type="stmt"/>
25
- <line num="74" count="73" type="stmt"/>
15
+ <line num="26" count="19" type="stmt"/>
16
+ <line num="61" count="19" type="stmt"/>
17
+ <line num="62" count="271" type="stmt"/>
18
+ <line num="63" count="271" type="stmt"/>
19
+ <line num="65" count="271" type="stmt"/>
20
+ <line num="67" count="271" type="stmt"/>
21
+ <line num="68" count="271" type="stmt"/>
22
+ <line num="69" count="271" type="stmt"/>
23
+ <line num="71" count="271" type="stmt"/>
24
+ <line num="72" count="82" type="stmt"/>
25
+ <line num="74" count="82" type="stmt"/>
26
26
  <line num="75" count="2" type="stmt"/>
27
27
  <line num="76" count="2" type="stmt"/>
28
28
  <line num="77" count="2" type="stmt"/>
29
- <line num="81" count="247" type="stmt"/>
30
- <line num="82" count="73" type="cond" truecount="1" falsecount="1"/>
31
- <line num="84" count="73" type="cond" truecount="1" falsecount="1"/>
32
- <line num="85" count="73" type="stmt"/>
33
- <line num="86" count="73" type="stmt"/>
34
- <line num="93" count="73" type="stmt"/>
35
- <line num="94" count="73" type="cond" truecount="2" falsecount="0"/>
29
+ <line num="81" count="271" type="stmt"/>
30
+ <line num="82" count="82" type="cond" truecount="1" falsecount="1"/>
31
+ <line num="84" count="82" type="cond" truecount="1" falsecount="1"/>
32
+ <line num="85" count="82" type="stmt"/>
33
+ <line num="86" count="82" type="stmt"/>
34
+ <line num="93" count="82" type="stmt"/>
35
+ <line num="94" count="82" type="cond" truecount="2" falsecount="0"/>
36
36
  <line num="95" count="6" type="stmt"/>
37
- <line num="97" count="67" type="stmt"/>
38
- <line num="105" count="247" type="stmt"/>
39
- <line num="106" count="73" type="cond" truecount="4" falsecount="1"/>
37
+ <line num="97" count="76" type="stmt"/>
38
+ <line num="105" count="271" type="stmt"/>
39
+ <line num="106" count="82" type="cond" truecount="4" falsecount="1"/>
40
40
  <line num="107" count="0" type="stmt"/>
41
41
  <line num="108" count="0" type="stmt"/>
42
42
  <line num="109" count="0" type="stmt"/>
43
- <line num="114" count="247" type="stmt"/>
44
- <line num="117" count="18" type="stmt"/>
43
+ <line num="114" count="271" type="stmt"/>
44
+ <line num="117" count="19" type="stmt"/>
45
45
  </file>
46
46
  </package>
47
47
  <package name="src.components.MlCreatePdfButton">
@@ -57,42 +57,45 @@
57
57
  </file>
58
58
  </package>
59
59
  <package name="src.components.MlFeatureEditor">
60
- <metrics statements="33" coveredstatements="26" conditionals="25" coveredconditionals="17" methods="7" coveredmethods="5"/>
60
+ <metrics statements="36" coveredstatements="29" conditionals="29" coveredconditionals="20" methods="8" coveredmethods="6"/>
61
61
  <file name="MlFeatureEditor.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlFeatureEditor/MlFeatureEditor.tsx">
62
- <metrics statements="33" coveredstatements="26" conditionals="25" coveredconditionals="17" methods="7" coveredmethods="5"/>
63
- <line num="45" count="11" type="stmt"/>
62
+ <metrics statements="36" coveredstatements="29" conditionals="29" coveredconditionals="20" methods="8" coveredmethods="6"/>
63
+ <line num="44" count="11" type="stmt"/>
64
+ <line num="45" count="16" type="stmt"/>
64
65
  <line num="46" count="16" type="stmt"/>
65
- <line num="47" count="16" type="stmt"/>
66
66
  <line num="51" count="16" type="stmt"/>
67
- <line num="53" count="16" type="stmt"/>
68
- <line num="54" count="16" type="stmt"/>
69
- <line num="56" count="16" type="stmt"/>
70
- <line num="58" count="16" type="stmt"/>
71
- <line num="59" count="0" type="stmt"/>
72
- <line num="63" count="16" type="stmt"/>
73
- <line num="64" count="0" type="stmt"/>
74
- <line num="67" count="16" type="stmt"/>
75
- <line num="68" count="12" type="cond" truecount="2" falsecount="0"/>
76
- <line num="73" count="4" type="stmt"/>
77
- <line num="75" count="4" type="cond" truecount="1" falsecount="1"/>
78
- <line num="82" count="0" type="stmt"/>
79
- <line num="85" count="4" type="stmt"/>
80
- <line num="99" count="4" type="stmt"/>
81
- <line num="101" count="4" type="stmt"/>
82
- <line num="103" count="4" type="stmt"/>
83
- <line num="105" count="4" type="stmt"/>
84
- <line num="109" count="16" type="stmt"/>
85
- <line num="110" count="8" type="cond" truecount="2" falsecount="0"/>
67
+ <line num="52" count="16" type="stmt"/>
68
+ <line num="55" count="16" type="stmt"/>
69
+ <line num="56" count="0" type="stmt"/>
70
+ <line num="60" count="16" type="stmt"/>
71
+ <line num="61" count="12" type="cond" truecount="4" falsecount="0"/>
72
+ <line num="62" count="4" type="stmt"/>
73
+ <line num="64" count="4" type="cond" truecount="1" falsecount="1"/>
74
+ <line num="71" count="0" type="stmt"/>
75
+ <line num="74" count="4" type="stmt"/>
76
+ <line num="88" count="4" type="stmt"/>
77
+ <line num="91" count="4" type="stmt"/>
78
+ <line num="93" count="4" type="stmt"/>
79
+ <line num="97" count="16" type="stmt"/>
80
+ <line num="98" count="12" type="cond" truecount="4" falsecount="0"/>
81
+ <line num="100" count="4" type="stmt"/>
82
+ <line num="101" count="0" type="cond" truecount="0" falsecount="2"/>
83
+ <line num="103" count="0" type="cond" truecount="0" falsecount="2"/>
84
+ <line num="104" count="0" type="stmt"/>
85
+ <line num="105" count="0" type="stmt"/>
86
+ <line num="110" count="4" type="stmt"/>
87
+ <line num="112" count="4" type="stmt"/>
86
88
  <line num="114" count="4" type="stmt"/>
87
- <line num="118" count="16" type="stmt"/>
88
- <line num="119" count="4" type="cond" truecount="2" falsecount="2"/>
89
- <line num="121" count="0" type="stmt"/>
90
- <line num="122" count="0" type="cond" truecount="0" falsecount="2"/>
91
- <line num="123" count="0" type="stmt"/>
92
- <line num="128" count="16" type="stmt"/>
93
- <line num="129" count="4" type="cond" truecount="3" falsecount="1"/>
94
- <line num="131" count="0" type="stmt"/>
95
- <line num="135" count="16" type="stmt"/>
89
+ <line num="115" count="2" type="cond" truecount="1" falsecount="1"/>
90
+ <line num="117" count="2" type="stmt"/>
91
+ <line num="119" count="2" type="stmt"/>
92
+ <line num="124" count="16" type="stmt"/>
93
+ <line num="125" count="8" type="cond" truecount="4" falsecount="0"/>
94
+ <line num="126" count="4" type="stmt"/>
95
+ <line num="130" count="16" type="stmt"/>
96
+ <line num="131" count="4" type="cond" truecount="3" falsecount="1"/>
97
+ <line num="133" count="0" type="stmt"/>
98
+ <line num="137" count="16" type="stmt"/>
96
99
  </file>
97
100
  </package>
98
101
  <package name="src.components.MlFillExtrusionLayer">
@@ -1563,13 +1566,13 @@
1563
1566
  <metrics statements="73" coveredstatements="71" conditionals="54" coveredconditionals="45" methods="10" coveredmethods="10"/>
1564
1567
  <file name="MapContext.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/contexts/MapContext.tsx">
1565
1568
  <metrics statements="42" coveredstatements="42" conditionals="34" coveredconditionals="31" methods="6" coveredmethods="6"/>
1566
- <line num="4" count="19" type="stmt"/>
1567
- <line num="14" count="19" type="stmt"/>
1568
- <line num="15" count="168" type="stmt"/>
1569
- <line num="16" count="168" type="stmt"/>
1570
- <line num="17" count="168" type="stmt"/>
1571
- <line num="18" count="168" type="stmt"/>
1572
- <line num="21" count="168" type="stmt"/>
1569
+ <line num="4" count="20" type="stmt"/>
1570
+ <line num="14" count="20" type="stmt"/>
1571
+ <line num="15" count="186" type="stmt"/>
1572
+ <line num="16" count="186" type="stmt"/>
1573
+ <line num="17" count="186" type="stmt"/>
1574
+ <line num="18" count="186" type="stmt"/>
1575
+ <line num="21" count="186" type="stmt"/>
1573
1576
  <line num="22" count="8" type="cond" truecount="2" falsecount="0"/>
1574
1577
  <line num="23" count="6" type="cond" truecount="1" falsecount="1"/>
1575
1578
  <line num="24" count="6" type="stmt"/>
@@ -1581,30 +1584,30 @@
1581
1584
  <line num="33" count="3" type="stmt"/>
1582
1585
  <line num="36" count="2" type="stmt"/>
1583
1586
  <line num="37" count="2" type="stmt"/>
1584
- <line num="41" count="168" type="stmt"/>
1585
- <line num="42" count="71" type="stmt"/>
1586
- <line num="44" count="71" type="cond" truecount="1" falsecount="1"/>
1587
- <line num="45" count="71" type="stmt"/>
1588
- <line num="46" count="71" type="stmt"/>
1589
- <line num="47" count="71" type="stmt"/>
1590
- <line num="51" count="168" type="stmt"/>
1587
+ <line num="41" count="186" type="stmt"/>
1588
+ <line num="42" count="80" type="stmt"/>
1589
+ <line num="44" count="80" type="cond" truecount="1" falsecount="1"/>
1590
+ <line num="45" count="80" type="stmt"/>
1591
+ <line num="46" count="80" type="stmt"/>
1592
+ <line num="47" count="80" type="stmt"/>
1593
+ <line num="51" count="186" type="stmt"/>
1591
1594
  <line num="57" count="13" type="cond" truecount="3" falsecount="1"/>
1592
1595
  <line num="58" count="13" type="stmt"/>
1593
1596
  <line num="59" count="13" type="stmt"/>
1594
1597
  <line num="60" count="13" type="stmt"/>
1595
1598
  <line num="62" count="13" type="cond" truecount="2" falsecount="0"/>
1596
1599
  <line num="63" count="11" type="stmt"/>
1597
- <line num="69" count="427" type="cond" truecount="4" falsecount="0"/>
1600
+ <line num="69" count="487" type="cond" truecount="4" falsecount="0"/>
1598
1601
  <line num="70" count="76" type="stmt"/>
1599
- <line num="71" count="351" type="cond" truecount="4" falsecount="0"/>
1600
- <line num="72" count="129" type="stmt"/>
1601
- <line num="74" count="222" type="stmt"/>
1602
- <line num="77" count="171" type="cond" truecount="4" falsecount="0"/>
1602
+ <line num="71" count="411" type="cond" truecount="4" falsecount="0"/>
1603
+ <line num="72" count="147" type="stmt"/>
1604
+ <line num="74" count="264" type="stmt"/>
1605
+ <line num="77" count="189" type="cond" truecount="4" falsecount="0"/>
1603
1606
  <line num="78" count="25" type="stmt"/>
1604
- <line num="79" count="146" type="cond" truecount="4" falsecount="0"/>
1605
- <line num="80" count="129" type="stmt"/>
1607
+ <line num="79" count="164" type="cond" truecount="4" falsecount="0"/>
1608
+ <line num="80" count="147" type="stmt"/>
1606
1609
  <line num="83" count="17" type="stmt"/>
1607
- <line num="88" count="168" type="stmt"/>
1610
+ <line num="88" count="186" type="stmt"/>
1608
1611
  </file>
1609
1612
  <file name="SimpleDataContext.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/contexts/SimpleDataContext.js">
1610
1613
  <metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
@@ -1645,114 +1648,114 @@
1645
1648
  </file>
1646
1649
  </package>
1647
1650
  <package name="src.hooks">
1648
- <metrics statements="173" coveredstatements="94" conditionals="106" coveredconditionals="52" methods="28" coveredmethods="16"/>
1651
+ <metrics statements="173" coveredstatements="98" conditionals="106" coveredconditionals="56" methods="28" coveredmethods="16"/>
1649
1652
  <file name="useLayer.ts" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useLayer.ts">
1650
- <metrics statements="60" coveredstatements="42" conditionals="58" coveredconditionals="36" methods="8" coveredmethods="7"/>
1651
- <line num="30" count="12" type="stmt"/>
1652
- <line num="43" count="60" type="stmt"/>
1653
- <line num="48" count="60" type="stmt"/>
1654
- <line num="49" count="60" type="stmt"/>
1655
- <line num="50" count="60" type="stmt"/>
1656
- <line num="52" count="60" type="stmt"/>
1657
- <line num="54" count="60" type="stmt"/>
1658
- <line num="55" count="60" type="stmt"/>
1659
- <line num="59" count="60" type="stmt"/>
1660
- <line num="60" count="14" type="cond" truecount="1" falsecount="1"/>
1661
- <line num="62" count="14" type="cond" truecount="1" falsecount="1"/>
1662
- <line num="63" count="0" type="stmt"/>
1663
- <line num="65" count="14" type="cond" truecount="1" falsecount="1"/>
1653
+ <metrics statements="60" coveredstatements="46" conditionals="58" coveredconditionals="40" methods="8" coveredmethods="7"/>
1654
+ <line num="30" count="13" type="stmt"/>
1655
+ <line num="43" count="102" type="stmt"/>
1656
+ <line num="48" count="102" type="stmt"/>
1657
+ <line num="49" count="102" type="stmt"/>
1658
+ <line num="50" count="102" type="stmt"/>
1659
+ <line num="52" count="102" type="stmt"/>
1660
+ <line num="54" count="102" type="stmt"/>
1661
+ <line num="55" count="102" type="stmt"/>
1662
+ <line num="59" count="102" type="stmt"/>
1663
+ <line num="60" count="26" type="cond" truecount="1" falsecount="1"/>
1664
+ <line num="62" count="26" type="cond" truecount="2" falsecount="0"/>
1665
+ <line num="63" count="3" type="stmt"/>
1666
+ <line num="65" count="26" type="cond" truecount="1" falsecount="1"/>
1664
1667
  <line num="66" count="0" type="stmt"/>
1665
- <line num="68" count="14" type="stmt"/>
1666
- <line num="70" count="14" type="stmt"/>
1667
- <line num="91" count="14" type="stmt"/>
1668
- <line num="93" count="14" type="cond" truecount="1" falsecount="1"/>
1669
- <line num="94" count="0" type="stmt"/>
1670
- <line num="97" count="14" type="cond" truecount="1" falsecount="1"/>
1671
- <line num="98" count="0" type="stmt"/>
1672
- <line num="101" count="14" type="cond" truecount="1" falsecount="1"/>
1673
- <line num="102" count="0" type="stmt"/>
1674
- <line num="106" count="14" type="stmt"/>
1668
+ <line num="68" count="26" type="stmt"/>
1669
+ <line num="70" count="26" type="stmt"/>
1670
+ <line num="91" count="26" type="stmt"/>
1671
+ <line num="93" count="26" type="cond" truecount="2" falsecount="0"/>
1672
+ <line num="94" count="6" type="stmt"/>
1673
+ <line num="97" count="26" type="cond" truecount="2" falsecount="0"/>
1674
+ <line num="98" count="4" type="stmt"/>
1675
+ <line num="101" count="26" type="cond" truecount="2" falsecount="0"/>
1676
+ <line num="102" count="2" type="stmt"/>
1677
+ <line num="106" count="26" type="stmt"/>
1675
1678
  <line num="109" count="0" type="cond" truecount="0" falsecount="4"/>
1676
1679
  <line num="110" count="0" type="stmt"/>
1677
1680
  <line num="111" count="0" type="stmt"/>
1678
- <line num="117" count="14" type="stmt"/>
1679
- <line num="118" count="14" type="stmt"/>
1680
- <line num="119" count="14" type="stmt"/>
1681
- <line num="122" count="60" type="stmt"/>
1682
- <line num="123" count="60" type="cond" truecount="2" falsecount="0"/>
1683
- <line num="125" count="32" type="cond" truecount="2" falsecount="0"/>
1684
- <line num="131" count="18" type="stmt"/>
1685
- <line num="134" count="14" type="stmt"/>
1686
- <line num="137" count="60" type="stmt"/>
1687
- <line num="138" count="28" type="cond" truecount="4" falsecount="0"/>
1681
+ <line num="117" count="26" type="stmt"/>
1682
+ <line num="118" count="26" type="stmt"/>
1683
+ <line num="119" count="26" type="stmt"/>
1684
+ <line num="122" count="102" type="stmt"/>
1685
+ <line num="123" count="102" type="cond" truecount="2" falsecount="0"/>
1686
+ <line num="125" count="56" type="cond" truecount="2" falsecount="0"/>
1687
+ <line num="131" count="30" type="stmt"/>
1688
+ <line num="134" count="26" type="stmt"/>
1689
+ <line num="137" count="102" type="stmt"/>
1690
+ <line num="138" count="49" type="cond" truecount="4" falsecount="0"/>
1688
1691
  <line num="141" count="12" type="stmt"/>
1689
- <line num="144" count="60" type="stmt"/>
1690
- <line num="145" count="60" type="cond" truecount="2" falsecount="0"/>
1691
- <line num="151" count="28" type="stmt"/>
1692
- <line num="155" count="32" type="stmt"/>
1693
- <line num="156" count="32" type="cond" truecount="3" falsecount="1"/>
1692
+ <line num="144" count="102" type="stmt"/>
1693
+ <line num="145" count="102" type="cond" truecount="2" falsecount="0"/>
1694
+ <line num="151" count="46" type="stmt"/>
1695
+ <line num="155" count="56" type="stmt"/>
1696
+ <line num="156" count="56" type="cond" truecount="3" falsecount="1"/>
1694
1697
  <line num="157" count="0" type="stmt"/>
1695
1698
  <line num="159" count="0" type="stmt"/>
1696
1699
  <line num="160" count="0" type="cond" truecount="0" falsecount="4"/>
1697
1700
  <line num="161" count="0" type="stmt"/>
1698
1701
  <line num="164" count="0" type="stmt"/>
1699
- <line num="167" count="32" type="stmt"/>
1700
- <line num="168" count="32" type="cond" truecount="1" falsecount="1"/>
1702
+ <line num="167" count="56" type="stmt"/>
1703
+ <line num="168" count="56" type="cond" truecount="1" falsecount="1"/>
1701
1704
  <line num="169" count="0" type="stmt"/>
1702
1705
  <line num="170" count="0" type="stmt"/>
1703
1706
  <line num="171" count="0" type="cond" truecount="0" falsecount="4"/>
1704
1707
  <line num="172" count="0" type="stmt"/>
1705
1708
  <line num="175" count="0" type="stmt"/>
1706
- <line num="179" count="60" type="stmt"/>
1707
- <line num="180" count="14" type="stmt"/>
1708
- <line num="181" count="7" type="stmt"/>
1709
- <line num="182" count="7" type="stmt"/>
1710
- <line num="186" count="60" type="stmt"/>
1709
+ <line num="179" count="102" type="stmt"/>
1710
+ <line num="180" count="23" type="stmt"/>
1711
+ <line num="181" count="10" type="stmt"/>
1712
+ <line num="182" count="10" type="stmt"/>
1713
+ <line num="186" count="102" type="stmt"/>
1711
1714
  </file>
1712
1715
  <file name="useMap.ts" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useMap.ts">
1713
1716
  <metrics statements="30" coveredstatements="24" conditionals="14" coveredconditionals="8" methods="6" coveredmethods="5"/>
1714
- <line num="17" count="169" type="stmt"/>
1715
- <line num="18" count="169" type="stmt"/>
1716
- <line num="20" count="169" type="stmt"/>
1717
- <line num="32" count="169" type="stmt"/>
1718
- <line num="33" count="169" type="stmt"/>
1719
- <line num="35" count="169" type="stmt"/>
1720
- <line num="37" count="169" type="stmt"/>
1721
- <line num="39" count="169" type="stmt"/>
1722
- <line num="40" count="30" type="cond" truecount="2" falsecount="0"/>
1723
- <line num="41" count="23" type="stmt"/>
1724
- <line num="42" count="23" type="stmt"/>
1725
- <line num="44" count="30" type="stmt"/>
1726
- <line num="47" count="169" type="stmt"/>
1727
- <line num="48" count="48" type="stmt"/>
1728
- <line num="49" count="23" type="stmt"/>
1729
- <line num="50" count="23" type="stmt"/>
1730
- <line num="54" count="169" type="stmt"/>
1731
- <line num="55" count="96" type="cond" truecount="4" falsecount="0"/>
1732
- <line num="59" count="48" type="cond" truecount="1" falsecount="1"/>
1717
+ <line num="17" count="211" type="stmt"/>
1718
+ <line num="18" count="211" type="stmt"/>
1719
+ <line num="20" count="211" type="stmt"/>
1720
+ <line num="32" count="211" type="stmt"/>
1721
+ <line num="33" count="211" type="stmt"/>
1722
+ <line num="35" count="211" type="stmt"/>
1723
+ <line num="37" count="211" type="stmt"/>
1724
+ <line num="39" count="211" type="stmt"/>
1725
+ <line num="40" count="39" type="cond" truecount="2" falsecount="0"/>
1726
+ <line num="41" count="29" type="stmt"/>
1727
+ <line num="42" count="29" type="stmt"/>
1728
+ <line num="44" count="39" type="stmt"/>
1729
+ <line num="47" count="211" type="stmt"/>
1730
+ <line num="48" count="57" type="stmt"/>
1731
+ <line num="49" count="26" type="stmt"/>
1732
+ <line num="50" count="26" type="stmt"/>
1733
+ <line num="54" count="211" type="stmt"/>
1734
+ <line num="55" count="114" type="cond" truecount="4" falsecount="0"/>
1735
+ <line num="59" count="57" type="cond" truecount="1" falsecount="1"/>
1733
1736
  <line num="60" count="0" type="stmt"/>
1734
1737
  <line num="62" count="0" type="stmt"/>
1735
1738
  <line num="63" count="0" type="cond" truecount="0" falsecount="2"/>
1736
1739
  <line num="64" count="0" type="stmt"/>
1737
1740
  <line num="67" count="0" type="cond" truecount="0" falsecount="2"/>
1738
1741
  <line num="68" count="0" type="stmt"/>
1739
- <line num="73" count="48" type="stmt"/>
1740
- <line num="74" count="48" type="stmt"/>
1741
- <line num="75" count="48" type="stmt"/>
1742
- <line num="76" count="48" type="stmt"/>
1743
- <line num="79" count="169" type="stmt"/>
1742
+ <line num="73" count="57" type="stmt"/>
1743
+ <line num="74" count="57" type="stmt"/>
1744
+ <line num="75" count="57" type="stmt"/>
1745
+ <line num="76" count="57" type="stmt"/>
1746
+ <line num="79" count="211" type="stmt"/>
1744
1747
  </file>
1745
1748
  <file name="useMapState.ts" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useMapState.ts">
1746
1749
  <metrics statements="48" coveredstatements="27" conditionals="26" coveredconditionals="8" methods="7" coveredmethods="4"/>
1747
- <line num="41" count="169" type="stmt"/>
1748
- <line num="43" count="169" type="stmt"/>
1749
- <line num="44" count="169" type="stmt"/>
1750
- <line num="46" count="169" type="stmt"/>
1751
- <line num="47" count="169" type="stmt"/>
1752
- <line num="49" count="169" type="stmt"/>
1753
- <line num="50" count="169" type="stmt"/>
1754
- <line num="52" count="169" type="stmt"/>
1755
- <line num="60" count="169" type="stmt"/>
1750
+ <line num="41" count="211" type="stmt"/>
1751
+ <line num="43" count="211" type="stmt"/>
1752
+ <line num="44" count="211" type="stmt"/>
1753
+ <line num="46" count="211" type="stmt"/>
1754
+ <line num="47" count="211" type="stmt"/>
1755
+ <line num="49" count="211" type="stmt"/>
1756
+ <line num="50" count="211" type="stmt"/>
1757
+ <line num="52" count="211" type="stmt"/>
1758
+ <line num="60" count="211" type="stmt"/>
1756
1759
  <line num="62" count="0" type="cond" truecount="0" falsecount="4"/>
1757
1760
  <line num="63" count="0" type="stmt"/>
1758
1761
  <line num="66" count="0" type="cond" truecount="0" falsecount="2"/>
@@ -1760,38 +1763,38 @@
1760
1763
  <line num="68" count="0" type="stmt"/>
1761
1764
  <line num="70" count="0" type="stmt"/>
1762
1765
  <line num="74" count="0" type="stmt"/>
1763
- <line num="79" count="169" type="stmt"/>
1766
+ <line num="79" count="211" type="stmt"/>
1764
1767
  <line num="80" count="0" type="cond" truecount="0" falsecount="2"/>
1765
1768
  <line num="82" count="0" type="stmt"/>
1766
1769
  <line num="83" count="0" type="stmt"/>
1767
1770
  <line num="84" count="0" type="cond" truecount="0" falsecount="2"/>
1768
1771
  <line num="85" count="0" type="stmt"/>
1769
1772
  <line num="86" count="0" type="stmt"/>
1770
- <line num="90" count="169" type="stmt"/>
1771
- <line num="91" count="48" type="stmt"/>
1772
- <line num="93" count="48" type="stmt"/>
1773
- <line num="95" count="23" type="cond" truecount="1" falsecount="1"/>
1774
- <line num="96" count="23" type="stmt"/>
1775
- <line num="97" count="23" type="stmt"/>
1776
- <line num="99" count="23" type="stmt"/>
1777
- <line num="103" count="169" type="stmt"/>
1778
- <line num="104" count="169" type="cond" truecount="4" falsecount="0"/>
1779
- <line num="107" count="48" type="stmt"/>
1780
- <line num="108" count="48" type="stmt"/>
1781
- <line num="110" count="48" type="cond" truecount="1" falsecount="1"/>
1773
+ <line num="90" count="211" type="stmt"/>
1774
+ <line num="91" count="57" type="stmt"/>
1775
+ <line num="93" count="57" type="stmt"/>
1776
+ <line num="95" count="26" type="cond" truecount="1" falsecount="1"/>
1777
+ <line num="96" count="26" type="stmt"/>
1778
+ <line num="97" count="26" type="stmt"/>
1779
+ <line num="99" count="26" type="stmt"/>
1780
+ <line num="103" count="211" type="stmt"/>
1781
+ <line num="104" count="211" type="cond" truecount="4" falsecount="0"/>
1782
+ <line num="107" count="57" type="stmt"/>
1783
+ <line num="108" count="57" type="stmt"/>
1784
+ <line num="110" count="57" type="cond" truecount="1" falsecount="1"/>
1782
1785
  <line num="111" count="0" type="stmt"/>
1783
1786
  <line num="112" count="0" type="stmt"/>
1784
- <line num="115" count="48" type="cond" truecount="1" falsecount="1"/>
1787
+ <line num="115" count="57" type="cond" truecount="1" falsecount="1"/>
1785
1788
  <line num="116" count="0" type="stmt"/>
1786
1789
  <line num="119" count="0" type="stmt"/>
1787
1790
  <line num="122" count="0" type="cond" truecount="0" falsecount="2"/>
1788
1791
  <line num="123" count="0" type="stmt"/>
1789
- <line num="131" count="48" type="cond" truecount="1" falsecount="1"/>
1792
+ <line num="131" count="57" type="cond" truecount="1" falsecount="1"/>
1790
1793
  <line num="132" count="0" type="stmt"/>
1791
1794
  <line num="134" count="0" type="stmt"/>
1792
- <line num="146" count="169" type="stmt"/>
1793
- <line num="152" count="14" type="stmt"/>
1794
- <line num="164" count="14" type="stmt"/>
1795
+ <line num="146" count="211" type="stmt"/>
1796
+ <line num="152" count="15" type="stmt"/>
1797
+ <line num="164" count="15" type="stmt"/>
1795
1798
  </file>
1796
1799
  <file name="useWms.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useWms.js">
1797
1800
  <metrics statements="35" coveredstatements="1" conditionals="8" coveredconditionals="0" methods="7" coveredmethods="0"/>