@mapcomponents/react-maplibre 0.1.59 → 0.1.61

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 (113) hide show
  1. package/.eslintignore +2 -1
  2. package/CHANGELOG.md +15 -0
  3. package/coverage/clover.xml +142 -47
  4. package/coverage/coverage-final.json +5 -4
  5. package/coverage/lcov-report/index.html +36 -21
  6. package/coverage/lcov-report/src/components/MapLibreMap/MapLibreMap.tsx.html +1 -1
  7. package/coverage/lcov-report/src/components/MapLibreMap/index.html +1 -1
  8. package/coverage/lcov-report/src/components/MlCenterPosition/MlCenterPosition.tsx.html +1 -1
  9. package/coverage/lcov-report/src/components/MlCenterPosition/index.html +1 -1
  10. package/coverage/lcov-report/src/components/MlCreatePdfButton/MlCreatePdfButton.tsx.html +1 -1
  11. package/coverage/lcov-report/src/components/MlCreatePdfButton/index.html +1 -1
  12. package/coverage/lcov-report/src/components/MlCreatePdfForm/MlCreatePdfForm.tsx.html +2 -2
  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 +1 -1
  19. package/coverage/lcov-report/src/components/MlFollowGps/index.html +1 -1
  20. package/coverage/lcov-report/src/components/MlGPXViewer/MlGPXViewer.tsx.html +1 -1
  21. package/coverage/lcov-report/src/components/MlGPXViewer/gpxConverter.js.html +1 -1
  22. package/coverage/lcov-report/src/components/MlGPXViewer/index.html +1 -1
  23. package/coverage/lcov-report/src/components/MlGeoJsonLayer/MlGeoJsonLayer.tsx.html +1 -1
  24. package/coverage/lcov-report/src/components/MlGeoJsonLayer/index.html +1 -1
  25. package/coverage/lcov-report/src/components/MlGeojsonLayerWithSource/MlGeojsonLayerWithSource.tsx.html +1 -1
  26. package/coverage/lcov-report/src/components/MlGeojsonLayerWithSource/index.html +1 -1
  27. package/coverage/lcov-report/src/components/MlImageMarkerLayer/MlImageMarkerLayer.tsx.html +1 -1
  28. package/coverage/lcov-report/src/components/MlImageMarkerLayer/index.html +1 -1
  29. package/coverage/lcov-report/src/components/MlLayer/MlLayer.tsx.html +1 -1
  30. package/coverage/lcov-report/src/components/MlLayer/index.html +1 -1
  31. package/coverage/lcov-report/src/components/MlLayerMagnify/MlLayerMagnify.tsx.html +1 -1
  32. package/coverage/lcov-report/src/components/MlLayerMagnify/index.html +1 -1
  33. package/coverage/lcov-report/src/components/MlLayerSwipe/MlLayerSwipe.tsx.html +1 -1
  34. package/coverage/lcov-report/src/components/MlLayerSwipe/index.html +1 -1
  35. package/coverage/lcov-report/src/components/MlLayerSwitcher/MlLayerSwitcher.js.html +1 -1
  36. package/coverage/lcov-report/src/components/MlLayerSwitcher/components/LayerBox.js.html +1 -1
  37. package/coverage/lcov-report/src/components/MlLayerSwitcher/components/index.html +1 -1
  38. package/coverage/lcov-report/src/components/MlLayerSwitcher/index.html +1 -1
  39. package/coverage/lcov-report/src/components/MlMarker/MlMarker.tsx.html +1 -1
  40. package/coverage/lcov-report/src/components/MlMarker/index.html +1 -1
  41. package/coverage/lcov-report/src/components/MlMeasureTool/MlMeasureTool.tsx.html +1 -1
  42. package/coverage/lcov-report/src/components/MlMeasureTool/index.html +1 -1
  43. package/coverage/lcov-report/src/components/MlNavigationCompass/MlNavigationCompass.tsx.html +1 -1
  44. package/coverage/lcov-report/src/components/MlNavigationCompass/index.html +1 -1
  45. package/coverage/lcov-report/src/components/MlNavigationTools/MlNavigationTools.tsx.html +1 -1
  46. package/coverage/lcov-report/src/components/MlNavigationTools/index.html +1 -1
  47. package/coverage/lcov-report/src/components/MlOsmLayer/MlOsmLayer.js.html +1 -1
  48. package/coverage/lcov-report/src/components/MlOsmLayer/MlOsmLayer.stories_.js.html +1 -1
  49. package/coverage/lcov-report/src/components/MlOsmLayer/index.html +1 -1
  50. package/coverage/lcov-report/src/components/MlScaleReference/MlScaleReference.js.html +1 -1
  51. package/coverage/lcov-report/src/components/MlScaleReference/index.html +1 -1
  52. package/coverage/lcov-report/src/components/MlShareMapState/MlShareMapState.js.html +1 -1
  53. package/coverage/lcov-report/src/components/MlShareMapState/index.html +1 -1
  54. package/coverage/lcov-report/src/components/MlSpatialElevationProfile/MlSpatialElevationProfile.js.html +1 -1
  55. package/coverage/lcov-report/src/components/MlSpatialElevationProfile/index.html +1 -1
  56. package/coverage/lcov-report/src/components/MlThreeJsLayer/MlThreeJsLayer.js.html +1 -1
  57. package/coverage/lcov-report/src/components/MlThreeJsLayer/index.html +1 -1
  58. package/coverage/lcov-report/src/components/MlTransitionGeoJsonLayer/MlTransitionGeoJsonLayer.tsx.html +1 -1
  59. package/coverage/lcov-report/src/components/MlTransitionGeoJsonLayer/index.html +1 -1
  60. package/coverage/lcov-report/src/components/MlUseMapDebugger/MlUseMapDebugger.js.html +1 -1
  61. package/coverage/lcov-report/src/components/MlUseMapDebugger/index.html +1 -1
  62. package/coverage/lcov-report/src/components/MlVectorTileLayer/MlVectorTileLayer.tsx.html +92 -146
  63. package/coverage/lcov-report/src/components/MlVectorTileLayer/index.html +21 -21
  64. package/coverage/lcov-report/src/components/MlWmsFeatureInfoPopup/MlWmsFeatureInfoPopup.js.html +1 -1
  65. package/coverage/lcov-report/src/components/MlWmsFeatureInfoPopup/index.html +1 -1
  66. package/coverage/lcov-report/src/components/MlWmsLayer/MlWmsLayer.tsx.html +1 -1
  67. package/coverage/lcov-report/src/components/MlWmsLayer/index.html +1 -1
  68. package/coverage/lcov-report/src/components/MlWmsLoader/MlWmsLoader.tsx.html +1 -1
  69. package/coverage/lcov-report/src/components/MlWmsLoader/index.html +1 -1
  70. package/coverage/lcov-report/src/contexts/MapContext.tsx.html +1 -1
  71. package/coverage/lcov-report/src/contexts/SimpleDataContext.js.html +1 -1
  72. package/coverage/lcov-report/src/contexts/SimpleDataProvider.js.html +1 -1
  73. package/coverage/lcov-report/src/contexts/index.html +1 -1
  74. package/coverage/lcov-report/src/hooks/index.html +1 -1
  75. package/coverage/lcov-report/src/hooks/useCameraFollowPath/index.html +116 -0
  76. package/coverage/lcov-report/src/hooks/useCameraFollowPath/useCameraFollowPath.tsx.html +661 -0
  77. package/coverage/lcov-report/src/hooks/{exportMap → useExportMap}/index.html +3 -3
  78. package/coverage/lcov-report/src/hooks/{exportMap → useExportMap}/index.ts.html +4 -4
  79. package/coverage/lcov-report/src/hooks/{exportMap → useExportMap}/lib.ts.html +4 -4
  80. package/coverage/lcov-report/src/hooks/useLayer.ts.html +1 -1
  81. package/coverage/lcov-report/src/hooks/useLayerEvent.js.html +1 -1
  82. package/coverage/lcov-report/src/hooks/useMap.ts.html +4 -4
  83. package/coverage/lcov-report/src/hooks/useMapState.ts.html +1 -1
  84. package/coverage/lcov-report/src/hooks/useSource.ts.html +1 -1
  85. package/coverage/lcov-report/src/hooks/useWms.js.html +1 -1
  86. package/coverage/lcov-report/src/index.html +1 -1
  87. package/coverage/lcov-report/src/index.ts.html +6 -3
  88. package/coverage/lcov.info +270 -76
  89. package/dist/components/MlCreatePdfForm/MlCreatePdfForm.d.ts +1 -1
  90. package/dist/components/MlCreatePdfForm/lib/PdfForm.d.ts +1 -1
  91. package/dist/components/MlVectorTileLayer/MlVectorTileLayer.d.ts +5 -24
  92. package/dist/hooks/useCameraFollowPath/useCameraFollowPath.d.ts +35 -0
  93. package/dist/hooks/useCameraFollowPath/useCameraFollowPath.stories.d.ts +17 -0
  94. package/dist/hooks/useExportMap/index.d.ts +11 -0
  95. package/dist/hooks/useExportMap/lib.d.ts +36 -0
  96. package/dist/index.d.ts +2 -1
  97. package/dist/index.esm.js +209 -63
  98. package/dist/index.esm.js.map +1 -1
  99. package/package.json +2 -1
  100. package/scripts/build-catalogue-meta.js +1 -1
  101. package/src/components/MlCreatePdfForm/MlCreatePdfForm.tsx +1 -1
  102. package/src/components/MlCreatePdfForm/lib/PdfForm.tsx +5 -5
  103. package/src/components/MlVectorTileLayer/MlVectorTileLayer.stories.js +15 -9
  104. package/src/components/MlVectorTileLayer/MlVectorTileLayer.test.js +7 -6
  105. package/src/components/MlVectorTileLayer/MlVectorTileLayer.tsx +59 -77
  106. package/src/hooks/useCameraFollowPath/useCameraFollowPath.doc.de.md +4 -0
  107. package/src/hooks/useCameraFollowPath/useCameraFollowPath.doc.en.md +1 -0
  108. package/src/hooks/useCameraFollowPath/useCameraFollowPath.meta.json +15 -0
  109. package/src/hooks/useCameraFollowPath/useCameraFollowPath.stories.tsx +198 -0
  110. package/src/hooks/useCameraFollowPath/useCameraFollowPath.tsx +192 -0
  111. package/src/hooks/{exportMap → useExportMap}/index.ts +1 -1
  112. package/src/hooks/{exportMap → useExportMap}/lib.ts +1 -1
  113. package/src/index.ts +2 -1
package/.eslintignore CHANGED
@@ -8,4 +8,5 @@ docs
8
8
  docs-build
9
9
  js-docs
10
10
  node_modules
11
- storybook-static
11
+ storybook-static
12
+ scripts
package/CHANGELOG.md CHANGED
@@ -1,6 +1,20 @@
1
1
  # Change Log
2
2
 
3
3
 
4
+ ## [v0.1.61] - 2022-11-16
5
+
6
+ ### Added
7
+ - 63f11bc: add useCameraFollowPath
8
+
9
+ ## [v0.1.60] - 2022-11-04
10
+
11
+ ### Fixed
12
+ - bc71b1f: Fix/use export map hook (#39)
13
+
14
+ ### Changed
15
+
16
+ - 7687eec: change MlVectorTileLayer layers prop type from object to array
17
+
4
18
  ## [v0.1.59] - 2022-10-04
5
19
 
6
20
  ### Fixed
@@ -9,6 +23,7 @@
9
23
  ## [v0.1.58] - 2022-10-04
10
24
 
11
25
  ### Added
26
+
12
27
  - 6be40b7: automatic eslint & prettier tests as GitHub action
13
28
  - 396b1b7: useSource hook
14
29
  - 67d88a0: add MlCreatePdfForm component & useExportMap hook providing more sophisticated control on the PDF creation process such as a preview of the PDF area with drag&drop, resize & rotation functionality as well as controlls over the paper size, quality & orientation
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1664885473517" clover="3.2.0">
3
- <project timestamp="1664885473517" name="All files">
4
- <metrics statements="1772" coveredstatements="636" conditionals="1080" coveredconditionals="305" methods="326" coveredmethods="105" elements="3178" coveredelements="1046" complexity="0" loc="1772" ncloc="1772" packages="35" files="45" classes="45"/>
2
+ <coverage generated="1668603119382" clover="3.2.0">
3
+ <project timestamp="1668603119383" name="All files">
4
+ <metrics statements="1861" coveredstatements="643" conditionals="1140" coveredconditionals="313" methods="344" coveredmethods="109" elements="3345" coveredelements="1065" complexity="0" loc="1861" ncloc="1861" packages="36" files="46" classes="46"/>
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">
@@ -1406,51 +1406,55 @@
1406
1406
  </file>
1407
1407
  </package>
1408
1408
  <package name="src.components.MlVectorTileLayer">
1409
- <metrics statements="42" coveredstatements="34" conditionals="22" coveredconditionals="13" methods="5" coveredmethods="4"/>
1409
+ <metrics statements="46" coveredstatements="39" conditionals="32" coveredconditionals="21" methods="9" coveredmethods="8"/>
1410
1410
  <file name="MlVectorTileLayer.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlVectorTileLayer/MlVectorTileLayer.tsx">
1411
- <metrics statements="42" coveredstatements="34" conditionals="22" coveredconditionals="13" methods="5" coveredmethods="4"/>
1412
- <line num="20" count="10" type="stmt"/>
1413
- <line num="21" count="12" type="stmt"/>
1414
- <line num="26" count="12" type="stmt"/>
1411
+ <metrics statements="46" coveredstatements="39" conditionals="32" coveredconditionals="21" methods="9" coveredmethods="8"/>
1412
+ <line num="21" count="10" type="stmt"/>
1413
+ <line num="22" count="12" type="stmt"/>
1415
1414
  <line num="27" count="12" type="cond" truecount="2" falsecount="0"/>
1416
1415
  <line num="28" count="12" type="stmt"/>
1417
1416
  <line num="29" count="12" type="stmt"/>
1418
1417
  <line num="30" count="12" type="stmt"/>
1419
1418
  <line num="32" count="12" type="stmt"/>
1420
- <line num="33" count="8" type="cond" truecount="2" falsecount="0"/>
1421
- <line num="35" count="4" type="stmt"/>
1422
- <line num="37" count="4" type="cond" truecount="1" falsecount="1"/>
1423
- <line num="38" count="0" type="stmt"/>
1424
- <line num="42" count="4" type="stmt"/>
1425
- <line num="54" count="4" type="stmt"/>
1426
- <line num="55" count="4" type="stmt"/>
1427
- <line num="56" count="4" type="stmt"/>
1428
- <line num="58" count="4" type="stmt"/>
1429
- <line num="76" count="4" type="stmt"/>
1430
- <line num="77" count="4" type="stmt"/>
1431
- <line num="80" count="4" type="stmt"/>
1432
- <line num="83" count="0" type="cond" truecount="0" falsecount="4"/>
1433
- <line num="84" count="0" type="stmt"/>
1434
- <line num="85" count="0" type="stmt"/>
1435
- <line num="93" count="12" type="stmt"/>
1436
- <line num="94" count="8" type="cond" truecount="1" falsecount="1"/>
1437
- <line num="96" count="8" type="stmt"/>
1438
- <line num="99" count="12" type="stmt"/>
1439
- <line num="100" count="8" type="cond" truecount="4" falsecount="0"/>
1440
- <line num="102" count="4" type="stmt"/>
1441
- <line num="103" count="4" type="cond" truecount="1" falsecount="1"/>
1442
- <line num="105" count="4" type="stmt"/>
1443
- <line num="107" count="4" type="cond" truecount="1" falsecount="1"/>
1444
- <line num="108" count="0" type="stmt"/>
1419
+ <line num="33" count="12" type="cond" truecount="2" falsecount="0"/>
1420
+ <line num="35" count="8" type="stmt"/>
1421
+ <line num="37" count="8" type="cond" truecount="2" falsecount="0"/>
1422
+ <line num="38" count="4" type="stmt"/>
1423
+ <line num="42" count="8" type="stmt"/>
1424
+ <line num="54" count="8" type="stmt"/>
1425
+ <line num="55" count="8" type="cond" truecount="1" falsecount="1"/>
1426
+ <line num="56" count="8" type="stmt"/>
1427
+ <line num="72" count="8" type="stmt"/>
1428
+ <line num="73" count="8" type="stmt"/>
1429
+ <line num="76" count="8" type="stmt"/>
1430
+ <line num="79" count="0" type="cond" truecount="0" falsecount="4"/>
1431
+ <line num="80" count="0" type="stmt"/>
1432
+ <line num="81" count="0" type="stmt"/>
1433
+ <line num="89" count="12" type="stmt"/>
1434
+ <line num="90" count="4" type="cond" truecount="1" falsecount="1"/>
1435
+ <line num="92" count="4" type="stmt"/>
1436
+ <line num="93" count="4" type="cond" truecount="1" falsecount="1"/>
1437
+ <line num="94" count="4" type="cond" truecount="1" falsecount="1"/>
1438
+ <line num="96" count="4" type="stmt"/>
1439
+ <line num="98" count="4" type="cond" truecount="1" falsecount="1"/>
1440
+ <line num="99" count="0" type="stmt"/>
1441
+ <line num="100" count="0" type="stmt"/>
1442
+ <line num="103" count="4" type="stmt"/>
1443
+ <line num="106" count="4" type="stmt"/>
1444
+ <line num="108" count="4" type="cond" truecount="1" falsecount="1"/>
1445
1445
  <line num="109" count="0" type="stmt"/>
1446
- <line num="116" count="4" type="stmt"/>
1447
- <line num="119" count="4" type="stmt"/>
1448
- <line num="121" count="4" type="cond" truecount="1" falsecount="1"/>
1449
- <line num="122" count="0" type="stmt"/>
1450
- <line num="123" count="0" type="stmt"/>
1451
- <line num="130" count="4" type="stmt"/>
1452
- <line num="135" count="12" type="stmt"/>
1453
- <line num="138" count="10" type="stmt"/>
1446
+ <line num="110" count="0" type="stmt"/>
1447
+ <line num="113" count="4" type="stmt"/>
1448
+ <line num="119" count="12" type="stmt"/>
1449
+ <line num="120" count="8" type="cond" truecount="1" falsecount="1"/>
1450
+ <line num="121" count="8" type="stmt"/>
1451
+ <line num="125" count="12" type="stmt"/>
1452
+ <line num="126" count="8" type="cond" truecount="4" falsecount="0"/>
1453
+ <line num="127" count="4" type="stmt"/>
1454
+ <line num="131" count="12" type="stmt"/>
1455
+ <line num="132" count="8" type="cond" truecount="4" falsecount="0"/>
1456
+ <line num="133" count="4" type="stmt"/>
1457
+ <line num="136" count="12" type="stmt"/>
1454
1458
  </file>
1455
1459
  </package>
1456
1460
  <package name="src.components.MlWmsFeatureInfoPopup">
@@ -1806,9 +1810,9 @@
1806
1810
  <line num="36" count="211" type="stmt"/>
1807
1811
  <line num="38" count="211" type="stmt"/>
1808
1812
  <line num="40" count="211" type="stmt"/>
1809
- <line num="41" count="39" type="cond" truecount="2" falsecount="0"/>
1810
- <line num="42" count="29" type="stmt"/>
1811
- <line num="44" count="39" type="stmt"/>
1813
+ <line num="41" count="43" type="cond" truecount="2" falsecount="0"/>
1814
+ <line num="42" count="33" type="stmt"/>
1815
+ <line num="44" count="43" type="stmt"/>
1812
1816
  <line num="47" count="211" type="stmt"/>
1813
1817
  <line num="48" count="57" type="stmt"/>
1814
1818
  <line num="49" count="26" type="stmt"/>
@@ -1948,9 +1952,100 @@
1948
1952
  <line num="82" count="10" type="stmt"/>
1949
1953
  </file>
1950
1954
  </package>
1951
- <package name="src.hooks.exportMap">
1955
+ <package name="src.hooks.useCameraFollowPath">
1956
+ <metrics statements="85" coveredstatements="2" conditionals="50" coveredconditionals="0" methods="14" coveredmethods="0"/>
1957
+ <file name="useCameraFollowPath.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useCameraFollowPath/useCameraFollowPath.tsx">
1958
+ <metrics statements="85" coveredstatements="2" conditionals="50" coveredconditionals="0" methods="14" coveredmethods="0"/>
1959
+ <line num="40" count="10" type="stmt"/>
1960
+ <line num="43" count="0" type="stmt"/>
1961
+ <line num="44" count="0" type="stmt"/>
1962
+ <line num="45" count="0" type="stmt"/>
1963
+ <line num="46" count="0" type="stmt"/>
1964
+ <line num="47" count="0" type="stmt"/>
1965
+ <line num="48" count="0" type="stmt"/>
1966
+ <line num="49" count="0" type="stmt"/>
1967
+ <line num="51" count="0" type="cond" truecount="0" falsecount="2"/>
1968
+ <line num="52" count="0" type="stmt"/>
1969
+ <line num="53" count="0" type="cond" truecount="0" falsecount="2"/>
1970
+ <line num="55" count="0" type="stmt"/>
1971
+ <line num="60" count="0" type="stmt"/>
1972
+ <line num="61" count="0" type="stmt"/>
1973
+ <line num="62" count="0" type="cond" truecount="0" falsecount="2"/>
1974
+ <line num="63" count="0" type="stmt"/>
1975
+ <line num="66" count="0" type="stmt"/>
1976
+ <line num="67" count="0" type="cond" truecount="0" falsecount="2"/>
1977
+ <line num="68" count="0" type="stmt"/>
1978
+ <line num="69" count="0" type="cond" truecount="0" falsecount="4"/>
1979
+ <line num="70" count="0" type="stmt"/>
1980
+ <line num="73" count="0" type="stmt"/>
1981
+ <line num="74" count="0" type="cond" truecount="0" falsecount="2"/>
1982
+ <line num="75" count="0" type="stmt"/>
1983
+ <line num="76" count="0" type="cond" truecount="0" falsecount="4"/>
1984
+ <line num="77" count="0" type="stmt"/>
1985
+ <line num="80" count="0" type="stmt"/>
1986
+ <line num="81" count="0" type="stmt"/>
1987
+ <line num="84" count="0" type="stmt"/>
1988
+ <line num="85" count="0" type="cond" truecount="0" falsecount="2"/>
1989
+ <line num="86" count="0" type="stmt"/>
1990
+ <line num="87" count="0" type="stmt"/>
1991
+ <line num="88" count="0" type="stmt"/>
1992
+ <line num="89" count="0" type="stmt"/>
1993
+ <line num="90" count="0" type="stmt"/>
1994
+ <line num="91" count="0" type="stmt"/>
1995
+ <line num="92" count="0" type="stmt"/>
1996
+ <line num="94" count="0" type="stmt"/>
1997
+ <line num="95" count="0" type="cond" truecount="0" falsecount="2"/>
1998
+ <line num="96" count="0" type="stmt"/>
1999
+ <line num="97" count="0" type="stmt"/>
2000
+ <line num="98" count="0" type="stmt"/>
2001
+ <line num="99" count="0" type="stmt"/>
2002
+ <line num="100" count="0" type="stmt"/>
2003
+ <line num="101" count="0" type="stmt"/>
2004
+ <line num="102" count="0" type="stmt"/>
2005
+ <line num="106" count="0" type="cond" truecount="0" falsecount="4"/>
2006
+ <line num="107" count="0" type="stmt"/>
2007
+ <line num="109" count="0" type="cond" truecount="0" falsecount="4"/>
2008
+ <line num="110" count="0" type="stmt"/>
2009
+ <line num="114" count="0" type="stmt"/>
2010
+ <line num="118" count="0" type="cond" truecount="0" falsecount="2"/>
2011
+ <line num="120" count="0" type="cond" truecount="0" falsecount="2"/>
2012
+ <line num="121" count="0" type="stmt"/>
2013
+ <line num="122" count="0" type="cond" truecount="0" falsecount="4"/>
2014
+ <line num="123" count="0" type="stmt"/>
2015
+ <line num="126" count="0" type="stmt"/>
2016
+ <line num="129" count="0" type="cond" truecount="0" falsecount="2"/>
2017
+ <line num="130" count="0" type="stmt"/>
2018
+ <line num="139" count="0" type="cond" truecount="0" falsecount="2"/>
2019
+ <line num="140" count="0" type="stmt"/>
2020
+ <line num="142" count="0" type="stmt"/>
2021
+ <line num="144" count="0" type="stmt"/>
2022
+ <line num="145" count="0" type="stmt"/>
2023
+ <line num="146" count="0" type="stmt"/>
2024
+ <line num="149" count="0" type="stmt"/>
2025
+ <line num="150" count="0" type="stmt"/>
2026
+ <line num="151" count="0" type="stmt"/>
2027
+ <line num="152" count="0" type="stmt"/>
2028
+ <line num="153" count="0" type="stmt"/>
2029
+ <line num="156" count="0" type="stmt"/>
2030
+ <line num="161" count="0" type="cond" truecount="0" falsecount="2"/>
2031
+ <line num="162" count="0" type="stmt"/>
2032
+ <line num="163" count="0" type="stmt"/>
2033
+ <line num="164" count="0" type="stmt"/>
2034
+ <line num="167" count="0" type="stmt"/>
2035
+ <line num="168" count="0" type="cond" truecount="0" falsecount="4"/>
2036
+ <line num="169" count="0" type="stmt"/>
2037
+ <line num="170" count="0" type="stmt"/>
2038
+ <line num="173" count="0" type="stmt"/>
2039
+ <line num="174" count="0" type="stmt"/>
2040
+ <line num="175" count="0" type="cond" truecount="0" falsecount="2"/>
2041
+ <line num="176" count="0" type="stmt"/>
2042
+ <line num="181" count="0" type="stmt"/>
2043
+ <line num="187" count="10" type="stmt"/>
2044
+ </file>
2045
+ </package>
2046
+ <package name="src.hooks.useExportMap">
1952
2047
  <metrics statements="57" coveredstatements="1" conditionals="14" coveredconditionals="0" methods="15" coveredmethods="0"/>
1953
- <file name="index.ts" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/exportMap/index.ts">
2048
+ <file name="index.ts" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useExportMap/index.ts">
1954
2049
  <metrics statements="7" coveredstatements="0" conditionals="2" coveredconditionals="0" methods="3" coveredmethods="0"/>
1955
2050
  <line num="14" count="0" type="stmt"/>
1956
2051
  <line num="16" count="0" type="stmt"/>
@@ -1960,7 +2055,7 @@
1960
2055
  <line num="24" count="0" type="stmt"/>
1961
2056
  <line num="27" count="0" type="stmt"/>
1962
2057
  </file>
1963
- <file name="lib.ts" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/exportMap/lib.ts">
2058
+ <file name="lib.ts" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useExportMap/lib.ts">
1964
2059
  <metrics statements="50" coveredstatements="1" conditionals="12" coveredconditionals="0" methods="12" coveredmethods="0"/>
1965
2060
  <line num="20" count="10" type="stmt"/>
1966
2061
  <line num="21" count="0" type="stmt"/>