@mapcomponents/react-maplibre 0.1.39 → 0.1.42
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 +10 -0
- package/coverage/clover.xml +86 -86
- package/coverage/coverage-final.json +3 -3
- package/coverage/lcov-report/index.html +14 -14
- package/coverage/lcov-report/src/components/MapLibreMap/MapLibreMap.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MapLibreMap/index.html +1 -1
- package/coverage/lcov-report/src/components/MlCreatePdfButton/MlCreatePdfButton.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlCreatePdfButton/index.html +1 -1
- package/coverage/lcov-report/src/components/MlFeatureEditor/MlFeatureEditor.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlFeatureEditor/index.html +1 -1
- package/coverage/lcov-report/src/components/MlFillExtrusionLayer/MlFillExtrusionLayer.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlFillExtrusionLayer/index.html +1 -1
- package/coverage/lcov-report/src/components/MlFollowGps/MlFollowGps.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlFollowGps/index.html +1 -1
- package/coverage/lcov-report/src/components/MlGPXViewer/MlGPXViewer.tsx.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.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlGeoJsonLayer/index.html +1 -1
- package/coverage/lcov-report/src/components/MlImageMarkerLayer/MlImageMarkerLayer.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlImageMarkerLayer/index.html +1 -1
- package/coverage/lcov-report/src/components/MlLayer/MlLayer.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlLayer/index.html +1 -1
- package/coverage/lcov-report/src/components/MlLayerMagnify/MlLayerMagnify.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlLayerMagnify/index.html +1 -1
- package/coverage/lcov-report/src/components/MlLayerSwipe/MlLayerSwipe.tsx.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.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlMarker/index.html +1 -1
- package/coverage/lcov-report/src/components/MlNavigationCompass/MlNavigationCompass.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlNavigationCompass/index.html +1 -1
- package/coverage/lcov-report/src/components/MlNavigationTools/MlNavigationTools.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlNavigationTools/index.html +1 -1
- package/coverage/lcov-report/src/components/MlOsmLayer/MlOsmLayer.js.html +1 -1
- package/coverage/lcov-report/src/components/MlOsmLayer/index.html +1 -1
- package/coverage/lcov-report/src/components/MlScaleReference/MlScaleReference.js.html +1 -1
- package/coverage/lcov-report/src/components/MlScaleReference/index.html +1 -1
- package/coverage/lcov-report/src/components/MlShareMapState/MlShareMapState.js.html +1 -1
- package/coverage/lcov-report/src/components/MlShareMapState/index.html +1 -1
- package/coverage/lcov-report/src/components/MlSpatialElevationProfile/MlSpatialElevationProfile.js.html +1 -1
- package/coverage/lcov-report/src/components/MlSpatialElevationProfile/index.html +1 -1
- package/coverage/lcov-report/src/components/MlThreeJsLayer/MlThreeJsLayer.js.html +1 -1
- package/coverage/lcov-report/src/components/MlThreeJsLayer/index.html +1 -1
- package/coverage/lcov-report/src/components/MlTransitionGeoJsonLayer/MlTransitionGeoJsonLayer.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlTransitionGeoJsonLayer/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.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlVectorTileLayer/index.html +1 -1
- 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.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlWmsLayer/index.html +1 -1
- package/coverage/lcov-report/src/components/MlWmsLoader/MlWmsLoader.tsx.html +51 -15
- package/coverage/lcov-report/src/components/MlWmsLoader/index.html +1 -1
- package/coverage/lcov-report/src/contexts/MapContext.tsx.html +1 -1
- package/coverage/lcov-report/src/contexts/SimpleDataContext.js.html +1 -1
- package/coverage/lcov-report/src/contexts/SimpleDataProvider.js.html +1 -1
- package/coverage/lcov-report/src/contexts/index.html +1 -1
- package/coverage/lcov-report/src/hooks/index.html +17 -17
- package/coverage/lcov-report/src/hooks/useLayer.ts.html +10 -10
- package/coverage/lcov-report/src/hooks/useMap.ts.html +17 -11
- package/coverage/lcov-report/src/hooks/useMapState.ts.html +1 -1
- package/coverage/lcov-report/src/hooks/useWms.js.html +1 -1
- package/coverage/lcov-report/src/index.html +1 -1
- package/coverage/lcov-report/src/index.ts.html +1 -1
- package/coverage/lcov.info +182 -178
- package/dist/index.esm.js +12 -6
- package/dist/index.esm.js.map +1 -1
- package/docs-build/{0.93d0ce3d.iframe.bundle.js → 0.b1b9b035.iframe.bundle.js} +2 -2
- package/docs-build/0.b1b9b035.iframe.bundle.js.map +1 -0
- package/docs-build/{1.2b1ae3fa.iframe.bundle.js → 1.c50fb367.iframe.bundle.js} +3 -3
- package/docs-build/1.c50fb367.iframe.bundle.js.map +1 -0
- package/docs-build/{16.2c8135a1.iframe.bundle.js → 17.2e544968.iframe.bundle.js} +2 -2
- package/docs-build/17.2e544968.iframe.bundle.js.map +1 -0
- package/docs-build/{17.9a16865a.iframe.bundle.js → 18.42087006.iframe.bundle.js} +3 -3
- package/docs-build/18.42087006.iframe.bundle.js.map +1 -0
- package/docs-build/{18.4c47f37e.iframe.bundle.js → 19.7e782442.iframe.bundle.js} +2 -2
- package/docs-build/19.7e782442.iframe.bundle.js.map +1 -0
- package/docs-build/{2.4518b817.iframe.bundle.js → 2.e58dc625.iframe.bundle.js} +2 -2
- package/docs-build/2.e58dc625.iframe.bundle.js.map +1 -0
- package/docs-build/{19.cdf25e28.iframe.bundle.js → 20.f009289a.iframe.bundle.js} +2 -2
- package/docs-build/20.f009289a.iframe.bundle.js.map +1 -0
- package/docs-build/{20.4c43e27c.iframe.bundle.js → 21.1cdc9040.iframe.bundle.js} +2 -2
- package/docs-build/21.1cdc9040.iframe.bundle.js.map +1 -0
- package/docs-build/{21.19c21085.iframe.bundle.js → 22.c9e6b2d7.iframe.bundle.js} +2 -2
- package/docs-build/22.c9e6b2d7.iframe.bundle.js.map +1 -0
- package/docs-build/{3.5dd9e88b.iframe.bundle.js → 3.a8172b89.iframe.bundle.js} +2 -2
- package/docs-build/3.a8172b89.iframe.bundle.js.map +1 -0
- package/docs-build/iframe.html +1 -1
- package/docs-build/main~24120820.edd86ba9.iframe.bundle.js +2 -0
- package/docs-build/main~24120820.edd86ba9.iframe.bundle.js.map +1 -0
- package/docs-build/{vendors~main~0ad7406a.22b96f8e.iframe.bundle.js → vendors~main~0ad7406a.2054ae7c.iframe.bundle.js} +3 -3
- package/docs-build/vendors~main~0ad7406a.2054ae7c.iframe.bundle.js.map +1 -0
- package/docs-build/vendors~main~0f485567.de36692f.iframe.bundle.js +2 -0
- package/docs-build/vendors~main~0f485567.de36692f.iframe.bundle.js.map +1 -0
- package/docs-build/{vendors~main~41a6ab2c.7f3a1ced.iframe.bundle.js → vendors~main~41a6ab2c.a947ed53.iframe.bundle.js} +2 -2
- package/docs-build/vendors~main~41a6ab2c.a947ed53.iframe.bundle.js.map +1 -0
- package/docs-build/vendors~main~57c1f6cb.6a433835.iframe.bundle.js +2 -0
- package/docs-build/vendors~main~57c1f6cb.6a433835.iframe.bundle.js.map +1 -0
- package/docs-build/{vendors~main~73914085.3d4f5bbf.iframe.bundle.js → vendors~main~73914085.a8e03e3b.iframe.bundle.js} +6 -6
- package/docs-build/{vendors~main~73914085.3d4f5bbf.iframe.bundle.js.map → vendors~main~73914085.a8e03e3b.iframe.bundle.js.map} +1 -1
- package/docs-build/{vendors~main~9c5b28f6.f8614bdc.iframe.bundle.js → vendors~main~9c5b28f6.7b8beed1.iframe.bundle.js} +3 -3
- package/docs-build/vendors~main~9c5b28f6.7b8beed1.iframe.bundle.js.map +1 -0
- package/docs-build/{vendors~main~b5906859.b606e812.iframe.bundle.js → vendors~main~b5906859.7f66dcaf.iframe.bundle.js} +5 -5
- package/docs-build/vendors~main~b5906859.7f66dcaf.iframe.bundle.js.map +1 -0
- package/docs-build/{vendors~main~b8f44717.7a612c34.iframe.bundle.js → vendors~main~b8f44717.7053e467.iframe.bundle.js} +3 -3
- package/docs-build/vendors~main~b8f44717.7053e467.iframe.bundle.js.map +1 -0
- package/docs-build/{vendors~main~b9cf3951.a6200a51.iframe.bundle.js → vendors~main~b9cf3951.a4fd68f5.iframe.bundle.js} +11 -11
- package/docs-build/vendors~main~b9cf3951.a4fd68f5.iframe.bundle.js.map +1 -0
- package/docs-build/vendors~main~d939e436.ba1cad1b.iframe.bundle.js +2 -0
- package/docs-build/vendors~main~d939e436.ba1cad1b.iframe.bundle.js.map +1 -0
- package/docs-build/vendors~main~f420d588.59c93444.iframe.bundle.js +107 -0
- package/docs-build/vendors~main~f420d588.59c93444.iframe.bundle.js.map +1 -0
- package/package.json +1 -1
- package/rollup.config.js +1 -1
- package/src/components/MapLibreMap/lib/MapLibreGlWrapper.ts +3 -1
- package/src/components/MlGeoJsonLayer/util/getDefaultPaintPropsByType.ts +1 -1
- package/src/components/MlWmsLoader/MlWmsLoader.tsx +25 -13
- package/src/hooks/useLayer.ts +4 -4
- package/src/hooks/useMap.ts +4 -2
- package/tsconfig.json +4 -0
- package/docs-build/0.93d0ce3d.iframe.bundle.js.map +0 -1
- package/docs-build/1.2b1ae3fa.iframe.bundle.js.map +0 -1
- package/docs-build/16.2c8135a1.iframe.bundle.js.map +0 -1
- package/docs-build/17.9a16865a.iframe.bundle.js.map +0 -1
- package/docs-build/18.4c47f37e.iframe.bundle.js.map +0 -1
- package/docs-build/19.cdf25e28.iframe.bundle.js.map +0 -1
- package/docs-build/2.4518b817.iframe.bundle.js.map +0 -1
- package/docs-build/20.4c43e27c.iframe.bundle.js.map +0 -1
- package/docs-build/21.19c21085.iframe.bundle.js.map +0 -1
- package/docs-build/3.5dd9e88b.iframe.bundle.js.map +0 -1
- package/docs-build/main~24120820.e0a66582.iframe.bundle.js +0 -2
- package/docs-build/main~24120820.e0a66582.iframe.bundle.js.map +0 -1
- package/docs-build/stories.json +0 -579
- package/docs-build/vendors~main~0ad7406a.22b96f8e.iframe.bundle.js.map +0 -1
- package/docs-build/vendors~main~0f485567.df27e62a.iframe.bundle.js +0 -2
- package/docs-build/vendors~main~0f485567.df27e62a.iframe.bundle.js.map +0 -1
- package/docs-build/vendors~main~41a6ab2c.7f3a1ced.iframe.bundle.js.map +0 -1
- package/docs-build/vendors~main~9c5b28f6.f8614bdc.iframe.bundle.js.map +0 -1
- package/docs-build/vendors~main~b5906859.b606e812.iframe.bundle.js.map +0 -1
- package/docs-build/vendors~main~b8f44717.7a612c34.iframe.bundle.js.map +0 -1
- package/docs-build/vendors~main~b9cf3951.a6200a51.iframe.bundle.js.map +0 -1
- package/docs-build/vendors~main~d939e436.aa5d1533.iframe.bundle.js +0 -2
- package/docs-build/vendors~main~d939e436.aa5d1533.iframe.bundle.js.map +0 -1
- package/docs-build/vendors~main~dab50aa4.277284e0.iframe.bundle.js +0 -107
- package/docs-build/vendors~main~dab50aa4.277284e0.iframe.bundle.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## [v0.1.41] - 2022-05-10
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
- 4c1f5b6: fix MlWmsLoader
|
|
7
|
+
- 32e6a3f: fix useLayer reinitialization bug
|
|
8
|
+
|
|
9
|
+
## [v0.1.39] - 2022-04-21
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
- move d3 from devDependencies to dependencies
|
|
3
13
|
## [v0.1.38] - 2022-04-21
|
|
4
14
|
|
|
5
15
|
### Changed
|
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="1552" coveredstatements="595" conditionals="
|
|
2
|
+
<coverage generated="1652193051574" clover="3.2.0">
|
|
3
|
+
<project timestamp="1652193051574" name="All files">
|
|
4
|
+
<metrics statements="1552" coveredstatements="595" conditionals="939" coveredconditionals="289" methods="277" coveredmethods="101" elements="2768" coveredelements="985" complexity="0" loc="1552" ncloc="1552" packages="30" files="36" classes="36"/>
|
|
5
5
|
<package name="src">
|
|
6
6
|
<metrics statements="0" coveredstatements="0" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
7
7
|
<file name="index.ts" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/index.ts">
|
|
@@ -1404,83 +1404,83 @@
|
|
|
1404
1404
|
<line num="67" count="0" type="stmt"/>
|
|
1405
1405
|
<line num="69" count="0" type="stmt"/>
|
|
1406
1406
|
<line num="70" count="0" type="stmt"/>
|
|
1407
|
-
<line num="
|
|
1408
|
-
<line num="78" count="0" type="stmt"/>
|
|
1409
|
-
<line num="79" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1410
|
-
<line num="80" count="0" type="stmt"/>
|
|
1411
|
-
<line num="82" count="0" type="stmt"/>
|
|
1412
|
-
<line num="83" count="0" type="stmt"/>
|
|
1407
|
+
<line num="84" count="0" type="stmt"/>
|
|
1413
1408
|
<line num="85" count="0" type="stmt"/>
|
|
1414
|
-
<line num="86" count="0" type="
|
|
1415
|
-
<line num="
|
|
1416
|
-
<line num="
|
|
1417
|
-
<line num="
|
|
1418
|
-
<line num="
|
|
1419
|
-
<line num="
|
|
1409
|
+
<line num="86" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1410
|
+
<line num="87" count="0" type="stmt"/>
|
|
1411
|
+
<line num="89" count="0" type="stmt"/>
|
|
1412
|
+
<line num="90" count="0" type="stmt"/>
|
|
1413
|
+
<line num="92" count="0" type="stmt"/>
|
|
1414
|
+
<line num="93" count="0" type="stmt"/>
|
|
1415
|
+
<line num="95" count="0" type="stmt"/>
|
|
1416
|
+
<line num="102" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1420
1417
|
<line num="103" count="0" type="stmt"/>
|
|
1421
|
-
<line num="104" count="0" type="
|
|
1418
|
+
<line num="104" count="0" type="stmt"/>
|
|
1422
1419
|
<line num="106" count="0" type="stmt"/>
|
|
1423
|
-
<line num="
|
|
1420
|
+
<line num="110" count="0" type="stmt"/>
|
|
1424
1421
|
<line num="111" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1425
|
-
<line num="112" count="0" type="stmt"/>
|
|
1426
1422
|
<line num="113" count="0" type="stmt"/>
|
|
1427
|
-
<line num="114" count="0" type="stmt"/>
|
|
1428
|
-
<line num="115" count="0" type="stmt"/>
|
|
1429
1423
|
<line num="116" count="0" type="stmt"/>
|
|
1430
|
-
<line num="
|
|
1431
|
-
<line num="
|
|
1432
|
-
<line num="
|
|
1433
|
-
<line num="
|
|
1434
|
-
<line num="
|
|
1435
|
-
<line num="
|
|
1436
|
-
<line num="
|
|
1437
|
-
<line num="
|
|
1438
|
-
<line num="
|
|
1439
|
-
<line num="
|
|
1440
|
-
<line num="
|
|
1441
|
-
<line num="
|
|
1442
|
-
<line num="
|
|
1424
|
+
<line num="118" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1425
|
+
<line num="119" count="0" type="stmt"/>
|
|
1426
|
+
<line num="120" count="0" type="stmt"/>
|
|
1427
|
+
<line num="121" count="0" type="stmt"/>
|
|
1428
|
+
<line num="122" count="0" type="stmt"/>
|
|
1429
|
+
<line num="123" count="0" type="stmt"/>
|
|
1430
|
+
<line num="124" count="0" type="stmt"/>
|
|
1431
|
+
<line num="125" count="0" type="stmt"/>
|
|
1432
|
+
<line num="137" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1433
|
+
<line num="139" count="0" type="stmt"/>
|
|
1434
|
+
<line num="142" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1435
|
+
<line num="144" count="0" type="stmt"/>
|
|
1436
|
+
<line num="157" count="0" type="stmt"/>
|
|
1437
|
+
<line num="159" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1438
|
+
<line num="160" count="0" type="stmt"/>
|
|
1443
1439
|
<line num="161" count="0" type="stmt"/>
|
|
1444
|
-
<line num="163" count="0" type="
|
|
1445
|
-
<line num="
|
|
1446
|
-
<line num="
|
|
1447
|
-
<line num="
|
|
1448
|
-
<line num="
|
|
1449
|
-
<line num="
|
|
1450
|
-
<line num="
|
|
1451
|
-
<line num="
|
|
1452
|
-
<line num="180" count="0" type="stmt"/>
|
|
1440
|
+
<line num="163" count="0" type="stmt"/>
|
|
1441
|
+
<line num="165" count="0" type="stmt"/>
|
|
1442
|
+
<line num="171" count="0" type="stmt"/>
|
|
1443
|
+
<line num="173" count="0" type="stmt"/>
|
|
1444
|
+
<line num="175" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1445
|
+
<line num="176" count="0" type="stmt"/>
|
|
1446
|
+
<line num="178" count="0" type="stmt"/>
|
|
1447
|
+
<line num="181" count="0" type="stmt"/>
|
|
1453
1448
|
<line num="182" count="0" type="stmt"/>
|
|
1454
|
-
<line num="183" count="0" type="stmt"/>
|
|
1455
1449
|
<line num="184" count="0" type="stmt"/>
|
|
1456
|
-
<line num="
|
|
1457
|
-
<line num="
|
|
1458
|
-
<line num="191" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1450
|
+
<line num="189" count="0" type="stmt"/>
|
|
1451
|
+
<line num="190" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1459
1452
|
<line num="192" count="0" type="stmt"/>
|
|
1453
|
+
<line num="194" count="0" type="stmt"/>
|
|
1454
|
+
<line num="195" count="0" type="stmt"/>
|
|
1460
1455
|
<line num="196" count="0" type="stmt"/>
|
|
1461
1456
|
<line num="200" count="0" type="stmt"/>
|
|
1462
|
-
<line num="201" count="0" type="
|
|
1457
|
+
<line num="201" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1463
1458
|
<line num="203" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1464
1459
|
<line num="204" count="0" type="stmt"/>
|
|
1465
|
-
<line num="
|
|
1466
|
-
<line num="
|
|
1467
|
-
<line num="
|
|
1468
|
-
<line num="
|
|
1469
|
-
<line num="215" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1460
|
+
<line num="208" count="0" type="stmt"/>
|
|
1461
|
+
<line num="212" count="0" type="stmt"/>
|
|
1462
|
+
<line num="213" count="0" type="stmt"/>
|
|
1463
|
+
<line num="215" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1470
1464
|
<line num="216" count="0" type="stmt"/>
|
|
1471
|
-
<line num="
|
|
1472
|
-
<line num="
|
|
1465
|
+
<line num="217" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1466
|
+
<line num="218" count="0" type="stmt"/>
|
|
1467
|
+
<line num="221" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1468
|
+
<line num="222" count="0" type="stmt"/>
|
|
1469
|
+
<line num="227" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1473
1470
|
<line num="228" count="0" type="stmt"/>
|
|
1474
|
-
<line num="
|
|
1475
|
-
<line num="
|
|
1476
|
-
<line num="231" count="0" type="stmt"/>
|
|
1477
|
-
<line num="234" count="0" type="stmt"/>
|
|
1471
|
+
<line num="236" count="0" type="stmt"/>
|
|
1472
|
+
<line num="237" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1478
1473
|
<line num="240" count="0" type="stmt"/>
|
|
1479
|
-
<line num="
|
|
1480
|
-
<line num="
|
|
1481
|
-
<line num="
|
|
1482
|
-
<line num="
|
|
1483
|
-
<line num="
|
|
1474
|
+
<line num="241" count="0" type="stmt"/>
|
|
1475
|
+
<line num="242" count="0" type="stmt"/>
|
|
1476
|
+
<line num="243" count="0" type="stmt"/>
|
|
1477
|
+
<line num="246" count="0" type="stmt"/>
|
|
1478
|
+
<line num="252" count="0" type="stmt"/>
|
|
1479
|
+
<line num="265" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1480
|
+
<line num="273" count="0" type="stmt"/>
|
|
1481
|
+
<line num="274" count="0" type="stmt"/>
|
|
1482
|
+
<line num="275" count="0" type="stmt"/>
|
|
1483
|
+
<line num="305" count="0" type="stmt"/>
|
|
1484
1484
|
</file>
|
|
1485
1485
|
</package>
|
|
1486
1486
|
<package name="src.contexts">
|
|
@@ -1569,9 +1569,9 @@
|
|
|
1569
1569
|
</file>
|
|
1570
1570
|
</package>
|
|
1571
1571
|
<package name="src.hooks">
|
|
1572
|
-
<metrics statements="169" coveredstatements="94" conditionals="
|
|
1572
|
+
<metrics statements="169" coveredstatements="94" conditionals="107" coveredconditionals="57" methods="28" coveredmethods="17"/>
|
|
1573
1573
|
<file name="useLayer.ts" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useLayer.ts">
|
|
1574
|
-
<metrics statements="
|
|
1574
|
+
<metrics statements="56" coveredstatements="42" conditionals="59" coveredconditionals="41" methods="8" coveredmethods="8"/>
|
|
1575
1575
|
<line num="30" count="12" type="stmt"/>
|
|
1576
1576
|
<line num="43" count="60" type="stmt"/>
|
|
1577
1577
|
<line num="48" count="60" type="stmt"/>
|
|
@@ -1597,13 +1597,12 @@
|
|
|
1597
1597
|
<line num="103" count="60" type="stmt"/>
|
|
1598
1598
|
<line num="104" count="60" type="cond" truecount="2" falsecount="0"/>
|
|
1599
1599
|
<line num="106" count="32" type="cond" truecount="1" falsecount="1"/>
|
|
1600
|
-
<line num="
|
|
1601
|
-
<line num="
|
|
1602
|
-
<line num="
|
|
1603
|
-
<line num="
|
|
1604
|
-
<line num="
|
|
1605
|
-
<line num="
|
|
1606
|
-
<line num="128" count="16" type="stmt"/>
|
|
1600
|
+
<line num="114" count="0" type="stmt"/>
|
|
1601
|
+
<line num="115" count="32" type="cond" truecount="2" falsecount="0"/>
|
|
1602
|
+
<line num="121" count="18" type="stmt"/>
|
|
1603
|
+
<line num="124" count="14" type="stmt"/>
|
|
1604
|
+
<line num="127" count="60" type="stmt"/>
|
|
1605
|
+
<line num="128" count="28" type="cond" truecount="4" falsecount="0"/>
|
|
1607
1606
|
<line num="131" count="12" type="stmt"/>
|
|
1608
1607
|
<line num="134" count="60" type="stmt"/>
|
|
1609
1608
|
<line num="135" count="60" type="cond" truecount="5" falsecount="0"/>
|
|
@@ -1631,7 +1630,7 @@
|
|
|
1631
1630
|
<line num="175" count="60" type="stmt"/>
|
|
1632
1631
|
</file>
|
|
1633
1632
|
<file name="useMap.ts" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useMap.ts">
|
|
1634
|
-
<metrics statements="
|
|
1633
|
+
<metrics statements="30" coveredstatements="24" conditionals="14" coveredconditionals="8" methods="6" coveredmethods="5"/>
|
|
1635
1634
|
<line num="17" count="169" type="stmt"/>
|
|
1636
1635
|
<line num="18" count="169" type="stmt"/>
|
|
1637
1636
|
<line num="20" count="169" type="stmt"/>
|
|
@@ -1644,23 +1643,24 @@
|
|
|
1644
1643
|
<line num="41" count="23" type="stmt"/>
|
|
1645
1644
|
<line num="42" count="23" type="stmt"/>
|
|
1646
1645
|
<line num="44" count="30" type="stmt"/>
|
|
1647
|
-
<line num="
|
|
1648
|
-
<line num="48" count="
|
|
1649
|
-
<line num="49" count="
|
|
1650
|
-
<line num="
|
|
1651
|
-
<line num="
|
|
1652
|
-
<line num="
|
|
1653
|
-
<line num="
|
|
1646
|
+
<line num="47" count="169" type="stmt"/>
|
|
1647
|
+
<line num="48" count="48" type="stmt"/>
|
|
1648
|
+
<line num="49" count="23" type="stmt"/>
|
|
1649
|
+
<line num="50" count="23" type="stmt"/>
|
|
1650
|
+
<line num="54" count="169" type="stmt"/>
|
|
1651
|
+
<line num="55" count="96" type="cond" truecount="4" falsecount="0"/>
|
|
1652
|
+
<line num="59" count="48" type="cond" truecount="1" falsecount="1"/>
|
|
1654
1653
|
<line num="60" count="0" type="stmt"/>
|
|
1655
|
-
<line num="61" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1656
1654
|
<line num="62" count="0" type="stmt"/>
|
|
1657
|
-
<line num="
|
|
1658
|
-
<line num="
|
|
1659
|
-
<line num="
|
|
1660
|
-
<line num="
|
|
1655
|
+
<line num="63" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1656
|
+
<line num="64" count="0" type="stmt"/>
|
|
1657
|
+
<line num="67" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1658
|
+
<line num="68" count="0" type="stmt"/>
|
|
1661
1659
|
<line num="73" count="48" type="stmt"/>
|
|
1662
1660
|
<line num="74" count="48" type="stmt"/>
|
|
1663
|
-
<line num="
|
|
1661
|
+
<line num="75" count="48" type="stmt"/>
|
|
1662
|
+
<line num="76" count="48" type="stmt"/>
|
|
1663
|
+
<line num="79" count="169" type="stmt"/>
|
|
1664
1664
|
</file>
|
|
1665
1665
|
<file name="useMapState.ts" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useMapState.ts">
|
|
1666
1666
|
<metrics statements="48" coveredstatements="27" conditionals="26" coveredconditionals="8" methods="7" coveredmethods="4"/>
|