@mapcomponents/react-maplibre 0.1.21 → 0.1.22
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.
- package/coverage/clover.xml +59 -56
- package/coverage/coverage-final.json +2 -2
- package/coverage/lcov-report/index.html +21 -21
- package/coverage/lcov-report/src/components/MapLibreMap/MapLibreMap.js.html +1 -1
- package/coverage/lcov-report/src/components/MapLibreMap/index.html +1 -1
- package/coverage/lcov-report/src/components/MlCreatePdfButton/MlCreatePdfButton.js.html +1 -1
- package/coverage/lcov-report/src/components/MlCreatePdfButton/index.html +1 -1
- package/coverage/lcov-report/src/components/MlFeatureEditor/MlFeatureEditor.js.html +1 -1
- package/coverage/lcov-report/src/components/MlFeatureEditor/index.html +1 -1
- package/coverage/lcov-report/src/components/MlFillExtrusionLayer/MlFillExtrusionLayer.js.html +1 -1
- package/coverage/lcov-report/src/components/MlFillExtrusionLayer/index.html +1 -1
- package/coverage/lcov-report/src/components/MlFollowGps/MlFollowGps.js.html +1 -1
- package/coverage/lcov-report/src/components/MlFollowGps/index.html +1 -1
- package/coverage/lcov-report/src/components/MlGPXViewer/MlGPXViewer.js.html +1 -1
- package/coverage/lcov-report/src/components/MlGPXViewer/gpxConverter.js.html +1 -1
- package/coverage/lcov-report/src/components/MlGPXViewer/index.html +1 -1
- package/coverage/lcov-report/src/components/MlGeoJsonLayer/MlGeoJsonLayer.js.html +1 -1
- package/coverage/lcov-report/src/components/MlGeoJsonLayer/index.html +1 -1
- package/coverage/lcov-report/src/components/MlImageMarkerLayer/MlImageMarkerLayer.js.html +1 -1
- package/coverage/lcov-report/src/components/MlImageMarkerLayer/index.html +1 -1
- package/coverage/lcov-report/src/components/MlLayer/MlLayer.js.html +1 -1
- package/coverage/lcov-report/src/components/MlLayer/index.html +1 -1
- package/coverage/lcov-report/src/components/MlLayerMagnify/MlLayerMagnify.js.html +1 -1
- package/coverage/lcov-report/src/components/MlLayerMagnify/index.html +1 -1
- package/coverage/lcov-report/src/components/MlLayerSwipe/MlLayerSwipe.js.html +1 -1
- package/coverage/lcov-report/src/components/MlLayerSwipe/index.html +1 -1
- package/coverage/lcov-report/src/components/MlLayerSwitcher/MlLayerSwitcher.js.html +1 -1
- package/coverage/lcov-report/src/components/MlLayerSwitcher/components/LayerBox.js.html +1 -1
- package/coverage/lcov-report/src/components/MlLayerSwitcher/components/index.html +1 -1
- package/coverage/lcov-report/src/components/MlLayerSwitcher/index.html +1 -1
- package/coverage/lcov-report/src/components/MlMarker/MlMarker.js.html +1 -1
- package/coverage/lcov-report/src/components/MlMarker/index.html +1 -1
- package/coverage/lcov-report/src/components/MlNavigationCompass/MlNavigationCompass.js.html +1 -1
- package/coverage/lcov-report/src/components/MlNavigationCompass/index.html +1 -1
- package/coverage/lcov-report/src/components/MlNavigationTools/MlNavigationTools.js.html +1 -1
- package/coverage/lcov-report/src/components/MlNavigationTools/index.html +1 -1
- package/coverage/lcov-report/src/components/MlOsmLayer/MlOsmLayer.js.html +1 -1
- package/coverage/lcov-report/src/components/MlOsmLayer/index.html +1 -1
- package/coverage/lcov-report/src/components/MlScaleReference/MlScaleReference.js.html +1 -1
- package/coverage/lcov-report/src/components/MlScaleReference/index.html +1 -1
- package/coverage/lcov-report/src/components/MlShareMapState/MlShareMapState.js.html +1 -1
- package/coverage/lcov-report/src/components/MlShareMapState/index.html +1 -1
- package/coverage/lcov-report/src/components/MlSpatialElevationProfile/MlSpatialElevationProfile.js.html +1 -1
- package/coverage/lcov-report/src/components/MlSpatialElevationProfile/index.html +1 -1
- package/coverage/lcov-report/src/components/MlThreeJsLayer/MlThreeJsLayer.js.html +1 -1
- package/coverage/lcov-report/src/components/MlThreeJsLayer/index.html +1 -1
- package/coverage/lcov-report/src/components/MlUseMapDebugger/MlUseMapDebugger.js.html +1 -1
- package/coverage/lcov-report/src/components/MlUseMapDebugger/index.html +1 -1
- package/coverage/lcov-report/src/components/MlVectorTileLayer/MlVectorTileLayer.js.html +68 -11
- package/coverage/lcov-report/src/components/MlVectorTileLayer/index.html +15 -15
- package/coverage/lcov-report/src/components/MlWmsFeatureInfoPopup/MlWmsFeatureInfoPopup.js.html +1 -1
- package/coverage/lcov-report/src/components/MlWmsFeatureInfoPopup/index.html +1 -1
- package/coverage/lcov-report/src/components/MlWmsLayer/MlWmsLayer.js.html +1 -1
- package/coverage/lcov-report/src/components/MlWmsLayer/index.html +1 -1
- package/coverage/lcov-report/src/components/MlWmsLoader/MlWmsLoader.js.html +1 -1
- package/coverage/lcov-report/src/components/MlWmsLoader/index.html +1 -1
- package/coverage/lcov-report/src/hooks/index.html +12 -12
- package/coverage/lcov-report/src/hooks/useMap.js.html +8 -20
- package/coverage/lcov-report/src/hooks/useMapState.js.html +1 -1
- package/coverage/lcov-report/src/hooks/useWms.js.html +1 -1
- package/coverage/lcov-report/src/i18n.js.html +1 -1
- package/coverage/lcov-report/src/index.html +1 -1
- package/coverage/lcov-report/src/translations/english.js.html +1 -1
- package/coverage/lcov-report/src/translations/german.js.html +1 -1
- package/coverage/lcov-report/src/translations/index.html +1 -1
- package/coverage/lcov.info +96 -91
- package/dist/index.esm.js +16 -8
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/MlVectorTileLayer/MlVectorTileLayer.js +22 -3
- package/src/hooks/useMap.js +1 -5
package/coverage/clover.xml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
4
|
-
<metrics statements="
|
|
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"/>
|
|
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">
|
|
@@ -1451,9 +1451,9 @@
|
|
|
1451
1451
|
</file>
|
|
1452
1452
|
</package>
|
|
1453
1453
|
<package name="src.components.MlVectorTileLayer">
|
|
1454
|
-
<metrics statements="
|
|
1454
|
+
<metrics statements="53" coveredstatements="44" conditionals="26" coveredconditionals="15" methods="6" coveredmethods="6"/>
|
|
1455
1455
|
<file name="MlVectorTileLayer.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlVectorTileLayer/MlVectorTileLayer.js">
|
|
1456
|
-
<metrics statements="
|
|
1456
|
+
<metrics statements="53" coveredstatements="44" conditionals="26" coveredconditionals="15" methods="6" coveredmethods="6"/>
|
|
1457
1457
|
<line num="11" count="1" type="stmt"/>
|
|
1458
1458
|
<line num="12" count="8" type="stmt"/>
|
|
1459
1459
|
<line num="14" count="8" type="stmt"/>
|
|
@@ -1463,43 +1463,50 @@
|
|
|
1463
1463
|
<line num="18" count="8" type="stmt"/>
|
|
1464
1464
|
<line num="19" count="8" type="stmt"/>
|
|
1465
1465
|
<line num="20" count="8" type="stmt"/>
|
|
1466
|
-
<line num="
|
|
1467
|
-
<line num="23" count="
|
|
1468
|
-
<line num="24" count="2" type="
|
|
1469
|
-
<line num="25" count="2" type="
|
|
1470
|
-
<line num="26" count="2" type="
|
|
1471
|
-
<line num="
|
|
1472
|
-
<line num="30" count="2" type="
|
|
1473
|
-
<line num="
|
|
1474
|
-
<line num="36" count="
|
|
1475
|
-
<line num="
|
|
1476
|
-
<line num="40" count="8" type="
|
|
1477
|
-
<line num="
|
|
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
1478
|
<line num="43" count="4" type="stmt"/>
|
|
1479
|
-
<line num="
|
|
1480
|
-
<line num="
|
|
1479
|
+
<line num="44" count="4" type="stmt"/>
|
|
1480
|
+
<line num="47" count="4" type="stmt"/>
|
|
1481
1481
|
<line num="55" count="4" type="stmt"/>
|
|
1482
1482
|
<line num="56" count="4" type="stmt"/>
|
|
1483
|
-
<line num="
|
|
1484
|
-
<line num="
|
|
1485
|
-
<line num="
|
|
1486
|
-
<line num="
|
|
1487
|
-
<line num="
|
|
1488
|
-
<line num="
|
|
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"/>
|
|
1489
1489
|
<line num="82" count="4" type="stmt"/>
|
|
1490
|
-
<line num="
|
|
1491
|
-
<line num="85" count="
|
|
1492
|
-
<line num="
|
|
1493
|
-
<line num="
|
|
1494
|
-
<line num="
|
|
1495
|
-
<line num="
|
|
1496
|
-
<line num="
|
|
1497
|
-
<line num="
|
|
1498
|
-
<line num="
|
|
1499
|
-
<line num="
|
|
1500
|
-
<line num="
|
|
1490
|
+
<line num="83" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
1491
|
+
<line num="85" count="4" type="stmt"/>
|
|
1492
|
+
<line num="87" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
1493
|
+
<line num="88" count="0" type="stmt"/>
|
|
1494
|
+
<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
1501
|
<line num="119" count="8" type="stmt"/>
|
|
1502
|
-
<line num="
|
|
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"/>
|
|
1503
1510
|
</file>
|
|
1504
1511
|
</package>
|
|
1505
1512
|
<package name="src.components.MlWmsFeatureInfoPopup">
|
|
@@ -1659,9 +1666,9 @@
|
|
|
1659
1666
|
</file>
|
|
1660
1667
|
</package>
|
|
1661
1668
|
<package name="src.hooks">
|
|
1662
|
-
<metrics statements="
|
|
1669
|
+
<metrics statements="106" coveredstatements="54" conditionals="42" coveredconditionals="14" methods="19" coveredmethods="9"/>
|
|
1663
1670
|
<file name="useMap.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useMap.js">
|
|
1664
|
-
<metrics statements="
|
|
1671
|
+
<metrics statements="27" coveredstatements="21" conditionals="12" coveredconditionals="6" methods="5" coveredmethods="4"/>
|
|
1665
1672
|
<line num="8" count="45" type="stmt"/>
|
|
1666
1673
|
<line num="10" count="45" type="stmt"/>
|
|
1667
1674
|
<line num="19" count="45" type="stmt"/>
|
|
@@ -1670,29 +1677,25 @@
|
|
|
1670
1677
|
<line num="24" count="45" type="stmt"/>
|
|
1671
1678
|
<line num="26" count="45" type="stmt"/>
|
|
1672
1679
|
<line num="27" count="14" type="stmt"/>
|
|
1673
|
-
<line num="
|
|
1674
|
-
<line num="30" count="
|
|
1680
|
+
<line num="29" count="14" type="stmt"/>
|
|
1681
|
+
<line num="30" count="6" type="cond" truecount="1" falsecount="1"/>
|
|
1675
1682
|
<line num="31" count="6" type="stmt"/>
|
|
1676
1683
|
<line num="32" count="6" type="stmt"/>
|
|
1677
|
-
<line num="
|
|
1678
|
-
<line num="34" count="6" type="cond" truecount="1" falsecount="1"/>
|
|
1684
|
+
<line num="34" count="6" type="stmt"/>
|
|
1679
1685
|
<line num="35" count="6" type="stmt"/>
|
|
1680
|
-
<line num="
|
|
1681
|
-
<line num="
|
|
1682
|
-
<line num="
|
|
1683
|
-
<line num="
|
|
1684
|
-
<line num="
|
|
1685
|
-
<line num="47" count="
|
|
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"/>
|
|
1689
|
+
<line num="44" count="0" type="stmt"/>
|
|
1690
|
+
<line num="46" count="0" type="stmt"/>
|
|
1691
|
+
<line num="47" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1686
1692
|
<line num="48" count="0" type="stmt"/>
|
|
1687
|
-
<line num="50" count="0" type="stmt"/>
|
|
1688
1693
|
<line num="51" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1689
1694
|
<line num="52" count="0" type="stmt"/>
|
|
1690
|
-
<line num="
|
|
1691
|
-
<line num="
|
|
1692
|
-
<line num="
|
|
1693
|
-
<line num="62" count="
|
|
1694
|
-
<line num="63" count="14" type="stmt"/>
|
|
1695
|
-
<line num="66" count="45" 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"/>
|
|
1696
1699
|
</file>
|
|
1697
1700
|
<file name="useMapState.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useMapState.js">
|
|
1698
1701
|
<metrics statements="44" coveredstatements="33" conditionals="22" coveredconditionals="8" methods="7" coveredmethods="5"/>
|