@mapcomponents/react-maplibre 0.1.32 → 0.1.35

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 (319) hide show
  1. package/.babelrc +3 -0
  2. package/.github/workflows/storybook.yml +1 -1
  3. package/.storybook/.babelrc +26 -0
  4. package/.storybook/main.js +15 -1
  5. package/.storybook/mapcomponents_logo.png +0 -0
  6. package/CHANGELOG.md +10 -0
  7. package/config/env.js +106 -0
  8. package/config/getHttpsConfig.js +66 -0
  9. package/config/jest/babelTransform.js +29 -0
  10. package/config/jest/cssTransform.js +14 -0
  11. package/config/jest/fileTransform.js +40 -0
  12. package/config/modules.js +134 -0
  13. package/config/paths.js +75 -0
  14. package/config/pnpTs.js +35 -0
  15. package/config/webpack.config.js +757 -0
  16. package/config/webpackDevServer.config.js +130 -0
  17. package/coverage/clover.xml +822 -900
  18. package/coverage/coverage-final.json +23 -24
  19. package/coverage/lcov-report/index.html +135 -150
  20. package/coverage/lcov-report/src/components/MapLibreMap/{MapLibreMap.js.html → MapLibreMap.tsx.html} +77 -68
  21. package/coverage/lcov-report/src/components/MapLibreMap/index.html +6 -6
  22. package/coverage/lcov-report/src/components/MlCreatePdfButton/{MlCreatePdfButton.js.html → MlCreatePdfButton.tsx.html} +40 -43
  23. package/coverage/lcov-report/src/components/MlCreatePdfButton/index.html +10 -10
  24. package/coverage/lcov-report/src/components/MlFeatureEditor/{MlFeatureEditor.js.html → MlFeatureEditor.tsx.html} +145 -85
  25. package/coverage/lcov-report/src/components/MlFeatureEditor/index.html +21 -21
  26. package/coverage/lcov-report/src/components/{MlImageMarkerLayer/MlImageMarkerLayer.js.html → MlFillExtrusionLayer/MlFillExtrusionLayer.tsx.html} +141 -111
  27. package/coverage/lcov-report/src/components/MlFillExtrusionLayer/index.html +20 -20
  28. package/coverage/lcov-report/src/components/MlFollowGps/{MlFollowGps.js.html → MlFollowGps.tsx.html} +177 -138
  29. package/coverage/lcov-report/src/components/MlFollowGps/index.html +15 -15
  30. package/coverage/lcov-report/src/components/MlGPXViewer/{MlGPXViewer.js.html → MlGPXViewer.tsx.html} +134 -80
  31. package/coverage/lcov-report/src/components/MlGPXViewer/gpxConverter.js.html +1 -1
  32. package/coverage/lcov-report/src/components/MlGPXViewer/index.html +16 -16
  33. package/coverage/lcov-report/src/components/{MlLayer/MlLayer.js.html → MlGeoJsonLayer/MlGeoJsonLayer.tsx.html} +151 -154
  34. package/coverage/lcov-report/src/components/MlGeoJsonLayer/index.html +19 -19
  35. package/coverage/lcov-report/src/components/{MlFillExtrusionLayer/MlFillExtrusionLayer.js.html → MlImageMarkerLayer/MlImageMarkerLayer.tsx.html} +151 -223
  36. package/coverage/lcov-report/src/components/MlImageMarkerLayer/index.html +16 -16
  37. package/coverage/lcov-report/src/components/MlLayer/MlLayer.tsx.html +229 -0
  38. package/coverage/lcov-report/src/components/MlLayer/index.html +21 -21
  39. package/coverage/lcov-report/src/components/MlLayerMagnify/{MlLayerMagnify.js.html → MlLayerMagnify.tsx.html} +134 -77
  40. package/coverage/lcov-report/src/components/MlLayerMagnify/index.html +20 -20
  41. package/coverage/lcov-report/src/components/MlLayerSwipe/{MlLayerSwipe.js.html → MlLayerSwipe.tsx.html} +83 -41
  42. package/coverage/lcov-report/src/components/MlLayerSwipe/index.html +2 -2
  43. package/coverage/lcov-report/src/components/MlLayerSwitcher/MlLayerSwitcher.js.html +3 -15
  44. package/coverage/lcov-report/src/components/MlLayerSwitcher/components/LayerBox.js.html +1 -1
  45. package/coverage/lcov-report/src/components/MlLayerSwitcher/components/index.html +1 -1
  46. package/coverage/lcov-report/src/components/MlLayerSwitcher/index.html +1 -1
  47. package/coverage/lcov-report/src/components/MlMarker/{MlMarker.js.html → MlMarker.tsx.html} +89 -137
  48. package/coverage/lcov-report/src/components/MlMarker/index.html +10 -10
  49. package/coverage/lcov-report/src/components/MlNavigationCompass/{MlNavigationCompass.js.html → MlNavigationCompass.tsx.html} +76 -25
  50. package/coverage/lcov-report/src/components/MlNavigationCompass/index.html +17 -17
  51. package/coverage/lcov-report/src/components/MlNavigationTools/{MlNavigationTools.js.html → MlNavigationTools.tsx.html} +67 -52
  52. package/coverage/lcov-report/src/components/MlNavigationTools/index.html +10 -10
  53. package/coverage/lcov-report/src/components/MlOsmLayer/MlOsmLayer.js.html +1 -1
  54. package/coverage/lcov-report/src/components/MlOsmLayer/index.html +1 -1
  55. package/coverage/lcov-report/src/components/MlScaleReference/MlScaleReference.js.html +1 -1
  56. package/coverage/lcov-report/src/components/MlScaleReference/index.html +1 -1
  57. package/coverage/lcov-report/src/components/MlShareMapState/MlShareMapState.js.html +1 -1
  58. package/coverage/lcov-report/src/components/MlShareMapState/index.html +1 -1
  59. package/coverage/lcov-report/src/components/MlSpatialElevationProfile/MlSpatialElevationProfile.js.html +3 -3
  60. package/coverage/lcov-report/src/components/MlSpatialElevationProfile/index.html +1 -1
  61. package/coverage/lcov-report/src/components/MlThreeJsLayer/MlThreeJsLayer.js.html +5 -5
  62. package/coverage/lcov-report/src/components/MlThreeJsLayer/index.html +1 -1
  63. package/coverage/lcov-report/src/components/MlTransitionGeoJsonLayer/{MlTransitionGeoJsonLayer.js.html → MlTransitionGeoJsonLayer.tsx.html} +127 -118
  64. package/coverage/lcov-report/src/components/MlTransitionGeoJsonLayer/index.html +11 -11
  65. package/coverage/lcov-report/src/components/MlUseMapDebugger/MlUseMapDebugger.js.html +1 -1
  66. package/coverage/lcov-report/src/components/MlUseMapDebugger/index.html +1 -1
  67. package/coverage/lcov-report/src/components/MlVectorTileLayer/{MlVectorTileLayer.js.html → MlVectorTileLayer.tsx.html} +59 -11
  68. package/coverage/lcov-report/src/components/MlVectorTileLayer/index.html +2 -2
  69. package/coverage/lcov-report/src/components/MlWmsFeatureInfoPopup/MlWmsFeatureInfoPopup.js.html +1 -1
  70. package/coverage/lcov-report/src/components/MlWmsFeatureInfoPopup/index.html +1 -1
  71. package/coverage/lcov-report/src/components/MlWmsLayer/{MlWmsLayer.js.html → MlWmsLayer.tsx.html} +56 -11
  72. package/coverage/lcov-report/src/components/MlWmsLayer/index.html +2 -2
  73. package/coverage/lcov-report/src/components/MlWmsLoader/{MlWmsLoader.js.html → MlWmsLoader.tsx.html} +102 -78
  74. package/coverage/lcov-report/src/components/MlWmsLoader/index.html +8 -8
  75. package/coverage/lcov-report/src/hooks/index.html +44 -29
  76. package/coverage/lcov-report/src/{components/MlGeoJsonLayer/MlGeoJsonLayer.js.html → hooks/useLayer.ts.html} +328 -184
  77. package/coverage/lcov-report/src/hooks/{useMap.js.html → useMap.ts.html} +140 -50
  78. package/coverage/lcov-report/src/hooks/{useMapState.js.html → useMapState.ts.html} +166 -61
  79. package/coverage/lcov-report/src/hooks/useWms.js.html +1 -1
  80. package/coverage/lcov-report/src/index.html +15 -15
  81. package/coverage/lcov-report/src/{i18n.js.html → index.ts.html} +50 -32
  82. package/coverage/lcov.info +1540 -1669
  83. package/dist/index.esm.css +195 -0
  84. package/dist/index.esm.js +17304 -4936
  85. package/dist/index.esm.js.map +1 -1
  86. package/docs-build/0.d0c23b79.iframe.bundle.js +2 -0
  87. package/docs-build/0.d0c23b79.iframe.bundle.js.map +1 -0
  88. package/docs-build/0.fd1aa3ea21956d993519.manager.bundle.js +1 -0
  89. package/docs-build/1.34075652.iframe.bundle.js +10 -0
  90. package/docs-build/1.34075652.iframe.bundle.js.map +1 -0
  91. package/docs-build/16.ca488dae.iframe.bundle.js +2 -0
  92. package/docs-build/16.ca488dae.iframe.bundle.js.map +1 -0
  93. package/docs-build/17.e40eac7f.iframe.bundle.js +17 -0
  94. package/docs-build/17.e40eac7f.iframe.bundle.js.map +1 -0
  95. package/docs-build/18.62af0912.iframe.bundle.js +14 -0
  96. package/docs-build/18.62af0912.iframe.bundle.js.map +1 -0
  97. package/docs-build/19.0a217189.iframe.bundle.js +2 -0
  98. package/docs-build/19.0a217189.iframe.bundle.js.map +1 -0
  99. package/docs-build/2.f15ae19a.iframe.bundle.js +2 -0
  100. package/docs-build/2.f15ae19a.iframe.bundle.js.map +1 -0
  101. package/docs-build/20.4c43e27c.iframe.bundle.js +4 -0
  102. package/docs-build/20.4c43e27c.iframe.bundle.js.map +1 -0
  103. package/docs-build/21.19c21085.iframe.bundle.js +22 -0
  104. package/docs-build/21.19c21085.iframe.bundle.js.map +1 -0
  105. package/docs-build/3.5dd9e88b.iframe.bundle.js +2 -0
  106. package/docs-build/3.5dd9e88b.iframe.bundle.js.map +1 -0
  107. package/docs-build/4.f741dafe1833630ec8bf.manager.bundle.js +2 -0
  108. package/docs-build/4.f741dafe1833630ec8bf.manager.bundle.js.LICENSE.txt +8 -0
  109. package/docs-build/5.d4de191e7daeefb036ca.manager.bundle.js +1 -0
  110. package/docs-build/6.2b178c5444648ee5c0fa.manager.bundle.js +2 -0
  111. package/docs-build/6.2b178c5444648ee5c0fa.manager.bundle.js.LICENSE.txt +12 -0
  112. package/docs-build/7.7c16aea8ec7ea6e91994.manager.bundle.js +1 -0
  113. package/docs-build/8.52fa838fdf937b29676a.manager.bundle.js +1 -0
  114. package/docs-build/assets/dop.png +0 -0
  115. package/docs-build/assets/historic.png +0 -0
  116. package/docs-build/assets/marker.png +0 -0
  117. package/docs-build/assets/osm.png +0 -0
  118. package/docs-build/assets/sample.gpx +716 -0
  119. package/docs-build/{.gitkeep → catalogue/.gitkeep} +0 -0
  120. package/docs-build/catalogue/mc_meta.json +1 -0
  121. package/docs-build/favicon.ico +0 -0
  122. package/docs-build/iframe.html +348 -0
  123. package/docs-build/index.html +59 -0
  124. package/docs-build/logo.png +0 -0
  125. package/docs-build/main.8a7ec710ea1c16b5e13f.manager.bundle.js +1 -0
  126. package/docs-build/main~24120820.ba6665a8.iframe.bundle.js +2 -0
  127. package/docs-build/main~24120820.ba6665a8.iframe.bundle.js.map +1 -0
  128. package/docs-build/manifest.json +25 -0
  129. package/docs-build/robots.txt +3 -0
  130. package/docs-build/runtime~main.67aa1de2d72f40a81164.manager.bundle.js +1 -0
  131. package/docs-build/static/media/mapcomponents_logo.98b01a05.png +0 -0
  132. package/docs-build/static/media/wg-marker.bf3eeb2d.png +0 -0
  133. package/docs-build/stories.json +331 -0
  134. package/docs-build/thumbnails/MapLibreMap.png +0 -0
  135. package/docs-build/thumbnails/MlCameraFollowPath.png +0 -0
  136. package/docs-build/thumbnails/MlCreatePdfButton.png +0 -0
  137. package/docs-build/thumbnails/MlDeckGlLayer.png +0 -0
  138. package/docs-build/thumbnails/MlDeckGlTerrainLayer.png +0 -0
  139. package/docs-build/thumbnails/MlDemoDashboard.png +0 -0
  140. package/docs-build/thumbnails/MlFeatureEditor.png +0 -0
  141. package/docs-build/thumbnails/MlFillExtrusionLayer.png +0 -0
  142. package/docs-build/thumbnails/MlFollowGps.png +0 -0
  143. package/docs-build/thumbnails/MlGPXViewer.png +0 -0
  144. package/docs-build/thumbnails/MlGeoJsonLayer.png +0 -0
  145. package/docs-build/thumbnails/MlHillshadeLayer.png +0 -0
  146. package/docs-build/thumbnails/MlIconLayer.png +0 -0
  147. package/docs-build/thumbnails/MlLaermkarte.png +0 -0
  148. package/docs-build/thumbnails/MlLayerMagnify.png +0 -0
  149. package/docs-build/thumbnails/MlLayerSwipe.png +0 -0
  150. package/docs-build/thumbnails/MlMapDrawTools.png +0 -0
  151. package/docs-build/thumbnails/MlMobilerImker.png +0 -0
  152. package/docs-build/thumbnails/MlNavigationCompass.png +0 -0
  153. package/docs-build/thumbnails/MlNavigationTools.png +0 -0
  154. package/docs-build/thumbnails/MlOsmLayer.png +0 -0
  155. package/docs-build/thumbnails/MlScaleReference.png +0 -0
  156. package/docs-build/thumbnails/MlSpatialElevationProfile.png +0 -0
  157. package/docs-build/thumbnails/MlThreeJsLayer.png +0 -0
  158. package/docs-build/thumbnails/MlTransitionGeoJsonLayer.png +0 -0
  159. package/docs-build/thumbnails/MlVectorTileLayer.png +0 -0
  160. package/docs-build/thumbnails/MlWanderApp.png +0 -0
  161. package/docs-build/thumbnails/MlWmsLayer.png +0 -0
  162. package/docs-build/thumbnails/MlWmsLoader.png +0 -0
  163. package/docs-build/vendors~main.351900838c49e9200954.manager.bundle.js +2 -0
  164. package/docs-build/vendors~main.351900838c49e9200954.manager.bundle.js.LICENSE.txt +101 -0
  165. package/docs-build/vendors~main~0ad7406a.a6abfed7.iframe.bundle.js +8 -0
  166. package/docs-build/vendors~main~0ad7406a.a6abfed7.iframe.bundle.js.map +1 -0
  167. package/docs-build/vendors~main~0f485567.1d7a15b7.iframe.bundle.js +2 -0
  168. package/docs-build/vendors~main~0f485567.1d7a15b7.iframe.bundle.js.map +1 -0
  169. package/docs-build/vendors~main~41a6ab2c.525ecc56.iframe.bundle.js +2 -0
  170. package/docs-build/vendors~main~41a6ab2c.525ecc56.iframe.bundle.js.map +1 -0
  171. package/docs-build/vendors~main~52589227.1d1558cd.iframe.bundle.js +8 -0
  172. package/docs-build/vendors~main~52589227.1d1558cd.iframe.bundle.js.map +1 -0
  173. package/docs-build/vendors~main~73914085.227c6747.iframe.bundle.js +293 -0
  174. package/docs-build/vendors~main~73914085.227c6747.iframe.bundle.js.map +1 -0
  175. package/docs-build/vendors~main~9c5b28f6.f02cc741.iframe.bundle.js +7 -0
  176. package/docs-build/vendors~main~9c5b28f6.f02cc741.iframe.bundle.js.map +1 -0
  177. package/docs-build/vendors~main~b5906859.4083ac60.iframe.bundle.js +21 -0
  178. package/docs-build/vendors~main~b5906859.4083ac60.iframe.bundle.js.map +1 -0
  179. package/docs-build/vendors~main~b8f44717.7a612c34.iframe.bundle.js +89 -0
  180. package/docs-build/vendors~main~b8f44717.7a612c34.iframe.bundle.js.map +1 -0
  181. package/docs-build/vendors~main~b9cf3951.45da142d.iframe.bundle.js +68 -0
  182. package/docs-build/vendors~main~b9cf3951.45da142d.iframe.bundle.js.map +1 -0
  183. package/docs-build/vendors~main~d939e436.92c27fbf.iframe.bundle.js +2 -0
  184. package/docs-build/vendors~main~d939e436.92c27fbf.iframe.bundle.js.map +1 -0
  185. package/docs-build/vendors~main~dab50aa4.b0d58038.iframe.bundle.js +107 -0
  186. package/docs-build/vendors~main~dab50aa4.b0d58038.iframe.bundle.js.map +1 -0
  187. package/package.json +133 -117
  188. package/public/favicon.ico +0 -0
  189. package/public/logo.png +0 -0
  190. package/rollup.config.js +26 -3
  191. package/scripts/start.js +166 -0
  192. package/scripts/test.js +53 -0
  193. package/src/components/MapLibreMap/MapLibreMap.stories.js +14 -5
  194. package/src/components/MapLibreMap/MapLibreMap.test.js +1 -1
  195. package/src/components/MapLibreMap/{MapLibreMap.js → MapLibreMap.tsx} +40 -37
  196. package/src/components/MapLibreMap/lib/MapLibreGlWrapper.test.js +3 -3
  197. package/src/components/MapLibreMap/lib/MapLibreGlWrapper.ts +636 -0
  198. package/src/components/MlComponentTemplate/MlComponentTemplate.stories.js +0 -2
  199. package/src/components/MlComponentTemplate/MlComponentTemplate.tsx +42 -0
  200. package/src/components/MlCreatePdfButton/MlCreatePdfButton.stories.js +0 -5
  201. package/src/components/MlCreatePdfButton/MlCreatePdfButton.tsx +51 -0
  202. package/src/components/MlCreatePdfButton/lib/{createPdf.js → createPdf.ts} +26 -23
  203. package/src/components/MlCreatePdfButton/lib/{nominatimMap.js → nominatimMap.ts} +3 -3
  204. package/src/components/MlFeatureEditor/MlFeatureEditor.doc.en.md +1 -0
  205. package/src/components/MlFeatureEditor/MlFeatureEditor.tsx +139 -0
  206. package/src/components/MlFeatureEditor/custom-direct-select-mode.js +12 -8
  207. package/src/components/MlFeatureEditor/custom-polygon-mode.js +9 -5
  208. package/src/components/MlFeatureEditor/custom-select-mode.js +11 -7
  209. package/src/components/MlFeatureEditor/lib/LICENSE.md +18 -0
  210. package/src/components/MlFeatureEditor/lib/common_selectors.js +4 -0
  211. package/src/components/MlFeatureEditor/lib/constants.js +4 -0
  212. package/src/components/MlFeatureEditor/lib/constrain_feature_movement.js +4 -0
  213. package/src/components/MlFeatureEditor/lib/create_midpoint.js +4 -0
  214. package/src/components/MlFeatureEditor/lib/create_supplementary_points.js +4 -0
  215. package/src/components/MlFeatureEditor/lib/create_vertex.js +4 -0
  216. package/src/components/MlFeatureEditor/lib/double_click_zoom.js +4 -0
  217. package/src/components/MlFeatureEditor/lib/euclidean_distance.js +4 -0
  218. package/src/components/MlFeatureEditor/lib/features_at.js +4 -0
  219. package/src/components/MlFeatureEditor/lib/get_features_and_set_cursor.js +4 -0
  220. package/src/components/MlFeatureEditor/lib/is_click.js +4 -0
  221. package/src/components/MlFeatureEditor/lib/is_event_at_coordinates.js +4 -0
  222. package/src/components/MlFeatureEditor/lib/is_tap.js +4 -0
  223. package/src/components/MlFeatureEditor/lib/map_event_to_bounding_box.js +4 -0
  224. package/src/components/MlFeatureEditor/lib/mode_handler.js +4 -0
  225. package/src/components/MlFeatureEditor/lib/mouse_event_point.js +4 -0
  226. package/src/components/MlFeatureEditor/lib/move_features.js +4 -0
  227. package/src/components/MlFeatureEditor/lib/sort_features.js +4 -0
  228. package/src/components/MlFeatureEditor/lib/string_set.js +4 -0
  229. package/src/components/MlFeatureEditor/lib/string_sets_are_equal.js +4 -0
  230. package/src/components/MlFeatureEditor/lib/theme.js +4 -0
  231. package/src/components/MlFeatureEditor/lib/to_dense_array.js +4 -0
  232. package/src/components/MlFeatureEditor/lib/utils.js +4 -0
  233. package/src/components/MlFillExtrusionLayer/MlFillExtrusionLayer.doc.en.md +1 -0
  234. package/src/components/MlFillExtrusionLayer/MlFillExtrusionLayer.stories.js +6 -11
  235. package/src/components/MlFillExtrusionLayer/MlFillExtrusionLayer.tsx +85 -0
  236. package/src/components/MlFollowGps/MlFollowGps.doc.en.md +1 -0
  237. package/src/components/MlFollowGps/MlFollowGps.stories.js +0 -2
  238. package/src/components/MlFollowGps/{MlFollowGps.js → MlFollowGps.tsx} +99 -86
  239. package/src/components/MlGPXViewer/MlGPXViewer.doc.en.md +1 -0
  240. package/src/components/MlGPXViewer/{MlGPXViewer.js → MlGPXViewer.tsx} +68 -50
  241. package/src/components/MlGPXViewer/util/GeoJsonContext.ts +13 -0
  242. package/src/components/MlGPXViewer/util/{GeoJsonProvider.js → GeoJsonProvider.tsx} +3 -7
  243. package/src/components/MlGeoJsonLayer/MlGeoJsonLayer.doc.en.md +1 -0
  244. package/src/components/MlGeoJsonLayer/MlGeoJsonLayer.stories.js +8 -3
  245. package/src/components/MlGeoJsonLayer/MlGeoJsonLayer.tsx +106 -0
  246. package/src/components/MlGeoJsonLayer/util/{getDefaultLayerTypeByGeometry.js → getDefaultLayerTypeByGeometry.ts} +6 -1
  247. package/src/components/MlGeoJsonLayer/util/{getDefaultPaintPropsByType.js → getDefaultPaintPropsByType.ts} +1 -1
  248. package/src/components/MlImageMarkerLayer/MlImageMarkerLayer.stories.js +1 -4
  249. package/src/components/MlImageMarkerLayer/MlImageMarkerLayer.tsx +129 -0
  250. package/src/components/MlLayer/MlLayer.stories.js +0 -2
  251. package/src/components/MlLayer/MlLayer.tsx +48 -0
  252. package/src/components/MlLayerMagnify/MlLayerMagnify.doc.en.md +1 -0
  253. package/src/components/MlLayerMagnify/MlLayerMagnify.stories.js +3 -3
  254. package/src/components/MlLayerMagnify/{MlLayerMagnify.js → MlLayerMagnify.tsx} +62 -43
  255. package/src/components/MlLayerSwipe/MlLayerSwipe.doc.en.md +1 -0
  256. package/src/components/MlLayerSwipe/MlLayerSwipe.stories.js +0 -2
  257. package/src/components/MlLayerSwipe/{MlLayerSwipe.js → MlLayerSwipe.tsx} +38 -24
  258. package/src/components/MlLayerSwitcher/MlLayerSwitcher.js +0 -4
  259. package/src/components/MlMarker/MlMarker.tsx +140 -0
  260. package/src/components/MlNavigationCompass/MlNavigationCompass.doc.en.md +1 -0
  261. package/src/components/MlNavigationCompass/{MlNavigationCompass.js → MlNavigationCompass.tsx} +27 -10
  262. package/src/components/MlNavigationTools/MlNavigationTools.doc.en.md +1 -0
  263. package/src/components/MlNavigationTools/{MlNavigationTools.js → MlNavigationTools.tsx} +37 -32
  264. package/src/components/MlScaleReference/MlScaleReference.doc.en.md +1 -0
  265. package/src/components/MlSpatialElevationProfile/MlSpatialElevationProfile.doc.en.md +1 -0
  266. package/src/components/MlThreeJsLayer/MlThreeJsLayer.doc.en.md +1 -0
  267. package/src/components/MlTransitionGeoJsonLayer/{MlTransitionGeoJsonLayer.js → MlTransitionGeoJsonLayer.tsx} +76 -73
  268. package/src/components/MlVectorTileLayer/MlVectorTileLayer.doc.en.md +1 -0
  269. package/src/components/MlVectorTileLayer/{MlVectorTileLayer.js → MlVectorTileLayer.tsx} +23 -7
  270. package/src/components/MlWmsLayer/{MlWmsLayer.js → MlWmsLayer.tsx} +22 -7
  271. package/src/components/MlWmsLoader/MlWmsLoader.doc.en.md +1 -0
  272. package/src/components/MlWmsLoader/{MlWmsLoader.js → MlWmsLoader.tsx} +55 -47
  273. package/src/custom.d.tsx +26 -0
  274. package/src/hooks/useLayer.ts +221 -0
  275. package/src/hooks/{useMap.js → useMap.ts} +48 -17
  276. package/src/hooks/{useMapState.js → useMapState.ts} +42 -7
  277. package/src/{index.js → index.ts} +15 -8
  278. package/tsconfig.json +18 -24
  279. package/.env +0 -1
  280. package/.storybook/main.bck.js +0 -56
  281. package/babel.config.json +0 -4
  282. package/coverage/lcov-report/src/translations/english.js.html +0 -94
  283. package/coverage/lcov-report/src/translations/german.js.html +0 -94
  284. package/coverage/lcov-report/src/translations/index.html +0 -131
  285. package/jest.config.json +0 -16
  286. package/jsdoc.json +0 -21
  287. package/public/assets/3D/posttower.gltf +0 -103
  288. package/public/assets/3D/posttower_simple.gltf +0 -103
  289. package/public/assets/3D/posttower_wh.gltf.glb +0 -0
  290. package/public/bee.png +0 -0
  291. package/public/logo192.png +0 -0
  292. package/public/logo512.png +0 -0
  293. package/src/components/MapLibreMap/lib/MapLibreGlWrapper.js +0 -528
  294. package/src/components/MlComponentTemplate/MlComponentTemplate.js +0 -39
  295. package/src/components/MlCreatePdfButton/MlCreatePdfButton.js +0 -52
  296. package/src/components/MlFeatureEditor/MlFeatureEditor.js +0 -119
  297. package/src/components/MlFillExtrusionLayer/MlFillExtrusionLayer.js +0 -153
  298. package/src/components/MlGPXViewer/util/GeoJsonContext.js +0 -6
  299. package/src/components/MlGeoJsonLayer/MlGeoJsonLayer.js +0 -173
  300. package/src/components/MlImageMarkerLayer/MlImageMarkerLayer.js +0 -75
  301. package/src/components/MlLayer/MlLayer.js +0 -107
  302. package/src/components/MlLayerMagnify/utils/compareMagnify.js +0 -173
  303. package/src/components/MlLayerSwipe/utils/swipeCompare.js +0 -220
  304. package/src/components/MlMarker/MlMarker.js +0 -156
  305. package/src/components/index.js +0 -6
  306. package/src/i18n.js +0 -28
  307. package/src/react-app-env.d.ts +0 -1
  308. package/src/stories/IntroductionCore.stories.mdx +0 -3
  309. package/src/stories/assets/code-brackets.svg +0 -1
  310. package/src/stories/assets/colors.svg +0 -1
  311. package/src/stories/assets/comments.svg +0 -1
  312. package/src/stories/assets/direction.svg +0 -1
  313. package/src/stories/assets/flow.svg +0 -1
  314. package/src/stories/assets/plugin.svg +0 -1
  315. package/src/stories/assets/repo.svg +0 -1
  316. package/src/stories/assets/stackalt.svg +0 -1
  317. package/src/stories/components/ComponentTeaser.js +0 -64
  318. package/src/translations/english.js +0 -4
  319. package/src/translations/german.js +0 -4
@@ -1,311 +1,275 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1647343503488" clover="3.2.0">
3
- <project timestamp="1647343503488" name="All files">
4
- <metrics statements="1552" coveredstatements="564" conditionals="901" coveredconditionals="254" methods="280" coveredmethods="97" elements="2733" coveredelements="915" complexity="0" loc="1552" ncloc="1552" packages="30" files="34" classes="34"/>
2
+ <coverage generated="1650441444097" clover="3.2.0">
3
+ <project timestamp="1650441444097" name="All files">
4
+ <metrics statements="1480" coveredstatements="519" conditionals="885" coveredconditionals="244" methods="264" coveredmethods="90" elements="2629" coveredelements="853" complexity="0" loc="1480" ncloc="1480" packages="29" files="33" classes="33"/>
5
5
  <package name="src">
6
- <metrics statements="2" coveredstatements="0" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
7
- <file name="i18n.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/i18n.js">
8
- <metrics statements="2" coveredstatements="0" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
9
- <line num="10" count="0" type="stmt"/>
10
- <line num="13" count="0" type="stmt"/>
6
+ <metrics statements="0" coveredstatements="0" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
7
+ <file name="index.ts" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/index.ts">
8
+ <metrics statements="0" coveredstatements="0" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
11
9
  </file>
12
10
  </package>
13
11
  <package name="src.components.MapLibreMap">
14
- <metrics statements="25" coveredstatements="25" conditionals="4" coveredconditionals="3" methods="6" coveredmethods="6"/>
15
- <file name="MapLibreMap.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MapLibreMap/MapLibreMap.js">
16
- <metrics statements="25" coveredstatements="25" conditionals="4" coveredconditionals="3" methods="6" coveredmethods="6"/>
17
- <line num="18" count="18" type="stmt"/>
18
- <line num="19" count="247" type="stmt"/>
19
- <line num="20" count="247" type="stmt"/>
20
- <line num="22" count="247" type="stmt"/>
21
- <line num="23" count="247" type="stmt"/>
22
- <line num="25" count="247" type="stmt"/>
23
- <line num="26" count="247" type="stmt"/>
24
- <line num="28" count="247" type="stmt"/>
25
- <line num="29" count="73" type="stmt"/>
26
- <line num="30" count="73" type="stmt"/>
27
- <line num="32" count="73" type="stmt"/>
28
- <line num="33" count="2" type="stmt"/>
29
- <line num="34" count="2" type="stmt"/>
30
- <line num="35" count="2" type="stmt"/>
31
- <line num="39" count="247" type="stmt"/>
32
- <line num="40" count="73" type="cond" truecount="1" falsecount="1"/>
33
- <line num="41" count="73" type="stmt"/>
34
- <line num="47" count="73" type="stmt"/>
35
- <line num="48" count="73" type="cond" truecount="2" falsecount="0"/>
36
- <line num="49" count="6" type="stmt"/>
37
- <line num="51" count="67" type="stmt"/>
38
- <line num="56" count="73" type="stmt"/>
39
- <line num="63" count="247" type="stmt"/>
40
- <line num="66" count="18" type="stmt"/>
41
- <line num="77" count="18" type="stmt"/>
12
+ <metrics statements="22" coveredstatements="22" conditionals="4" coveredconditionals="3" methods="6" coveredmethods="6"/>
13
+ <file name="MapLibreMap.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MapLibreMap/MapLibreMap.tsx">
14
+ <metrics statements="22" coveredstatements="22" conditionals="4" coveredconditionals="3" methods="6" coveredmethods="6"/>
15
+ <line num="27" count="18" type="stmt"/>
16
+ <line num="45" count="18" type="stmt"/>
17
+ <line num="46" count="247" type="stmt"/>
18
+ <line num="47" count="247" type="stmt"/>
19
+ <line num="49" count="247" type="stmt"/>
20
+ <line num="51" count="247" type="stmt"/>
21
+ <line num="52" count="247" type="stmt"/>
22
+ <line num="54" count="247" type="stmt"/>
23
+ <line num="55" count="73" type="stmt"/>
24
+ <line num="57" count="73" type="stmt"/>
25
+ <line num="58" count="2" type="stmt"/>
26
+ <line num="59" count="2" type="stmt"/>
27
+ <line num="60" count="2" type="stmt"/>
28
+ <line num="64" count="247" type="stmt"/>
29
+ <line num="65" count="73" type="cond" truecount="1" falsecount="1"/>
30
+ <line num="66" count="73" type="stmt"/>
31
+ <line num="73" count="73" type="stmt"/>
32
+ <line num="74" count="73" type="cond" truecount="2" falsecount="0"/>
33
+ <line num="75" count="6" type="stmt"/>
34
+ <line num="77" count="67" type="stmt"/>
35
+ <line num="86" count="247" type="stmt"/>
36
+ <line num="91" count="18" type="stmt"/>
42
37
  </file>
43
38
  </package>
44
39
  <package name="src.components.MlCreatePdfButton">
45
- <metrics statements="12" coveredstatements="0" conditionals="4" coveredconditionals="0" methods="4" coveredmethods="0"/>
46
- <file name="MlCreatePdfButton.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlCreatePdfButton/MlCreatePdfButton.js">
47
- <metrics statements="12" coveredstatements="0" conditionals="4" coveredconditionals="0" methods="4" coveredmethods="0"/>
48
- <line num="15" count="0" type="stmt"/>
49
- <line num="16" count="0" type="stmt"/>
50
- <line num="17" count="0" type="stmt"/>
51
- <line num="18" count="0" type="stmt"/>
52
- <line num="20" count="0" type="stmt"/>
53
- <line num="21" count="0" type="cond" truecount="0" falsecount="4"/>
54
- <line num="22" count="0" type="stmt"/>
55
- <line num="23" count="0" type="stmt"/>
56
- <line num="26" count="0" type="stmt"/>
57
- <line num="32" count="0" type="stmt"/>
58
- <line num="41" count="0" type="stmt"/>
59
- <line num="45" count="0" type="stmt"/>
40
+ <metrics statements="6" coveredstatements="0" conditionals="2" coveredconditionals="0" methods="3" coveredmethods="0"/>
41
+ <file name="MlCreatePdfButton.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlCreatePdfButton/MlCreatePdfButton.tsx">
42
+ <metrics statements="6" coveredstatements="0" conditionals="2" coveredconditionals="0" methods="3" coveredmethods="0"/>
43
+ <line num="24" count="0" type="stmt"/>
44
+ <line num="25" count="0" type="stmt"/>
45
+ <line num="30" count="0" type="stmt"/>
46
+ <line num="36" count="0" type="cond" truecount="0" falsecount="2"/>
47
+ <line num="37" count="0" type="stmt"/>
48
+ <line num="47" count="0" type="stmt"/>
60
49
  </file>
61
50
  </package>
62
51
  <package name="src.components.MlFeatureEditor">
63
- <metrics statements="41" coveredstatements="34" conditionals="34" coveredconditionals="23" methods="9" coveredmethods="7"/>
64
- <file name="MlFeatureEditor.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlFeatureEditor/MlFeatureEditor.js">
65
- <metrics statements="41" coveredstatements="34" conditionals="34" coveredconditionals="23" methods="9" coveredmethods="7"/>
66
- <line num="14" count="12" type="stmt"/>
67
- <line num="15" count="12" type="stmt"/>
68
- <line num="16" count="12" type="stmt"/>
69
- <line num="17" count="12" type="stmt"/>
70
- <line num="20" count="12" type="stmt"/>
71
- <line num="22" count="12" type="stmt"/>
72
- <line num="23" count="12" type="stmt"/>
73
- <line num="25" count="12" type="stmt"/>
74
- <line num="27" count="12" type="stmt"/>
75
- <line num="28" count="0" type="stmt"/>
76
- <line num="32" count="12" type="stmt"/>
77
- <line num="33" count="0" type="stmt"/>
78
- <line num="36" count="12" type="stmt"/>
79
- <line num="37" count="4" type="stmt"/>
80
- <line num="38" count="4" type="stmt"/>
81
- <line num="39" count="2" type="cond" truecount="1" falsecount="1"/>
82
- <line num="40" count="2" type="stmt"/>
83
- <line num="42" count="2" type="stmt"/>
84
- <line num="47" count="12" type="stmt"/>
85
- <line num="48" count="12" type="cond" truecount="2" falsecount="0"/>
86
- <line num="53" count="4" type="stmt"/>
87
- <line num="54" count="4" type="stmt"/>
88
- <line num="55" count="4" type="cond" truecount="1" falsecount="1"/>
89
- <line num="63" count="0" type="stmt"/>
90
- <line num="66" count="4" type="stmt"/>
91
- <line num="79" count="4" type="stmt"/>
92
- <line num="81" count="4" type="stmt"/>
93
- <line num="83" count="4" type="stmt"/>
52
+ <metrics statements="33" coveredstatements="26" conditionals="25" coveredconditionals="17" methods="7" coveredmethods="5"/>
53
+ <file name="MlFeatureEditor.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlFeatureEditor/MlFeatureEditor.tsx">
54
+ <metrics statements="33" coveredstatements="26" conditionals="25" coveredconditionals="17" methods="7" coveredmethods="5"/>
55
+ <line num="45" count="1" type="stmt"/>
56
+ <line num="46" count="16" type="stmt"/>
57
+ <line num="47" count="16" type="stmt"/>
58
+ <line num="51" count="16" type="stmt"/>
59
+ <line num="53" count="16" type="stmt"/>
60
+ <line num="54" count="16" type="stmt"/>
61
+ <line num="56" count="16" type="stmt"/>
62
+ <line num="58" count="16" type="stmt"/>
63
+ <line num="59" count="0" type="stmt"/>
64
+ <line num="63" count="16" type="stmt"/>
65
+ <line num="64" count="0" type="stmt"/>
66
+ <line num="67" count="16" type="stmt"/>
67
+ <line num="68" count="12" type="cond" truecount="2" falsecount="0"/>
68
+ <line num="73" count="4" type="stmt"/>
69
+ <line num="75" count="4" type="cond" truecount="1" falsecount="1"/>
70
+ <line num="82" count="0" type="stmt"/>
94
71
  <line num="85" count="4" type="stmt"/>
95
- <line num="89" count="12" type="stmt"/>
96
- <line num="90" count="8" type="cond" truecount="2" falsecount="0"/>
97
- <line num="96" count="4" type="stmt"/>
98
- <line num="100" count="12" type="stmt"/>
99
- <line num="101" count="4" type="cond" truecount="2" falsecount="2"/>
100
- <line num="103" count="0" type="stmt"/>
101
- <line num="104" count="0" type="cond" truecount="0" falsecount="2"/>
102
- <line num="105" count="0" type="stmt"/>
103
- <line num="110" count="12" type="stmt"/>
104
- <line num="111" count="4" type="cond" truecount="3" falsecount="1"/>
105
- <line num="112" count="0" type="stmt"/>
106
- <line num="116" count="12" type="stmt"/>
72
+ <line num="99" count="4" type="stmt"/>
73
+ <line num="101" count="4" type="stmt"/>
74
+ <line num="103" count="4" type="stmt"/>
75
+ <line num="105" count="4" type="stmt"/>
76
+ <line num="109" count="16" type="stmt"/>
77
+ <line num="110" count="8" type="cond" truecount="2" falsecount="0"/>
78
+ <line num="115" count="4" type="stmt"/>
79
+ <line num="119" count="16" type="stmt"/>
80
+ <line num="120" count="4" type="cond" truecount="2" falsecount="2"/>
81
+ <line num="122" count="0" type="stmt"/>
82
+ <line num="123" count="0" type="cond" truecount="0" falsecount="2"/>
83
+ <line num="124" count="0" type="stmt"/>
84
+ <line num="129" count="16" type="stmt"/>
85
+ <line num="130" count="4" type="cond" truecount="3" falsecount="1"/>
86
+ <line num="132" count="0" type="stmt"/>
87
+ <line num="136" count="16" type="stmt"/>
107
88
  </file>
108
89
  </package>
109
90
  <package name="src.components.MlFillExtrusionLayer">
110
- <metrics statements="31" coveredstatements="28" conditionals="28" coveredconditionals="22" methods="6" coveredmethods="5"/>
111
- <file name="MlFillExtrusionLayer.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlFillExtrusionLayer/MlFillExtrusionLayer.js">
112
- <metrics statements="31" coveredstatements="28" conditionals="28" coveredconditionals="22" methods="6" coveredmethods="5"/>
113
- <line num="13" count="1" type="stmt"/>
114
- <line num="14" count="4" type="stmt"/>
115
- <line num="15" count="4" type="stmt"/>
116
- <line num="17" count="4" type="stmt"/>
117
- <line num="18" count="4" type="stmt"/>
118
- <line num="21" count="4" type="stmt"/>
119
- <line num="22" count="4" type="cond" truecount="2" falsecount="0"/>
120
- <line num="24" count="4" type="stmt"/>
121
- <line num="25" count="2" type="stmt"/>
122
- <line num="27" count="2" type="stmt"/>
123
- <line num="28" count="1" type="cond" truecount="1" falsecount="1"/>
124
- <line num="29" count="1" type="stmt"/>
125
- <line num="30" count="1" type="stmt"/>
126
- <line num="32" count="1" type="stmt"/>
127
- <line num="36" count="4" type="stmt"/>
128
- <line num="37" count="4" type="cond" truecount="4" falsecount="0"/>
129
- <line num="40" count="2" type="stmt"/>
130
- <line num="41" count="2" type="stmt"/>
131
- <line num="43" count="2" type="stmt"/>
132
- <line num="44" count="2" type="cond" truecount="1" falsecount="1"/>
133
- <line num="45" count="0" type="stmt"/>
134
- <line num="48" count="2" type="cond" truecount="1" falsecount="1"/>
135
- <line num="49" count="0" type="stmt"/>
136
- <line num="52" count="2" type="stmt"/>
137
- <line num="76" count="4" type="stmt"/>
138
- <line num="77" count="4" type="cond" truecount="2" falsecount="0"/>
139
- <line num="80" count="2" type="cond" truecount="1" falsecount="1"/>
140
- <line num="83" count="4" type="stmt"/>
141
- <line num="87" count="0" type="stmt"/>
142
- <line num="94" count="1" type="stmt"/>
143
- <line num="110" count="1" type="stmt"/>
91
+ <metrics statements="4" coveredstatements="4" conditionals="8" coveredconditionals="8" methods="1" coveredmethods="1"/>
92
+ <file name="MlFillExtrusionLayer.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlFillExtrusionLayer/MlFillExtrusionLayer.tsx">
93
+ <metrics statements="4" coveredstatements="4" conditionals="8" coveredconditionals="8" methods="1" coveredmethods="1"/>
94
+ <line num="49" count="1" type="stmt"/>
95
+ <line num="50" count="8" type="stmt"/>
96
+ <line num="66" count="8" type="stmt"/>
97
+ <line num="69" count="1" type="stmt"/>
144
98
  </file>
145
99
  </package>
146
100
  <package name="src.components.MlFollowGps">
147
- <metrics statements="47" coveredstatements="29" conditionals="23" coveredconditionals="15" methods="10" coveredmethods="7"/>
148
- <file name="MlFollowGps.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlFollowGps/MlFollowGps.js">
149
- <metrics statements="47" coveredstatements="29" conditionals="23" coveredconditionals="15" methods="10" coveredmethods="7"/>
150
- <line num="19" count="1" type="stmt"/>
151
- <line num="20" count="9" type="stmt"/>
152
- <line num="22" count="9" type="stmt"/>
153
- <line num="23" count="9" type="stmt"/>
154
- <line num="24" count="9" type="stmt"/>
155
- <line num="25" count="9" type="stmt"/>
156
- <line num="26" count="9" type="stmt"/>
157
- <line num="28" count="9" type="stmt"/>
158
- <line num="30" count="0" type="cond" truecount="0" falsecount="2"/>
159
- <line num="32" count="0" type="stmt"/>
160
- <line num="38" count="0" type="cond" truecount="0" falsecount="2"/>
161
- <line num="39" count="0" type="stmt"/>
162
- <line num="40" count="0" type="stmt"/>
163
- <line num="41" count="0" type="stmt"/>
164
- <line num="46" count="9" type="stmt"/>
165
- <line num="47" count="0" type="stmt"/>
166
- <line num="48" count="0" type="stmt"/>
167
- <line num="51" count="9" type="stmt"/>
168
- <line num="53" count="2" type="cond" truecount="1" falsecount="1"/>
169
- <line num="54" count="2" type="stmt"/>
170
- <line num="56" count="0" type="stmt"/>
171
- <line num="57" count="0" type="stmt"/>
172
- <line num="58" count="0" type="stmt"/>
173
- <line num="59" count="0" type="stmt"/>
174
- <line num="60" count="0" type="stmt"/>
175
- <line num="61" count="0" type="stmt"/>
176
- <line num="62" count="0" type="stmt"/>
177
- <line num="63" count="0" type="stmt"/>
178
- <line num="64" count="0" type="stmt"/>
179
- <line num="68" count="9" type="stmt"/>
180
- <line num="69" count="0" type="stmt"/>
181
- <line num="72" count="9" type="stmt"/>
182
- <line num="73" count="5" type="cond" truecount="2" falsecount="0"/>
183
- <line num="74" count="2" type="stmt"/>
184
- <line num="75" count="2" type="stmt"/>
185
- <line num="76" count="2" type="stmt"/>
186
- <line num="77" count="1" type="stmt"/>
187
- <line num="82" count="9" type="stmt"/>
188
- <line num="83" count="7" type="cond" truecount="2" falsecount="0"/>
189
- <line num="85" count="5" type="cond" truecount="2" falsecount="0"/>
190
- <line num="86" count="2" type="stmt"/>
191
- <line num="88" count="2" type="stmt"/>
192
- <line num="89" count="1" type="stmt"/>
193
- <line num="94" count="9" type="stmt"/>
194
- <line num="141" count="3" type="stmt"/>
195
- <line num="151" count="1" type="stmt"/>
196
- <line num="174" count="1" type="stmt"/>
101
+ <metrics statements="48" coveredstatements="30" conditionals="25" coveredconditionals="16" methods="10" coveredmethods="7"/>
102
+ <file name="MlFollowGps.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlFollowGps/MlFollowGps.tsx">
103
+ <metrics statements="48" coveredstatements="30" conditionals="25" coveredconditionals="16" methods="10" coveredmethods="7"/>
104
+ <line num="65" count="1" type="stmt"/>
105
+ <line num="66" count="9" type="stmt"/>
106
+ <line num="71" count="9" type="stmt"/>
107
+ <line num="73" count="9" type="stmt"/>
108
+ <line num="74" count="9" type="stmt"/>
109
+ <line num="75" count="9" type="stmt"/>
110
+ <line num="76" count="9" type="stmt"/>
111
+ <line num="78" count="9" type="stmt"/>
112
+ <line num="80" count="0" type="cond" truecount="0" falsecount="2"/>
113
+ <line num="82" count="0" type="stmt"/>
114
+ <line num="88" count="0" type="cond" truecount="0" falsecount="2"/>
115
+ <line num="89" count="0" type="stmt"/>
116
+ <line num="90" count="0" type="stmt"/>
117
+ <line num="91" count="0" type="stmt"/>
118
+ <line num="96" count="9" type="stmt"/>
119
+ <line num="97" count="0" type="stmt"/>
120
+ <line num="98" count="0" type="stmt"/>
121
+ <line num="101" count="9" type="stmt"/>
122
+ <line num="102" count="2" type="cond" truecount="1" falsecount="1"/>
123
+ <line num="103" count="2" type="stmt"/>
124
+ <line num="105" count="0" type="stmt"/>
125
+ <line num="106" count="0" type="stmt"/>
126
+ <line num="107" count="0" type="stmt"/>
127
+ <line num="108" count="0" type="stmt"/>
128
+ <line num="109" count="0" type="stmt"/>
129
+ <line num="110" count="0" type="stmt"/>
130
+ <line num="111" count="0" type="stmt"/>
131
+ <line num="112" count="0" type="stmt"/>
132
+ <line num="113" count="0" type="stmt"/>
133
+ <line num="116" count="9" type="stmt"/>
134
+ <line num="117" count="0" type="stmt"/>
135
+ <line num="120" count="9" type="stmt"/>
136
+ <line num="121" count="5" type="cond" truecount="2" falsecount="0"/>
137
+ <line num="122" count="2" type="stmt"/>
138
+ <line num="123" count="2" type="stmt"/>
139
+ <line num="124" count="2" type="stmt"/>
140
+ <line num="125" count="1" type="stmt"/>
141
+ <line num="128" count="3" type="stmt"/>
142
+ <line num="131" count="9" type="stmt"/>
143
+ <line num="132" count="7" type="cond" truecount="2" falsecount="0"/>
144
+ <line num="134" count="5" type="cond" truecount="2" falsecount="0"/>
145
+ <line num="135" count="2" type="stmt"/>
146
+ <line num="140" count="2" type="stmt"/>
147
+ <line num="141" count="1" type="stmt"/>
148
+ <line num="144" count="3" type="stmt"/>
149
+ <line num="147" count="9" type="stmt"/>
150
+ <line num="198" count="3" type="stmt"/>
151
+ <line num="208" count="1" type="stmt"/>
197
152
  </file>
198
153
  </package>
199
154
  <package name="src.components.MlGPXViewer">
200
- <metrics statements="382" coveredstatements="57" conditionals="229" coveredconditionals="7" methods="54" coveredmethods="7"/>
201
- <file name="MlGPXViewer.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlGPXViewer/MlGPXViewer.js">
202
- <metrics statements="106" coveredstatements="50" conditionals="26" coveredconditionals="6" methods="24" coveredmethods="6"/>
203
- <line num="24" count="1" type="stmt"/>
204
- <line num="25" count="18" type="stmt"/>
205
- <line num="26" count="18" type="stmt"/>
206
- <line num="27" count="18" type="stmt"/>
207
- <line num="28" count="18" type="stmt"/>
208
- <line num="29" count="18" type="stmt"/>
209
- <line num="30" count="18" type="stmt"/>
210
- <line num="32" count="18" type="stmt"/>
211
- <line num="33" count="18" type="stmt"/>
212
- <line num="34" count="18" type="stmt"/>
213
- <line num="35" count="18" type="stmt"/>
214
- <line num="36" count="18" type="stmt"/>
215
- <line num="37" count="18" type="stmt"/>
216
- <line num="39" count="18" type="stmt"/>
155
+ <metrics statements="391" coveredstatements="57" conditionals="247" coveredconditionals="8" methods="54" coveredmethods="7"/>
156
+ <file name="MlGPXViewer.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlGPXViewer/MlGPXViewer.tsx">
157
+ <metrics statements="115" coveredstatements="50" conditionals="44" coveredconditionals="7" methods="24" coveredmethods="6"/>
158
+ <line num="42" count="1" type="stmt"/>
159
+ <line num="43" count="18" type="stmt"/>
160
+ <line num="44" count="18" type="stmt"/>
161
+ <line num="45" count="18" type="stmt"/>
217
162
  <line num="46" count="18" type="stmt"/>
218
- <line num="47" count="12" type="cond" truecount="4" falsecount="0"/>
219
- <line num="49" count="6" type="stmt"/>
220
- <line num="51" count="6" type="stmt"/>
221
- <line num="59" count="6" type="stmt"/>
222
- <line num="72" count="6" type="stmt"/>
223
- <line num="87" count="6" type="stmt"/>
224
- <line num="88" count="12" type="stmt"/>
163
+ <line num="47" count="18" type="stmt"/>
164
+ <line num="48" count="18" type="stmt"/>
165
+ <line num="50" count="18" type="stmt"/>
166
+ <line num="51" count="18" type="stmt"/>
167
+ <line num="52" count="18" type="stmt"/>
168
+ <line num="53" count="18" type="stmt"/>
169
+ <line num="54" count="18" type="stmt"/>
170
+ <line num="55" count="18" type="stmt"/>
171
+ <line num="57" count="18" type="stmt"/>
172
+ <line num="64" count="18" type="stmt"/>
173
+ <line num="65" count="12" type="cond" truecount="4" falsecount="0"/>
174
+ <line num="67" count="6" type="stmt"/>
175
+ <line num="69" count="6" type="stmt"/>
176
+ <line num="77" count="6" type="stmt"/>
225
177
  <line num="90" count="6" type="stmt"/>
226
- <line num="96" count="0" type="stmt"/>
227
- <line num="98" count="0" type="stmt"/>
228
- <line num="103" count="0" type="stmt"/>
229
- <line num="104" count="0" type="cond" truecount="0" falsecount="2"/>
230
- <line num="110" count="0" type="stmt"/>
231
- <line num="115" count="6" type="stmt"/>
178
+ <line num="105" count="6" type="stmt"/>
179
+ <line num="106" count="12" type="cond" truecount="1" falsecount="1"/>
180
+ <line num="108" count="12" type="stmt"/>
181
+ <line num="110" count="6" type="stmt"/>
182
+ <line num="114" count="0" type="cond" truecount="0" falsecount="2"/>
183
+ <line num="117" count="0" type="stmt"/>
232
184
  <line num="119" count="0" type="stmt"/>
233
- <line num="120" count="0" type="stmt"/>
234
- <line num="125" count="6" type="stmt"/>
235
- <line num="128" count="18" type="stmt"/>
236
- <line num="129" count="18" type="stmt"/>
237
- <line num="130" count="18" type="stmt"/>
185
+ <line num="124" count="0" type="stmt"/>
186
+ <line num="125" count="0" type="cond" truecount="0" falsecount="2"/>
238
187
  <line num="131" count="0" type="stmt"/>
239
- <line num="132" count="0" type="stmt"/>
240
- <line num="134" count="18" type="stmt"/>
241
- <line num="135" count="0" type="stmt"/>
242
- <line num="137" count="18" type="stmt"/>
243
- <line num="138" count="0" type="stmt"/>
244
- <line num="139" count="0" type="stmt"/>
245
- <line num="142" count="18" type="stmt"/>
246
- <line num="143" count="18" type="stmt"/>
247
- <line num="145" count="18" type="stmt"/>
248
- <line num="147" count="18" type="stmt"/>
249
- <line num="149" count="18" type="stmt"/>
250
- <line num="150" count="15" type="stmt"/>
251
- <line num="151" count="15" type="stmt"/>
252
- <line num="152" count="15" type="stmt"/>
253
- <line num="153" count="15" type="stmt"/>
188
+ <line num="136" count="6" type="stmt"/>
189
+ <line num="140" count="0" type="cond" truecount="0" falsecount="2"/>
190
+ <line num="142" count="0" type="stmt"/>
191
+ <line num="143" count="0" type="stmt"/>
192
+ <line num="148" count="6" type="stmt"/>
193
+ <line num="151" count="18" type="stmt"/>
194
+ <line num="152" count="18" type="stmt"/>
195
+ <line num="153" count="18" type="stmt"/>
196
+ <line num="154" count="0" type="stmt"/>
197
+ <line num="155" count="0" type="stmt"/>
254
198
  <line num="157" count="18" type="stmt"/>
255
199
  <line num="158" count="0" type="stmt"/>
256
- <line num="159" count="0" type="stmt"/>
257
- <line num="162" count="18" type="stmt"/>
258
- <line num="163" count="6" type="cond" truecount="1" falsecount="1"/>
259
- <line num="165" count="0" type="cond" truecount="0" falsecount="2"/>
260
- <line num="167" count="0" type="stmt"/>
261
- <line num="168" count="0" type="stmt"/>
200
+ <line num="160" count="18" type="stmt"/>
201
+ <line num="161" count="0" type="stmt"/>
202
+ <line num="162" count="0" type="stmt"/>
203
+ <line num="165" count="18" type="stmt"/>
204
+ <line num="166" count="18" type="stmt"/>
205
+ <line num="168" count="18" type="stmt"/>
206
+ <line num="170" count="18" type="stmt"/>
262
207
  <line num="172" count="18" type="stmt"/>
263
- <line num="173" count="0" type="stmt"/>
264
- <line num="175" count="0" type="cond" truecount="0" falsecount="2"/>
265
- <line num="176" count="0" type="cond" truecount="0" falsecount="2"/>
266
- <line num="177" count="0" type="stmt"/>
267
- <line num="180" count="0" type="cond" truecount="0" falsecount="2"/>
208
+ <line num="173" count="15" type="stmt"/>
209
+ <line num="174" count="15" type="stmt"/>
210
+ <line num="175" count="15" type="stmt"/>
211
+ <line num="176" count="15" type="stmt"/>
212
+ <line num="180" count="18" type="stmt"/>
268
213
  <line num="181" count="0" type="stmt"/>
269
214
  <line num="182" count="0" type="stmt"/>
270
- <line num="183" count="0" type="stmt"/>
271
- <line num="185" count="0" type="stmt"/>
272
- <line num="186" count="0" type="stmt"/>
273
- <line num="193" count="18" type="stmt"/>
274
- <line num="194" count="0" type="cond" truecount="0" falsecount="2"/>
275
- <line num="195" count="0" type="stmt"/>
276
- <line num="196" count="0" type="stmt"/>
277
- <line num="197" count="0" type="stmt"/>
215
+ <line num="185" count="18" type="stmt"/>
216
+ <line num="186" count="6" type="cond" truecount="1" falsecount="1"/>
217
+ <line num="188" count="0" type="cond" truecount="0" falsecount="2"/>
218
+ <line num="190" count="0" type="stmt"/>
219
+ <line num="191" count="0" type="cond" truecount="0" falsecount="2"/>
220
+ <line num="193" count="0" type="stmt"/>
221
+ <line num="197" count="18" type="stmt"/>
278
222
  <line num="198" count="0" type="stmt"/>
279
- <line num="199" count="0" type="stmt"/>
280
- <line num="200" count="0" type="stmt"/>
281
- <line num="201" count="0" type="stmt"/>
223
+ <line num="200" count="0" type="cond" truecount="0" falsecount="2"/>
224
+ <line num="201" count="0" type="cond" truecount="0" falsecount="2"/>
282
225
  <line num="202" count="0" type="stmt"/>
283
- <line num="204" count="0" type="cond" truecount="0" falsecount="2"/>
284
- <line num="205" count="0" type="stmt"/>
285
- <line num="207" count="0" type="cond" truecount="0" falsecount="2"/>
286
- <line num="208" count="0" type="stmt"/>
226
+ <line num="205" count="0" type="cond" truecount="0" falsecount="2"/>
227
+ <line num="206" count="0" type="stmt"/>
228
+ <line num="207" count="0" type="stmt"/>
229
+ <line num="208" count="0" type="cond" truecount="0" falsecount="2"/>
230
+ <line num="210" count="0" type="stmt"/>
231
+ <line num="212" count="0" type="stmt"/>
287
232
  <line num="213" count="0" type="stmt"/>
288
- <line num="216" count="0" type="stmt"/>
289
- <line num="217" count="0" type="stmt"/>
290
233
  <line num="218" count="0" type="stmt"/>
291
- <line num="219" count="0" type="stmt"/>
292
- <line num="220" count="0" type="stmt"/>
293
- <line num="222" count="0" type="stmt"/>
294
- <line num="226" count="18" type="stmt"/>
234
+ <line num="221" count="18" type="stmt"/>
235
+ <line num="222" count="0" type="cond" truecount="0" falsecount="4"/>
236
+ <line num="224" count="0" type="stmt"/>
237
+ <line num="225" count="0" type="stmt"/>
238
+ <line num="226" count="0" type="stmt"/>
295
239
  <line num="227" count="0" type="stmt"/>
296
- <line num="230" count="18" type="stmt"/>
240
+ <line num="228" count="0" type="stmt"/>
241
+ <line num="229" count="0" type="stmt"/>
242
+ <line num="230" count="0" type="stmt"/>
297
243
  <line num="231" count="0" type="stmt"/>
298
- <line num="232" count="0" type="cond" truecount="0" falsecount="2"/>
299
- <line num="233" count="0" type="stmt"/>
244
+ <line num="233" count="0" type="cond" truecount="0" falsecount="2"/>
300
245
  <line num="234" count="0" type="stmt"/>
301
- <line num="235" count="0" type="stmt"/>
302
- <line num="238" count="0" type="stmt"/>
303
- <line num="241" count="18" type="stmt"/>
246
+ <line num="236" count="0" type="cond" truecount="0" falsecount="2"/>
247
+ <line num="237" count="0" type="stmt"/>
304
248
  <line num="242" count="0" type="stmt"/>
305
- <line num="244" count="18" type="stmt"/>
306
- <line num="298" count="0" type="stmt"/>
307
- <line num="335" count="1" type="stmt"/>
308
- <line num="339" count="1" type="stmt"/>
249
+ <line num="245" count="0" type="stmt"/>
250
+ <line num="246" count="0" type="stmt"/>
251
+ <line num="247" count="0" type="stmt"/>
252
+ <line num="248" count="0" type="stmt"/>
253
+ <line num="249" count="0" type="stmt"/>
254
+ <line num="251" count="0" type="stmt"/>
255
+ <line num="255" count="18" type="stmt"/>
256
+ <line num="256" count="0" type="stmt"/>
257
+ <line num="259" count="18" type="stmt"/>
258
+ <line num="260" count="0" type="cond" truecount="0" falsecount="2"/>
259
+ <line num="262" count="0" type="stmt"/>
260
+ <line num="263" count="0" type="cond" truecount="0" falsecount="2"/>
261
+ <line num="264" count="0" type="stmt"/>
262
+ <line num="265" count="0" type="stmt"/>
263
+ <line num="266" count="0" type="cond" truecount="0" falsecount="2"/>
264
+ <line num="268" count="0" type="stmt"/>
265
+ <line num="271" count="0" type="stmt"/>
266
+ <line num="273" count="0" type="stmt"/>
267
+ <line num="276" count="18" type="stmt"/>
268
+ <line num="277" count="0" type="cond" truecount="0" falsecount="2"/>
269
+ <line num="279" count="0" type="stmt"/>
270
+ <line num="281" count="18" type="stmt"/>
271
+ <line num="335" count="0" type="stmt"/>
272
+ <line num="372" count="1" type="stmt"/>
309
273
  </file>
310
274
  <file name="gpxConverter.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlGPXViewer/gpxConverter.js">
311
275
  <metrics statements="276" coveredstatements="7" conditionals="203" coveredconditionals="1" methods="30" coveredmethods="1"/>
@@ -588,334 +552,256 @@
588
552
  </file>
589
553
  </package>
590
554
  <package name="src.components.MlGeoJsonLayer">
591
- <metrics statements="38" coveredstatements="27" conditionals="44" coveredconditionals="26" methods="6" coveredmethods="6"/>
592
- <file name="MlGeoJsonLayer.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlGeoJsonLayer/MlGeoJsonLayer.js">
593
- <metrics statements="38" coveredstatements="27" conditionals="44" coveredconditionals="26" methods="6" coveredmethods="6"/>
594
- <line num="9" count="3" type="stmt"/>
595
- <line num="16" count="3" type="stmt"/>
596
- <line num="18" count="24" type="stmt"/>
597
- <line num="19" count="24" type="stmt"/>
598
- <line num="20" count="24" type="cond" truecount="2" falsecount="0"/>
599
- <line num="21" count="24" type="stmt"/>
600
- <line num="23" count="24" type="stmt"/>
601
- <line num="24" count="16" type="cond" truecount="3" falsecount="1"/>
602
- <line num="26" count="0" type="stmt"/>
603
- <line num="27" count="0" type="stmt"/>
604
- <line num="31" count="24" type="stmt"/>
605
- <line num="32" count="16" type="cond" truecount="3" falsecount="1"/>
606
- <line num="35" count="0" type="cond" truecount="0" falsecount="2"/>
607
- <line num="37" count="0" type="stmt"/>
608
- <line num="38" count="0" type="stmt"/>
609
- <line num="42" count="24" type="stmt"/>
610
- <line num="43" count="16" type="cond" truecount="2" falsecount="2"/>
611
- <line num="45" count="0" type="stmt"/>
612
- <line num="48" count="24" type="stmt"/>
613
- <line num="49" count="8" type="stmt"/>
614
- <line num="51" count="8" type="cond" truecount="1" falsecount="1"/>
615
- <line num="53" count="8" type="stmt"/>
616
- <line num="71" count="8" type="cond" truecount="1" falsecount="1"/>
617
- <line num="72" count="0" type="stmt"/>
618
- <line num="75" count="8" type="cond" truecount="1" falsecount="1"/>
619
- <line num="76" count="0" type="stmt"/>
620
- <line num="79" count="8" type="cond" truecount="1" falsecount="1"/>
621
- <line num="80" count="0" type="stmt"/>
622
- <line num="84" count="24" type="stmt"/>
623
- <line num="85" count="24" type="cond" truecount="4" falsecount="0"/>
624
- <line num="87" count="8" type="cond" truecount="1" falsecount="1"/>
625
- <line num="94" count="0" type="stmt"/>
626
- <line num="95" count="8" type="cond" truecount="1" falsecount="1"/>
627
- <line num="100" count="0" type="stmt"/>
628
- <line num="103" count="8" type="stmt"/>
629
- <line num="105" count="8" type="stmt"/>
630
- <line num="108" count="24" type="stmt"/>
631
- <line num="111" count="3" type="stmt"/>
555
+ <metrics statements="4" coveredstatements="4" conditionals="8" coveredconditionals="7" methods="1" coveredmethods="1"/>
556
+ <file name="MlGeoJsonLayer.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlGeoJsonLayer/MlGeoJsonLayer.tsx">
557
+ <metrics statements="4" coveredstatements="4" conditionals="8" coveredconditionals="7" methods="1" coveredmethods="1"/>
558
+ <line num="78" count="3" type="stmt"/>
559
+ <line num="79" count="32" type="cond" truecount="1" falsecount="1"/>
560
+ <line num="81" count="32" type="stmt"/>
561
+ <line num="102" count="32" type="stmt"/>
632
562
  </file>
633
563
  </package>
634
564
  <package name="src.components.MlImageMarkerLayer">
635
- <metrics statements="31" coveredstatements="22" conditionals="29" coveredconditionals="14" methods="6" coveredmethods="5"/>
636
- <file name="MlImageMarkerLayer.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlImageMarkerLayer/MlImageMarkerLayer.js">
637
- <metrics statements="31" coveredstatements="22" conditionals="29" coveredconditionals="14" methods="6" coveredmethods="5"/>
638
- <line num="5" count="1" type="stmt"/>
639
- <line num="6" count="12" type="stmt"/>
640
- <line num="8" count="12" type="stmt"/>
641
- <line num="9" count="12" type="cond" truecount="2" falsecount="0"/>
642
- <line num="10" count="12" type="cond" truecount="2" falsecount="0"/>
643
- <line num="12" count="12" type="stmt"/>
644
- <line num="13" count="4" type="cond" truecount="1" falsecount="1"/>
645
- <line num="18" count="4" type="stmt"/>
646
- <line num="23" count="0" type="cond" truecount="0" falsecount="2"/>
647
- <line num="24" count="0" type="stmt"/>
648
- <line num="25" count="0" type="stmt"/>
649
- <line num="28" count="0" type="cond" truecount="0" falsecount="2"/>
650
- <line num="29" count="0" type="stmt"/>
651
- <line num="30" count="0" type="stmt"/>
565
+ <metrics statements="34" coveredstatements="24" conditionals="33" coveredconditionals="15" methods="6" coveredmethods="5"/>
566
+ <file name="MlImageMarkerLayer.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlImageMarkerLayer/MlImageMarkerLayer.tsx">
567
+ <metrics statements="34" coveredstatements="24" conditionals="33" coveredconditionals="15" methods="6" coveredmethods="5"/>
568
+ <line num="34" count="1" type="stmt"/>
652
569
  <line num="35" count="12" type="stmt"/>
653
- <line num="36" count="4" type="stmt"/>
654
- <line num="41" count="4" type="stmt"/>
655
- <line num="42" count="4" type="stmt"/>
656
- <line num="45" count="12" type="stmt"/>
657
- <line num="46" count="8" type="cond" truecount="5" falsecount="0"/>
658
- <line num="48" count="4" type="stmt"/>
659
- <line num="50" count="4" type="cond" truecount="1" falsecount="1"/>
660
- <line num="51" count="4" type="stmt"/>
661
- <line num="52" count="0" type="cond" truecount="0" falsecount="2"/>
662
- <line num="53" count="0" type="stmt"/>
663
- <line num="57" count="4" type="stmt"/>
664
- <line num="60" count="12" type="stmt"/>
665
- <line num="61" count="4" type="cond" truecount="1" falsecount="1"/>
666
- <line num="66" count="4" type="stmt"/>
667
- <line num="69" count="0" type="stmt"/>
668
- <line num="72" count="12" type="stmt"/>
669
- </file>
670
- </package>
671
- <package name="src.components.MlLayer">
672
- <metrics statements="43" coveredstatements="28" conditionals="32" coveredconditionals="13" methods="6" coveredmethods="5"/>
673
- <file name="MlLayer.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlLayer/MlLayer.js">
674
- <metrics statements="43" coveredstatements="28" conditionals="32" coveredconditionals="13" methods="6" coveredmethods="5"/>
675
- <line num="7" count="1" type="stmt"/>
676
- <line num="9" count="16" type="stmt"/>
677
- <line num="11" count="16" type="stmt"/>
678
- <line num="19" count="16" type="stmt"/>
679
- <line num="20" count="16" type="stmt"/>
680
- <line num="21" count="16" type="cond" truecount="1" falsecount="1"/>
681
- <line num="22" count="16" type="cond" truecount="2" falsecount="0"/>
682
- <line num="23" count="16" type="stmt"/>
683
- <line num="24" count="16" type="stmt"/>
684
- <line num="26" count="16" type="stmt"/>
685
- <line num="27" count="4" type="stmt"/>
686
- <line num="29" count="4" type="stmt"/>
687
- <line num="30" count="2" type="cond" truecount="1" falsecount="1"/>
688
- <line num="31" count="2" type="stmt"/>
689
- <line num="32" count="2" type="stmt"/>
690
- <line num="37" count="16" type="stmt"/>
691
- <line num="38" count="12" type="cond" truecount="1" falsecount="1"/>
692
- <line num="44" count="12" type="stmt"/>
693
- <line num="49" count="0" type="stmt"/>
694
- <line num="50" count="0" type="cond" truecount="0" falsecount="4"/>
695
- <line num="51" count="0" type="stmt"/>
696
- <line num="52" count="0" type="stmt"/>
697
- <line num="54" count="0" type="stmt"/>
698
- <line num="57" count="0" type="stmt"/>
699
- <line num="58" count="0" type="cond" truecount="0" falsecount="4"/>
570
+ <line num="40" count="12" type="stmt"/>
571
+ <line num="41" count="12" type="cond" truecount="2" falsecount="0"/>
572
+ <line num="42" count="12" type="stmt"/>
573
+ <line num="46" count="12" type="stmt"/>
574
+ <line num="47" count="4" type="cond" truecount="1" falsecount="1"/>
575
+ <line num="52" count="4" type="stmt"/>
576
+ <line num="57" count="0" type="cond" truecount="0" falsecount="2"/>
577
+ <line num="58" count="0" type="stmt"/>
700
578
  <line num="59" count="0" type="stmt"/>
701
- <line num="60" count="0" type="stmt"/>
702
- <line num="65" count="16" type="stmt"/>
703
- <line num="66" count="16" type="cond" truecount="4" falsecount="0"/>
704
- <line num="71" count="4" type="cond" truecount="1" falsecount="1"/>
705
- <line num="72" count="0" type="stmt"/>
706
- <line num="74" count="0" type="stmt"/>
707
- <line num="75" count="0" type="cond" truecount="0" falsecount="2"/>
708
- <line num="76" count="0" type="stmt"/>
709
- <line num="79" count="0" type="cond" truecount="0" falsecount="2"/>
710
- <line num="80" count="0" type="stmt"/>
711
- <line num="84" count="4" type="stmt"/>
712
- <line num="85" count="4" type="cond" truecount="1" falsecount="1"/>
579
+ <line num="66" count="0" type="cond" truecount="0" falsecount="2"/>
580
+ <line num="67" count="0" type="stmt"/>
581
+ <line num="68" count="0" type="stmt"/>
582
+ <line num="77" count="12" type="stmt"/>
583
+ <line num="78" count="4" type="cond" truecount="1" falsecount="1"/>
584
+ <line num="80" count="4" type="stmt"/>
585
+ <line num="85" count="4" type="stmt"/>
713
586
  <line num="86" count="4" type="stmt"/>
714
- <line num="87" count="4" type="stmt"/>
715
- <line num="99" count="4" type="stmt"/>
587
+ <line num="93" count="12" type="stmt"/>
588
+ <line num="94" count="8" type="cond" truecount="5" falsecount="0"/>
589
+ <line num="95" count="4" type="stmt"/>
590
+ <line num="97" count="4" type="stmt"/>
591
+ <line num="99" count="4" type="cond" truecount="1" falsecount="1"/>
716
592
  <line num="100" count="4" type="stmt"/>
717
- <line num="104" count="16" type="stmt"/>
593
+ <line num="101" count="0" type="cond" truecount="0" falsecount="2"/>
594
+ <line num="103" count="0" type="cond" truecount="0" falsecount="2"/>
595
+ <line num="105" count="0" type="stmt"/>
596
+ <line num="109" count="4" type="stmt"/>
597
+ <line num="112" count="12" type="stmt"/>
598
+ <line num="113" count="4" type="cond" truecount="1" falsecount="1"/>
599
+ <line num="118" count="4" type="stmt"/>
600
+ <line num="121" count="0" type="stmt"/>
601
+ <line num="126" count="12" type="stmt"/>
602
+ </file>
603
+ </package>
604
+ <package name="src.components.MlLayer">
605
+ <metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
606
+ <file name="MlLayer.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlLayer/MlLayer.tsx">
607
+ <metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
608
+ <line num="30" count="1" type="stmt"/>
609
+ <line num="31" count="20" type="stmt"/>
610
+ <line num="45" count="20" type="stmt"/>
718
611
  </file>
719
612
  </package>
720
613
  <package name="src.components.MlLayerMagnify">
721
- <metrics statements="70" coveredstatements="52" conditionals="44" coveredconditionals="27" methods="11" coveredmethods="6"/>
722
- <file name="MlLayerMagnify.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlLayerMagnify/MlLayerMagnify.js">
723
- <metrics statements="70" coveredstatements="52" conditionals="44" coveredconditionals="27" methods="11" coveredmethods="6"/>
724
- <line num="14" count="1" type="stmt"/>
725
- <line num="15" count="3" type="stmt"/>
726
- <line num="16" count="3" type="stmt"/>
727
- <line num="17" count="3" type="stmt"/>
728
- <line num="19" count="3" type="stmt"/>
729
- <line num="20" count="3" type="stmt"/>
730
- <line num="21" count="3" type="stmt"/>
731
- <line num="22" count="3" type="stmt"/>
732
- <line num="24" count="3" type="stmt"/>
733
- <line num="26" count="3" type="stmt"/>
734
- <line num="28" count="3" type="stmt"/>
735
- <line num="29" count="3" type="cond" truecount="3" falsecount="1"/>
736
- <line num="30" count="0" type="stmt"/>
737
- <line num="32" count="3" type="cond" truecount="4" falsecount="0"/>
738
- <line num="33" count="1" type="stmt"/>
739
- <line num="36" count="2" type="stmt"/>
740
- <line num="39" count="3" type="stmt"/>
741
- <line num="40" count="0" type="cond" truecount="0" falsecount="2"/>
742
- <line num="42" count="0" type="stmt"/>
743
- <line num="48" count="3" type="stmt"/>
744
- <line num="49" count="1" type="stmt"/>
745
- <line num="50" count="1" type="stmt"/>
746
- <line num="52" count="1" type="stmt"/>
747
- <line num="53" count="1" type="stmt"/>
748
- <line num="54" count="1" type="cond" truecount="1" falsecount="1"/>
749
- <line num="55" count="1" type="stmt"/>
614
+ <metrics statements="63" coveredstatements="49" conditionals="38" coveredconditionals="24" methods="12" coveredmethods="7"/>
615
+ <file name="MlLayerMagnify.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlLayerMagnify/MlLayerMagnify.tsx">
616
+ <metrics statements="63" coveredstatements="49" conditionals="38" coveredconditionals="24" methods="12" coveredmethods="7"/>
617
+ <line num="35" count="1" type="stmt"/>
618
+ <line num="36" count="3" type="stmt"/>
619
+ <line num="37" count="3" type="stmt"/>
620
+ <line num="38" count="3" type="stmt"/>
621
+ <line num="40" count="3" type="stmt"/>
622
+ <line num="41" count="3" type="stmt"/>
623
+ <line num="42" count="3" type="stmt"/>
624
+ <line num="43" count="3" type="stmt"/>
625
+ <line num="45" count="3" type="stmt"/>
626
+ <line num="46" count="1" type="cond" truecount="1" falsecount="1"/>
627
+ <line num="49" count="3" type="stmt"/>
628
+ <line num="50" count="3" type="cond" truecount="3" falsecount="1"/>
629
+ <line num="51" count="0" type="stmt"/>
630
+ <line num="53" count="3" type="cond" truecount="4" falsecount="0"/>
631
+ <line num="54" count="1" type="stmt"/>
632
+ <line num="57" count="2" type="stmt"/>
750
633
  <line num="60" count="3" type="stmt"/>
751
- <line num="62" count="1" type="cond" truecount="1" falsecount="1"/>
752
- <line num="64" count="1" type="stmt"/>
753
- <line num="66" count="1" type="cond" truecount="2" falsecount="0"/>
754
- <line num="71" count="1" type="cond" truecount="2" falsecount="0"/>
755
- <line num="76" count="1" type="stmt"/>
634
+ <line num="61" count="0" type="cond" truecount="0" falsecount="2"/>
635
+ <line num="63" count="0" type="stmt"/>
636
+ <line num="69" count="3" type="stmt"/>
637
+ <line num="70" count="1" type="stmt"/>
638
+ <line num="71" count="1" type="stmt"/>
639
+ <line num="73" count="1" type="stmt"/>
640
+ <line num="74" count="1" type="stmt"/>
641
+ <line num="75" count="1" type="cond" truecount="1" falsecount="1"/>
756
642
  <line num="77" count="1" type="stmt"/>
757
- <line num="78" count="1" type="stmt"/>
758
- <line num="79" count="1" type="stmt"/>
759
- <line num="81" count="1" type="cond" truecount="2" falsecount="2"/>
760
- <line num="82" count="1" type="stmt"/>
761
- <line num="83" count="1" type="stmt"/>
762
- <line num="84" count="1" type="stmt"/>
763
- <line num="85" count="1" type="stmt"/>
764
- <line num="87" count="1" type="stmt"/>
765
- <line num="98" count="3" type="stmt"/>
766
- <line num="99" count="2" type="cond" truecount="4" falsecount="0"/>
643
+ <line num="82" count="3" type="stmt"/>
644
+ <line num="84" count="1" type="cond" truecount="1" falsecount="1"/>
645
+ <line num="86" count="1" type="stmt"/>
646
+ <line num="90" count="1" type="cond" truecount="2" falsecount="0"/>
647
+ <line num="95" count="1" type="cond" truecount="2" falsecount="0"/>
648
+ <line num="100" count="1" type="stmt"/>
767
649
  <line num="101" count="1" type="stmt"/>
768
650
  <line num="102" count="1" type="stmt"/>
769
- <line num="107" count="1" type="cond" truecount="1" falsecount="1"/>
770
- <line num="112" count="0" type="stmt"/>
771
- <line num="115" count="0" type="stmt"/>
772
- <line num="118" count="1" type="cond" truecount="1" falsecount="1"/>
773
- <line num="123" count="0" type="stmt"/>
774
- <line num="126" count="0" type="stmt"/>
651
+ <line num="103" count="1" type="stmt"/>
652
+ <line num="105" count="1" type="cond" truecount="1" falsecount="1"/>
653
+ <line num="109" count="1" type="stmt"/>
654
+ <line num="110" count="1" type="stmt"/>
655
+ <line num="111" count="1" type="stmt"/>
656
+ <line num="112" count="1" type="stmt"/>
657
+ <line num="114" count="1" type="stmt"/>
658
+ <line num="125" count="3" type="stmt"/>
659
+ <line num="126" count="2" type="cond" truecount="4" falsecount="0"/>
660
+ <line num="128" count="1" type="stmt"/>
775
661
  <line num="129" count="1" type="stmt"/>
776
- <line num="135" count="3" type="stmt"/>
777
- <line num="136" count="0" type="cond" truecount="0" falsecount="2"/>
778
- <line num="137" count="0" type="stmt"/>
779
- <line num="138" count="0" type="stmt"/>
780
- <line num="140" count="0" type="stmt"/>
781
- <line num="141" count="0" type="stmt"/>
782
- <line num="145" count="3" type="stmt"/>
783
- <line num="146" count="0" type="stmt"/>
784
- <line num="147" count="0" type="stmt"/>
785
- <line num="150" count="3" type="stmt"/>
786
- <line num="151" count="0" type="stmt"/>
787
- <line num="152" count="0" type="stmt"/>
788
- <line num="155" count="3" type="stmt"/>
789
- <line num="156" count="0" type="stmt"/>
790
- <line num="157" count="0" type="stmt"/>
791
- <line num="160" count="3" type="stmt"/>
792
- <line num="189" count="1" type="stmt"/>
793
- <line num="193" count="1" type="stmt"/>
662
+ <line num="161" count="1" type="stmt"/>
663
+ <line num="167" count="3" type="stmt"/>
664
+ <line num="168" count="0" type="cond" truecount="0" falsecount="2"/>
665
+ <line num="169" count="0" type="stmt"/>
666
+ <line num="170" count="0" type="stmt"/>
667
+ <line num="172" count="0" type="stmt"/>
668
+ <line num="173" count="0" type="stmt"/>
669
+ <line num="177" count="3" type="stmt"/>
670
+ <line num="178" count="0" type="stmt"/>
671
+ <line num="179" count="0" type="stmt"/>
672
+ <line num="182" count="3" type="stmt"/>
673
+ <line num="183" count="0" type="stmt"/>
674
+ <line num="184" count="0" type="stmt"/>
675
+ <line num="187" count="3" type="stmt"/>
676
+ <line num="188" count="0" type="stmt"/>
677
+ <line num="189" count="0" type="stmt"/>
678
+ <line num="192" count="3" type="stmt"/>
679
+ <line num="222" count="1" type="stmt"/>
794
680
  </file>
795
681
  </package>
796
682
  <package name="src.components.MlLayerSwipe">
797
683
  <metrics statements="47" coveredstatements="37" conditionals="26" coveredconditionals="18" methods="9" coveredmethods="6"/>
798
- <file name="MlLayerSwipe.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlLayerSwipe/MlLayerSwipe.js">
684
+ <file name="MlLayerSwipe.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlLayerSwipe/MlLayerSwipe.tsx">
799
685
  <metrics statements="47" coveredstatements="37" conditionals="26" coveredconditionals="18" methods="9" coveredmethods="6"/>
800
- <line num="12" count="1" type="stmt"/>
801
- <line num="13" count="3" type="stmt"/>
802
- <line num="14" count="3" type="stmt"/>
803
- <line num="16" count="3" type="stmt"/>
804
- <line num="17" count="3" type="stmt"/>
805
- <line num="19" count="3" type="stmt"/>
806
- <line num="21" count="3" type="stmt"/>
807
- <line num="22" count="3" type="cond" truecount="3" falsecount="1"/>
808
- <line num="23" count="0" type="stmt"/>
809
- <line num="25" count="3" type="cond" truecount="4" falsecount="0"/>
810
- <line num="26" count="1" type="stmt"/>
811
- <line num="29" count="2" type="stmt"/>
686
+ <line num="28" count="1" type="stmt"/>
687
+ <line num="29" count="3" type="stmt"/>
688
+ <line num="30" count="3" type="stmt"/>
812
689
  <line num="32" count="3" type="stmt"/>
813
- <line num="33" count="1" type="cond" truecount="1" falsecount="1"/>
814
- <line num="34" count="1" type="stmt"/>
815
- <line num="38" count="3" type="stmt"/>
816
- <line num="40" count="1" type="cond" truecount="1" falsecount="1"/>
690
+ <line num="33" count="3" type="stmt"/>
691
+ <line num="35" count="3" type="stmt"/>
692
+ <line num="37" count="3" type="stmt"/>
693
+ <line num="38" count="3" type="cond" truecount="3" falsecount="1"/>
694
+ <line num="39" count="0" type="stmt"/>
695
+ <line num="41" count="3" type="cond" truecount="4" falsecount="0"/>
817
696
  <line num="42" count="1" type="stmt"/>
818
- <line num="44" count="1" type="cond" truecount="2" falsecount="0"/>
819
- <line num="49" count="1" type="stmt"/>
820
- <line num="50" count="1" type="stmt"/>
821
- <line num="52" count="1" type="cond" truecount="1" falsecount="1"/>
822
- <line num="53" count="1" type="stmt"/>
823
- <line num="54" count="1" type="stmt"/>
824
- <line num="56" count="1" type="stmt"/>
825
- <line num="58" count="1" type="stmt"/>
826
- <line num="64" count="3" type="stmt"/>
827
- <line num="65" count="1" type="stmt"/>
828
- <line num="68" count="3" type="stmt"/>
829
- <line num="69" count="2" type="cond" truecount="4" falsecount="0"/>
697
+ <line num="45" count="2" type="stmt"/>
698
+ <line num="48" count="3" type="stmt"/>
699
+ <line num="49" count="1" type="cond" truecount="1" falsecount="1"/>
700
+ <line num="51" count="1" type="stmt"/>
701
+ <line num="55" count="3" type="stmt"/>
702
+ <line num="57" count="1" type="cond" truecount="1" falsecount="1"/>
703
+ <line num="59" count="1" type="stmt"/>
704
+ <line num="63" count="1" type="cond" truecount="2" falsecount="0"/>
705
+ <line num="68" count="1" type="stmt"/>
706
+ <line num="69" count="1" type="stmt"/>
830
707
  <line num="71" count="1" type="stmt"/>
831
- <line num="72" count="1" type="stmt"/>
832
- <line num="76" count="1" type="stmt"/>
833
- <line num="79" count="3" type="stmt"/>
834
- <line num="80" count="0" type="cond" truecount="0" falsecount="2"/>
835
- <line num="81" count="0" type="stmt"/>
836
- <line num="82" count="0" type="stmt"/>
837
- <line num="84" count="0" type="stmt"/>
838
- <line num="85" count="0" type="stmt"/>
839
- <line num="89" count="3" type="stmt"/>
840
- <line num="90" count="0" type="stmt"/>
841
- <line num="91" count="0" type="stmt"/>
842
- <line num="94" count="3" type="stmt"/>
843
- <line num="95" count="0" type="stmt"/>
844
- <line num="96" count="0" type="stmt"/>
845
- <line num="99" count="3" type="stmt"/>
846
- <line num="126" count="1" type="stmt"/>
708
+ <line num="72" count="1" type="cond" truecount="1" falsecount="1"/>
709
+ <line num="73" count="1" type="stmt"/>
710
+ <line num="74" count="1" type="stmt"/>
711
+ <line num="77" count="1" type="stmt"/>
712
+ <line num="81" count="1" type="stmt"/>
713
+ <line num="87" count="3" type="stmt"/>
714
+ <line num="88" count="1" type="stmt"/>
715
+ <line num="91" count="3" type="stmt"/>
716
+ <line num="92" count="2" type="cond" truecount="4" falsecount="0"/>
717
+ <line num="94" count="1" type="stmt"/>
718
+ <line num="95" count="1" type="stmt"/>
719
+ <line num="99" count="1" type="stmt"/>
720
+ <line num="104" count="3" type="stmt"/>
721
+ <line num="105" count="0" type="cond" truecount="0" falsecount="2"/>
722
+ <line num="106" count="0" type="stmt"/>
723
+ <line num="107" count="0" type="stmt"/>
724
+ <line num="109" count="0" type="stmt"/>
725
+ <line num="110" count="0" type="stmt"/>
726
+ <line num="114" count="3" type="stmt"/>
727
+ <line num="115" count="0" type="stmt"/>
728
+ <line num="116" count="0" type="stmt"/>
729
+ <line num="119" count="3" type="stmt"/>
730
+ <line num="120" count="0" type="stmt"/>
731
+ <line num="121" count="0" type="stmt"/>
732
+ <line num="124" count="3" type="stmt"/>
847
733
  </file>
848
734
  </package>
849
735
  <package name="src.components.MlLayerSwitcher">
850
736
  <metrics statements="66" coveredstatements="0" conditionals="41" coveredconditionals="0" methods="22" coveredmethods="0"/>
851
737
  <file name="MlLayerSwitcher.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlLayerSwitcher/MlLayerSwitcher.js">
852
738
  <metrics statements="66" coveredstatements="0" conditionals="41" coveredconditionals="0" methods="22" coveredmethods="0"/>
739
+ <line num="17" count="0" type="stmt"/>
740
+ <line num="18" count="0" type="stmt"/>
741
+ <line num="19" count="0" type="stmt"/>
742
+ <line num="20" count="0" type="stmt"/>
853
743
  <line num="21" count="0" type="stmt"/>
854
- <line num="22" count="0" type="stmt"/>
855
- <line num="23" count="0" type="stmt"/>
856
- <line num="24" count="0" type="stmt"/>
857
- <line num="25" count="0" type="stmt"/>
744
+ <line num="30" count="0" type="stmt"/>
745
+ <line num="31" count="0" type="stmt"/>
746
+ <line num="32" count="0" type="stmt"/>
858
747
  <line num="34" count="0" type="stmt"/>
859
- <line num="35" count="0" type="stmt"/>
860
- <line num="36" count="0" type="stmt"/>
748
+ <line num="36" count="0" type="cond" truecount="0" falsecount="2"/>
749
+ <line num="37" count="0" type="stmt"/>
861
750
  <line num="38" count="0" type="stmt"/>
862
- <line num="40" count="0" type="cond" truecount="0" falsecount="2"/>
751
+ <line num="39" count="0" type="cond" truecount="0" falsecount="2"/>
863
752
  <line num="41" count="0" type="stmt"/>
864
- <line num="42" count="0" type="stmt"/>
865
- <line num="43" count="0" type="cond" truecount="0" falsecount="2"/>
866
- <line num="45" count="0" type="stmt"/>
867
- <line num="46" count="0" type="cond" truecount="0" falsecount="2"/>
868
- <line num="47" count="0" type="stmt"/>
869
- <line num="52" count="0" type="stmt"/>
870
- <line num="53" count="0" type="stmt"/>
871
- <line num="55" count="0" type="stmt"/>
753
+ <line num="42" count="0" type="cond" truecount="0" falsecount="2"/>
754
+ <line num="43" count="0" type="stmt"/>
755
+ <line num="48" count="0" type="stmt"/>
756
+ <line num="49" count="0" type="stmt"/>
757
+ <line num="51" count="0" type="stmt"/>
758
+ <line num="60" count="0" type="stmt"/>
759
+ <line num="61" count="0" type="cond" truecount="0" falsecount="2"/>
760
+ <line num="62" count="0" type="stmt"/>
761
+ <line num="63" count="0" type="stmt"/>
872
762
  <line num="64" count="0" type="stmt"/>
873
- <line num="65" count="0" type="cond" truecount="0" falsecount="2"/>
874
- <line num="66" count="0" type="stmt"/>
763
+ <line num="65" count="0" type="stmt"/>
875
764
  <line num="67" count="0" type="stmt"/>
876
765
  <line num="68" count="0" type="stmt"/>
877
- <line num="69" count="0" type="stmt"/>
878
- <line num="71" count="0" type="stmt"/>
879
- <line num="72" count="0" type="stmt"/>
880
- <line num="73" count="0" type="cond" truecount="0" falsecount="2"/>
766
+ <line num="69" count="0" type="cond" truecount="0" falsecount="2"/>
767
+ <line num="70" count="0" type="stmt"/>
768
+ <line num="73" count="0" type="cond" truecount="0" falsecount="4"/>
881
769
  <line num="74" count="0" type="stmt"/>
882
- <line num="77" count="0" type="cond" truecount="0" falsecount="4"/>
883
770
  <line num="78" count="0" type="stmt"/>
884
- <line num="82" count="0" type="stmt"/>
885
- <line num="83" count="0" type="stmt"/>
886
- <line num="84" count="0" type="cond" truecount="0" falsecount="4"/>
887
- <line num="85" count="0" type="stmt"/>
888
- <line num="88" count="0" type="stmt"/>
771
+ <line num="79" count="0" type="stmt"/>
772
+ <line num="80" count="0" type="cond" truecount="0" falsecount="4"/>
773
+ <line num="81" count="0" type="stmt"/>
774
+ <line num="84" count="0" type="stmt"/>
775
+ <line num="86" count="0" type="stmt"/>
889
776
  <line num="90" count="0" type="stmt"/>
777
+ <line num="91" count="0" type="cond" truecount="0" falsecount="2"/>
890
778
  <line num="94" count="0" type="stmt"/>
891
- <line num="95" count="0" type="cond" truecount="0" falsecount="2"/>
892
- <line num="98" count="0" type="stmt"/>
893
- <line num="99" count="0" type="stmt"/>
779
+ <line num="95" count="0" type="stmt"/>
780
+ <line num="96" count="0" type="cond" truecount="0" falsecount="2"/>
781
+ <line num="97" count="0" type="stmt"/>
894
782
  <line num="100" count="0" type="cond" truecount="0" falsecount="2"/>
895
- <line num="101" count="0" type="stmt"/>
896
- <line num="104" count="0" type="cond" truecount="0" falsecount="2"/>
783
+ <line num="103" count="0" type="stmt"/>
784
+ <line num="106" count="0" type="stmt"/>
897
785
  <line num="107" count="0" type="stmt"/>
898
- <line num="110" count="0" type="stmt"/>
899
- <line num="111" count="0" type="stmt"/>
900
- <line num="113" count="0" type="cond" truecount="0" falsecount="2"/>
786
+ <line num="109" count="0" type="cond" truecount="0" falsecount="2"/>
787
+ <line num="113" count="0" type="stmt"/>
788
+ <line num="114" count="0" type="stmt"/>
789
+ <line num="115" count="0" type="stmt"/>
790
+ <line num="116" count="0" type="cond" truecount="0" falsecount="2"/>
901
791
  <line num="117" count="0" type="stmt"/>
902
- <line num="118" count="0" type="stmt"/>
903
- <line num="119" count="0" type="stmt"/>
904
- <line num="120" count="0" type="cond" truecount="0" falsecount="2"/>
905
- <line num="121" count="0" type="stmt"/>
906
- <line num="125" count="0" type="cond" truecount="0" falsecount="4"/>
792
+ <line num="121" count="0" type="cond" truecount="0" falsecount="4"/>
793
+ <line num="122" count="0" type="stmt"/>
794
+ <line num="124" count="0" type="stmt"/>
795
+ <line num="125" count="0" type="cond" truecount="0" falsecount="2"/>
907
796
  <line num="126" count="0" type="stmt"/>
908
- <line num="128" count="0" type="stmt"/>
909
- <line num="129" count="0" type="cond" truecount="0" falsecount="2"/>
910
- <line num="130" count="0" type="stmt"/>
911
- <line num="136" count="0" type="cond" truecount="0" falsecount="1"/>
912
- <line num="137" count="0" type="stmt"/>
913
- <line num="140" count="0" type="stmt"/>
914
- <line num="150" count="0" type="stmt"/>
915
- <line num="159" count="0" type="stmt"/>
916
- <line num="173" count="0" type="stmt"/>
917
- <line num="182" count="0" type="stmt"/>
918
- <line num="196" count="0" type="stmt"/>
797
+ <line num="132" count="0" type="cond" truecount="0" falsecount="1"/>
798
+ <line num="133" count="0" type="stmt"/>
799
+ <line num="136" count="0" type="stmt"/>
800
+ <line num="146" count="0" type="stmt"/>
801
+ <line num="155" count="0" type="stmt"/>
802
+ <line num="169" count="0" type="stmt"/>
803
+ <line num="178" count="0" type="stmt"/>
804
+ <line num="192" count="0" type="stmt"/>
919
805
  </file>
920
806
  </package>
921
807
  <package name="src.components.MlLayerSwitcher.components">
@@ -931,122 +817,103 @@
931
817
  </file>
932
818
  </package>
933
819
  <package name="src.components.MlMarker">
934
- <metrics statements="36" coveredstatements="0" conditionals="18" coveredconditionals="0" methods="7" coveredmethods="0"/>
935
- <file name="MlMarker.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlMarker/MlMarker.js">
936
- <metrics statements="36" coveredstatements="0" conditionals="18" coveredconditionals="0" methods="7" coveredmethods="0"/>
937
- <line num="21" count="0" type="stmt"/>
938
- <line num="22" count="0" type="stmt"/>
939
- <line num="23" count="0" type="stmt"/>
940
- <line num="25" count="0" type="stmt"/>
941
- <line num="26" count="0" type="stmt"/>
942
- <line num="27" count="0" type="stmt"/>
943
- <line num="28" count="0" type="cond" truecount="0" falsecount="2"/>
944
- <line num="29" count="0" type="stmt"/>
945
- <line num="31" count="0" type="stmt"/>
946
- <line num="33" count="0" type="stmt"/>
947
- <line num="34" count="0" type="stmt"/>
820
+ <metrics statements="21" coveredstatements="0" conditionals="10" coveredconditionals="0" methods="3" coveredmethods="0"/>
821
+ <file name="MlMarker.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlMarker/MlMarker.tsx">
822
+ <metrics statements="21" coveredstatements="0" conditionals="10" coveredconditionals="0" methods="3" coveredmethods="0"/>
948
823
  <line num="36" count="0" type="stmt"/>
949
- <line num="43" count="0" type="cond" truecount="0" falsecount="2"/>
950
- <line num="44" count="0" type="stmt"/>
951
- <line num="45" count="0" type="stmt"/>
824
+ <line num="37" count="0" type="stmt"/>
825
+ <line num="42" count="0" type="stmt"/>
952
826
  <line num="47" count="0" type="stmt"/>
953
- <line num="51" count="0" type="stmt"/>
954
- <line num="52" count="0" type="cond" truecount="0" falsecount="4"/>
955
- <line num="55" count="0" type="stmt"/>
827
+ <line num="49" count="0" type="stmt"/>
828
+ <line num="54" count="0" type="stmt"/>
956
829
  <line num="56" count="0" type="stmt"/>
830
+ <line num="57" count="0" type="cond" truecount="0" falsecount="2"/>
957
831
  <line num="59" count="0" type="stmt"/>
958
- <line num="60" count="0" type="cond" truecount="0" falsecount="2"/>
959
- <line num="62" count="0" type="stmt"/>
832
+ <line num="61" count="0" type="stmt"/>
960
833
  <line num="64" count="0" type="stmt"/>
961
- <line num="67" count="0" type="stmt"/>
962
- <line num="68" count="0" type="cond" truecount="0" falsecount="4"/>
834
+ <line num="65" count="0" type="cond" truecount="0" falsecount="2"/>
963
835
  <line num="69" count="0" type="stmt"/>
964
- <line num="70" count="0" type="stmt"/>
965
- <line num="72" count="0" type="stmt"/>
836
+ <line num="71" count="0" type="stmt"/>
966
837
  <line num="73" count="0" type="stmt"/>
967
838
  <line num="74" count="0" type="stmt"/>
968
- <line num="75" count="0" type="stmt"/>
969
- <line num="77" count="0" type="stmt"/>
970
- <line num="85" count="0" type="stmt"/>
971
- <line num="134" count="0" type="stmt"/>
972
- <line num="138" count="0" type="stmt"/>
839
+ <line num="76" count="0" type="stmt"/>
840
+ <line num="78" count="0" type="stmt"/>
841
+ <line num="80" count="0" type="stmt"/>
842
+ <line num="87" count="0" type="stmt"/>
843
+ <line num="136" count="0" type="stmt"/>
973
844
  </file>
974
845
  </package>
975
846
  <package name="src.components.MlNavigationCompass">
976
- <metrics statements="31" coveredstatements="16" conditionals="10" coveredconditionals="2" methods="7" coveredmethods="4"/>
977
- <file name="MlNavigationCompass.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlNavigationCompass/MlNavigationCompass.js">
978
- <metrics statements="31" coveredstatements="16" conditionals="10" coveredconditionals="2" methods="7" coveredmethods="4"/>
847
+ <metrics statements="34" coveredstatements="16" conditionals="18" coveredconditionals="4" methods="7" coveredmethods="4"/>
848
+ <file name="MlNavigationCompass.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlNavigationCompass/MlNavigationCompass.tsx">
849
+ <metrics statements="34" coveredstatements="16" conditionals="18" coveredconditionals="4" methods="7" coveredmethods="4"/>
979
850
  <line num="12" count="1" type="stmt"/>
980
851
  <line num="39" count="1" type="stmt"/>
981
852
  <line num="58" count="1" type="stmt"/>
982
- <line num="88" count="1" type="stmt"/>
983
- <line num="89" count="8" type="stmt"/>
984
- <line num="90" count="8" type="stmt"/>
985
- <line num="92" count="8" type="stmt"/>
986
- <line num="93" count="4" type="cond" truecount="2" falsecount="0"/>
987
- <line num="95" count="2" type="stmt"/>
988
- <line num="96" count="2" type="stmt"/>
989
- <line num="99" count="2" type="stmt"/>
990
- <line num="100" count="2" type="stmt"/>
991
- <line num="102" count="2" type="stmt"/>
992
- <line num="103" count="1" type="stmt"/>
993
- <line num="107" count="8" type="stmt"/>
994
- <line num="135" count="0" type="stmt"/>
995
- <line num="136" count="0" type="stmt"/>
996
- <line num="137" count="0" type="cond" truecount="0" falsecount="2"/>
997
- <line num="138" count="0" type="stmt"/>
998
- <line num="140" count="0" type="cond" truecount="0" falsecount="2"/>
999
- <line num="141" count="0" type="stmt"/>
1000
- <line num="143" count="0" type="stmt"/>
853
+ <line num="97" count="1" type="stmt"/>
854
+ <line num="98" count="6" type="stmt"/>
855
+ <line num="102" count="6" type="stmt"/>
856
+ <line num="104" count="6" type="stmt"/>
857
+ <line num="105" count="4" type="cond" truecount="2" falsecount="0"/>
858
+ <line num="107" count="2" type="stmt"/>
859
+ <line num="108" count="2" type="cond" truecount="1" falsecount="1"/>
860
+ <line num="109" count="0" type="stmt"/>
861
+ <line num="112" count="2" type="stmt"/>
862
+ <line num="113" count="2" type="stmt"/>
863
+ <line num="115" count="2" type="stmt"/>
864
+ <line num="116" count="1" type="stmt"/>
865
+ <line num="120" count="6" type="stmt"/>
866
+ <line num="148" count="0" type="cond" truecount="0" falsecount="2"/>
1001
867
  <line num="150" count="0" type="stmt"/>
1002
- <line num="164" count="0" type="stmt"/>
868
+ <line num="151" count="0" type="stmt"/>
869
+ <line num="152" count="0" type="cond" truecount="0" falsecount="2"/>
870
+ <line num="153" count="0" type="stmt"/>
871
+ <line num="155" count="0" type="cond" truecount="0" falsecount="2"/>
872
+ <line num="156" count="0" type="stmt"/>
873
+ <line num="158" count="0" type="stmt"/>
1003
874
  <line num="165" count="0" type="stmt"/>
1004
- <line num="166" count="0" type="cond" truecount="0" falsecount="2"/>
1005
- <line num="167" count="0" type="stmt"/>
1006
- <line num="169" count="0" type="cond" truecount="0" falsecount="2"/>
1007
- <line num="170" count="0" type="stmt"/>
1008
- <line num="172" count="0" type="stmt"/>
1009
- <line num="182" count="1" type="stmt"/>
1010
- </file>
1011
- </package>
1012
- <package name="src.components.MlNavigationTools">
1013
- <metrics statements="34" coveredstatements="0" conditionals="38" coveredconditionals="0" methods="10" coveredmethods="0"/>
1014
- <file name="MlNavigationTools.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlNavigationTools/MlNavigationTools.js">
1015
- <metrics statements="34" coveredstatements="0" conditionals="38" coveredconditionals="0" methods="10" coveredmethods="0"/>
1016
- <line num="13" count="0" type="stmt"/>
1017
- <line num="14" count="0" type="stmt"/>
1018
- <line num="16" count="0" type="stmt"/>
1019
- <line num="17" count="0" type="stmt"/>
1020
- <line num="18" count="0" type="stmt"/>
1021
- <line num="19" count="0" type="stmt"/>
1022
- <line num="36" count="0" type="stmt"/>
1023
- <line num="37" count="0" type="cond" truecount="0" falsecount="2"/>
1024
- <line num="39" count="0" type="stmt"/>
1025
- <line num="40" count="0" type="stmt"/>
1026
- <line num="42" count="0" type="stmt"/>
875
+ <line num="179" count="0" type="cond" truecount="0" falsecount="2"/>
876
+ <line num="181" count="0" type="stmt"/>
877
+ <line num="182" count="0" type="stmt"/>
878
+ <line num="183" count="0" type="cond" truecount="0" falsecount="2"/>
879
+ <line num="184" count="0" type="stmt"/>
880
+ <line num="186" count="0" type="cond" truecount="0" falsecount="2"/>
881
+ <line num="187" count="0" type="stmt"/>
882
+ <line num="189" count="0" type="stmt"/>
883
+ <line num="199" count="1" type="stmt"/>
884
+ </file>
885
+ </package>
886
+ <package name="src.components.MlNavigationTools">
887
+ <metrics statements="27" coveredstatements="0" conditionals="40" coveredconditionals="0" methods="7" coveredmethods="0"/>
888
+ <file name="MlNavigationTools.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlNavigationTools/MlNavigationTools.tsx">
889
+ <metrics statements="27" coveredstatements="0" conditionals="40" coveredconditionals="0" methods="7" coveredmethods="0"/>
890
+ <line num="20" count="0" type="stmt"/>
891
+ <line num="21" count="0" type="stmt"/>
892
+ <line num="26" count="0" type="stmt"/>
893
+ <line num="27" count="0" type="stmt"/>
894
+ <line num="28" count="0" type="stmt"/>
1027
895
  <line num="45" count="0" type="stmt"/>
1028
896
  <line num="46" count="0" type="cond" truecount="0" falsecount="2"/>
1029
- <line num="48" count="0" type="cond" truecount="0" falsecount="2"/>
1030
- <line num="49" count="0" type="stmt"/>
897
+ <line num="48" count="0" type="stmt"/>
898
+ <line num="49" count="0" type="cond" truecount="0" falsecount="2"/>
899
+ <line num="51" count="0" type="stmt"/>
1031
900
  <line num="53" count="0" type="stmt"/>
1032
- <line num="54" count="0" type="cond" truecount="0" falsecount="2"/>
1033
- <line num="56" count="0" type="cond" truecount="0" falsecount="2"/>
1034
- <line num="57" count="0" type="stmt"/>
1035
- <line num="61" count="0" type="stmt"/>
1036
- <line num="62" count="0" type="cond" truecount="0" falsecount="2"/>
1037
- <line num="64" count="0" type="stmt"/>
1038
- <line num="65" count="0" type="cond" truecount="0" falsecount="2"/>
1039
- <line num="66" count="0" type="stmt"/>
1040
- <line num="68" count="0" type="stmt"/>
1041
- <line num="71" count="0" type="stmt"/>
1042
- <line num="72" count="0" type="stmt"/>
1043
- <line num="75" count="0" type="stmt"/>
1044
- <line num="76" count="0" type="stmt"/>
1045
- <line num="79" count="0" type="stmt"/>
1046
- <line num="80" count="0" type="stmt"/>
901
+ <line num="56" count="0" type="stmt"/>
902
+ <line num="57" count="0" type="cond" truecount="0" falsecount="2"/>
903
+ <line num="59" count="0" type="cond" truecount="0" falsecount="2"/>
904
+ <line num="63" count="0" type="stmt"/>
905
+ <line num="67" count="0" type="stmt"/>
906
+ <line num="68" count="0" type="cond" truecount="0" falsecount="2"/>
907
+ <line num="70" count="0" type="cond" truecount="0" falsecount="2"/>
908
+ <line num="74" count="0" type="stmt"/>
909
+ <line num="78" count="0" type="stmt"/>
910
+ <line num="79" count="0" type="cond" truecount="0" falsecount="2"/>
1047
911
  <line num="81" count="0" type="stmt"/>
1048
- <line num="84" count="0" type="stmt"/>
1049
- <line num="113" count="0" type="stmt"/>
912
+ <line num="82" count="0" type="cond" truecount="0" falsecount="2"/>
913
+ <line num="83" count="0" type="stmt"/>
914
+ <line num="85" count="0" type="stmt"/>
915
+ <line num="88" count="0" type="stmt"/>
916
+ <line num="114" count="0" type="stmt"/>
1050
917
  </file>
1051
918
  </package>
1052
919
  <package name="src.components.MlOsmLayer">
@@ -1367,46 +1234,45 @@
1367
1234
  </file>
1368
1235
  </package>
1369
1236
  <package name="src.components.MlTransitionGeoJsonLayer">
1370
- <metrics statements="37" coveredstatements="26" conditionals="22" coveredconditionals="11" methods="7" coveredmethods="6"/>
1371
- <file name="MlTransitionGeoJsonLayer.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlTransitionGeoJsonLayer/MlTransitionGeoJsonLayer.js">
1372
- <metrics statements="37" coveredstatements="26" conditionals="22" coveredconditionals="11" methods="7" coveredmethods="6"/>
1237
+ <metrics statements="36" coveredstatements="25" conditionals="22" coveredconditionals="11" methods="7" coveredmethods="6"/>
1238
+ <file name="MlTransitionGeoJsonLayer.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlTransitionGeoJsonLayer/MlTransitionGeoJsonLayer.tsx">
1239
+ <metrics statements="36" coveredstatements="25" conditionals="22" coveredconditionals="11" methods="7" coveredmethods="6"/>
1373
1240
  <line num="11" count="1" type="stmt"/>
1374
- <line num="18" count="1" type="stmt"/>
1375
- <line num="19" count="12" type="stmt"/>
1376
- <line num="21" count="12" type="stmt"/>
1377
- <line num="22" count="12" type="stmt"/>
1378
- <line num="25" count="12" type="stmt"/>
1379
- <line num="26" count="12" type="stmt"/>
1380
- <line num="27" count="12" type="stmt"/>
1381
- <line num="28" count="12" type="stmt"/>
1382
- <line num="29" count="12" type="stmt"/>
1383
- <line num="30" count="12" type="stmt"/>
1384
- <line num="31" count="12" type="stmt"/>
1385
- <line num="33" count="12" type="stmt"/>
1386
- <line num="34" count="4" type="stmt"/>
1387
- <line num="36" count="2" type="cond" truecount="1" falsecount="1"/>
1388
- <line num="37" count="0" type="stmt"/>
1389
- <line num="42" count="12" type="stmt"/>
1390
- <line num="43" count="0" type="stmt"/>
1391
- <line num="57" count="12" type="stmt"/>
1392
- <line num="58" count="8" type="cond" truecount="3" falsecount="1"/>
1393
- <line num="60" count="0" type="cond" truecount="0" falsecount="2"/>
1394
- <line num="65" count="0" type="stmt"/>
1395
- <line num="66" count="0" type="stmt"/>
1396
- <line num="67" count="0" type="stmt"/>
1397
- <line num="68" count="0" type="stmt"/>
1398
- <line num="69" count="0" type="stmt"/>
1399
- <line num="71" count="0" type="stmt"/>
1400
- <line num="74" count="12" type="stmt"/>
1401
- <line num="75" count="4" type="cond" truecount="1" falsecount="1"/>
1402
- <line num="82" count="0" type="stmt"/>
1403
- <line num="83" count="0" type="stmt"/>
1404
- <line num="87" count="12" type="stmt"/>
1405
- <line num="88" count="8" type="cond" truecount="4" falsecount="0"/>
1406
- <line num="90" count="4" type="stmt"/>
1407
- <line num="92" count="4" type="stmt"/>
1241
+ <line num="79" count="1" type="stmt"/>
1242
+ <line num="80" count="12" type="stmt"/>
1243
+ <line num="82" count="12" type="stmt"/>
1244
+ <line num="86" count="12" type="stmt"/>
1245
+ <line num="89" count="12" type="stmt"/>
1246
+ <line num="90" count="12" type="stmt"/>
1247
+ <line num="91" count="12" type="stmt"/>
1248
+ <line num="92" count="12" type="stmt"/>
1249
+ <line num="93" count="12" type="stmt"/>
1250
+ <line num="94" count="12" type="stmt"/>
1408
1251
  <line num="95" count="12" type="stmt"/>
1409
- <line num="102" count="1" type="stmt"/>
1252
+ <line num="99" count="12" type="stmt"/>
1253
+ <line num="100" count="4" type="stmt"/>
1254
+ <line num="102" count="2" type="cond" truecount="1" falsecount="1"/>
1255
+ <line num="103" count="0" type="stmt"/>
1256
+ <line num="108" count="12" type="stmt"/>
1257
+ <line num="109" count="0" type="stmt"/>
1258
+ <line num="123" count="12" type="stmt"/>
1259
+ <line num="124" count="8" type="cond" truecount="3" falsecount="1"/>
1260
+ <line num="126" count="0" type="cond" truecount="0" falsecount="2"/>
1261
+ <line num="131" count="0" type="stmt"/>
1262
+ <line num="132" count="0" type="stmt"/>
1263
+ <line num="133" count="0" type="stmt"/>
1264
+ <line num="134" count="0" type="stmt"/>
1265
+ <line num="135" count="0" type="stmt"/>
1266
+ <line num="137" count="0" type="stmt"/>
1267
+ <line num="140" count="12" type="stmt"/>
1268
+ <line num="141" count="4" type="cond" truecount="1" falsecount="1"/>
1269
+ <line num="148" count="0" type="stmt"/>
1270
+ <line num="149" count="0" type="stmt"/>
1271
+ <line num="153" count="12" type="stmt"/>
1272
+ <line num="154" count="8" type="cond" truecount="4" falsecount="0"/>
1273
+ <line num="156" count="4" type="stmt"/>
1274
+ <line num="158" count="4" type="stmt"/>
1275
+ <line num="161" count="12" type="stmt"/>
1410
1276
  </file>
1411
1277
  </package>
1412
1278
  <package name="src.components.MlUseMapDebugger">
@@ -1424,41 +1290,41 @@
1424
1290
  </package>
1425
1291
  <package name="src.components.MlVectorTileLayer">
1426
1292
  <metrics statements="33" coveredstatements="29" conditionals="16" coveredconditionals="13" methods="3" coveredmethods="3"/>
1427
- <file name="MlVectorTileLayer.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlVectorTileLayer/MlVectorTileLayer.js">
1293
+ <file name="MlVectorTileLayer.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlVectorTileLayer/MlVectorTileLayer.tsx">
1428
1294
  <metrics statements="33" coveredstatements="29" conditionals="16" coveredconditionals="13" methods="3" coveredmethods="3"/>
1429
- <line num="11" count="1" type="stmt"/>
1430
- <line num="12" count="12" type="stmt"/>
1431
- <line num="14" count="12" type="stmt"/>
1432
- <line num="15" count="12" type="cond" truecount="2" falsecount="0"/>
1433
- <line num="16" count="12" type="stmt"/>
1434
- <line num="17" count="12" type="stmt"/>
1435
- <line num="18" count="12" type="stmt"/>
1436
- <line num="20" count="12" type="stmt"/>
1437
- <line num="21" count="8" type="cond" truecount="4" falsecount="0"/>
1438
- <line num="23" count="4" type="stmt"/>
1439
- <line num="26" count="4" type="stmt"/>
1440
- <line num="38" count="4" type="stmt"/>
1441
- <line num="39" count="4" type="stmt"/>
1295
+ <line num="20" count="1" type="stmt"/>
1296
+ <line num="21" count="12" type="stmt"/>
1297
+ <line num="26" count="12" type="stmt"/>
1298
+ <line num="27" count="12" type="stmt"/>
1299
+ <line num="30" count="12" type="stmt"/>
1300
+ <line num="31" count="12" type="stmt"/>
1301
+ <line num="32" count="12" type="stmt"/>
1302
+ <line num="34" count="12" type="stmt"/>
1303
+ <line num="35" count="8" type="cond" truecount="4" falsecount="0"/>
1304
+ <line num="37" count="4" type="stmt"/>
1442
1305
  <line num="40" count="4" type="stmt"/>
1443
- <line num="42" count="4" type="stmt"/>
1444
- <line num="60" count="4" type="stmt"/>
1445
- <line num="61" count="4" type="stmt"/>
1446
- <line num="65" count="12" type="stmt"/>
1447
- <line num="66" count="8" type="cond" truecount="4" falsecount="0"/>
1448
- <line num="68" count="4" type="stmt"/>
1449
- <line num="69" count="4" type="cond" truecount="1" falsecount="1"/>
1450
- <line num="71" count="4" type="stmt"/>
1451
- <line num="73" count="4" type="cond" truecount="1" falsecount="1"/>
1452
- <line num="74" count="0" type="stmt"/>
1453
- <line num="75" count="0" type="stmt"/>
1454
- <line num="82" count="4" type="stmt"/>
1455
- <line num="85" count="4" type="stmt"/>
1456
- <line num="87" count="4" type="cond" truecount="1" falsecount="1"/>
1457
- <line num="88" count="0" type="stmt"/>
1458
- <line num="89" count="0" type="stmt"/>
1459
- <line num="96" count="4" type="stmt"/>
1460
- <line num="101" count="12" type="stmt"/>
1461
- <line num="104" count="1" type="stmt"/>
1306
+ <line num="52" count="4" type="stmt"/>
1307
+ <line num="53" count="4" type="stmt"/>
1308
+ <line num="54" count="4" type="stmt"/>
1309
+ <line num="56" count="4" type="stmt"/>
1310
+ <line num="74" count="4" type="stmt"/>
1311
+ <line num="75" count="4" type="stmt"/>
1312
+ <line num="81" count="12" type="stmt"/>
1313
+ <line num="82" count="8" type="cond" truecount="4" falsecount="0"/>
1314
+ <line num="84" count="4" type="stmt"/>
1315
+ <line num="85" count="4" type="cond" truecount="1" falsecount="1"/>
1316
+ <line num="87" count="4" type="stmt"/>
1317
+ <line num="89" count="4" type="cond" truecount="1" falsecount="1"/>
1318
+ <line num="90" count="0" type="stmt"/>
1319
+ <line num="91" count="0" type="stmt"/>
1320
+ <line num="98" count="4" type="stmt"/>
1321
+ <line num="101" count="4" type="stmt"/>
1322
+ <line num="103" count="4" type="cond" truecount="1" falsecount="1"/>
1323
+ <line num="104" count="0" type="stmt"/>
1324
+ <line num="105" count="0" type="stmt"/>
1325
+ <line num="112" count="4" type="stmt"/>
1326
+ <line num="117" count="12" type="stmt"/>
1327
+ <line num="120" count="1" type="stmt"/>
1462
1328
  </file>
1463
1329
  </package>
1464
1330
  <package name="src.components.MlWmsFeatureInfoPopup">
@@ -1489,212 +1355,279 @@
1489
1355
  </package>
1490
1356
  <package name="src.components.MlWmsLayer">
1491
1357
  <metrics statements="28" coveredstatements="24" conditionals="16" coveredconditionals="13" methods="3" coveredmethods="3"/>
1492
- <file name="MlWmsLayer.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlWmsLayer/MlWmsLayer.js">
1358
+ <file name="MlWmsLayer.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlWmsLayer/MlWmsLayer.tsx">
1493
1359
  <metrics statements="28" coveredstatements="24" conditionals="16" coveredconditionals="13" methods="3" coveredmethods="3"/>
1494
1360
  <line num="6" count="1" type="stmt"/>
1495
- <line num="46" count="1" type="stmt"/>
1496
- <line num="47" count="12" type="stmt"/>
1497
- <line num="49" count="12" type="stmt"/>
1498
- <line num="50" count="12" type="cond" truecount="2" falsecount="0"/>
1499
- <line num="52" count="12" type="stmt"/>
1500
- <line num="53" count="12" type="cond" truecount="4" falsecount="0"/>
1501
- <line num="55" count="4" type="stmt"/>
1502
- <line num="58" count="4" type="stmt"/>
1503
- <line num="59" count="4" type="cond" truecount="1" falsecount="1"/>
1504
- <line num="60" count="0" type="stmt"/>
1505
- <line num="61" count="0" type="stmt"/>
1506
- <line num="63" count="4" type="stmt"/>
1507
- <line num="65" count="4" type="stmt"/>
1508
- <line num="70" count="4" type="stmt"/>
1361
+ <line num="57" count="1" type="stmt"/>
1362
+ <line num="58" count="12" type="stmt"/>
1363
+ <line num="63" count="12" type="stmt"/>
1364
+ <line num="64" count="12" type="cond" truecount="2" falsecount="0"/>
1365
+ <line num="66" count="12" type="stmt"/>
1366
+ <line num="67" count="12" type="cond" truecount="4" falsecount="0"/>
1367
+ <line num="69" count="4" type="stmt"/>
1509
1368
  <line num="72" count="4" type="stmt"/>
1510
- <line num="74" count="4" type="stmt"/>
1369
+ <line num="73" count="4" type="cond" truecount="1" falsecount="1"/>
1370
+ <line num="74" count="0" type="stmt"/>
1371
+ <line num="75" count="0" type="stmt"/>
1372
+ <line num="77" count="4" type="stmt"/>
1373
+ <line num="79" count="4" type="stmt"/>
1374
+ <line num="84" count="4" type="stmt"/>
1511
1375
  <line num="86" count="4" type="stmt"/>
1512
- <line num="97" count="4" type="cond" truecount="1" falsecount="1"/>
1513
- <line num="98" count="0" type="stmt"/>
1514
- <line num="102" count="12" type="stmt"/>
1515
- <line num="103" count="8" type="cond" truecount="4" falsecount="0"/>
1516
- <line num="106" count="4" type="cond" truecount="1" falsecount="1"/>
1517
- <line num="107" count="4" type="stmt"/>
1518
- <line num="109" count="0" type="stmt"/>
1519
- <line num="113" count="12" type="stmt"/>
1520
- <line num="116" count="1" type="stmt"/>
1521
- <line num="120" count="1" type="stmt"/>
1376
+ <line num="89" count="4" type="stmt"/>
1377
+ <line num="101" count="4" type="stmt"/>
1378
+ <line num="112" count="4" type="cond" truecount="1" falsecount="1"/>
1379
+ <line num="113" count="0" type="stmt"/>
1380
+ <line num="117" count="12" type="stmt"/>
1381
+ <line num="118" count="8" type="cond" truecount="4" falsecount="0"/>
1382
+ <line num="121" count="4" type="cond" truecount="1" falsecount="1"/>
1383
+ <line num="122" count="4" type="stmt"/>
1384
+ <line num="124" count="0" type="stmt"/>
1385
+ <line num="128" count="12" type="stmt"/>
1386
+ <line num="131" count="1" type="stmt"/>
1387
+ <line num="135" count="1" type="stmt"/>
1522
1388
  </file>
1523
1389
  </package>
1524
1390
  <package name="src.components.MlWmsLoader">
1525
- <metrics statements="90" coveredstatements="0" conditionals="55" coveredconditionals="0" methods="21" coveredmethods="0"/>
1526
- <file name="MlWmsLoader.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlWmsLoader/MlWmsLoader.js">
1527
- <metrics statements="90" coveredstatements="0" conditionals="55" coveredconditionals="0" methods="21" coveredmethods="0"/>
1528
- <line num="19" count="0" type="stmt"/>
1529
- <line num="20" count="0" type="cond" truecount="0" falsecount="1"/>
1391
+ <metrics statements="91" coveredstatements="0" conditionals="57" coveredconditionals="0" methods="21" coveredmethods="0"/>
1392
+ <file name="MlWmsLoader.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlWmsLoader/MlWmsLoader.tsx">
1393
+ <metrics statements="91" coveredstatements="0" conditionals="57" coveredconditionals="0" methods="21" coveredmethods="0"/>
1530
1394
  <line num="21" count="0" type="stmt"/>
1531
- <line num="22" count="0" type="stmt"/>
1395
+ <line num="22" count="0" type="cond" truecount="0" falsecount="1"/>
1532
1396
  <line num="23" count="0" type="stmt"/>
1533
1397
  <line num="24" count="0" type="stmt"/>
1534
1398
  <line num="25" count="0" type="stmt"/>
1535
- <line num="26" count="0" type="cond" truecount="0" falsecount="2"/>
1399
+ <line num="26" count="0" type="stmt"/>
1536
1400
  <line num="27" count="0" type="stmt"/>
1537
- <line num="28" count="0" type="stmt"/>
1401
+ <line num="28" count="0" type="cond" truecount="0" falsecount="2"/>
1402
+ <line num="29" count="0" type="stmt"/>
1538
1403
  <line num="30" count="0" type="stmt"/>
1539
- <line num="40" count="0" type="stmt"/>
1540
- <line num="42" count="0" type="stmt"/>
1541
- <line num="43" count="0" type="stmt"/>
1542
- <line num="48" count="0" type="stmt"/>
1543
- <line num="49" count="0" type="stmt"/>
1544
- <line num="50" count="0" type="cond" truecount="0" falsecount="2"/>
1545
- <line num="51" count="0" type="stmt"/>
1546
- <line num="53" count="0" type="stmt"/>
1547
- <line num="54" count="0" type="stmt"/>
1548
- <line num="56" count="0" type="stmt"/>
1549
- <line num="57" count="0" type="stmt"/>
1550
- <line num="59" count="0" type="stmt"/>
1551
- <line num="66" count="0" type="cond" truecount="0" falsecount="2"/>
1552
- <line num="67" count="0" type="stmt"/>
1404
+ <line num="32" count="0" type="stmt"/>
1553
1405
  <line num="68" count="0" type="stmt"/>
1554
1406
  <line num="70" count="0" type="stmt"/>
1555
- <line num="74" count="0" type="stmt"/>
1556
- <line num="75" count="0" type="cond" truecount="0" falsecount="2"/>
1557
- <line num="77" count="0" type="stmt"/>
1558
- <line num="80" count="0" type="stmt"/>
1559
- <line num="82" count="0" type="stmt"/>
1407
+ <line num="71" count="0" type="stmt"/>
1408
+ <line num="78" count="0" type="stmt"/>
1409
+ <line num="79" count="0" type="stmt"/>
1410
+ <line num="80" count="0" type="cond" truecount="0" falsecount="2"/>
1411
+ <line num="81" count="0" type="stmt"/>
1560
1412
  <line num="83" count="0" type="stmt"/>
1561
1413
  <line num="84" count="0" type="stmt"/>
1562
- <line num="85" count="0" type="stmt"/>
1563
1414
  <line num="86" count="0" type="stmt"/>
1564
1415
  <line num="87" count="0" type="stmt"/>
1565
- <line num="88" count="0" type="stmt"/>
1566
- <line num="99" count="0" type="cond" truecount="0" falsecount="4"/>
1416
+ <line num="89" count="0" type="stmt"/>
1417
+ <line num="96" count="0" type="cond" truecount="0" falsecount="2"/>
1418
+ <line num="97" count="0" type="stmt"/>
1419
+ <line num="98" count="0" type="stmt"/>
1567
1420
  <line num="100" count="0" type="stmt"/>
1568
- <line num="102" count="0" type="cond" truecount="0" falsecount="4"/>
1569
- <line num="103" count="0" type="stmt"/>
1421
+ <line num="104" count="0" type="stmt"/>
1422
+ <line num="105" count="0" type="cond" truecount="0" falsecount="2"/>
1423
+ <line num="107" count="0" type="stmt"/>
1424
+ <line num="110" count="0" type="stmt"/>
1425
+ <line num="112" count="0" type="cond" truecount="0" falsecount="2"/>
1426
+ <line num="113" count="0" type="stmt"/>
1427
+ <line num="114" count="0" type="stmt"/>
1428
+ <line num="115" count="0" type="stmt"/>
1570
1429
  <line num="116" count="0" type="stmt"/>
1571
- <line num="118" count="0" type="cond" truecount="0" falsecount="2"/>
1430
+ <line num="117" count="0" type="stmt"/>
1431
+ <line num="118" count="0" type="stmt"/>
1572
1432
  <line num="119" count="0" type="stmt"/>
1573
- <line num="120" count="0" type="stmt"/>
1574
- <line num="122" count="0" type="stmt"/>
1575
- <line num="124" count="0" type="stmt"/>
1576
- <line num="129" count="0" type="stmt"/>
1433
+ <line num="130" count="0" type="cond" truecount="0" falsecount="4"/>
1577
1434
  <line num="131" count="0" type="stmt"/>
1578
- <line num="133" count="0" type="cond" truecount="0" falsecount="2"/>
1435
+ <line num="133" count="0" type="cond" truecount="0" falsecount="4"/>
1579
1436
  <line num="134" count="0" type="stmt"/>
1580
- <line num="136" count="0" type="stmt"/>
1581
- <line num="139" count="0" type="stmt"/>
1582
- <line num="140" count="0" type="stmt"/>
1583
- <line num="142" count="0" type="stmt"/>
1584
1437
  <line num="147" count="0" type="stmt"/>
1585
- <line num="148" count="0" type="cond" truecount="0" falsecount="2"/>
1438
+ <line num="149" count="0" type="cond" truecount="0" falsecount="2"/>
1586
1439
  <line num="150" count="0" type="stmt"/>
1587
- <line num="152" count="0" type="stmt"/>
1440
+ <line num="151" count="0" type="stmt"/>
1588
1441
  <line num="153" count="0" type="stmt"/>
1589
- <line num="154" count="0" type="stmt"/>
1590
- <line num="158" count="0" type="stmt"/>
1591
- <line num="159" count="0" type="cond" truecount="0" falsecount="2"/>
1592
- <line num="161" count="0" type="cond" truecount="0" falsecount="2"/>
1442
+ <line num="155" count="0" type="stmt"/>
1443
+ <line num="160" count="0" type="stmt"/>
1593
1444
  <line num="162" count="0" type="stmt"/>
1594
- <line num="166" count="0" type="stmt"/>
1445
+ <line num="164" count="0" type="cond" truecount="0" falsecount="2"/>
1446
+ <line num="165" count="0" type="stmt"/>
1447
+ <line num="167" count="0" type="stmt"/>
1448
+ <line num="170" count="0" type="stmt"/>
1595
1449
  <line num="171" count="0" type="stmt"/>
1596
- <line num="173" count="0" type="cond" truecount="0" falsecount="2"/>
1597
- <line num="174" count="0" type="stmt"/>
1598
- <line num="175" count="0" type="cond" truecount="0" falsecount="2"/>
1599
- <line num="176" count="0" type="stmt"/>
1450
+ <line num="173" count="0" type="stmt"/>
1451
+ <line num="178" count="0" type="stmt"/>
1600
1452
  <line num="179" count="0" type="cond" truecount="0" falsecount="2"/>
1601
- <line num="180" count="0" type="stmt"/>
1602
- <line num="185" count="0" type="cond" truecount="0" falsecount="4"/>
1603
- <line num="186" count="0" type="stmt"/>
1604
- <line num="194" count="0" type="stmt"/>
1605
- <line num="195" count="0" type="cond" truecount="0" falsecount="4"/>
1606
- <line num="198" count="0" type="stmt"/>
1607
- <line num="199" count="0" type="stmt"/>
1608
- <line num="200" count="0" type="stmt"/>
1453
+ <line num="181" count="0" type="stmt"/>
1454
+ <line num="183" count="0" type="stmt"/>
1455
+ <line num="184" count="0" type="stmt"/>
1456
+ <line num="185" count="0" type="stmt"/>
1457
+ <line num="189" count="0" type="stmt"/>
1458
+ <line num="190" count="0" type="cond" truecount="0" falsecount="2"/>
1459
+ <line num="192" count="0" type="cond" truecount="0" falsecount="2"/>
1460
+ <line num="193" count="0" type="stmt"/>
1461
+ <line num="197" count="0" type="stmt"/>
1609
1462
  <line num="201" count="0" type="stmt"/>
1610
- <line num="204" count="0" type="stmt"/>
1611
- <line num="210" count="0" type="stmt"/>
1612
- <line num="223" count="0" type="cond" truecount="0" falsecount="2"/>
1463
+ <line num="202" count="0" type="stmt"/>
1464
+ <line num="204" count="0" type="cond" truecount="0" falsecount="2"/>
1465
+ <line num="205" count="0" type="stmt"/>
1466
+ <line num="206" count="0" type="cond" truecount="0" falsecount="2"/>
1467
+ <line num="207" count="0" type="stmt"/>
1468
+ <line num="210" count="0" type="cond" truecount="0" falsecount="2"/>
1469
+ <line num="211" count="0" type="stmt"/>
1470
+ <line num="216" count="0" type="cond" truecount="0" falsecount="4"/>
1471
+ <line num="217" count="0" type="stmt"/>
1472
+ <line num="225" count="0" type="stmt"/>
1473
+ <line num="226" count="0" type="cond" truecount="0" falsecount="4"/>
1474
+ <line num="229" count="0" type="stmt"/>
1475
+ <line num="230" count="0" type="stmt"/>
1613
1476
  <line num="231" count="0" type="stmt"/>
1614
1477
  <line num="232" count="0" type="stmt"/>
1615
- <line num="233" count="0" type="stmt"/>
1478
+ <line num="235" count="0" type="stmt"/>
1479
+ <line num="241" count="0" type="stmt"/>
1480
+ <line num="254" count="0" type="cond" truecount="0" falsecount="2"/>
1481
+ <line num="262" count="0" type="stmt"/>
1616
1482
  <line num="263" count="0" type="stmt"/>
1617
- <line num="275" count="0" type="stmt"/>
1483
+ <line num="264" count="0" type="stmt"/>
1484
+ <line num="294" count="0" type="stmt"/>
1618
1485
  </file>
1619
1486
  </package>
1620
1487
  <package name="src.hooks">
1621
- <metrics statements="106" coveredstatements="54" conditionals="44" coveredconditionals="16" methods="19" coveredmethods="9"/>
1622
- <file name="useMap.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useMap.js">
1623
- <metrics statements="27" coveredstatements="21" conditionals="14" coveredconditionals="7" methods="5" coveredmethods="4"/>
1624
- <line num="8" count="119" type="stmt"/>
1625
- <line num="10" count="119" type="stmt"/>
1626
- <line num="22" count="119" type="stmt"/>
1627
- <line num="23" count="119" type="stmt"/>
1628
- <line num="25" count="119" type="stmt"/>
1629
- <line num="27" count="119" type="stmt"/>
1630
- <line num="29" count="119" type="stmt"/>
1631
- <line num="30" count="38" type="stmt"/>
1632
- <line num="32" count="38" type="stmt"/>
1633
- <line num="33" count="18" type="cond" truecount="1" falsecount="1"/>
1634
- <line num="34" count="18" type="stmt"/>
1635
- <line num="35" count="18" type="stmt"/>
1636
- <line num="37" count="18" type="stmt"/>
1637
- <line num="38" count="18" type="stmt"/>
1638
- <line num="42" count="119" type="stmt"/>
1639
- <line num="43" count="76" type="cond" truecount="4" falsecount="0"/>
1640
- <line num="47" count="38" type="cond" truecount="1" falsecount="1"/>
1641
- <line num="48" count="0" type="stmt"/>
1642
- <line num="50" count="0" type="stmt"/>
1643
- <line num="51" count="0" type="cond" truecount="0" falsecount="2"/>
1644
- <line num="52" count="0" type="stmt"/>
1645
- <line num="55" count="0" type="cond" truecount="0" falsecount="2"/>
1646
- <line num="56" count="0" type="stmt"/>
1647
- <line num="61" count="38" type="stmt"/>
1648
- <line num="62" count="38" type="stmt"/>
1649
- <line num="63" count="38" type="stmt"/>
1650
- <line num="66" count="119" type="stmt"/>
1651
- </file>
1652
- <file name="useMapState.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useMapState.js">
1653
- <metrics statements="44" coveredstatements="33" conditionals="22" coveredconditionals="9" methods="7" coveredmethods="5"/>
1654
- <line num="13" count="135" type="stmt"/>
1655
- <line num="15" count="135" type="stmt"/>
1656
- <line num="16" count="135" type="stmt"/>
1657
- <line num="18" count="135" type="stmt"/>
1658
- <line num="19" count="135" type="stmt"/>
1659
- <line num="21" count="135" type="stmt"/>
1660
- <line num="22" count="135" type="stmt"/>
1661
- <line num="24" count="135" type="stmt"/>
1662
- <line num="32" count="135" type="stmt"/>
1663
- <line num="34" count="0" type="cond" truecount="0" falsecount="4"/>
1664
- <line num="35" count="0" type="stmt"/>
1665
- <line num="38" count="0" type="cond" truecount="0" falsecount="2"/>
1666
- <line num="39" count="0" type="cond" truecount="0" falsecount="2"/>
1667
- <line num="40" count="0" type="stmt"/>
1668
- <line num="42" count="0" type="stmt"/>
1669
- <line num="46" count="0" type="stmt"/>
1670
- <line num="51" count="135" type="stmt"/>
1671
- <line num="52" count="4" type="stmt"/>
1672
- <line num="53" count="4" type="stmt"/>
1673
- <line num="54" count="4" type="cond" truecount="1" falsecount="1"/>
1674
- <line num="55" count="4" type="stmt"/>
1675
- <line num="56" count="4" type="stmt"/>
1676
- <line num="60" count="135" type="stmt"/>
1677
- <line num="61" count="42" type="stmt"/>
1678
- <line num="63" count="42" type="stmt"/>
1679
- <line num="65" count="20" type="cond" truecount="1" falsecount="1"/>
1680
- <line num="66" count="20" type="stmt"/>
1681
- <line num="67" count="20" type="stmt"/>
1682
- <line num="69" count="20" type="stmt"/>
1683
- <line num="73" count="135" type="stmt"/>
1684
- <line num="74" count="135" type="cond" truecount="4" falsecount="0"/>
1685
- <line num="77" count="42" type="stmt"/>
1686
- <line num="78" count="42" type="stmt"/>
1687
- <line num="80" count="42" type="cond" truecount="1" falsecount="1"/>
1688
- <line num="81" count="0" type="stmt"/>
1689
- <line num="84" count="0" type="stmt"/>
1690
- <line num="87" count="0" type="cond" truecount="0" falsecount="2"/>
1488
+ <metrics statements="169" coveredstatements="93" conditionals="105" coveredconditionals="56" methods="27" coveredmethods="16"/>
1489
+ <file name="useLayer.ts" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useLayer.ts">
1490
+ <metrics statements="57" coveredstatements="43" conditionals="57" coveredconditionals="40" methods="8" coveredmethods="8"/>
1491
+ <line num="30" count="5" type="stmt"/>
1492
+ <line num="43" count="60" type="stmt"/>
1493
+ <line num="48" count="60" type="stmt"/>
1494
+ <line num="49" count="60" type="stmt"/>
1495
+ <line num="50" count="60" type="stmt"/>
1496
+ <line num="52" count="60" type="stmt"/>
1497
+ <line num="54" count="60" type="stmt"/>
1498
+ <line num="55" count="60" type="stmt"/>
1499
+ <line num="60" count="60" type="stmt"/>
1500
+ <line num="61" count="14" type="cond" truecount="3" falsecount="1"/>
1501
+ <line num="62" count="14" type="stmt"/>
1502
+ <line num="64" count="14" type="stmt"/>
1503
+ <line num="85" count="14" type="stmt"/>
1504
+ <line num="87" count="14" type="cond" truecount="1" falsecount="1"/>
1691
1505
  <line num="88" count="0" type="stmt"/>
1692
- <line num="96" count="42" type="cond" truecount="2" falsecount="0"/>
1693
- <line num="97" count="4" type="stmt"/>
1694
- <line num="99" count="4" type="stmt"/>
1695
- <line num="111" count="135" type="stmt"/>
1696
- <line num="117" count="10" type="stmt"/>
1697
- <line num="129" count="10" type="stmt"/>
1506
+ <line num="96" count="14" type="cond" truecount="1" falsecount="1"/>
1507
+ <line num="97" count="0" type="stmt"/>
1508
+ <line num="105" count="14" type="cond" truecount="1" falsecount="1"/>
1509
+ <line num="106" count="0" type="stmt"/>
1510
+ <line num="114" count="14" type="stmt"/>
1511
+ <line num="115" count="14" type="stmt"/>
1512
+ <line num="116" count="14" type="stmt"/>
1513
+ <line num="119" count="60" type="stmt"/>
1514
+ <line num="120" count="60" type="cond" truecount="2" falsecount="0"/>
1515
+ <line num="122" count="32" type="cond" truecount="1" falsecount="1"/>
1516
+ <line num="129" count="0" type="stmt"/>
1517
+ <line num="130" count="32" type="cond" truecount="2" falsecount="0"/>
1518
+ <line num="136" count="18" type="stmt"/>
1519
+ <line num="139" count="14" type="stmt"/>
1520
+ <line num="142" count="60" type="stmt"/>
1521
+ <line num="143" count="28" type="cond" truecount="2" falsecount="0"/>
1522
+ <line num="147" count="16" type="stmt"/>
1523
+ <line num="150" count="12" type="stmt"/>
1524
+ <line num="153" count="60" type="stmt"/>
1525
+ <line num="154" count="60" type="cond" truecount="2" falsecount="0"/>
1526
+ <line num="159" count="28" type="stmt"/>
1527
+ <line num="163" count="32" type="stmt"/>
1528
+ <line num="164" count="32" type="cond" truecount="3" falsecount="1"/>
1529
+ <line num="165" count="0" type="stmt"/>
1530
+ <line num="167" count="0" type="stmt"/>
1531
+ <line num="168" count="0" type="cond" truecount="0" falsecount="2"/>
1532
+ <line num="172" count="0" type="stmt"/>
1533
+ <line num="179" count="0" type="stmt"/>
1534
+ <line num="182" count="32" type="stmt"/>
1535
+ <line num="183" count="32" type="cond" truecount="1" falsecount="1"/>
1536
+ <line num="184" count="0" type="stmt"/>
1537
+ <line num="185" count="0" type="stmt"/>
1538
+ <line num="186" count="0" type="cond" truecount="0" falsecount="2"/>
1539
+ <line num="190" count="0" type="stmt"/>
1540
+ <line num="197" count="0" type="stmt"/>
1541
+ <line num="201" count="60" type="stmt"/>
1542
+ <line num="202" count="7" type="stmt"/>
1543
+ <line num="203" count="7" type="stmt"/>
1544
+ <line num="206" count="60" type="stmt"/>
1545
+ <line num="207" count="14" type="stmt"/>
1546
+ <line num="208" count="7" type="stmt"/>
1547
+ <line num="212" count="60" type="stmt"/>
1548
+ </file>
1549
+ <file name="useMap.ts" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useMap.ts">
1550
+ <metrics statements="29" coveredstatements="23" conditionals="14" coveredconditionals="8" methods="5" coveredmethods="4"/>
1551
+ <line num="26" count="169" type="stmt"/>
1552
+ <line num="27" count="169" type="stmt"/>
1553
+ <line num="29" count="169" type="stmt"/>
1554
+ <line num="41" count="169" type="stmt"/>
1555
+ <line num="43" count="169" type="stmt"/>
1556
+ <line num="45" count="169" type="stmt"/>
1557
+ <line num="47" count="169" type="stmt"/>
1558
+ <line num="49" count="169" type="stmt"/>
1559
+ <line num="50" count="30" type="cond" truecount="2" falsecount="0"/>
1560
+ <line num="51" count="23" type="stmt"/>
1561
+ <line num="52" count="23" type="stmt"/>
1562
+ <line num="54" count="30" type="stmt"/>
1563
+ <line num="55" count="30" type="stmt"/>
1564
+ <line num="58" count="169" type="stmt"/>
1565
+ <line num="59" count="48" type="stmt"/>
1566
+ <line num="62" count="169" type="stmt"/>
1567
+ <line num="63" count="96" type="cond" truecount="4" falsecount="0"/>
1568
+ <line num="67" count="48" type="cond" truecount="1" falsecount="1"/>
1569
+ <line num="68" count="0" type="stmt"/>
1570
+ <line num="70" count="0" type="stmt"/>
1571
+ <line num="71" count="0" type="cond" truecount="0" falsecount="2"/>
1572
+ <line num="72" count="0" type="stmt"/>
1573
+ <line num="75" count="0" type="cond" truecount="0" falsecount="2"/>
1574
+ <line num="76" count="0" type="stmt"/>
1575
+ <line num="81" count="48" type="stmt"/>
1576
+ <line num="82" count="48" type="stmt"/>
1577
+ <line num="84" count="48" type="stmt"/>
1578
+ <line num="85" count="48" type="stmt"/>
1579
+ <line num="94" count="169" type="stmt"/>
1580
+ </file>
1581
+ <file name="useMapState.ts" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useMapState.ts">
1582
+ <metrics statements="48" coveredstatements="27" conditionals="26" coveredconditionals="8" methods="7" coveredmethods="4"/>
1583
+ <line num="41" count="169" type="stmt"/>
1584
+ <line num="43" count="169" type="stmt"/>
1585
+ <line num="44" count="169" type="stmt"/>
1586
+ <line num="46" count="169" type="stmt"/>
1587
+ <line num="47" count="169" type="stmt"/>
1588
+ <line num="49" count="169" type="stmt"/>
1589
+ <line num="50" count="169" type="stmt"/>
1590
+ <line num="52" count="169" type="stmt"/>
1591
+ <line num="60" count="169" type="stmt"/>
1592
+ <line num="62" count="0" type="cond" truecount="0" falsecount="4"/>
1593
+ <line num="63" count="0" type="stmt"/>
1594
+ <line num="66" count="0" type="cond" truecount="0" falsecount="2"/>
1595
+ <line num="67" count="0" type="cond" truecount="0" falsecount="2"/>
1596
+ <line num="68" count="0" type="stmt"/>
1597
+ <line num="70" count="0" type="stmt"/>
1598
+ <line num="74" count="0" type="stmt"/>
1599
+ <line num="79" count="169" type="stmt"/>
1600
+ <line num="80" count="0" type="cond" truecount="0" falsecount="2"/>
1601
+ <line num="82" count="0" type="stmt"/>
1602
+ <line num="83" count="0" type="stmt"/>
1603
+ <line num="84" count="0" type="cond" truecount="0" falsecount="2"/>
1604
+ <line num="85" count="0" type="stmt"/>
1605
+ <line num="86" count="0" type="stmt"/>
1606
+ <line num="90" count="169" type="stmt"/>
1607
+ <line num="91" count="48" type="stmt"/>
1608
+ <line num="93" count="48" type="stmt"/>
1609
+ <line num="95" count="23" type="cond" truecount="1" falsecount="1"/>
1610
+ <line num="96" count="23" type="stmt"/>
1611
+ <line num="97" count="23" type="stmt"/>
1612
+ <line num="99" count="23" type="stmt"/>
1613
+ <line num="103" count="169" type="stmt"/>
1614
+ <line num="104" count="169" type="cond" truecount="4" falsecount="0"/>
1615
+ <line num="107" count="48" type="stmt"/>
1616
+ <line num="108" count="48" type="stmt"/>
1617
+ <line num="110" count="48" type="cond" truecount="1" falsecount="1"/>
1618
+ <line num="111" count="0" type="stmt"/>
1619
+ <line num="112" count="0" type="stmt"/>
1620
+ <line num="115" count="48" type="cond" truecount="1" falsecount="1"/>
1621
+ <line num="116" count="0" type="stmt"/>
1622
+ <line num="119" count="0" type="stmt"/>
1623
+ <line num="122" count="0" type="cond" truecount="0" falsecount="2"/>
1624
+ <line num="123" count="0" type="stmt"/>
1625
+ <line num="131" count="48" type="cond" truecount="1" falsecount="1"/>
1626
+ <line num="132" count="0" type="stmt"/>
1627
+ <line num="134" count="0" type="stmt"/>
1628
+ <line num="146" count="169" type="stmt"/>
1629
+ <line num="152" count="12" type="stmt"/>
1630
+ <line num="164" count="12" type="stmt"/>
1698
1631
  </file>
1699
1632
  <file name="useWms.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useWms.js">
1700
1633
  <metrics statements="35" coveredstatements="0" conditionals="8" coveredconditionals="0" methods="7" coveredmethods="0"/>
@@ -1735,16 +1668,5 @@
1735
1668
  <line num="82" count="0" type="stmt"/>
1736
1669
  </file>
1737
1670
  </package>
1738
- <package name="src.translations">
1739
- <metrics statements="2" coveredstatements="0" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
1740
- <file name="english.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/translations/english.js">
1741
- <metrics statements="1" coveredstatements="0" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
1742
- <line num="1" count="0" type="stmt"/>
1743
- </file>
1744
- <file name="german.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/translations/german.js">
1745
- <metrics statements="1" coveredstatements="0" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
1746
- <line num="1" count="0" type="stmt"/>
1747
- </file>
1748
- </package>
1749
1671
  </project>
1750
1672
  </coverage>