@mapcomponents/react-maplibre 0.1.17 → 0.1.21
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/CHANGELOG.md +29 -7
- package/coverage/clover.xml +218 -203
- package/coverage/coverage-final.json +6 -6
- package/coverage/lcov-report/index.html +44 -44
- 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 +57 -15
- package/coverage/lcov-report/src/components/MlGeoJsonLayer/index.html +15 -15
- 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 +261 -111
- package/coverage/lcov-report/src/components/MlShareMapState/index.html +9 -9
- 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 +50 -14
- 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 +35 -89
- package/coverage/lcov-report/src/components/MlWmsLayer/index.html +17 -17
- 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 +40 -28
- package/coverage/lcov-report/src/hooks/useMapState.js.html +34 -34
- 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 +396 -357
- package/dist/index.esm.js +103 -70
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/scripts/build-catalogue-markdown-docs.js +5 -3
- package/src/components/MapLibreMap/lib/MapLibreGlWrapper.js +26 -21
- package/src/components/MapLibreMap/lib/MapLibreGlWrapper.test.js +3 -3
- package/src/components/MlCreatePdfButton/MlCreatePdfButton.doc.de.md +2 -2
- package/src/components/MlCreatePdfButton/MlCreatePdfButton.doc.en.md +3 -0
- package/src/components/MlFeatureEditor/MlFeatureEditor.test.js +2 -2
- package/src/components/MlGeoJsonLayer/MlGeoJsonLayer.js +21 -7
- package/src/components/MlGeoJsonLayer/MlGeoJsonLayer.stories.js +22 -7
- package/src/components/MlGeoJsonLayer/util/getDefaultPaintPropsByType.js +10 -1
- package/src/components/MlNavigationCompass/MlNavigationCompass.test.js +2 -2
- package/src/components/MlShareMapState/MlShareMapState.js +138 -88
- package/src/components/MlShareMapState/MlShareMapState.stories.js +79 -29
- package/src/components/MlVectorTileLayer/MlVectorTileLayer.js +18 -6
- package/src/components/MlWmsLayer/MlWmsLayer.js +16 -34
- package/src/hooks/useMap.js +4 -0
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="1642794856909" clover="3.2.0">
|
|
3
|
+
<project timestamp="1642794856910" name="All files">
|
|
4
|
+
<metrics statements="1603" coveredstatements="593" conditionals="932" coveredconditionals="256" methods="287" coveredmethods="98" elements="2822" coveredelements="947" complexity="0" loc="1603" ncloc="1603" 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">
|
|
@@ -586,9 +586,9 @@
|
|
|
586
586
|
</file>
|
|
587
587
|
</package>
|
|
588
588
|
<package name="src.components.MlGeoJsonLayer">
|
|
589
|
-
<metrics statements="
|
|
589
|
+
<metrics statements="64" coveredstatements="40" conditionals="62" coveredconditionals="33" methods="9" coveredmethods="8"/>
|
|
590
590
|
<file name="MlGeoJsonLayer.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlGeoJsonLayer/MlGeoJsonLayer.js">
|
|
591
|
-
<metrics statements="
|
|
591
|
+
<metrics statements="64" coveredstatements="40" conditionals="62" coveredconditionals="33" methods="9" coveredmethods="8"/>
|
|
592
592
|
<line num="12" count="2" type="stmt"/>
|
|
593
593
|
<line num="13" count="2" type="stmt"/>
|
|
594
594
|
<line num="20" count="2" type="stmt"/>
|
|
@@ -612,46 +612,47 @@
|
|
|
612
612
|
<line num="48" count="0" type="stmt"/>
|
|
613
613
|
<line num="52" count="12" type="stmt"/>
|
|
614
614
|
<line num="53" count="8" type="cond" truecount="3" falsecount="1"/>
|
|
615
|
-
<line num="
|
|
616
|
-
<line num="
|
|
617
|
-
<line num="
|
|
618
|
-
<line num="
|
|
619
|
-
<line num="
|
|
620
|
-
<line num="
|
|
621
|
-
<line num="
|
|
622
|
-
<line num="
|
|
623
|
-
<line num="88" count="0" type="stmt"/>
|
|
624
|
-
<line num="89" count="0" type="stmt"/>
|
|
615
|
+
<line num="56" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
616
|
+
<line num="58" count="0" type="stmt"/>
|
|
617
|
+
<line num="59" count="0" type="stmt"/>
|
|
618
|
+
<line num="63" count="12" type="stmt"/>
|
|
619
|
+
<line num="65" count="0" type="stmt"/>
|
|
620
|
+
<line num="82" count="12" type="stmt"/>
|
|
621
|
+
<line num="83" count="8" type="cond" truecount="2" falsecount="2"/>
|
|
622
|
+
<line num="85" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
625
623
|
<line num="90" count="0" type="stmt"/>
|
|
626
624
|
<line num="91" count="0" type="stmt"/>
|
|
625
|
+
<line num="92" count="0" type="stmt"/>
|
|
627
626
|
<line num="93" count="0" type="stmt"/>
|
|
628
|
-
<line num="
|
|
629
|
-
<line num="
|
|
630
|
-
<line num="
|
|
631
|
-
<line num="108" count="
|
|
632
|
-
<line num="
|
|
633
|
-
<line num="
|
|
634
|
-
<line num="
|
|
635
|
-
<line num="
|
|
636
|
-
<line num="
|
|
637
|
-
<line num="
|
|
638
|
-
<line num="
|
|
639
|
-
<line num="
|
|
640
|
-
<line num="
|
|
641
|
-
<line num="
|
|
642
|
-
<line num="
|
|
643
|
-
<line num="
|
|
644
|
-
<line num="153" count="
|
|
645
|
-
<line num="
|
|
646
|
-
<line num="
|
|
647
|
-
<line num="
|
|
648
|
-
<line num="
|
|
649
|
-
<line num="
|
|
627
|
+
<line num="94" count="0" type="stmt"/>
|
|
628
|
+
<line num="96" count="0" type="stmt"/>
|
|
629
|
+
<line num="98" count="0" type="stmt"/>
|
|
630
|
+
<line num="108" count="12" type="stmt"/>
|
|
631
|
+
<line num="109" count="4" type="stmt"/>
|
|
632
|
+
<line num="111" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
633
|
+
<line num="117" count="0" type="stmt"/>
|
|
634
|
+
<line num="118" count="0" type="stmt"/>
|
|
635
|
+
<line num="121" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
636
|
+
<line num="123" count="4" type="stmt"/>
|
|
637
|
+
<line num="141" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
638
|
+
<line num="142" count="0" type="stmt"/>
|
|
639
|
+
<line num="145" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
640
|
+
<line num="146" count="0" type="stmt"/>
|
|
641
|
+
<line num="149" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
642
|
+
<line num="150" count="0" type="stmt"/>
|
|
643
|
+
<line num="153" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
644
|
+
<line num="158" count="0" type="stmt"/>
|
|
645
|
+
<line num="159" count="0" type="stmt"/>
|
|
646
|
+
<line num="163" count="12" type="stmt"/>
|
|
647
|
+
<line num="164" count="8" type="cond" truecount="4" falsecount="0"/>
|
|
648
|
+
<line num="166" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
650
649
|
<line num="172" count="0" type="stmt"/>
|
|
651
|
-
<line num="
|
|
652
|
-
<line num="178" count="
|
|
653
|
-
<line num="
|
|
654
|
-
<line num="184" count="
|
|
650
|
+
<line num="173" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
651
|
+
<line num="178" count="0" type="stmt"/>
|
|
652
|
+
<line num="182" count="4" type="stmt"/>
|
|
653
|
+
<line num="184" count="4" type="stmt"/>
|
|
654
|
+
<line num="187" count="12" type="stmt"/>
|
|
655
|
+
<line num="190" count="2" type="stmt"/>
|
|
655
656
|
</file>
|
|
656
657
|
</package>
|
|
657
658
|
<package name="src.components.MlImageMarkerLayer">
|
|
@@ -1189,90 +1190,109 @@
|
|
|
1189
1190
|
</file>
|
|
1190
1191
|
</package>
|
|
1191
1192
|
<package name="src.components.MlShareMapState">
|
|
1192
|
-
<metrics statements="
|
|
1193
|
+
<metrics statements="100" coveredstatements="0" conditionals="54" coveredconditionals="0" methods="19" coveredmethods="0"/>
|
|
1193
1194
|
<file name="MlShareMapState.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlShareMapState/MlShareMapState.js">
|
|
1194
|
-
<metrics statements="
|
|
1195
|
-
<line num="
|
|
1196
|
-
<line num="
|
|
1197
|
-
<line num="
|
|
1198
|
-
<line num="
|
|
1199
|
-
<line num="
|
|
1200
|
-
<line num="
|
|
1201
|
-
<line num="
|
|
1202
|
-
<line num="
|
|
1203
|
-
<line num="
|
|
1204
|
-
<line num="
|
|
1205
|
-
<line num="
|
|
1206
|
-
<line num="
|
|
1207
|
-
<line num="
|
|
1208
|
-
<line num="
|
|
1209
|
-
<line num="
|
|
1210
|
-
<line num="
|
|
1211
|
-
<line num="55" count="0" type="stmt"/>
|
|
1212
|
-
<line num="56" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1195
|
+
<metrics statements="100" coveredstatements="0" conditionals="54" coveredconditionals="0" methods="19" coveredmethods="0"/>
|
|
1196
|
+
<line num="8" count="0" type="stmt"/>
|
|
1197
|
+
<line num="9" count="0" type="stmt"/>
|
|
1198
|
+
<line num="10" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1199
|
+
<line num="12" count="0" type="stmt"/>
|
|
1200
|
+
<line num="15" count="0" type="stmt"/>
|
|
1201
|
+
<line num="25" count="0" type="stmt"/>
|
|
1202
|
+
<line num="27" count="0" type="stmt"/>
|
|
1203
|
+
<line num="28" count="0" type="stmt"/>
|
|
1204
|
+
<line num="29" count="0" type="stmt"/>
|
|
1205
|
+
<line num="30" count="0" type="stmt"/>
|
|
1206
|
+
<line num="31" count="0" type="stmt"/>
|
|
1207
|
+
<line num="32" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1208
|
+
<line num="33" count="0" type="stmt"/>
|
|
1209
|
+
<line num="44" count="0" type="stmt"/>
|
|
1210
|
+
<line num="45" count="0" type="stmt"/>
|
|
1211
|
+
<line num="46" count="0" type="stmt"/>
|
|
1213
1212
|
<line num="59" count="0" type="stmt"/>
|
|
1214
|
-
<line num="60" count="0" type="stmt"/>
|
|
1215
1213
|
<line num="61" count="0" type="stmt"/>
|
|
1216
|
-
<line num="
|
|
1217
|
-
<line num="64" count="0" type="
|
|
1214
|
+
<line num="62" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1215
|
+
<line num="64" count="0" type="stmt"/>
|
|
1218
1216
|
<line num="65" count="0" type="stmt"/>
|
|
1219
1217
|
<line num="66" count="0" type="stmt"/>
|
|
1220
|
-
<line num="67" count="0" type="stmt"/>
|
|
1221
|
-
<line num="68" count="0" type="stmt"/>
|
|
1222
1218
|
<line num="72" count="0" type="stmt"/>
|
|
1223
|
-
<line num="73" count="0" type="
|
|
1224
|
-
<line num="
|
|
1225
|
-
<line num="
|
|
1226
|
-
<line num="77" count="0" type="stmt"/>
|
|
1227
|
-
<line num="79" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1228
|
-
<line num="80" count="0" type="stmt"/>
|
|
1229
|
-
<line num="81" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1219
|
+
<line num="73" count="0" type="stmt"/>
|
|
1220
|
+
<line num="78" count="0" type="stmt"/>
|
|
1221
|
+
<line num="79" count="0" type="stmt"/>
|
|
1230
1222
|
<line num="82" count="0" type="stmt"/>
|
|
1231
|
-
<line num="
|
|
1232
|
-
<line num="
|
|
1233
|
-
<line num="
|
|
1234
|
-
<line num="92" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1223
|
+
<line num="83" count="0" type="stmt"/>
|
|
1224
|
+
<line num="84" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1225
|
+
<line num="85" count="0" type="stmt"/>
|
|
1235
1226
|
<line num="93" count="0" type="stmt"/>
|
|
1236
1227
|
<line num="94" count="0" type="stmt"/>
|
|
1237
|
-
<line num="
|
|
1228
|
+
<line num="96" count="0" type="stmt"/>
|
|
1238
1229
|
<line num="98" count="0" type="stmt"/>
|
|
1239
|
-
<line num="
|
|
1240
|
-
<line num="105" count="0" type="stmt"/>
|
|
1230
|
+
<line num="105" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1241
1231
|
<line num="106" count="0" type="stmt"/>
|
|
1242
|
-
<line num="
|
|
1243
|
-
<line num="
|
|
1244
|
-
<line num="
|
|
1232
|
+
<line num="107" count="0" type="stmt"/>
|
|
1233
|
+
<line num="109" count="0" type="stmt"/>
|
|
1234
|
+
<line num="113" count="0" type="stmt"/>
|
|
1235
|
+
<line num="114" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1236
|
+
<line num="116" count="0" type="stmt"/>
|
|
1237
|
+
<line num="119" count="0" type="stmt"/>
|
|
1238
|
+
<line num="120" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1239
|
+
<line num="122" count="0" type="stmt"/>
|
|
1245
1240
|
<line num="124" count="0" type="stmt"/>
|
|
1246
|
-
<line num="
|
|
1247
|
-
<line num="
|
|
1248
|
-
<line num="131" count="0" type="
|
|
1249
|
-
<line num="132" count="0" type="
|
|
1250
|
-
<line num="133" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1251
|
-
<line num="134" count="0" type="stmt"/>
|
|
1241
|
+
<line num="126" count="0" type="stmt"/>
|
|
1242
|
+
<line num="127" count="0" type="stmt"/>
|
|
1243
|
+
<line num="131" count="0" type="stmt"/>
|
|
1244
|
+
<line num="132" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1252
1245
|
<line num="135" count="0" type="stmt"/>
|
|
1253
1246
|
<line num="136" count="0" type="stmt"/>
|
|
1254
1247
|
<line num="137" count="0" type="stmt"/>
|
|
1255
|
-
<line num="138" count="0" type="
|
|
1256
|
-
<line num="
|
|
1257
|
-
<line num="141" count="0" type="stmt"/>
|
|
1248
|
+
<line num="138" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1249
|
+
<line num="139" count="0" type="stmt"/>
|
|
1258
1250
|
<line num="143" count="0" type="stmt"/>
|
|
1259
|
-
<line num="
|
|
1251
|
+
<line num="144" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1252
|
+
<line num="146" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1260
1253
|
<line num="147" count="0" type="stmt"/>
|
|
1261
1254
|
<line num="148" count="0" type="stmt"/>
|
|
1262
1255
|
<line num="149" count="0" type="stmt"/>
|
|
1263
|
-
<line num="150" count="0" type="stmt"/>
|
|
1264
1256
|
<line num="153" count="0" type="stmt"/>
|
|
1265
|
-
<line num="
|
|
1266
|
-
<line num="
|
|
1257
|
+
<line num="154" count="0" type="stmt"/>
|
|
1258
|
+
<line num="155" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1259
|
+
<line num="156" count="0" type="stmt"/>
|
|
1260
|
+
<line num="158" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1267
1261
|
<line num="159" count="0" type="stmt"/>
|
|
1268
|
-
<line num="
|
|
1269
|
-
<line num="161" count="0" type="stmt"/>
|
|
1262
|
+
<line num="163" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1270
1263
|
<line num="164" count="0" type="stmt"/>
|
|
1271
|
-
<line num="165" count="0" type="cond" truecount="0" falsecount="
|
|
1264
|
+
<line num="165" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1272
1265
|
<line num="166" count="0" type="stmt"/>
|
|
1273
|
-
<line num="
|
|
1274
|
-
<line num="
|
|
1275
|
-
<line num="
|
|
1266
|
+
<line num="167" count="0" type="stmt"/>
|
|
1267
|
+
<line num="175" count="0" type="stmt"/>
|
|
1268
|
+
<line num="176" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1269
|
+
<line num="177" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1270
|
+
<line num="179" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1271
|
+
<line num="180" count="0" type="stmt"/>
|
|
1272
|
+
<line num="184" count="0" type="stmt"/>
|
|
1273
|
+
<line num="185" count="0" type="stmt"/>
|
|
1274
|
+
<line num="186" count="0" type="stmt"/>
|
|
1275
|
+
<line num="187" count="0" type="stmt"/>
|
|
1276
|
+
<line num="188" count="0" type="stmt"/>
|
|
1277
|
+
<line num="189" count="0" type="stmt"/>
|
|
1278
|
+
<line num="192" count="0" type="stmt"/>
|
|
1279
|
+
<line num="193" count="0" type="stmt"/>
|
|
1280
|
+
<line num="194" count="0" type="stmt"/>
|
|
1281
|
+
<line num="195" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1282
|
+
<line num="199" count="0" type="stmt"/>
|
|
1283
|
+
<line num="200" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1284
|
+
<line num="201" count="0" type="stmt"/>
|
|
1285
|
+
<line num="202" count="0" type="stmt"/>
|
|
1286
|
+
<line num="203" count="0" type="stmt"/>
|
|
1287
|
+
<line num="204" count="0" type="stmt"/>
|
|
1288
|
+
<line num="205" count="0" type="stmt"/>
|
|
1289
|
+
<line num="208" count="0" type="stmt"/>
|
|
1290
|
+
<line num="211" count="0" type="stmt"/>
|
|
1291
|
+
<line num="212" count="0" type="cond" truecount="0" falsecount="6"/>
|
|
1292
|
+
<line num="213" count="0" type="stmt"/>
|
|
1293
|
+
<line num="220" count="0" type="stmt"/>
|
|
1294
|
+
<line num="223" count="0" type="stmt"/>
|
|
1295
|
+
<line num="227" count="0" type="stmt"/>
|
|
1276
1296
|
</file>
|
|
1277
1297
|
</package>
|
|
1278
1298
|
<package name="src.components.MlSpatialElevationProfile">
|
|
@@ -1431,9 +1451,9 @@
|
|
|
1431
1451
|
</file>
|
|
1432
1452
|
</package>
|
|
1433
1453
|
<package name="src.components.MlVectorTileLayer">
|
|
1434
|
-
<metrics statements="
|
|
1454
|
+
<metrics statements="46" coveredstatements="39" conditionals="24" coveredconditionals="14" methods="6" coveredmethods="6"/>
|
|
1435
1455
|
<file name="MlVectorTileLayer.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlVectorTileLayer/MlVectorTileLayer.js">
|
|
1436
|
-
<metrics statements="
|
|
1456
|
+
<metrics statements="46" coveredstatements="39" conditionals="24" coveredconditionals="14" methods="6" coveredmethods="6"/>
|
|
1437
1457
|
<line num="11" count="1" type="stmt"/>
|
|
1438
1458
|
<line num="12" count="8" type="stmt"/>
|
|
1439
1459
|
<line num="14" count="8" type="stmt"/>
|
|
@@ -1473,11 +1493,13 @@
|
|
|
1473
1493
|
<line num="95" count="4" type="stmt"/>
|
|
1474
1494
|
<line num="100" count="8" type="stmt"/>
|
|
1475
1495
|
<line num="101" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
1496
|
+
<line num="103" count="0" type="stmt"/>
|
|
1476
1497
|
<line num="104" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1477
|
-
<line num="
|
|
1498
|
+
<line num="106" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1478
1499
|
<line num="107" count="0" type="stmt"/>
|
|
1479
|
-
<line num="111" count="
|
|
1480
|
-
<line num="
|
|
1500
|
+
<line num="111" count="0" type="stmt"/>
|
|
1501
|
+
<line num="119" count="8" type="stmt"/>
|
|
1502
|
+
<line num="122" count="1" type="stmt"/>
|
|
1481
1503
|
</file>
|
|
1482
1504
|
</package>
|
|
1483
1505
|
<package name="src.components.MlWmsFeatureInfoPopup">
|
|
@@ -1507,48 +1529,37 @@
|
|
|
1507
1529
|
</file>
|
|
1508
1530
|
</package>
|
|
1509
1531
|
<package name="src.components.MlWmsLayer">
|
|
1510
|
-
<metrics statements="
|
|
1532
|
+
<metrics statements="28" coveredstatements="24" conditionals="16" coveredconditionals="13" methods="3" coveredmethods="3"/>
|
|
1511
1533
|
<file name="MlWmsLayer.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlWmsLayer/MlWmsLayer.js">
|
|
1512
|
-
<metrics statements="
|
|
1534
|
+
<metrics statements="28" coveredstatements="24" conditionals="16" coveredconditionals="13" methods="3" coveredmethods="3"/>
|
|
1513
1535
|
<line num="7" count="1" type="stmt"/>
|
|
1514
1536
|
<line num="47" count="1" type="stmt"/>
|
|
1515
|
-
<line num="48" count="
|
|
1516
|
-
<line num="50" count="
|
|
1517
|
-
<line num="51" count="
|
|
1518
|
-
<line num="
|
|
1519
|
-
<line num="
|
|
1520
|
-
<line num="55" count="8" type="stmt"/>
|
|
1537
|
+
<line num="48" count="12" type="stmt"/>
|
|
1538
|
+
<line num="50" count="12" type="stmt"/>
|
|
1539
|
+
<line num="51" count="12" type="cond" truecount="2" falsecount="0"/>
|
|
1540
|
+
<line num="53" count="12" type="stmt"/>
|
|
1541
|
+
<line num="54" count="8" type="cond" truecount="4" falsecount="0"/>
|
|
1521
1542
|
<line num="56" count="4" type="stmt"/>
|
|
1522
|
-
<line num="
|
|
1523
|
-
<line num="
|
|
1524
|
-
<line num="
|
|
1525
|
-
<line num="62" count="
|
|
1526
|
-
<line num="64" count="
|
|
1527
|
-
<line num="
|
|
1528
|
-
<line num="69" count="8" type="cond" truecount="4" falsecount="0"/>
|
|
1543
|
+
<line num="59" count="4" type="stmt"/>
|
|
1544
|
+
<line num="60" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
1545
|
+
<line num="61" count="0" type="stmt"/>
|
|
1546
|
+
<line num="62" count="0" type="stmt"/>
|
|
1547
|
+
<line num="64" count="4" type="stmt"/>
|
|
1548
|
+
<line num="66" count="4" type="stmt"/>
|
|
1529
1549
|
<line num="71" count="4" type="stmt"/>
|
|
1530
|
-
<line num="
|
|
1531
|
-
<line num="
|
|
1532
|
-
<line num="
|
|
1533
|
-
<line num="
|
|
1534
|
-
<line num="
|
|
1535
|
-
<line num="
|
|
1536
|
-
<line num="
|
|
1537
|
-
<line num="
|
|
1538
|
-
<line num="
|
|
1539
|
-
<line num="
|
|
1540
|
-
<line num="
|
|
1541
|
-
<line num="
|
|
1542
|
-
<line num="
|
|
1543
|
-
<line num="117" count="0" type="stmt"/>
|
|
1544
|
-
<line num="121" count="8" type="stmt"/>
|
|
1545
|
-
<line num="122" count="4" type="cond" truecount="2" falsecount="2"/>
|
|
1546
|
-
<line num="125" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1547
|
-
<line num="126" count="0" type="stmt"/>
|
|
1548
|
-
<line num="128" count="0" type="stmt"/>
|
|
1549
|
-
<line num="132" count="8" type="stmt"/>
|
|
1550
|
-
<line num="135" count="1" type="stmt"/>
|
|
1551
|
-
<line num="139" count="1" type="stmt"/>
|
|
1550
|
+
<line num="73" count="4" type="stmt"/>
|
|
1551
|
+
<line num="75" count="4" type="stmt"/>
|
|
1552
|
+
<line num="87" count="4" type="stmt"/>
|
|
1553
|
+
<line num="98" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
1554
|
+
<line num="99" count="0" type="stmt"/>
|
|
1555
|
+
<line num="103" count="12" type="stmt"/>
|
|
1556
|
+
<line num="104" count="8" type="cond" truecount="4" falsecount="0"/>
|
|
1557
|
+
<line num="107" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
1558
|
+
<line num="108" count="4" type="stmt"/>
|
|
1559
|
+
<line num="110" count="0" type="stmt"/>
|
|
1560
|
+
<line num="114" count="12" type="stmt"/>
|
|
1561
|
+
<line num="117" count="1" type="stmt"/>
|
|
1562
|
+
<line num="121" count="1" type="stmt"/>
|
|
1552
1563
|
</file>
|
|
1553
1564
|
</package>
|
|
1554
1565
|
<package name="src.components.MlWmsLoader">
|
|
@@ -1648,48 +1659,52 @@
|
|
|
1648
1659
|
</file>
|
|
1649
1660
|
</package>
|
|
1650
1661
|
<package name="src.hooks">
|
|
1651
|
-
<metrics statements="
|
|
1662
|
+
<metrics statements="110" coveredstatements="58" conditionals="42" coveredconditionals="14" methods="19" coveredmethods="9"/>
|
|
1652
1663
|
<file name="useMap.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useMap.js">
|
|
1653
|
-
<metrics statements="
|
|
1654
|
-
<line num="8" count="
|
|
1655
|
-
<line num="10" count="
|
|
1656
|
-
<line num="19" count="
|
|
1657
|
-
<line num="20" count="
|
|
1658
|
-
<line num="22" count="
|
|
1659
|
-
<line num="24" count="
|
|
1660
|
-
<line num="26" count="
|
|
1661
|
-
<line num="27" count="
|
|
1662
|
-
<line num="
|
|
1663
|
-
<line num="30" count="
|
|
1664
|
-
<line num="31" count="
|
|
1665
|
-
<line num="32" count="
|
|
1666
|
-
<line num="
|
|
1667
|
-
<line num="
|
|
1668
|
-
<line num="
|
|
1669
|
-
<line num="
|
|
1670
|
-
<line num="
|
|
1671
|
-
<line num="
|
|
1672
|
-
<line num="
|
|
1673
|
-
<line num="
|
|
1664
|
+
<metrics statements="31" coveredstatements="25" conditionals="12" coveredconditionals="6" methods="5" coveredmethods="4"/>
|
|
1665
|
+
<line num="8" count="45" type="stmt"/>
|
|
1666
|
+
<line num="10" count="45" type="stmt"/>
|
|
1667
|
+
<line num="19" count="45" type="stmt"/>
|
|
1668
|
+
<line num="20" count="45" type="stmt"/>
|
|
1669
|
+
<line num="22" count="45" type="stmt"/>
|
|
1670
|
+
<line num="24" count="45" type="stmt"/>
|
|
1671
|
+
<line num="26" count="45" type="stmt"/>
|
|
1672
|
+
<line num="27" count="14" type="stmt"/>
|
|
1673
|
+
<line num="28" count="14" type="stmt"/>
|
|
1674
|
+
<line num="30" count="14" type="stmt"/>
|
|
1675
|
+
<line num="31" count="6" type="stmt"/>
|
|
1676
|
+
<line num="32" count="6" type="stmt"/>
|
|
1677
|
+
<line num="33" count="6" type="stmt"/>
|
|
1678
|
+
<line num="34" count="6" type="cond" truecount="1" falsecount="1"/>
|
|
1679
|
+
<line num="35" count="6" type="stmt"/>
|
|
1680
|
+
<line num="36" count="6" type="stmt"/>
|
|
1681
|
+
<line num="38" count="6" type="stmt"/>
|
|
1682
|
+
<line num="39" count="6" type="stmt"/>
|
|
1683
|
+
<line num="43" count="45" type="stmt"/>
|
|
1684
|
+
<line num="44" count="42" type="cond" truecount="4" falsecount="0"/>
|
|
1685
|
+
<line num="47" count="14" type="cond" truecount="1" falsecount="1"/>
|
|
1674
1686
|
<line num="48" count="0" type="stmt"/>
|
|
1687
|
+
<line num="50" count="0" type="stmt"/>
|
|
1675
1688
|
<line num="51" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1676
1689
|
<line num="52" count="0" type="stmt"/>
|
|
1677
|
-
<line num="
|
|
1678
|
-
<line num="
|
|
1679
|
-
<line num="
|
|
1680
|
-
<line num="62" count="
|
|
1690
|
+
<line num="55" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1691
|
+
<line num="56" count="0" type="stmt"/>
|
|
1692
|
+
<line num="61" count="14" type="stmt"/>
|
|
1693
|
+
<line num="62" count="14" type="stmt"/>
|
|
1694
|
+
<line num="63" count="14" type="stmt"/>
|
|
1695
|
+
<line num="66" count="45" type="stmt"/>
|
|
1681
1696
|
</file>
|
|
1682
1697
|
<file name="useMapState.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useMapState.js">
|
|
1683
1698
|
<metrics statements="44" coveredstatements="33" conditionals="22" coveredconditionals="8" methods="7" coveredmethods="5"/>
|
|
1684
|
-
<line num="13" count="
|
|
1685
|
-
<line num="15" count="
|
|
1686
|
-
<line num="16" count="
|
|
1687
|
-
<line num="18" count="
|
|
1688
|
-
<line num="19" count="
|
|
1689
|
-
<line num="21" count="
|
|
1690
|
-
<line num="22" count="
|
|
1691
|
-
<line num="24" count="
|
|
1692
|
-
<line num="32" count="
|
|
1699
|
+
<line num="13" count="61" type="stmt"/>
|
|
1700
|
+
<line num="15" count="61" type="stmt"/>
|
|
1701
|
+
<line num="16" count="61" type="stmt"/>
|
|
1702
|
+
<line num="18" count="61" type="stmt"/>
|
|
1703
|
+
<line num="19" count="61" type="stmt"/>
|
|
1704
|
+
<line num="21" count="61" type="stmt"/>
|
|
1705
|
+
<line num="22" count="61" type="stmt"/>
|
|
1706
|
+
<line num="24" count="61" type="stmt"/>
|
|
1707
|
+
<line num="32" count="61" type="stmt"/>
|
|
1693
1708
|
<line num="34" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1694
1709
|
<line num="35" count="0" type="stmt"/>
|
|
1695
1710
|
<line num="38" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
@@ -1697,34 +1712,34 @@
|
|
|
1697
1712
|
<line num="40" count="0" type="stmt"/>
|
|
1698
1713
|
<line num="42" count="0" type="stmt"/>
|
|
1699
1714
|
<line num="46" count="0" type="stmt"/>
|
|
1700
|
-
<line num="51" count="
|
|
1701
|
-
<line num="52" count="
|
|
1702
|
-
<line num="53" count="
|
|
1703
|
-
<line num="54" count="
|
|
1704
|
-
<line num="55" count="
|
|
1705
|
-
<line num="56" count="
|
|
1706
|
-
<line num="60" count="
|
|
1707
|
-
<line num="61" count="
|
|
1708
|
-
<line num="63" count="
|
|
1709
|
-
<line num="64" count="
|
|
1710
|
-
<line num="65" count="
|
|
1711
|
-
<line num="66" count="
|
|
1712
|
-
<line num="68" count="
|
|
1713
|
-
<line num="72" count="
|
|
1714
|
-
<line num="73" count="
|
|
1715
|
-
<line num="76" count="
|
|
1716
|
-
<line num="77" count="
|
|
1717
|
-
<line num="79" count="
|
|
1715
|
+
<line num="51" count="61" type="stmt"/>
|
|
1716
|
+
<line num="52" count="18" type="stmt"/>
|
|
1717
|
+
<line num="53" count="18" type="stmt"/>
|
|
1718
|
+
<line num="54" count="18" type="cond" truecount="1" falsecount="1"/>
|
|
1719
|
+
<line num="55" count="18" type="stmt"/>
|
|
1720
|
+
<line num="56" count="18" type="stmt"/>
|
|
1721
|
+
<line num="60" count="61" type="stmt"/>
|
|
1722
|
+
<line num="61" count="18" type="stmt"/>
|
|
1723
|
+
<line num="63" count="18" type="stmt"/>
|
|
1724
|
+
<line num="64" count="8" type="cond" truecount="1" falsecount="1"/>
|
|
1725
|
+
<line num="65" count="8" type="stmt"/>
|
|
1726
|
+
<line num="66" count="8" type="stmt"/>
|
|
1727
|
+
<line num="68" count="8" type="stmt"/>
|
|
1728
|
+
<line num="72" count="61" type="stmt"/>
|
|
1729
|
+
<line num="73" count="36" type="cond" truecount="4" falsecount="0"/>
|
|
1730
|
+
<line num="76" count="18" type="stmt"/>
|
|
1731
|
+
<line num="77" count="18" type="stmt"/>
|
|
1732
|
+
<line num="79" count="18" type="cond" truecount="1" falsecount="1"/>
|
|
1718
1733
|
<line num="80" count="0" type="stmt"/>
|
|
1719
1734
|
<line num="82" count="0" type="stmt"/>
|
|
1720
1735
|
<line num="85" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1721
1736
|
<line num="86" count="0" type="stmt"/>
|
|
1722
|
-
<line num="93" count="
|
|
1723
|
-
<line num="94" count="
|
|
1724
|
-
<line num="96" count="
|
|
1725
|
-
<line num="108" count="
|
|
1726
|
-
<line num="114" count="
|
|
1727
|
-
<line num="126" count="
|
|
1737
|
+
<line num="93" count="18" type="cond" truecount="1" falsecount="1"/>
|
|
1738
|
+
<line num="94" count="18" type="stmt"/>
|
|
1739
|
+
<line num="96" count="18" type="stmt"/>
|
|
1740
|
+
<line num="108" count="61" type="stmt"/>
|
|
1741
|
+
<line num="114" count="5" type="stmt"/>
|
|
1742
|
+
<line num="126" count="5" type="stmt"/>
|
|
1728
1743
|
</file>
|
|
1729
1744
|
<file name="useWms.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useWms.js">
|
|
1730
1745
|
<metrics statements="35" coveredstatements="0" conditionals="8" coveredconditionals="0" methods="7" coveredmethods="0"/>
|