@mapcomponents/react-maplibre 0.1.45 → 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 (349) hide show
  1. package/.github/workflows/node_version_test.yml +2 -1
  2. package/CHANGELOG.md +23 -0
  3. package/README.md +61 -150
  4. package/coverage/clover.xml +350 -269
  5. package/coverage/coverage-final.json +11 -9
  6. package/coverage/lcov-report/index.html +95 -80
  7. package/coverage/lcov-report/src/components/MapLibreMap/MapLibreMap.tsx.html +61 -31
  8. package/coverage/lcov-report/src/components/MapLibreMap/index.html +17 -17
  9. package/coverage/lcov-report/src/components/MlCreatePdfButton/MlCreatePdfButton.tsx.html +1 -1
  10. package/coverage/lcov-report/src/components/MlCreatePdfButton/index.html +1 -1
  11. package/coverage/lcov-report/src/components/MlFeatureEditor/MlFeatureEditor.tsx.html +72 -66
  12. package/coverage/lcov-report/src/components/MlFeatureEditor/index.html +18 -18
  13. package/coverage/lcov-report/src/components/MlFillExtrusionLayer/MlFillExtrusionLayer.tsx.html +1 -1
  14. package/coverage/lcov-report/src/components/MlFillExtrusionLayer/index.html +1 -1
  15. package/coverage/lcov-report/src/components/MlFollowGps/MlFollowGps.tsx.html +1 -1
  16. package/coverage/lcov-report/src/components/MlFollowGps/index.html +1 -1
  17. package/coverage/lcov-report/src/components/MlGPXViewer/MlGPXViewer.tsx.html +1 -1
  18. package/coverage/lcov-report/src/components/MlGPXViewer/gpxConverter.js.html +1 -1
  19. package/coverage/lcov-report/src/components/MlGPXViewer/index.html +1 -1
  20. package/coverage/lcov-report/src/components/MlGeoJsonLayer/MlGeoJsonLayer.tsx.html +1 -1
  21. package/coverage/lcov-report/src/components/MlGeoJsonLayer/index.html +1 -1
  22. package/coverage/lcov-report/src/components/MlImageMarkerLayer/MlImageMarkerLayer.tsx.html +188 -53
  23. package/coverage/lcov-report/src/components/MlImageMarkerLayer/index.html +21 -21
  24. package/coverage/lcov-report/src/components/MlLayer/MlLayer.tsx.html +1 -1
  25. package/coverage/lcov-report/src/components/MlLayer/index.html +1 -1
  26. package/coverage/lcov-report/src/components/MlLayerMagnify/MlLayerMagnify.tsx.html +1 -1
  27. package/coverage/lcov-report/src/components/MlLayerMagnify/index.html +1 -1
  28. package/coverage/lcov-report/src/components/MlLayerSwipe/MlLayerSwipe.tsx.html +1 -1
  29. package/coverage/lcov-report/src/components/MlLayerSwipe/index.html +1 -1
  30. package/coverage/lcov-report/src/components/MlLayerSwitcher/MlLayerSwitcher.js.html +2 -2
  31. package/coverage/lcov-report/src/components/MlLayerSwitcher/components/LayerBox.js.html +1 -1
  32. package/coverage/lcov-report/src/components/MlLayerSwitcher/components/index.html +1 -1
  33. package/coverage/lcov-report/src/components/MlLayerSwitcher/index.html +1 -1
  34. package/coverage/lcov-report/src/components/MlMarker/MlMarker.tsx.html +1 -1
  35. package/coverage/lcov-report/src/components/MlMarker/index.html +1 -1
  36. package/coverage/lcov-report/src/components/MlMeasureTool/MlMeasureTool.tsx.html +265 -0
  37. package/coverage/lcov-report/src/components/MlMeasureTool/index.html +116 -0
  38. package/coverage/lcov-report/src/components/MlNavigationCompass/MlNavigationCompass.tsx.html +1 -1
  39. package/coverage/lcov-report/src/components/MlNavigationCompass/index.html +1 -1
  40. package/coverage/lcov-report/src/components/MlNavigationTools/MlNavigationTools.tsx.html +1 -1
  41. package/coverage/lcov-report/src/components/MlNavigationTools/index.html +1 -1
  42. package/coverage/lcov-report/src/components/MlOsmLayer/MlOsmLayer.js.html +1 -1
  43. package/coverage/lcov-report/src/components/MlOsmLayer/MlOsmLayer.stories_.js.html +232 -0
  44. package/coverage/lcov-report/src/components/MlOsmLayer/index.html +25 -10
  45. package/coverage/lcov-report/src/components/MlScaleReference/MlScaleReference.js.html +1 -1
  46. package/coverage/lcov-report/src/components/MlScaleReference/index.html +1 -1
  47. package/coverage/lcov-report/src/components/MlShareMapState/MlShareMapState.js.html +1 -1
  48. package/coverage/lcov-report/src/components/MlShareMapState/index.html +1 -1
  49. package/coverage/lcov-report/src/components/MlSpatialElevationProfile/MlSpatialElevationProfile.js.html +1 -1
  50. package/coverage/lcov-report/src/components/MlSpatialElevationProfile/index.html +1 -1
  51. package/coverage/lcov-report/src/components/MlThreeJsLayer/MlThreeJsLayer.js.html +1 -1
  52. package/coverage/lcov-report/src/components/MlThreeJsLayer/index.html +1 -1
  53. package/coverage/lcov-report/src/components/MlTransitionGeoJsonLayer/MlTransitionGeoJsonLayer.tsx.html +1 -1
  54. package/coverage/lcov-report/src/components/MlTransitionGeoJsonLayer/index.html +1 -1
  55. package/coverage/lcov-report/src/components/MlUseMapDebugger/MlUseMapDebugger.js.html +1 -1
  56. package/coverage/lcov-report/src/components/MlUseMapDebugger/index.html +1 -1
  57. package/coverage/lcov-report/src/components/MlVectorTileLayer/MlVectorTileLayer.tsx.html +74 -20
  58. package/coverage/lcov-report/src/components/MlVectorTileLayer/index.html +19 -19
  59. package/coverage/lcov-report/src/components/MlWmsFeatureInfoPopup/MlWmsFeatureInfoPopup.js.html +1 -1
  60. package/coverage/lcov-report/src/components/MlWmsFeatureInfoPopup/index.html +1 -1
  61. package/coverage/lcov-report/src/components/MlWmsLayer/MlWmsLayer.tsx.html +80 -20
  62. package/coverage/lcov-report/src/components/MlWmsLayer/index.html +21 -21
  63. package/coverage/lcov-report/src/components/MlWmsLoader/MlWmsLoader.tsx.html +2 -2
  64. package/coverage/lcov-report/src/components/MlWmsLoader/index.html +1 -1
  65. package/coverage/lcov-report/src/contexts/MapContext.tsx.html +23 -23
  66. package/coverage/lcov-report/src/contexts/SimpleDataContext.js.html +1 -1
  67. package/coverage/lcov-report/src/contexts/SimpleDataProvider.js.html +1 -1
  68. package/coverage/lcov-report/src/contexts/index.html +1 -1
  69. package/coverage/lcov-report/src/hooks/index.html +19 -19
  70. package/coverage/lcov-report/src/hooks/useLayer.ts.html +95 -71
  71. package/coverage/lcov-report/src/hooks/useMap.ts.html +25 -25
  72. package/coverage/lcov-report/src/hooks/useMapState.ts.html +28 -28
  73. package/coverage/lcov-report/src/hooks/useWms.js.html +2 -2
  74. package/coverage/lcov-report/src/index.html +1 -1
  75. package/coverage/lcov-report/src/index.ts.html +12 -6
  76. package/coverage/lcov.info +688 -497
  77. package/dist/components/MapLibreMap/MapLibreMap.d.ts +31 -0
  78. package/dist/components/MapLibreMap/MapLibreMap.stories.d.ts +15 -0
  79. package/dist/components/MapLibreMap/MapLibreMap.test.d.ts +1 -0
  80. package/dist/components/MapLibreMap/lib/MapLibreGlWrapper.d.ts +75 -0
  81. package/dist/components/MapLibreMap/lib/MapLibreGlWrapper.test.d.ts +1 -0
  82. package/dist/components/MlBasicComponent.d.ts +5 -0
  83. package/dist/components/MlComponentTemplate/MlComponentTemplate.d.ts +22 -0
  84. package/dist/components/MlComponentTemplate/MlComponentTemplate.stories.d.ts +10 -0
  85. package/dist/components/MlCreatePdfButton/MlCreatePdfButton.d.ts +21 -0
  86. package/dist/components/MlCreatePdfButton/MlCreatePdfButton.stories.d.ts +10 -0
  87. package/dist/components/MlCreatePdfButton/lib/createPdf.d.ts +2 -0
  88. package/dist/components/MlCreatePdfButton/lib/nominatimMap.d.ts +2 -0
  89. package/dist/components/MlFeatureEditor/MlFeatureEditor.d.ts +35 -0
  90. package/dist/components/MlFeatureEditor/MlFeatureEditor.stories.d.ts +15 -0
  91. package/dist/components/MlFeatureEditor/MlFeatureEditor.test.d.ts +1 -0
  92. package/dist/components/MlFeatureEditor/custom-direct-select-mode.d.ts +37 -0
  93. package/dist/components/MlFeatureEditor/custom-polygon-mode.d.ts +16 -0
  94. package/dist/components/MlFeatureEditor/custom-select-mode.d.ts +37 -0
  95. package/dist/components/MlFeatureEditor/lib/common_selectors.d.ts +11 -0
  96. package/dist/components/MlFeatureEditor/lib/constants.d.ts +85 -0
  97. package/dist/components/MlFeatureEditor/lib/constrain_feature_movement.d.ts +2 -0
  98. package/dist/components/MlFeatureEditor/lib/create_midpoint.d.ts +15 -0
  99. package/dist/components/MlFeatureEditor/lib/create_supplementary_points.d.ts +2 -0
  100. package/dist/components/MlFeatureEditor/lib/create_vertex.d.ts +13 -0
  101. package/dist/components/MlFeatureEditor/lib/double_click_zoom.d.ts +7 -0
  102. package/dist/components/MlFeatureEditor/lib/euclidean_distance.d.ts +5 -0
  103. package/dist/components/MlFeatureEditor/lib/features_at.d.ts +7 -0
  104. package/dist/components/MlFeatureEditor/lib/get_features_and_set_cursor.d.ts +1 -0
  105. package/dist/components/MlFeatureEditor/lib/is_click.d.ts +1 -0
  106. package/dist/components/MlFeatureEditor/lib/is_event_at_coordinates.d.ts +6 -0
  107. package/dist/components/MlFeatureEditor/lib/is_tap.d.ts +3 -0
  108. package/dist/components/MlFeatureEditor/lib/map_event_to_bounding_box.d.ts +12 -0
  109. package/dist/components/MlFeatureEditor/lib/mode_handler.d.ts +24 -0
  110. package/dist/components/MlFeatureEditor/lib/mouse_event_point.d.ts +11 -0
  111. package/dist/components/MlFeatureEditor/lib/move_features.d.ts +2 -0
  112. package/dist/components/MlFeatureEditor/lib/sort_features.d.ts +2 -0
  113. package/dist/components/MlFeatureEditor/lib/string_set.d.ts +21 -0
  114. package/dist/components/MlFeatureEditor/lib/string_sets_are_equal.d.ts +5 -0
  115. package/dist/components/MlFeatureEditor/lib/theme.d.ts +88 -0
  116. package/dist/components/MlFeatureEditor/lib/to_dense_array.d.ts +12 -0
  117. package/dist/components/MlFeatureEditor/lib/utils.d.ts +10 -0
  118. package/dist/components/MlFillExtrusionLayer/MlFillExtrusionLayer.d.ts +61 -0
  119. package/dist/components/MlFillExtrusionLayer/MlFillExtrusionLayer.stories.d.ts +10 -0
  120. package/dist/components/MlFillExtrusionLayer/MlFillExtrusionLayer.test.d.ts +1 -0
  121. package/dist/components/MlFollowGps/MlFollowGps.d.ts +80 -0
  122. package/dist/components/MlFollowGps/MlFollowGps.stories.d.ts +10 -0
  123. package/dist/components/MlFollowGps/MlFollowGps.test.d.ts +1 -0
  124. package/dist/components/MlGPXViewer/MlGPXViewer.d.ts +29 -0
  125. package/dist/components/MlGPXViewer/MlGPXViewer.stories.d.ts +16 -0
  126. package/dist/components/MlGPXViewer/MlGPXViewer.test.d.ts +1 -0
  127. package/dist/components/MlGPXViewer/gpxConverter.d.ts +11 -0
  128. package/dist/components/MlGPXViewer/util/GeoJsonContext.d.ts +10 -0
  129. package/dist/components/MlGPXViewer/util/GeoJsonProvider.d.ts +4 -0
  130. package/dist/components/MlGeoJsonLayer/MlGeoJsonLayer.d.ts +69 -0
  131. package/dist/components/MlGeoJsonLayer/MlGeoJsonLayer.stories.d.ts +12 -0
  132. package/dist/components/MlGeoJsonLayer/MlGeoJsonLayer.test.d.ts +1 -0
  133. package/dist/components/MlGeoJsonLayer/util/getDefaultLayerTypeByGeometry.d.ts +2 -0
  134. package/dist/components/MlGeoJsonLayer/util/getDefaultPaintPropsByType.d.ts +2 -0
  135. package/dist/components/MlImageMarkerLayer/MlImageMarkerLayer.d.ts +29 -0
  136. package/dist/components/MlImageMarkerLayer/MlImageMarkerLayer.stories.d.ts +10 -0
  137. package/dist/components/MlImageMarkerLayer/MlImageMarkerLayer.test.d.ts +1 -0
  138. package/dist/components/MlLayer/MlLayer.d.ts +26 -0
  139. package/dist/components/MlLayer/MlLayer.stories.d.ts +10 -0
  140. package/dist/components/MlLayer/MlLayer.test.d.ts +1 -0
  141. package/dist/components/MlLayerMagnify/MlLayerMagnify.d.ts +27 -0
  142. package/dist/components/MlLayerMagnify/MlLayerMagnify.stories.d.ts +10 -0
  143. package/dist/components/MlLayerMagnify/MlLayerMagnify.test.d.ts +1 -0
  144. package/dist/components/MlLayerSwipe/MlLayerSwipe.d.ts +16 -0
  145. package/dist/components/MlLayerSwipe/MlLayerSwipe.stories.d.ts +11 -0
  146. package/dist/components/MlLayerSwipe/MlLayerSwipe.test.d.ts +1 -0
  147. package/dist/components/MlLayerSwitcher/MlLayerSwitcher.d.ts +30 -0
  148. package/dist/components/MlLayerSwitcher/MlLayerSwitcher.stories.d.ts +13 -0
  149. package/dist/components/MlLayerSwitcher/components/LayerBox.d.ts +6 -0
  150. package/dist/components/MlMarker/MlMarker.d.ts +33 -0
  151. package/dist/components/MlMarker/MlMarker.stories.d.ts +9 -0
  152. package/dist/components/MlMeasureTool/MlMeasureTool.d.ts +20 -0
  153. package/dist/components/MlMeasureTool/MlMeasureTool.stories.d.ts +11 -0
  154. package/dist/components/MlNavigationCompass/MlNavigationCompass.d.ts +47 -0
  155. package/dist/components/MlNavigationCompass/MlNavigationCompass.stories.d.ts +10 -0
  156. package/dist/components/MlNavigationCompass/MlNavigationCompass.test.d.ts +1 -0
  157. package/dist/components/MlNavigationTools/MlNavigationTools.d.ts +9 -0
  158. package/dist/components/MlNavigationTools/MlNavigationTools.stories.d.ts +13 -0
  159. package/dist/components/MlOsmLayer/MlOsmLayer.d.ts +18 -0
  160. package/dist/components/MlOsmLayer/MlOsmLayer.stories_.d.ts +16 -0
  161. package/dist/components/MlOsmLayer/MlOsmLayer.test.d.ts +1 -0
  162. package/dist/components/MlScaleReference/MlScaleReference.d.ts +2 -0
  163. package/dist/components/MlScaleReference/MlScaleReference.stories.d.ts +14 -0
  164. package/dist/components/MlShareMapState/MlShareMapState.d.ts +22 -0
  165. package/dist/components/MlShareMapState/MlShareMapState.stories.d.ts +10 -0
  166. package/dist/components/MlSpatialElevationProfile/MlSpatialElevationProfile.d.ts +20 -0
  167. package/dist/components/MlSpatialElevationProfile/MlSpatialElevationProfile.stories.d.ts +16 -0
  168. package/dist/components/MlSpatialElevationProfile/MlSpatialElevationProfile.test.d.ts +1 -0
  169. package/dist/components/MlThreeJsLayer/MlThreeJsLayer.d.ts +15 -0
  170. package/dist/components/MlThreeJsLayer/MlThreeJsLayer.stories.d.ts +16 -0
  171. package/dist/components/MlThreeJsLayer/MlThreeJsLayer.test.d.ts +1 -0
  172. package/dist/components/MlThreeJsLayer/lib/GLTFLoader.d.ts +17 -0
  173. package/dist/components/MlTransitionGeoJsonLayer/MlTransitionGeoJsonLayer.d.ts +68 -0
  174. package/dist/components/MlTransitionGeoJsonLayer/MlTransitionGeoJsonLayer.stories.d.ts +13 -0
  175. package/dist/components/MlTransitionGeoJsonLayer/MlTransitionGeoJsonLayer.test.d.ts +1 -0
  176. package/dist/components/MlTransitionGeoJsonLayer/util/transitionFunctions.d.ts +2 -0
  177. package/dist/components/MlUseMapDebugger/MlUseMapDebugger.d.ts +22 -0
  178. package/dist/components/MlUseMapDebugger/MlUseMapDebugger.stories.d.ts +13 -0
  179. package/dist/components/MlVectorTileLayer/MlVectorTileLayer.d.ts +37 -0
  180. package/dist/components/MlVectorTileLayer/MlVectorTileLayer.stories.d.ts +13 -0
  181. package/dist/components/MlVectorTileLayer/MlVectorTileLayer.test.d.ts +1 -0
  182. package/dist/components/MlWmsFeatureInfoPopup/MlWmsFeatureInfoPopup.d.ts +22 -0
  183. package/dist/components/MlWmsFeatureInfoPopup/MlWmsFeatureInfoPopup.stories.d.ts +13 -0
  184. package/dist/components/MlWmsLayer/MlWmsLayer.d.ts +100 -0
  185. package/dist/components/MlWmsLayer/MlWmsLayer.stories.d.ts +13 -0
  186. package/dist/components/MlWmsLayer/MlWmsLayer.test.d.ts +1 -0
  187. package/dist/components/MlWmsLoader/MlWmsLoader.d.ts +48 -0
  188. package/dist/components/MlWmsLoader/MlWmsLoader.stories.d.ts +13 -0
  189. package/dist/contexts/MapComponentsProvider.test.d.ts +1 -0
  190. package/dist/contexts/MapContext.d.ts +13 -0
  191. package/dist/contexts/SimpleDataContext.d.ts +4 -0
  192. package/dist/contexts/SimpleDataProvider.d.ts +8 -0
  193. package/dist/contexts/SimpleDataProvider.test.d.ts +1 -0
  194. package/dist/custom.d.d.ts +22 -0
  195. package/dist/decorators/MapContextDecorator.d.ts +2 -0
  196. package/dist/decorators/MultiMapContextDecorator.d.ts +2 -0
  197. package/dist/hooks/useLayer.d.ts +24 -0
  198. package/dist/hooks/useLayer.test.d.ts +1 -0
  199. package/dist/hooks/useMap.d.ts +14 -0
  200. package/dist/hooks/useMapState.d.ts +62 -0
  201. package/dist/hooks/useMapState.stories.d.ts +14 -0
  202. package/dist/hooks/useWms.d.ts +18 -0
  203. package/dist/index.d.ts +32 -0
  204. package/dist/index.esm.js +193 -60
  205. package/dist/index.esm.js.map +1 -1
  206. package/dist/setupTests.d.ts +12 -0
  207. package/dist/stories/components/Readme.d.ts +2 -0
  208. package/dist/ui_components/ImageLoader.d.ts +2 -0
  209. package/dist/ui_components/Legend.d.ts +1 -0
  210. package/dist/ui_components/LoadingOverlay.d.ts +2 -0
  211. package/dist/ui_components/LoadingOverlayContext.d.ts +11 -0
  212. package/dist/ui_components/Sidebar.d.ts +1 -0
  213. package/dist/ui_components/Tooltip.d.ts +1 -0
  214. package/dist/ui_components/TopToolbar.d.ts +1 -0
  215. package/dist/util/index.d.ts +3 -0
  216. package/dist/util/layerRemovalTest.d.ts +2 -0
  217. package/dist/util/sourceRemovalTest.d.ts +2 -0
  218. package/package.json +2 -1
  219. package/public/catalogue/mc_meta.json +1 -0
  220. package/public/thumbnails/MlMeasureTool.png +0 -0
  221. package/src/components/MapLibreMap/MapLibreMap.stories.js +75 -20
  222. package/src/components/MapLibreMap/MapLibreMap.tsx +12 -2
  223. package/src/components/MapLibreMap/lib/MapLibreGlWrapper.ts +2 -2
  224. package/src/components/MlFeatureEditor/MlFeatureEditor.stories.js +1 -2
  225. package/src/components/MlFeatureEditor/MlFeatureEditor.test.js +3 -3
  226. package/src/components/MlFeatureEditor/MlFeatureEditor.tsx +40 -38
  227. package/src/components/MlFeatureEditor/lib/utils.js +1 -2
  228. package/src/components/MlImageMarkerLayer/MlImageMarkerLayer.test.js +1 -1
  229. package/src/components/MlImageMarkerLayer/MlImageMarkerLayer.tsx +82 -37
  230. package/src/components/MlLayerSwitcher/MlLayerSwitcher.js +1 -1
  231. package/src/components/MlMeasureTool/MlMeasureTool.doc.de.md +3 -0
  232. package/src/components/MlMeasureTool/MlMeasureTool.meta.json +15 -0
  233. package/src/components/MlMeasureTool/MlMeasureTool.stories.js +96 -0
  234. package/src/components/MlMeasureTool/MlMeasureTool.tsx +60 -0
  235. package/src/components/MlOsmLayer/{MlOsmLayer.stories.js → MlOsmLayer.stories_.js} +0 -0
  236. package/src/components/MlVectorTileLayer/MlVectorTileLayer.tsx +26 -8
  237. package/src/components/MlWmsLayer/MlWmsLayer.stories.js +2 -3
  238. package/src/components/MlWmsLayer/MlWmsLayer.tsx +27 -7
  239. package/src/components/MlWmsLoader/MlWmsLoader.stories.js +1 -1
  240. package/src/components/MlWmsLoader/MlWmsLoader.tsx +1 -1
  241. package/src/hooks/useLayer.test.js +205 -0
  242. package/src/hooks/useLayer.ts +15 -7
  243. package/src/hooks/useWms.js +1 -1
  244. package/src/index.ts +5 -4
  245. package/src/util/layerRemovalTest.js +5 -0
  246. package/tsconfig.json +35 -7
  247. package/docs-build/0.20735a16c2ad9677fe7d.manager.bundle.js +0 -1
  248. package/docs-build/0.b1b9b035.iframe.bundle.js +0 -2
  249. package/docs-build/0.b1b9b035.iframe.bundle.js.map +0 -1
  250. package/docs-build/1.c50fb367.iframe.bundle.js +0 -10
  251. package/docs-build/1.c50fb367.iframe.bundle.js.map +0 -1
  252. package/docs-build/17.2e544968.iframe.bundle.js +0 -2
  253. package/docs-build/17.2e544968.iframe.bundle.js.map +0 -1
  254. package/docs-build/18.42087006.iframe.bundle.js +0 -17
  255. package/docs-build/18.42087006.iframe.bundle.js.map +0 -1
  256. package/docs-build/19.7e782442.iframe.bundle.js +0 -14
  257. package/docs-build/19.7e782442.iframe.bundle.js.map +0 -1
  258. package/docs-build/2.e58dc625.iframe.bundle.js +0 -2
  259. package/docs-build/2.e58dc625.iframe.bundle.js.map +0 -1
  260. package/docs-build/20.f009289a.iframe.bundle.js +0 -2
  261. package/docs-build/20.f009289a.iframe.bundle.js.map +0 -1
  262. package/docs-build/21.1cdc9040.iframe.bundle.js +0 -4
  263. package/docs-build/21.1cdc9040.iframe.bundle.js.map +0 -1
  264. package/docs-build/22.c9e6b2d7.iframe.bundle.js +0 -22
  265. package/docs-build/22.c9e6b2d7.iframe.bundle.js.map +0 -1
  266. package/docs-build/3.a8172b89.iframe.bundle.js +0 -2
  267. package/docs-build/3.a8172b89.iframe.bundle.js.map +0 -1
  268. package/docs-build/4.8ac31bba1926f4f011b0.manager.bundle.js +0 -2
  269. package/docs-build/4.8ac31bba1926f4f011b0.manager.bundle.js.LICENSE.txt +0 -8
  270. package/docs-build/5.daf044a6c0f55d839078.manager.bundle.js +0 -1
  271. package/docs-build/6.99fba2cf6af0473f8209.manager.bundle.js +0 -2
  272. package/docs-build/6.99fba2cf6af0473f8209.manager.bundle.js.LICENSE.txt +0 -12
  273. package/docs-build/7.b6a48b90f61cb575c2e4.manager.bundle.js +0 -1
  274. package/docs-build/8.50518a5391398d9d5812.manager.bundle.js +0 -1
  275. package/docs-build/assets/3D/godzilla_simple.glb +0 -0
  276. package/docs-build/assets/dop.png +0 -0
  277. package/docs-build/assets/historic.png +0 -0
  278. package/docs-build/assets/marker.png +0 -0
  279. package/docs-build/assets/osm.png +0 -0
  280. package/docs-build/assets/sample.gpx +0 -716
  281. package/docs-build/catalogue/.gitkeep +0 -0
  282. package/docs-build/catalogue/mc_meta.json +0 -1
  283. package/docs-build/favicon.ico +0 -0
  284. package/docs-build/iframe.html +0 -348
  285. package/docs-build/index.html +0 -59
  286. package/docs-build/logo.png +0 -0
  287. package/docs-build/main.ef9704b1252e8efa56a0.manager.bundle.js +0 -1
  288. package/docs-build/main~24120820.edd86ba9.iframe.bundle.js +0 -2
  289. package/docs-build/main~24120820.edd86ba9.iframe.bundle.js.map +0 -1
  290. package/docs-build/manifest.json +0 -25
  291. package/docs-build/robots.txt +0 -3
  292. package/docs-build/runtime~main.6e6ed7dc9ea4785ef286.manager.bundle.js +0 -1
  293. package/docs-build/static/media/mapcomponents_logo.98b01a05.png +0 -0
  294. package/docs-build/static/media/wg-marker.bf3eeb2d.png +0 -0
  295. package/docs-build/thumbnails/MapLibreMap.png +0 -0
  296. package/docs-build/thumbnails/MlCameraFollowPath.png +0 -0
  297. package/docs-build/thumbnails/MlCreatePdfButton.png +0 -0
  298. package/docs-build/thumbnails/MlDeckGlLayer.png +0 -0
  299. package/docs-build/thumbnails/MlDeckGlTerrainLayer.png +0 -0
  300. package/docs-build/thumbnails/MlDemoDashboard.png +0 -0
  301. package/docs-build/thumbnails/MlFeatureEditor.png +0 -0
  302. package/docs-build/thumbnails/MlFillExtrusionLayer.png +0 -0
  303. package/docs-build/thumbnails/MlFollowGps.png +0 -0
  304. package/docs-build/thumbnails/MlGPXViewer.png +0 -0
  305. package/docs-build/thumbnails/MlGeoJsonLayer.png +0 -0
  306. package/docs-build/thumbnails/MlHillshadeLayer.png +0 -0
  307. package/docs-build/thumbnails/MlIconLayer.png +0 -0
  308. package/docs-build/thumbnails/MlLaermkarte.png +0 -0
  309. package/docs-build/thumbnails/MlLayerMagnify.png +0 -0
  310. package/docs-build/thumbnails/MlLayerSwipe.png +0 -0
  311. package/docs-build/thumbnails/MlMapDrawTools.png +0 -0
  312. package/docs-build/thumbnails/MlMobilerImker.png +0 -0
  313. package/docs-build/thumbnails/MlNavigationCompass.png +0 -0
  314. package/docs-build/thumbnails/MlNavigationTools.png +0 -0
  315. package/docs-build/thumbnails/MlOsmLayer.png +0 -0
  316. package/docs-build/thumbnails/MlScaleReference.png +0 -0
  317. package/docs-build/thumbnails/MlSpatialElevationProfile.png +0 -0
  318. package/docs-build/thumbnails/MlThreeJsLayer.png +0 -0
  319. package/docs-build/thumbnails/MlTransitionGeoJsonLayer.png +0 -0
  320. package/docs-build/thumbnails/MlVectorTileLayer.png +0 -0
  321. package/docs-build/thumbnails/MlWanderApp.png +0 -0
  322. package/docs-build/thumbnails/MlWmsLayer.png +0 -0
  323. package/docs-build/thumbnails/MlWmsLoader.png +0 -0
  324. package/docs-build/vendors~main.4b570b3072ba06ee44b5.manager.bundle.js +0 -2
  325. package/docs-build/vendors~main.4b570b3072ba06ee44b5.manager.bundle.js.LICENSE.txt +0 -104
  326. package/docs-build/vendors~main~0ad7406a.2054ae7c.iframe.bundle.js +0 -8
  327. package/docs-build/vendors~main~0ad7406a.2054ae7c.iframe.bundle.js.map +0 -1
  328. package/docs-build/vendors~main~0f485567.de36692f.iframe.bundle.js +0 -2
  329. package/docs-build/vendors~main~0f485567.de36692f.iframe.bundle.js.map +0 -1
  330. package/docs-build/vendors~main~41a6ab2c.a947ed53.iframe.bundle.js +0 -2
  331. package/docs-build/vendors~main~41a6ab2c.a947ed53.iframe.bundle.js.map +0 -1
  332. package/docs-build/vendors~main~52589227.1d1558cd.iframe.bundle.js +0 -8
  333. package/docs-build/vendors~main~52589227.1d1558cd.iframe.bundle.js.map +0 -1
  334. package/docs-build/vendors~main~57c1f6cb.6a433835.iframe.bundle.js +0 -2
  335. package/docs-build/vendors~main~57c1f6cb.6a433835.iframe.bundle.js.map +0 -1
  336. package/docs-build/vendors~main~73914085.a8e03e3b.iframe.bundle.js +0 -293
  337. package/docs-build/vendors~main~73914085.a8e03e3b.iframe.bundle.js.map +0 -1
  338. package/docs-build/vendors~main~9c5b28f6.7b8beed1.iframe.bundle.js +0 -7
  339. package/docs-build/vendors~main~9c5b28f6.7b8beed1.iframe.bundle.js.map +0 -1
  340. package/docs-build/vendors~main~b5906859.7f66dcaf.iframe.bundle.js +0 -21
  341. package/docs-build/vendors~main~b5906859.7f66dcaf.iframe.bundle.js.map +0 -1
  342. package/docs-build/vendors~main~b8f44717.7053e467.iframe.bundle.js +0 -89
  343. package/docs-build/vendors~main~b8f44717.7053e467.iframe.bundle.js.map +0 -1
  344. package/docs-build/vendors~main~b9cf3951.a4fd68f5.iframe.bundle.js +0 -63
  345. package/docs-build/vendors~main~b9cf3951.a4fd68f5.iframe.bundle.js.map +0 -1
  346. package/docs-build/vendors~main~d939e436.ba1cad1b.iframe.bundle.js +0 -2
  347. package/docs-build/vendors~main~d939e436.ba1cad1b.iframe.bundle.js.map +0 -1
  348. package/docs-build/vendors~main~f420d588.59c93444.iframe.bundle.js +0 -107
  349. package/docs-build/vendors~main~f420d588.59c93444.iframe.bundle.js.map +0 -1
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1652200654787" clover="3.2.0">
3
- <project timestamp="1652200654788" name="All files">
4
- <metrics statements="1554" coveredstatements="596" conditionals="934" coveredconditionals="284" methods="277" coveredmethods="101" elements="2765" coveredelements="981" complexity="0" loc="1554" ncloc="1554" packages="30" files="36" classes="36"/>
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">
@@ -9,33 +9,39 @@
9
9
  </file>
10
10
  </package>
11
11
  <package name="src.components.MapLibreMap">
12
- <metrics statements="24" coveredstatements="24" conditionals="6" coveredconditionals="4" methods="6" coveredmethods="6"/>
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
- <metrics statements="24" coveredstatements="24" conditionals="6" coveredconditionals="4" methods="6" coveredmethods="6"/>
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="70" count="247" type="stmt"/>
23
- <line num="71" count="73" type="stmt"/>
24
- <line num="73" count="73" type="stmt"/>
25
- <line num="74" count="2" type="stmt"/>
14
+ <metrics statements="30" coveredstatements="27" conditionals="11" coveredconditionals="8" methods="7" coveredmethods="7"/>
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
- <line num="80" count="247" type="stmt"/>
29
- <line num="81" count="73" type="cond" truecount="1" falsecount="1"/>
30
- <line num="83" count="73" type="cond" truecount="1" falsecount="1"/>
31
- <line num="84" count="73" type="stmt"/>
32
- <line num="85" count="73" type="stmt"/>
33
- <line num="92" count="73" type="stmt"/>
34
- <line num="93" count="73" type="cond" truecount="2" falsecount="0"/>
35
- <line num="94" count="6" type="stmt"/>
36
- <line num="96" count="67" type="stmt"/>
37
- <line num="104" count="247" type="stmt"/>
38
- <line num="107" count="18" type="stmt"/>
28
+ <line num="77" count="2" type="stmt"/>
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
+ <line num="95" count="6" type="stmt"/>
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
+ <line num="107" count="0" type="stmt"/>
41
+ <line num="108" count="0" type="stmt"/>
42
+ <line num="109" count="0" type="stmt"/>
43
+ <line num="114" count="271" type="stmt"/>
44
+ <line num="117" count="19" type="stmt"/>
39
45
  </file>
40
46
  </package>
41
47
  <package name="src.components.MlCreatePdfButton">
@@ -51,42 +57,45 @@
51
57
  </file>
52
58
  </package>
53
59
  <package name="src.components.MlFeatureEditor">
54
- <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"/>
55
61
  <file name="MlFeatureEditor.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlFeatureEditor/MlFeatureEditor.tsx">
56
- <metrics statements="33" coveredstatements="26" conditionals="25" coveredconditionals="17" methods="7" coveredmethods="5"/>
57
- <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"/>
58
65
  <line num="46" count="16" type="stmt"/>
59
- <line num="47" count="16" type="stmt"/>
60
66
  <line num="51" count="16" type="stmt"/>
61
- <line num="53" count="16" type="stmt"/>
62
- <line num="54" count="16" type="stmt"/>
63
- <line num="56" count="16" type="stmt"/>
64
- <line num="58" count="16" type="stmt"/>
65
- <line num="59" count="0" type="stmt"/>
66
- <line num="63" count="16" type="stmt"/>
67
- <line num="64" count="0" type="stmt"/>
68
- <line num="67" count="16" type="stmt"/>
69
- <line num="68" count="12" type="cond" truecount="2" falsecount="0"/>
70
- <line num="73" count="4" type="stmt"/>
71
- <line num="75" count="4" type="cond" truecount="1" falsecount="1"/>
72
- <line num="82" count="0" type="stmt"/>
73
- <line num="85" count="4" type="stmt"/>
74
- <line num="99" count="4" type="stmt"/>
75
- <line num="101" count="4" type="stmt"/>
76
- <line num="103" count="4" type="stmt"/>
77
- <line num="105" count="4" type="stmt"/>
78
- <line num="109" count="16" type="stmt"/>
79
- <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"/>
80
88
  <line num="114" count="4" type="stmt"/>
81
- <line num="118" count="16" type="stmt"/>
82
- <line num="119" count="4" type="cond" truecount="2" falsecount="2"/>
83
- <line num="121" count="0" type="stmt"/>
84
- <line num="122" count="0" type="cond" truecount="0" falsecount="2"/>
85
- <line num="123" count="0" type="stmt"/>
86
- <line num="128" count="16" type="stmt"/>
87
- <line num="129" count="4" type="cond" truecount="3" falsecount="1"/>
88
- <line num="131" count="0" type="stmt"/>
89
- <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"/>
90
99
  </file>
91
100
  </package>
92
101
  <package name="src.components.MlFillExtrusionLayer">
@@ -564,43 +573,68 @@
564
573
  </file>
565
574
  </package>
566
575
  <package name="src.components.MlImageMarkerLayer">
567
- <metrics statements="34" coveredstatements="24" conditionals="33" coveredconditionals="15" methods="6" coveredmethods="5"/>
576
+ <metrics statements="59" coveredstatements="31" conditionals="59" coveredconditionals="21" methods="10" coveredmethods="6"/>
568
577
  <file name="MlImageMarkerLayer.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlImageMarkerLayer/MlImageMarkerLayer.tsx">
569
- <metrics statements="34" coveredstatements="24" conditionals="33" coveredconditionals="15" methods="6" coveredmethods="5"/>
578
+ <metrics statements="59" coveredstatements="31" conditionals="59" coveredconditionals="21" methods="10" coveredmethods="6"/>
570
579
  <line num="34" count="10" type="stmt"/>
571
580
  <line num="35" count="12" type="stmt"/>
572
581
  <line num="40" count="12" type="stmt"/>
573
- <line num="41" count="12" type="cond" truecount="2" falsecount="0"/>
574
- <line num="42" count="12" type="stmt"/>
582
+ <line num="41" count="12" type="stmt"/>
583
+ <line num="42" count="12" type="cond" truecount="2" falsecount="0"/>
584
+ <line num="43" count="12" type="cond" truecount="2" falsecount="0"/>
575
585
  <line num="46" count="12" type="stmt"/>
576
586
  <line num="47" count="4" type="cond" truecount="1" falsecount="1"/>
577
587
  <line num="52" count="4" type="stmt"/>
578
- <line num="57" count="0" type="cond" truecount="0" falsecount="2"/>
588
+ <line num="56" count="0" type="cond" truecount="0" falsecount="2"/>
589
+ <line num="57" count="0" type="stmt"/>
579
590
  <line num="58" count="0" type="stmt"/>
580
- <line num="59" count="0" type="stmt"/>
581
- <line num="66" count="0" type="cond" truecount="0" falsecount="2"/>
582
- <line num="67" count="0" type="stmt"/>
583
- <line num="68" count="0" type="stmt"/>
584
- <line num="77" count="12" type="stmt"/>
585
- <line num="78" count="4" type="cond" truecount="1" falsecount="1"/>
586
- <line num="80" count="4" type="stmt"/>
587
- <line num="85" count="4" type="stmt"/>
588
- <line num="86" count="4" type="stmt"/>
589
- <line num="93" count="12" type="stmt"/>
590
- <line num="94" count="8" type="cond" truecount="5" falsecount="0"/>
591
- <line num="95" count="4" type="stmt"/>
592
- <line num="97" count="4" type="stmt"/>
593
- <line num="99" count="4" type="cond" truecount="1" falsecount="1"/>
594
- <line num="100" count="4" type="stmt"/>
595
- <line num="101" count="0" type="cond" truecount="0" falsecount="2"/>
596
- <line num="103" count="0" type="cond" truecount="0" falsecount="2"/>
597
- <line num="105" count="0" type="stmt"/>
598
- <line num="109" count="4" type="stmt"/>
599
- <line num="112" count="12" type="stmt"/>
600
- <line num="113" count="4" type="cond" truecount="1" falsecount="1"/>
601
- <line num="118" count="4" type="stmt"/>
591
+ <line num="61" count="0" type="cond" truecount="0" falsecount="2"/>
592
+ <line num="62" count="0" type="stmt"/>
593
+ <line num="63" count="0" type="stmt"/>
594
+ <line num="68" count="12" type="stmt"/>
595
+ <line num="69" count="0" type="cond" truecount="0" falsecount="2"/>
596
+ <line num="70" count="0" type="stmt"/>
597
+ <line num="72" count="0" type="stmt"/>
598
+ <line num="75" count="0" type="cond" truecount="0" falsecount="4"/>
599
+ <line num="76" count="0" type="stmt"/>
600
+ <line num="77" count="0" type="cond" truecount="0" falsecount="2"/>
601
+ <line num="79" count="0" type="cond" truecount="0" falsecount="4"/>
602
+ <line num="81" count="0" type="stmt"/>
603
+ <line num="83" count="0" type="cond" truecount="0" falsecount="2"/>
604
+ <line num="84" count="0" type="stmt"/>
605
+ <line num="88" count="0" type="cond" truecount="0" falsecount="2"/>
606
+ <line num="89" count="0" type="stmt"/>
607
+ <line num="94" count="12" type="stmt"/>
608
+ <line num="99" count="4" type="cond" truecount="4" falsecount="1"/>
609
+ <line num="101" count="4" type="stmt"/>
610
+ <line num="106" count="4" type="stmt"/>
611
+ <line num="107" count="4" type="stmt"/>
612
+ <line num="110" count="4" type="stmt"/>
613
+ <line num="113" count="0" type="cond" truecount="0" falsecount="2"/>
614
+ <line num="118" count="0" type="stmt"/>
615
+ <line num="119" count="0" type="stmt"/>
616
+ <line num="120" count="0" type="stmt"/>
602
617
  <line num="121" count="0" type="stmt"/>
603
- <line num="126" count="12" type="stmt"/>
618
+ <line num="127" count="4" type="cond" truecount="1" falsecount="1"/>
619
+ <line num="128" count="0" type="stmt"/>
620
+ <line num="132" count="12" type="stmt"/>
621
+ <line num="133" count="12" type="cond" truecount="5" falsecount="0"/>
622
+ <line num="134" count="8" type="stmt"/>
623
+ <line num="136" count="4" type="stmt"/>
624
+ <line num="138" count="4" type="cond" truecount="1" falsecount="1"/>
625
+ <line num="139" count="0" type="stmt"/>
626
+ <line num="142" count="4" type="cond" truecount="1" falsecount="1"/>
627
+ <line num="143" count="0" type="stmt"/>
628
+ <line num="144" count="0" type="stmt"/>
629
+ <line num="147" count="4" type="stmt"/>
630
+ <line num="151" count="12" type="stmt"/>
631
+ <line num="152" count="12" type="cond" truecount="1" falsecount="1"/>
632
+ <line num="154" count="12" type="stmt"/>
633
+ <line num="157" count="12" type="stmt"/>
634
+ <line num="158" count="4" type="cond" truecount="1" falsecount="1"/>
635
+ <line num="163" count="4" type="stmt"/>
636
+ <line num="166" count="0" type="stmt"/>
637
+ <line num="171" count="12" type="stmt"/>
604
638
  </file>
605
639
  </package>
606
640
  <package name="src.components.MlLayer">
@@ -842,6 +876,23 @@
842
876
  <line num="136" count="10" type="stmt"/>
843
877
  </file>
844
878
  </package>
879
+ <package name="src.components.MlMeasureTool">
880
+ <metrics statements="11" coveredstatements="2" conditionals="12" coveredconditionals="0" methods="5" coveredmethods="0"/>
881
+ <file name="MlMeasureTool.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlMeasureTool/MlMeasureTool.tsx">
882
+ <metrics statements="11" coveredstatements="2" conditionals="12" coveredconditionals="0" methods="5" coveredmethods="0"/>
883
+ <line num="21" count="0" type="cond" truecount="0" falsecount="2"/>
884
+ <line num="24" count="0" type="cond" truecount="0" falsecount="2"/>
885
+ <line num="27" count="10" type="stmt"/>
886
+ <line num="28" count="0" type="stmt"/>
887
+ <line num="29" count="0" type="stmt"/>
888
+ <line num="31" count="0" type="stmt"/>
889
+ <line num="32" count="0" type="cond" truecount="0" falsecount="2"/>
890
+ <line num="33" count="0" type="stmt"/>
891
+ <line num="41" count="0" type="stmt"/>
892
+ <line num="45" count="0" type="stmt"/>
893
+ <line num="55" count="10" type="stmt"/>
894
+ </file>
895
+ </package>
845
896
  <package name="src.components.MlNavigationCompass">
846
897
  <metrics statements="34" coveredstatements="16" conditionals="18" coveredconditionals="4" methods="7" coveredmethods="4"/>
847
898
  <file name="MlNavigationCompass.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlNavigationCompass/MlNavigationCompass.tsx">
@@ -916,7 +967,7 @@
916
967
  </file>
917
968
  </package>
918
969
  <package name="src.components.MlOsmLayer">
919
- <metrics statements="9" coveredstatements="9" conditionals="4" coveredconditionals="4" methods="2" coveredmethods="2"/>
970
+ <metrics statements="16" coveredstatements="9" conditionals="8" coveredconditionals="4" methods="4" coveredmethods="2"/>
920
971
  <file name="MlOsmLayer.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlOsmLayer/MlOsmLayer.js">
921
972
  <metrics statements="9" coveredstatements="9" conditionals="4" coveredconditionals="4" methods="2" coveredmethods="2"/>
922
973
  <line num="12" count="10" type="stmt"/>
@@ -929,6 +980,16 @@
929
980
  <line num="43" count="12" type="stmt"/>
930
981
  <line num="46" count="10" type="stmt"/>
931
982
  </file>
983
+ <file name="MlOsmLayer.stories_.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlOsmLayer/MlOsmLayer.stories_.js">
984
+ <metrics statements="7" coveredstatements="0" conditionals="4" coveredconditionals="0" methods="2" coveredmethods="0"/>
985
+ <line num="9" count="0" type="stmt"/>
986
+ <line num="23" count="0" type="stmt"/>
987
+ <line num="24" count="0" type="stmt"/>
988
+ <line num="26" count="0" type="stmt"/>
989
+ <line num="31" count="0" type="stmt"/>
990
+ <line num="41" count="0" type="stmt"/>
991
+ <line num="42" count="0" type="stmt"/>
992
+ </file>
932
993
  </package>
933
994
  <package name="src.components.MlScaleReference">
934
995
  <metrics statements="48" coveredstatements="0" conditionals="26" coveredconditionals="0" methods="7" coveredmethods="0"/>
@@ -1288,42 +1349,51 @@
1288
1349
  </file>
1289
1350
  </package>
1290
1351
  <package name="src.components.MlVectorTileLayer">
1291
- <metrics statements="33" coveredstatements="29" conditionals="16" coveredconditionals="13" methods="3" coveredmethods="3"/>
1352
+ <metrics statements="42" coveredstatements="34" conditionals="22" coveredconditionals="13" methods="5" coveredmethods="4"/>
1292
1353
  <file name="MlVectorTileLayer.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlVectorTileLayer/MlVectorTileLayer.tsx">
1293
- <metrics statements="33" coveredstatements="29" conditionals="16" coveredconditionals="13" methods="3" coveredmethods="3"/>
1354
+ <metrics statements="42" coveredstatements="34" conditionals="22" coveredconditionals="13" methods="5" coveredmethods="4"/>
1294
1355
  <line num="20" count="10" type="stmt"/>
1295
1356
  <line num="21" count="12" type="stmt"/>
1296
1357
  <line num="26" count="12" type="stmt"/>
1297
- <line num="27" count="12" type="stmt"/>
1358
+ <line num="27" count="12" type="cond" truecount="2" falsecount="0"/>
1359
+ <line num="28" count="12" type="stmt"/>
1360
+ <line num="29" count="12" type="stmt"/>
1298
1361
  <line num="30" count="12" type="stmt"/>
1299
- <line num="31" count="12" type="stmt"/>
1300
1362
  <line num="32" count="12" type="stmt"/>
1301
- <line num="34" count="12" type="stmt"/>
1302
- <line num="35" count="8" type="cond" truecount="4" falsecount="0"/>
1303
- <line num="37" count="4" type="stmt"/>
1304
- <line num="40" count="4" type="stmt"/>
1305
- <line num="52" count="4" type="stmt"/>
1306
- <line num="53" count="4" type="stmt"/>
1363
+ <line num="33" count="8" type="cond" truecount="2" falsecount="0"/>
1364
+ <line num="35" count="4" type="stmt"/>
1365
+ <line num="37" count="4" type="cond" truecount="1" falsecount="1"/>
1366
+ <line num="38" count="0" type="stmt"/>
1367
+ <line num="42" count="4" type="stmt"/>
1307
1368
  <line num="54" count="4" type="stmt"/>
1369
+ <line num="55" count="4" type="stmt"/>
1308
1370
  <line num="56" count="4" type="stmt"/>
1309
- <line num="74" count="4" type="stmt"/>
1310
- <line num="75" count="4" type="stmt"/>
1311
- <line num="81" count="12" type="stmt"/>
1312
- <line num="82" count="8" type="cond" truecount="4" falsecount="0"/>
1313
- <line num="84" count="4" type="stmt"/>
1314
- <line num="85" count="4" type="cond" truecount="1" falsecount="1"/>
1315
- <line num="87" count="4" type="stmt"/>
1316
- <line num="89" count="4" type="cond" truecount="1" falsecount="1"/>
1317
- <line num="90" count="0" type="stmt"/>
1318
- <line num="91" count="0" type="stmt"/>
1319
- <line num="98" count="4" type="stmt"/>
1320
- <line num="101" count="4" type="stmt"/>
1371
+ <line num="58" count="4" type="stmt"/>
1372
+ <line num="76" count="4" type="stmt"/>
1373
+ <line num="77" count="4" type="stmt"/>
1374
+ <line num="80" count="4" type="stmt"/>
1375
+ <line num="83" count="0" type="cond" truecount="0" falsecount="4"/>
1376
+ <line num="84" count="0" type="stmt"/>
1377
+ <line num="85" count="0" type="stmt"/>
1378
+ <line num="93" count="12" type="stmt"/>
1379
+ <line num="94" count="8" type="cond" truecount="1" falsecount="1"/>
1380
+ <line num="96" count="8" type="stmt"/>
1381
+ <line num="99" count="12" type="stmt"/>
1382
+ <line num="100" count="8" type="cond" truecount="4" falsecount="0"/>
1383
+ <line num="102" count="4" type="stmt"/>
1321
1384
  <line num="103" count="4" type="cond" truecount="1" falsecount="1"/>
1322
- <line num="104" count="0" type="stmt"/>
1323
- <line num="105" count="0" type="stmt"/>
1324
- <line num="112" count="4" type="stmt"/>
1325
- <line num="117" count="12" type="stmt"/>
1326
- <line num="120" count="10" type="stmt"/>
1385
+ <line num="105" count="4" type="stmt"/>
1386
+ <line num="107" count="4" type="cond" truecount="1" falsecount="1"/>
1387
+ <line num="108" count="0" type="stmt"/>
1388
+ <line num="109" count="0" type="stmt"/>
1389
+ <line num="116" count="4" type="stmt"/>
1390
+ <line num="119" count="4" type="stmt"/>
1391
+ <line num="121" count="4" type="cond" truecount="1" falsecount="1"/>
1392
+ <line num="122" count="0" type="stmt"/>
1393
+ <line num="123" count="0" type="stmt"/>
1394
+ <line num="130" count="4" type="stmt"/>
1395
+ <line num="135" count="12" type="stmt"/>
1396
+ <line num="138" count="10" type="stmt"/>
1327
1397
  </file>
1328
1398
  </package>
1329
1399
  <package name="src.components.MlWmsFeatureInfoPopup">
@@ -1353,37 +1423,46 @@
1353
1423
  </file>
1354
1424
  </package>
1355
1425
  <package name="src.components.MlWmsLayer">
1356
- <metrics statements="28" coveredstatements="24" conditionals="16" coveredconditionals="13" methods="3" coveredmethods="3"/>
1426
+ <metrics statements="37" coveredstatements="29" conditionals="22" coveredconditionals="13" methods="5" coveredmethods="4"/>
1357
1427
  <file name="MlWmsLayer.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlWmsLayer/MlWmsLayer.tsx">
1358
- <metrics statements="28" coveredstatements="24" conditionals="16" coveredconditionals="13" methods="3" coveredmethods="3"/>
1428
+ <metrics statements="37" coveredstatements="29" conditionals="22" coveredconditionals="13" methods="5" coveredmethods="4"/>
1359
1429
  <line num="6" count="10" type="stmt"/>
1360
1430
  <line num="57" count="10" type="stmt"/>
1361
1431
  <line num="58" count="12" type="stmt"/>
1362
1432
  <line num="63" count="12" type="stmt"/>
1363
1433
  <line num="64" count="12" type="cond" truecount="2" falsecount="0"/>
1364
1434
  <line num="66" count="12" type="stmt"/>
1365
- <line num="67" count="12" type="cond" truecount="4" falsecount="0"/>
1435
+ <line num="67" count="8" type="cond" truecount="2" falsecount="0"/>
1366
1436
  <line num="69" count="4" type="stmt"/>
1367
- <line num="72" count="4" type="stmt"/>
1368
- <line num="73" count="4" type="cond" truecount="1" falsecount="1"/>
1369
- <line num="74" count="0" type="stmt"/>
1370
- <line num="75" count="0" type="stmt"/>
1371
- <line num="77" count="4" type="stmt"/>
1372
- <line num="79" count="4" type="stmt"/>
1373
- <line num="84" count="4" type="stmt"/>
1374
- <line num="86" count="4" type="stmt"/>
1375
- <line num="89" count="4" type="stmt"/>
1376
- <line num="101" count="4" type="stmt"/>
1377
- <line num="112" count="4" type="cond" truecount="1" falsecount="1"/>
1378
- <line num="113" count="0" type="stmt"/>
1379
- <line num="117" count="12" type="stmt"/>
1380
- <line num="118" count="8" type="cond" truecount="4" falsecount="0"/>
1381
- <line num="121" count="4" type="cond" truecount="1" falsecount="1"/>
1382
- <line num="122" count="4" type="stmt"/>
1383
- <line num="124" count="0" type="stmt"/>
1384
- <line num="128" count="12" type="stmt"/>
1385
- <line num="131" count="10" type="stmt"/>
1386
- <line num="135" count="10" type="stmt"/>
1437
+ <line num="71" count="4" type="cond" truecount="1" falsecount="1"/>
1438
+ <line num="72" count="0" type="stmt"/>
1439
+ <line num="76" count="4" type="stmt"/>
1440
+ <line num="77" count="4" type="cond" truecount="1" falsecount="1"/>
1441
+ <line num="78" count="0" type="stmt"/>
1442
+ <line num="79" count="0" type="stmt"/>
1443
+ <line num="81" count="4" type="stmt"/>
1444
+ <line num="83" count="4" type="stmt"/>
1445
+ <line num="88" count="4" type="stmt"/>
1446
+ <line num="90" count="4" type="stmt"/>
1447
+ <line num="92" count="4" type="stmt"/>
1448
+ <line num="104" count="4" type="stmt"/>
1449
+ <line num="116" count="4" type="stmt"/>
1450
+ <line num="119" count="0" type="cond" truecount="0" falsecount="4"/>
1451
+ <line num="120" count="0" type="stmt"/>
1452
+ <line num="121" count="0" type="stmt"/>
1453
+ <line num="126" count="4" type="cond" truecount="1" falsecount="1"/>
1454
+ <line num="127" count="0" type="stmt"/>
1455
+ <line num="131" count="12" type="stmt"/>
1456
+ <line num="132" count="8" type="cond" truecount="1" falsecount="1"/>
1457
+ <line num="134" count="8" type="stmt"/>
1458
+ <line num="137" count="12" type="stmt"/>
1459
+ <line num="138" count="8" type="cond" truecount="4" falsecount="0"/>
1460
+ <line num="141" count="4" type="cond" truecount="1" falsecount="1"/>
1461
+ <line num="142" count="4" type="stmt"/>
1462
+ <line num="144" count="0" type="stmt"/>
1463
+ <line num="148" count="12" type="stmt"/>
1464
+ <line num="151" count="10" type="stmt"/>
1465
+ <line num="155" count="10" type="stmt"/>
1387
1466
  </file>
1388
1467
  </package>
1389
1468
  <package name="src.components.MlWmsLoader">
@@ -1487,13 +1566,13 @@
1487
1566
  <metrics statements="73" coveredstatements="71" conditionals="54" coveredconditionals="45" methods="10" coveredmethods="10"/>
1488
1567
  <file name="MapContext.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/contexts/MapContext.tsx">
1489
1568
  <metrics statements="42" coveredstatements="42" conditionals="34" coveredconditionals="31" methods="6" coveredmethods="6"/>
1490
- <line num="4" count="19" type="stmt"/>
1491
- <line num="14" count="19" type="stmt"/>
1492
- <line num="15" count="168" type="stmt"/>
1493
- <line num="16" count="168" type="stmt"/>
1494
- <line num="17" count="168" type="stmt"/>
1495
- <line num="18" count="168" type="stmt"/>
1496
- <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"/>
1497
1576
  <line num="22" count="8" type="cond" truecount="2" falsecount="0"/>
1498
1577
  <line num="23" count="6" type="cond" truecount="1" falsecount="1"/>
1499
1578
  <line num="24" count="6" type="stmt"/>
@@ -1505,30 +1584,30 @@
1505
1584
  <line num="33" count="3" type="stmt"/>
1506
1585
  <line num="36" count="2" type="stmt"/>
1507
1586
  <line num="37" count="2" type="stmt"/>
1508
- <line num="41" count="168" type="stmt"/>
1509
- <line num="42" count="71" type="stmt"/>
1510
- <line num="44" count="71" type="cond" truecount="1" falsecount="1"/>
1511
- <line num="45" count="71" type="stmt"/>
1512
- <line num="46" count="71" type="stmt"/>
1513
- <line num="47" count="71" type="stmt"/>
1514
- <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"/>
1515
1594
  <line num="57" count="13" type="cond" truecount="3" falsecount="1"/>
1516
1595
  <line num="58" count="13" type="stmt"/>
1517
1596
  <line num="59" count="13" type="stmt"/>
1518
1597
  <line num="60" count="13" type="stmt"/>
1519
1598
  <line num="62" count="13" type="cond" truecount="2" falsecount="0"/>
1520
1599
  <line num="63" count="11" type="stmt"/>
1521
- <line num="69" count="427" type="cond" truecount="4" falsecount="0"/>
1600
+ <line num="69" count="487" type="cond" truecount="4" falsecount="0"/>
1522
1601
  <line num="70" count="76" type="stmt"/>
1523
- <line num="71" count="351" type="cond" truecount="4" falsecount="0"/>
1524
- <line num="72" count="129" type="stmt"/>
1525
- <line num="74" count="222" type="stmt"/>
1526
- <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"/>
1527
1606
  <line num="78" count="25" type="stmt"/>
1528
- <line num="79" count="146" type="cond" truecount="4" falsecount="0"/>
1529
- <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"/>
1530
1609
  <line num="83" count="17" type="stmt"/>
1531
- <line num="88" count="168" type="stmt"/>
1610
+ <line num="88" count="186" type="stmt"/>
1532
1611
  </file>
1533
1612
  <file name="SimpleDataContext.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/contexts/SimpleDataContext.js">
1534
1613
  <metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
@@ -1569,112 +1648,114 @@
1569
1648
  </file>
1570
1649
  </package>
1571
1650
  <package name="src.hooks">
1572
- <metrics statements="171" coveredstatements="95" conditionals="102" coveredconditionals="52" methods="28" coveredmethods="17"/>
1651
+ <metrics statements="173" coveredstatements="98" conditionals="106" coveredconditionals="56" methods="28" coveredmethods="16"/>
1573
1652
  <file name="useLayer.ts" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useLayer.ts">
1574
- <metrics statements="58" coveredstatements="43" conditionals="54" coveredconditionals="36" methods="8" coveredmethods="8"/>
1575
- <line num="30" count="12" type="stmt"/>
1576
- <line num="43" count="60" type="stmt"/>
1577
- <line num="48" count="60" type="stmt"/>
1578
- <line num="49" count="60" type="stmt"/>
1579
- <line num="50" count="60" type="stmt"/>
1580
- <line num="52" count="60" type="stmt"/>
1581
- <line num="54" count="60" type="stmt"/>
1582
- <line num="55" count="60" type="stmt"/>
1583
- <line num="59" count="60" type="stmt"/>
1584
- <line num="60" count="14" type="cond" truecount="1" falsecount="1"/>
1585
- <line num="62" count="14" type="cond" truecount="1" falsecount="1"/>
1586
- <line num="63" count="0" type="stmt"/>
1587
- <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"/>
1588
1667
  <line num="66" count="0" type="stmt"/>
1589
- <line num="68" count="14" type="stmt"/>
1590
- <line num="70" count="14" type="stmt"/>
1591
- <line num="91" count="14" type="stmt"/>
1592
- <line num="93" count="14" type="cond" truecount="1" falsecount="1"/>
1593
- <line num="94" count="0" type="stmt"/>
1594
- <line num="97" count="14" type="cond" truecount="1" falsecount="1"/>
1595
- <line num="98" count="0" type="stmt"/>
1596
- <line num="101" count="14" type="cond" truecount="1" falsecount="1"/>
1597
- <line num="102" count="0" type="stmt"/>
1598
- <line num="105" count="14" type="stmt"/>
1599
- <line num="106" count="14" type="stmt"/>
1600
- <line num="107" count="14" type="stmt"/>
1601
- <line num="110" count="60" type="stmt"/>
1602
- <line num="111" count="60" type="cond" truecount="2" falsecount="0"/>
1603
- <line num="113" count="32" type="cond" truecount="2" falsecount="0"/>
1604
- <line num="119" count="18" type="stmt"/>
1605
- <line num="122" count="14" type="stmt"/>
1606
- <line num="125" count="60" type="stmt"/>
1607
- <line num="126" count="28" type="cond" truecount="4" falsecount="0"/>
1608
- <line num="129" count="12" type="stmt"/>
1609
- <line num="132" count="60" type="stmt"/>
1610
- <line num="133" count="60" type="cond" truecount="2" falsecount="0"/>
1611
- <line num="139" count="28" type="stmt"/>
1612
- <line num="143" count="32" type="stmt"/>
1613
- <line num="144" count="32" type="cond" truecount="3" falsecount="1"/>
1614
- <line num="145" count="0" type="stmt"/>
1615
- <line num="147" count="0" type="stmt"/>
1616
- <line num="148" count="0" type="cond" truecount="0" falsecount="4"/>
1617
- <line num="149" count="0" type="stmt"/>
1618
- <line num="152" count="0" type="stmt"/>
1619
- <line num="155" count="32" type="stmt"/>
1620
- <line num="156" count="32" type="cond" truecount="1" falsecount="1"/>
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"/>
1678
+ <line num="109" count="0" type="cond" truecount="0" falsecount="4"/>
1679
+ <line num="110" count="0" type="stmt"/>
1680
+ <line num="111" count="0" type="stmt"/>
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"/>
1691
+ <line num="141" count="12" type="stmt"/>
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"/>
1621
1697
  <line num="157" count="0" type="stmt"/>
1622
- <line num="158" count="0" type="stmt"/>
1623
- <line num="159" count="0" type="cond" truecount="0" falsecount="4"/>
1624
- <line num="160" count="0" type="stmt"/>
1625
- <line num="163" count="0" type="stmt"/>
1626
- <line num="167" count="60" type="stmt"/>
1627
- <line num="168" count="7" type="stmt"/>
1628
- <line num="169" count="7" type="stmt"/>
1629
- <line num="172" count="60" type="stmt"/>
1630
- <line num="173" count="14" type="stmt"/>
1631
- <line num="174" count="7" type="stmt"/>
1632
- <line num="178" count="60" type="stmt"/>
1698
+ <line num="159" count="0" type="stmt"/>
1699
+ <line num="160" count="0" type="cond" truecount="0" falsecount="4"/>
1700
+ <line num="161" count="0" type="stmt"/>
1701
+ <line num="164" count="0" type="stmt"/>
1702
+ <line num="167" count="56" type="stmt"/>
1703
+ <line num="168" count="56" type="cond" truecount="1" falsecount="1"/>
1704
+ <line num="169" count="0" type="stmt"/>
1705
+ <line num="170" count="0" type="stmt"/>
1706
+ <line num="171" count="0" type="cond" truecount="0" falsecount="4"/>
1707
+ <line num="172" count="0" type="stmt"/>
1708
+ <line num="175" count="0" 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"/>
1633
1714
  </file>
1634
1715
  <file name="useMap.ts" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useMap.ts">
1635
1716
  <metrics statements="30" coveredstatements="24" conditionals="14" coveredconditionals="8" methods="6" coveredmethods="5"/>
1636
- <line num="17" count="169" type="stmt"/>
1637
- <line num="18" count="169" type="stmt"/>
1638
- <line num="20" count="169" type="stmt"/>
1639
- <line num="32" count="169" type="stmt"/>
1640
- <line num="33" count="169" type="stmt"/>
1641
- <line num="35" count="169" type="stmt"/>
1642
- <line num="37" count="169" type="stmt"/>
1643
- <line num="39" count="169" type="stmt"/>
1644
- <line num="40" count="30" type="cond" truecount="2" falsecount="0"/>
1645
- <line num="41" count="23" type="stmt"/>
1646
- <line num="42" count="23" type="stmt"/>
1647
- <line num="44" count="30" type="stmt"/>
1648
- <line num="47" count="169" type="stmt"/>
1649
- <line num="48" count="48" type="stmt"/>
1650
- <line num="49" count="23" type="stmt"/>
1651
- <line num="50" count="23" type="stmt"/>
1652
- <line num="54" count="169" type="stmt"/>
1653
- <line num="55" count="96" type="cond" truecount="4" falsecount="0"/>
1654
- <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"/>
1655
1736
  <line num="60" count="0" type="stmt"/>
1656
1737
  <line num="62" count="0" type="stmt"/>
1657
1738
  <line num="63" count="0" type="cond" truecount="0" falsecount="2"/>
1658
1739
  <line num="64" count="0" type="stmt"/>
1659
1740
  <line num="67" count="0" type="cond" truecount="0" falsecount="2"/>
1660
1741
  <line num="68" count="0" type="stmt"/>
1661
- <line num="73" count="48" type="stmt"/>
1662
- <line num="74" count="48" type="stmt"/>
1663
- <line num="75" count="48" type="stmt"/>
1664
- <line num="76" count="48" type="stmt"/>
1665
- <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"/>
1666
1747
  </file>
1667
1748
  <file name="useMapState.ts" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useMapState.ts">
1668
1749
  <metrics statements="48" coveredstatements="27" conditionals="26" coveredconditionals="8" methods="7" coveredmethods="4"/>
1669
- <line num="41" count="169" type="stmt"/>
1670
- <line num="43" count="169" type="stmt"/>
1671
- <line num="44" count="169" type="stmt"/>
1672
- <line num="46" count="169" type="stmt"/>
1673
- <line num="47" count="169" type="stmt"/>
1674
- <line num="49" count="169" type="stmt"/>
1675
- <line num="50" count="169" type="stmt"/>
1676
- <line num="52" count="169" type="stmt"/>
1677
- <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"/>
1678
1759
  <line num="62" count="0" type="cond" truecount="0" falsecount="4"/>
1679
1760
  <line num="63" count="0" type="stmt"/>
1680
1761
  <line num="66" count="0" type="cond" truecount="0" falsecount="2"/>
@@ -1682,38 +1763,38 @@
1682
1763
  <line num="68" count="0" type="stmt"/>
1683
1764
  <line num="70" count="0" type="stmt"/>
1684
1765
  <line num="74" count="0" type="stmt"/>
1685
- <line num="79" count="169" type="stmt"/>
1766
+ <line num="79" count="211" type="stmt"/>
1686
1767
  <line num="80" count="0" type="cond" truecount="0" falsecount="2"/>
1687
1768
  <line num="82" count="0" type="stmt"/>
1688
1769
  <line num="83" count="0" type="stmt"/>
1689
1770
  <line num="84" count="0" type="cond" truecount="0" falsecount="2"/>
1690
1771
  <line num="85" count="0" type="stmt"/>
1691
1772
  <line num="86" count="0" type="stmt"/>
1692
- <line num="90" count="169" type="stmt"/>
1693
- <line num="91" count="48" type="stmt"/>
1694
- <line num="93" count="48" type="stmt"/>
1695
- <line num="95" count="23" type="cond" truecount="1" falsecount="1"/>
1696
- <line num="96" count="23" type="stmt"/>
1697
- <line num="97" count="23" type="stmt"/>
1698
- <line num="99" count="23" type="stmt"/>
1699
- <line num="103" count="169" type="stmt"/>
1700
- <line num="104" count="169" type="cond" truecount="4" falsecount="0"/>
1701
- <line num="107" count="48" type="stmt"/>
1702
- <line num="108" count="48" type="stmt"/>
1703
- <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"/>
1704
1785
  <line num="111" count="0" type="stmt"/>
1705
1786
  <line num="112" count="0" type="stmt"/>
1706
- <line num="115" count="48" type="cond" truecount="1" falsecount="1"/>
1787
+ <line num="115" count="57" type="cond" truecount="1" falsecount="1"/>
1707
1788
  <line num="116" count="0" type="stmt"/>
1708
1789
  <line num="119" count="0" type="stmt"/>
1709
1790
  <line num="122" count="0" type="cond" truecount="0" falsecount="2"/>
1710
1791
  <line num="123" count="0" type="stmt"/>
1711
- <line num="131" count="48" type="cond" truecount="1" falsecount="1"/>
1792
+ <line num="131" count="57" type="cond" truecount="1" falsecount="1"/>
1712
1793
  <line num="132" count="0" type="stmt"/>
1713
1794
  <line num="134" count="0" type="stmt"/>
1714
- <line num="146" count="169" type="stmt"/>
1715
- <line num="152" count="14" type="stmt"/>
1716
- <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"/>
1717
1798
  </file>
1718
1799
  <file name="useWms.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useWms.js">
1719
1800
  <metrics statements="35" coveredstatements="1" conditionals="8" coveredconditionals="0" methods="7" coveredmethods="0"/>