@mapcomponents/react-maplibre 0.1.18 → 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/CHANGELOG.md +13 -0
- package/coverage/clover.xml +222 -205
- package/coverage/coverage-final.json +6 -6
- package/coverage/lcov-report/index.html +30 -30
- 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 +20 -5
- 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 +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 +110 -17
- 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 +1 -1
- package/coverage/lcov-report/src/hooks/useMap.js.html +23 -23
- 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 +390 -349
- package/dist/index.esm.js +90 -68
- 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 +8 -3
- 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 +40 -9
- package/src/components/MlWmsLayer/MlWmsLayer.js +16 -34
- package/src/hooks/useMap.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,19 @@
|
|
|
8
8
|
|
|
9
9
|
### Fixed
|
|
10
10
|
|
|
11
|
+
## [0.1.20] - 2022-01-09
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
- add props.sourceOptions to MlVectorTileLayer
|
|
15
|
+
## [0.1.19] - 2022-01-09
|
|
16
|
+
|
|
17
|
+
### Added
|
|
18
|
+
- add props.options to MlGeoJsonLayer
|
|
19
|
+
## [0.1.18] - 2022-01-09
|
|
20
|
+
|
|
21
|
+
### Added
|
|
22
|
+
- add props.defaultPaintOverrides to MlGeoJsonLayer
|
|
23
|
+
|
|
11
24
|
## [0.1.17] - 2022-01-09
|
|
12
25
|
|
|
13
26
|
### Added
|
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">
|
|
@@ -634,25 +634,25 @@
|
|
|
634
634
|
<line num="118" count="0" type="stmt"/>
|
|
635
635
|
<line num="121" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
636
636
|
<line num="123" count="4" type="stmt"/>
|
|
637
|
-
<line num="
|
|
638
|
-
<line num="
|
|
639
|
-
<line num="
|
|
640
|
-
<line num="
|
|
641
|
-
<line num="
|
|
642
|
-
<line num="
|
|
643
|
-
<line num="
|
|
644
|
-
<line num="157" count="0" 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"/>
|
|
645
644
|
<line num="158" count="0" type="stmt"/>
|
|
646
|
-
<line num="
|
|
647
|
-
<line num="163" count="
|
|
648
|
-
<line num="
|
|
649
|
-
<line num="
|
|
650
|
-
<line num="172" count="
|
|
651
|
-
<line num="
|
|
652
|
-
<line num="
|
|
653
|
-
<line num="
|
|
654
|
-
<line num="
|
|
655
|
-
<line num="
|
|
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"/>
|
|
649
|
+
<line num="172" count="0" type="stmt"/>
|
|
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"/>
|
|
656
656
|
</file>
|
|
657
657
|
</package>
|
|
658
658
|
<package name="src.components.MlImageMarkerLayer">
|
|
@@ -1190,90 +1190,109 @@
|
|
|
1190
1190
|
</file>
|
|
1191
1191
|
</package>
|
|
1192
1192
|
<package name="src.components.MlShareMapState">
|
|
1193
|
-
<metrics statements="
|
|
1193
|
+
<metrics statements="100" coveredstatements="0" conditionals="54" coveredconditionals="0" methods="19" coveredmethods="0"/>
|
|
1194
1194
|
<file name="MlShareMapState.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlShareMapState/MlShareMapState.js">
|
|
1195
|
-
<metrics statements="
|
|
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="
|
|
1212
|
-
<line num="55" count="0" type="stmt"/>
|
|
1213
|
-
<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"/>
|
|
1214
1212
|
<line num="59" count="0" type="stmt"/>
|
|
1215
|
-
<line num="60" count="0" type="stmt"/>
|
|
1216
1213
|
<line num="61" count="0" type="stmt"/>
|
|
1217
|
-
<line num="
|
|
1218
|
-
<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"/>
|
|
1219
1216
|
<line num="65" count="0" type="stmt"/>
|
|
1220
1217
|
<line num="66" count="0" type="stmt"/>
|
|
1221
|
-
<line num="67" count="0" type="stmt"/>
|
|
1222
|
-
<line num="68" count="0" type="stmt"/>
|
|
1223
1218
|
<line num="72" count="0" type="stmt"/>
|
|
1224
|
-
<line num="73" count="0" type="
|
|
1225
|
-
<line num="
|
|
1226
|
-
<line num="
|
|
1227
|
-
<line num="77" count="0" type="stmt"/>
|
|
1228
|
-
<line num="79" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1229
|
-
<line num="80" count="0" type="stmt"/>
|
|
1230
|
-
<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"/>
|
|
1231
1222
|
<line num="82" count="0" type="stmt"/>
|
|
1232
|
-
<line num="
|
|
1233
|
-
<line num="
|
|
1234
|
-
<line num="
|
|
1235
|
-
<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"/>
|
|
1236
1226
|
<line num="93" count="0" type="stmt"/>
|
|
1237
1227
|
<line num="94" count="0" type="stmt"/>
|
|
1238
|
-
<line num="
|
|
1228
|
+
<line num="96" count="0" type="stmt"/>
|
|
1239
1229
|
<line num="98" count="0" type="stmt"/>
|
|
1240
|
-
<line num="
|
|
1241
|
-
<line num="105" count="0" type="stmt"/>
|
|
1230
|
+
<line num="105" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1242
1231
|
<line num="106" count="0" type="stmt"/>
|
|
1243
|
-
<line num="
|
|
1244
|
-
<line num="
|
|
1245
|
-
<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"/>
|
|
1246
1240
|
<line num="124" count="0" type="stmt"/>
|
|
1247
|
-
<line num="
|
|
1248
|
-
<line num="
|
|
1249
|
-
<line num="131" count="0" type="
|
|
1250
|
-
<line num="132" count="0" type="
|
|
1251
|
-
<line num="133" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1252
|
-
<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"/>
|
|
1253
1245
|
<line num="135" count="0" type="stmt"/>
|
|
1254
1246
|
<line num="136" count="0" type="stmt"/>
|
|
1255
1247
|
<line num="137" count="0" type="stmt"/>
|
|
1256
|
-
<line num="138" count="0" type="
|
|
1257
|
-
<line num="
|
|
1258
|
-
<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"/>
|
|
1259
1250
|
<line num="143" count="0" type="stmt"/>
|
|
1260
|
-
<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"/>
|
|
1261
1253
|
<line num="147" count="0" type="stmt"/>
|
|
1262
1254
|
<line num="148" count="0" type="stmt"/>
|
|
1263
1255
|
<line num="149" count="0" type="stmt"/>
|
|
1264
|
-
<line num="150" count="0" type="stmt"/>
|
|
1265
1256
|
<line num="153" count="0" type="stmt"/>
|
|
1266
|
-
<line num="
|
|
1267
|
-
<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"/>
|
|
1268
1261
|
<line num="159" count="0" type="stmt"/>
|
|
1269
|
-
<line num="
|
|
1270
|
-
<line num="161" count="0" type="stmt"/>
|
|
1262
|
+
<line num="163" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1271
1263
|
<line num="164" count="0" type="stmt"/>
|
|
1272
|
-
<line num="165" count="0" type="cond" truecount="0" falsecount="
|
|
1264
|
+
<line num="165" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1273
1265
|
<line num="166" count="0" type="stmt"/>
|
|
1274
|
-
<line num="
|
|
1275
|
-
<line num="
|
|
1276
|
-
<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"/>
|
|
1277
1296
|
</file>
|
|
1278
1297
|
</package>
|
|
1279
1298
|
<package name="src.components.MlSpatialElevationProfile">
|
|
@@ -1432,9 +1451,9 @@
|
|
|
1432
1451
|
</file>
|
|
1433
1452
|
</package>
|
|
1434
1453
|
<package name="src.components.MlVectorTileLayer">
|
|
1435
|
-
<metrics statements="
|
|
1454
|
+
<metrics statements="53" coveredstatements="44" conditionals="26" coveredconditionals="15" methods="6" coveredmethods="6"/>
|
|
1436
1455
|
<file name="MlVectorTileLayer.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlVectorTileLayer/MlVectorTileLayer.js">
|
|
1437
|
-
<metrics statements="
|
|
1456
|
+
<metrics statements="53" coveredstatements="44" conditionals="26" coveredconditionals="15" methods="6" coveredmethods="6"/>
|
|
1438
1457
|
<line num="11" count="1" type="stmt"/>
|
|
1439
1458
|
<line num="12" count="8" type="stmt"/>
|
|
1440
1459
|
<line num="14" count="8" type="stmt"/>
|
|
@@ -1444,41 +1463,50 @@
|
|
|
1444
1463
|
<line num="18" count="8" type="stmt"/>
|
|
1445
1464
|
<line num="19" count="8" type="stmt"/>
|
|
1446
1465
|
<line num="20" count="8" type="stmt"/>
|
|
1447
|
-
<line num="
|
|
1448
|
-
<line num="23" count="
|
|
1449
|
-
<line num="24" count="2" type="
|
|
1450
|
-
<line num="25" count="2" type="
|
|
1451
|
-
<line num="26" count="2" type="
|
|
1452
|
-
<line num="
|
|
1453
|
-
<line num="30" count="2" type="
|
|
1454
|
-
<line num="
|
|
1455
|
-
<line num="36" count="
|
|
1456
|
-
<line num="
|
|
1457
|
-
<line num="40" count="8" type="
|
|
1458
|
-
<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"/>
|
|
1459
1478
|
<line num="43" count="4" type="stmt"/>
|
|
1460
|
-
<line num="
|
|
1461
|
-
<line num="
|
|
1479
|
+
<line num="44" count="4" type="stmt"/>
|
|
1480
|
+
<line num="47" count="4" type="stmt"/>
|
|
1462
1481
|
<line num="55" count="4" type="stmt"/>
|
|
1463
1482
|
<line num="56" count="4" type="stmt"/>
|
|
1464
|
-
<line num="
|
|
1465
|
-
<line num="
|
|
1466
|
-
<line num="
|
|
1467
|
-
<line num="
|
|
1468
|
-
<line num="
|
|
1469
|
-
<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"/>
|
|
1470
1489
|
<line num="82" count="4" type="stmt"/>
|
|
1471
|
-
<line num="
|
|
1472
|
-
<line num="85" count="
|
|
1473
|
-
<line num="
|
|
1474
|
-
<line num="
|
|
1475
|
-
<line num="
|
|
1476
|
-
<line num="
|
|
1477
|
-
<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"/>
|
|
1478
1499
|
<line num="105" count="0" type="stmt"/>
|
|
1479
|
-
<line num="
|
|
1480
|
-
<line num="
|
|
1481
|
-
<line num="
|
|
1500
|
+
<line num="114" count="4" type="stmt"/>
|
|
1501
|
+
<line num="119" count="8" type="stmt"/>
|
|
1502
|
+
<line num="120" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
1503
|
+
<line num="122" count="0" type="stmt"/>
|
|
1504
|
+
<line num="123" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1505
|
+
<line num="125" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1506
|
+
<line num="126" count="0" type="stmt"/>
|
|
1507
|
+
<line num="130" count="0" type="stmt"/>
|
|
1508
|
+
<line num="138" count="8" type="stmt"/>
|
|
1509
|
+
<line num="141" count="1" type="stmt"/>
|
|
1482
1510
|
</file>
|
|
1483
1511
|
</package>
|
|
1484
1512
|
<package name="src.components.MlWmsFeatureInfoPopup">
|
|
@@ -1508,48 +1536,37 @@
|
|
|
1508
1536
|
</file>
|
|
1509
1537
|
</package>
|
|
1510
1538
|
<package name="src.components.MlWmsLayer">
|
|
1511
|
-
<metrics statements="
|
|
1539
|
+
<metrics statements="28" coveredstatements="24" conditionals="16" coveredconditionals="13" methods="3" coveredmethods="3"/>
|
|
1512
1540
|
<file name="MlWmsLayer.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlWmsLayer/MlWmsLayer.js">
|
|
1513
|
-
<metrics statements="
|
|
1541
|
+
<metrics statements="28" coveredstatements="24" conditionals="16" coveredconditionals="13" methods="3" coveredmethods="3"/>
|
|
1514
1542
|
<line num="7" count="1" type="stmt"/>
|
|
1515
1543
|
<line num="47" count="1" type="stmt"/>
|
|
1516
|
-
<line num="48" count="
|
|
1517
|
-
<line num="50" count="
|
|
1518
|
-
<line num="51" count="
|
|
1519
|
-
<line num="
|
|
1520
|
-
<line num="
|
|
1521
|
-
<line num="55" count="8" type="stmt"/>
|
|
1544
|
+
<line num="48" count="12" type="stmt"/>
|
|
1545
|
+
<line num="50" count="12" type="stmt"/>
|
|
1546
|
+
<line num="51" count="12" type="cond" truecount="2" falsecount="0"/>
|
|
1547
|
+
<line num="53" count="12" type="stmt"/>
|
|
1548
|
+
<line num="54" count="8" type="cond" truecount="4" falsecount="0"/>
|
|
1522
1549
|
<line num="56" count="4" type="stmt"/>
|
|
1523
|
-
<line num="
|
|
1524
|
-
<line num="
|
|
1525
|
-
<line num="
|
|
1526
|
-
<line num="62" count="
|
|
1527
|
-
<line num="64" count="
|
|
1528
|
-
<line num="
|
|
1529
|
-
<line num="69" count="8" type="cond" truecount="4" falsecount="0"/>
|
|
1550
|
+
<line num="59" count="4" type="stmt"/>
|
|
1551
|
+
<line num="60" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
1552
|
+
<line num="61" count="0" type="stmt"/>
|
|
1553
|
+
<line num="62" count="0" type="stmt"/>
|
|
1554
|
+
<line num="64" count="4" type="stmt"/>
|
|
1555
|
+
<line num="66" count="4" type="stmt"/>
|
|
1530
1556
|
<line num="71" count="4" type="stmt"/>
|
|
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="
|
|
1544
|
-
<line num="117" count="0" type="stmt"/>
|
|
1545
|
-
<line num="121" count="8" type="stmt"/>
|
|
1546
|
-
<line num="122" count="4" type="cond" truecount="2" falsecount="2"/>
|
|
1547
|
-
<line num="125" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1548
|
-
<line num="126" count="0" type="stmt"/>
|
|
1549
|
-
<line num="128" count="0" type="stmt"/>
|
|
1550
|
-
<line num="132" count="8" type="stmt"/>
|
|
1551
|
-
<line num="135" count="1" type="stmt"/>
|
|
1552
|
-
<line num="139" count="1" type="stmt"/>
|
|
1557
|
+
<line num="73" count="4" type="stmt"/>
|
|
1558
|
+
<line num="75" count="4" type="stmt"/>
|
|
1559
|
+
<line num="87" count="4" type="stmt"/>
|
|
1560
|
+
<line num="98" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
1561
|
+
<line num="99" count="0" type="stmt"/>
|
|
1562
|
+
<line num="103" count="12" type="stmt"/>
|
|
1563
|
+
<line num="104" count="8" type="cond" truecount="4" falsecount="0"/>
|
|
1564
|
+
<line num="107" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
1565
|
+
<line num="108" count="4" type="stmt"/>
|
|
1566
|
+
<line num="110" count="0" type="stmt"/>
|
|
1567
|
+
<line num="114" count="12" type="stmt"/>
|
|
1568
|
+
<line num="117" count="1" type="stmt"/>
|
|
1569
|
+
<line num="121" count="1" type="stmt"/>
|
|
1553
1570
|
</file>
|
|
1554
1571
|
</package>
|
|
1555
1572
|
<package name="src.components.MlWmsLoader">
|
|
@@ -1652,45 +1669,45 @@
|
|
|
1652
1669
|
<metrics statements="106" coveredstatements="54" conditionals="42" coveredconditionals="14" methods="19" coveredmethods="9"/>
|
|
1653
1670
|
<file name="useMap.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useMap.js">
|
|
1654
1671
|
<metrics statements="27" coveredstatements="21" conditionals="12" coveredconditionals="6" methods="5" coveredmethods="4"/>
|
|
1655
|
-
<line num="8" count="
|
|
1656
|
-
<line num="10" count="
|
|
1657
|
-
<line num="19" count="
|
|
1658
|
-
<line num="20" count="
|
|
1659
|
-
<line num="22" count="
|
|
1660
|
-
<line num="24" count="
|
|
1661
|
-
<line num="26" count="
|
|
1662
|
-
<line num="27" count="
|
|
1663
|
-
<line num="29" count="
|
|
1664
|
-
<line num="30" count="
|
|
1665
|
-
<line num="31" count="
|
|
1666
|
-
<line num="32" count="
|
|
1667
|
-
<line num="34" count="
|
|
1668
|
-
<line num="35" count="
|
|
1669
|
-
<line num="39" count="
|
|
1670
|
-
<line num="40" count="
|
|
1671
|
-
<line num="43" count="
|
|
1672
|
+
<line num="8" count="45" type="stmt"/>
|
|
1673
|
+
<line num="10" count="45" type="stmt"/>
|
|
1674
|
+
<line num="19" count="45" type="stmt"/>
|
|
1675
|
+
<line num="20" count="45" type="stmt"/>
|
|
1676
|
+
<line num="22" count="45" type="stmt"/>
|
|
1677
|
+
<line num="24" count="45" type="stmt"/>
|
|
1678
|
+
<line num="26" count="45" type="stmt"/>
|
|
1679
|
+
<line num="27" count="14" type="stmt"/>
|
|
1680
|
+
<line num="29" count="14" type="stmt"/>
|
|
1681
|
+
<line num="30" count="6" type="cond" truecount="1" falsecount="1"/>
|
|
1682
|
+
<line num="31" count="6" type="stmt"/>
|
|
1683
|
+
<line num="32" count="6" type="stmt"/>
|
|
1684
|
+
<line num="34" count="6" type="stmt"/>
|
|
1685
|
+
<line num="35" count="6" type="stmt"/>
|
|
1686
|
+
<line num="39" count="45" type="stmt"/>
|
|
1687
|
+
<line num="40" count="42" type="cond" truecount="4" falsecount="0"/>
|
|
1688
|
+
<line num="43" count="14" type="cond" truecount="1" falsecount="1"/>
|
|
1672
1689
|
<line num="44" count="0" type="stmt"/>
|
|
1673
1690
|
<line num="46" count="0" type="stmt"/>
|
|
1674
1691
|
<line num="47" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1675
1692
|
<line num="48" count="0" type="stmt"/>
|
|
1676
1693
|
<line num="51" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1677
1694
|
<line num="52" count="0" type="stmt"/>
|
|
1678
|
-
<line num="57" count="
|
|
1679
|
-
<line num="58" count="
|
|
1680
|
-
<line num="59" count="
|
|
1681
|
-
<line num="62" count="
|
|
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"/>
|
|
1682
1699
|
</file>
|
|
1683
1700
|
<file name="useMapState.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useMapState.js">
|
|
1684
1701
|
<metrics statements="44" coveredstatements="33" conditionals="22" coveredconditionals="8" methods="7" coveredmethods="5"/>
|
|
1685
|
-
<line num="13" count="
|
|
1686
|
-
<line num="15" count="
|
|
1687
|
-
<line num="16" count="
|
|
1688
|
-
<line num="18" count="
|
|
1689
|
-
<line num="19" count="
|
|
1690
|
-
<line num="21" count="
|
|
1691
|
-
<line num="22" count="
|
|
1692
|
-
<line num="24" count="
|
|
1693
|
-
<line num="32" count="
|
|
1702
|
+
<line num="13" count="61" type="stmt"/>
|
|
1703
|
+
<line num="15" count="61" type="stmt"/>
|
|
1704
|
+
<line num="16" count="61" type="stmt"/>
|
|
1705
|
+
<line num="18" count="61" type="stmt"/>
|
|
1706
|
+
<line num="19" count="61" type="stmt"/>
|
|
1707
|
+
<line num="21" count="61" type="stmt"/>
|
|
1708
|
+
<line num="22" count="61" type="stmt"/>
|
|
1709
|
+
<line num="24" count="61" type="stmt"/>
|
|
1710
|
+
<line num="32" count="61" type="stmt"/>
|
|
1694
1711
|
<line num="34" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1695
1712
|
<line num="35" count="0" type="stmt"/>
|
|
1696
1713
|
<line num="38" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
@@ -1698,34 +1715,34 @@
|
|
|
1698
1715
|
<line num="40" count="0" type="stmt"/>
|
|
1699
1716
|
<line num="42" count="0" type="stmt"/>
|
|
1700
1717
|
<line num="46" count="0" type="stmt"/>
|
|
1701
|
-
<line num="51" count="
|
|
1702
|
-
<line num="52" count="
|
|
1703
|
-
<line num="53" count="
|
|
1704
|
-
<line num="54" count="
|
|
1705
|
-
<line num="55" count="
|
|
1706
|
-
<line num="56" count="
|
|
1707
|
-
<line num="60" count="
|
|
1708
|
-
<line num="61" count="
|
|
1709
|
-
<line num="63" count="
|
|
1710
|
-
<line num="64" count="
|
|
1711
|
-
<line num="65" count="
|
|
1712
|
-
<line num="66" count="
|
|
1713
|
-
<line num="68" count="
|
|
1714
|
-
<line num="72" count="
|
|
1715
|
-
<line num="73" count="
|
|
1716
|
-
<line num="76" count="
|
|
1717
|
-
<line num="77" count="
|
|
1718
|
-
<line num="79" count="
|
|
1718
|
+
<line num="51" count="61" type="stmt"/>
|
|
1719
|
+
<line num="52" count="18" type="stmt"/>
|
|
1720
|
+
<line num="53" count="18" type="stmt"/>
|
|
1721
|
+
<line num="54" count="18" type="cond" truecount="1" falsecount="1"/>
|
|
1722
|
+
<line num="55" count="18" type="stmt"/>
|
|
1723
|
+
<line num="56" count="18" type="stmt"/>
|
|
1724
|
+
<line num="60" count="61" type="stmt"/>
|
|
1725
|
+
<line num="61" count="18" type="stmt"/>
|
|
1726
|
+
<line num="63" count="18" type="stmt"/>
|
|
1727
|
+
<line num="64" count="8" type="cond" truecount="1" falsecount="1"/>
|
|
1728
|
+
<line num="65" count="8" type="stmt"/>
|
|
1729
|
+
<line num="66" count="8" type="stmt"/>
|
|
1730
|
+
<line num="68" count="8" type="stmt"/>
|
|
1731
|
+
<line num="72" count="61" type="stmt"/>
|
|
1732
|
+
<line num="73" count="36" type="cond" truecount="4" falsecount="0"/>
|
|
1733
|
+
<line num="76" count="18" type="stmt"/>
|
|
1734
|
+
<line num="77" count="18" type="stmt"/>
|
|
1735
|
+
<line num="79" count="18" type="cond" truecount="1" falsecount="1"/>
|
|
1719
1736
|
<line num="80" count="0" type="stmt"/>
|
|
1720
1737
|
<line num="82" count="0" type="stmt"/>
|
|
1721
1738
|
<line num="85" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1722
1739
|
<line num="86" count="0" type="stmt"/>
|
|
1723
|
-
<line num="93" count="
|
|
1724
|
-
<line num="94" count="
|
|
1725
|
-
<line num="96" count="
|
|
1726
|
-
<line num="108" count="
|
|
1727
|
-
<line num="114" count="
|
|
1728
|
-
<line num="126" count="
|
|
1740
|
+
<line num="93" count="18" type="cond" truecount="1" falsecount="1"/>
|
|
1741
|
+
<line num="94" count="18" type="stmt"/>
|
|
1742
|
+
<line num="96" count="18" type="stmt"/>
|
|
1743
|
+
<line num="108" count="61" type="stmt"/>
|
|
1744
|
+
<line num="114" count="5" type="stmt"/>
|
|
1745
|
+
<line num="126" count="5" type="stmt"/>
|
|
1729
1746
|
</file>
|
|
1730
1747
|
<file name="useWms.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useWms.js">
|
|
1731
1748
|
<metrics statements="35" coveredstatements="0" conditionals="8" coveredconditionals="0" methods="7" coveredmethods="0"/>
|