@mapcomponents/react-maplibre 0.1.63 → 0.1.65

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 (316) hide show
  1. package/.editorconfig +1 -1
  2. package/.eslintrc.js +9 -6
  3. package/.github/workflows/check-catalogue-metadata-schema.yml +19 -0
  4. package/CHANGELOG.md +37 -2
  5. package/coverage/clover.xml +688 -1032
  6. package/coverage/coverage-final.json +25 -21
  7. package/coverage/lcov-report/index.html +127 -82
  8. package/coverage/lcov-report/src/components/MapLibreMap/MapLibreMap.tsx.html +24 -24
  9. package/coverage/lcov-report/src/components/MapLibreMap/index.html +1 -1
  10. package/coverage/lcov-report/src/components/MlCenterPosition/MlCenterPosition.tsx.html +5 -5
  11. package/coverage/lcov-report/src/components/MlCenterPosition/index.html +1 -1
  12. package/coverage/lcov-report/src/components/MlCreatePdfButton/MlCreatePdfButton.tsx.html +2 -2
  13. package/coverage/lcov-report/src/components/MlCreatePdfButton/index.html +1 -1
  14. package/coverage/lcov-report/src/components/MlCreatePdfForm/MlCreatePdfForm.cy.tsx.html +1 -1
  15. package/coverage/lcov-report/src/components/MlCreatePdfForm/MlCreatePdfForm.tsx.html +1 -1
  16. package/coverage/lcov-report/src/components/MlCreatePdfForm/index.html +1 -1
  17. package/coverage/lcov-report/src/components/MlFeatureEditor/MlFeatureEditor.tsx.html +2 -5
  18. package/coverage/lcov-report/src/components/MlFeatureEditor/index.html +1 -1
  19. package/coverage/lcov-report/src/components/MlFillExtrusionLayer/MlFillExtrusionLayer.tsx.html +1 -1
  20. package/coverage/lcov-report/src/components/MlFillExtrusionLayer/index.html +1 -1
  21. package/coverage/lcov-report/src/components/MlFollowGps/MlFollowGps.tsx.html +1 -1
  22. package/coverage/lcov-report/src/components/MlFollowGps/index.html +1 -1
  23. package/coverage/lcov-report/src/components/MlGeoJsonLayer/MlGeoJsonLayer.tsx.html +40 -19
  24. package/coverage/lcov-report/src/components/MlGeoJsonLayer/index.html +1 -1
  25. package/coverage/lcov-report/src/components/MlGeoJsonLayer/story_utils/MlGeoJsonLayer.lineStyler.js.html +1 -1
  26. package/coverage/lcov-report/src/components/MlGeoJsonLayer/story_utils/MlGeoJsonLayer.polygonStyler.js.html +1 -1
  27. package/coverage/lcov-report/src/components/MlGeoJsonLayer/story_utils/MlGeojsonLayerCircleStyler.tsx.html +112 -0
  28. package/coverage/lcov-report/src/components/MlGeoJsonLayer/story_utils/MlGeojsonLayerHeatMapStyler.tsx.html +115 -0
  29. package/coverage/lcov-report/src/components/MlGeoJsonLayer/story_utils/index.html +34 -4
  30. package/coverage/lcov-report/src/components/MlGeojsonLayerWithSource/MlGeojsonLayerWithSource.tsx.html +2 -2
  31. package/coverage/lcov-report/src/components/MlGeojsonLayerWithSource/index.html +1 -1
  32. package/coverage/lcov-report/src/components/MlGpxViewer/MlGpxViewer.tsx.html +394 -0
  33. package/coverage/lcov-report/src/components/{MlGPXViewer → MlGpxViewer}/index.html +23 -38
  34. package/coverage/lcov-report/src/components/MlImageMarkerLayer/MlImageMarkerLayer.tsx.html +63 -285
  35. package/coverage/lcov-report/src/components/MlImageMarkerLayer/index.html +21 -21
  36. package/coverage/lcov-report/src/components/MlLayer/MlLayer.tsx.html +1 -1
  37. package/coverage/lcov-report/src/components/MlLayer/index.html +1 -1
  38. package/coverage/lcov-report/src/components/MlLayerMagnify/MlLayerMagnify.tsx.html +58 -76
  39. package/coverage/lcov-report/src/components/MlLayerMagnify/index.html +1 -1
  40. package/coverage/lcov-report/src/components/MlLayerSwipe/MlLayerSwipe.tsx.html +58 -61
  41. package/coverage/lcov-report/src/components/MlLayerSwipe/index.html +11 -11
  42. package/coverage/lcov-report/src/components/MlLayerSwitcher/MlLayerSwitcher.js.html +1 -1
  43. package/coverage/lcov-report/src/components/MlLayerSwitcher/components/LayerBox.js.html +30 -21
  44. package/coverage/lcov-report/src/components/MlLayerSwitcher/components/index.html +1 -1
  45. package/coverage/lcov-report/src/components/MlLayerSwitcher/index.html +1 -1
  46. package/coverage/lcov-report/src/components/MlMarker/MlMarker.tsx.html +1 -1
  47. package/coverage/lcov-report/src/components/MlMarker/index.html +1 -1
  48. package/coverage/lcov-report/src/components/MlMeasureTool/MlMeasureTool.tsx.html +1 -1
  49. package/coverage/lcov-report/src/components/MlMeasureTool/index.html +1 -1
  50. package/coverage/lcov-report/src/components/MlNavigationCompass/MlNavigationCompass.tsx.html +1 -1
  51. package/coverage/lcov-report/src/components/MlNavigationCompass/index.html +1 -1
  52. package/coverage/lcov-report/src/components/MlNavigationTools/MlNavigationTools.tsx.html +1 -1
  53. package/coverage/lcov-report/src/components/MlNavigationTools/index.html +1 -1
  54. package/coverage/lcov-report/src/components/MlOsmLayer/MlOsmLayer.js.html +1 -1
  55. package/coverage/lcov-report/src/components/MlOsmLayer/MlOsmLayer.stories_.js.html +1 -1
  56. package/coverage/lcov-report/src/components/MlOsmLayer/index.html +1 -1
  57. package/coverage/lcov-report/src/components/MlScaleReference/MlScaleReference.js.html +1 -1
  58. package/coverage/lcov-report/src/components/MlScaleReference/index.html +1 -1
  59. package/coverage/lcov-report/src/components/MlShareMapState/MlShareMapState.js.html +1 -1
  60. package/coverage/lcov-report/src/components/MlShareMapState/index.html +1 -1
  61. package/coverage/lcov-report/src/components/MlSketchTool/LayerList/ColorPicker.tsx.html +1 -1
  62. package/coverage/lcov-report/src/components/MlSketchTool/LayerList/LayerList.tsx.html +1 -1
  63. package/coverage/lcov-report/src/components/MlSketchTool/LayerList/LayerListItem.tsx.html +1 -1
  64. package/coverage/lcov-report/src/components/MlSketchTool/LayerList/LayerPropertyForm.tsx.html +1 -1
  65. package/coverage/lcov-report/src/components/MlSketchTool/LayerList/index.html +1 -1
  66. package/coverage/lcov-report/src/components/MlSketchTool/MlSketchTool.tsx.html +2 -2
  67. package/coverage/lcov-report/src/components/MlSketchTool/index.html +1 -1
  68. package/coverage/lcov-report/src/components/MlSpatialElevationProfile/MlSpatialElevationProfile.tsx.html +514 -0
  69. package/coverage/lcov-report/src/components/MlSpatialElevationProfile/index.html +21 -21
  70. package/coverage/lcov-report/src/components/MlThreeJsLayer/MlThreeJsLayer.js.html +1 -1
  71. package/coverage/lcov-report/src/components/MlThreeJsLayer/index.html +1 -1
  72. package/coverage/lcov-report/src/components/MlTransitionGeoJsonLayer/MlTransitionGeoJsonLayer.tsx.html +20 -206
  73. package/coverage/lcov-report/src/components/MlTransitionGeoJsonLayer/index.html +1 -1
  74. package/coverage/lcov-report/src/components/MlUseMapDebugger/MlUseMapDebugger.js.html +1 -1
  75. package/coverage/lcov-report/src/components/MlUseMapDebugger/index.html +1 -1
  76. package/coverage/lcov-report/src/components/MlVectorTileLayer/MlVectorTileLayer.tsx.html +10 -7
  77. package/coverage/lcov-report/src/components/MlVectorTileLayer/index.html +5 -5
  78. package/coverage/lcov-report/src/components/MlWmsFeatureInfoPopup/MlWmsFeatureInfoPopup.js.html +1 -1
  79. package/coverage/lcov-report/src/components/MlWmsFeatureInfoPopup/index.html +1 -1
  80. package/coverage/lcov-report/src/components/MlWmsLayer/MlWmsLayer.tsx.html +111 -57
  81. package/coverage/lcov-report/src/components/MlWmsLayer/index.html +19 -19
  82. package/coverage/lcov-report/src/components/MlWmsLoader/MlWmsLoader.tsx.html +201 -144
  83. package/coverage/lcov-report/src/components/MlWmsLoader/index.html +9 -9
  84. package/coverage/lcov-report/src/contexts/MapContext.tsx.html +23 -23
  85. package/coverage/lcov-report/src/contexts/SimpleDataContext.js.html +1 -1
  86. package/coverage/lcov-report/src/contexts/SimpleDataProvider.js.html +1 -1
  87. package/coverage/lcov-report/src/contexts/index.html +1 -1
  88. package/coverage/lcov-report/src/hooks/index.html +50 -50
  89. package/coverage/lcov-report/src/hooks/useCameraFollowPath/index.html +1 -1
  90. package/coverage/lcov-report/src/hooks/useCameraFollowPath/useCameraFollowPath.tsx.html +1 -1
  91. package/coverage/lcov-report/src/hooks/useExportMap/index.html +1 -1
  92. package/coverage/lcov-report/src/hooks/useExportMap/index.ts.html +1 -1
  93. package/coverage/lcov-report/src/hooks/useExportMap/lib.ts.html +1 -1
  94. package/coverage/lcov-report/src/hooks/useGpx/index.html +116 -0
  95. package/coverage/lcov-report/src/hooks/useGpx/useGpx.tsx.html +295 -0
  96. package/coverage/lcov-report/src/hooks/useLayer.ts.html +132 -66
  97. package/coverage/lcov-report/src/hooks/useLayerEvent.js.html +1 -1
  98. package/coverage/lcov-report/src/hooks/useLayerFilter/index.html +116 -0
  99. package/coverage/lcov-report/src/hooks/useLayerFilter/useLayerFilter.ts.html +184 -0
  100. package/coverage/lcov-report/src/hooks/useLayerHoverPopup/index.html +116 -0
  101. package/coverage/lcov-report/src/hooks/useLayerHoverPopup/useLayerHoverPopup.tsx.html +331 -0
  102. package/coverage/lcov-report/src/hooks/useMap.ts.html +47 -47
  103. package/coverage/lcov-report/src/hooks/useMapState.ts.html +54 -54
  104. package/coverage/lcov-report/src/hooks/useSource.ts.html +57 -57
  105. package/coverage/lcov-report/src/hooks/{useWms.js.html → useWms.ts.html} +54 -15
  106. package/coverage/lcov-report/src/index.html +1 -1
  107. package/coverage/lcov-report/src/index.ts.html +6 -6
  108. package/coverage/lcov.info +1320 -1960
  109. package/dist/components/MapLibreMap/lib/MapLibreGlWrapper.d.ts +51 -25
  110. package/dist/components/MlCenterPosition/MlCenterPosition.d.ts +3 -2
  111. package/dist/components/MlCenterPosition/MlCenterPosition.stories.d.ts +35 -16
  112. package/dist/components/MlComponentTemplate/MlComponentTemplate.d.ts +1 -1
  113. package/dist/components/MlComponentTemplate/MlComponentTemplate.stories.d.ts +12 -9
  114. package/dist/components/MlCreatePdfButton/MlCreatePdfButton.d.ts +1 -1
  115. package/dist/components/MlCreatePdfButton/MlCreatePdfButton.stories.d.ts +12 -9
  116. package/dist/components/MlGPXViewer/util/GeoJsonContext.d.ts +1 -1
  117. package/dist/components/MlGeoJsonLayer/MlGeoJsonLayer.d.ts +22 -11
  118. package/dist/components/MlGeoJsonLayer/MlGeoJsonLayer.stories.d.ts +4 -95
  119. package/dist/components/MlGeoJsonLayer/story_utils/MlGeojsonLayerCircleStyler.d.ts +3 -0
  120. package/dist/components/MlGeoJsonLayer/story_utils/MlGeojsonLayerHeatMapStyler.d.ts +3 -0
  121. package/dist/components/MlGeojsonLayerWithSource/MlGeojsonLayerWithSource.d.ts +1 -1
  122. package/dist/components/MlGeojsonLayerWithSource/MlGeojsonLayerWithSource.stories.d.ts +12 -9
  123. package/dist/components/MlGpxViewer/MlGpxViewer.d.ts +30 -0
  124. package/dist/components/MlGpxViewer/MlGpxViewer.stories.d.ts +17 -0
  125. package/dist/components/MlGpxViewer/MlGpxViewer.test.d.ts +1 -0
  126. package/dist/components/MlGpxViewer/util/GeoJsonContext.d.ts +10 -0
  127. package/dist/components/MlGpxViewer/util/GeoJsonProvider.d.ts +4 -0
  128. package/dist/components/MlGpxViewer/util/MetadataDrawer.d.ts +7 -0
  129. package/dist/components/MlGpxViewer/util/MlGpxDemoLoader.d.ts +10 -0
  130. package/dist/components/MlGpxViewer/util/MlGpxViewerInstructions.d.ts +3 -0
  131. package/dist/components/MlImageMarkerLayer/MlImageMarkerLayer.d.ts +11 -2
  132. package/dist/components/MlImageMarkerLayer/MlImageMarkerLayer.stories.d.ts +7 -9
  133. package/dist/components/MlLayerMagnify/MlLayerMagnify.d.ts +8 -2
  134. package/dist/components/MlLayerMagnify/MlLayerMagnify.stories.d.ts +13 -9
  135. package/dist/components/MlLayerSwipe/MlLayerSwipe.d.ts +13 -3
  136. package/dist/components/MlLayerSwipe/MlLayerSwipe.stories.d.ts +12 -10
  137. package/dist/components/MlSketchTool/MlSketchTool.d.ts +1 -1
  138. package/dist/components/MlSketchTool/MlSketchTool.stories.d.ts +13 -9
  139. package/dist/components/MlSpatialElevationProfile/MlSpatialElevationProfile.d.ts +33 -14
  140. package/dist/components/MlSpatialElevationProfile/MlSpatialElevationProfile.stories.d.ts +18 -15
  141. package/dist/components/MlSpatialElevationProfile/util/getElevationData.d.ts +14 -0
  142. package/dist/components/MlThreeJsLayer/MlThreeJsLayer.stories.d.ts +20 -15
  143. package/dist/components/MlTransitionGeoJsonLayer/MlTransitionGeoJsonLayer.d.ts +3 -67
  144. package/dist/components/MlWmsFeatureInfoPopup/MlWmsFeatureInfoPopup.stories.d.ts +20 -12
  145. package/dist/components/MlWmsLayer/MlWmsLayer.d.ts +7 -4
  146. package/dist/components/MlWmsLoader/MlWmsLoader.d.ts +17 -10
  147. package/dist/components/MlWmsLoader/MlWmsLoader.stories.d.ts +23 -12
  148. package/dist/components/MlWmsLoader/utils/MlWmsLoaderInstructions.d.ts +3 -0
  149. package/dist/components/MlWmsLoader/utils/WMSLinks.d.ts +6 -0
  150. package/dist/decorators/ThemeWrapper.d.ts +3 -1
  151. package/dist/hooks/useGpx/lib/gpxConverter.d.ts +11 -0
  152. package/dist/hooks/useGpx/useGpx.d.ts +26 -0
  153. package/dist/hooks/useGpx/useGpx.stories.d.ts +10 -0
  154. package/dist/hooks/useLayer.d.ts +13 -7
  155. package/dist/hooks/useLayerFilter/useLayerFilter.d.ts +8 -0
  156. package/dist/hooks/useLayerFilter/useLayerFilter.stories.d.ts +9 -0
  157. package/dist/hooks/useLayerHoverPopup/useLayerHoverPopup.d.ts +23 -0
  158. package/dist/hooks/useLayerHoverPopup/useLayerHoverPopup.stories.d.ts +10 -0
  159. package/dist/hooks/useMap.d.ts +1 -1
  160. package/dist/hooks/useMap.test.d.ts +1 -0
  161. package/dist/hooks/useSource.d.ts +2 -2
  162. package/dist/hooks/useWms.d.ts +24 -16
  163. package/dist/index.d.ts +5 -5
  164. package/dist/index.esm.js +9310 -14006
  165. package/dist/index.esm.js.map +1 -1
  166. package/dist/setupTests.d.ts +6 -5
  167. package/dist/ui_components/Dropzone.d.ts +5 -0
  168. package/dist/ui_components/ImageLoader.d.ts +8 -1
  169. package/dist/ui_components/LoadingOverlayContext.d.ts +11 -11
  170. package/dist/ui_components/Sidebar.d.ts +7 -6
  171. package/dist/ui_components/Tooltip.d.ts +1 -1
  172. package/dist/ui_components/TopToolbar.d.ts +4 -3
  173. package/dist/ui_components/UploadButton.d.ts +6 -0
  174. package/dist/util/BubbleForInstructions.d.ts +2 -0
  175. package/dist/util/Instructions.d.ts +13 -0
  176. package/package.json +195 -191
  177. package/{src/components/MlImageMarkerLayer → public}/assets/wg-marker.png +0 -0
  178. package/scripts/build-catalogue-meta.js +35 -11
  179. package/src/components/MapLibreMap/lib/MapLibreGlWrapper.ts +230 -188
  180. package/src/components/MlCenterPosition/MlCenterPosition.meta_.json +1 -2
  181. package/src/components/MlCenterPosition/MlCenterPosition.stories.tsx +20 -0
  182. package/src/components/MlCenterPosition/MlCenterPosition.tsx +4 -4
  183. package/src/components/MlComponentTemplate/MlComponentTemplate.meta_.json +1 -2
  184. package/src/components/MlComponentTemplate/{MlComponentTemplate.stories.js → MlComponentTemplate.stories.tsx} +2 -2
  185. package/src/components/MlComponentTemplate/MlComponentTemplate.tsx +1 -1
  186. package/src/components/MlCreatePdfButton/MlCreatePdfButton.meta_.json +1 -2
  187. package/src/components/MlCreatePdfButton/{MlCreatePdfButton.stories.js → MlCreatePdfButton.stories.tsx} +1 -1
  188. package/src/components/MlCreatePdfButton/MlCreatePdfButton.tsx +1 -1
  189. package/src/components/MlCreatePdfForm/MlCreatePdfForm.meta.json +1 -2
  190. package/src/components/MlCreatePdfForm/lib/PdfForm.tsx +25 -2
  191. package/src/components/MlFeatureEditor/MlFeatureEditor.meta.json +1 -2
  192. package/src/components/MlFeatureEditor/MlFeatureEditor.tsx +0 -1
  193. package/src/components/MlFillExtrusionLayer/MlFillExtrusionLayer.meta.json +1 -2
  194. package/src/components/MlFollowGps/MlFollowGps.meta.json +1 -2
  195. package/src/components/MlGeoJsonLayer/MlGeoJsonLayer.meta.json +1 -2
  196. package/src/components/MlGeoJsonLayer/MlGeoJsonLayer.stories.tsx +89 -0
  197. package/src/components/MlGeoJsonLayer/MlGeoJsonLayer.tsx +24 -17
  198. package/src/components/MlGeoJsonLayer/assets/earthquake.json +109937 -0
  199. package/src/components/MlGeoJsonLayer/assets/wg_locations.json +65 -0
  200. package/src/components/MlGeoJsonLayer/story_utils/MlGeojsonLayerCircleStyler.tsx +9 -0
  201. package/src/components/MlGeoJsonLayer/story_utils/MlGeojsonLayerHeatMapStyler.tsx +10 -0
  202. package/src/components/MlGeojsonLayerWithSource/MlGeojsonLayerWithSource.meta_.json +1 -2
  203. package/src/components/MlGeojsonLayerWithSource/{MlGeojsonLayerWithSource.stories.js → MlGeojsonLayerWithSource.stories.tsx} +0 -0
  204. package/src/components/MlGeojsonLayerWithSource/MlGeojsonLayerWithSource.tsx +1 -1
  205. package/src/components/{MlGPXViewer/MlGPXViewer.doc.de.md → MlGpxViewer/MlGpxViewer.doc.de.md} +0 -0
  206. package/src/components/{MlGPXViewer/MlGPXViewer.doc.en.md → MlGpxViewer/MlGpxViewer.doc.en.md} +0 -0
  207. package/src/components/{MlGPXViewer/MlGPXViewer.meta.json → MlGpxViewer/MlGpxViewer.meta.json} +2 -3
  208. package/src/components/MlGpxViewer/MlGpxViewer.stories.tsx +109 -0
  209. package/src/components/MlGpxViewer/MlGpxViewer.test.js +53 -0
  210. package/src/components/MlGpxViewer/MlGpxViewer.tsx +103 -0
  211. package/src/components/{MlGPXViewer → MlGpxViewer}/util/GeoJsonContext.ts +0 -0
  212. package/src/components/{MlGPXViewer → MlGpxViewer}/util/GeoJsonProvider.tsx +0 -0
  213. package/src/components/MlGpxViewer/util/MetadataDrawer.tsx +38 -0
  214. package/src/components/MlGpxViewer/util/MlGpxDemoLoader.tsx +128 -0
  215. package/src/components/MlGpxViewer/util/MlGpxViewerInstructions.tsx +71 -0
  216. package/src/components/MlImageMarkerLayer/MlImageMarkerLayer.meta_.json +1 -2
  217. package/src/components/MlImageMarkerLayer/MlImageMarkerLayer.stories.tsx +41 -0
  218. package/src/components/MlImageMarkerLayer/MlImageMarkerLayer.test.js +27 -8
  219. package/src/components/MlImageMarkerLayer/MlImageMarkerLayer.tsx +41 -115
  220. package/src/components/MlLayer/MlLayer.meta_.json +1 -2
  221. package/src/components/MlLayerMagnify/MlLayerMagnify.meta.json +1 -2
  222. package/src/components/MlLayerMagnify/MlLayerMagnify.stories.tsx +44 -0
  223. package/src/components/MlLayerMagnify/{MlLayerMagnify.test.js → MlLayerMagnify.test.tsx} +15 -18
  224. package/src/components/MlLayerMagnify/MlLayerMagnify.tsx +55 -61
  225. package/src/components/MlLayerSwipe/MlLayerSwipe.meta.json +1 -2
  226. package/src/components/MlLayerSwipe/{MlLayerSwipe.stories.js → MlLayerSwipe.stories.tsx} +9 -11
  227. package/src/components/MlLayerSwipe/MlLayerSwipe.tsx +47 -48
  228. package/src/components/MlLayerSwitcher/MlLayerSwitcher.meta_.json +1 -2
  229. package/src/components/MlLayerSwitcher/components/LayerBox.js +22 -19
  230. package/src/components/MlMarker/MlMarker.meta_.json +1 -2
  231. package/src/components/MlMeasureTool/MlMeasureTool.meta.json +1 -2
  232. package/src/components/MlNavigationCompass/MlNavigationCompass.meta.json +1 -2
  233. package/src/components/MlNavigationTools/MlNavigationTools.meta.json +1 -2
  234. package/src/components/MlScaleReference/MlScaleReference.meta.json +1 -2
  235. package/src/components/MlShareMapState/MlShareMapState.meta_.json +1 -2
  236. package/src/components/MlSketchTool/MlSketchTool.meta.json +1 -2
  237. package/src/components/MlSketchTool/{MlSketchTool.stories.js → MlSketchTool.stories.tsx} +1 -1
  238. package/src/components/MlSketchTool/MlSketchTool.tsx +1 -1
  239. package/src/components/MlSpatialElevationProfile/MlSpatialElevationProfile.meta.json +1 -2
  240. package/src/components/MlSpatialElevationProfile/MlSpatialElevationProfile.stories.tsx +121 -0
  241. package/src/components/MlSpatialElevationProfile/MlSpatialElevationProfile.test.js +30 -1
  242. package/src/components/MlSpatialElevationProfile/MlSpatialElevationProfile.tsx +143 -0
  243. package/src/components/MlSpatialElevationProfile/util/getElevationData.tsx +103 -0
  244. package/src/components/MlThreeJsLayer/MlThreeJsLayer.meta.json +1 -2
  245. package/src/components/MlThreeJsLayer/MlThreeJsLayer.stories.tsx +37 -0
  246. package/src/components/MlTransitionGeoJsonLayer/MlTransitionGeoJsonLayer.meta.json +1 -2
  247. package/src/components/MlTransitionGeoJsonLayer/MlTransitionGeoJsonLayer.stories.js +2 -3
  248. package/src/components/MlTransitionGeoJsonLayer/MlTransitionGeoJsonLayer.tsx +17 -79
  249. package/src/components/MlUseMapDebugger/MlUseMapDebugger.meta_.json +1 -2
  250. package/src/components/MlVectorTileLayer/MlVectorTileLayer.meta.json +1 -2
  251. package/src/components/MlVectorTileLayer/MlVectorTileLayer.tsx +3 -2
  252. package/src/components/MlWmsFeatureInfoPopup/MlWmsFeatureInfoPopup.meta_.json +1 -2
  253. package/src/components/MlWmsFeatureInfoPopup/MlWmsFeatureInfoPopup.stories.tsx +22 -0
  254. package/src/components/MlWmsLayer/MlWmsLayer.tsx +59 -41
  255. package/src/components/MlWmsLoader/MlWmsLoader.meta.json +1 -2
  256. package/src/components/MlWmsLoader/MlWmsLoader.stories.tsx +89 -0
  257. package/src/components/MlWmsLoader/MlWmsLoader.tsx +141 -122
  258. package/src/components/MlWmsLoader/utils/MlWmsLoaderInstructions.tsx +50 -0
  259. package/src/components/MlWmsLoader/utils/WMSLinks.tsx +128 -0
  260. package/src/decorators/MapContextDecorator.js +1 -1
  261. package/src/decorators/MapContextDecoratorHooks.js +1 -1
  262. package/src/decorators/ThemeWrapper.tsx +9 -0
  263. package/src/hooks/useCameraFollowPath/useCameraFollowPath.meta.json +1 -2
  264. package/src/{components/MlGPXViewer → hooks/useGpx/lib}/gpxConverter.js +1 -0
  265. package/src/hooks/useGpx/useGpx.doc.de.md +3 -0
  266. package/src/hooks/useGpx/useGpx.meta_.json +15 -0
  267. package/src/{components/MlLayer/MlLayer.stories.js → hooks/useGpx/useGpx.stories.js} +4 -4
  268. package/src/hooks/useGpx/useGpx.tsx +70 -0
  269. package/src/hooks/useLayer.ts +32 -10
  270. package/src/hooks/useLayerFilter/useLayerFilter.doc.de.md +3 -0
  271. package/src/hooks/useLayerFilter/useLayerFilter.meta_.json +14 -0
  272. package/src/hooks/useLayerFilter/useLayerFilter.stories.tsx +40 -0
  273. package/src/hooks/useLayerFilter/useLayerFilter.ts +33 -0
  274. package/src/hooks/useLayerHoverPopup/useLayerHoverPopup.doc.de.md +3 -0
  275. package/src/hooks/useLayerHoverPopup/useLayerHoverPopup.meta_.json +15 -0
  276. package/src/{components/MlWmsFeatureInfoPopup/MlWmsFeatureInfoPopup.stories.js → hooks/useLayerHoverPopup/useLayerHoverPopup.stories.js} +4 -6
  277. package/src/hooks/useLayerHoverPopup/useLayerHoverPopup.tsx +82 -0
  278. package/src/hooks/useMap.test.tsx +48 -0
  279. package/src/hooks/useMap.ts +8 -8
  280. package/src/hooks/useSource.ts +4 -4
  281. package/src/hooks/{useWms.js → useWms.ts} +24 -11
  282. package/src/index.ts +5 -5
  283. package/src/setupTests.js +18 -15
  284. package/src/ui_components/Dropzone.tsx +104 -0
  285. package/src/ui_components/{ImageLoader.js → ImageLoader.tsx} +30 -25
  286. package/src/ui_components/{LoadingOverlayContext.js → LoadingOverlayContext.tsx} +12 -15
  287. package/src/ui_components/Sidebar.tsx +12 -10
  288. package/src/ui_components/Tooltip.tsx +17 -0
  289. package/src/ui_components/TopToolbar.tsx +5 -3
  290. package/src/ui_components/UploadButton.tsx +57 -0
  291. package/src/util/BubbleForInstructions.js +46 -0
  292. package/src/util/Instructions.tsx +60 -0
  293. package/tsconfig.json +1 -1
  294. package/coverage/lcov-report/src/components/MlGPXViewer/MlGPXViewer.tsx.html +0 -1222
  295. package/coverage/lcov-report/src/components/MlGPXViewer/gpxConverter.js.html +0 -1645
  296. package/coverage/lcov-report/src/components/MlSpatialElevationProfile/MlSpatialElevationProfile.js.html +0 -757
  297. package/dist/components/MlGPXViewer/util/MlGPXViewerInstructions.d.ts +0 -1
  298. package/dist/components/MlGPXViewer/util/SampleLayer.d.ts +0 -0
  299. package/dist/components/MlGPXViewer/util/demoViewer.d.ts +0 -5
  300. package/src/components/MlCenterPosition/MlCenterPosition.stories.js +0 -21
  301. package/src/components/MlGPXViewer/MlGPXViewer.stories.js +0 -91
  302. package/src/components/MlGPXViewer/MlGPXViewer.test.js +0 -28
  303. package/src/components/MlGPXViewer/MlGPXViewer.tsx +0 -379
  304. package/src/components/MlGPXViewer/util/MlGPXViewerInstructions.js +0 -145
  305. package/src/components/MlGPXViewer/util/SampleLayer.js +0 -2
  306. package/src/components/MlGPXViewer/util/demoViewer.js +0 -254
  307. package/src/components/MlImageMarkerLayer/MlImageMarkerLayer.stories.js +0 -45
  308. package/src/components/MlLayerMagnify/MlLayerMagnify.stories.js +0 -41
  309. package/src/components/MlSpatialElevationProfile/MlSpatialElevationProfile.js +0 -224
  310. package/src/components/MlSpatialElevationProfile/MlSpatialElevationProfile.stories.js +0 -57
  311. package/src/components/MlThreeJsLayer/MlThreeJsLayer.stories.js +0 -39
  312. package/src/components/MlWmsLoader/MlWmsLoader.stories.js +0 -47
  313. package/src/decorators/ThemeWrapper.jsx +0 -9
  314. package/src/ui_components/Legend.js +0 -44
  315. package/src/ui_components/LoadingOverlay.js +0 -41
  316. package/src/ui_components/Tooltip.js +0 -21
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1671193849391" clover="3.2.0">
3
- <project timestamp="1671193849391" name="All files">
4
- <metrics statements="2004" coveredstatements="641" conditionals="1212" coveredconditionals="313" methods="402" coveredmethods="109" elements="3618" coveredelements="1063" complexity="0" loc="2004" ncloc="2004" packages="39" files="54" classes="54"/>
2
+ <coverage generated="1674476860377" clover="3.2.0">
3
+ <project timestamp="1674476860377" name="All files">
4
+ <metrics statements="1639" coveredstatements="652" conditionals="973" coveredconditionals="334" methods="366" coveredmethods="118" elements="2978" coveredelements="1104" complexity="0" loc="1639" ncloc="1639" packages="42" files="58" classes="58"/>
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="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"/>
15
+ <line num="26" count="20" type="stmt"/>
16
+ <line num="61" count="20" type="stmt"/>
17
+ <line num="62" count="273" type="stmt"/>
18
+ <line num="63" count="273" type="stmt"/>
19
+ <line num="65" count="273" type="stmt"/>
20
+ <line num="67" count="273" type="stmt"/>
21
+ <line num="68" count="273" type="stmt"/>
22
+ <line num="69" count="273" type="stmt"/>
23
+ <line num="71" count="273" type="stmt"/>
24
+ <line num="72" count="83" type="stmt"/>
25
+ <line num="74" count="83" 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="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"/>
29
+ <line num="81" count="273" type="stmt"/>
30
+ <line num="82" count="83" type="cond" truecount="1" falsecount="1"/>
31
+ <line num="84" count="83" type="cond" truecount="1" falsecount="1"/>
32
+ <line num="85" count="83" type="stmt"/>
33
+ <line num="86" count="83" type="stmt"/>
34
+ <line num="93" count="83" type="stmt"/>
35
+ <line num="94" count="83" type="cond" truecount="2" falsecount="0"/>
36
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"/>
37
+ <line num="97" count="77" type="stmt"/>
38
+ <line num="105" count="273" type="stmt"/>
39
+ <line num="106" count="83" 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="271" type="stmt"/>
44
- <line num="117" count="19" type="stmt"/>
43
+ <line num="114" count="273" type="stmt"/>
44
+ <line num="117" count="20" type="stmt"/>
45
45
  </file>
46
46
  </package>
47
47
  <package name="src.components.MlCenterPosition">
@@ -115,28 +115,28 @@
115
115
  <line num="83" count="0" type="stmt"/>
116
116
  <line num="86" count="4" type="stmt"/>
117
117
  <line num="101" count="4" type="stmt"/>
118
- <line num="103" count="4" type="stmt"/>
119
- <line num="105" count="4" type="stmt"/>
120
- <line num="109" count="16" type="stmt"/>
121
- <line num="110" count="12" type="cond" truecount="4" falsecount="0"/>
122
- <line num="112" count="4" type="stmt"/>
123
- <line num="113" count="0" type="cond" truecount="0" falsecount="2"/>
124
- <line num="115" count="0" type="cond" truecount="0" falsecount="2"/>
118
+ <line num="102" count="4" type="stmt"/>
119
+ <line num="104" count="4" type="stmt"/>
120
+ <line num="108" count="16" type="stmt"/>
121
+ <line num="109" count="12" type="cond" truecount="4" falsecount="0"/>
122
+ <line num="111" count="4" type="stmt"/>
123
+ <line num="112" count="0" type="cond" truecount="0" falsecount="2"/>
124
+ <line num="114" count="0" type="cond" truecount="0" falsecount="2"/>
125
+ <line num="115" count="0" type="stmt"/>
125
126
  <line num="116" count="0" type="stmt"/>
126
- <line num="117" count="0" type="stmt"/>
127
- <line num="122" count="4" type="stmt"/>
128
- <line num="124" count="4" type="stmt"/>
129
- <line num="126" count="4" type="stmt"/>
130
- <line num="127" count="2" type="cond" truecount="1" falsecount="1"/>
127
+ <line num="121" count="4" type="stmt"/>
128
+ <line num="123" count="4" type="stmt"/>
129
+ <line num="125" count="4" type="stmt"/>
130
+ <line num="126" count="2" type="cond" truecount="1" falsecount="1"/>
131
+ <line num="128" count="2" type="stmt"/>
131
132
  <line num="129" count="2" type="stmt"/>
132
- <line num="130" count="2" type="stmt"/>
133
- <line num="134" count="16" type="stmt"/>
134
- <line num="135" count="8" type="cond" truecount="4" falsecount="0"/>
135
- <line num="136" count="4" type="stmt"/>
136
- <line num="140" count="16" type="stmt"/>
137
- <line num="141" count="4" type="cond" truecount="3" falsecount="1"/>
138
- <line num="144" count="0" type="stmt"/>
139
- <line num="148" count="16" type="stmt"/>
133
+ <line num="133" count="16" type="stmt"/>
134
+ <line num="134" count="8" type="cond" truecount="4" falsecount="0"/>
135
+ <line num="135" count="4" type="stmt"/>
136
+ <line num="139" count="16" type="stmt"/>
137
+ <line num="140" count="4" type="cond" truecount="3" falsecount="1"/>
138
+ <line num="143" count="0" type="stmt"/>
139
+ <line num="147" count="16" type="stmt"/>
140
140
  </file>
141
141
  </package>
142
142
  <package name="src.components.MlFillExtrusionLayer">
@@ -209,418 +209,18 @@
209
209
  <line num="235" count="11" type="stmt"/>
210
210
  </file>
211
211
  </package>
212
- <package name="src.components.MlGPXViewer">
213
- <metrics statements="391" coveredstatements="57" conditionals="247" coveredconditionals="8" methods="54" coveredmethods="7"/>
214
- <file name="MlGPXViewer.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlGPXViewer/MlGPXViewer.tsx">
215
- <metrics statements="115" coveredstatements="50" conditionals="44" coveredconditionals="7" methods="24" coveredmethods="6"/>
216
- <line num="42" count="10" type="stmt"/>
217
- <line num="43" count="18" type="stmt"/>
218
- <line num="44" count="18" type="stmt"/>
219
- <line num="45" count="18" type="stmt"/>
220
- <line num="46" count="18" type="stmt"/>
221
- <line num="47" count="18" type="stmt"/>
222
- <line num="48" count="18" type="stmt"/>
223
- <line num="50" count="18" type="stmt"/>
224
- <line num="51" count="18" type="stmt"/>
225
- <line num="52" count="18" type="stmt"/>
226
- <line num="53" count="18" type="stmt"/>
227
- <line num="54" count="18" type="stmt"/>
228
- <line num="55" count="18" type="stmt"/>
229
- <line num="57" count="18" type="stmt"/>
230
- <line num="64" count="18" type="stmt"/>
231
- <line num="65" count="12" type="cond" truecount="4" falsecount="0"/>
232
- <line num="67" count="6" type="stmt"/>
233
- <line num="69" count="6" type="stmt"/>
234
- <line num="77" count="6" type="stmt"/>
235
- <line num="90" count="6" type="stmt"/>
236
- <line num="105" count="6" type="stmt"/>
237
- <line num="106" count="12" type="cond" truecount="1" falsecount="1"/>
238
- <line num="108" count="12" type="stmt"/>
239
- <line num="110" count="6" type="stmt"/>
240
- <line num="114" count="0" type="cond" truecount="0" falsecount="2"/>
241
- <line num="117" count="0" type="stmt"/>
242
- <line num="119" count="0" type="stmt"/>
243
- <line num="124" count="0" type="stmt"/>
244
- <line num="125" count="0" type="cond" truecount="0" falsecount="2"/>
245
- <line num="131" count="0" type="stmt"/>
246
- <line num="136" count="6" type="stmt"/>
247
- <line num="140" count="0" type="cond" truecount="0" falsecount="2"/>
248
- <line num="142" count="0" type="stmt"/>
249
- <line num="143" count="0" type="stmt"/>
250
- <line num="148" count="6" type="stmt"/>
251
- <line num="151" count="18" type="stmt"/>
252
- <line num="152" count="18" type="stmt"/>
253
- <line num="153" count="18" type="stmt"/>
254
- <line num="154" count="0" type="stmt"/>
255
- <line num="155" count="0" type="stmt"/>
256
- <line num="157" count="18" type="stmt"/>
257
- <line num="158" count="0" type="stmt"/>
258
- <line num="160" count="18" type="stmt"/>
259
- <line num="161" count="0" type="stmt"/>
260
- <line num="162" count="0" type="stmt"/>
261
- <line num="165" count="18" type="stmt"/>
262
- <line num="166" count="18" type="stmt"/>
263
- <line num="168" count="18" type="stmt"/>
264
- <line num="170" count="18" type="stmt"/>
265
- <line num="172" count="18" type="stmt"/>
266
- <line num="173" count="15" type="stmt"/>
267
- <line num="174" count="15" type="stmt"/>
268
- <line num="175" count="15" type="stmt"/>
269
- <line num="176" count="15" type="stmt"/>
270
- <line num="180" count="18" type="stmt"/>
271
- <line num="181" count="0" type="stmt"/>
272
- <line num="182" count="0" type="stmt"/>
273
- <line num="185" count="18" type="stmt"/>
274
- <line num="186" count="6" type="cond" truecount="1" falsecount="1"/>
275
- <line num="188" count="0" type="cond" truecount="0" falsecount="2"/>
276
- <line num="190" count="0" type="stmt"/>
277
- <line num="191" count="0" type="cond" truecount="0" falsecount="2"/>
278
- <line num="193" count="0" type="stmt"/>
279
- <line num="197" count="18" type="stmt"/>
280
- <line num="198" count="0" type="stmt"/>
281
- <line num="200" count="0" type="cond" truecount="0" falsecount="2"/>
282
- <line num="201" count="0" type="cond" truecount="0" falsecount="2"/>
283
- <line num="202" count="0" type="stmt"/>
284
- <line num="205" count="0" type="cond" truecount="0" falsecount="2"/>
285
- <line num="206" count="0" type="stmt"/>
286
- <line num="207" count="0" type="stmt"/>
287
- <line num="208" count="0" type="cond" truecount="0" falsecount="2"/>
288
- <line num="210" count="0" type="stmt"/>
289
- <line num="212" count="0" type="stmt"/>
290
- <line num="213" count="0" type="stmt"/>
291
- <line num="218" count="0" type="stmt"/>
292
- <line num="221" count="18" type="stmt"/>
293
- <line num="222" count="0" type="cond" truecount="0" falsecount="4"/>
294
- <line num="224" count="0" type="stmt"/>
295
- <line num="225" count="0" type="stmt"/>
296
- <line num="226" count="0" type="stmt"/>
297
- <line num="227" count="0" type="stmt"/>
298
- <line num="228" count="0" type="stmt"/>
299
- <line num="229" count="0" type="stmt"/>
300
- <line num="230" count="0" type="stmt"/>
301
- <line num="231" count="0" type="stmt"/>
302
- <line num="233" count="0" type="cond" truecount="0" falsecount="2"/>
303
- <line num="234" count="0" type="stmt"/>
304
- <line num="236" count="0" type="cond" truecount="0" falsecount="2"/>
305
- <line num="237" count="0" type="stmt"/>
306
- <line num="242" count="0" type="stmt"/>
307
- <line num="245" count="0" type="stmt"/>
308
- <line num="246" count="0" type="stmt"/>
309
- <line num="247" count="0" type="stmt"/>
310
- <line num="248" count="0" type="stmt"/>
311
- <line num="249" count="0" type="stmt"/>
312
- <line num="251" count="0" type="stmt"/>
313
- <line num="255" count="18" type="stmt"/>
314
- <line num="256" count="0" type="stmt"/>
315
- <line num="259" count="18" type="stmt"/>
316
- <line num="260" count="0" type="cond" truecount="0" falsecount="2"/>
317
- <line num="262" count="0" type="stmt"/>
318
- <line num="263" count="0" type="cond" truecount="0" falsecount="2"/>
319
- <line num="264" count="0" type="stmt"/>
320
- <line num="265" count="0" type="stmt"/>
321
- <line num="266" count="0" type="cond" truecount="0" falsecount="2"/>
322
- <line num="268" count="0" type="stmt"/>
323
- <line num="271" count="0" type="stmt"/>
324
- <line num="273" count="0" type="stmt"/>
325
- <line num="276" count="18" type="stmt"/>
326
- <line num="277" count="0" type="cond" truecount="0" falsecount="2"/>
327
- <line num="279" count="0" type="stmt"/>
328
- <line num="283" count="18" type="stmt"/>
329
- <line num="337" count="0" type="stmt"/>
330
- <line num="374" count="10" type="stmt"/>
331
- </file>
332
- <file name="gpxConverter.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlGPXViewer/gpxConverter.js">
333
- <metrics statements="276" coveredstatements="7" conditionals="203" coveredconditionals="1" methods="30" coveredmethods="1"/>
334
- <line num="14" count="10" type="stmt"/>
335
- <line num="15" count="10" type="stmt"/>
336
- <line num="16" count="10" type="stmt"/>
337
- <line num="17" count="10" type="stmt"/>
338
- <line num="20" count="0" type="cond" truecount="0" falsecount="4"/>
339
- <line num="21" count="0" type="stmt"/>
340
- <line num="22" count="0" type="stmt"/>
341
- <line num="24" count="0" type="stmt"/>
342
- <line num="28" count="0" type="stmt"/>
343
- <line num="31" count="0" type="stmt"/>
344
- <line num="34" count="0" type="stmt"/>
345
- <line num="38" count="0" type="stmt"/>
346
- <line num="39" count="0" type="cond" truecount="0" falsecount="2"/>
347
- <line num="43" count="0" type="cond" truecount="0" falsecount="2"/>
348
- <line num="44" count="0" type="stmt"/>
349
- <line num="46" count="0" type="stmt"/>
350
- <line num="50" count="0" type="stmt"/>
351
- <line num="51" count="0" type="stmt"/>
352
- <line num="53" count="0" type="stmt"/>
353
- <line num="57" count="0" type="cond" truecount="0" falsecount="2"/>
354
- <line num="58" count="0" type="stmt"/>
355
- <line num="60" count="0" type="cond" truecount="0" falsecount="3"/>
356
- <line num="64" count="0" type="stmt"/>
357
- <line num="67" count="0" type="stmt"/>
358
- <line num="68" count="0" type="stmt"/>
359
- <line num="69" count="0" type="cond" truecount="0" falsecount="2"/>
360
- <line num="71" count="0" type="stmt"/>
361
- <line num="75" count="0" type="stmt"/>
362
- <line num="79" count="0" type="stmt"/>
363
- <line num="83" count="0" type="stmt"/>
364
- <line num="84" count="0" type="stmt"/>
365
- <line num="85" count="0" type="stmt"/>
366
- <line num="86" count="0" type="stmt"/>
367
- <line num="88" count="0" type="stmt"/>
368
- <line num="91" count="0" type="stmt"/>
369
- <line num="92" count="0" type="stmt"/>
370
- <line num="94" count="0" type="cond" truecount="0" falsecount="2"/>
371
- <line num="95" count="0" type="stmt"/>
372
- <line num="97" count="0" type="cond" truecount="0" falsecount="2"/>
373
- <line num="98" count="0" type="stmt"/>
374
- <line num="99" count="0" type="cond" truecount="0" falsecount="2"/>
375
- <line num="100" count="0" type="stmt"/>
376
- <line num="103" count="0" type="stmt"/>
377
- <line num="112" count="0" type="stmt"/>
378
- <line num="119" count="10" type="cond" truecount="1" falsecount="1"/>
379
- <line num="123" count="0" type="cond" truecount="0" falsecount="2"/>
380
- <line num="124" count="0" type="stmt"/>
381
- <line num="125" count="0" type="cond" truecount="0" falsecount="5"/>
382
- <line num="126" count="0" type="stmt"/>
383
- <line num="128" count="0" type="stmt"/>
384
- <line num="136" count="0" type="stmt"/>
385
- <line num="139" count="10" type="stmt"/>
386
- <line num="141" count="0" type="stmt"/>
387
- <line num="143" count="0" type="stmt"/>
388
- <line num="144" count="0" type="stmt"/>
389
- <line num="146" count="0" type="stmt"/>
390
- <line num="149" count="0" type="stmt"/>
391
- <line num="151" count="0" type="stmt"/>
392
- <line num="152" count="0" type="stmt"/>
393
- <line num="153" count="0" type="stmt"/>
394
- <line num="155" count="0" type="stmt"/>
395
- <line num="156" count="0" type="stmt"/>
396
- <line num="157" count="0" type="stmt"/>
397
- <line num="158" count="0" type="stmt"/>
398
- <line num="160" count="0" type="stmt"/>
399
- <line num="161" count="0" type="stmt"/>
400
- <line num="162" count="0" type="stmt"/>
401
- <line num="163" count="0" type="stmt"/>
402
- <line num="164" count="0" type="stmt"/>
403
- <line num="165" count="0" type="stmt"/>
404
- <line num="167" count="0" type="stmt"/>
405
- <line num="169" count="0" type="stmt"/>
406
- <line num="170" count="0" type="stmt"/>
407
- <line num="174" count="0" type="cond" truecount="0" falsecount="2"/>
408
- <line num="175" count="0" type="cond" truecount="0" falsecount="2"/>
409
- <line num="176" count="0" type="stmt"/>
410
- <line num="178" count="0" type="cond" truecount="0" falsecount="4"/>
411
- <line num="179" count="0" type="stmt"/>
412
- <line num="181" count="0" type="cond" truecount="0" falsecount="2"/>
413
- <line num="182" count="0" type="stmt"/>
414
- <line num="183" count="0" type="stmt"/>
415
- <line num="185" count="0" type="cond" truecount="0" falsecount="2"/>
416
- <line num="188" count="0" type="stmt"/>
417
- <line num="191" count="0" type="stmt"/>
418
- <line num="192" count="0" type="stmt"/>
419
- <line num="193" count="0" type="stmt"/>
420
- <line num="194" count="0" type="cond" truecount="0" falsecount="2"/>
421
- <line num="195" count="0" type="stmt"/>
422
- <line num="196" count="0" type="stmt"/>
423
- <line num="197" count="0" type="stmt"/>
424
- <line num="198" count="0" type="stmt"/>
425
- <line num="209" count="0" type="stmt"/>
426
- <line num="210" count="0" type="stmt"/>
427
- <line num="211" count="0" type="cond" truecount="0" falsecount="2"/>
428
- <line num="212" count="0" type="stmt"/>
429
- <line num="214" count="0" type="cond" truecount="0" falsecount="2"/>
430
- <line num="215" count="0" type="stmt"/>
431
- <line num="217" count="0" type="cond" truecount="0" falsecount="2"/>
432
- <line num="218" count="0" type="stmt"/>
433
- <line num="220" count="0" type="stmt"/>
434
- <line num="221" count="0" type="stmt"/>
435
- <line num="222" count="0" type="cond" truecount="0" falsecount="2"/>
436
- <line num="223" count="0" type="stmt"/>
437
- <line num="224" count="0" type="stmt"/>
438
- <line num="225" count="0" type="cond" truecount="0" falsecount="2"/>
439
- <line num="226" count="0" type="stmt"/>
440
- <line num="230" count="0" type="cond" truecount="0" falsecount="2"/>
441
- <line num="231" count="0" type="stmt"/>
442
- <line num="235" count="0" type="cond" truecount="0" falsecount="2"/>
443
- <line num="236" count="0" type="stmt"/>
444
- <line num="237" count="0" type="stmt"/>
445
- <line num="238" count="0" type="stmt"/>
446
- <line num="239" count="0" type="stmt"/>
447
- <line num="241" count="0" type="stmt"/>
448
- <line num="245" count="0" type="cond" truecount="0" falsecount="4"/>
449
- <line num="246" count="0" type="stmt"/>
450
- <line num="247" count="0" type="stmt"/>
451
- <line num="251" count="0" type="cond" truecount="0" falsecount="2"/>
452
- <line num="256" count="0" type="stmt"/>
453
- <line num="262" count="0" type="stmt"/>
454
- <line num="264" count="0" type="stmt"/>
455
- <line num="265" count="0" type="stmt"/>
456
- <line num="266" count="0" type="stmt"/>
457
- <line num="267" count="0" type="stmt"/>
458
- <line num="268" count="0" type="stmt"/>
459
- <line num="269" count="0" type="stmt"/>
460
- <line num="270" count="0" type="stmt"/>
461
- <line num="271" count="0" type="stmt"/>
462
- <line num="272" count="0" type="stmt"/>
463
- <line num="273" count="0" type="stmt"/>
464
- <line num="274" count="0" type="stmt"/>
465
- <line num="276" count="0" type="cond" truecount="0" falsecount="2"/>
466
- <line num="277" count="0" type="cond" truecount="0" falsecount="2"/>
467
- <line num="278" count="0" type="cond" truecount="0" falsecount="2"/>
468
- <line num="279" count="0" type="cond" truecount="0" falsecount="2"/>
469
- <line num="280" count="0" type="cond" truecount="0" falsecount="2"/>
470
- <line num="281" count="0" type="stmt"/>
471
- <line num="284" count="0" type="stmt"/>
472
- <line num="285" count="0" type="cond" truecount="0" falsecount="2"/>
473
- <line num="286" count="0" type="stmt"/>
474
- <line num="288" count="0" type="cond" truecount="0" falsecount="2"/>
475
- <line num="289" count="0" type="stmt"/>
476
- <line num="290" count="0" type="stmt"/>
477
- <line num="293" count="0" type="stmt"/>
478
- <line num="294" count="0" type="cond" truecount="0" falsecount="2"/>
479
- <line num="295" count="0" type="cond" truecount="0" falsecount="2"/>
480
- <line num="296" count="0" type="cond" truecount="0" falsecount="2"/>
481
- <line num="297" count="0" type="stmt"/>
482
- <line num="298" count="0" type="cond" truecount="0" falsecount="2"/>
483
- <line num="299" count="0" type="stmt"/>
484
- <line num="300" count="0" type="cond" truecount="0" falsecount="2"/>
485
- <line num="301" count="0" type="stmt"/>
486
- <line num="302" count="0" type="cond" truecount="0" falsecount="2"/>
487
- <line num="307" count="0" type="cond" truecount="0" falsecount="2"/>
488
- <line num="308" count="0" type="cond" truecount="0" falsecount="2"/>
489
- <line num="309" count="0" type="stmt"/>
490
- <line num="310" count="0" type="stmt"/>
491
- <line num="311" count="0" type="stmt"/>
492
- <line num="313" count="0" type="cond" truecount="0" falsecount="2"/>
493
- <line num="314" count="0" type="stmt"/>
494
- <line num="316" count="0" type="cond" truecount="0" falsecount="2"/>
495
- <line num="317" count="0" type="stmt"/>
496
- <line num="318" count="0" type="stmt"/>
497
- <line num="319" count="0" type="stmt"/>
498
- <line num="320" count="0" type="stmt"/>
499
- <line num="321" count="0" type="cond" truecount="0" falsecount="2"/>
500
- <line num="322" count="0" type="cond" truecount="0" falsecount="2"/>
501
- <line num="323" count="0" type="cond" truecount="0" falsecount="2"/>
502
- <line num="325" count="0" type="cond" truecount="0" falsecount="2"/>
503
- <line num="326" count="0" type="stmt"/>
504
- <line num="327" count="0" type="stmt"/>
505
- <line num="328" count="0" type="stmt"/>
506
- <line num="329" count="0" type="stmt"/>
507
- <line num="330" count="0" type="stmt"/>
508
- <line num="331" count="0" type="cond" truecount="0" falsecount="2"/>
509
- <line num="332" count="0" type="cond" truecount="0" falsecount="2"/>
510
- <line num="333" count="0" type="cond" truecount="0" falsecount="6"/>
511
- <line num="334" count="0" type="cond" truecount="0" falsecount="2"/>
512
- <line num="335" count="0" type="cond" truecount="0" falsecount="4"/>
513
- <line num="337" count="0" type="cond" truecount="0" falsecount="2"/>
514
- <line num="338" count="0" type="stmt"/>
515
- <line num="339" count="0" type="stmt"/>
516
- <line num="341" count="0" type="stmt"/>
517
- <line num="342" count="0" type="stmt"/>
518
- <line num="344" count="0" type="stmt"/>
519
- <line num="345" count="0" type="stmt"/>
520
- <line num="348" count="0" type="cond" truecount="0" falsecount="2"/>
521
- <line num="349" count="0" type="stmt"/>
522
- <line num="351" count="0" type="cond" truecount="0" falsecount="2"/>
523
- <line num="352" count="0" type="stmt"/>
524
- <line num="357" count="0" type="stmt"/>
525
- <line num="368" count="0" type="cond" truecount="0" falsecount="2"/>
526
- <line num="369" count="0" type="stmt"/>
527
- <line num="371" count="0" type="stmt"/>
528
- <line num="375" count="0" type="stmt"/>
529
- <line num="376" count="0" type="stmt"/>
530
- <line num="377" count="0" type="stmt"/>
531
- <line num="379" count="0" type="stmt"/>
532
- <line num="381" count="0" type="stmt"/>
533
- <line num="382" count="0" type="stmt"/>
534
- <line num="383" count="0" type="cond" truecount="0" falsecount="2"/>
535
- <line num="385" count="0" type="stmt"/>
536
- <line num="386" count="0" type="stmt"/>
537
- <line num="387" count="0" type="cond" truecount="0" falsecount="2"/>
538
- <line num="389" count="0" type="stmt"/>
539
- <line num="390" count="0" type="stmt"/>
540
- <line num="393" count="0" type="stmt"/>
541
- <line num="394" count="0" type="stmt"/>
542
- <line num="396" count="0" type="stmt"/>
543
- <line num="399" count="0" type="stmt"/>
544
- <line num="400" count="0" type="stmt"/>
545
- <line num="401" count="0" type="stmt"/>
546
- <line num="402" count="0" type="stmt"/>
547
- <line num="403" count="0" type="stmt"/>
548
- <line num="404" count="0" type="cond" truecount="0" falsecount="2"/>
549
- <line num="405" count="0" type="stmt"/>
550
- <line num="406" count="0" type="stmt"/>
551
- <line num="407" count="0" type="stmt"/>
552
- <line num="408" count="0" type="cond" truecount="0" falsecount="2"/>
553
- <line num="409" count="0" type="cond" truecount="0" falsecount="4"/>
554
- <line num="410" count="0" type="cond" truecount="0" falsecount="2"/>
555
- <line num="411" count="0" type="cond" truecount="0" falsecount="2"/>
556
- <line num="414" count="0" type="stmt"/>
557
- <line num="421" count="0" type="stmt"/>
558
- <line num="422" count="0" type="stmt"/>
559
- <line num="423" count="0" type="stmt"/>
560
- <line num="424" count="0" type="stmt"/>
561
- <line num="426" count="0" type="stmt"/>
562
- <line num="427" count="0" type="stmt"/>
563
- <line num="428" count="0" type="cond" truecount="0" falsecount="2"/>
564
- <line num="429" count="0" type="cond" truecount="0" falsecount="2"/>
565
- <line num="430" count="0" type="cond" truecount="0" falsecount="4"/>
566
- <line num="431" count="0" type="cond" truecount="0" falsecount="5"/>
567
- <line num="432" count="0" type="cond" truecount="0" falsecount="2"/>
568
- <line num="433" count="0" type="stmt"/>
569
- <line num="434" count="0" type="stmt"/>
570
- <line num="437" count="0" type="cond" truecount="0" falsecount="4"/>
571
- <line num="438" count="0" type="stmt"/>
572
- <line num="440" count="0" type="cond" truecount="0" falsecount="2"/>
573
- <line num="445" count="0" type="cond" truecount="0" falsecount="2"/>
574
- <line num="446" count="0" type="stmt"/>
575
- <line num="447" count="0" type="stmt"/>
576
- <line num="448" count="0" type="cond" truecount="0" falsecount="4"/>
577
- <line num="449" count="0" type="cond" truecount="0" falsecount="2"/>
578
- <line num="450" count="0" type="cond" truecount="0" falsecount="2"/>
579
- <line num="451" count="0" type="stmt"/>
580
- <line num="461" count="0" type="stmt"/>
581
- <line num="462" count="0" type="cond" truecount="0" falsecount="2"/>
582
- <line num="463" count="0" type="stmt"/>
583
- <line num="464" count="0" type="stmt"/>
584
- <line num="465" count="0" type="stmt"/>
585
- <line num="473" count="0" type="stmt"/>
586
- <line num="476" count="0" type="stmt"/>
587
- <line num="477" count="0" type="stmt"/>
588
- <line num="478" count="0" type="stmt"/>
589
- <line num="488" count="0" type="stmt"/>
590
- <line num="489" count="0" type="cond" truecount="0" falsecount="2"/>
591
- <line num="490" count="0" type="stmt"/>
592
- <line num="491" count="0" type="cond" truecount="0" falsecount="2"/>
593
- <line num="492" count="0" type="stmt"/>
594
- <line num="493" count="0" type="stmt"/>
595
- <line num="494" count="0" type="stmt"/>
596
- <line num="495" count="0" type="cond" truecount="0" falsecount="2"/>
597
- <line num="496" count="0" type="cond" truecount="0" falsecount="2"/>
598
- <line num="498" count="0" type="cond" truecount="0" falsecount="2"/>
599
- <line num="501" count="0" type="stmt"/>
600
- <line num="504" count="0" type="stmt"/>
601
- <line num="505" count="0" type="stmt"/>
602
- <line num="506" count="0" type="cond" truecount="0" falsecount="2"/>
603
- <line num="507" count="0" type="stmt"/>
604
- <line num="508" count="0" type="stmt"/>
605
- <line num="509" count="0" type="stmt"/>
606
- <line num="510" count="0" type="stmt"/>
607
- <line num="512" count="0" type="stmt"/>
608
- <line num="514" count="0" type="stmt"/>
609
- <line num="517" count="10" type="stmt"/>
610
- </file>
611
- </package>
612
212
  <package name="src.components.MlGeoJsonLayer">
613
213
  <metrics statements="4" coveredstatements="4" conditionals="8" coveredconditionals="7" methods="1" coveredmethods="1"/>
614
214
  <file name="MlGeoJsonLayer.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlGeoJsonLayer/MlGeoJsonLayer.tsx">
615
215
  <metrics statements="4" coveredstatements="4" conditionals="8" coveredconditionals="7" methods="1" coveredmethods="1"/>
616
- <line num="99" count="11" type="stmt"/>
617
- <line num="100" count="32" type="cond" truecount="1" falsecount="1"/>
618
- <line num="102" count="32" type="stmt"/>
619
- <line num="118" count="32" type="stmt"/>
216
+ <line num="106" count="11" type="stmt"/>
217
+ <line num="107" count="32" type="cond" truecount="1" falsecount="1"/>
218
+ <line num="109" count="32" type="stmt"/>
219
+ <line num="125" count="32" type="stmt"/>
620
220
  </file>
621
221
  </package>
622
222
  <package name="src.components.MlGeoJsonLayer.story_utils">
623
- <metrics statements="56" coveredstatements="0" conditionals="10" coveredconditionals="0" methods="18" coveredmethods="0"/>
223
+ <metrics statements="60" coveredstatements="0" conditionals="10" coveredconditionals="0" methods="20" coveredmethods="0"/>
624
224
  <file name="MlGeoJsonLayer.lineStyler.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlGeoJsonLayer/story_utils/MlGeoJsonLayer.lineStyler.js">
625
225
  <metrics statements="33" coveredstatements="0" conditionals="8" coveredconditionals="0" methods="10" coveredmethods="0"/>
626
226
  <line num="17" count="0" type="stmt"/>
@@ -683,6 +283,16 @@
683
283
  <line num="146" count="0" type="stmt"/>
684
284
  <line num="158" count="0" type="stmt"/>
685
285
  </file>
286
+ <file name="MlGeojsonLayerCircleStyler.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlGeoJsonLayer/story_utils/MlGeojsonLayerCircleStyler.tsx">
287
+ <metrics statements="2" coveredstatements="0" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="0"/>
288
+ <line num="5" count="0" type="stmt"/>
289
+ <line num="6" count="0" type="stmt"/>
290
+ </file>
291
+ <file name="MlGeojsonLayerHeatMapStyler.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlGeoJsonLayer/story_utils/MlGeojsonLayerHeatMapStyler.tsx">
292
+ <metrics statements="2" coveredstatements="0" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="0"/>
293
+ <line num="5" count="0" type="stmt"/>
294
+ <line num="7" count="0" type="stmt"/>
295
+ </file>
686
296
  </package>
687
297
  <package name="src.components.MlGeojsonLayerWithSource">
688
298
  <metrics statements="15" coveredstatements="0" conditionals="4" coveredconditionals="0" methods="2" coveredmethods="0"/>
@@ -705,69 +315,55 @@
705
315
  <line num="125" count="0" type="stmt"/>
706
316
  </file>
707
317
  </package>
318
+ <package name="src.components.MlGpxViewer">
319
+ <metrics statements="19" coveredstatements="17" conditionals="8" coveredconditionals="7" methods="3" coveredmethods="2"/>
320
+ <file name="MlGpxViewer.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlGpxViewer/MlGpxViewer.tsx">
321
+ <metrics statements="19" coveredstatements="17" conditionals="8" coveredconditionals="7" methods="3" coveredmethods="2"/>
322
+ <line num="35" count="10" type="stmt"/>
323
+ <line num="36" count="24" type="stmt"/>
324
+ <line num="37" count="24" type="stmt"/>
325
+ <line num="38" count="24" type="stmt"/>
326
+ <line num="39" count="24" type="stmt"/>
327
+ <line num="40" count="24" type="stmt"/>
328
+ <line num="42" count="24" type="stmt"/>
329
+ <line num="44" count="0" type="stmt"/>
330
+ <line num="47" count="24" type="stmt"/>
331
+ <line num="56" count="24" type="stmt"/>
332
+ <line num="69" count="24" type="stmt"/>
333
+ <line num="83" count="24" type="stmt"/>
334
+ <line num="85" count="24" type="cond" truecount="4" falsecount="0"/>
335
+ <line num="87" count="12" type="cond" truecount="1" falsecount="1"/>
336
+ <line num="88" count="0" type="stmt"/>
337
+ <line num="93" count="12" type="stmt"/>
338
+ <line num="94" count="12" type="stmt"/>
339
+ <line num="98" count="24" type="stmt"/>
340
+ <line num="101" count="10" type="stmt"/>
341
+ </file>
342
+ </package>
708
343
  <package name="src.components.MlImageMarkerLayer">
709
- <metrics statements="59" coveredstatements="31" conditionals="59" coveredconditionals="21" methods="10" coveredmethods="6"/>
344
+ <metrics statements="20" coveredstatements="11" conditionals="22" coveredconditionals="9" methods="4" coveredmethods="2"/>
710
345
  <file name="MlImageMarkerLayer.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlImageMarkerLayer/MlImageMarkerLayer.tsx">
711
- <metrics statements="59" coveredstatements="31" conditionals="59" coveredconditionals="21" methods="10" coveredmethods="6"/>
712
- <line num="34" count="10" type="stmt"/>
713
- <line num="35" count="12" type="stmt"/>
714
- <line num="40" count="12" type="stmt"/>
715
- <line num="41" count="12" type="stmt"/>
716
- <line num="42" count="12" type="cond" truecount="2" falsecount="0"/>
717
- <line num="43" count="12" type="cond" truecount="2" falsecount="0"/>
718
- <line num="46" count="12" type="stmt"/>
719
- <line num="47" count="4" type="cond" truecount="1" falsecount="1"/>
720
- <line num="52" count="4" type="stmt"/>
721
- <line num="56" count="0" type="cond" truecount="0" falsecount="2"/>
722
- <line num="57" count="0" type="stmt"/>
723
- <line num="58" count="0" type="stmt"/>
724
- <line num="61" count="0" type="cond" truecount="0" falsecount="2"/>
725
- <line num="62" count="0" type="stmt"/>
726
- <line num="63" count="0" type="stmt"/>
727
- <line num="68" count="12" type="stmt"/>
728
- <line num="69" count="0" type="cond" truecount="0" falsecount="2"/>
729
- <line num="70" count="0" type="stmt"/>
730
- <line num="72" count="0" type="stmt"/>
731
- <line num="75" count="0" type="cond" truecount="0" falsecount="4"/>
732
- <line num="76" count="0" type="stmt"/>
733
- <line num="77" count="0" type="cond" truecount="0" falsecount="2"/>
734
- <line num="79" count="0" type="cond" truecount="0" falsecount="4"/>
735
- <line num="81" count="0" type="stmt"/>
736
- <line num="83" count="0" type="cond" truecount="0" falsecount="2"/>
346
+ <metrics statements="20" coveredstatements="11" conditionals="22" coveredconditionals="9" methods="4" coveredmethods="2"/>
347
+ <line num="42" count="10" type="stmt"/>
348
+ <line num="43" count="16" type="stmt"/>
349
+ <line num="48" count="16" type="stmt"/>
350
+ <line num="49" count="16" type="cond" truecount="2" falsecount="0"/>
351
+ <line num="50" count="16" type="cond" truecount="2" falsecount="0"/>
352
+ <line num="52" count="16" type="stmt"/>
353
+ <line num="67" count="16" type="stmt"/>
354
+ <line num="68" count="0" type="cond" truecount="0" falsecount="2"/>
355
+ <line num="69" count="0" type="stmt"/>
356
+ <line num="72" count="0" type="cond" truecount="0" falsecount="4"/>
357
+ <line num="73" count="0" type="stmt"/>
358
+ <line num="74" count="0" type="cond" truecount="0" falsecount="2"/>
359
+ <line num="76" count="0" type="cond" truecount="0" falsecount="4"/>
360
+ <line num="78" count="0" type="stmt"/>
737
361
  <line num="84" count="0" type="stmt"/>
738
- <line num="88" count="0" type="cond" truecount="0" falsecount="2"/>
739
- <line num="89" count="0" type="stmt"/>
740
- <line num="94" count="12" type="stmt"/>
741
- <line num="99" count="4" type="cond" truecount="4" falsecount="1"/>
742
- <line num="101" count="4" type="stmt"/>
743
- <line num="106" count="4" type="stmt"/>
744
- <line num="107" count="4" type="stmt"/>
745
- <line num="110" count="4" type="stmt"/>
746
- <line num="113" count="0" type="cond" truecount="0" falsecount="2"/>
747
- <line num="118" count="0" type="stmt"/>
748
- <line num="119" count="0" type="stmt"/>
749
- <line num="120" count="0" type="stmt"/>
750
- <line num="121" count="0" type="stmt"/>
751
- <line num="127" count="4" type="cond" truecount="1" falsecount="1"/>
752
- <line num="128" count="0" type="stmt"/>
753
- <line num="132" count="12" type="stmt"/>
754
- <line num="133" count="12" type="cond" truecount="5" falsecount="0"/>
755
- <line num="134" count="8" type="stmt"/>
756
- <line num="136" count="4" type="stmt"/>
757
- <line num="138" count="4" type="cond" truecount="1" falsecount="1"/>
758
- <line num="139" count="0" type="stmt"/>
759
- <line num="142" count="4" type="cond" truecount="1" falsecount="1"/>
760
- <line num="143" count="0" type="stmt"/>
761
- <line num="144" count="0" type="stmt"/>
762
- <line num="147" count="4" type="stmt"/>
763
- <line num="151" count="12" type="stmt"/>
764
- <line num="152" count="12" type="cond" truecount="1" falsecount="1"/>
765
- <line num="154" count="12" type="stmt"/>
766
- <line num="157" count="12" type="stmt"/>
767
- <line num="158" count="4" type="cond" truecount="1" falsecount="1"/>
768
- <line num="163" count="4" type="stmt"/>
769
- <line num="166" count="0" type="stmt"/>
770
- <line num="171" count="12" type="stmt"/>
362
+ <line num="89" count="16" type="stmt"/>
363
+ <line num="90" count="16" type="cond" truecount="2" falsecount="0"/>
364
+ <line num="92" count="8" type="cond" truecount="1" falsecount="1"/>
365
+ <line num="93" count="0" type="stmt"/>
366
+ <line num="97" count="16" type="stmt"/>
771
367
  </file>
772
368
  </package>
773
369
  <package name="src.components.MlLayer">
@@ -783,119 +379,120 @@
783
379
  <metrics statements="62" coveredstatements="48" conditionals="36" coveredconditionals="23" methods="13" coveredmethods="7"/>
784
380
  <file name="MlLayerMagnify.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlLayerMagnify/MlLayerMagnify.tsx">
785
381
  <metrics statements="62" coveredstatements="48" conditionals="36" coveredconditionals="23" methods="13" coveredmethods="7"/>
786
- <line num="34" count="11" type="stmt"/>
382
+ <line num="32" count="11" type="stmt"/>
383
+ <line num="33" count="3" type="stmt"/>
384
+ <line num="34" count="3" type="stmt"/>
787
385
  <line num="35" count="3" type="stmt"/>
788
- <line num="36" count="3" type="stmt"/>
789
386
  <line num="37" count="3" type="stmt"/>
387
+ <line num="38" count="3" type="stmt"/>
790
388
  <line num="39" count="3" type="stmt"/>
791
389
  <line num="40" count="3" type="stmt"/>
792
- <line num="41" count="3" type="stmt"/>
793
390
  <line num="42" count="3" type="stmt"/>
794
- <line num="44" count="3" type="stmt"/>
795
- <line num="45" count="1" type="cond" truecount="1" falsecount="1"/>
796
- <line num="48" count="3" type="stmt"/>
797
- <line num="49" count="3" type="cond" truecount="3" falsecount="1"/>
798
- <line num="50" count="0" type="stmt"/>
799
- <line num="52" count="3" type="cond" truecount="4" falsecount="0"/>
800
- <line num="53" count="1" type="stmt"/>
801
- <line num="56" count="2" type="stmt"/>
802
- <line num="59" count="3" type="stmt"/>
803
- <line num="60" count="0" type="cond" truecount="0" falsecount="2"/>
804
- <line num="62" count="0" type="stmt"/>
805
- <line num="68" count="3" type="stmt"/>
806
- <line num="69" count="1" type="stmt"/>
391
+ <line num="43" count="1" type="cond" truecount="1" falsecount="1"/>
392
+ <line num="46" count="3" type="stmt"/>
393
+ <line num="47" count="3" type="cond" truecount="3" falsecount="1"/>
394
+ <line num="48" count="0" type="stmt"/>
395
+ <line num="50" count="3" type="cond" truecount="4" falsecount="0"/>
396
+ <line num="51" count="1" type="stmt"/>
397
+ <line num="54" count="2" type="stmt"/>
398
+ <line num="57" count="3" type="stmt"/>
399
+ <line num="58" count="0" type="cond" truecount="0" falsecount="2"/>
400
+ <line num="60" count="0" type="stmt"/>
401
+ <line num="66" count="3" type="stmt"/>
402
+ <line num="67" count="1" type="stmt"/>
403
+ <line num="68" count="1" type="stmt"/>
807
404
  <line num="70" count="1" type="stmt"/>
405
+ <line num="71" count="1" type="stmt"/>
808
406
  <line num="72" count="1" type="stmt"/>
809
- <line num="73" count="1" type="stmt"/>
810
- <line num="74" count="1" type="stmt"/>
811
- <line num="78" count="3" type="stmt"/>
812
- <line num="80" count="1" type="cond" truecount="1" falsecount="1"/>
813
- <line num="82" count="1" type="stmt"/>
814
- <line num="86" count="1" type="cond" truecount="2" falsecount="0"/>
815
- <line num="91" count="1" type="cond" truecount="2" falsecount="0"/>
816
- <line num="96" count="1" type="stmt"/>
817
- <line num="97" count="1" type="stmt"/>
407
+ <line num="76" count="3" type="stmt"/>
408
+ <line num="78" count="1" type="cond" truecount="1" falsecount="1"/>
409
+ <line num="80" count="1" type="stmt"/>
410
+ <line num="82" count="1" type="cond" truecount="2" falsecount="0"/>
411
+ <line num="87" count="1" type="cond" truecount="2" falsecount="0"/>
412
+ <line num="92" count="1" type="stmt"/>
413
+ <line num="93" count="1" type="stmt"/>
414
+ <line num="94" count="1" type="stmt"/>
415
+ <line num="95" count="1" type="stmt"/>
416
+ <line num="97" count="1" type="cond" truecount="2" falsecount="2"/>
818
417
  <line num="98" count="1" type="stmt"/>
819
418
  <line num="99" count="1" type="stmt"/>
820
- <line num="101" count="1" type="cond" truecount="1" falsecount="1"/>
821
- <line num="105" count="1" type="stmt"/>
822
- <line num="106" count="1" type="stmt"/>
823
- <line num="107" count="1" type="stmt"/>
824
- <line num="108" count="1" type="stmt"/>
825
- <line num="110" count="1" type="stmt"/>
826
- <line num="121" count="3" type="stmt"/>
827
- <line num="122" count="2" type="cond" truecount="4" falsecount="0"/>
828
- <line num="124" count="1" type="stmt"/>
829
- <line num="125" count="1" type="stmt"/>
830
- <line num="157" count="1" type="stmt"/>
831
- <line num="163" count="3" type="stmt"/>
832
- <line num="164" count="0" type="cond" truecount="0" falsecount="2"/>
833
- <line num="165" count="0" type="stmt"/>
834
- <line num="166" count="0" type="stmt"/>
419
+ <line num="100" count="1" type="stmt"/>
420
+ <line num="101" count="1" type="stmt"/>
421
+ <line num="103" count="1" type="stmt"/>
422
+ <line num="114" count="3" type="stmt"/>
423
+ <line num="115" count="2" type="cond" truecount="4" falsecount="0"/>
424
+ <line num="117" count="1" type="stmt"/>
425
+ <line num="118" count="1" type="stmt"/>
426
+ <line num="150" count="1" type="stmt"/>
427
+ <line num="156" count="3" type="stmt"/>
428
+ <line num="157" count="0" type="cond" truecount="0" falsecount="2"/>
429
+ <line num="158" count="0" type="stmt"/>
430
+ <line num="159" count="0" type="stmt"/>
431
+ <line num="161" count="0" type="stmt"/>
432
+ <line num="162" count="0" type="stmt"/>
433
+ <line num="166" count="3" type="stmt"/>
434
+ <line num="167" count="0" type="stmt"/>
835
435
  <line num="168" count="0" type="stmt"/>
836
- <line num="169" count="0" type="stmt"/>
837
- <line num="173" count="3" type="stmt"/>
838
- <line num="174" count="0" type="stmt"/>
839
- <line num="175" count="0" type="stmt"/>
840
- <line num="178" count="3" type="stmt"/>
841
- <line num="179" count="0" type="stmt"/>
842
- <line num="180" count="0" type="stmt"/>
843
- <line num="183" count="3" type="stmt"/>
844
- <line num="184" count="0" type="stmt"/>
845
- <line num="185" count="0" type="stmt"/>
846
- <line num="188" count="3" type="stmt"/>
847
- <line num="218" count="11" type="stmt"/>
436
+ <line num="171" count="3" type="stmt"/>
437
+ <line num="172" count="0" type="stmt"/>
438
+ <line num="173" count="0" type="stmt"/>
439
+ <line num="176" count="3" type="stmt"/>
440
+ <line num="177" count="0" type="stmt"/>
441
+ <line num="178" count="0" type="stmt"/>
442
+ <line num="181" count="3" type="stmt"/>
443
+ <line num="211" count="11" type="stmt"/>
848
444
  </file>
849
445
  </package>
850
446
  <package name="src.components.MlLayerSwipe">
851
- <metrics statements="45" coveredstatements="35" conditionals="24" coveredconditionals="17" methods="10" coveredmethods="6"/>
447
+ <metrics statements="46" coveredstatements="36" conditionals="24" coveredconditionals="17" methods="10" coveredmethods="6"/>
852
448
  <file name="MlLayerSwipe.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlLayerSwipe/MlLayerSwipe.tsx">
853
- <metrics statements="45" coveredstatements="35" conditionals="24" coveredconditionals="17" methods="10" coveredmethods="6"/>
854
- <line num="27" count="11" type="stmt"/>
449
+ <metrics statements="46" coveredstatements="36" conditionals="24" coveredconditionals="17" methods="10" coveredmethods="6"/>
450
+ <line num="26" count="11" type="stmt"/>
451
+ <line num="27" count="3" type="stmt"/>
855
452
  <line num="28" count="3" type="stmt"/>
856
- <line num="29" count="3" type="stmt"/>
453
+ <line num="30" count="3" type="stmt"/>
857
454
  <line num="31" count="3" type="stmt"/>
858
- <line num="32" count="3" type="stmt"/>
859
- <line num="34" count="3" type="stmt"/>
860
- <line num="36" count="3" type="stmt"/>
861
- <line num="37" count="3" type="cond" truecount="3" falsecount="1"/>
862
- <line num="38" count="0" type="stmt"/>
863
- <line num="40" count="3" type="cond" truecount="4" falsecount="0"/>
864
- <line num="41" count="1" type="stmt"/>
865
- <line num="44" count="2" type="stmt"/>
866
- <line num="47" count="3" type="stmt"/>
867
- <line num="48" count="1" type="stmt"/>
868
- <line num="51" count="3" type="stmt"/>
869
- <line num="53" count="1" type="cond" truecount="1" falsecount="1"/>
870
- <line num="55" count="1" type="stmt"/>
871
- <line num="59" count="1" type="cond" truecount="2" falsecount="0"/>
872
- <line num="64" count="1" type="stmt"/>
455
+ <line num="33" count="3" type="stmt"/>
456
+ <line num="35" count="3" type="stmt"/>
457
+ <line num="36" count="3" type="cond" truecount="3" falsecount="1"/>
458
+ <line num="37" count="0" type="stmt"/>
459
+ <line num="39" count="3" type="cond" truecount="4" falsecount="0"/>
460
+ <line num="40" count="1" type="stmt"/>
461
+ <line num="43" count="2" type="stmt"/>
462
+ <line num="46" count="3" type="stmt"/>
463
+ <line num="47" count="1" type="stmt"/>
464
+ <line num="50" count="3" type="stmt"/>
465
+ <line num="52" count="1" type="cond" truecount="1" falsecount="1"/>
466
+ <line num="54" count="1" type="stmt"/>
467
+ <line num="56" count="1" type="cond" truecount="2" falsecount="0"/>
468
+ <line num="61" count="1" type="stmt"/>
469
+ <line num="62" count="1" type="stmt"/>
470
+ <line num="64" count="1" type="cond" truecount="1" falsecount="1"/>
873
471
  <line num="65" count="1" type="stmt"/>
874
- <line num="67" count="1" type="cond" truecount="1" falsecount="1"/>
472
+ <line num="66" count="1" type="stmt"/>
875
473
  <line num="68" count="1" type="stmt"/>
876
- <line num="69" count="1" type="stmt"/>
877
- <line num="72" count="1" type="stmt"/>
878
- <line num="76" count="1" type="stmt"/>
879
- <line num="82" count="3" type="stmt"/>
474
+ <line num="70" count="1" type="stmt"/>
475
+ <line num="76" count="3" type="stmt"/>
476
+ <line num="77" count="1" type="stmt"/>
477
+ <line num="80" count="3" type="stmt"/>
478
+ <line num="81" count="2" type="cond" truecount="4" falsecount="0"/>
880
479
  <line num="83" count="1" type="stmt"/>
881
- <line num="86" count="3" type="stmt"/>
882
- <line num="87" count="2" type="cond" truecount="4" falsecount="0"/>
883
- <line num="89" count="1" type="stmt"/>
884
- <line num="90" count="1" type="stmt"/>
885
- <line num="94" count="1" type="stmt"/>
886
- <line num="99" count="3" type="stmt"/>
887
- <line num="100" count="0" type="cond" truecount="0" falsecount="2"/>
888
- <line num="101" count="0" type="stmt"/>
889
- <line num="102" count="0" type="stmt"/>
480
+ <line num="84" count="1" type="stmt"/>
481
+ <line num="88" count="1" type="stmt"/>
482
+ <line num="93" count="3" type="stmt"/>
483
+ <line num="94" count="0" type="cond" truecount="0" falsecount="2"/>
484
+ <line num="95" count="0" type="stmt"/>
485
+ <line num="96" count="0" type="stmt"/>
486
+ <line num="98" count="0" type="stmt"/>
487
+ <line num="99" count="0" type="stmt"/>
488
+ <line num="103" count="3" type="stmt"/>
890
489
  <line num="104" count="0" type="stmt"/>
891
490
  <line num="105" count="0" type="stmt"/>
892
- <line num="109" count="3" type="stmt"/>
491
+ <line num="108" count="3" type="stmt"/>
492
+ <line num="109" count="0" type="stmt"/>
893
493
  <line num="110" count="0" type="stmt"/>
894
- <line num="111" count="0" type="stmt"/>
895
- <line num="114" count="3" type="stmt"/>
896
- <line num="115" count="0" type="stmt"/>
897
- <line num="116" count="0" type="stmt"/>
898
- <line num="119" count="3" type="stmt"/>
494
+ <line num="113" count="3" type="stmt"/>
495
+ <line num="141" count="11" type="stmt"/>
899
496
  </file>
900
497
  </package>
901
498
  <package name="src.components.MlLayerSwitcher">
@@ -979,7 +576,7 @@
979
576
  <line num="23" count="0" type="stmt"/>
980
577
  <line num="25" count="0" type="stmt"/>
981
578
  <line num="30" count="0" type="stmt"/>
982
- <line num="44" count="0" type="stmt"/>
579
+ <line num="47" count="0" type="stmt"/>
983
580
  </file>
984
581
  </package>
985
582
  <package name="src.components.MlMarker">
@@ -1397,71 +994,36 @@
1397
994
  </file>
1398
995
  </package>
1399
996
  <package name="src.components.MlSpatialElevationProfile">
1400
- <metrics statements="62" coveredstatements="28" conditionals="26" coveredconditionals="12" methods="10" coveredmethods="5"/>
1401
- <file name="MlSpatialElevationProfile.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlSpatialElevationProfile/MlSpatialElevationProfile.js">
1402
- <metrics statements="62" coveredstatements="28" conditionals="26" coveredconditionals="12" methods="10" coveredmethods="5"/>
1403
- <line num="14" count="10" type="stmt"/>
1404
- <line num="15" count="8" type="stmt"/>
1405
- <line num="17" count="8" type="stmt"/>
1406
- <line num="20" count="8" type="stmt"/>
1407
- <line num="21" count="8" type="stmt"/>
1408
- <line num="23" count="8" type="stmt"/>
1409
- <line num="24" count="8" type="stmt"/>
1410
- <line num="25" count="8" type="stmt"/>
1411
- <line num="27" count="8" type="stmt"/>
1412
- <line num="30" count="0" type="stmt"/>
1413
- <line num="34" count="0" type="stmt"/>
1414
- <line num="35" count="0" type="stmt"/>
1415
- <line num="36" count="0" type="stmt"/>
1416
- <line num="37" count="0" type="stmt"/>
1417
- <line num="38" count="0" type="stmt"/>
1418
- <line num="40" count="0" type="stmt"/>
1419
- <line num="57" count="8" type="stmt"/>
1420
- <line num="58" count="4" type="stmt"/>
1421
- <line num="59" count="4" type="stmt"/>
1422
- <line num="61" count="2" type="cond" truecount="1" falsecount="1"/>
1423
- <line num="62" count="2" type="stmt"/>
1424
- <line num="64" count="2" type="stmt"/>
1425
- <line num="69" count="8" type="stmt"/>
1426
- <line num="70" count="8" type="cond" truecount="4" falsecount="0"/>
997
+ <metrics statements="27" coveredstatements="27" conditionals="20" coveredconditionals="12" methods="6" coveredmethods="6"/>
998
+ <file name="MlSpatialElevationProfile.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlSpatialElevationProfile/MlSpatialElevationProfile.tsx">
999
+ <metrics statements="27" coveredstatements="27" conditionals="20" coveredconditionals="12" methods="6" coveredmethods="6"/>
1000
+ <line num="10" count="10" type="stmt"/>
1001
+ <line num="62" count="10" type="stmt"/>
1002
+ <line num="63" count="16" type="stmt"/>
1003
+ <line num="64" count="16" type="stmt"/>
1004
+ <line num="66" count="16" type="cond" truecount="1" falsecount="1"/>
1005
+ <line num="68" count="16" type="stmt"/>
1006
+ <line num="69" count="4" type="cond" truecount="1" falsecount="1"/>
1427
1007
  <line num="72" count="4" type="stmt"/>
1428
1008
  <line num="73" count="4" type="stmt"/>
1429
- <line num="75" count="4" type="stmt"/>
1430
- <line num="83" count="4" type="stmt"/>
1431
- <line num="115" count="8" type="stmt"/>
1432
- <line num="116" count="8" type="cond" truecount="4" falsecount="0"/>
1433
- <line num="117" count="4" type="stmt"/>
1434
- <line num="118" count="4" type="cond" truecount="2" falsecount="2"/>
1435
- <line num="120" count="0" type="stmt"/>
1436
- <line num="121" count="0" type="stmt"/>
1437
- <line num="123" count="0" type="cond" truecount="0" falsecount="4"/>
1438
- <line num="124" count="0" type="stmt"/>
1439
- <line num="125" count="0" type="stmt"/>
1440
- <line num="128" count="0" type="stmt"/>
1441
- <line num="130" count="0" type="stmt"/>
1442
- <line num="132" count="0" type="cond" truecount="0" falsecount="2"/>
1443
- <line num="134" count="0" type="stmt"/>
1444
- <line num="143" count="0" type="stmt"/>
1445
- <line num="144" count="0" type="stmt"/>
1446
- <line num="146" count="0" type="stmt"/>
1447
- <line num="149" count="0" type="cond" truecount="0" falsecount="2"/>
1448
- <line num="150" count="0" type="stmt"/>
1449
- <line num="155" count="0" type="stmt"/>
1450
- <line num="156" count="0" type="cond" truecount="0" falsecount="2"/>
1451
- <line num="157" count="0" type="stmt"/>
1452
- <line num="158" count="0" type="stmt"/>
1453
- <line num="163" count="0" type="stmt"/>
1454
- <line num="168" count="0" type="stmt"/>
1455
- <line num="174" count="0" type="stmt"/>
1456
- <line num="179" count="0" type="stmt"/>
1457
- <line num="185" count="0" type="stmt"/>
1458
- <line num="186" count="0" type="stmt"/>
1459
- <line num="191" count="0" type="stmt"/>
1460
- <line num="192" count="0" type="stmt"/>
1461
- <line num="194" count="0" type="stmt"/>
1462
- <line num="197" count="8" type="stmt"/>
1463
- <line num="200" count="10" type="stmt"/>
1464
- <line num="204" count="10" type="stmt"/>
1009
+ <line num="76" count="4" type="cond" truecount="3" falsecount="1"/>
1010
+ <line num="78" count="4" type="stmt"/>
1011
+ <line num="79" count="8" type="stmt"/>
1012
+ <line num="82" count="4" type="stmt"/>
1013
+ <line num="84" count="4" type="stmt"/>
1014
+ <line num="86" count="4" type="cond" truecount="1" falsecount="1"/>
1015
+ <line num="88" count="4" type="stmt"/>
1016
+ <line num="91" count="16" type="stmt"/>
1017
+ <line num="92" count="4" type="cond" truecount="1" falsecount="1"/>
1018
+ <line num="94" count="4" type="stmt"/>
1019
+ <line num="105" count="16" type="stmt"/>
1020
+ <line num="106" count="4" type="cond" truecount="3" falsecount="1"/>
1021
+ <line num="108" count="4" type="stmt"/>
1022
+ <line num="109" count="4" type="stmt"/>
1023
+ <line num="112" count="16" type="stmt"/>
1024
+ <line num="121" count="16" type="stmt"/>
1025
+ <line num="136" count="16" type="stmt"/>
1026
+ <line num="139" count="10" type="stmt"/>
1465
1027
  </file>
1466
1028
  </package>
1467
1029
  <package name="src.components.MlThreeJsLayer">
@@ -1542,42 +1104,42 @@
1542
1104
  <metrics statements="36" coveredstatements="25" conditionals="22" coveredconditionals="11" methods="7" coveredmethods="6"/>
1543
1105
  <file name="MlTransitionGeoJsonLayer.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlTransitionGeoJsonLayer/MlTransitionGeoJsonLayer.tsx">
1544
1106
  <metrics statements="36" coveredstatements="25" conditionals="22" coveredconditionals="11" methods="7" coveredmethods="6"/>
1545
- <line num="12" count="10" type="stmt"/>
1546
- <line num="80" count="10" type="stmt"/>
1547
- <line num="81" count="12" type="stmt"/>
1548
- <line num="83" count="12" type="stmt"/>
1549
- <line num="87" count="12" type="stmt"/>
1550
- <line num="90" count="12" type="stmt"/>
1551
- <line num="91" count="12" type="stmt"/>
1107
+ <line num="9" count="10" type="stmt"/>
1108
+ <line num="18" count="10" type="stmt"/>
1109
+ <line num="21" count="12" type="stmt"/>
1110
+ <line num="23" count="12" type="stmt"/>
1111
+ <line num="27" count="12" type="stmt"/>
1112
+ <line num="30" count="12" type="stmt"/>
1113
+ <line num="31" count="12" type="stmt"/>
1114
+ <line num="32" count="12" type="stmt"/>
1115
+ <line num="33" count="12" type="stmt"/>
1116
+ <line num="34" count="12" type="stmt"/>
1117
+ <line num="35" count="12" type="stmt"/>
1118
+ <line num="36" count="12" type="stmt"/>
1119
+ <line num="38" count="12" type="stmt"/>
1120
+ <line num="39" count="4" type="stmt"/>
1121
+ <line num="41" count="2" type="cond" truecount="1" falsecount="1"/>
1122
+ <line num="42" count="0" type="stmt"/>
1123
+ <line num="47" count="12" type="stmt"/>
1124
+ <line num="48" count="0" type="stmt"/>
1125
+ <line num="62" count="12" type="stmt"/>
1126
+ <line num="63" count="8" type="cond" truecount="3" falsecount="1"/>
1127
+ <line num="65" count="0" type="cond" truecount="0" falsecount="2"/>
1128
+ <line num="70" count="0" type="stmt"/>
1129
+ <line num="71" count="0" type="stmt"/>
1130
+ <line num="72" count="0" type="stmt"/>
1131
+ <line num="73" count="0" type="stmt"/>
1132
+ <line num="74" count="0" type="stmt"/>
1133
+ <line num="76" count="0" type="stmt"/>
1134
+ <line num="79" count="12" type="stmt"/>
1135
+ <line num="80" count="4" type="cond" truecount="1" falsecount="1"/>
1136
+ <line num="87" count="0" type="stmt"/>
1137
+ <line num="88" count="0" type="stmt"/>
1552
1138
  <line num="92" count="12" type="stmt"/>
1553
- <line num="93" count="12" type="stmt"/>
1554
- <line num="94" count="12" type="stmt"/>
1555
- <line num="95" count="12" type="stmt"/>
1556
- <line num="96" count="12" type="stmt"/>
1139
+ <line num="93" count="8" type="cond" truecount="4" falsecount="0"/>
1140
+ <line num="95" count="4" type="stmt"/>
1141
+ <line num="97" count="4" type="stmt"/>
1557
1142
  <line num="100" count="12" type="stmt"/>
1558
- <line num="101" count="4" type="stmt"/>
1559
- <line num="103" count="2" type="cond" truecount="1" falsecount="1"/>
1560
- <line num="104" count="0" type="stmt"/>
1561
- <line num="109" count="12" type="stmt"/>
1562
- <line num="110" count="0" type="stmt"/>
1563
- <line num="124" count="12" type="stmt"/>
1564
- <line num="125" count="8" type="cond" truecount="3" falsecount="1"/>
1565
- <line num="127" count="0" type="cond" truecount="0" falsecount="2"/>
1566
- <line num="132" count="0" type="stmt"/>
1567
- <line num="133" count="0" type="stmt"/>
1568
- <line num="134" count="0" type="stmt"/>
1569
- <line num="135" count="0" type="stmt"/>
1570
- <line num="136" count="0" type="stmt"/>
1571
- <line num="138" count="0" type="stmt"/>
1572
- <line num="141" count="12" type="stmt"/>
1573
- <line num="142" count="4" type="cond" truecount="1" falsecount="1"/>
1574
- <line num="149" count="0" type="stmt"/>
1575
- <line num="150" count="0" type="stmt"/>
1576
- <line num="154" count="12" type="stmt"/>
1577
- <line num="155" count="8" type="cond" truecount="4" falsecount="0"/>
1578
- <line num="157" count="4" type="stmt"/>
1579
- <line num="159" count="4" type="stmt"/>
1580
- <line num="162" count="12" type="stmt"/>
1581
1143
  </file>
1582
1144
  </package>
1583
1145
  <package name="src.components.MlUseMapDebugger">
@@ -1594,9 +1156,9 @@
1594
1156
  </file>
1595
1157
  </package>
1596
1158
  <package name="src.components.MlVectorTileLayer">
1597
- <metrics statements="46" coveredstatements="39" conditionals="32" coveredconditionals="21" methods="9" coveredmethods="8"/>
1159
+ <metrics statements="46" coveredstatements="39" conditionals="34" coveredconditionals="22" methods="9" coveredmethods="8"/>
1598
1160
  <file name="MlVectorTileLayer.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlVectorTileLayer/MlVectorTileLayer.tsx">
1599
- <metrics statements="46" coveredstatements="39" conditionals="32" coveredconditionals="21" methods="9" coveredmethods="8"/>
1161
+ <metrics statements="46" coveredstatements="39" conditionals="34" coveredconditionals="22" methods="9" coveredmethods="8"/>
1600
1162
  <line num="21" count="10" type="stmt"/>
1601
1163
  <line num="22" count="12" type="stmt"/>
1602
1164
  <line num="27" count="12" type="cond" truecount="2" falsecount="0"/>
@@ -1609,40 +1171,40 @@
1609
1171
  <line num="37" count="8" type="cond" truecount="2" falsecount="0"/>
1610
1172
  <line num="38" count="4" type="stmt"/>
1611
1173
  <line num="42" count="8" type="stmt"/>
1612
- <line num="54" count="8" type="stmt"/>
1613
- <line num="55" count="8" type="cond" truecount="1" falsecount="1"/>
1614
- <line num="56" count="8" type="stmt"/>
1615
- <line num="72" count="8" type="stmt"/>
1174
+ <line num="53" count="8" type="stmt"/>
1175
+ <line num="54" count="8" type="cond" truecount="1" falsecount="1"/>
1176
+ <line num="55" count="8" type="stmt"/>
1616
1177
  <line num="73" count="8" type="stmt"/>
1617
- <line num="76" count="8" type="stmt"/>
1618
- <line num="79" count="0" type="cond" truecount="0" falsecount="4"/>
1619
- <line num="80" count="0" type="stmt"/>
1178
+ <line num="74" count="8" type="stmt"/>
1179
+ <line num="77" count="8" type="stmt"/>
1180
+ <line num="80" count="0" type="cond" truecount="0" falsecount="4"/>
1620
1181
  <line num="81" count="0" type="stmt"/>
1621
- <line num="89" count="12" type="stmt"/>
1622
- <line num="90" count="4" type="cond" truecount="1" falsecount="1"/>
1623
- <line num="92" count="4" type="stmt"/>
1624
- <line num="93" count="4" type="cond" truecount="1" falsecount="1"/>
1182
+ <line num="82" count="0" type="stmt"/>
1183
+ <line num="90" count="12" type="stmt"/>
1184
+ <line num="91" count="4" type="cond" truecount="1" falsecount="1"/>
1185
+ <line num="93" count="4" type="stmt"/>
1625
1186
  <line num="94" count="4" type="cond" truecount="1" falsecount="1"/>
1626
- <line num="96" count="4" type="stmt"/>
1627
- <line num="98" count="4" type="cond" truecount="1" falsecount="1"/>
1628
- <line num="99" count="0" type="stmt"/>
1187
+ <line num="95" count="4" type="cond" truecount="1" falsecount="1"/>
1188
+ <line num="97" count="4" type="stmt"/>
1189
+ <line num="99" count="4" type="cond" truecount="1" falsecount="1"/>
1629
1190
  <line num="100" count="0" type="stmt"/>
1630
- <line num="103" count="4" type="stmt"/>
1631
- <line num="106" count="4" type="stmt"/>
1632
- <line num="108" count="4" type="cond" truecount="1" falsecount="1"/>
1633
- <line num="109" count="0" type="stmt"/>
1191
+ <line num="101" count="0" type="stmt"/>
1192
+ <line num="104" count="4" type="stmt"/>
1193
+ <line num="107" count="4" type="stmt"/>
1194
+ <line num="109" count="4" type="cond" truecount="1" falsecount="1"/>
1634
1195
  <line num="110" count="0" type="stmt"/>
1635
- <line num="113" count="4" type="stmt"/>
1636
- <line num="119" count="12" type="stmt"/>
1637
- <line num="120" count="8" type="cond" truecount="1" falsecount="1"/>
1638
- <line num="121" count="8" type="stmt"/>
1639
- <line num="125" count="12" type="stmt"/>
1640
- <line num="126" count="8" type="cond" truecount="4" falsecount="0"/>
1641
- <line num="127" count="4" type="stmt"/>
1642
- <line num="131" count="12" type="stmt"/>
1643
- <line num="132" count="8" type="cond" truecount="4" falsecount="0"/>
1644
- <line num="133" count="4" type="stmt"/>
1645
- <line num="136" count="12" type="stmt"/>
1196
+ <line num="111" count="0" type="stmt"/>
1197
+ <line num="114" count="4" type="stmt"/>
1198
+ <line num="120" count="12" type="stmt"/>
1199
+ <line num="121" count="8" type="cond" truecount="1" falsecount="1"/>
1200
+ <line num="122" count="8" type="stmt"/>
1201
+ <line num="126" count="12" type="stmt"/>
1202
+ <line num="127" count="8" type="cond" truecount="4" falsecount="0"/>
1203
+ <line num="128" count="4" type="stmt"/>
1204
+ <line num="132" count="12" type="stmt"/>
1205
+ <line num="133" count="8" type="cond" truecount="4" falsecount="0"/>
1206
+ <line num="134" count="4" type="stmt"/>
1207
+ <line num="137" count="12" type="stmt"/>
1646
1208
  </file>
1647
1209
  </package>
1648
1210
  <package name="src.components.MlWmsFeatureInfoPopup">
@@ -1672,156 +1234,176 @@
1672
1234
  </file>
1673
1235
  </package>
1674
1236
  <package name="src.components.MlWmsLayer">
1675
- <metrics statements="37" coveredstatements="29" conditionals="22" coveredconditionals="13" methods="5" coveredmethods="4"/>
1237
+ <metrics statements="46" coveredstatements="33" conditionals="27" coveredconditionals="16" methods="7" coveredmethods="6"/>
1676
1238
  <file name="MlWmsLayer.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlWmsLayer/MlWmsLayer.tsx">
1677
- <metrics statements="37" coveredstatements="29" conditionals="22" coveredconditionals="13" methods="5" coveredmethods="4"/>
1678
- <line num="6" count="10" type="stmt"/>
1679
- <line num="57" count="10" type="stmt"/>
1680
- <line num="58" count="12" type="stmt"/>
1681
- <line num="63" count="12" type="stmt"/>
1682
- <line num="64" count="12" type="cond" truecount="2" falsecount="0"/>
1683
- <line num="66" count="12" type="stmt"/>
1684
- <line num="67" count="8" type="cond" truecount="2" falsecount="0"/>
1239
+ <metrics statements="46" coveredstatements="33" conditionals="27" coveredconditionals="16" methods="7" coveredmethods="6"/>
1240
+ <line num="7" count="10" type="stmt"/>
1241
+ <line num="58" count="10" type="stmt"/>
1242
+ <line num="59" count="12" type="stmt"/>
1243
+ <line num="64" count="12" type="stmt"/>
1244
+ <line num="65" count="12" type="cond" truecount="2" falsecount="0"/>
1245
+ <line num="67" count="12" type="stmt"/>
1685
1246
  <line num="69" count="4" type="stmt"/>
1686
- <line num="71" count="4" type="cond" truecount="1" falsecount="1"/>
1247
+ <line num="70" count="4" type="cond" truecount="1" falsecount="1"/>
1248
+ <line num="71" count="0" type="stmt"/>
1687
1249
  <line num="72" count="0" type="stmt"/>
1250
+ <line num="74" count="4" type="stmt"/>
1688
1251
  <line num="76" count="4" type="stmt"/>
1689
- <line num="77" count="4" type="cond" truecount="1" falsecount="1"/>
1690
- <line num="78" count="0" type="stmt"/>
1691
- <line num="79" count="0" type="stmt"/>
1692
1252
  <line num="81" count="4" type="stmt"/>
1693
1253
  <line num="83" count="4" type="stmt"/>
1694
- <line num="88" count="4" type="stmt"/>
1695
- <line num="90" count="4" type="stmt"/>
1696
- <line num="92" count="4" type="stmt"/>
1697
- <line num="104" count="4" type="stmt"/>
1698
- <line num="116" count="4" type="stmt"/>
1699
- <line num="119" count="0" type="cond" truecount="0" falsecount="4"/>
1700
- <line num="120" count="0" type="stmt"/>
1701
- <line num="121" count="0" type="stmt"/>
1702
- <line num="126" count="4" type="cond" truecount="1" falsecount="1"/>
1703
- <line num="127" count="0" type="stmt"/>
1704
- <line num="131" count="12" type="stmt"/>
1705
- <line num="132" count="8" type="cond" truecount="1" falsecount="1"/>
1706
- <line num="134" count="8" type="stmt"/>
1707
- <line num="137" count="12" type="stmt"/>
1708
- <line num="138" count="8" type="cond" truecount="4" falsecount="0"/>
1709
- <line num="141" count="4" type="cond" truecount="1" falsecount="1"/>
1710
- <line num="142" count="4" type="stmt"/>
1711
- <line num="144" count="0" type="stmt"/>
1712
- <line num="148" count="12" type="stmt"/>
1713
- <line num="151" count="10" type="stmt"/>
1714
- <line num="155" count="10" type="stmt"/>
1254
+ <line num="85" count="4" type="stmt"/>
1255
+ <line num="88" count="12" type="stmt"/>
1256
+ <line num="89" count="8" type="cond" truecount="2" falsecount="0"/>
1257
+ <line num="91" count="4" type="stmt"/>
1258
+ <line num="93" count="4" type="cond" truecount="1" falsecount="1"/>
1259
+ <line num="94" count="0" type="stmt"/>
1260
+ <line num="97" count="4" type="stmt"/>
1261
+ <line num="109" count="4" type="stmt"/>
1262
+ <line num="121" count="4" type="stmt"/>
1263
+ <line num="124" count="0" type="cond" truecount="0" falsecount="4"/>
1264
+ <line num="125" count="0" type="stmt"/>
1265
+ <line num="126" count="0" type="stmt"/>
1266
+ <line num="131" count="4" type="cond" truecount="1" falsecount="1"/>
1267
+ <line num="132" count="0" type="stmt"/>
1268
+ <line num="136" count="12" type="stmt"/>
1269
+ <line num="137" count="8" type="cond" truecount="1" falsecount="1"/>
1270
+ <line num="139" count="8" type="stmt"/>
1271
+ <line num="142" count="12" type="stmt"/>
1272
+ <line num="143" count="8" type="cond" truecount="3" falsecount="2"/>
1273
+ <line num="145" count="0" type="stmt"/>
1274
+ <line num="146" count="0" type="stmt"/>
1275
+ <line num="148" count="0" type="stmt"/>
1276
+ <line num="150" count="0" type="stmt"/>
1277
+ <line num="152" count="0" type="stmt"/>
1278
+ <line num="155" count="12" type="stmt"/>
1279
+ <line num="156" count="8" type="cond" truecount="4" falsecount="0"/>
1280
+ <line num="159" count="4" type="cond" truecount="1" falsecount="1"/>
1281
+ <line num="160" count="4" type="stmt"/>
1282
+ <line num="162" count="0" type="stmt"/>
1283
+ <line num="166" count="12" type="stmt"/>
1284
+ <line num="169" count="10" type="stmt"/>
1285
+ <line num="173" count="10" type="stmt"/>
1715
1286
  </file>
1716
1287
  </package>
1717
1288
  <package name="src.components.MlWmsLoader">
1718
- <metrics statements="91" coveredstatements="0" conditionals="57" coveredconditionals="0" methods="21" coveredmethods="0"/>
1289
+ <metrics statements="102" coveredstatements="0" conditionals="62" coveredconditionals="0" methods="30" coveredmethods="0"/>
1719
1290
  <file name="MlWmsLoader.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlWmsLoader/MlWmsLoader.tsx">
1720
- <metrics statements="91" coveredstatements="0" conditionals="57" coveredconditionals="0" methods="21" coveredmethods="0"/>
1721
- <line num="20" count="0" type="stmt"/>
1722
- <line num="21" count="0" type="cond" truecount="0" falsecount="1"/>
1723
- <line num="22" count="0" type="stmt"/>
1291
+ <metrics statements="102" coveredstatements="0" conditionals="62" coveredconditionals="0" methods="30" coveredmethods="0"/>
1292
+ <line num="21" count="0" type="stmt"/>
1293
+ <line num="22" count="0" type="cond" truecount="0" falsecount="1"/>
1724
1294
  <line num="23" count="0" type="stmt"/>
1725
1295
  <line num="24" count="0" type="stmt"/>
1726
1296
  <line num="25" count="0" type="stmt"/>
1727
1297
  <line num="26" count="0" type="stmt"/>
1728
- <line num="27" count="0" type="cond" truecount="0" falsecount="2"/>
1729
- <line num="28" count="0" type="stmt"/>
1298
+ <line num="27" count="0" type="stmt"/>
1299
+ <line num="28" count="0" type="cond" truecount="0" falsecount="2"/>
1730
1300
  <line num="29" count="0" type="stmt"/>
1731
- <line num="31" count="0" type="stmt"/>
1732
- <line num="67" count="0" type="stmt"/>
1733
- <line num="69" count="0" type="stmt"/>
1301
+ <line num="30" count="0" type="stmt"/>
1302
+ <line num="32" count="0" type="stmt"/>
1734
1303
  <line num="70" count="0" type="stmt"/>
1735
- <line num="84" count="0" type="stmt"/>
1304
+ <line num="72" count="0" type="stmt"/>
1305
+ <line num="73" count="0" type="stmt"/>
1306
+ <line num="77" count="0" type="stmt"/>
1307
+ <line num="78" count="0" type="stmt"/>
1308
+ <line num="79" count="0" type="cond" truecount="0" falsecount="2"/>
1309
+ <line num="80" count="0" type="stmt"/>
1310
+ <line num="82" count="0" type="stmt"/>
1736
1311
  <line num="85" count="0" type="stmt"/>
1737
- <line num="86" count="0" type="cond" truecount="0" falsecount="2"/>
1738
1312
  <line num="87" count="0" type="stmt"/>
1739
- <line num="89" count="0" type="stmt"/>
1313
+ <line num="88" count="0" type="stmt"/>
1740
1314
  <line num="90" count="0" type="stmt"/>
1741
- <line num="92" count="0" type="stmt"/>
1742
- <line num="93" count="0" type="stmt"/>
1743
- <line num="95" count="0" type="stmt"/>
1744
- <line num="102" count="0" type="cond" truecount="0" falsecount="2"/>
1745
- <line num="103" count="0" type="stmt"/>
1746
- <line num="104" count="0" type="stmt"/>
1747
- <line num="106" count="0" type="stmt"/>
1748
- <line num="110" count="0" type="stmt"/>
1749
- <line num="111" count="0" type="cond" truecount="0" falsecount="2"/>
1750
- <line num="113" count="0" type="stmt"/>
1751
- <line num="116" count="0" type="stmt"/>
1752
- <line num="118" count="0" type="cond" truecount="0" falsecount="2"/>
1315
+ <line num="97" count="0" type="cond" truecount="0" falsecount="2"/>
1316
+ <line num="98" count="0" type="stmt"/>
1317
+ <line num="99" count="0" type="stmt"/>
1318
+ <line num="101" count="0" type="stmt"/>
1319
+ <line num="105" count="0" type="stmt"/>
1320
+ <line num="106" count="0" type="cond" truecount="0" falsecount="2"/>
1321
+ <line num="108" count="0" type="stmt"/>
1322
+ <line num="111" count="0" type="stmt"/>
1323
+ <line num="112" count="0" type="stmt"/>
1324
+ <line num="113" count="0" type="cond" truecount="0" falsecount="2"/>
1325
+ <line num="114" count="0" type="stmt"/>
1326
+ <line num="115" count="0" type="stmt"/>
1753
1327
  <line num="119" count="0" type="stmt"/>
1754
- <line num="120" count="0" type="stmt"/>
1755
- <line num="121" count="0" type="stmt"/>
1328
+ <line num="121" count="0" type="cond" truecount="0" falsecount="2"/>
1756
1329
  <line num="122" count="0" type="stmt"/>
1757
1330
  <line num="123" count="0" type="stmt"/>
1758
1331
  <line num="124" count="0" type="stmt"/>
1759
1332
  <line num="125" count="0" type="stmt"/>
1760
- <line num="137" count="0" type="cond" truecount="0" falsecount="4"/>
1761
- <line num="139" count="0" type="stmt"/>
1333
+ <line num="126" count="0" type="stmt"/>
1334
+ <line num="127" count="0" type="stmt"/>
1335
+ <line num="128" count="0" type="stmt"/>
1336
+ <line num="139" count="0" type="cond" truecount="0" falsecount="4"/>
1337
+ <line num="140" count="0" type="stmt"/>
1762
1338
  <line num="142" count="0" type="cond" truecount="0" falsecount="4"/>
1763
- <line num="144" count="0" type="stmt"/>
1764
- <line num="157" count="0" type="stmt"/>
1765
- <line num="159" count="0" type="cond" truecount="0" falsecount="2"/>
1339
+ <line num="143" count="0" type="stmt"/>
1340
+ <line num="156" count="0" type="stmt"/>
1341
+ <line num="158" count="0" type="cond" truecount="0" falsecount="2"/>
1342
+ <line num="159" count="0" type="stmt"/>
1766
1343
  <line num="160" count="0" type="stmt"/>
1767
- <line num="161" count="0" type="stmt"/>
1768
- <line num="163" count="0" type="stmt"/>
1769
- <line num="165" count="0" type="stmt"/>
1770
- <line num="171" count="0" type="stmt"/>
1771
- <line num="173" count="0" type="stmt"/>
1772
- <line num="175" count="0" type="cond" truecount="0" falsecount="2"/>
1773
- <line num="176" count="0" type="stmt"/>
1774
- <line num="178" count="0" type="stmt"/>
1344
+ <line num="162" count="0" type="stmt"/>
1345
+ <line num="164" count="0" type="stmt"/>
1346
+ <line num="170" count="0" type="stmt"/>
1347
+ <line num="172" count="0" type="stmt"/>
1348
+ <line num="174" count="0" type="cond" truecount="0" falsecount="2"/>
1349
+ <line num="175" count="0" type="stmt"/>
1350
+ <line num="177" count="0" type="stmt"/>
1351
+ <line num="180" count="0" type="stmt"/>
1775
1352
  <line num="181" count="0" type="stmt"/>
1776
- <line num="182" count="0" type="stmt"/>
1777
- <line num="184" count="0" type="stmt"/>
1778
- <line num="189" count="0" type="stmt"/>
1779
- <line num="190" count="0" type="cond" truecount="0" falsecount="2"/>
1780
- <line num="192" count="0" type="stmt"/>
1353
+ <line num="183" count="0" type="stmt"/>
1354
+ <line num="188" count="0" type="stmt"/>
1355
+ <line num="189" count="0" type="cond" truecount="0" falsecount="2"/>
1356
+ <line num="191" count="0" type="stmt"/>
1357
+ <line num="193" count="0" type="stmt"/>
1781
1358
  <line num="194" count="0" type="stmt"/>
1782
1359
  <line num="195" count="0" type="stmt"/>
1783
- <line num="196" count="0" type="stmt"/>
1784
- <line num="200" count="0" type="stmt"/>
1785
- <line num="201" count="0" type="cond" truecount="0" falsecount="2"/>
1786
- <line num="203" count="0" type="cond" truecount="0" falsecount="2"/>
1787
- <line num="204" count="0" type="stmt"/>
1788
- <line num="208" count="0" type="stmt"/>
1789
- <line num="212" count="0" type="stmt"/>
1790
- <line num="213" count="0" type="stmt"/>
1791
- <line num="215" count="0" type="cond" truecount="0" falsecount="2"/>
1792
- <line num="216" count="0" type="stmt"/>
1360
+ <line num="199" count="0" type="stmt"/>
1361
+ <line num="200" count="0" type="cond" truecount="0" falsecount="2"/>
1362
+ <line num="202" count="0" type="cond" truecount="0" falsecount="2"/>
1363
+ <line num="203" count="0" type="stmt"/>
1364
+ <line num="207" count="0" type="stmt"/>
1365
+ <line num="211" count="0" type="stmt"/>
1366
+ <line num="214" count="0" type="stmt"/>
1367
+ <line num="215" count="0" type="stmt"/>
1793
1368
  <line num="217" count="0" type="cond" truecount="0" falsecount="2"/>
1794
1369
  <line num="218" count="0" type="stmt"/>
1795
- <line num="221" count="0" type="cond" truecount="0" falsecount="2"/>
1796
- <line num="222" count="0" type="stmt"/>
1797
- <line num="227" count="0" type="cond" truecount="0" falsecount="4"/>
1370
+ <line num="220" count="0" type="stmt"/>
1798
1371
  <line num="228" count="0" type="stmt"/>
1799
- <line num="236" count="0" type="stmt"/>
1800
- <line num="237" count="0" type="cond" truecount="0" falsecount="4"/>
1801
- <line num="240" count="0" type="stmt"/>
1802
- <line num="241" count="0" type="stmt"/>
1803
- <line num="242" count="0" type="stmt"/>
1372
+ <line num="229" count="0" type="stmt"/>
1373
+ <line num="231" count="0" type="cond" truecount="0" falsecount="2"/>
1374
+ <line num="232" count="0" type="stmt"/>
1375
+ <line num="234" count="0" type="stmt"/>
1376
+ <line num="242" count="0" type="cond" truecount="0" falsecount="2"/>
1804
1377
  <line num="243" count="0" type="stmt"/>
1805
- <line num="246" count="0" type="stmt"/>
1806
- <line num="252" count="0" type="stmt"/>
1807
- <line num="265" count="0" type="cond" truecount="0" falsecount="2"/>
1808
- <line num="273" count="0" type="stmt"/>
1809
- <line num="274" count="0" type="stmt"/>
1810
- <line num="275" count="0" type="stmt"/>
1811
- <line num="305" count="0" type="stmt"/>
1378
+ <line num="247" count="0" type="stmt"/>
1379
+ <line num="250" count="0" type="cond" truecount="0" falsecount="4"/>
1380
+ <line num="251" count="0" type="stmt"/>
1381
+ <line num="259" count="0" type="stmt"/>
1382
+ <line num="260" count="0" type="cond" truecount="0" falsecount="4"/>
1383
+ <line num="263" count="0" type="stmt"/>
1384
+ <line num="264" count="0" type="stmt"/>
1385
+ <line num="265" count="0" type="stmt"/>
1386
+ <line num="268" count="0" type="stmt"/>
1387
+ <line num="275" count="0" type="cond" truecount="0" falsecount="2"/>
1388
+ <line num="283" count="0" type="stmt"/>
1389
+ <line num="284" count="0" type="stmt"/>
1390
+ <line num="285" count="0" type="stmt"/>
1391
+ <line num="307" count="0" type="stmt"/>
1392
+ <line num="308" count="0" type="stmt"/>
1393
+ <line num="324" count="0" type="stmt"/>
1812
1394
  </file>
1813
1395
  </package>
1814
1396
  <package name="src.contexts">
1815
1397
  <metrics statements="73" coveredstatements="71" conditionals="54" coveredconditionals="45" methods="10" coveredmethods="10"/>
1816
1398
  <file name="MapContext.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/contexts/MapContext.tsx">
1817
1399
  <metrics statements="42" coveredstatements="42" conditionals="34" coveredconditionals="31" methods="6" coveredmethods="6"/>
1818
- <line num="4" count="20" type="stmt"/>
1819
- <line num="14" count="20" type="stmt"/>
1820
- <line num="15" count="186" type="stmt"/>
1821
- <line num="16" count="186" type="stmt"/>
1822
- <line num="17" count="186" type="stmt"/>
1823
- <line num="18" count="186" type="stmt"/>
1824
- <line num="21" count="186" type="stmt"/>
1400
+ <line num="4" count="21" type="stmt"/>
1401
+ <line num="14" count="21" type="stmt"/>
1402
+ <line num="15" count="188" type="stmt"/>
1403
+ <line num="16" count="188" type="stmt"/>
1404
+ <line num="17" count="188" type="stmt"/>
1405
+ <line num="18" count="188" type="stmt"/>
1406
+ <line num="21" count="188" type="stmt"/>
1825
1407
  <line num="22" count="8" type="cond" truecount="2" falsecount="0"/>
1826
1408
  <line num="23" count="6" type="cond" truecount="1" falsecount="1"/>
1827
1409
  <line num="24" count="6" type="stmt"/>
@@ -1833,30 +1415,30 @@
1833
1415
  <line num="33" count="3" type="stmt"/>
1834
1416
  <line num="36" count="2" type="stmt"/>
1835
1417
  <line num="37" count="2" type="stmt"/>
1836
- <line num="41" count="186" type="stmt"/>
1837
- <line num="42" count="80" type="stmt"/>
1838
- <line num="44" count="80" type="cond" truecount="1" falsecount="1"/>
1839
- <line num="45" count="80" type="stmt"/>
1840
- <line num="46" count="80" type="stmt"/>
1841
- <line num="47" count="80" type="stmt"/>
1842
- <line num="51" count="186" type="stmt"/>
1418
+ <line num="41" count="188" type="stmt"/>
1419
+ <line num="42" count="81" type="stmt"/>
1420
+ <line num="44" count="81" type="cond" truecount="1" falsecount="1"/>
1421
+ <line num="45" count="81" type="stmt"/>
1422
+ <line num="46" count="81" type="stmt"/>
1423
+ <line num="47" count="81" type="stmt"/>
1424
+ <line num="51" count="188" type="stmt"/>
1843
1425
  <line num="57" count="13" type="cond" truecount="3" falsecount="1"/>
1844
1426
  <line num="58" count="13" type="stmt"/>
1845
1427
  <line num="59" count="13" type="stmt"/>
1846
1428
  <line num="60" count="13" type="stmt"/>
1847
1429
  <line num="62" count="13" type="cond" truecount="2" falsecount="0"/>
1848
1430
  <line num="63" count="11" type="stmt"/>
1849
- <line num="69" count="487" type="cond" truecount="4" falsecount="0"/>
1431
+ <line num="69" count="889" type="cond" truecount="4" falsecount="0"/>
1850
1432
  <line num="70" count="76" type="stmt"/>
1851
- <line num="71" count="411" type="cond" truecount="4" falsecount="0"/>
1852
- <line num="72" count="147" type="stmt"/>
1853
- <line num="74" count="264" type="stmt"/>
1854
- <line num="77" count="189" type="cond" truecount="4" falsecount="0"/>
1433
+ <line num="71" count="813" type="cond" truecount="4" falsecount="0"/>
1434
+ <line num="72" count="217" type="stmt"/>
1435
+ <line num="74" count="596" type="stmt"/>
1436
+ <line num="77" count="256" type="cond" truecount="4" falsecount="0"/>
1855
1437
  <line num="78" count="25" type="stmt"/>
1856
- <line num="79" count="164" type="cond" truecount="4" falsecount="0"/>
1857
- <line num="80" count="147" type="stmt"/>
1438
+ <line num="79" count="231" type="cond" truecount="4" falsecount="0"/>
1439
+ <line num="80" count="214" type="stmt"/>
1858
1440
  <line num="83" count="17" type="stmt"/>
1859
- <line num="88" count="186" type="stmt"/>
1441
+ <line num="88" count="188" type="stmt"/>
1860
1442
  </file>
1861
1443
  <file name="SimpleDataContext.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/contexts/SimpleDataContext.js">
1862
1444
  <metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
@@ -1897,72 +1479,75 @@
1897
1479
  </file>
1898
1480
  </package>
1899
1481
  <package name="src.hooks">
1900
- <metrics statements="223" coveredstatements="99" conditionals="152" coveredconditionals="60" methods="37" coveredmethods="16"/>
1482
+ <metrics statements="226" coveredstatements="135" conditionals="154" coveredconditionals="83" methods="38" coveredmethods="24"/>
1901
1483
  <file name="useLayer.ts" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useLayer.ts">
1902
- <metrics statements="63" coveredstatements="47" conditionals="68" coveredconditionals="44" methods="8" coveredmethods="7"/>
1903
- <line num="34" count="13" type="stmt"/>
1904
- <line num="47" count="102" type="stmt"/>
1905
- <line num="52" count="102" type="stmt"/>
1906
- <line num="53" count="102" type="stmt"/>
1907
- <line num="54" count="102" type="stmt"/>
1908
- <line num="56" count="102" type="stmt"/>
1909
- <line num="58" count="102" type="stmt"/>
1910
- <line num="59" count="102" type="stmt"/>
1911
- <line num="63" count="102" type="stmt"/>
1912
- <line num="64" count="26" type="cond" truecount="1" falsecount="1"/>
1913
- <line num="66" count="26" type="cond" truecount="2" falsecount="0"/>
1914
- <line num="67" count="3" type="stmt"/>
1915
- <line num="69" count="26" type="cond" truecount="1" falsecount="1"/>
1916
- <line num="70" count="0" type="stmt"/>
1917
- <line num="73" count="26" type="cond" truecount="1" falsecount="1"/>
1918
- <line num="74" count="0" type="cond" truecount="0" falsecount="4"/>
1919
- <line num="75" count="0" type="stmt"/>
1920
- <line num="79" count="26" type="stmt"/>
1921
- <line num="81" count="26" type="stmt"/>
1922
- <line num="107" count="26" type="stmt"/>
1923
- <line num="109" count="26" type="cond" truecount="2" falsecount="0"/>
1924
- <line num="110" count="6" type="stmt"/>
1925
- <line num="113" count="26" type="cond" truecount="2" falsecount="0"/>
1926
- <line num="114" count="4" type="stmt"/>
1927
- <line num="117" count="26" type="cond" truecount="2" falsecount="0"/>
1928
- <line num="118" count="2" type="stmt"/>
1929
- <line num="122" count="26" type="stmt"/>
1930
- <line num="125" count="0" type="cond" truecount="0" falsecount="4"/>
1931
- <line num="126" count="0" type="stmt"/>
1932
- <line num="127" count="0" type="stmt"/>
1933
- <line num="133" count="26" type="stmt"/>
1934
- <line num="134" count="26" type="stmt"/>
1935
- <line num="135" count="26" type="stmt"/>
1936
- <line num="138" count="102" type="stmt"/>
1937
- <line num="139" count="102" type="cond" truecount="2" falsecount="0"/>
1938
- <line num="141" count="56" type="cond" truecount="2" falsecount="0"/>
1939
- <line num="147" count="30" type="stmt"/>
1940
- <line num="150" count="26" type="stmt"/>
1941
- <line num="153" count="102" type="stmt"/>
1942
- <line num="154" count="49" type="cond" truecount="4" falsecount="0"/>
1943
- <line num="158" count="12" type="stmt"/>
1944
- <line num="161" count="102" type="stmt"/>
1945
- <line num="162" count="102" type="cond" truecount="2" falsecount="0"/>
1484
+ <metrics statements="66" coveredstatements="50" conditionals="70" coveredconditionals="50" methods="9" coveredmethods="8"/>
1485
+ <line num="49" count="13" type="stmt"/>
1486
+ <line num="62" count="185" type="stmt"/>
1487
+ <line num="67" count="185" type="stmt"/>
1488
+ <line num="68" count="185" type="stmt"/>
1489
+ <line num="69" count="185" type="stmt"/>
1490
+ <line num="71" count="185" type="stmt"/>
1491
+ <line num="73" count="185" type="stmt"/>
1492
+ <line num="74" count="185" type="stmt"/>
1493
+ <line num="78" count="185" type="stmt"/>
1494
+ <line num="79" count="46" type="cond" truecount="1" falsecount="1"/>
1495
+ <line num="81" count="46" type="cond" truecount="2" falsecount="0"/>
1496
+ <line num="82" count="3" type="stmt"/>
1497
+ <line num="84" count="46" type="cond" truecount="1" falsecount="1"/>
1498
+ <line num="85" count="0" type="stmt"/>
1499
+ <line num="88" count="46" type="cond" truecount="2" falsecount="0"/>
1500
+ <line num="89" count="16" type="cond" truecount="3" falsecount="1"/>
1501
+ <line num="90" count="0" type="stmt"/>
1502
+ <line num="93" count="46" type="cond" truecount="1" falsecount="1"/>
1503
+ <line num="94" count="0" type="stmt"/>
1504
+ <line num="97" count="46" type="stmt"/>
1505
+ <line num="99" count="46" type="stmt"/>
1506
+ <line num="125" count="46" type="stmt"/>
1507
+ <line num="127" count="46" type="cond" truecount="2" falsecount="0"/>
1508
+ <line num="128" count="6" type="stmt"/>
1509
+ <line num="131" count="46" type="cond" truecount="2" falsecount="0"/>
1510
+ <line num="132" count="4" type="stmt"/>
1511
+ <line num="135" count="46" type="cond" truecount="2" falsecount="0"/>
1512
+ <line num="136" count="2" type="stmt"/>
1513
+ <line num="140" count="46" type="stmt"/>
1514
+ <line num="143" count="0" type="cond" truecount="0" falsecount="4"/>
1515
+ <line num="144" count="0" type="stmt"/>
1516
+ <line num="145" count="0" type="stmt"/>
1517
+ <line num="151" count="46" type="stmt"/>
1518
+ <line num="152" count="46" type="stmt"/>
1519
+ <line num="153" count="46" type="stmt"/>
1520
+ <line num="156" count="185" type="stmt"/>
1521
+ <line num="157" count="182" type="cond" truecount="2" falsecount="0"/>
1522
+ <line num="159" count="96" type="cond" truecount="2" falsecount="0"/>
1523
+ <line num="165" count="50" type="stmt"/>
1946
1524
  <line num="168" count="46" type="stmt"/>
1947
- <line num="172" count="56" type="stmt"/>
1948
- <line num="173" count="56" type="cond" truecount="3" falsecount="1"/>
1949
- <line num="174" count="0" type="stmt"/>
1950
- <line num="176" count="0" type="stmt"/>
1951
- <line num="177" count="0" type="cond" truecount="0" falsecount="4"/>
1952
- <line num="178" count="0" type="stmt"/>
1953
- <line num="181" count="0" type="stmt"/>
1954
- <line num="184" count="56" type="stmt"/>
1955
- <line num="185" count="56" type="cond" truecount="1" falsecount="1"/>
1956
- <line num="186" count="0" type="stmt"/>
1957
- <line num="187" count="0" type="stmt"/>
1958
- <line num="188" count="0" type="cond" truecount="0" falsecount="4"/>
1959
- <line num="189" count="0" type="stmt"/>
1525
+ <line num="171" count="185" type="stmt"/>
1526
+ <line num="172" count="89" type="cond" truecount="4" falsecount="0"/>
1527
+ <line num="176" count="16" type="stmt"/>
1528
+ <line num="179" count="185" type="stmt"/>
1529
+ <line num="180" count="182" type="cond" truecount="2" falsecount="0"/>
1530
+ <line num="186" count="86" type="stmt"/>
1531
+ <line num="190" count="96" type="stmt"/>
1532
+ <line num="191" count="96" type="cond" truecount="3" falsecount="1"/>
1960
1533
  <line num="192" count="0" type="stmt"/>
1961
- <line num="196" count="102" type="stmt"/>
1962
- <line num="197" count="23" type="stmt"/>
1963
- <line num="198" count="10" type="stmt"/>
1964
- <line num="199" count="10" type="stmt"/>
1965
- <line num="203" count="102" type="stmt"/>
1534
+ <line num="194" count="0" type="stmt"/>
1535
+ <line num="195" count="0" type="cond" truecount="0" falsecount="4"/>
1536
+ <line num="196" count="0" type="stmt"/>
1537
+ <line num="199" count="0" type="stmt"/>
1538
+ <line num="202" count="96" type="stmt"/>
1539
+ <line num="203" count="96" type="cond" truecount="1" falsecount="1"/>
1540
+ <line num="204" count="0" type="stmt"/>
1541
+ <line num="205" count="0" type="stmt"/>
1542
+ <line num="206" count="0" type="cond" truecount="0" falsecount="4"/>
1543
+ <line num="207" count="0" type="stmt"/>
1544
+ <line num="210" count="0" type="stmt"/>
1545
+ <line num="214" count="185" type="stmt"/>
1546
+ <line num="215" count="43" type="stmt"/>
1547
+ <line num="216" count="20" type="stmt"/>
1548
+ <line num="217" count="20" type="stmt"/>
1549
+ <line num="221" count="185" type="stmt"/>
1550
+ <line num="230" count="13" type="stmt"/>
1966
1551
  </file>
1967
1552
  <file name="useLayerEvent.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useLayerEvent.js">
1968
1553
  <metrics statements="21" coveredstatements="0" conditionals="16" coveredconditionals="0" methods="3" coveredmethods="0"/>
@@ -1989,49 +1574,49 @@
1989
1574
  <line num="46" count="0" type="stmt"/>
1990
1575
  </file>
1991
1576
  <file name="useMap.ts" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useMap.ts">
1992
- <metrics statements="30" coveredstatements="24" conditionals="14" coveredconditionals="8" methods="6" coveredmethods="5"/>
1993
- <line num="17" count="211" type="stmt"/>
1994
- <line num="18" count="211" type="stmt"/>
1995
- <line num="20" count="211" type="stmt"/>
1996
- <line num="32" count="211" type="stmt"/>
1997
- <line num="34" count="211" type="stmt"/>
1998
- <line num="36" count="211" type="stmt"/>
1999
- <line num="38" count="211" type="stmt"/>
2000
- <line num="40" count="211" type="stmt"/>
2001
- <line num="41" count="43" type="cond" truecount="2" falsecount="0"/>
2002
- <line num="42" count="33" type="stmt"/>
2003
- <line num="44" count="43" type="stmt"/>
2004
- <line num="47" count="211" type="stmt"/>
2005
- <line num="48" count="57" type="stmt"/>
2006
- <line num="49" count="26" type="stmt"/>
2007
- <line num="50" count="26" type="stmt"/>
2008
- <line num="51" count="26" type="stmt"/>
2009
- <line num="55" count="211" type="stmt"/>
2010
- <line num="56" count="114" type="cond" truecount="4" falsecount="0"/>
2011
- <line num="60" count="57" type="cond" truecount="1" falsecount="1"/>
2012
- <line num="61" count="0" type="stmt"/>
2013
- <line num="63" count="0" type="stmt"/>
1577
+ <metrics statements="30" coveredstatements="28" conditionals="14" coveredconditionals="11" methods="6" coveredmethods="5"/>
1578
+ <line num="17" count="371" type="stmt"/>
1579
+ <line num="18" count="371" type="stmt"/>
1580
+ <line num="20" count="371" type="stmt"/>
1581
+ <line num="32" count="371" type="stmt"/>
1582
+ <line num="34" count="371" type="stmt"/>
1583
+ <line num="36" count="371" type="stmt"/>
1584
+ <line num="38" count="371" type="stmt"/>
1585
+ <line num="40" count="371" type="stmt"/>
1586
+ <line num="41" count="71" type="cond" truecount="2" falsecount="0"/>
1587
+ <line num="42" count="48" type="stmt"/>
1588
+ <line num="44" count="71" type="stmt"/>
1589
+ <line num="47" count="371" type="stmt"/>
1590
+ <line num="48" count="94" type="stmt"/>
1591
+ <line num="49" count="44" type="stmt"/>
1592
+ <line num="50" count="44" type="stmt"/>
1593
+ <line num="51" count="44" type="stmt"/>
1594
+ <line num="55" count="371" type="stmt"/>
1595
+ <line num="56" count="367" type="cond" truecount="4" falsecount="0"/>
1596
+ <line num="60" count="109" type="cond" truecount="2" falsecount="0"/>
1597
+ <line num="61" count="18" type="stmt"/>
1598
+ <line num="63" count="18" type="stmt"/>
2014
1599
  <line num="64" count="0" type="cond" truecount="0" falsecount="2"/>
2015
1600
  <line num="65" count="0" type="stmt"/>
2016
- <line num="68" count="0" type="cond" truecount="0" falsecount="2"/>
2017
- <line num="69" count="0" type="stmt"/>
2018
- <line num="74" count="57" type="stmt"/>
2019
- <line num="75" count="57" type="stmt"/>
2020
- <line num="76" count="57" type="stmt"/>
2021
- <line num="77" count="57" type="stmt"/>
2022
- <line num="80" count="211" type="stmt"/>
1601
+ <line num="68" count="18" type="cond" truecount="1" falsecount="1"/>
1602
+ <line num="69" count="18" type="stmt"/>
1603
+ <line num="74" count="91" type="stmt"/>
1604
+ <line num="75" count="91" type="stmt"/>
1605
+ <line num="76" count="91" type="stmt"/>
1606
+ <line num="77" count="91" type="stmt"/>
1607
+ <line num="80" count="371" type="stmt"/>
2023
1608
  </file>
2024
1609
  <file name="useMapState.ts" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useMapState.ts">
2025
- <metrics statements="48" coveredstatements="27" conditionals="26" coveredconditionals="8" methods="7" coveredmethods="4"/>
2026
- <line num="41" count="211" type="stmt"/>
2027
- <line num="43" count="211" type="stmt"/>
2028
- <line num="44" count="211" type="stmt"/>
2029
- <line num="46" count="211" type="stmt"/>
2030
- <line num="47" count="211" type="stmt"/>
2031
- <line num="49" count="211" type="stmt"/>
2032
- <line num="50" count="211" type="stmt"/>
2033
- <line num="52" count="211" type="stmt"/>
2034
- <line num="60" count="211" type="stmt"/>
1610
+ <metrics statements="48" coveredstatements="35" conditionals="26" coveredconditionals="11" methods="7" coveredmethods="5"/>
1611
+ <line num="41" count="371" type="stmt"/>
1612
+ <line num="43" count="371" type="stmt"/>
1613
+ <line num="44" count="371" type="stmt"/>
1614
+ <line num="46" count="371" type="stmt"/>
1615
+ <line num="47" count="371" type="stmt"/>
1616
+ <line num="49" count="371" type="stmt"/>
1617
+ <line num="50" count="371" type="stmt"/>
1618
+ <line num="52" count="371" type="stmt"/>
1619
+ <line num="60" count="371" type="stmt"/>
2035
1620
  <line num="62" count="0" type="cond" truecount="0" falsecount="4"/>
2036
1621
  <line num="63" count="0" type="stmt"/>
2037
1622
  <line num="66" count="0" type="cond" truecount="0" falsecount="2"/>
@@ -2039,105 +1624,105 @@
2039
1624
  <line num="68" count="0" type="stmt"/>
2040
1625
  <line num="70" count="0" type="stmt"/>
2041
1626
  <line num="74" count="0" type="stmt"/>
2042
- <line num="79" count="211" type="stmt"/>
2043
- <line num="80" count="0" type="cond" truecount="0" falsecount="2"/>
2044
- <line num="82" count="0" type="stmt"/>
2045
- <line num="83" count="0" type="stmt"/>
2046
- <line num="84" count="0" type="cond" truecount="0" falsecount="2"/>
2047
- <line num="85" count="0" type="stmt"/>
2048
- <line num="86" count="0" type="stmt"/>
2049
- <line num="90" count="211" type="stmt"/>
2050
- <line num="91" count="57" type="stmt"/>
2051
- <line num="93" count="57" type="stmt"/>
2052
- <line num="95" count="26" type="cond" truecount="1" falsecount="1"/>
2053
- <line num="96" count="26" type="stmt"/>
2054
- <line num="97" count="26" type="stmt"/>
2055
- <line num="99" count="26" type="stmt"/>
2056
- <line num="103" count="211" type="stmt"/>
2057
- <line num="104" count="211" type="cond" truecount="4" falsecount="0"/>
2058
- <line num="107" count="57" type="stmt"/>
2059
- <line num="108" count="57" type="stmt"/>
2060
- <line num="110" count="57" type="cond" truecount="1" falsecount="1"/>
1627
+ <line num="79" count="371" type="stmt"/>
1628
+ <line num="80" count="6" type="cond" truecount="1" falsecount="1"/>
1629
+ <line num="82" count="6" type="stmt"/>
1630
+ <line num="83" count="6" type="stmt"/>
1631
+ <line num="84" count="6" type="cond" truecount="1" falsecount="1"/>
1632
+ <line num="85" count="6" type="stmt"/>
1633
+ <line num="86" count="6" type="stmt"/>
1634
+ <line num="90" count="371" type="stmt"/>
1635
+ <line num="91" count="94" type="stmt"/>
1636
+ <line num="93" count="94" type="stmt"/>
1637
+ <line num="95" count="44" type="cond" truecount="1" falsecount="1"/>
1638
+ <line num="96" count="44" type="stmt"/>
1639
+ <line num="97" count="44" type="stmt"/>
1640
+ <line num="99" count="44" type="stmt"/>
1641
+ <line num="103" count="371" type="stmt"/>
1642
+ <line num="104" count="368" type="cond" truecount="4" falsecount="0"/>
1643
+ <line num="107" count="94" type="stmt"/>
1644
+ <line num="108" count="94" type="stmt"/>
1645
+ <line num="110" count="94" type="cond" truecount="1" falsecount="1"/>
2061
1646
  <line num="111" count="0" type="stmt"/>
2062
1647
  <line num="112" count="0" type="stmt"/>
2063
- <line num="115" count="57" type="cond" truecount="1" falsecount="1"/>
1648
+ <line num="115" count="94" type="cond" truecount="1" falsecount="1"/>
2064
1649
  <line num="116" count="0" type="stmt"/>
2065
1650
  <line num="119" count="0" type="stmt"/>
2066
1651
  <line num="122" count="0" type="cond" truecount="0" falsecount="2"/>
2067
1652
  <line num="123" count="0" type="stmt"/>
2068
- <line num="131" count="57" type="cond" truecount="1" falsecount="1"/>
2069
- <line num="132" count="0" type="stmt"/>
2070
- <line num="134" count="0" type="stmt"/>
2071
- <line num="146" count="211" type="stmt"/>
2072
- <line num="152" count="15" type="stmt"/>
2073
- <line num="164" count="15" type="stmt"/>
1653
+ <line num="131" count="94" type="cond" truecount="2" falsecount="0"/>
1654
+ <line num="132" count="6" type="stmt"/>
1655
+ <line num="134" count="6" type="stmt"/>
1656
+ <line num="146" count="371" type="stmt"/>
1657
+ <line num="152" count="16" type="stmt"/>
1658
+ <line num="164" count="16" type="stmt"/>
2074
1659
  </file>
2075
1660
  <file name="useSource.ts" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useSource.ts">
2076
- <metrics statements="26" coveredstatements="0" conditionals="20" coveredconditionals="0" methods="6" coveredmethods="0"/>
2077
- <line num="20" count="0" type="stmt"/>
2078
- <line num="24" count="0" type="stmt"/>
2079
- <line num="25" count="0" type="stmt"/>
2080
- <line num="26" count="0" type="stmt"/>
2081
- <line num="30" count="0" type="stmt"/>
2082
- <line num="31" count="0" type="cond" truecount="0" falsecount="2"/>
2083
- <line num="32" count="0" type="stmt"/>
2084
- <line num="34" count="0" type="cond" truecount="0" falsecount="2"/>
1661
+ <metrics statements="26" coveredstatements="21" conditionals="20" coveredconditionals="11" methods="6" coveredmethods="6"/>
1662
+ <line num="20" count="40" type="stmt"/>
1663
+ <line num="24" count="40" type="stmt"/>
1664
+ <line num="25" count="40" type="stmt"/>
1665
+ <line num="26" count="40" type="stmt"/>
1666
+ <line num="30" count="40" type="stmt"/>
1667
+ <line num="31" count="10" type="cond" truecount="1" falsecount="1"/>
1668
+ <line num="32" count="10" type="stmt"/>
1669
+ <line num="34" count="10" type="cond" truecount="1" falsecount="1"/>
2085
1670
  <line num="35" count="0" type="stmt"/>
2086
- <line num="38" count="0" type="stmt"/>
2087
- <line num="42" count="0" type="stmt"/>
2088
- <line num="45" count="0" type="stmt"/>
2089
- <line num="46" count="0" type="cond" truecount="0" falsecount="4"/>
2090
- <line num="47" count="0" type="stmt"/>
2091
- <line num="50" count="0" type="stmt"/>
2092
- <line num="51" count="0" type="cond" truecount="0" falsecount="4"/>
1671
+ <line num="38" count="10" type="stmt"/>
1672
+ <line num="42" count="10" type="stmt"/>
1673
+ <line num="45" count="40" type="stmt"/>
1674
+ <line num="46" count="40" type="cond" truecount="4" falsecount="0"/>
1675
+ <line num="47" count="10" type="stmt"/>
1676
+ <line num="50" count="40" type="stmt"/>
1677
+ <line num="51" count="16" type="cond" truecount="2" falsecount="2"/>
2093
1678
  <line num="55" count="0" type="stmt"/>
2094
- <line num="61" count="0" type="stmt"/>
2095
- <line num="62" count="0" type="stmt"/>
2096
- <line num="63" count="0" type="stmt"/>
2097
- <line num="64" count="0" type="cond" truecount="0" falsecount="2"/>
2098
- <line num="65" count="0" type="stmt"/>
1679
+ <line num="61" count="40" type="stmt"/>
1680
+ <line num="62" count="20" type="stmt"/>
1681
+ <line num="63" count="15" type="stmt"/>
1682
+ <line num="64" count="15" type="cond" truecount="2" falsecount="0"/>
1683
+ <line num="65" count="5" type="stmt"/>
2099
1684
  <line num="66" count="0" type="cond" truecount="0" falsecount="2"/>
2100
1685
  <line num="67" count="0" type="stmt"/>
2101
1686
  <line num="71" count="0" type="stmt"/>
2102
- <line num="76" count="0" type="stmt"/>
1687
+ <line num="76" count="40" type="stmt"/>
2103
1688
  </file>
2104
- <file name="useWms.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useWms.js">
1689
+ <file name="useWms.ts" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useWms.ts">
2105
1690
  <metrics statements="35" coveredstatements="1" conditionals="8" coveredconditionals="0" methods="7" coveredmethods="0"/>
2106
- <line num="6" count="0" type="stmt"/>
2107
- <line num="7" count="0" type="stmt"/>
2108
- <line num="8" count="0" type="stmt"/>
2109
- <line num="9" count="0" type="stmt"/>
2110
- <line num="10" count="0" type="stmt"/>
2111
- <line num="12" count="0" type="stmt"/>
2112
- <line num="13" count="0" type="stmt"/>
2113
- <line num="14" count="0" type="stmt"/>
2114
- <line num="16" count="0" type="stmt"/>
2115
1691
  <line num="19" count="0" type="stmt"/>
1692
+ <line num="20" count="0" type="stmt"/>
2116
1693
  <line num="21" count="0" type="stmt"/>
2117
1694
  <line num="22" count="0" type="stmt"/>
2118
- <line num="24" count="0" type="cond" truecount="0" falsecount="2"/>
1695
+ <line num="23" count="0" type="stmt"/>
1696
+ <line num="25" count="0" type="stmt"/>
1697
+ <line num="26" count="0" type="stmt"/>
2119
1698
  <line num="27" count="0" type="stmt"/>
2120
- <line num="28" count="0" type="cond" truecount="0" falsecount="2"/>
2121
1699
  <line num="29" count="0" type="stmt"/>
2122
- <line num="30" count="0" type="stmt"/>
2123
1700
  <line num="32" count="0" type="stmt"/>
2124
1701
  <line num="34" count="0" type="stmt"/>
2125
- <line num="39" count="0" type="stmt"/>
1702
+ <line num="35" count="0" type="stmt"/>
1703
+ <line num="37" count="0" type="cond" truecount="0" falsecount="2"/>
1704
+ <line num="40" count="0" type="stmt"/>
1705
+ <line num="41" count="0" type="cond" truecount="0" falsecount="2"/>
2126
1706
  <line num="42" count="0" type="stmt"/>
2127
- <line num="44" count="0" type="stmt"/>
2128
- <line num="46" count="0" type="cond" truecount="0" falsecount="2"/>
1707
+ <line num="43" count="0" type="stmt"/>
1708
+ <line num="45" count="0" type="stmt"/>
2129
1709
  <line num="47" count="0" type="stmt"/>
2130
- <line num="49" count="0" type="stmt"/>
2131
- <line num="53" count="0" type="stmt"/>
1710
+ <line num="52" count="0" type="stmt"/>
1711
+ <line num="55" count="0" type="stmt"/>
2132
1712
  <line num="57" count="0" type="stmt"/>
2133
- <line num="58" count="0" type="stmt"/>
2134
- <line num="59" count="0" type="stmt"/>
2135
- <line num="63" count="0" type="stmt"/>
2136
- <line num="64" count="0" type="cond" truecount="0" falsecount="2"/>
1713
+ <line num="59" count="0" type="cond" truecount="0" falsecount="2"/>
1714
+ <line num="60" count="0" type="stmt"/>
1715
+ <line num="62" count="0" type="stmt"/>
2137
1716
  <line num="66" count="0" type="stmt"/>
2138
- <line num="68" count="0" type="stmt"/>
2139
- <line num="73" count="0" type="stmt"/>
2140
- <line num="82" count="10" type="stmt"/>
1717
+ <line num="70" count="0" type="stmt"/>
1718
+ <line num="71" count="0" type="stmt"/>
1719
+ <line num="72" count="0" type="stmt"/>
1720
+ <line num="76" count="0" type="stmt"/>
1721
+ <line num="77" count="0" type="cond" truecount="0" falsecount="2"/>
1722
+ <line num="79" count="0" type="stmt"/>
1723
+ <line num="81" count="0" type="stmt"/>
1724
+ <line num="86" count="0" type="stmt"/>
1725
+ <line num="95" count="10" type="stmt"/>
2141
1726
  </file>
2142
1727
  </package>
2143
1728
  <package name="src.hooks.useCameraFollowPath">
@@ -2285,5 +1870,76 @@
2285
1870
  <line num="154" count="0" type="stmt"/>
2286
1871
  </file>
2287
1872
  </package>
1873
+ <package name="src.hooks.useGpx">
1874
+ <metrics statements="25" coveredstatements="24" conditionals="6" coveredconditionals="5" methods="5" coveredmethods="5"/>
1875
+ <file name="useGpx.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useGpx/useGpx.tsx">
1876
+ <metrics statements="25" coveredstatements="24" conditionals="6" coveredconditionals="5" methods="5" coveredmethods="5"/>
1877
+ <line num="22" count="10" type="stmt"/>
1878
+ <line num="23" count="24" type="stmt"/>
1879
+ <line num="24" count="24" type="stmt"/>
1880
+ <line num="26" count="24" type="stmt"/>
1881
+ <line num="27" count="6" type="stmt"/>
1882
+ <line num="28" count="6" type="stmt"/>
1883
+ <line num="29" count="6" type="stmt"/>
1884
+ <line num="30" count="6" type="stmt"/>
1885
+ <line num="31" count="6" type="stmt"/>
1886
+ <line num="32" count="6" type="stmt"/>
1887
+ <line num="33" count="66" type="stmt"/>
1888
+ <line num="34" count="66" type="stmt"/>
1889
+ <line num="36" count="66" type="cond" truecount="2" falsecount="0"/>
1890
+ <line num="37" count="6" type="stmt"/>
1891
+ <line num="39" count="66" type="cond" truecount="2" falsecount="0"/>
1892
+ <line num="40" count="30" type="stmt"/>
1893
+ <line num="45" count="30" type="stmt"/>
1894
+ <line num="48" count="6" type="stmt"/>
1895
+ <line num="49" count="6" type="stmt"/>
1896
+ <line num="51" count="0" type="stmt"/>
1897
+ <line num="55" count="24" type="stmt"/>
1898
+ <line num="56" count="6" type="cond" truecount="1" falsecount="1"/>
1899
+ <line num="58" count="6" type="stmt"/>
1900
+ <line num="61" count="24" type="stmt"/>
1901
+ <line num="67" count="10" type="stmt"/>
1902
+ </file>
1903
+ </package>
1904
+ <package name="src.hooks.useLayerFilter">
1905
+ <metrics statements="11" coveredstatements="0" conditionals="9" coveredconditionals="0" methods="3" coveredmethods="0"/>
1906
+ <file name="useLayerFilter.ts" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useLayerFilter/useLayerFilter.ts">
1907
+ <metrics statements="11" coveredstatements="0" conditionals="9" coveredconditionals="0" methods="3" coveredmethods="0"/>
1908
+ <line num="12" count="0" type="stmt"/>
1909
+ <line num="14" count="0" type="stmt"/>
1910
+ <line num="15" count="0" type="cond" truecount="0" falsecount="5"/>
1911
+ <line num="17" count="0" type="cond" truecount="0" falsecount="2"/>
1912
+ <line num="18" count="0" type="stmt"/>
1913
+ <line num="20" count="0" type="stmt"/>
1914
+ <line num="21" count="0" type="stmt"/>
1915
+ <line num="22" count="0" type="cond" truecount="0" falsecount="2"/>
1916
+ <line num="23" count="0" type="stmt"/>
1917
+ <line num="27" count="0" type="stmt"/>
1918
+ <line num="30" count="0" type="stmt"/>
1919
+ </file>
1920
+ </package>
1921
+ <package name="src.hooks.useLayerHoverPopup">
1922
+ <metrics statements="17" coveredstatements="7" conditionals="14" coveredconditionals="2" methods="3" coveredmethods="2"/>
1923
+ <file name="useLayerHoverPopup.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useLayerHoverPopup/useLayerHoverPopup.tsx">
1924
+ <metrics statements="17" coveredstatements="7" conditionals="14" coveredconditionals="2" methods="3" coveredmethods="2"/>
1925
+ <line num="25" count="10" type="stmt"/>
1926
+ <line num="26" count="24" type="stmt"/>
1927
+ <line num="30" count="24" type="stmt"/>
1928
+ <line num="37" count="24" type="stmt"/>
1929
+ <line num="38" count="6" type="cond" truecount="2" falsecount="2"/>
1930
+ <line num="39" count="0" type="stmt"/>
1931
+ <line num="48" count="0" type="cond" truecount="0" falsecount="2"/>
1932
+ <line num="51" count="0" type="stmt"/>
1933
+ <line num="53" count="0" type="stmt"/>
1934
+ <line num="54" count="0" type="cond" truecount="0" falsecount="4"/>
1935
+ <line num="55" count="0" type="stmt"/>
1936
+ <line num="58" count="0" type="cond" truecount="0" falsecount="2"/>
1937
+ <line num="62" count="0" type="stmt"/>
1938
+ <line num="63" count="0" type="cond" truecount="0" falsecount="2"/>
1939
+ <line num="69" count="0" type="stmt"/>
1940
+ <line num="76" count="24" type="stmt"/>
1941
+ <line num="79" count="10" type="stmt"/>
1942
+ </file>
1943
+ </package>
2288
1944
  </project>
2289
1945
  </coverage>