@mapcomponents/react-maplibre 0.1.20 → 0.1.24
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 +195 -198
- package/coverage/coverage-final.json +6 -6
- package/coverage/lcov-report/index.html +31 -31
- 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 +4 -4
- 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 +94 -124
- package/coverage/lcov-report/src/components/MlVectorTileLayer/index.html +17 -17
- 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 +334 -329
- package/dist/index.esm.js +86 -106
- 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 +3 -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 +65 -75
- package/src/components/MlVectorTileLayer/MlVectorTileLayer.test.js +6 -6
- 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="1642947992167" clover="3.2.0">
|
|
3
|
+
<project timestamp="1642947992167" name="All files">
|
|
4
|
+
<metrics statements="1586" coveredstatements="579" conditionals="924" coveredconditionals="255" methods="284" coveredmethods="95" elements="2794" coveredelements="929" complexity="0" loc="1586" ncloc="1586" 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">
|
|
@@ -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,53 +1451,42 @@
|
|
|
1432
1451
|
</file>
|
|
1433
1452
|
</package>
|
|
1434
1453
|
<package name="src.components.MlVectorTileLayer">
|
|
1435
|
-
<metrics statements="
|
|
1454
|
+
<metrics statements="33" coveredstatements="29" conditionals="16" coveredconditionals="13" methods="3" coveredmethods="3"/>
|
|
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="33" coveredstatements="29" conditionals="16" coveredconditionals="13" methods="3" coveredmethods="3"/>
|
|
1438
1457
|
<line num="11" count="1" type="stmt"/>
|
|
1439
|
-
<line num="12" count="
|
|
1440
|
-
<line num="14" count="
|
|
1441
|
-
<line num="15" count="
|
|
1442
|
-
<line num="16" count="
|
|
1443
|
-
<line num="17" count="
|
|
1444
|
-
<line num="18" count="
|
|
1445
|
-
<line num="
|
|
1446
|
-
<line num="
|
|
1447
|
-
<line num="
|
|
1448
|
-
<line num="
|
|
1449
|
-
<line num="
|
|
1450
|
-
<line num="
|
|
1451
|
-
<line num="
|
|
1452
|
-
<line num="29" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
1453
|
-
<line num="30" count="2" type="stmt"/>
|
|
1454
|
-
<line num="35" count="8" type="stmt"/>
|
|
1455
|
-
<line num="36" count="4" type="stmt"/>
|
|
1456
|
-
<line num="39" count="8" type="stmt"/>
|
|
1457
|
-
<line num="40" count="8" type="cond" truecount="4" falsecount="0"/>
|
|
1458
|
+
<line num="12" count="12" type="stmt"/>
|
|
1459
|
+
<line num="14" count="12" type="stmt"/>
|
|
1460
|
+
<line num="15" count="12" type="cond" truecount="2" falsecount="0"/>
|
|
1461
|
+
<line num="16" count="12" type="stmt"/>
|
|
1462
|
+
<line num="17" count="12" type="stmt"/>
|
|
1463
|
+
<line num="18" count="12" type="stmt"/>
|
|
1464
|
+
<line num="20" count="12" type="stmt"/>
|
|
1465
|
+
<line num="21" count="8" type="cond" truecount="4" falsecount="0"/>
|
|
1466
|
+
<line num="23" count="4" type="stmt"/>
|
|
1467
|
+
<line num="26" count="4" type="stmt"/>
|
|
1468
|
+
<line num="38" count="4" type="stmt"/>
|
|
1469
|
+
<line num="39" count="4" type="stmt"/>
|
|
1470
|
+
<line num="40" count="4" type="stmt"/>
|
|
1458
1471
|
<line num="42" count="4" type="stmt"/>
|
|
1459
|
-
<line num="
|
|
1460
|
-
<line num="
|
|
1461
|
-
<line num="
|
|
1462
|
-
<line num="
|
|
1463
|
-
<line num="
|
|
1464
|
-
<line num="
|
|
1465
|
-
<line num="
|
|
1466
|
-
<line num="
|
|
1467
|
-
<line num="
|
|
1468
|
-
<line num="
|
|
1469
|
-
<line num="81" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
1472
|
+
<line num="60" count="4" type="stmt"/>
|
|
1473
|
+
<line num="61" count="4" type="stmt"/>
|
|
1474
|
+
<line num="65" count="12" type="stmt"/>
|
|
1475
|
+
<line num="66" count="8" type="cond" truecount="4" falsecount="0"/>
|
|
1476
|
+
<line num="68" count="4" type="stmt"/>
|
|
1477
|
+
<line num="69" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
1478
|
+
<line num="71" count="4" type="stmt"/>
|
|
1479
|
+
<line num="73" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
1480
|
+
<line num="74" count="0" type="stmt"/>
|
|
1481
|
+
<line num="75" count="0" type="stmt"/>
|
|
1470
1482
|
<line num="82" count="4" type="stmt"/>
|
|
1471
|
-
<line num="
|
|
1472
|
-
<line num="
|
|
1473
|
-
<line num="
|
|
1474
|
-
<line num="
|
|
1475
|
-
<line num="
|
|
1476
|
-
<line num="101" count="
|
|
1477
|
-
<line num="104" count="
|
|
1478
|
-
<line num="105" count="0" type="stmt"/>
|
|
1479
|
-
<line num="107" count="0" type="stmt"/>
|
|
1480
|
-
<line num="111" count="8" type="stmt"/>
|
|
1481
|
-
<line num="114" count="1" type="stmt"/>
|
|
1483
|
+
<line num="85" count="4" type="stmt"/>
|
|
1484
|
+
<line num="87" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
1485
|
+
<line num="88" count="0" type="stmt"/>
|
|
1486
|
+
<line num="89" count="0" type="stmt"/>
|
|
1487
|
+
<line num="96" count="4" type="stmt"/>
|
|
1488
|
+
<line num="101" count="12" type="stmt"/>
|
|
1489
|
+
<line num="104" count="1" type="stmt"/>
|
|
1482
1490
|
</file>
|
|
1483
1491
|
</package>
|
|
1484
1492
|
<package name="src.components.MlWmsFeatureInfoPopup">
|
|
@@ -1508,48 +1516,37 @@
|
|
|
1508
1516
|
</file>
|
|
1509
1517
|
</package>
|
|
1510
1518
|
<package name="src.components.MlWmsLayer">
|
|
1511
|
-
<metrics statements="
|
|
1519
|
+
<metrics statements="28" coveredstatements="24" conditionals="16" coveredconditionals="13" methods="3" coveredmethods="3"/>
|
|
1512
1520
|
<file name="MlWmsLayer.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlWmsLayer/MlWmsLayer.js">
|
|
1513
|
-
<metrics statements="
|
|
1521
|
+
<metrics statements="28" coveredstatements="24" conditionals="16" coveredconditionals="13" methods="3" coveredmethods="3"/>
|
|
1514
1522
|
<line num="7" count="1" type="stmt"/>
|
|
1515
1523
|
<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"/>
|
|
1524
|
+
<line num="48" count="12" type="stmt"/>
|
|
1525
|
+
<line num="50" count="12" type="stmt"/>
|
|
1526
|
+
<line num="51" count="12" type="cond" truecount="2" falsecount="0"/>
|
|
1527
|
+
<line num="53" count="12" type="stmt"/>
|
|
1528
|
+
<line num="54" count="8" type="cond" truecount="4" falsecount="0"/>
|
|
1522
1529
|
<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"/>
|
|
1530
|
+
<line num="59" count="4" type="stmt"/>
|
|
1531
|
+
<line num="60" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
1532
|
+
<line num="61" count="0" type="stmt"/>
|
|
1533
|
+
<line num="62" count="0" type="stmt"/>
|
|
1534
|
+
<line num="64" count="4" type="stmt"/>
|
|
1535
|
+
<line num="66" count="4" type="stmt"/>
|
|
1530
1536
|
<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"/>
|
|
1537
|
+
<line num="73" count="4" type="stmt"/>
|
|
1538
|
+
<line num="75" count="4" type="stmt"/>
|
|
1539
|
+
<line num="87" count="4" type="stmt"/>
|
|
1540
|
+
<line num="98" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
1541
|
+
<line num="99" count="0" type="stmt"/>
|
|
1542
|
+
<line num="103" count="12" type="stmt"/>
|
|
1543
|
+
<line num="104" count="8" type="cond" truecount="4" falsecount="0"/>
|
|
1544
|
+
<line num="107" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
1545
|
+
<line num="108" count="4" type="stmt"/>
|
|
1546
|
+
<line num="110" count="0" type="stmt"/>
|
|
1547
|
+
<line num="114" count="12" type="stmt"/>
|
|
1548
|
+
<line num="117" count="1" type="stmt"/>
|
|
1549
|
+
<line num="121" count="1" type="stmt"/>
|
|
1553
1550
|
</file>
|
|
1554
1551
|
</package>
|
|
1555
1552
|
<package name="src.components.MlWmsLoader">
|
|
@@ -1652,45 +1649,45 @@
|
|
|
1652
1649
|
<metrics statements="106" coveredstatements="54" conditionals="42" coveredconditionals="14" methods="19" coveredmethods="9"/>
|
|
1653
1650
|
<file name="useMap.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useMap.js">
|
|
1654
1651
|
<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="
|
|
1652
|
+
<line num="8" count="57" type="stmt"/>
|
|
1653
|
+
<line num="10" count="57" type="stmt"/>
|
|
1654
|
+
<line num="19" count="57" type="stmt"/>
|
|
1655
|
+
<line num="20" count="57" type="stmt"/>
|
|
1656
|
+
<line num="22" count="57" type="stmt"/>
|
|
1657
|
+
<line num="24" count="57" type="stmt"/>
|
|
1658
|
+
<line num="26" count="57" type="stmt"/>
|
|
1659
|
+
<line num="27" count="18" type="stmt"/>
|
|
1660
|
+
<line num="29" count="18" type="stmt"/>
|
|
1661
|
+
<line num="30" count="8" type="cond" truecount="1" falsecount="1"/>
|
|
1662
|
+
<line num="31" count="8" type="stmt"/>
|
|
1663
|
+
<line num="32" count="8" type="stmt"/>
|
|
1664
|
+
<line num="34" count="8" type="stmt"/>
|
|
1665
|
+
<line num="35" count="8" type="stmt"/>
|
|
1666
|
+
<line num="39" count="57" type="stmt"/>
|
|
1667
|
+
<line num="40" count="54" type="cond" truecount="4" falsecount="0"/>
|
|
1668
|
+
<line num="43" count="18" type="cond" truecount="1" falsecount="1"/>
|
|
1672
1669
|
<line num="44" count="0" type="stmt"/>
|
|
1673
1670
|
<line num="46" count="0" type="stmt"/>
|
|
1674
1671
|
<line num="47" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1675
1672
|
<line num="48" count="0" type="stmt"/>
|
|
1676
1673
|
<line num="51" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1677
1674
|
<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="
|
|
1675
|
+
<line num="57" count="18" type="stmt"/>
|
|
1676
|
+
<line num="58" count="18" type="stmt"/>
|
|
1677
|
+
<line num="59" count="18" type="stmt"/>
|
|
1678
|
+
<line num="62" count="57" type="stmt"/>
|
|
1682
1679
|
</file>
|
|
1683
1680
|
<file name="useMapState.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useMapState.js">
|
|
1684
1681
|
<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="
|
|
1682
|
+
<line num="13" count="73" type="stmt"/>
|
|
1683
|
+
<line num="15" count="73" type="stmt"/>
|
|
1684
|
+
<line num="16" count="73" type="stmt"/>
|
|
1685
|
+
<line num="18" count="73" type="stmt"/>
|
|
1686
|
+
<line num="19" count="73" type="stmt"/>
|
|
1687
|
+
<line num="21" count="73" type="stmt"/>
|
|
1688
|
+
<line num="22" count="73" type="stmt"/>
|
|
1689
|
+
<line num="24" count="73" type="stmt"/>
|
|
1690
|
+
<line num="32" count="73" type="stmt"/>
|
|
1694
1691
|
<line num="34" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1695
1692
|
<line num="35" count="0" type="stmt"/>
|
|
1696
1693
|
<line num="38" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
@@ -1698,34 +1695,34 @@
|
|
|
1698
1695
|
<line num="40" count="0" type="stmt"/>
|
|
1699
1696
|
<line num="42" count="0" type="stmt"/>
|
|
1700
1697
|
<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="
|
|
1698
|
+
<line num="51" count="73" type="stmt"/>
|
|
1699
|
+
<line num="52" count="22" type="stmt"/>
|
|
1700
|
+
<line num="53" count="22" type="stmt"/>
|
|
1701
|
+
<line num="54" count="22" type="cond" truecount="1" falsecount="1"/>
|
|
1702
|
+
<line num="55" count="22" type="stmt"/>
|
|
1703
|
+
<line num="56" count="22" type="stmt"/>
|
|
1704
|
+
<line num="60" count="73" type="stmt"/>
|
|
1705
|
+
<line num="61" count="22" type="stmt"/>
|
|
1706
|
+
<line num="63" count="22" type="stmt"/>
|
|
1707
|
+
<line num="64" count="10" type="cond" truecount="1" falsecount="1"/>
|
|
1708
|
+
<line num="65" count="10" type="stmt"/>
|
|
1709
|
+
<line num="66" count="10" type="stmt"/>
|
|
1710
|
+
<line num="68" count="10" type="stmt"/>
|
|
1711
|
+
<line num="72" count="73" type="stmt"/>
|
|
1712
|
+
<line num="73" count="44" type="cond" truecount="4" falsecount="0"/>
|
|
1713
|
+
<line num="76" count="22" type="stmt"/>
|
|
1714
|
+
<line num="77" count="22" type="stmt"/>
|
|
1715
|
+
<line num="79" count="22" type="cond" truecount="1" falsecount="1"/>
|
|
1719
1716
|
<line num="80" count="0" type="stmt"/>
|
|
1720
1717
|
<line num="82" count="0" type="stmt"/>
|
|
1721
1718
|
<line num="85" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1722
1719
|
<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="
|
|
1720
|
+
<line num="93" count="22" type="cond" truecount="1" falsecount="1"/>
|
|
1721
|
+
<line num="94" count="22" type="stmt"/>
|
|
1722
|
+
<line num="96" count="22" type="stmt"/>
|
|
1723
|
+
<line num="108" count="73" type="stmt"/>
|
|
1724
|
+
<line num="114" count="6" type="stmt"/>
|
|
1725
|
+
<line num="126" count="6" type="stmt"/>
|
|
1729
1726
|
</file>
|
|
1730
1727
|
<file name="useWms.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useWms.js">
|
|
1731
1728
|
<metrics statements="35" coveredstatements="0" conditionals="8" coveredconditionals="0" methods="7" coveredmethods="0"/>
|