@mapcomponents/react-maplibre 0.1.22 → 0.1.26

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 (77) hide show
  1. package/CHANGELOG.md +48 -8
  2. package/coverage/clover.xml +109 -134
  3. package/coverage/coverage-final.json +6 -6
  4. package/coverage/lcov-report/index.html +27 -27
  5. package/coverage/lcov-report/src/components/MapLibreMap/MapLibreMap.js.html +1 -1
  6. package/coverage/lcov-report/src/components/MapLibreMap/index.html +1 -1
  7. package/coverage/lcov-report/src/components/MlCreatePdfButton/MlCreatePdfButton.js.html +1 -1
  8. package/coverage/lcov-report/src/components/MlCreatePdfButton/index.html +1 -1
  9. package/coverage/lcov-report/src/components/MlFeatureEditor/MlFeatureEditor.js.html +1 -1
  10. package/coverage/lcov-report/src/components/MlFeatureEditor/index.html +1 -1
  11. package/coverage/lcov-report/src/components/MlFillExtrusionLayer/MlFillExtrusionLayer.js.html +1 -1
  12. package/coverage/lcov-report/src/components/MlFillExtrusionLayer/index.html +1 -1
  13. package/coverage/lcov-report/src/components/MlFollowGps/MlFollowGps.js.html +43 -94
  14. package/coverage/lcov-report/src/components/MlFollowGps/index.html +18 -18
  15. package/coverage/lcov-report/src/components/MlGPXViewer/MlGPXViewer.js.html +1 -1
  16. package/coverage/lcov-report/src/components/MlGPXViewer/gpxConverter.js.html +1 -1
  17. package/coverage/lcov-report/src/components/MlGPXViewer/index.html +1 -1
  18. package/coverage/lcov-report/src/components/MlGeoJsonLayer/MlGeoJsonLayer.js.html +1 -1
  19. package/coverage/lcov-report/src/components/MlGeoJsonLayer/index.html +1 -1
  20. package/coverage/lcov-report/src/components/MlImageMarkerLayer/MlImageMarkerLayer.js.html +2 -2
  21. package/coverage/lcov-report/src/components/MlImageMarkerLayer/index.html +1 -1
  22. package/coverage/lcov-report/src/components/MlLayer/MlLayer.js.html +1 -1
  23. package/coverage/lcov-report/src/components/MlLayer/index.html +1 -1
  24. package/coverage/lcov-report/src/components/MlLayerMagnify/MlLayerMagnify.js.html +1 -1
  25. package/coverage/lcov-report/src/components/MlLayerMagnify/index.html +1 -1
  26. package/coverage/lcov-report/src/components/MlLayerSwipe/MlLayerSwipe.js.html +1 -1
  27. package/coverage/lcov-report/src/components/MlLayerSwipe/index.html +1 -1
  28. package/coverage/lcov-report/src/components/MlLayerSwitcher/MlLayerSwitcher.js.html +1 -1
  29. package/coverage/lcov-report/src/components/MlLayerSwitcher/components/LayerBox.js.html +1 -1
  30. package/coverage/lcov-report/src/components/MlLayerSwitcher/components/index.html +1 -1
  31. package/coverage/lcov-report/src/components/MlLayerSwitcher/index.html +1 -1
  32. package/coverage/lcov-report/src/components/MlMarker/MlMarker.js.html +1 -1
  33. package/coverage/lcov-report/src/components/MlMarker/index.html +1 -1
  34. package/coverage/lcov-report/src/components/MlNavigationCompass/MlNavigationCompass.js.html +1 -1
  35. package/coverage/lcov-report/src/components/MlNavigationCompass/index.html +1 -1
  36. package/coverage/lcov-report/src/components/MlNavigationTools/MlNavigationTools.js.html +1 -1
  37. package/coverage/lcov-report/src/components/MlNavigationTools/index.html +1 -1
  38. package/coverage/lcov-report/src/components/MlOsmLayer/MlOsmLayer.js.html +1 -1
  39. package/coverage/lcov-report/src/components/MlOsmLayer/index.html +1 -1
  40. package/coverage/lcov-report/src/components/MlScaleReference/MlScaleReference.js.html +1 -1
  41. package/coverage/lcov-report/src/components/MlScaleReference/index.html +1 -1
  42. package/coverage/lcov-report/src/components/MlShareMapState/MlShareMapState.js.html +1 -1
  43. package/coverage/lcov-report/src/components/MlShareMapState/index.html +1 -1
  44. package/coverage/lcov-report/src/components/MlSpatialElevationProfile/MlSpatialElevationProfile.js.html +1 -1
  45. package/coverage/lcov-report/src/components/MlSpatialElevationProfile/index.html +1 -1
  46. package/coverage/lcov-report/src/components/MlThreeJsLayer/MlThreeJsLayer.js.html +1 -1
  47. package/coverage/lcov-report/src/components/MlThreeJsLayer/index.html +1 -1
  48. package/coverage/lcov-report/src/components/MlUseMapDebugger/MlUseMapDebugger.js.html +1 -1
  49. package/coverage/lcov-report/src/components/MlUseMapDebugger/index.html +1 -1
  50. package/coverage/lcov-report/src/components/MlVectorTileLayer/MlVectorTileLayer.js.html +72 -195
  51. package/coverage/lcov-report/src/components/MlVectorTileLayer/index.html +17 -17
  52. package/coverage/lcov-report/src/components/MlWmsFeatureInfoPopup/MlWmsFeatureInfoPopup.js.html +1 -1
  53. package/coverage/lcov-report/src/components/MlWmsFeatureInfoPopup/index.html +1 -1
  54. package/coverage/lcov-report/src/components/MlWmsLayer/MlWmsLayer.js.html +1 -1
  55. package/coverage/lcov-report/src/components/MlWmsLayer/index.html +1 -1
  56. package/coverage/lcov-report/src/components/MlWmsLoader/MlWmsLoader.js.html +1 -1
  57. package/coverage/lcov-report/src/components/MlWmsLoader/index.html +1 -1
  58. package/coverage/lcov-report/src/hooks/index.html +1 -1
  59. package/coverage/lcov-report/src/hooks/useMap.js.html +22 -22
  60. package/coverage/lcov-report/src/hooks/useMapState.js.html +34 -34
  61. package/coverage/lcov-report/src/hooks/useWms.js.html +2 -2
  62. package/coverage/lcov-report/src/i18n.js.html +1 -1
  63. package/coverage/lcov-report/src/index.html +1 -1
  64. package/coverage/lcov-report/src/translations/english.js.html +1 -1
  65. package/coverage/lcov-report/src/translations/german.js.html +1 -1
  66. package/coverage/lcov-report/src/translations/index.html +1 -1
  67. package/coverage/lcov.info +178 -225
  68. package/dist/index.esm.js +108 -160
  69. package/dist/index.esm.js.map +1 -1
  70. package/package.json +1 -1
  71. package/src/components/MlFollowGps/MlFollowGps.js +29 -46
  72. package/src/components/MlFollowGps/MlFollowGps.test.js +1 -1
  73. package/src/components/MlVectorTileLayer/MlVectorTileLayer.js +50 -91
  74. package/src/components/MlVectorTileLayer/MlVectorTileLayer.test.js +6 -6
  75. package/src/hooks/useWms.js +1 -1
  76. package/dist/b556faa3bc6829d2.png +0 -0
  77. package/src/components/MlFollowGps/assets/marker.png +0 -0
package/CHANGELOG.md CHANGED
@@ -1,27 +1,67 @@
1
1
  # Change Log
2
2
 
3
3
 
4
- ## [Unreleased] - yyyy-mm-dd
5
-
6
- ### Added
4
+ ## [v0.1.26] - 2022-02-02
5
+
6
+ ### Fixed
7
+
8
+ - adjust MlFollowGps position marker style & add flyTo instead of setCenter for new Gps positions
9
+ - fix useWms hook retrieval of WMS GetMap URL
10
+
11
+ ## [v0.1.25] - 2022-01-31
12
+
13
+ ### Fixed
14
+
15
+ - fix MlFollowGps needsRedraw bug; refactor MlFollowGps
16
+
17
+ ## [v0.1.24] - 2022-01-23
18
+
19
+ ### Fixed
20
+
21
+ - fix MlVectorTileLayer sourceId
22
+
23
+ ## [v0.1.23] - 2022-01-23
24
+
7
25
  ### Changed
8
-
26
+
27
+ - migrate MlVectorTileLayer to useMap hook & provide full control over layer & source id
28
+
29
+ ## [v0.1.22] - 2022-01-23
30
+
31
+ ### Changed
32
+
33
+ - make MlVectorTileLayer props.layers[].layout properties update dynamically
34
+
35
+ ## [v0.1.21] - 2022-01-21
36
+
9
37
  ### Fixed
10
38
 
11
- ## [0.1.20] - 2022-01-09
39
+ - migrate MlVectorTileLayer to useMap hook & provide full control over layer & source id
40
+
41
+ ## [v0.1.20] - 2022-01-17
42
+
43
+ ### Changed
44
+ - migrate MlWmsLayer to use useMap hook instead of mapContext
45
+
46
+ ### Fixed
47
+ - adjust MapLibreGlWrapper to fire layerchange events more efficiently
48
+ - MlShareMapState: prevent pushing new history states if props.active is false
49
+ - fix MlWmsLayer & tests
50
+ - fix MlVectorTileLayer visible property
51
+ - fix MlGeoJsonLayer props.onHover, props.onClick, props.onLeave
12
52
 
13
53
  ### Added
14
54
  - add props.sourceOptions to MlVectorTileLayer
15
- ## [0.1.19] - 2022-01-09
55
+ ## [v0.1.19] - 2022-01-09
16
56
 
17
57
  ### Added
18
58
  - add props.options to MlGeoJsonLayer
19
- ## [0.1.18] - 2022-01-09
59
+ ## [v0.1.18] - 2022-01-09
20
60
 
21
61
  ### Added
22
62
  - add props.defaultPaintOverrides to MlGeoJsonLayer
23
63
 
24
- ## [0.1.17] - 2022-01-09
64
+ ## [v0.1.17] - 2022-01-09
25
65
 
26
66
  ### Added
27
67
  - add implicit layer-type (props.type) casting for MlGeoJsonLayer
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1642938187186" clover="3.2.0">
3
- <project timestamp="1642938187186" name="All files">
4
- <metrics statements="1606" coveredstatements="594" conditionals="934" coveredconditionals="257" methods="287" coveredmethods="98" elements="2827" coveredelements="949" complexity="0" loc="1606" ncloc="1606" packages="29" files="33" classes="33"/>
2
+ <coverage generated="1643803049118" clover="3.2.0">
3
+ <project timestamp="1643803049118" name="All files">
4
+ <metrics statements="1581" coveredstatements="577" conditionals="920" coveredconditionals="255" methods="283" coveredmethods="95" elements="2784" coveredelements="927" complexity="0" loc="1581" ncloc="1581" packages="29" files="33" classes="33"/>
5
5
  <package name="src">
6
6
  <metrics statements="2" coveredstatements="0" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
7
7
  <file name="i18n.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/i18n.js">
@@ -144,39 +144,34 @@
144
144
  </file>
145
145
  </package>
146
146
  <package name="src.components.MlFollowGps">
147
- <metrics statements="30" coveredstatements="20" conditionals="18" coveredconditionals="10" methods="7" coveredmethods="4"/>
147
+ <metrics statements="25" coveredstatements="18" conditionals="14" coveredconditionals="10" methods="6" coveredmethods="4"/>
148
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="30" coveredstatements="20" conditionals="18" coveredconditionals="10" methods="7" coveredmethods="4"/>
150
- <line num="22" count="1" type="stmt"/>
149
+ <metrics statements="25" coveredstatements="18" conditionals="14" coveredconditionals="10" methods="6" coveredmethods="4"/>
150
+ <line num="19" count="1" type="stmt"/>
151
+ <line num="20" count="9" type="stmt"/>
152
+ <line num="22" count="9" type="stmt"/>
151
153
  <line num="23" count="9" type="stmt"/>
152
- <line num="25" count="9" type="stmt"/>
154
+ <line num="24" count="9" type="stmt"/>
153
155
  <line num="26" count="9" type="stmt"/>
154
- <line num="27" count="9" type="stmt"/>
155
156
  <line num="28" count="9" type="stmt"/>
156
- <line num="30" count="9" type="stmt"/>
157
- <line num="32" count="9" type="stmt"/>
158
- <line num="33" count="2" type="stmt"/>
159
- <line num="34" count="0" type="cond" truecount="0" falsecount="2"/>
160
- <line num="35" count="0" type="stmt"/>
161
- <line num="36" count="0" type="stmt"/>
162
- <line num="41" count="9" type="stmt"/>
163
- <line num="43" count="0" type="cond" truecount="0" falsecount="2"/>
164
- <line num="45" count="0" type="stmt"/>
157
+ <line num="30" count="0" type="cond" truecount="0" falsecount="2"/>
158
+ <line num="32" count="0" type="stmt"/>
159
+ <line num="38" count="0" type="stmt"/>
160
+ <line num="39" count="0" type="stmt"/>
161
+ <line num="40" count="0" type="stmt"/>
162
+ <line num="45" count="9" type="stmt"/>
165
163
  <line num="46" count="0" type="stmt"/>
166
164
  <line num="47" count="0" type="stmt"/>
167
- <line num="48" count="0" type="stmt"/>
168
- <line num="53" count="9" type="stmt"/>
169
- <line num="54" count="0" type="stmt"/>
170
- <line num="55" count="0" type="stmt"/>
171
- <line num="58" count="9" type="stmt"/>
172
- <line num="59" count="7" type="cond" truecount="2" falsecount="0"/>
173
- <line num="61" count="5" type="cond" truecount="2" falsecount="0"/>
174
- <line num="62" count="2" type="stmt"/>
175
- <line num="67" count="3" type="stmt"/>
176
- <line num="71" count="9" type="stmt"/>
177
- <line num="109" count="3" type="stmt"/>
178
- <line num="119" count="1" type="stmt"/>
179
- <line num="139" count="1" type="stmt"/>
165
+ <line num="50" count="9" type="stmt"/>
166
+ <line num="51" count="7" type="cond" truecount="2" falsecount="0"/>
167
+ <line num="53" count="5" type="cond" truecount="2" falsecount="0"/>
168
+ <line num="54" count="2" type="stmt"/>
169
+ <line num="56" count="2" type="stmt"/>
170
+ <line num="57" count="1" type="stmt"/>
171
+ <line num="62" count="9" type="stmt"/>
172
+ <line num="96" count="3" type="stmt"/>
173
+ <line num="106" count="1" type="stmt"/>
174
+ <line num="126" count="1" type="stmt"/>
180
175
  </file>
181
176
  </package>
182
177
  <package name="src.components.MlGPXViewer">
@@ -659,7 +654,7 @@
659
654
  <metrics statements="31" coveredstatements="22" conditionals="29" coveredconditionals="14" methods="6" coveredmethods="5"/>
660
655
  <file name="MlImageMarkerLayer.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlImageMarkerLayer/MlImageMarkerLayer.js">
661
656
  <metrics statements="31" coveredstatements="22" conditionals="29" coveredconditionals="14" methods="6" coveredmethods="5"/>
662
- <line num="5" count="2" type="stmt"/>
657
+ <line num="5" count="1" type="stmt"/>
663
658
  <line num="6" count="12" type="stmt"/>
664
659
  <line num="8" count="12" type="stmt"/>
665
660
  <line num="9" count="12" type="cond" truecount="2" falsecount="0"/>
@@ -1451,62 +1446,42 @@
1451
1446
  </file>
1452
1447
  </package>
1453
1448
  <package name="src.components.MlVectorTileLayer">
1454
- <metrics statements="53" coveredstatements="44" conditionals="26" coveredconditionals="15" methods="6" coveredmethods="6"/>
1449
+ <metrics statements="33" coveredstatements="29" conditionals="16" coveredconditionals="13" methods="3" coveredmethods="3"/>
1455
1450
  <file name="MlVectorTileLayer.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlVectorTileLayer/MlVectorTileLayer.js">
1456
- <metrics statements="53" coveredstatements="44" conditionals="26" coveredconditionals="15" methods="6" coveredmethods="6"/>
1451
+ <metrics statements="33" coveredstatements="29" conditionals="16" coveredconditionals="13" methods="3" coveredmethods="3"/>
1457
1452
  <line num="11" count="1" type="stmt"/>
1458
- <line num="12" count="8" type="stmt"/>
1459
- <line num="14" count="8" type="stmt"/>
1460
- <line num="15" count="8" type="stmt"/>
1461
- <line num="16" count="8" type="stmt"/>
1462
- <line num="17" count="8" type="stmt"/>
1463
- <line num="18" count="8" type="stmt"/>
1464
- <line num="19" count="8" type="stmt"/>
1465
- <line num="20" count="8" type="stmt"/>
1466
- <line num="21" count="8" type="stmt"/>
1467
- <line num="23" count="8" type="stmt"/>
1468
- <line num="24" count="2" type="cond" truecount="3" falsecount="1"/>
1469
- <line num="25" count="2" type="stmt"/>
1470
- <line num="26" count="2" type="cond" truecount="1" falsecount="1"/>
1471
- <line num="27" count="2" type="stmt"/>
1472
- <line num="30" count="2" type="cond" truecount="1" falsecount="1"/>
1473
- <line num="31" count="2" type="stmt"/>
1474
- <line num="36" count="8" type="stmt"/>
1475
- <line num="37" count="4" type="stmt"/>
1476
- <line num="40" count="8" type="stmt"/>
1477
- <line num="41" count="8" type="cond" truecount="4" falsecount="0"/>
1478
- <line num="43" count="4" type="stmt"/>
1479
- <line num="44" count="4" type="stmt"/>
1480
- <line num="47" count="4" type="stmt"/>
1481
- <line num="55" count="4" type="stmt"/>
1482
- <line num="56" count="4" type="stmt"/>
1483
- <line num="57" count="4" type="stmt"/>
1484
- <line num="59" count="4" type="stmt"/>
1485
- <line num="73" count="4" type="stmt"/>
1486
- <line num="74" count="4" type="stmt"/>
1487
- <line num="78" count="8" type="stmt"/>
1488
- <line num="79" count="8" type="cond" truecount="2" falsecount="0"/>
1453
+ <line num="12" count="12" type="stmt"/>
1454
+ <line num="14" count="12" type="stmt"/>
1455
+ <line num="15" count="12" type="cond" truecount="2" falsecount="0"/>
1456
+ <line num="16" count="12" type="stmt"/>
1457
+ <line num="17" count="12" type="stmt"/>
1458
+ <line num="18" count="12" type="stmt"/>
1459
+ <line num="20" count="12" type="stmt"/>
1460
+ <line num="21" count="8" type="cond" truecount="4" falsecount="0"/>
1461
+ <line num="23" count="4" type="stmt"/>
1462
+ <line num="26" count="4" type="stmt"/>
1463
+ <line num="38" count="4" type="stmt"/>
1464
+ <line num="39" count="4" type="stmt"/>
1465
+ <line num="40" count="4" type="stmt"/>
1466
+ <line num="42" count="4" type="stmt"/>
1467
+ <line num="60" count="4" type="stmt"/>
1468
+ <line num="61" count="4" type="stmt"/>
1469
+ <line num="65" count="12" type="stmt"/>
1470
+ <line num="66" count="8" type="cond" truecount="4" falsecount="0"/>
1471
+ <line num="68" count="4" type="stmt"/>
1472
+ <line num="69" count="4" type="cond" truecount="1" falsecount="1"/>
1473
+ <line num="71" count="4" type="stmt"/>
1474
+ <line num="73" count="4" type="cond" truecount="1" falsecount="1"/>
1475
+ <line num="74" count="0" type="stmt"/>
1476
+ <line num="75" count="0" type="stmt"/>
1489
1477
  <line num="82" count="4" type="stmt"/>
1490
- <line num="83" count="4" type="cond" truecount="1" falsecount="1"/>
1491
1478
  <line num="85" count="4" type="stmt"/>
1492
1479
  <line num="87" count="4" type="cond" truecount="1" falsecount="1"/>
1493
1480
  <line num="88" count="0" type="stmt"/>
1494
1481
  <line num="89" count="0" type="stmt"/>
1495
- <line num="98" count="4" type="stmt"/>
1496
- <line num="101" count="4" type="stmt"/>
1497
- <line num="103" count="4" type="cond" truecount="1" falsecount="1"/>
1498
- <line num="104" count="0" type="stmt"/>
1499
- <line num="105" count="0" type="stmt"/>
1500
- <line num="114" count="4" type="stmt"/>
1501
- <line num="119" count="8" type="stmt"/>
1502
- <line num="120" count="4" type="cond" truecount="1" falsecount="1"/>
1503
- <line num="122" count="0" type="stmt"/>
1504
- <line num="123" count="0" type="cond" truecount="0" falsecount="2"/>
1505
- <line num="125" count="0" type="cond" truecount="0" falsecount="2"/>
1506
- <line num="126" count="0" type="stmt"/>
1507
- <line num="130" count="0" type="stmt"/>
1508
- <line num="138" count="8" type="stmt"/>
1509
- <line num="141" count="1" type="stmt"/>
1482
+ <line num="96" count="4" type="stmt"/>
1483
+ <line num="101" count="12" type="stmt"/>
1484
+ <line num="104" count="1" type="stmt"/>
1510
1485
  </file>
1511
1486
  </package>
1512
1487
  <package name="src.components.MlWmsFeatureInfoPopup">
@@ -1669,45 +1644,45 @@
1669
1644
  <metrics statements="106" coveredstatements="54" conditionals="42" coveredconditionals="14" methods="19" coveredmethods="9"/>
1670
1645
  <file name="useMap.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useMap.js">
1671
1646
  <metrics statements="27" coveredstatements="21" conditionals="12" coveredconditionals="6" methods="5" coveredmethods="4"/>
1672
- <line num="8" count="45" type="stmt"/>
1673
- <line num="10" count="45" type="stmt"/>
1674
- <line num="19" count="45" type="stmt"/>
1675
- <line num="20" count="45" type="stmt"/>
1676
- <line num="22" count="45" type="stmt"/>
1677
- <line num="24" count="45" type="stmt"/>
1678
- <line num="26" count="45" type="stmt"/>
1679
- <line num="27" count="14" type="stmt"/>
1680
- <line num="29" count="14" type="stmt"/>
1681
- <line num="30" count="6" type="cond" truecount="1" falsecount="1"/>
1682
- <line num="31" count="6" type="stmt"/>
1683
- <line num="32" count="6" type="stmt"/>
1684
- <line num="34" count="6" type="stmt"/>
1685
- <line num="35" count="6" type="stmt"/>
1686
- <line num="39" count="45" type="stmt"/>
1687
- <line num="40" count="42" type="cond" truecount="4" falsecount="0"/>
1688
- <line num="43" count="14" type="cond" truecount="1" falsecount="1"/>
1647
+ <line num="8" count="57" type="stmt"/>
1648
+ <line num="10" count="57" type="stmt"/>
1649
+ <line num="19" count="57" type="stmt"/>
1650
+ <line num="20" count="57" type="stmt"/>
1651
+ <line num="22" count="57" type="stmt"/>
1652
+ <line num="24" count="57" type="stmt"/>
1653
+ <line num="26" count="57" type="stmt"/>
1654
+ <line num="27" count="18" type="stmt"/>
1655
+ <line num="29" count="18" type="stmt"/>
1656
+ <line num="30" count="8" type="cond" truecount="1" falsecount="1"/>
1657
+ <line num="31" count="8" type="stmt"/>
1658
+ <line num="32" count="8" type="stmt"/>
1659
+ <line num="34" count="8" type="stmt"/>
1660
+ <line num="35" count="8" type="stmt"/>
1661
+ <line num="39" count="57" type="stmt"/>
1662
+ <line num="40" count="54" type="cond" truecount="4" falsecount="0"/>
1663
+ <line num="43" count="18" type="cond" truecount="1" falsecount="1"/>
1689
1664
  <line num="44" count="0" type="stmt"/>
1690
1665
  <line num="46" count="0" type="stmt"/>
1691
1666
  <line num="47" count="0" type="cond" truecount="0" falsecount="2"/>
1692
1667
  <line num="48" count="0" type="stmt"/>
1693
1668
  <line num="51" count="0" type="cond" truecount="0" falsecount="2"/>
1694
1669
  <line num="52" count="0" type="stmt"/>
1695
- <line num="57" count="14" type="stmt"/>
1696
- <line num="58" count="14" type="stmt"/>
1697
- <line num="59" count="14" type="stmt"/>
1698
- <line num="62" count="45" type="stmt"/>
1670
+ <line num="57" count="18" type="stmt"/>
1671
+ <line num="58" count="18" type="stmt"/>
1672
+ <line num="59" count="18" type="stmt"/>
1673
+ <line num="62" count="57" type="stmt"/>
1699
1674
  </file>
1700
1675
  <file name="useMapState.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useMapState.js">
1701
1676
  <metrics statements="44" coveredstatements="33" conditionals="22" coveredconditionals="8" methods="7" coveredmethods="5"/>
1702
- <line num="13" count="61" type="stmt"/>
1703
- <line num="15" count="61" type="stmt"/>
1704
- <line num="16" count="61" type="stmt"/>
1705
- <line num="18" count="61" type="stmt"/>
1706
- <line num="19" count="61" type="stmt"/>
1707
- <line num="21" count="61" type="stmt"/>
1708
- <line num="22" count="61" type="stmt"/>
1709
- <line num="24" count="61" type="stmt"/>
1710
- <line num="32" count="61" type="stmt"/>
1677
+ <line num="13" count="73" type="stmt"/>
1678
+ <line num="15" count="73" type="stmt"/>
1679
+ <line num="16" count="73" type="stmt"/>
1680
+ <line num="18" count="73" type="stmt"/>
1681
+ <line num="19" count="73" type="stmt"/>
1682
+ <line num="21" count="73" type="stmt"/>
1683
+ <line num="22" count="73" type="stmt"/>
1684
+ <line num="24" count="73" type="stmt"/>
1685
+ <line num="32" count="73" type="stmt"/>
1711
1686
  <line num="34" count="0" type="cond" truecount="0" falsecount="4"/>
1712
1687
  <line num="35" count="0" type="stmt"/>
1713
1688
  <line num="38" count="0" type="cond" truecount="0" falsecount="2"/>
@@ -1715,34 +1690,34 @@
1715
1690
  <line num="40" count="0" type="stmt"/>
1716
1691
  <line num="42" count="0" type="stmt"/>
1717
1692
  <line num="46" count="0" type="stmt"/>
1718
- <line num="51" count="61" type="stmt"/>
1719
- <line num="52" count="18" type="stmt"/>
1720
- <line num="53" count="18" type="stmt"/>
1721
- <line num="54" count="18" type="cond" truecount="1" falsecount="1"/>
1722
- <line num="55" count="18" type="stmt"/>
1723
- <line num="56" count="18" type="stmt"/>
1724
- <line num="60" count="61" type="stmt"/>
1725
- <line num="61" count="18" type="stmt"/>
1726
- <line num="63" count="18" type="stmt"/>
1727
- <line num="64" count="8" type="cond" truecount="1" falsecount="1"/>
1728
- <line num="65" count="8" type="stmt"/>
1729
- <line num="66" count="8" type="stmt"/>
1730
- <line num="68" count="8" type="stmt"/>
1731
- <line num="72" count="61" type="stmt"/>
1732
- <line num="73" count="36" type="cond" truecount="4" falsecount="0"/>
1733
- <line num="76" count="18" type="stmt"/>
1734
- <line num="77" count="18" type="stmt"/>
1735
- <line num="79" count="18" type="cond" truecount="1" falsecount="1"/>
1693
+ <line num="51" count="73" type="stmt"/>
1694
+ <line num="52" count="22" type="stmt"/>
1695
+ <line num="53" count="22" type="stmt"/>
1696
+ <line num="54" count="22" type="cond" truecount="1" falsecount="1"/>
1697
+ <line num="55" count="22" type="stmt"/>
1698
+ <line num="56" count="22" type="stmt"/>
1699
+ <line num="60" count="73" type="stmt"/>
1700
+ <line num="61" count="22" type="stmt"/>
1701
+ <line num="63" count="22" type="stmt"/>
1702
+ <line num="64" count="10" type="cond" truecount="1" falsecount="1"/>
1703
+ <line num="65" count="10" type="stmt"/>
1704
+ <line num="66" count="10" type="stmt"/>
1705
+ <line num="68" count="10" type="stmt"/>
1706
+ <line num="72" count="73" type="stmt"/>
1707
+ <line num="73" count="44" type="cond" truecount="4" falsecount="0"/>
1708
+ <line num="76" count="22" type="stmt"/>
1709
+ <line num="77" count="22" type="stmt"/>
1710
+ <line num="79" count="22" type="cond" truecount="1" falsecount="1"/>
1736
1711
  <line num="80" count="0" type="stmt"/>
1737
1712
  <line num="82" count="0" type="stmt"/>
1738
1713
  <line num="85" count="0" type="cond" truecount="0" falsecount="2"/>
1739
1714
  <line num="86" count="0" type="stmt"/>
1740
- <line num="93" count="18" type="cond" truecount="1" falsecount="1"/>
1741
- <line num="94" count="18" type="stmt"/>
1742
- <line num="96" count="18" type="stmt"/>
1743
- <line num="108" count="61" type="stmt"/>
1744
- <line num="114" count="5" type="stmt"/>
1745
- <line num="126" count="5" type="stmt"/>
1715
+ <line num="93" count="22" type="cond" truecount="1" falsecount="1"/>
1716
+ <line num="94" count="22" type="stmt"/>
1717
+ <line num="96" count="22" type="stmt"/>
1718
+ <line num="108" count="73" type="stmt"/>
1719
+ <line num="114" count="6" type="stmt"/>
1720
+ <line num="126" count="6" type="stmt"/>
1746
1721
  </file>
1747
1722
  <file name="useWms.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useWms.js">
1748
1723
  <metrics statements="35" coveredstatements="0" conditionals="8" coveredconditionals="0" methods="7" coveredmethods="0"/>