@mapcomponents/react-maplibre 0.1.67 → 0.1.69

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 (259) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/coverage/clover.xml +172 -174
  3. package/coverage/coverage-final.json +7 -7
  4. package/coverage/lcov-report/index.html +38 -38
  5. package/coverage/lcov-report/src/components/MapLibreMap/MapLibreMap.tsx.html +43 -25
  6. package/coverage/lcov-report/src/components/MapLibreMap/index.html +10 -10
  7. package/coverage/lcov-report/src/components/MlCenterPosition/MlCenterPosition.tsx.html +30 -51
  8. package/coverage/lcov-report/src/components/MlCenterPosition/index.html +3 -3
  9. package/coverage/lcov-report/src/components/MlCreatePdfButton/MlCreatePdfButton.tsx.html +1 -1
  10. package/coverage/lcov-report/src/components/MlCreatePdfButton/index.html +1 -1
  11. package/coverage/lcov-report/src/components/MlCreatePdfForm/MlCreatePdfForm.cy.tsx.html +1 -1
  12. package/coverage/lcov-report/src/components/MlCreatePdfForm/MlCreatePdfForm.tsx.html +1 -1
  13. package/coverage/lcov-report/src/components/MlCreatePdfForm/index.html +1 -1
  14. package/coverage/lcov-report/src/components/MlFeatureEditor/MlFeatureEditor.tsx.html +1 -1
  15. package/coverage/lcov-report/src/components/MlFeatureEditor/index.html +1 -1
  16. package/coverage/lcov-report/src/components/MlFillExtrusionLayer/MlFillExtrusionLayer.tsx.html +1 -1
  17. package/coverage/lcov-report/src/components/MlFillExtrusionLayer/index.html +1 -1
  18. package/coverage/lcov-report/src/components/MlFollowGps/MlFollowGps.tsx.html +41 -98
  19. package/coverage/lcov-report/src/components/MlFollowGps/index.html +15 -15
  20. package/coverage/lcov-report/src/components/MlGeoJsonLayer/MlGeoJsonLayer.tsx.html +2 -2
  21. package/coverage/lcov-report/src/components/MlGeoJsonLayer/index.html +1 -1
  22. package/coverage/lcov-report/src/components/MlGeoJsonLayer/story_utils/MlGeoJsonLayer.lineStyler.js.html +1 -1
  23. package/coverage/lcov-report/src/components/MlGeoJsonLayer/story_utils/MlGeoJsonLayer.polygonStyler.js.html +1 -1
  24. package/coverage/lcov-report/src/components/MlGeoJsonLayer/story_utils/MlGeojsonLayerCircleStyler.tsx.html +1 -1
  25. package/coverage/lcov-report/src/components/MlGeoJsonLayer/story_utils/MlGeojsonLayerHeatMapStyler.tsx.html +1 -1
  26. package/coverage/lcov-report/src/components/MlGeoJsonLayer/story_utils/index.html +1 -1
  27. package/coverage/lcov-report/src/components/MlGeojsonLayerWithSource/MlGeojsonLayerWithSource.tsx.html +1 -1
  28. package/coverage/lcov-report/src/components/MlGeojsonLayerWithSource/index.html +1 -1
  29. package/coverage/lcov-report/src/components/MlGpxViewer/MlGpxViewer.tsx.html +1 -1
  30. package/coverage/lcov-report/src/components/MlGpxViewer/index.html +1 -1
  31. package/coverage/lcov-report/src/components/MlImageMarkerLayer/MlImageMarkerLayer.tsx.html +1 -1
  32. package/coverage/lcov-report/src/components/MlImageMarkerLayer/index.html +1 -1
  33. package/coverage/lcov-report/src/components/MlLayer/MlLayer.tsx.html +1 -1
  34. package/coverage/lcov-report/src/components/MlLayer/index.html +1 -1
  35. package/coverage/lcov-report/src/components/MlLayerMagnify/MlLayerMagnify.tsx.html +1 -1
  36. package/coverage/lcov-report/src/components/MlLayerMagnify/index.html +1 -1
  37. package/coverage/lcov-report/src/components/MlLayerSwipe/MlLayerSwipe.tsx.html +1 -1
  38. package/coverage/lcov-report/src/components/MlLayerSwipe/index.html +1 -1
  39. package/coverage/lcov-report/src/components/MlLayerSwitcher/MlLayerSwitcher.js.html +1 -1
  40. package/coverage/lcov-report/src/components/MlLayerSwitcher/components/LayerBox.js.html +1 -1
  41. package/coverage/lcov-report/src/components/MlLayerSwitcher/components/index.html +1 -1
  42. package/coverage/lcov-report/src/components/MlLayerSwitcher/index.html +1 -1
  43. package/coverage/lcov-report/src/components/MlMarker/MlMarker.tsx.html +1 -1
  44. package/coverage/lcov-report/src/components/MlMarker/index.html +1 -1
  45. package/coverage/lcov-report/src/components/MlMeasureTool/MlMeasureTool.tsx.html +1 -1
  46. package/coverage/lcov-report/src/components/MlMeasureTool/index.html +1 -1
  47. package/coverage/lcov-report/src/components/MlNavigationCompass/MlNavigationCompass.tsx.html +1 -1
  48. package/coverage/lcov-report/src/components/MlNavigationCompass/index.html +1 -1
  49. package/coverage/lcov-report/src/components/MlNavigationTools/MlNavigationTools.tsx.html +41 -113
  50. package/coverage/lcov-report/src/components/MlNavigationTools/index.html +15 -15
  51. package/coverage/lcov-report/src/components/MlOsmLayer/MlOsmLayer.js.html +1 -1
  52. package/coverage/lcov-report/src/components/MlOsmLayer/MlOsmLayer.stories_.js.html +1 -1
  53. package/coverage/lcov-report/src/components/MlOsmLayer/index.html +1 -1
  54. package/coverage/lcov-report/src/components/MlScaleReference/MlScaleReference.tsx.html +1 -1
  55. package/coverage/lcov-report/src/components/MlScaleReference/index.html +1 -1
  56. package/coverage/lcov-report/src/components/MlShareMapState/MlShareMapState.tsx.html +1 -1
  57. package/coverage/lcov-report/src/components/MlShareMapState/index.html +1 -1
  58. package/coverage/lcov-report/src/components/MlSketchTool/LayerList/ColorPicker.tsx.html +1 -1
  59. package/coverage/lcov-report/src/components/MlSketchTool/LayerList/LayerList.tsx.html +1 -1
  60. package/coverage/lcov-report/src/components/MlSketchTool/LayerList/LayerListItem.tsx.html +1 -1
  61. package/coverage/lcov-report/src/components/MlSketchTool/LayerList/LayerPropertyForm.tsx.html +2 -2
  62. package/coverage/lcov-report/src/components/MlSketchTool/LayerList/index.html +1 -1
  63. package/coverage/lcov-report/src/components/MlSketchTool/MlSketchTool.tsx.html +2 -2
  64. package/coverage/lcov-report/src/components/MlSketchTool/index.html +1 -1
  65. package/coverage/lcov-report/src/components/MlSpatialElevationProfile/MlSpatialElevationProfile.tsx.html +1 -1
  66. package/coverage/lcov-report/src/components/MlSpatialElevationProfile/index.html +1 -1
  67. package/coverage/lcov-report/src/components/MlThreeJsLayer/MlThreeJsLayer.js.html +1 -1
  68. package/coverage/lcov-report/src/components/MlThreeJsLayer/MlThreejsLayer.tsx.html +1 -1
  69. package/coverage/lcov-report/src/components/MlThreeJsLayer/index.html +1 -1
  70. package/coverage/lcov-report/src/components/MlTransitionGeoJsonLayer/MlTransitionGeoJsonLayer.tsx.html +1 -1
  71. package/coverage/lcov-report/src/components/MlTransitionGeoJsonLayer/index.html +1 -1
  72. package/coverage/lcov-report/src/components/MlUseMapDebugger/MlUseMapDebugger.js.html +1 -1
  73. package/coverage/lcov-report/src/components/MlUseMapDebugger/index.html +1 -1
  74. package/coverage/lcov-report/src/components/MlVectorTileLayer/MlVectorTileLayer.tsx.html +22 -10
  75. package/coverage/lcov-report/src/components/MlVectorTileLayer/index.html +13 -13
  76. package/coverage/lcov-report/src/components/MlWmsFeatureInfoPopup/MlWmsFeatureInfoPopup.js.html +1 -1
  77. package/coverage/lcov-report/src/components/MlWmsFeatureInfoPopup/index.html +1 -1
  78. package/coverage/lcov-report/src/components/MlWmsLayer/MlWmsLayer.tsx.html +1 -1
  79. package/coverage/lcov-report/src/components/MlWmsLayer/index.html +1 -1
  80. package/coverage/lcov-report/src/components/MlWmsLoader/MlWmsLoader.tsx.html +1 -1
  81. package/coverage/lcov-report/src/components/MlWmsLoader/index.html +1 -1
  82. package/coverage/lcov-report/src/contexts/MapContext.tsx.html +24 -3
  83. package/coverage/lcov-report/src/contexts/SimpleDataContext.js.html +1 -1
  84. package/coverage/lcov-report/src/contexts/SimpleDataProvider.js.html +1 -1
  85. package/coverage/lcov-report/src/contexts/index.html +1 -1
  86. package/coverage/lcov-report/src/hooks/index.html +1 -1
  87. package/coverage/lcov-report/src/hooks/useCameraFollowPath/index.html +1 -1
  88. package/coverage/lcov-report/src/hooks/useCameraFollowPath/useCameraFollowPath.tsx.html +1 -1
  89. package/coverage/lcov-report/src/hooks/useExportMap/index.html +1 -1
  90. package/coverage/lcov-report/src/hooks/useExportMap/index.ts.html +1 -1
  91. package/coverage/lcov-report/src/hooks/useExportMap/lib.ts.html +2 -2
  92. package/coverage/lcov-report/src/hooks/useGpx/index.html +1 -1
  93. package/coverage/lcov-report/src/hooks/useGpx/useGpx.tsx.html +1 -1
  94. package/coverage/lcov-report/src/hooks/useLayer.ts.html +1 -1
  95. package/coverage/lcov-report/src/hooks/useLayerEvent.js.html +1 -1
  96. package/coverage/lcov-report/src/hooks/useLayerFilter/index.html +1 -1
  97. package/coverage/lcov-report/src/hooks/useLayerFilter/useLayerFilter.ts.html +1 -1
  98. package/coverage/lcov-report/src/hooks/useLayerHoverPopup/index.html +1 -1
  99. package/coverage/lcov-report/src/hooks/useLayerHoverPopup/useLayerHoverPopup.tsx.html +1 -1
  100. package/coverage/lcov-report/src/hooks/useMap.ts.html +1 -1
  101. package/coverage/lcov-report/src/hooks/useMapState.ts.html +1 -1
  102. package/coverage/lcov-report/src/hooks/useSource.ts.html +1 -1
  103. package/coverage/lcov-report/src/hooks/useWms.ts.html +1 -1
  104. package/coverage/lcov-report/src/index.html +1 -1
  105. package/coverage/lcov-report/src/index.ts.html +27 -3
  106. package/coverage/lcov.info +326 -342
  107. package/dist/components/MapLibreMap/MapLibreMap.d.ts +3 -3
  108. package/dist/components/MapLibreMap/MapLibreMap.stories.d.ts +2 -0
  109. package/dist/components/MapLibreMap/lib/MapLibreGlWrapper.d.ts +1 -1
  110. package/dist/components/MlCenterPosition/MlCenterPosition.d.ts +2 -15
  111. package/dist/components/MlCenterPosition/MlCenterPosition.stories.d.ts +1 -14
  112. package/dist/components/MlComponentTemplate/MlComponentTemplate.d.ts +1 -0
  113. package/dist/components/MlComponentTemplate/MlComponentTemplate.stories.d.ts +1 -0
  114. package/dist/components/MlCreatePdfButton/MlCreatePdfButton.d.ts +1 -0
  115. package/dist/components/MlCreatePdfButton/MlCreatePdfButton.stories.d.ts +1 -0
  116. package/dist/components/MlCreatePdfForm/MlCreatePdfForm.d.ts +1 -0
  117. package/dist/components/MlCreatePdfForm/MlCreatePdfForm.stories.d.ts +1 -0
  118. package/dist/components/MlCreatePdfForm/lib/PdfForm.d.ts +1 -0
  119. package/dist/components/MlCreatePdfForm/lib/_PdfPreview.d.ts +1 -0
  120. package/dist/components/MlFeatureEditor/MlFeatureEditor.d.ts +1 -0
  121. package/dist/components/MlFillExtrusionLayer/MlFillExtrusionLayer.d.ts +1 -0
  122. package/dist/components/MlFollowGps/MlFollowGps.d.ts +5 -23
  123. package/dist/components/MlFollowGps/MlFollowGps.stories.d.ts +2 -2
  124. package/dist/components/MlGeoJsonLayer/MlGeoJsonLayer.d.ts +1 -0
  125. package/dist/components/MlGeoJsonLayer/MlGeoJsonLayer.stories.d.ts +1 -0
  126. package/dist/components/MlGeoJsonLayer/story_utils/MlGeojsonLayerCircleStyler.d.ts +1 -0
  127. package/dist/components/MlGeoJsonLayer/story_utils/MlGeojsonLayerHeatMapStyler.d.ts +1 -0
  128. package/dist/components/MlGeoJsonLayer/util/getDefaultPaintPropsByType.d.ts +4 -1
  129. package/dist/components/MlGeojsonLayerWithSource/MlGeojsonLayerWithSource.d.ts +1 -0
  130. package/dist/components/MlGeojsonLayerWithSource/MlGeojsonLayerWithSource.stories.d.ts +1 -0
  131. package/dist/components/MlGpxViewer/MlGpxViewer.d.ts +1 -0
  132. package/dist/components/MlGpxViewer/MlGpxViewer.stories.d.ts +1 -0
  133. package/dist/components/MlGpxViewer/util/GeoJsonProvider.d.ts +1 -0
  134. package/dist/components/MlGpxViewer/util/MetadataDrawer.d.ts +1 -0
  135. package/dist/components/MlGpxViewer/util/MlGpxDemoLoader.d.ts +1 -0
  136. package/dist/components/MlGpxViewer/util/MlGpxViewerInstructions.d.ts +1 -0
  137. package/dist/components/MlImageMarkerLayer/MlImageMarkerLayer.d.ts +1 -0
  138. package/dist/components/MlImageMarkerLayer/MlImageMarkerLayer.stories.d.ts +1 -0
  139. package/dist/components/MlLayer/MlLayer.d.ts +1 -0
  140. package/dist/components/MlLayerMagnify/MlLayerMagnify.stories.d.ts +1 -0
  141. package/dist/components/MlLayerSwipe/MlLayerSwipe.stories.d.ts +1 -0
  142. package/dist/components/MlMarker/MlMarker.d.ts +1 -0
  143. package/dist/components/MlMeasureTool/MlMeasureTool.d.ts +1 -0
  144. package/dist/components/MlNavigationCompass/MlNavigationCompass.d.ts +1 -0
  145. package/dist/components/MlNavigationTools/MlNavigationTools.d.ts +5 -0
  146. package/dist/components/MlScaleReference/MlScaleReference.d.ts +1 -0
  147. package/dist/components/MlShareMapState/MlShareMapState.d.ts +1 -0
  148. package/dist/components/MlShareMapState/MlShareMapState.stories.d.ts +1 -0
  149. package/dist/components/MlSketchTool/LayerList/ColorPicker.d.ts +1 -0
  150. package/dist/components/MlSketchTool/LayerList/LayerList.d.ts +1 -0
  151. package/dist/components/MlSketchTool/LayerList/LayerListItem.d.ts +1 -0
  152. package/dist/components/MlSketchTool/LayerList/LayerPropertyForm.d.ts +1 -0
  153. package/dist/components/MlSketchTool/MlSketchTool.d.ts +1 -0
  154. package/dist/components/MlSketchTool/MlSketchTool.stories.d.ts +1 -0
  155. package/dist/components/MlSpatialElevationProfile/MlSpatialElevationProfile.d.ts +1 -0
  156. package/dist/components/MlSpatialElevationProfile/MlSpatialElevationProfile.stories.d.ts +1 -0
  157. package/dist/components/MlThreeJsLayer/MlThreeJsLayer.stories.d.ts +1 -0
  158. package/dist/components/MlThreeJsLayer/MlThreejsLayer.d.ts +1 -0
  159. package/dist/components/MlTransitionGeoJsonLayer/MlTransitionGeoJsonLayer.d.ts +1 -0
  160. package/dist/components/MlVectorTileLayer/MlVectorTileLayer.d.ts +3 -2
  161. package/dist/components/MlWmsFeatureInfoPopup/MlWmsFeatureInfoPopup.stories.d.ts +1 -0
  162. package/dist/components/MlWmsLayer/MlWmsLayer.d.ts +1 -0
  163. package/dist/components/MlWmsLoader/MlWmsLoader.d.ts +1 -0
  164. package/dist/components/MlWmsLoader/MlWmsLoader.stories.d.ts +1 -0
  165. package/dist/components/MlWmsLoader/utils/MlWmsLoaderInstructions.d.ts +1 -0
  166. package/dist/components/MlWmsLoader/utils/WMSLinks.d.ts +1 -0
  167. package/dist/decorators/EmptyMapDecorator.d.ts +2 -0
  168. package/dist/decorators/ThemeDecorator.d.ts +2 -0
  169. package/dist/hooks/useCameraFollowPath/useCameraFollowPath.stories.d.ts +1 -0
  170. package/dist/hooks/useExportMap/lib.d.ts +1 -1
  171. package/dist/hooks/useLayerFilter/useLayerFilter.stories.d.ts +1 -0
  172. package/dist/hooks/useLayerHoverPopup/useLayerHoverPopup.d.ts +1 -0
  173. package/dist/index.d.ts +7 -0
  174. package/dist/index.esm.css +0 -97
  175. package/dist/index.esm.js +5495 -14503
  176. package/dist/index.esm.js.map +1 -1
  177. package/dist/ui_components/Dropzone.d.ts +1 -0
  178. package/dist/ui_components/ImageLoader.d.ts +1 -0
  179. package/dist/ui_components/LayerList/LayerList.d.ts +6 -0
  180. package/dist/ui_components/LayerList/LayerList.stories.d.ts +12 -0
  181. package/dist/ui_components/LayerList/LayerListFolder.d.ts +9 -0
  182. package/dist/ui_components/LayerList/LayerListItem.d.ts +18 -0
  183. package/dist/ui_components/LayerList/util/LayerListItemVectorLayer.d.ts +15 -0
  184. package/dist/ui_components/LayerList/util/LayerPropertyForm.d.ts +10 -0
  185. package/dist/ui_components/LayerList/util/input/ColorPicker.d.ts +10 -0
  186. package/dist/ui_components/LoadingOverlayContext.d.ts +0 -1
  187. package/dist/ui_components/MapcomponentsTheme.d.ts +7 -0
  188. package/dist/ui_components/Tooltip.d.ts +1 -0
  189. package/dist/ui_components/TopToolbar.d.ts +1 -0
  190. package/dist/ui_components/UploadButton.d.ts +1 -0
  191. package/dist/util/Instructions.d.ts +1 -0
  192. package/package.json +20 -24
  193. package/rollup.config.js +61 -44
  194. package/src/@types/assets/index.d.ts +1 -1
  195. package/src/App.css +0 -55
  196. package/src/components/MapLibreMap/MapLibreMap.stories.js +36 -37
  197. package/src/components/MapLibreMap/MapLibreMap.tsx +23 -17
  198. package/src/components/MapLibreMap/lib/MapLibreGlWrapper.ts +1 -1
  199. package/src/components/MlCenterPosition/MlCenterPosition.tsx +22 -29
  200. package/src/components/MlCreatePdfForm/lib/PdfForm.tsx +6 -6
  201. package/src/components/MlFollowGps/MlFollowGps.stories.js +28 -10
  202. package/src/components/MlFollowGps/MlFollowGps.tsx +31 -50
  203. package/src/components/MlGeoJsonLayer/MlGeoJsonLayer.tsx +1 -1
  204. package/src/components/MlGeoJsonLayer/util/getDefaultPaintPropsByType.ts +16 -10
  205. package/src/components/MlGpxViewer/MlGpxViewer.stories.tsx +4 -13
  206. package/src/components/MlGpxViewer/util/MlGpxDemoLoader.tsx +3 -1
  207. package/src/components/MlNavigationTools/MlNavigationTools.stories.js +4 -5
  208. package/src/components/MlNavigationTools/MlNavigationTools.tsx +30 -54
  209. package/src/components/MlSketchTool/LayerList/LayerPropertyForm.tsx +1 -1
  210. package/src/components/MlSketchTool/MlSketchTool.tsx +1 -1
  211. package/src/components/MlVectorTileLayer/MlVectorTileLayer.tsx +7 -3
  212. package/src/components/MlWmsLoader/MlWmsLoader.stories.tsx +3 -11
  213. package/src/components/MlWmsLoader/utils/MlWmsLoaderInstructions.tsx +2 -2
  214. package/src/components/MlWmsLoader/utils/WMSLinks.tsx +1 -1
  215. package/src/contexts/MapContext.tsx +8 -1
  216. package/src/custom.d.ts +4 -5
  217. package/src/decorators/EmptyMapDecorator.js +38 -0
  218. package/src/decorators/MapContextDecorator.js +10 -16
  219. package/src/decorators/MapContextDecoratorHooks.js +25 -30
  220. package/src/decorators/MultiMapContextDecorator.js +8 -18
  221. package/src/decorators/NoNavToolsDecorator.js +8 -15
  222. package/src/decorators/ThemeDecorator.js +24 -0
  223. package/src/decorators/style.css +0 -2
  224. package/src/hooks/useCameraFollowPath/useCameraFollowPath.stories.tsx +13 -19
  225. package/src/hooks/useExportMap/lib.ts +1 -1
  226. package/src/hooks/useGpx/useGpx.stories.js +1 -1
  227. package/src/hooks/useLayerHoverPopup/useLayerHoverPopup.stories.js +1 -1
  228. package/src/hooks/useMapState.stories.js +1 -1
  229. package/src/hooks/useSources.stories.js +1 -1
  230. package/src/index.ts +9 -0
  231. package/src/ui_components/LayerList/LayerList.stories.tsx +136 -0
  232. package/src/ui_components/LayerList/LayerList.tsx +12 -0
  233. package/src/ui_components/LayerList/LayerListFolder.tsx +82 -0
  234. package/src/ui_components/LayerList/LayerListItem.tsx +180 -0
  235. package/src/ui_components/LayerList/assets/sample_1.json +26 -0
  236. package/src/ui_components/LayerList/assets/sample_2.json +22 -0
  237. package/src/ui_components/LayerList/assets/sample_polygon_1.json +33 -0
  238. package/src/ui_components/LayerList/assets/style.json +2599 -0
  239. package/src/ui_components/LayerList/util/LayerListItemVectorLayer.tsx +92 -0
  240. package/src/ui_components/LayerList/util/LayerPropertyForm.tsx +125 -0
  241. package/src/ui_components/LayerList/util/input/ColorPicker.tsx +44 -0
  242. package/src/ui_components/MapcomponentsTheme.tsx +133 -0
  243. package/src/ui_components/Sidebar.tsx +16 -11
  244. package/src/ui_components/TopToolbar.tsx +1 -3
  245. package/src/util/BubbleForInstructions.js +14 -12
  246. package/tsconfig.json +3 -10
  247. package/dist/components/MlGPXViewer/MlGPXViewer.d.ts +0 -29
  248. package/dist/components/MlGPXViewer/MlGPXViewer.stories.d.ts +0 -16
  249. package/dist/components/MlGPXViewer/MlGPXViewer.test.d.ts +0 -1
  250. package/dist/components/MlGPXViewer/gpxConverter.d.ts +0 -11
  251. package/dist/components/MlGPXViewer/util/GeoJsonContext.d.ts +0 -10
  252. package/dist/components/MlGPXViewer/util/GeoJsonProvider.d.ts +0 -4
  253. package/dist/components/MlLayer/MlLayer.stories.d.ts +0 -10
  254. package/dist/custom.d.d.ts +0 -22
  255. package/dist/decorators/ThemeWrapper.d.ts +0 -1
  256. package/dist/hooks/exportMap/index.d.ts +0 -11
  257. package/dist/hooks/exportMap/lib.d.ts +0 -36
  258. package/dist/ui_components/Legend.d.ts +0 -1
  259. package/dist/ui_components/LoadingOverlay.d.ts +0 -2
package/CHANGELOG.md CHANGED
@@ -1,6 +1,15 @@
1
1
  # Change Log
2
2
 
3
3
 
4
+ ## [v0.1.68] - 2023-02-07
5
+
6
+ ### Added
7
+ - 3a2d4a0: add experimental LayerList component and stories
8
+ - a0a01ff: add MUI theme & export getTheme function
9
+
10
+ ### Changed
11
+ - 3a7b87b: fix maplibre-gl imports remove ! in front of the module name (webpack exclude) to improve compatibility with dev environments using rollup
12
+
4
13
  ## [v0.1.67] - 2023-01-30
5
14
 
6
15
  ### Changed
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1675068114996" clover="3.2.0">
3
- <project timestamp="1675068114996" name="All files">
4
- <metrics statements="1711" coveredstatements="670" conditionals="1015" coveredconditionals="337" methods="373" coveredmethods="119" elements="3099" coveredelements="1126" complexity="0" loc="1711" ncloc="1711" packages="42" files="59" classes="59"/>
2
+ <coverage generated="1675764038419" clover="3.2.0">
3
+ <project timestamp="1675764038419" name="All files">
4
+ <metrics statements="1709" coveredstatements="671" conditionals="1005" coveredconditionals="336" methods="371" coveredmethods="119" elements="3085" coveredelements="1126" complexity="0" loc="1709" ncloc="1709" packages="42" files="59" classes="59"/>
5
5
  <package name="src">
6
6
  <metrics statements="0" coveredstatements="0" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
7
7
  <file name="index.ts" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/index.ts">
@@ -9,26 +9,25 @@
9
9
  </file>
10
10
  </package>
11
11
  <package name="src.components.MapLibreMap">
12
- <metrics statements="31" coveredstatements="28" conditionals="13" coveredconditionals="9" methods="7" coveredmethods="7"/>
12
+ <metrics statements="30" coveredstatements="27" conditionals="13" coveredconditionals="9" methods="7" coveredmethods="7"/>
13
13
  <file name="MapLibreMap.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MapLibreMap/MapLibreMap.tsx">
14
- <metrics statements="31" coveredstatements="28" conditionals="13" coveredconditionals="9" methods="7" coveredmethods="7"/>
14
+ <metrics statements="30" coveredstatements="27" conditionals="13" coveredconditionals="9" methods="7" coveredmethods="7"/>
15
15
  <line num="26" count="20" type="stmt"/>
16
- <line num="61" count="20" type="stmt"/>
17
- <line num="62" count="273" type="stmt"/>
18
- <line num="63" count="273" type="stmt"/>
16
+ <line num="63" count="20" type="stmt"/>
17
+ <line num="64" count="273" type="stmt"/>
19
18
  <line num="65" count="273" type="stmt"/>
20
19
  <line num="67" count="273" type="stmt"/>
21
- <line num="68" count="273" type="stmt"/>
22
20
  <line num="69" count="273" type="stmt"/>
21
+ <line num="70" count="273" type="stmt"/>
23
22
  <line num="71" count="273" type="stmt"/>
24
- <line num="72" count="83" type="stmt"/>
23
+ <line num="73" count="273" type="stmt"/>
25
24
  <line num="74" count="83" type="stmt"/>
26
- <line num="75" count="2" type="stmt"/>
27
- <line num="76" count="2" type="stmt"/>
25
+ <line num="76" count="83" type="stmt"/>
28
26
  <line num="77" count="2" type="stmt"/>
29
- <line num="81" count="273" type="stmt"/>
30
- <line num="82" count="83" type="cond" truecount="1" falsecount="1"/>
31
- <line num="84" count="83" type="stmt"/>
27
+ <line num="78" count="2" type="stmt"/>
28
+ <line num="79" count="2" type="stmt"/>
29
+ <line num="83" count="273" type="stmt"/>
30
+ <line num="84" count="83" type="cond" truecount="1" falsecount="1"/>
32
31
  <line num="86" count="83" type="cond" truecount="1" falsecount="1"/>
33
32
  <line num="87" count="83" type="stmt"/>
34
33
  <line num="88" count="83" type="stmt"/>
@@ -42,25 +41,25 @@
42
41
  <line num="111" count="0" type="stmt"/>
43
42
  <line num="112" count="0" type="stmt"/>
44
43
  <line num="116" count="273" type="stmt"/>
45
- <line num="119" count="20" type="stmt"/>
44
+ <line num="125" count="20" type="stmt"/>
46
45
  </file>
47
46
  </package>
48
47
  <package name="src.components.MlCenterPosition">
49
- <metrics statements="12" coveredstatements="2" conditionals="4" coveredconditionals="0" methods="4" coveredmethods="0"/>
48
+ <metrics statements="12" coveredstatements="2" conditionals="2" coveredconditionals="0" methods="4" coveredmethods="0"/>
50
49
  <file name="MlCenterPosition.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlCenterPosition/MlCenterPosition.tsx">
51
- <metrics statements="12" coveredstatements="2" conditionals="4" coveredconditionals="0" methods="4" coveredmethods="0"/>
50
+ <metrics statements="12" coveredstatements="2" conditionals="2" coveredconditionals="0" methods="4" coveredmethods="0"/>
52
51
  <line num="34" count="10" type="stmt"/>
53
52
  <line num="35" count="0" type="stmt"/>
54
- <line num="39" count="0" type="stmt"/>
55
- <line num="41" count="0" type="stmt"/>
53
+ <line num="40" count="0" type="stmt"/>
56
54
  <line num="42" count="0" type="stmt"/>
57
- <line num="45" count="0" type="stmt"/>
55
+ <line num="43" count="0" type="stmt"/>
58
56
  <line num="46" count="0" type="stmt"/>
59
- <line num="49" count="0" type="stmt"/>
60
- <line num="50" count="0" type="stmt"/>
61
- <line num="51" count="0" type="stmt"/>
57
+ <line num="48" count="0" type="stmt"/>
62
58
  <line num="53" count="0" type="stmt"/>
63
- <line num="67" count="10" type="stmt"/>
59
+ <line num="54" count="0" type="stmt"/>
60
+ <line num="55" count="0" type="stmt"/>
61
+ <line num="57" count="0" type="stmt"/>
62
+ <line num="74" count="10" type="stmt"/>
64
63
  </file>
65
64
  </package>
66
65
  <package name="src.components.MlCreatePdfButton">
@@ -151,63 +150,64 @@
151
150
  </file>
152
151
  </package>
153
152
  <package name="src.components.MlFollowGps">
154
- <metrics statements="54" coveredstatements="32" conditionals="32" coveredconditionals="16" methods="10" coveredmethods="7"/>
153
+ <metrics statements="55" coveredstatements="32" conditionals="32" coveredconditionals="15" methods="10" coveredmethods="7"/>
155
154
  <file name="MlFollowGps.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlFollowGps/MlFollowGps.tsx">
156
- <metrics statements="54" coveredstatements="32" conditionals="32" coveredconditionals="16" methods="10" coveredmethods="7"/>
157
- <line num="82" count="11" type="stmt"/>
158
- <line num="83" count="9" type="stmt"/>
155
+ <metrics statements="55" coveredstatements="32" conditionals="32" coveredconditionals="15" methods="10" coveredmethods="7"/>
156
+ <line num="78" count="11" type="stmt"/>
157
+ <line num="79" count="9" type="stmt"/>
158
+ <line num="84" count="9" type="stmt"/>
159
+ <line num="85" count="9" type="stmt"/>
160
+ <line num="86" count="9" type="stmt"/>
161
+ <line num="87" count="9" type="stmt"/>
159
162
  <line num="88" count="9" type="stmt"/>
160
163
  <line num="89" count="9" type="stmt"/>
161
- <line num="90" count="9" type="stmt"/>
162
164
  <line num="91" count="9" type="stmt"/>
163
- <line num="92" count="9" type="stmt"/>
164
- <line num="93" count="9" type="stmt"/>
165
- <line num="95" count="9" type="stmt"/>
166
- <line num="97" count="0" type="cond" truecount="0" falsecount="2"/>
167
- <line num="99" count="0" type="cond" truecount="0" falsecount="5"/>
168
- <line num="100" count="0" type="cond" truecount="0" falsecount="2"/>
169
- <line num="101" count="0" type="stmt"/>
170
- <line num="108" count="0" type="stmt"/>
165
+ <line num="93" count="0" type="cond" truecount="0" falsecount="2"/>
166
+ <line num="95" count="0" type="cond" truecount="0" falsecount="5"/>
167
+ <line num="96" count="0" type="cond" truecount="0" falsecount="2"/>
168
+ <line num="97" count="0" type="stmt"/>
169
+ <line num="104" count="0" type="stmt"/>
170
+ <line num="107" count="0" type="stmt"/>
171
+ <line num="109" count="0" type="cond" truecount="0" falsecount="2"/>
172
+ <line num="110" count="0" type="stmt"/>
171
173
  <line num="111" count="0" type="stmt"/>
172
- <line num="113" count="0" type="cond" truecount="0" falsecount="2"/>
173
- <line num="114" count="0" type="stmt"/>
174
- <line num="115" count="0" type="stmt"/>
175
- <line num="116" count="0" type="stmt"/>
176
- <line num="121" count="9" type="stmt"/>
177
- <line num="122" count="0" type="stmt"/>
178
- <line num="123" count="0" type="stmt"/>
179
- <line num="126" count="9" type="stmt"/>
180
- <line num="127" count="2" type="cond" truecount="1" falsecount="1"/>
181
- <line num="128" count="2" type="stmt"/>
174
+ <line num="112" count="0" type="stmt"/>
175
+ <line num="117" count="9" type="stmt"/>
176
+ <line num="118" count="0" type="stmt"/>
177
+ <line num="119" count="0" type="stmt"/>
178
+ <line num="122" count="9" type="stmt"/>
179
+ <line num="123" count="2" type="cond" truecount="1" falsecount="1"/>
180
+ <line num="124" count="2" type="stmt"/>
181
+ <line num="126" count="0" type="stmt"/>
182
+ <line num="127" count="0" type="stmt"/>
183
+ <line num="128" count="0" type="stmt"/>
184
+ <line num="129" count="0" type="stmt"/>
182
185
  <line num="130" count="0" type="stmt"/>
183
186
  <line num="131" count="0" type="stmt"/>
184
187
  <line num="132" count="0" type="stmt"/>
185
188
  <line num="133" count="0" type="stmt"/>
186
189
  <line num="134" count="0" type="stmt"/>
187
- <line num="135" count="0" type="stmt"/>
188
- <line num="136" count="0" type="stmt"/>
189
- <line num="137" count="0" type="stmt"/>
190
- <line num="138" count="0" type="stmt"/>
191
- <line num="141" count="9" type="stmt"/>
192
- <line num="142" count="0" type="stmt"/>
193
- <line num="145" count="9" type="stmt"/>
194
- <line num="146" count="5" type="cond" truecount="2" falsecount="0"/>
190
+ <line num="137" count="9" type="stmt"/>
191
+ <line num="138" count="0" type="cond" truecount="0" falsecount="2"/>
192
+ <line num="139" count="0" type="stmt"/>
193
+ <line num="143" count="9" type="stmt"/>
194
+ <line num="144" count="5" type="cond" truecount="2" falsecount="0"/>
195
+ <line num="145" count="2" type="stmt"/>
196
+ <line num="146" count="2" type="stmt"/>
195
197
  <line num="147" count="2" type="stmt"/>
196
- <line num="148" count="2" type="stmt"/>
197
- <line num="149" count="2" type="stmt"/>
198
- <line num="150" count="1" type="stmt"/>
198
+ <line num="148" count="1" type="stmt"/>
199
+ <line num="151" count="3" type="stmt"/>
199
200
  <line num="153" count="3" type="stmt"/>
200
- <line num="155" count="3" type="stmt"/>
201
- <line num="158" count="9" type="stmt"/>
202
- <line num="159" count="7" type="cond" truecount="2" falsecount="0"/>
203
- <line num="161" count="5" type="cond" truecount="2" falsecount="0"/>
201
+ <line num="156" count="9" type="stmt"/>
202
+ <line num="157" count="7" type="cond" truecount="2" falsecount="0"/>
203
+ <line num="159" count="5" type="cond" truecount="2" falsecount="0"/>
204
+ <line num="160" count="2" type="stmt"/>
204
205
  <line num="162" count="2" type="stmt"/>
205
- <line num="164" count="2" type="stmt"/>
206
- <line num="165" count="1" type="stmt"/>
207
- <line num="168" count="3" type="stmt"/>
208
- <line num="171" count="9" type="stmt"/>
209
- <line num="223" count="3" type="stmt"/>
210
- <line num="235" count="11" type="stmt"/>
206
+ <line num="163" count="1" type="stmt"/>
207
+ <line num="166" count="3" type="stmt"/>
208
+ <line num="169" count="9" type="stmt"/>
209
+ <line num="221" count="3" type="stmt"/>
210
+ <line num="230" count="11" type="stmt"/>
211
211
  </file>
212
212
  </package>
213
213
  <package name="src.components.MlGeoJsonLayer">
@@ -666,39 +666,35 @@
666
666
  </file>
667
667
  </package>
668
668
  <package name="src.components.MlNavigationTools">
669
- <metrics statements="30" coveredstatements="2" conditionals="44" coveredconditionals="0" methods="8" coveredmethods="0"/>
669
+ <metrics statements="26" coveredstatements="2" conditionals="36" coveredconditionals="0" methods="6" coveredmethods="0"/>
670
670
  <file name="MlNavigationTools.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlNavigationTools/MlNavigationTools.tsx">
671
- <metrics statements="30" coveredstatements="2" conditionals="44" coveredconditionals="0" methods="8" coveredmethods="0"/>
672
- <line num="54" count="10" type="stmt"/>
673
- <line num="55" count="0" type="stmt"/>
671
+ <metrics statements="26" coveredstatements="2" conditionals="36" coveredconditionals="0" methods="6" coveredmethods="0"/>
672
+ <line num="59" count="10" type="stmt"/>
674
673
  <line num="60" count="0" type="stmt"/>
675
- <line num="61" count="0" type="stmt"/>
676
- <line num="62" count="0" type="stmt"/>
677
- <line num="78" count="0" type="stmt"/>
678
- <line num="82" count="0" type="stmt"/>
679
- <line num="83" count="0" type="cond" truecount="0" falsecount="2"/>
680
- <line num="85" count="0" type="stmt"/>
681
- <line num="88" count="0" type="cond" truecount="0" falsecount="2"/>
682
- <line num="90" count="0" type="stmt"/>
683
- <line num="94" count="0" type="stmt"/>
684
- <line num="97" count="0" type="stmt"/>
685
- <line num="98" count="0" type="cond" truecount="0" falsecount="2"/>
674
+ <line num="65" count="0" type="stmt"/>
675
+ <line num="66" count="0" type="stmt"/>
676
+ <line num="68" count="0" type="stmt"/>
677
+ <line num="69" count="0" type="cond" truecount="0" falsecount="2"/>
678
+ <line num="71" count="0" type="stmt"/>
679
+ <line num="74" count="0" type="cond" truecount="0" falsecount="2"/>
680
+ <line num="76" count="0" type="stmt"/>
681
+ <line num="80" count="0" type="stmt"/>
682
+ <line num="83" count="0" type="stmt"/>
683
+ <line num="84" count="0" type="cond" truecount="0" falsecount="2"/>
684
+ <line num="86" count="0" type="cond" truecount="0" falsecount="2"/>
685
+ <line num="87" count="0" type="stmt"/>
686
+ <line num="91" count="0" type="stmt"/>
687
+ <line num="92" count="0" type="cond" truecount="0" falsecount="2"/>
688
+ <line num="94" count="0" type="cond" truecount="0" falsecount="2"/>
689
+ <line num="95" count="0" type="stmt"/>
690
+ <line num="99" count="0" type="stmt"/>
686
691
  <line num="100" count="0" type="cond" truecount="0" falsecount="2"/>
687
- <line num="101" count="0" type="stmt"/>
688
- <line num="105" count="0" type="stmt"/>
689
- <line num="106" count="0" type="cond" truecount="0" falsecount="2"/>
690
- <line num="108" count="0" type="cond" truecount="0" falsecount="2"/>
692
+ <line num="102" count="0" type="stmt"/>
693
+ <line num="103" count="0" type="cond" truecount="0" falsecount="2"/>
694
+ <line num="104" count="0" type="stmt"/>
695
+ <line num="106" count="0" type="stmt"/>
691
696
  <line num="109" count="0" type="stmt"/>
692
- <line num="113" count="0" type="stmt"/>
693
- <line num="114" count="0" type="cond" truecount="0" falsecount="2"/>
694
- <line num="116" count="0" type="stmt"/>
695
- <line num="117" count="0" type="cond" truecount="0" falsecount="2"/>
696
- <line num="118" count="0" type="stmt"/>
697
- <line num="120" count="0" type="stmt"/>
698
- <line num="123" count="0" type="stmt"/>
699
- <line num="155" count="0" type="stmt"/>
700
- <line num="158" count="0" type="stmt"/>
701
- <line num="188" count="10" type="stmt"/>
697
+ <line num="164" count="10" type="stmt"/>
702
698
  </file>
703
699
  </package>
704
700
  <package name="src.components.MlOsmLayer">
@@ -1231,9 +1227,9 @@
1231
1227
  </file>
1232
1228
  </package>
1233
1229
  <package name="src.components.MlVectorTileLayer">
1234
- <metrics statements="46" coveredstatements="39" conditionals="34" coveredconditionals="22" methods="9" coveredmethods="8"/>
1230
+ <metrics statements="48" coveredstatements="41" conditionals="34" coveredconditionals="22" methods="9" coveredmethods="8"/>
1235
1231
  <file name="MlVectorTileLayer.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlVectorTileLayer/MlVectorTileLayer.tsx">
1236
- <metrics statements="46" coveredstatements="39" conditionals="34" coveredconditionals="22" methods="9" coveredmethods="8"/>
1232
+ <metrics statements="48" coveredstatements="41" conditionals="34" coveredconditionals="22" methods="9" coveredmethods="8"/>
1237
1233
  <line num="21" count="10" type="stmt"/>
1238
1234
  <line num="22" count="12" type="stmt"/>
1239
1235
  <line num="27" count="12" type="cond" truecount="2" falsecount="0"/>
@@ -1241,45 +1237,47 @@
1241
1237
  <line num="29" count="12" type="stmt"/>
1242
1238
  <line num="30" count="12" type="stmt"/>
1243
1239
  <line num="32" count="12" type="stmt"/>
1244
- <line num="33" count="12" type="cond" truecount="2" falsecount="0"/>
1245
- <line num="35" count="8" type="stmt"/>
1246
- <line num="37" count="8" type="cond" truecount="2" falsecount="0"/>
1247
- <line num="38" count="4" type="stmt"/>
1248
- <line num="42" count="8" type="stmt"/>
1249
- <line num="53" count="8" type="stmt"/>
1250
- <line num="54" count="8" type="cond" truecount="1" falsecount="1"/>
1251
- <line num="55" count="8" type="stmt"/>
1252
- <line num="73" count="8" type="stmt"/>
1253
- <line num="74" count="8" type="stmt"/>
1240
+ <line num="33" count="12" type="stmt"/>
1241
+ <line num="34" count="12" type="stmt"/>
1242
+ <line num="35" count="12" type="cond" truecount="2" falsecount="0"/>
1243
+ <line num="37" count="8" type="stmt"/>
1244
+ <line num="39" count="8" type="cond" truecount="2" falsecount="0"/>
1245
+ <line num="40" count="4" type="stmt"/>
1246
+ <line num="44" count="8" type="stmt"/>
1247
+ <line num="57" count="8" type="stmt"/>
1248
+ <line num="58" count="8" type="cond" truecount="1" falsecount="1"/>
1249
+ <line num="59" count="8" type="stmt"/>
1254
1250
  <line num="77" count="8" type="stmt"/>
1255
- <line num="80" count="0" type="cond" truecount="0" falsecount="4"/>
1256
- <line num="81" count="0" type="stmt"/>
1257
- <line num="82" count="0" type="stmt"/>
1258
- <line num="90" count="12" type="stmt"/>
1259
- <line num="91" count="4" type="cond" truecount="1" falsecount="1"/>
1260
- <line num="93" count="4" type="stmt"/>
1261
- <line num="94" count="4" type="cond" truecount="1" falsecount="1"/>
1251
+ <line num="78" count="8" type="stmt"/>
1252
+ <line num="81" count="8" type="stmt"/>
1253
+ <line num="84" count="0" type="cond" truecount="0" falsecount="4"/>
1254
+ <line num="85" count="0" type="stmt"/>
1255
+ <line num="86" count="0" type="stmt"/>
1256
+ <line num="94" count="12" type="stmt"/>
1262
1257
  <line num="95" count="4" type="cond" truecount="1" falsecount="1"/>
1263
1258
  <line num="97" count="4" type="stmt"/>
1259
+ <line num="98" count="4" type="cond" truecount="1" falsecount="1"/>
1264
1260
  <line num="99" count="4" type="cond" truecount="1" falsecount="1"/>
1265
- <line num="100" count="0" type="stmt"/>
1266
- <line num="101" count="0" type="stmt"/>
1267
- <line num="104" count="4" type="stmt"/>
1268
- <line num="107" count="4" type="stmt"/>
1269
- <line num="109" count="4" type="cond" truecount="1" falsecount="1"/>
1270
- <line num="110" count="0" type="stmt"/>
1271
- <line num="111" count="0" type="stmt"/>
1272
- <line num="114" count="4" type="stmt"/>
1273
- <line num="120" count="12" type="stmt"/>
1274
- <line num="121" count="8" type="cond" truecount="1" falsecount="1"/>
1275
- <line num="122" count="8" type="stmt"/>
1276
- <line num="126" count="12" type="stmt"/>
1277
- <line num="127" count="8" type="cond" truecount="4" falsecount="0"/>
1278
- <line num="128" count="4" type="stmt"/>
1279
- <line num="132" count="12" type="stmt"/>
1280
- <line num="133" count="8" type="cond" truecount="4" falsecount="0"/>
1281
- <line num="134" count="4" type="stmt"/>
1282
- <line num="137" count="12" type="stmt"/>
1261
+ <line num="101" count="4" type="stmt"/>
1262
+ <line num="103" count="4" type="cond" truecount="1" falsecount="1"/>
1263
+ <line num="104" count="0" type="stmt"/>
1264
+ <line num="105" count="0" type="stmt"/>
1265
+ <line num="108" count="4" type="stmt"/>
1266
+ <line num="111" count="4" type="stmt"/>
1267
+ <line num="113" count="4" type="cond" truecount="1" falsecount="1"/>
1268
+ <line num="114" count="0" type="stmt"/>
1269
+ <line num="115" count="0" type="stmt"/>
1270
+ <line num="118" count="4" type="stmt"/>
1271
+ <line num="124" count="12" type="stmt"/>
1272
+ <line num="125" count="8" type="cond" truecount="1" falsecount="1"/>
1273
+ <line num="126" count="8" type="stmt"/>
1274
+ <line num="130" count="12" type="stmt"/>
1275
+ <line num="131" count="8" type="cond" truecount="4" falsecount="0"/>
1276
+ <line num="132" count="4" type="stmt"/>
1277
+ <line num="136" count="12" type="stmt"/>
1278
+ <line num="137" count="8" type="cond" truecount="4" falsecount="0"/>
1279
+ <line num="138" count="4" type="stmt"/>
1280
+ <line num="141" count="12" type="stmt"/>
1283
1281
  </file>
1284
1282
  </package>
1285
1283
  <package name="src.components.MlWmsFeatureInfoPopup">
@@ -1472,48 +1470,48 @@
1472
1470
  <metrics statements="73" coveredstatements="71" conditionals="54" coveredconditionals="45" methods="10" coveredmethods="10"/>
1473
1471
  <file name="MapContext.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/contexts/MapContext.tsx">
1474
1472
  <metrics statements="42" coveredstatements="42" conditionals="34" coveredconditionals="31" methods="6" coveredmethods="6"/>
1475
- <line num="14" count="21" type="stmt"/>
1476
- <line num="23" count="21" type="stmt"/>
1477
- <line num="24" count="188" type="stmt"/>
1478
- <line num="25" count="188" type="stmt"/>
1479
- <line num="26" count="188" type="stmt"/>
1473
+ <line num="17" count="21" type="stmt"/>
1474
+ <line num="26" count="21" type="stmt"/>
1480
1475
  <line num="27" count="188" type="stmt"/>
1476
+ <line num="28" count="188" type="stmt"/>
1481
1477
  <line num="29" count="188" type="stmt"/>
1482
- <line num="30" count="8" type="cond" truecount="2" falsecount="0"/>
1483
- <line num="31" count="6" type="cond" truecount="1" falsecount="1"/>
1484
- <line num="32" count="6" type="stmt"/>
1485
- <line num="34" count="6" type="stmt"/>
1486
- <line num="35" count="6" type="cond" truecount="2" falsecount="0"/>
1487
- <line num="36" count="4" type="stmt"/>
1488
- <line num="38" count="6" type="stmt"/>
1489
- <line num="40" count="6" type="cond" truecount="4" falsecount="0"/>
1490
- <line num="41" count="3" type="stmt"/>
1491
- <line num="44" count="2" type="stmt"/>
1492
- <line num="45" count="2" type="stmt"/>
1493
- <line num="49" count="188" type="stmt"/>
1494
- <line num="50" count="81" type="stmt"/>
1495
- <line num="52" count="81" type="cond" truecount="1" falsecount="1"/>
1478
+ <line num="30" count="188" type="stmt"/>
1479
+ <line num="32" count="188" type="stmt"/>
1480
+ <line num="33" count="8" type="cond" truecount="2" falsecount="0"/>
1481
+ <line num="34" count="6" type="cond" truecount="1" falsecount="1"/>
1482
+ <line num="35" count="6" type="stmt"/>
1483
+ <line num="37" count="6" type="stmt"/>
1484
+ <line num="38" count="6" type="cond" truecount="2" falsecount="0"/>
1485
+ <line num="39" count="4" type="stmt"/>
1486
+ <line num="41" count="6" type="stmt"/>
1487
+ <line num="43" count="6" type="cond" truecount="4" falsecount="0"/>
1488
+ <line num="44" count="3" type="stmt"/>
1489
+ <line num="47" count="2" type="stmt"/>
1490
+ <line num="48" count="2" type="stmt"/>
1491
+ <line num="52" count="188" type="stmt"/>
1496
1492
  <line num="53" count="81" type="stmt"/>
1497
- <line num="54" count="81" type="stmt"/>
1498
- <line num="55" count="81" type="stmt"/>
1499
- <line num="59" count="188" type="stmt"/>
1500
- <line num="65" count="13" type="cond" truecount="3" falsecount="1"/>
1501
- <line num="66" count="13" type="stmt"/>
1502
- <line num="67" count="13" type="stmt"/>
1503
- <line num="68" count="13" type="stmt"/>
1504
- <line num="70" count="13" type="cond" truecount="2" falsecount="0"/>
1505
- <line num="71" count="11" type="stmt"/>
1506
- <line num="77" count="889" type="cond" truecount="4" falsecount="0"/>
1507
- <line num="78" count="76" type="stmt"/>
1508
- <line num="79" count="813" type="cond" truecount="4" falsecount="0"/>
1509
- <line num="80" count="217" type="stmt"/>
1510
- <line num="82" count="596" type="stmt"/>
1511
- <line num="85" count="258" type="cond" truecount="4" falsecount="0"/>
1512
- <line num="86" count="27" type="stmt"/>
1513
- <line num="87" count="231" type="cond" truecount="4" falsecount="0"/>
1514
- <line num="88" count="214" type="stmt"/>
1515
- <line num="91" count="17" type="stmt"/>
1516
- <line num="95" count="188" type="stmt"/>
1493
+ <line num="55" count="81" type="cond" truecount="1" falsecount="1"/>
1494
+ <line num="56" count="81" type="stmt"/>
1495
+ <line num="57" count="81" type="stmt"/>
1496
+ <line num="58" count="81" type="stmt"/>
1497
+ <line num="62" count="188" type="stmt"/>
1498
+ <line num="68" count="13" type="cond" truecount="3" falsecount="1"/>
1499
+ <line num="69" count="13" type="stmt"/>
1500
+ <line num="70" count="13" type="stmt"/>
1501
+ <line num="71" count="13" type="stmt"/>
1502
+ <line num="73" count="13" type="cond" truecount="2" falsecount="0"/>
1503
+ <line num="74" count="11" type="stmt"/>
1504
+ <line num="80" count="889" type="cond" truecount="4" falsecount="0"/>
1505
+ <line num="81" count="76" type="stmt"/>
1506
+ <line num="82" count="813" type="cond" truecount="4" falsecount="0"/>
1507
+ <line num="83" count="217" type="stmt"/>
1508
+ <line num="85" count="596" type="stmt"/>
1509
+ <line num="88" count="258" type="cond" truecount="4" falsecount="0"/>
1510
+ <line num="89" count="27" type="stmt"/>
1511
+ <line num="90" count="231" type="cond" truecount="4" falsecount="0"/>
1512
+ <line num="91" count="214" type="stmt"/>
1513
+ <line num="94" count="17" type="stmt"/>
1514
+ <line num="98" count="188" type="stmt"/>
1517
1515
  </file>
1518
1516
  <file name="SimpleDataContext.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/contexts/SimpleDataContext.js">
1519
1517
  <metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>