@mapcomponents/react-maplibre 0.1.40 → 0.1.43

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 (150) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/coverage/clover.xml +124 -124
  3. package/coverage/coverage-final.json +3 -3
  4. package/coverage/lcov-report/index.html +14 -14
  5. package/coverage/lcov-report/src/components/MapLibreMap/MapLibreMap.tsx.html +1 -1
  6. package/coverage/lcov-report/src/components/MapLibreMap/index.html +1 -1
  7. package/coverage/lcov-report/src/components/MlCreatePdfButton/MlCreatePdfButton.tsx.html +1 -1
  8. package/coverage/lcov-report/src/components/MlCreatePdfButton/index.html +1 -1
  9. package/coverage/lcov-report/src/components/MlFeatureEditor/MlFeatureEditor.tsx.html +1 -1
  10. package/coverage/lcov-report/src/components/MlFeatureEditor/index.html +1 -1
  11. package/coverage/lcov-report/src/components/MlFillExtrusionLayer/MlFillExtrusionLayer.tsx.html +1 -1
  12. package/coverage/lcov-report/src/components/MlFillExtrusionLayer/index.html +1 -1
  13. package/coverage/lcov-report/src/components/MlFollowGps/MlFollowGps.tsx.html +1 -1
  14. package/coverage/lcov-report/src/components/MlFollowGps/index.html +1 -1
  15. package/coverage/lcov-report/src/components/MlGPXViewer/MlGPXViewer.tsx.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.tsx.html +1 -1
  19. package/coverage/lcov-report/src/components/MlGeoJsonLayer/index.html +1 -1
  20. package/coverage/lcov-report/src/components/MlImageMarkerLayer/MlImageMarkerLayer.tsx.html +1 -1
  21. package/coverage/lcov-report/src/components/MlImageMarkerLayer/index.html +1 -1
  22. package/coverage/lcov-report/src/components/MlLayer/MlLayer.tsx.html +1 -1
  23. package/coverage/lcov-report/src/components/MlLayer/index.html +1 -1
  24. package/coverage/lcov-report/src/components/MlLayerMagnify/MlLayerMagnify.tsx.html +1 -1
  25. package/coverage/lcov-report/src/components/MlLayerMagnify/index.html +1 -1
  26. package/coverage/lcov-report/src/components/MlLayerSwipe/MlLayerSwipe.tsx.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.tsx.html +1 -1
  33. package/coverage/lcov-report/src/components/MlMarker/index.html +1 -1
  34. package/coverage/lcov-report/src/components/MlNavigationCompass/MlNavigationCompass.tsx.html +1 -1
  35. package/coverage/lcov-report/src/components/MlNavigationCompass/index.html +1 -1
  36. package/coverage/lcov-report/src/components/MlNavigationTools/MlNavigationTools.tsx.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/MlTransitionGeoJsonLayer/MlTransitionGeoJsonLayer.tsx.html +1 -1
  49. package/coverage/lcov-report/src/components/MlTransitionGeoJsonLayer/index.html +1 -1
  50. package/coverage/lcov-report/src/components/MlUseMapDebugger/MlUseMapDebugger.js.html +1 -1
  51. package/coverage/lcov-report/src/components/MlUseMapDebugger/index.html +1 -1
  52. package/coverage/lcov-report/src/components/MlVectorTileLayer/MlVectorTileLayer.tsx.html +1 -1
  53. package/coverage/lcov-report/src/components/MlVectorTileLayer/index.html +1 -1
  54. package/coverage/lcov-report/src/components/MlWmsFeatureInfoPopup/MlWmsFeatureInfoPopup.js.html +1 -1
  55. package/coverage/lcov-report/src/components/MlWmsFeatureInfoPopup/index.html +1 -1
  56. package/coverage/lcov-report/src/components/MlWmsLayer/MlWmsLayer.tsx.html +1 -1
  57. package/coverage/lcov-report/src/components/MlWmsLayer/index.html +1 -1
  58. package/coverage/lcov-report/src/components/MlWmsLoader/MlWmsLoader.tsx.html +51 -15
  59. package/coverage/lcov-report/src/components/MlWmsLoader/index.html +1 -1
  60. package/coverage/lcov-report/src/contexts/MapContext.tsx.html +1 -1
  61. package/coverage/lcov-report/src/contexts/SimpleDataContext.js.html +1 -1
  62. package/coverage/lcov-report/src/contexts/SimpleDataProvider.js.html +1 -1
  63. package/coverage/lcov-report/src/contexts/index.html +1 -1
  64. package/coverage/lcov-report/src/hooks/index.html +17 -17
  65. package/coverage/lcov-report/src/hooks/useLayer.ts.html +19 -31
  66. package/coverage/lcov-report/src/hooks/useMap.ts.html +17 -11
  67. package/coverage/lcov-report/src/hooks/useMapState.ts.html +1 -1
  68. package/coverage/lcov-report/src/hooks/useWms.js.html +1 -1
  69. package/coverage/lcov-report/src/index.html +1 -1
  70. package/coverage/lcov-report/src/index.ts.html +1 -1
  71. package/coverage/lcov.info +253 -255
  72. package/dist/index.esm.js +11 -10
  73. package/dist/index.esm.js.map +1 -1
  74. package/docs-build/{0.93d0ce3d.iframe.bundle.js → 0.b1b9b035.iframe.bundle.js} +2 -2
  75. package/docs-build/0.b1b9b035.iframe.bundle.js.map +1 -0
  76. package/docs-build/{1.2b1ae3fa.iframe.bundle.js → 1.c50fb367.iframe.bundle.js} +3 -3
  77. package/docs-build/1.c50fb367.iframe.bundle.js.map +1 -0
  78. package/docs-build/{16.2c8135a1.iframe.bundle.js → 17.2e544968.iframe.bundle.js} +2 -2
  79. package/docs-build/17.2e544968.iframe.bundle.js.map +1 -0
  80. package/docs-build/{17.9a16865a.iframe.bundle.js → 18.42087006.iframe.bundle.js} +3 -3
  81. package/docs-build/18.42087006.iframe.bundle.js.map +1 -0
  82. package/docs-build/{18.4c47f37e.iframe.bundle.js → 19.7e782442.iframe.bundle.js} +2 -2
  83. package/docs-build/19.7e782442.iframe.bundle.js.map +1 -0
  84. package/docs-build/{2.4518b817.iframe.bundle.js → 2.e58dc625.iframe.bundle.js} +2 -2
  85. package/docs-build/2.e58dc625.iframe.bundle.js.map +1 -0
  86. package/docs-build/{19.cdf25e28.iframe.bundle.js → 20.f009289a.iframe.bundle.js} +2 -2
  87. package/docs-build/20.f009289a.iframe.bundle.js.map +1 -0
  88. package/docs-build/{20.4c43e27c.iframe.bundle.js → 21.1cdc9040.iframe.bundle.js} +2 -2
  89. package/docs-build/21.1cdc9040.iframe.bundle.js.map +1 -0
  90. package/docs-build/{21.19c21085.iframe.bundle.js → 22.c9e6b2d7.iframe.bundle.js} +2 -2
  91. package/docs-build/22.c9e6b2d7.iframe.bundle.js.map +1 -0
  92. package/docs-build/{3.5dd9e88b.iframe.bundle.js → 3.a8172b89.iframe.bundle.js} +2 -2
  93. package/docs-build/3.a8172b89.iframe.bundle.js.map +1 -0
  94. package/docs-build/iframe.html +1 -1
  95. package/docs-build/main~24120820.edd86ba9.iframe.bundle.js +2 -0
  96. package/docs-build/main~24120820.edd86ba9.iframe.bundle.js.map +1 -0
  97. package/docs-build/{vendors~main~0ad7406a.22b96f8e.iframe.bundle.js → vendors~main~0ad7406a.2054ae7c.iframe.bundle.js} +3 -3
  98. package/docs-build/vendors~main~0ad7406a.2054ae7c.iframe.bundle.js.map +1 -0
  99. package/docs-build/vendors~main~0f485567.de36692f.iframe.bundle.js +2 -0
  100. package/docs-build/vendors~main~0f485567.de36692f.iframe.bundle.js.map +1 -0
  101. package/docs-build/{vendors~main~41a6ab2c.7f3a1ced.iframe.bundle.js → vendors~main~41a6ab2c.a947ed53.iframe.bundle.js} +2 -2
  102. package/docs-build/vendors~main~41a6ab2c.a947ed53.iframe.bundle.js.map +1 -0
  103. package/docs-build/vendors~main~57c1f6cb.6a433835.iframe.bundle.js +2 -0
  104. package/docs-build/vendors~main~57c1f6cb.6a433835.iframe.bundle.js.map +1 -0
  105. package/docs-build/{vendors~main~73914085.3d4f5bbf.iframe.bundle.js → vendors~main~73914085.a8e03e3b.iframe.bundle.js} +6 -6
  106. package/docs-build/{vendors~main~73914085.3d4f5bbf.iframe.bundle.js.map → vendors~main~73914085.a8e03e3b.iframe.bundle.js.map} +1 -1
  107. package/docs-build/{vendors~main~9c5b28f6.f8614bdc.iframe.bundle.js → vendors~main~9c5b28f6.7b8beed1.iframe.bundle.js} +3 -3
  108. package/docs-build/vendors~main~9c5b28f6.7b8beed1.iframe.bundle.js.map +1 -0
  109. package/docs-build/{vendors~main~b5906859.b606e812.iframe.bundle.js → vendors~main~b5906859.7f66dcaf.iframe.bundle.js} +5 -5
  110. package/docs-build/vendors~main~b5906859.7f66dcaf.iframe.bundle.js.map +1 -0
  111. package/docs-build/{vendors~main~b8f44717.7a612c34.iframe.bundle.js → vendors~main~b8f44717.7053e467.iframe.bundle.js} +3 -3
  112. package/docs-build/vendors~main~b8f44717.7053e467.iframe.bundle.js.map +1 -0
  113. package/docs-build/{vendors~main~b9cf3951.a6200a51.iframe.bundle.js → vendors~main~b9cf3951.a4fd68f5.iframe.bundle.js} +11 -11
  114. package/docs-build/vendors~main~b9cf3951.a4fd68f5.iframe.bundle.js.map +1 -0
  115. package/docs-build/vendors~main~d939e436.ba1cad1b.iframe.bundle.js +2 -0
  116. package/docs-build/vendors~main~d939e436.ba1cad1b.iframe.bundle.js.map +1 -0
  117. package/docs-build/vendors~main~f420d588.59c93444.iframe.bundle.js +107 -0
  118. package/docs-build/vendors~main~f420d588.59c93444.iframe.bundle.js.map +1 -0
  119. package/package.json +1 -1
  120. package/rollup.config.js +1 -1
  121. package/src/components/MapLibreMap/lib/MapLibreGlWrapper.ts +2 -0
  122. package/src/components/MlGeoJsonLayer/util/getDefaultPaintPropsByType.ts +1 -1
  123. package/src/components/MlWmsLoader/MlWmsLoader.tsx +25 -13
  124. package/src/hooks/useLayer.ts +7 -11
  125. package/src/hooks/useMap.ts +4 -2
  126. package/docs-build/0.93d0ce3d.iframe.bundle.js.map +0 -1
  127. package/docs-build/1.2b1ae3fa.iframe.bundle.js.map +0 -1
  128. package/docs-build/16.2c8135a1.iframe.bundle.js.map +0 -1
  129. package/docs-build/17.9a16865a.iframe.bundle.js.map +0 -1
  130. package/docs-build/18.4c47f37e.iframe.bundle.js.map +0 -1
  131. package/docs-build/19.cdf25e28.iframe.bundle.js.map +0 -1
  132. package/docs-build/2.4518b817.iframe.bundle.js.map +0 -1
  133. package/docs-build/20.4c43e27c.iframe.bundle.js.map +0 -1
  134. package/docs-build/21.19c21085.iframe.bundle.js.map +0 -1
  135. package/docs-build/3.5dd9e88b.iframe.bundle.js.map +0 -1
  136. package/docs-build/main~24120820.e0a66582.iframe.bundle.js +0 -2
  137. package/docs-build/main~24120820.e0a66582.iframe.bundle.js.map +0 -1
  138. package/docs-build/stories.json +0 -579
  139. package/docs-build/vendors~main~0ad7406a.22b96f8e.iframe.bundle.js.map +0 -1
  140. package/docs-build/vendors~main~0f485567.df27e62a.iframe.bundle.js +0 -2
  141. package/docs-build/vendors~main~0f485567.df27e62a.iframe.bundle.js.map +0 -1
  142. package/docs-build/vendors~main~41a6ab2c.7f3a1ced.iframe.bundle.js.map +0 -1
  143. package/docs-build/vendors~main~9c5b28f6.f8614bdc.iframe.bundle.js.map +0 -1
  144. package/docs-build/vendors~main~b5906859.b606e812.iframe.bundle.js.map +0 -1
  145. package/docs-build/vendors~main~b8f44717.7a612c34.iframe.bundle.js.map +0 -1
  146. package/docs-build/vendors~main~b9cf3951.a6200a51.iframe.bundle.js.map +0 -1
  147. package/docs-build/vendors~main~d939e436.aa5d1533.iframe.bundle.js +0 -2
  148. package/docs-build/vendors~main~d939e436.aa5d1533.iframe.bundle.js.map +0 -1
  149. package/docs-build/vendors~main~dab50aa4.277284e0.iframe.bundle.js +0 -107
  150. package/docs-build/vendors~main~dab50aa4.277284e0.iframe.bundle.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Change Log
2
2
 
3
+ ## [v0.1.42] - 2022-05-10
4
+
5
+ ### Fixed
6
+ - d974415: fix geojsonlayer default circle color
7
+ ## [v0.1.41] - 2022-05-10
8
+
9
+ ### Fixed
10
+ - 4c1f5b6: fix MlWmsLoader
11
+ - 32e6a3f: fix useLayer reinitialization bug
12
+
3
13
  ## [v0.1.39] - 2022-04-21
4
14
 
5
15
  ### Changed
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1650543717992" clover="3.2.0">
3
- <project timestamp="1650543717993" name="All files">
4
- <metrics statements="1552" coveredstatements="595" conditionals="937" coveredconditionals="288" methods="276" coveredmethods="100" elements="2765" coveredelements="983" complexity="0" loc="1552" ncloc="1552" packages="30" files="36" classes="36"/>
2
+ <coverage generated="1652193615061" clover="3.2.0">
3
+ <project timestamp="1652193615061" name="All files">
4
+ <metrics statements="1552" coveredstatements="595" conditionals="933" coveredconditionals="284" methods="277" coveredmethods="101" elements="2762" coveredelements="980" complexity="0" loc="1552" ncloc="1552" packages="30" files="36" classes="36"/>
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">
@@ -1404,83 +1404,83 @@
1404
1404
  <line num="67" count="0" type="stmt"/>
1405
1405
  <line num="69" count="0" type="stmt"/>
1406
1406
  <line num="70" count="0" type="stmt"/>
1407
- <line num="77" count="0" type="stmt"/>
1408
- <line num="78" count="0" type="stmt"/>
1409
- <line num="79" count="0" type="cond" truecount="0" falsecount="2"/>
1410
- <line num="80" count="0" type="stmt"/>
1411
- <line num="82" count="0" type="stmt"/>
1412
- <line num="83" count="0" type="stmt"/>
1407
+ <line num="84" count="0" type="stmt"/>
1413
1408
  <line num="85" count="0" type="stmt"/>
1414
- <line num="86" count="0" type="stmt"/>
1415
- <line num="88" count="0" type="stmt"/>
1416
- <line num="95" count="0" type="cond" truecount="0" falsecount="2"/>
1417
- <line num="96" count="0" type="stmt"/>
1418
- <line num="97" count="0" type="stmt"/>
1419
- <line num="99" count="0" type="stmt"/>
1409
+ <line num="86" count="0" type="cond" truecount="0" falsecount="2"/>
1410
+ <line num="87" count="0" type="stmt"/>
1411
+ <line num="89" count="0" type="stmt"/>
1412
+ <line num="90" count="0" type="stmt"/>
1413
+ <line num="92" count="0" type="stmt"/>
1414
+ <line num="93" count="0" type="stmt"/>
1415
+ <line num="95" count="0" type="stmt"/>
1416
+ <line num="102" count="0" type="cond" truecount="0" falsecount="2"/>
1420
1417
  <line num="103" count="0" type="stmt"/>
1421
- <line num="104" count="0" type="cond" truecount="0" falsecount="2"/>
1418
+ <line num="104" count="0" type="stmt"/>
1422
1419
  <line num="106" count="0" type="stmt"/>
1423
- <line num="109" count="0" type="stmt"/>
1420
+ <line num="110" count="0" type="stmt"/>
1424
1421
  <line num="111" count="0" type="cond" truecount="0" falsecount="2"/>
1425
- <line num="112" count="0" type="stmt"/>
1426
1422
  <line num="113" count="0" type="stmt"/>
1427
- <line num="114" count="0" type="stmt"/>
1428
- <line num="115" count="0" type="stmt"/>
1429
1423
  <line num="116" count="0" type="stmt"/>
1430
- <line num="117" count="0" type="stmt"/>
1431
- <line num="118" count="0" type="stmt"/>
1432
- <line num="129" count="0" type="cond" truecount="0" falsecount="4"/>
1433
- <line num="130" count="0" type="stmt"/>
1434
- <line num="132" count="0" type="cond" truecount="0" falsecount="4"/>
1435
- <line num="133" count="0" type="stmt"/>
1436
- <line num="146" count="0" type="stmt"/>
1437
- <line num="148" count="0" type="cond" truecount="0" falsecount="2"/>
1438
- <line num="149" count="0" type="stmt"/>
1439
- <line num="150" count="0" type="stmt"/>
1440
- <line num="152" count="0" type="stmt"/>
1441
- <line num="154" count="0" type="stmt"/>
1442
- <line num="159" count="0" type="stmt"/>
1424
+ <line num="118" count="0" type="cond" truecount="0" falsecount="2"/>
1425
+ <line num="119" count="0" type="stmt"/>
1426
+ <line num="120" count="0" type="stmt"/>
1427
+ <line num="121" count="0" type="stmt"/>
1428
+ <line num="122" count="0" type="stmt"/>
1429
+ <line num="123" count="0" type="stmt"/>
1430
+ <line num="124" count="0" type="stmt"/>
1431
+ <line num="125" count="0" type="stmt"/>
1432
+ <line num="137" count="0" type="cond" truecount="0" falsecount="4"/>
1433
+ <line num="139" count="0" type="stmt"/>
1434
+ <line num="142" count="0" type="cond" truecount="0" falsecount="4"/>
1435
+ <line num="144" count="0" type="stmt"/>
1436
+ <line num="157" count="0" type="stmt"/>
1437
+ <line num="159" count="0" type="cond" truecount="0" falsecount="2"/>
1438
+ <line num="160" count="0" type="stmt"/>
1443
1439
  <line num="161" count="0" type="stmt"/>
1444
- <line num="163" count="0" type="cond" truecount="0" falsecount="2"/>
1445
- <line num="164" count="0" type="stmt"/>
1446
- <line num="166" count="0" type="stmt"/>
1447
- <line num="169" count="0" type="stmt"/>
1448
- <line num="170" count="0" type="stmt"/>
1449
- <line num="172" count="0" type="stmt"/>
1450
- <line num="177" count="0" type="stmt"/>
1451
- <line num="178" count="0" type="cond" truecount="0" falsecount="2"/>
1452
- <line num="180" count="0" type="stmt"/>
1440
+ <line num="163" count="0" type="stmt"/>
1441
+ <line num="165" count="0" type="stmt"/>
1442
+ <line num="171" count="0" type="stmt"/>
1443
+ <line num="173" count="0" type="stmt"/>
1444
+ <line num="175" count="0" type="cond" truecount="0" falsecount="2"/>
1445
+ <line num="176" count="0" type="stmt"/>
1446
+ <line num="178" count="0" type="stmt"/>
1447
+ <line num="181" count="0" type="stmt"/>
1453
1448
  <line num="182" count="0" type="stmt"/>
1454
- <line num="183" count="0" type="stmt"/>
1455
1449
  <line num="184" count="0" type="stmt"/>
1456
- <line num="188" count="0" type="stmt"/>
1457
- <line num="189" count="0" type="cond" truecount="0" falsecount="2"/>
1458
- <line num="191" count="0" type="cond" truecount="0" falsecount="2"/>
1450
+ <line num="189" count="0" type="stmt"/>
1451
+ <line num="190" count="0" type="cond" truecount="0" falsecount="2"/>
1459
1452
  <line num="192" count="0" type="stmt"/>
1453
+ <line num="194" count="0" type="stmt"/>
1454
+ <line num="195" count="0" type="stmt"/>
1460
1455
  <line num="196" count="0" type="stmt"/>
1461
1456
  <line num="200" count="0" type="stmt"/>
1462
- <line num="201" count="0" type="stmt"/>
1457
+ <line num="201" count="0" type="cond" truecount="0" falsecount="2"/>
1463
1458
  <line num="203" count="0" type="cond" truecount="0" falsecount="2"/>
1464
1459
  <line num="204" count="0" type="stmt"/>
1465
- <line num="205" count="0" type="cond" truecount="0" falsecount="2"/>
1466
- <line num="206" count="0" type="stmt"/>
1467
- <line num="209" count="0" type="cond" truecount="0" falsecount="2"/>
1468
- <line num="210" count="0" type="stmt"/>
1469
- <line num="215" count="0" type="cond" truecount="0" falsecount="4"/>
1460
+ <line num="208" count="0" type="stmt"/>
1461
+ <line num="212" count="0" type="stmt"/>
1462
+ <line num="213" count="0" type="stmt"/>
1463
+ <line num="215" count="0" type="cond" truecount="0" falsecount="2"/>
1470
1464
  <line num="216" count="0" type="stmt"/>
1471
- <line num="224" count="0" type="stmt"/>
1472
- <line num="225" count="0" type="cond" truecount="0" falsecount="4"/>
1465
+ <line num="217" count="0" type="cond" truecount="0" falsecount="2"/>
1466
+ <line num="218" count="0" type="stmt"/>
1467
+ <line num="221" count="0" type="cond" truecount="0" falsecount="2"/>
1468
+ <line num="222" count="0" type="stmt"/>
1469
+ <line num="227" count="0" type="cond" truecount="0" falsecount="4"/>
1473
1470
  <line num="228" count="0" type="stmt"/>
1474
- <line num="229" count="0" type="stmt"/>
1475
- <line num="230" count="0" type="stmt"/>
1476
- <line num="231" count="0" type="stmt"/>
1477
- <line num="234" count="0" type="stmt"/>
1471
+ <line num="236" count="0" type="stmt"/>
1472
+ <line num="237" count="0" type="cond" truecount="0" falsecount="4"/>
1478
1473
  <line num="240" count="0" type="stmt"/>
1479
- <line num="253" count="0" type="cond" truecount="0" falsecount="2"/>
1480
- <line num="261" count="0" type="stmt"/>
1481
- <line num="262" count="0" type="stmt"/>
1482
- <line num="263" count="0" type="stmt"/>
1483
- <line num="293" count="0" type="stmt"/>
1474
+ <line num="241" count="0" type="stmt"/>
1475
+ <line num="242" count="0" type="stmt"/>
1476
+ <line num="243" count="0" type="stmt"/>
1477
+ <line num="246" count="0" type="stmt"/>
1478
+ <line num="252" count="0" type="stmt"/>
1479
+ <line num="265" count="0" type="cond" truecount="0" falsecount="2"/>
1480
+ <line num="273" count="0" type="stmt"/>
1481
+ <line num="274" count="0" type="stmt"/>
1482
+ <line num="275" count="0" type="stmt"/>
1483
+ <line num="305" count="0" type="stmt"/>
1484
1484
  </file>
1485
1485
  </package>
1486
1486
  <package name="src.contexts">
@@ -1569,9 +1569,9 @@
1569
1569
  </file>
1570
1570
  </package>
1571
1571
  <package name="src.hooks">
1572
- <metrics statements="169" coveredstatements="94" conditionals="105" coveredconditionals="56" methods="27" coveredmethods="16"/>
1572
+ <metrics statements="169" coveredstatements="94" conditionals="101" coveredconditionals="52" methods="28" coveredmethods="17"/>
1573
1573
  <file name="useLayer.ts" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useLayer.ts">
1574
- <metrics statements="57" coveredstatements="43" conditionals="57" coveredconditionals="40" methods="8" coveredmethods="8"/>
1574
+ <metrics statements="56" coveredstatements="42" conditionals="53" coveredconditionals="36" methods="8" coveredmethods="8"/>
1575
1575
  <line num="30" count="12" type="stmt"/>
1576
1576
  <line num="43" count="60" type="stmt"/>
1577
1577
  <line num="48" count="60" type="stmt"/>
@@ -1583,55 +1583,54 @@
1583
1583
  <line num="59" count="60" type="stmt"/>
1584
1584
  <line num="60" count="14" type="cond" truecount="3" falsecount="1"/>
1585
1585
  <line num="61" count="14" type="stmt"/>
1586
- <line num="63" count="14" type="stmt"/>
1587
- <line num="84" count="14" type="stmt"/>
1588
- <line num="86" count="14" type="cond" truecount="1" falsecount="1"/>
1589
- <line num="87" count="0" type="stmt"/>
1590
- <line num="90" count="14" type="cond" truecount="1" falsecount="1"/>
1591
- <line num="91" count="0" type="stmt"/>
1592
- <line num="94" count="14" type="cond" truecount="1" falsecount="1"/>
1593
- <line num="95" count="0" type="stmt"/>
1594
- <line num="98" count="14" type="stmt"/>
1595
- <line num="99" count="14" type="stmt"/>
1596
- <line num="100" count="14" type="stmt"/>
1597
- <line num="103" count="60" type="stmt"/>
1598
- <line num="104" count="60" type="cond" truecount="2" falsecount="0"/>
1599
- <line num="106" count="32" type="cond" truecount="1" falsecount="1"/>
1600
- <line num="113" count="0" type="stmt"/>
1601
- <line num="114" count="32" type="cond" truecount="2" falsecount="0"/>
1602
- <line num="120" count="18" type="stmt"/>
1603
- <line num="123" count="14" type="stmt"/>
1604
- <line num="126" count="60" type="stmt"/>
1605
- <line num="127" count="28" type="cond" truecount="4" falsecount="0"/>
1606
- <line num="128" count="16" type="stmt"/>
1607
- <line num="131" count="12" type="stmt"/>
1608
- <line num="134" count="60" type="stmt"/>
1609
- <line num="135" count="60" type="cond" truecount="5" falsecount="0"/>
1610
- <line num="136" count="28" type="stmt"/>
1611
- <line num="140" count="32" type="stmt"/>
1612
- <line num="141" count="32" type="cond" truecount="3" falsecount="1"/>
1586
+ <line num="63" count="14" type="cond" truecount="1" falsecount="1"/>
1587
+ <line num="65" count="0" type="stmt"/>
1588
+ <line num="68" count="14" type="stmt"/>
1589
+ <line num="89" count="14" type="stmt"/>
1590
+ <line num="91" count="14" type="cond" truecount="1" falsecount="1"/>
1591
+ <line num="92" count="0" type="stmt"/>
1592
+ <line num="95" count="14" type="cond" truecount="1" falsecount="1"/>
1593
+ <line num="96" count="0" type="stmt"/>
1594
+ <line num="99" count="14" type="cond" truecount="1" falsecount="1"/>
1595
+ <line num="100" count="0" type="stmt"/>
1596
+ <line num="103" count="14" type="stmt"/>
1597
+ <line num="104" count="14" type="stmt"/>
1598
+ <line num="105" count="14" type="stmt"/>
1599
+ <line num="108" count="60" type="stmt"/>
1600
+ <line num="109" count="60" type="cond" truecount="2" falsecount="0"/>
1601
+ <line num="111" count="32" type="cond" truecount="2" falsecount="0"/>
1602
+ <line num="117" count="18" type="stmt"/>
1603
+ <line num="120" count="14" type="stmt"/>
1604
+ <line num="123" count="60" type="stmt"/>
1605
+ <line num="124" count="28" type="cond" truecount="4" falsecount="0"/>
1606
+ <line num="127" count="12" type="stmt"/>
1607
+ <line num="130" count="60" type="stmt"/>
1608
+ <line num="131" count="60" type="cond" truecount="5" falsecount="0"/>
1609
+ <line num="132" count="28" type="stmt"/>
1610
+ <line num="136" count="32" type="stmt"/>
1611
+ <line num="137" count="32" type="cond" truecount="3" falsecount="1"/>
1612
+ <line num="138" count="0" type="stmt"/>
1613
+ <line num="140" count="0" type="stmt"/>
1614
+ <line num="141" count="0" type="cond" truecount="0" falsecount="4"/>
1613
1615
  <line num="142" count="0" type="stmt"/>
1614
- <line num="144" count="0" type="stmt"/>
1615
- <line num="145" count="0" type="cond" truecount="0" falsecount="4"/>
1616
- <line num="146" count="0" type="stmt"/>
1617
- <line num="149" count="0" type="stmt"/>
1618
- <line num="152" count="32" type="stmt"/>
1619
- <line num="153" count="32" type="cond" truecount="1" falsecount="1"/>
1620
- <line num="154" count="0" type="stmt"/>
1621
- <line num="155" count="0" type="stmt"/>
1622
- <line num="156" count="0" type="cond" truecount="0" falsecount="4"/>
1623
- <line num="157" count="0" type="stmt"/>
1624
- <line num="160" count="0" type="stmt"/>
1625
- <line num="164" count="60" type="stmt"/>
1626
- <line num="165" count="7" type="stmt"/>
1627
- <line num="166" count="7" type="stmt"/>
1628
- <line num="169" count="60" type="stmt"/>
1629
- <line num="170" count="14" type="stmt"/>
1630
- <line num="171" count="7" type="stmt"/>
1631
- <line num="175" count="60" type="stmt"/>
1616
+ <line num="145" count="0" type="stmt"/>
1617
+ <line num="148" count="32" type="stmt"/>
1618
+ <line num="149" count="32" type="cond" truecount="1" falsecount="1"/>
1619
+ <line num="150" count="0" type="stmt"/>
1620
+ <line num="151" count="0" type="stmt"/>
1621
+ <line num="152" count="0" type="cond" truecount="0" falsecount="4"/>
1622
+ <line num="153" count="0" type="stmt"/>
1623
+ <line num="156" count="0" type="stmt"/>
1624
+ <line num="160" count="60" type="stmt"/>
1625
+ <line num="161" count="7" type="stmt"/>
1626
+ <line num="162" count="7" type="stmt"/>
1627
+ <line num="165" count="60" type="stmt"/>
1628
+ <line num="166" count="14" type="stmt"/>
1629
+ <line num="167" count="7" type="stmt"/>
1630
+ <line num="171" count="60" type="stmt"/>
1632
1631
  </file>
1633
1632
  <file name="useMap.ts" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useMap.ts">
1634
- <metrics statements="29" coveredstatements="23" conditionals="14" coveredconditionals="8" methods="5" coveredmethods="4"/>
1633
+ <metrics statements="30" coveredstatements="24" conditionals="14" coveredconditionals="8" methods="6" coveredmethods="5"/>
1635
1634
  <line num="17" count="169" type="stmt"/>
1636
1635
  <line num="18" count="169" type="stmt"/>
1637
1636
  <line num="20" count="169" type="stmt"/>
@@ -1644,23 +1643,24 @@
1644
1643
  <line num="41" count="23" type="stmt"/>
1645
1644
  <line num="42" count="23" type="stmt"/>
1646
1645
  <line num="44" count="30" type="stmt"/>
1647
- <line num="45" count="30" type="stmt"/>
1648
- <line num="48" count="169" type="stmt"/>
1649
- <line num="49" count="48" type="stmt"/>
1650
- <line num="52" count="169" type="stmt"/>
1651
- <line num="53" count="96" type="cond" truecount="4" falsecount="0"/>
1652
- <line num="57" count="48" type="cond" truecount="1" falsecount="1"/>
1653
- <line num="58" count="0" type="stmt"/>
1646
+ <line num="47" count="169" type="stmt"/>
1647
+ <line num="48" count="48" type="stmt"/>
1648
+ <line num="49" count="23" type="stmt"/>
1649
+ <line num="50" count="23" type="stmt"/>
1650
+ <line num="54" count="169" type="stmt"/>
1651
+ <line num="55" count="96" type="cond" truecount="4" falsecount="0"/>
1652
+ <line num="59" count="48" type="cond" truecount="1" falsecount="1"/>
1654
1653
  <line num="60" count="0" type="stmt"/>
1655
- <line num="61" count="0" type="cond" truecount="0" falsecount="2"/>
1656
1654
  <line num="62" count="0" type="stmt"/>
1657
- <line num="65" count="0" type="cond" truecount="0" falsecount="2"/>
1658
- <line num="66" count="0" type="stmt"/>
1659
- <line num="71" count="48" type="stmt"/>
1660
- <line num="72" count="48" type="stmt"/>
1655
+ <line num="63" count="0" type="cond" truecount="0" falsecount="2"/>
1656
+ <line num="64" count="0" type="stmt"/>
1657
+ <line num="67" count="0" type="cond" truecount="0" falsecount="2"/>
1658
+ <line num="68" count="0" type="stmt"/>
1661
1659
  <line num="73" count="48" type="stmt"/>
1662
1660
  <line num="74" count="48" type="stmt"/>
1663
- <line num="77" count="169" type="stmt"/>
1661
+ <line num="75" count="48" type="stmt"/>
1662
+ <line num="76" count="48" type="stmt"/>
1663
+ <line num="79" count="169" type="stmt"/>
1664
1664
  </file>
1665
1665
  <file name="useMapState.ts" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useMapState.ts">
1666
1666
  <metrics statements="48" coveredstatements="27" conditionals="26" coveredconditionals="8" methods="7" coveredmethods="4"/>