@mapcomponents/react-maplibre 0.1.20 → 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 +13 -0
- package/coverage/clover.xml +179 -165
- package/coverage/coverage-final.json +6 -6
- package/coverage/lcov-report/index.html +36 -36
- 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 +49 -13
- 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 +304 -268
- package/dist/index.esm.js +69 -59
- 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 +17 -5
- package/src/components/MlWmsLayer/MlWmsLayer.js +16 -34
- package/src/hooks/useMap.js +4 -0
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="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">
|
|
@@ -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="46" coveredstatements="39" conditionals="24" coveredconditionals="14" 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="46" coveredstatements="39" conditionals="24" coveredconditionals="14" 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"/>
|
|
@@ -1474,11 +1493,13 @@
|
|
|
1474
1493
|
<line num="95" count="4" type="stmt"/>
|
|
1475
1494
|
<line num="100" count="8" type="stmt"/>
|
|
1476
1495
|
<line num="101" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
1496
|
+
<line num="103" count="0" type="stmt"/>
|
|
1477
1497
|
<line num="104" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1478
|
-
<line num="
|
|
1498
|
+
<line num="106" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1479
1499
|
<line num="107" count="0" type="stmt"/>
|
|
1480
|
-
<line num="111" count="
|
|
1481
|
-
<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"/>
|
|
1482
1503
|
</file>
|
|
1483
1504
|
</package>
|
|
1484
1505
|
<package name="src.components.MlWmsFeatureInfoPopup">
|
|
@@ -1508,48 +1529,37 @@
|
|
|
1508
1529
|
</file>
|
|
1509
1530
|
</package>
|
|
1510
1531
|
<package name="src.components.MlWmsLayer">
|
|
1511
|
-
<metrics statements="
|
|
1532
|
+
<metrics statements="28" coveredstatements="24" conditionals="16" coveredconditionals="13" methods="3" coveredmethods="3"/>
|
|
1512
1533
|
<file name="MlWmsLayer.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlWmsLayer/MlWmsLayer.js">
|
|
1513
|
-
<metrics statements="
|
|
1534
|
+
<metrics statements="28" coveredstatements="24" conditionals="16" coveredconditionals="13" methods="3" coveredmethods="3"/>
|
|
1514
1535
|
<line num="7" count="1" type="stmt"/>
|
|
1515
1536
|
<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"/>
|
|
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"/>
|
|
1522
1542
|
<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"/>
|
|
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"/>
|
|
1530
1549
|
<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"/>
|
|
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"/>
|
|
1553
1563
|
</file>
|
|
1554
1564
|
</package>
|
|
1555
1565
|
<package name="src.components.MlWmsLoader">
|
|
@@ -1649,48 +1659,52 @@
|
|
|
1649
1659
|
</file>
|
|
1650
1660
|
</package>
|
|
1651
1661
|
<package name="src.hooks">
|
|
1652
|
-
<metrics statements="
|
|
1662
|
+
<metrics statements="110" coveredstatements="58" conditionals="42" coveredconditionals="14" methods="19" coveredmethods="9"/>
|
|
1653
1663
|
<file name="useMap.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useMap.js">
|
|
1654
|
-
<metrics statements="
|
|
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="
|
|
1664
|
-
<line num="30" count="
|
|
1665
|
-
<line num="31" count="
|
|
1666
|
-
<line num="32" count="
|
|
1667
|
-
<line num="
|
|
1668
|
-
<line num="
|
|
1669
|
-
<line num="
|
|
1670
|
-
<line num="
|
|
1671
|
-
<line num="
|
|
1672
|
-
<line num="
|
|
1673
|
-
<line num="
|
|
1674
|
-
<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"/>
|
|
1675
1686
|
<line num="48" count="0" type="stmt"/>
|
|
1687
|
+
<line num="50" count="0" type="stmt"/>
|
|
1676
1688
|
<line num="51" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1677
1689
|
<line num="52" count="0" type="stmt"/>
|
|
1678
|
-
<line num="
|
|
1679
|
-
<line num="
|
|
1680
|
-
<line num="
|
|
1681
|
-
<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"/>
|
|
1682
1696
|
</file>
|
|
1683
1697
|
<file name="useMapState.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useMapState.js">
|
|
1684
1698
|
<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="
|
|
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"/>
|
|
1694
1708
|
<line num="34" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1695
1709
|
<line num="35" count="0" type="stmt"/>
|
|
1696
1710
|
<line num="38" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
@@ -1698,34 +1712,34 @@
|
|
|
1698
1712
|
<line num="40" count="0" type="stmt"/>
|
|
1699
1713
|
<line num="42" count="0" type="stmt"/>
|
|
1700
1714
|
<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="
|
|
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"/>
|
|
1719
1733
|
<line num="80" count="0" type="stmt"/>
|
|
1720
1734
|
<line num="82" count="0" type="stmt"/>
|
|
1721
1735
|
<line num="85" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1722
1736
|
<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="
|
|
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"/>
|
|
1729
1743
|
</file>
|
|
1730
1744
|
<file name="useWms.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useWms.js">
|
|
1731
1745
|
<metrics statements="35" coveredstatements="0" conditionals="8" coveredconditionals="0" methods="7" coveredmethods="0"/>
|