@mapcomponents/react-maplibre 0.1.36 → 0.1.39
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/.storybook/main.js +1 -0
- package/CHANGELOG.md +12 -0
- package/coverage/clover.xml +435 -351
- package/coverage/coverage-final.json +29 -26
- package/coverage/lcov-report/index.html +74 -59
- package/coverage/lcov-report/src/components/MapLibreMap/MapLibreMap.tsx.html +75 -27
- package/coverage/lcov-report/src/components/MapLibreMap/index.html +13 -13
- package/coverage/lcov-report/src/components/MlCreatePdfButton/MlCreatePdfButton.tsx.html +9 -9
- package/coverage/lcov-report/src/components/MlCreatePdfButton/index.html +11 -11
- package/coverage/lcov-report/src/components/MlFeatureEditor/MlFeatureEditor.tsx.html +3 -6
- package/coverage/lcov-report/src/components/MlFeatureEditor/index.html +1 -1
- package/coverage/lcov-report/src/components/MlFillExtrusionLayer/MlFillExtrusionLayer.tsx.html +3 -3
- package/coverage/lcov-report/src/components/MlFillExtrusionLayer/index.html +1 -1
- package/coverage/lcov-report/src/components/MlFollowGps/MlFollowGps.tsx.html +3 -3
- package/coverage/lcov-report/src/components/MlFollowGps/index.html +1 -1
- package/coverage/lcov-report/src/components/MlGPXViewer/MlGPXViewer.tsx.html +3 -3
- package/coverage/lcov-report/src/components/MlGPXViewer/gpxConverter.js.html +8 -8
- package/coverage/lcov-report/src/components/MlGPXViewer/index.html +1 -1
- package/coverage/lcov-report/src/components/MlGeoJsonLayer/MlGeoJsonLayer.tsx.html +2 -2
- package/coverage/lcov-report/src/components/MlGeoJsonLayer/index.html +1 -1
- package/coverage/lcov-report/src/components/MlImageMarkerLayer/MlImageMarkerLayer.tsx.html +2 -2
- package/coverage/lcov-report/src/components/MlImageMarkerLayer/index.html +1 -1
- package/coverage/lcov-report/src/components/MlLayer/MlLayer.tsx.html +2 -2
- package/coverage/lcov-report/src/components/MlLayer/index.html +1 -1
- package/coverage/lcov-report/src/components/MlLayerMagnify/MlLayerMagnify.tsx.html +15 -27
- package/coverage/lcov-report/src/components/MlLayerMagnify/index.html +18 -18
- package/coverage/lcov-report/src/components/MlLayerSwipe/MlLayerSwipe.tsx.html +13 -28
- package/coverage/lcov-report/src/components/MlLayerSwipe/index.html +19 -19
- package/coverage/lcov-report/src/components/MlLayerSwitcher/MlLayerSwitcher.js.html +2 -2
- 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 +9 -9
- package/coverage/lcov-report/src/components/MlMarker/index.html +11 -11
- package/coverage/lcov-report/src/components/MlNavigationCompass/MlNavigationCompass.tsx.html +6 -6
- package/coverage/lcov-report/src/components/MlNavigationCompass/index.html +1 -1
- package/coverage/lcov-report/src/components/MlNavigationTools/MlNavigationTools.tsx.html +7 -7
- package/coverage/lcov-report/src/components/MlNavigationTools/index.html +11 -11
- package/coverage/lcov-report/src/components/MlOsmLayer/MlOsmLayer.js.html +3 -3
- 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 +2 -2
- package/coverage/lcov-report/src/components/MlShareMapState/index.html +1 -1
- package/coverage/lcov-report/src/components/MlSpatialElevationProfile/MlSpatialElevationProfile.js.html +9 -36
- package/coverage/lcov-report/src/components/MlSpatialElevationProfile/index.html +1 -1
- package/coverage/lcov-report/src/components/MlThreeJsLayer/MlThreeJsLayer.js.html +2 -2
- package/coverage/lcov-report/src/components/MlThreeJsLayer/index.html +1 -1
- package/coverage/lcov-report/src/components/MlTransitionGeoJsonLayer/MlTransitionGeoJsonLayer.tsx.html +3 -3
- 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 +3 -3
- package/coverage/lcov-report/src/components/MlVectorTileLayer/index.html +1 -1
- package/coverage/lcov-report/src/components/MlWmsFeatureInfoPopup/MlWmsFeatureInfoPopup.js.html +2 -2
- package/coverage/lcov-report/src/components/MlWmsFeatureInfoPopup/index.html +1 -1
- package/coverage/lcov-report/src/components/MlWmsLayer/MlWmsLayer.tsx.html +5 -5
- package/coverage/lcov-report/src/components/MlWmsLayer/index.html +1 -1
- package/coverage/lcov-report/src/components/MlWmsLoader/MlWmsLoader.tsx.html +3 -6
- package/coverage/lcov-report/src/components/MlWmsLoader/index.html +1 -1
- package/coverage/lcov-report/src/contexts/MapContext.tsx.html +358 -0
- package/coverage/lcov-report/src/contexts/SimpleDataContext.js.html +103 -0
- package/coverage/lcov-report/src/contexts/SimpleDataProvider.js.html +277 -0
- package/coverage/lcov-report/src/contexts/index.html +146 -0
- package/coverage/lcov-report/src/hooks/index.html +11 -11
- package/coverage/lcov-report/src/hooks/useLayer.ts.html +15 -126
- package/coverage/lcov-report/src/hooks/useMap.ts.html +13 -61
- package/coverage/lcov-report/src/hooks/useMapState.ts.html +6 -6
- package/coverage/lcov-report/src/hooks/useWms.js.html +7 -7
- package/coverage/lcov-report/src/index.html +1 -1
- package/coverage/lcov-report/src/index.ts.html +15 -3
- package/coverage/lcov.info +790 -615
- package/dist/index.esm.js +187 -59
- package/dist/index.esm.js.map +1 -1
- package/docs-build/{0.fd1aa3ea21956d993519.manager.bundle.js → 0.20735a16c2ad9677fe7d.manager.bundle.js} +1 -1
- package/docs-build/{0.d0c23b79.iframe.bundle.js → 0.93d0ce3d.iframe.bundle.js} +2 -2
- package/docs-build/0.93d0ce3d.iframe.bundle.js.map +1 -0
- package/docs-build/{1.34075652.iframe.bundle.js → 1.2b1ae3fa.iframe.bundle.js} +2 -2
- package/docs-build/1.2b1ae3fa.iframe.bundle.js.map +1 -0
- package/docs-build/{16.ca488dae.iframe.bundle.js → 16.2c8135a1.iframe.bundle.js} +2 -2
- package/docs-build/16.2c8135a1.iframe.bundle.js.map +1 -0
- package/docs-build/{17.e40eac7f.iframe.bundle.js → 17.9a16865a.iframe.bundle.js} +2 -2
- package/docs-build/17.9a16865a.iframe.bundle.js.map +1 -0
- package/docs-build/{18.62af0912.iframe.bundle.js → 18.4c47f37e.iframe.bundle.js} +2 -2
- package/docs-build/18.4c47f37e.iframe.bundle.js.map +1 -0
- package/docs-build/{19.0a217189.iframe.bundle.js → 19.cdf25e28.iframe.bundle.js} +2 -2
- package/docs-build/19.cdf25e28.iframe.bundle.js.map +1 -0
- package/docs-build/{2.f15ae19a.iframe.bundle.js → 2.4518b817.iframe.bundle.js} +2 -2
- package/docs-build/2.4518b817.iframe.bundle.js.map +1 -0
- package/docs-build/{4.f741dafe1833630ec8bf.manager.bundle.js → 4.8ac31bba1926f4f011b0.manager.bundle.js} +2 -2
- package/docs-build/{4.f741dafe1833630ec8bf.manager.bundle.js.LICENSE.txt → 4.8ac31bba1926f4f011b0.manager.bundle.js.LICENSE.txt} +0 -0
- package/docs-build/{5.d4de191e7daeefb036ca.manager.bundle.js → 5.daf044a6c0f55d839078.manager.bundle.js} +1 -1
- package/docs-build/{6.2b178c5444648ee5c0fa.manager.bundle.js → 6.99fba2cf6af0473f8209.manager.bundle.js} +2 -2
- package/docs-build/{6.2b178c5444648ee5c0fa.manager.bundle.js.LICENSE.txt → 6.99fba2cf6af0473f8209.manager.bundle.js.LICENSE.txt} +0 -0
- package/docs-build/{7.7c16aea8ec7ea6e91994.manager.bundle.js → 7.b6a48b90f61cb575c2e4.manager.bundle.js} +1 -1
- package/docs-build/{8.52fa838fdf937b29676a.manager.bundle.js → 8.50518a5391398d9d5812.manager.bundle.js} +1 -1
- package/docs-build/assets/3D/godzilla_simple.glb +0 -0
- package/docs-build/catalogue/mc_meta.json +1 -1
- package/docs-build/iframe.html +1 -1
- package/docs-build/index.html +1 -1
- package/docs-build/{main.8a7ec710ea1c16b5e13f.manager.bundle.js → main.ef9704b1252e8efa56a0.manager.bundle.js} +1 -1
- package/docs-build/main~24120820.e0a66582.iframe.bundle.js +2 -0
- package/docs-build/main~24120820.e0a66582.iframe.bundle.js.map +1 -0
- package/docs-build/{runtime~main.67aa1de2d72f40a81164.manager.bundle.js → runtime~main.6e6ed7dc9ea4785ef286.manager.bundle.js} +1 -1
- package/docs-build/stories.json +416 -168
- package/docs-build/vendors~main.4b570b3072ba06ee44b5.manager.bundle.js +2 -0
- package/docs-build/{vendors~main.351900838c49e9200954.manager.bundle.js.LICENSE.txt → vendors~main.4b570b3072ba06ee44b5.manager.bundle.js.LICENSE.txt} +27 -24
- package/docs-build/{vendors~main~0ad7406a.a6abfed7.iframe.bundle.js → vendors~main~0ad7406a.22b96f8e.iframe.bundle.js} +2 -2
- package/docs-build/vendors~main~0ad7406a.22b96f8e.iframe.bundle.js.map +1 -0
- package/docs-build/{vendors~main~0f485567.1d7a15b7.iframe.bundle.js → vendors~main~0f485567.df27e62a.iframe.bundle.js} +2 -2
- package/docs-build/vendors~main~0f485567.df27e62a.iframe.bundle.js.map +1 -0
- package/docs-build/{vendors~main~41a6ab2c.525ecc56.iframe.bundle.js → vendors~main~41a6ab2c.7f3a1ced.iframe.bundle.js} +2 -2
- package/docs-build/vendors~main~41a6ab2c.7f3a1ced.iframe.bundle.js.map +1 -0
- package/docs-build/{vendors~main~73914085.227c6747.iframe.bundle.js → vendors~main~73914085.3d4f5bbf.iframe.bundle.js} +4 -4
- package/docs-build/{vendors~main~73914085.227c6747.iframe.bundle.js.map → vendors~main~73914085.3d4f5bbf.iframe.bundle.js.map} +1 -1
- package/docs-build/{vendors~main~9c5b28f6.f02cc741.iframe.bundle.js → vendors~main~9c5b28f6.f8614bdc.iframe.bundle.js} +3 -3
- package/docs-build/vendors~main~9c5b28f6.f8614bdc.iframe.bundle.js.map +1 -0
- package/docs-build/{vendors~main~b5906859.4083ac60.iframe.bundle.js → vendors~main~b5906859.b606e812.iframe.bundle.js} +3 -3
- package/docs-build/vendors~main~b5906859.b606e812.iframe.bundle.js.map +1 -0
- package/docs-build/vendors~main~b9cf3951.a6200a51.iframe.bundle.js +63 -0
- package/docs-build/vendors~main~b9cf3951.a6200a51.iframe.bundle.js.map +1 -0
- package/docs-build/{vendors~main~d939e436.92c27fbf.iframe.bundle.js → vendors~main~d939e436.aa5d1533.iframe.bundle.js} +2 -2
- package/docs-build/vendors~main~d939e436.aa5d1533.iframe.bundle.js.map +1 -0
- package/docs-build/{vendors~main~dab50aa4.b0d58038.iframe.bundle.js → vendors~main~dab50aa4.277284e0.iframe.bundle.js} +4 -4
- package/docs-build/{vendors~main~dab50aa4.b0d58038.iframe.bundle.js.map → vendors~main~dab50aa4.277284e0.iframe.bundle.js.map} +1 -1
- package/package.json +17 -15
- package/rollup.config.js +5 -6
- package/src/components/MapLibreMap/MapLibreMap.stories.js +1 -1
- package/src/components/MapLibreMap/MapLibreMap.test.js +1 -1
- package/src/components/MapLibreMap/MapLibreMap.tsx +32 -16
- package/src/components/MapLibreMap/lib/MapLibreGlWrapper.test.js +1 -1
- package/src/components/MapLibreMap/lib/MapLibreGlWrapper.ts +2 -2
- package/src/components/MlBasicComponent.js +4 -1
- package/src/components/MlFeatureEditor/MlFeatureEditor.test.js +1 -1
- package/src/components/MlFeatureEditor/MlFeatureEditor.tsx +0 -1
- package/src/components/MlFollowGps/MlFollowGps.test.js +1 -1
- package/src/components/MlLayer/MlLayer.test.js +1 -1
- package/src/components/MlLayerMagnify/MlLayerMagnify.test.js +1 -1
- package/src/components/MlLayerMagnify/MlLayerMagnify.tsx +3 -7
- package/src/components/MlLayerSwipe/MlLayerSwipe.test.js +1 -1
- package/src/components/MlLayerSwipe/MlLayerSwipe.tsx +2 -7
- package/src/components/MlLayerSwitcher/MlLayerSwitcher.js +1 -1
- package/src/components/MlNavigationCompass/MlNavigationCompass.test.js +1 -1
- package/src/components/MlShareMapState/MlShareMapState.js +1 -1
- package/src/components/MlSpatialElevationProfile/MlSpatialElevationProfile.js +4 -13
- package/src/components/MlThreeJsLayer/MlThreeJsLayer.js +1 -1
- package/src/components/MlTransitionGeoJsonLayer/MlTransitionGeoJsonLayer.stories.js +1 -1
- package/src/components/MlWmsFeatureInfoPopup/MlWmsFeatureInfoPopup.js +1 -1
- package/src/components/MlWmsLoader/MlWmsLoader.tsx +1 -2
- package/src/contexts/MapComponentsProvider.test.js +260 -0
- package/src/contexts/MapContext.tsx +92 -0
- package/src/contexts/SimpleDataContext.js +6 -0
- package/src/contexts/SimpleDataProvider.js +64 -0
- package/src/contexts/SimpleDataProvider.test.js +68 -0
- package/src/custom.d.tsx +1 -1
- package/src/decorators/MapContextDecorator.js +1 -1
- package/src/decorators/MultiMapContextDecorator.js +1 -1
- package/src/hooks/useLayer.ts +12 -49
- package/src/hooks/useMap.ts +9 -26
- package/src/hooks/useMapState.ts +3 -3
- package/src/index.ts +5 -1
- package/src/ui_components/LoadingOverlayContext.js +1 -1
- package/src/util/layerRemovalTest.js +1 -1
- package/src/util/sourceRemovalTest.js +1 -1
- package/docs-build/0.d0c23b79.iframe.bundle.js.map +0 -1
- package/docs-build/1.34075652.iframe.bundle.js.map +0 -1
- package/docs-build/16.ca488dae.iframe.bundle.js.map +0 -1
- package/docs-build/17.e40eac7f.iframe.bundle.js.map +0 -1
- package/docs-build/18.62af0912.iframe.bundle.js.map +0 -1
- package/docs-build/19.0a217189.iframe.bundle.js.map +0 -1
- package/docs-build/2.f15ae19a.iframe.bundle.js.map +0 -1
- package/docs-build/main~24120820.ba6665a8.iframe.bundle.js +0 -2
- package/docs-build/main~24120820.ba6665a8.iframe.bundle.js.map +0 -1
- package/docs-build/vendors~main.351900838c49e9200954.manager.bundle.js +0 -2
- package/docs-build/vendors~main~0ad7406a.a6abfed7.iframe.bundle.js.map +0 -1
- package/docs-build/vendors~main~0f485567.1d7a15b7.iframe.bundle.js.map +0 -1
- package/docs-build/vendors~main~41a6ab2c.525ecc56.iframe.bundle.js.map +0 -1
- package/docs-build/vendors~main~9c5b28f6.f02cc741.iframe.bundle.js.map +0 -1
- package/docs-build/vendors~main~b5906859.4083ac60.iframe.bundle.js.map +0 -1
- package/docs-build/vendors~main~b9cf3951.45da142d.iframe.bundle.js +0 -68
- package/docs-build/vendors~main~b9cf3951.45da142d.iframe.bundle.js.map +0 -1
- package/docs-build/vendors~main~d939e436.92c27fbf.iframe.bundle.js.map +0 -1
- package/public/stories.json +0 -331
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="1650541843189" clover="3.2.0">
|
|
3
|
+
<project timestamp="1650541843189" name="All files">
|
|
4
|
+
<metrics statements="1552" coveredstatements="595" conditionals="937" coveredconditionals="288" methods="276" coveredmethods="100" elements="2765" coveredelements="983" 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">
|
|
@@ -9,50 +9,52 @@
|
|
|
9
9
|
</file>
|
|
10
10
|
</package>
|
|
11
11
|
<package name="src.components.MapLibreMap">
|
|
12
|
-
<metrics statements="
|
|
12
|
+
<metrics statements="24" coveredstatements="24" conditionals="6" coveredconditionals="4" methods="6" coveredmethods="6"/>
|
|
13
13
|
<file name="MapLibreMap.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MapLibreMap/MapLibreMap.tsx">
|
|
14
|
-
<metrics statements="
|
|
15
|
-
<line num="
|
|
16
|
-
<line num="
|
|
17
|
-
<line num="
|
|
18
|
-
<line num="
|
|
19
|
-
<line num="
|
|
20
|
-
<line num="
|
|
21
|
-
<line num="
|
|
22
|
-
<line num="
|
|
23
|
-
<line num="
|
|
24
|
-
<line num="57" count="73" type="stmt"/>
|
|
25
|
-
<line num="58" count="2" type="stmt"/>
|
|
26
|
-
<line num="59" count="2" type="stmt"/>
|
|
27
|
-
<line num="60" count="2" type="stmt"/>
|
|
28
|
-
<line num="64" count="247" type="stmt"/>
|
|
29
|
-
<line num="65" count="73" type="cond" truecount="1" falsecount="1"/>
|
|
30
|
-
<line num="66" count="73" type="stmt"/>
|
|
14
|
+
<metrics statements="24" coveredstatements="24" conditionals="6" coveredconditionals="4" methods="6" coveredmethods="6"/>
|
|
15
|
+
<line num="26" count="18" type="stmt"/>
|
|
16
|
+
<line num="61" count="18" type="stmt"/>
|
|
17
|
+
<line num="62" count="247" type="stmt"/>
|
|
18
|
+
<line num="63" count="247" type="stmt"/>
|
|
19
|
+
<line num="65" count="247" type="stmt"/>
|
|
20
|
+
<line num="67" count="247" type="stmt"/>
|
|
21
|
+
<line num="68" count="247" type="stmt"/>
|
|
22
|
+
<line num="70" count="247" type="stmt"/>
|
|
23
|
+
<line num="71" count="73" type="stmt"/>
|
|
31
24
|
<line num="73" count="73" type="stmt"/>
|
|
32
|
-
<line num="74" count="
|
|
33
|
-
<line num="75" count="
|
|
34
|
-
<line num="
|
|
35
|
-
<line num="
|
|
36
|
-
<line num="
|
|
25
|
+
<line num="74" count="2" type="stmt"/>
|
|
26
|
+
<line num="75" count="2" type="stmt"/>
|
|
27
|
+
<line num="76" count="2" type="stmt"/>
|
|
28
|
+
<line num="80" count="247" type="stmt"/>
|
|
29
|
+
<line num="81" count="73" type="cond" truecount="1" falsecount="1"/>
|
|
30
|
+
<line num="83" count="73" type="cond" truecount="1" falsecount="1"/>
|
|
31
|
+
<line num="84" count="73" type="stmt"/>
|
|
32
|
+
<line num="85" count="73" type="stmt"/>
|
|
33
|
+
<line num="92" count="73" type="stmt"/>
|
|
34
|
+
<line num="93" count="73" type="cond" truecount="2" falsecount="0"/>
|
|
35
|
+
<line num="94" count="6" type="stmt"/>
|
|
36
|
+
<line num="96" count="67" type="stmt"/>
|
|
37
|
+
<line num="104" count="247" type="stmt"/>
|
|
38
|
+
<line num="107" count="18" type="stmt"/>
|
|
37
39
|
</file>
|
|
38
40
|
</package>
|
|
39
41
|
<package name="src.components.MlCreatePdfButton">
|
|
40
|
-
<metrics statements="6" coveredstatements="
|
|
42
|
+
<metrics statements="6" coveredstatements="2" conditionals="2" coveredconditionals="0" methods="3" coveredmethods="0"/>
|
|
41
43
|
<file name="MlCreatePdfButton.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlCreatePdfButton/MlCreatePdfButton.tsx">
|
|
42
|
-
<metrics statements="6" coveredstatements="
|
|
43
|
-
<line num="24" count="
|
|
44
|
+
<metrics statements="6" coveredstatements="2" conditionals="2" coveredconditionals="0" methods="3" coveredmethods="0"/>
|
|
45
|
+
<line num="24" count="10" type="stmt"/>
|
|
44
46
|
<line num="25" count="0" type="stmt"/>
|
|
45
47
|
<line num="30" count="0" type="stmt"/>
|
|
46
48
|
<line num="36" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
47
49
|
<line num="37" count="0" type="stmt"/>
|
|
48
|
-
<line num="47" count="
|
|
50
|
+
<line num="47" count="10" type="stmt"/>
|
|
49
51
|
</file>
|
|
50
52
|
</package>
|
|
51
53
|
<package name="src.components.MlFeatureEditor">
|
|
52
54
|
<metrics statements="33" coveredstatements="26" conditionals="25" coveredconditionals="17" methods="7" coveredmethods="5"/>
|
|
53
55
|
<file name="MlFeatureEditor.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlFeatureEditor/MlFeatureEditor.tsx">
|
|
54
56
|
<metrics statements="33" coveredstatements="26" conditionals="25" coveredconditionals="17" methods="7" coveredmethods="5"/>
|
|
55
|
-
<line num="45" count="
|
|
57
|
+
<line num="45" count="11" type="stmt"/>
|
|
56
58
|
<line num="46" count="16" type="stmt"/>
|
|
57
59
|
<line num="47" count="16" type="stmt"/>
|
|
58
60
|
<line num="51" count="16" type="stmt"/>
|
|
@@ -75,33 +77,33 @@
|
|
|
75
77
|
<line num="105" count="4" type="stmt"/>
|
|
76
78
|
<line num="109" count="16" type="stmt"/>
|
|
77
79
|
<line num="110" count="8" type="cond" truecount="2" falsecount="0"/>
|
|
78
|
-
<line num="
|
|
79
|
-
<line num="
|
|
80
|
-
<line num="
|
|
81
|
-
<line num="
|
|
82
|
-
<line num="
|
|
83
|
-
<line num="
|
|
84
|
-
<line num="
|
|
85
|
-
<line num="
|
|
86
|
-
<line num="
|
|
87
|
-
<line num="
|
|
80
|
+
<line num="114" count="4" type="stmt"/>
|
|
81
|
+
<line num="118" count="16" type="stmt"/>
|
|
82
|
+
<line num="119" count="4" type="cond" truecount="2" falsecount="2"/>
|
|
83
|
+
<line num="121" count="0" type="stmt"/>
|
|
84
|
+
<line num="122" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
85
|
+
<line num="123" count="0" type="stmt"/>
|
|
86
|
+
<line num="128" count="16" type="stmt"/>
|
|
87
|
+
<line num="129" count="4" type="cond" truecount="3" falsecount="1"/>
|
|
88
|
+
<line num="131" count="0" type="stmt"/>
|
|
89
|
+
<line num="135" count="16" type="stmt"/>
|
|
88
90
|
</file>
|
|
89
91
|
</package>
|
|
90
92
|
<package name="src.components.MlFillExtrusionLayer">
|
|
91
93
|
<metrics statements="4" coveredstatements="4" conditionals="8" coveredconditionals="8" methods="1" coveredmethods="1"/>
|
|
92
94
|
<file name="MlFillExtrusionLayer.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlFillExtrusionLayer/MlFillExtrusionLayer.tsx">
|
|
93
95
|
<metrics statements="4" coveredstatements="4" conditionals="8" coveredconditionals="8" methods="1" coveredmethods="1"/>
|
|
94
|
-
<line num="49" count="
|
|
96
|
+
<line num="49" count="10" type="stmt"/>
|
|
95
97
|
<line num="50" count="8" type="stmt"/>
|
|
96
98
|
<line num="66" count="8" type="stmt"/>
|
|
97
|
-
<line num="69" count="
|
|
99
|
+
<line num="69" count="10" type="stmt"/>
|
|
98
100
|
</file>
|
|
99
101
|
</package>
|
|
100
102
|
<package name="src.components.MlFollowGps">
|
|
101
103
|
<metrics statements="48" coveredstatements="30" conditionals="25" coveredconditionals="16" methods="10" coveredmethods="7"/>
|
|
102
104
|
<file name="MlFollowGps.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlFollowGps/MlFollowGps.tsx">
|
|
103
105
|
<metrics statements="48" coveredstatements="30" conditionals="25" coveredconditionals="16" methods="10" coveredmethods="7"/>
|
|
104
|
-
<line num="65" count="
|
|
106
|
+
<line num="65" count="11" type="stmt"/>
|
|
105
107
|
<line num="66" count="9" type="stmt"/>
|
|
106
108
|
<line num="71" count="9" type="stmt"/>
|
|
107
109
|
<line num="73" count="9" type="stmt"/>
|
|
@@ -148,14 +150,14 @@
|
|
|
148
150
|
<line num="144" count="3" type="stmt"/>
|
|
149
151
|
<line num="147" count="9" type="stmt"/>
|
|
150
152
|
<line num="198" count="3" type="stmt"/>
|
|
151
|
-
<line num="208" count="
|
|
153
|
+
<line num="208" count="11" type="stmt"/>
|
|
152
154
|
</file>
|
|
153
155
|
</package>
|
|
154
156
|
<package name="src.components.MlGPXViewer">
|
|
155
157
|
<metrics statements="391" coveredstatements="57" conditionals="247" coveredconditionals="8" methods="54" coveredmethods="7"/>
|
|
156
158
|
<file name="MlGPXViewer.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlGPXViewer/MlGPXViewer.tsx">
|
|
157
159
|
<metrics statements="115" coveredstatements="50" conditionals="44" coveredconditionals="7" methods="24" coveredmethods="6"/>
|
|
158
|
-
<line num="42" count="
|
|
160
|
+
<line num="42" count="10" type="stmt"/>
|
|
159
161
|
<line num="43" count="18" type="stmt"/>
|
|
160
162
|
<line num="44" count="18" type="stmt"/>
|
|
161
163
|
<line num="45" count="18" type="stmt"/>
|
|
@@ -269,14 +271,14 @@
|
|
|
269
271
|
<line num="279" count="0" type="stmt"/>
|
|
270
272
|
<line num="281" count="18" type="stmt"/>
|
|
271
273
|
<line num="335" count="0" type="stmt"/>
|
|
272
|
-
<line num="372" count="
|
|
274
|
+
<line num="372" count="10" type="stmt"/>
|
|
273
275
|
</file>
|
|
274
276
|
<file name="gpxConverter.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlGPXViewer/gpxConverter.js">
|
|
275
277
|
<metrics statements="276" coveredstatements="7" conditionals="203" coveredconditionals="1" methods="30" coveredmethods="1"/>
|
|
276
|
-
<line num="14" count="
|
|
277
|
-
<line num="15" count="
|
|
278
|
-
<line num="16" count="
|
|
279
|
-
<line num="17" count="
|
|
278
|
+
<line num="14" count="10" type="stmt"/>
|
|
279
|
+
<line num="15" count="10" type="stmt"/>
|
|
280
|
+
<line num="16" count="10" type="stmt"/>
|
|
281
|
+
<line num="17" count="10" type="stmt"/>
|
|
280
282
|
<line num="20" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
281
283
|
<line num="21" count="0" type="stmt"/>
|
|
282
284
|
<line num="22" count="0" type="stmt"/>
|
|
@@ -317,14 +319,14 @@
|
|
|
317
319
|
<line num="100" count="0" type="stmt"/>
|
|
318
320
|
<line num="103" count="0" type="stmt"/>
|
|
319
321
|
<line num="112" count="0" type="stmt"/>
|
|
320
|
-
<line num="119" count="
|
|
322
|
+
<line num="119" count="10" type="cond" truecount="1" falsecount="1"/>
|
|
321
323
|
<line num="123" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
322
324
|
<line num="124" count="0" type="stmt"/>
|
|
323
325
|
<line num="125" count="0" type="cond" truecount="0" falsecount="5"/>
|
|
324
326
|
<line num="126" count="0" type="stmt"/>
|
|
325
327
|
<line num="128" count="0" type="stmt"/>
|
|
326
328
|
<line num="136" count="0" type="stmt"/>
|
|
327
|
-
<line num="139" count="
|
|
329
|
+
<line num="139" count="10" type="stmt"/>
|
|
328
330
|
<line num="141" count="0" type="stmt"/>
|
|
329
331
|
<line num="143" count="0" type="stmt"/>
|
|
330
332
|
<line num="144" count="0" type="stmt"/>
|
|
@@ -548,14 +550,14 @@
|
|
|
548
550
|
<line num="510" count="0" type="stmt"/>
|
|
549
551
|
<line num="512" count="0" type="stmt"/>
|
|
550
552
|
<line num="514" count="0" type="stmt"/>
|
|
551
|
-
<line num="517" count="
|
|
553
|
+
<line num="517" count="10" type="stmt"/>
|
|
552
554
|
</file>
|
|
553
555
|
</package>
|
|
554
556
|
<package name="src.components.MlGeoJsonLayer">
|
|
555
557
|
<metrics statements="4" coveredstatements="4" conditionals="8" coveredconditionals="7" methods="1" coveredmethods="1"/>
|
|
556
558
|
<file name="MlGeoJsonLayer.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlGeoJsonLayer/MlGeoJsonLayer.tsx">
|
|
557
559
|
<metrics statements="4" coveredstatements="4" conditionals="8" coveredconditionals="7" methods="1" coveredmethods="1"/>
|
|
558
|
-
<line num="78" count="
|
|
560
|
+
<line num="78" count="11" type="stmt"/>
|
|
559
561
|
<line num="79" count="32" type="cond" truecount="1" falsecount="1"/>
|
|
560
562
|
<line num="81" count="32" type="stmt"/>
|
|
561
563
|
<line num="102" count="32" type="stmt"/>
|
|
@@ -565,7 +567,7 @@
|
|
|
565
567
|
<metrics statements="34" coveredstatements="24" conditionals="33" coveredconditionals="15" methods="6" coveredmethods="5"/>
|
|
566
568
|
<file name="MlImageMarkerLayer.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlImageMarkerLayer/MlImageMarkerLayer.tsx">
|
|
567
569
|
<metrics statements="34" coveredstatements="24" conditionals="33" coveredconditionals="15" methods="6" coveredmethods="5"/>
|
|
568
|
-
<line num="34" count="
|
|
570
|
+
<line num="34" count="10" type="stmt"/>
|
|
569
571
|
<line num="35" count="12" type="stmt"/>
|
|
570
572
|
<line num="40" count="12" type="stmt"/>
|
|
571
573
|
<line num="41" count="12" type="cond" truecount="2" falsecount="0"/>
|
|
@@ -605,131 +607,128 @@
|
|
|
605
607
|
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
606
608
|
<file name="MlLayer.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlLayer/MlLayer.tsx">
|
|
607
609
|
<metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
608
|
-
<line num="30" count="
|
|
610
|
+
<line num="30" count="11" type="stmt"/>
|
|
609
611
|
<line num="31" count="20" type="stmt"/>
|
|
610
612
|
<line num="45" count="20" type="stmt"/>
|
|
611
613
|
</file>
|
|
612
614
|
</package>
|
|
613
615
|
<package name="src.components.MlLayerMagnify">
|
|
614
|
-
<metrics statements="
|
|
616
|
+
<metrics statements="62" coveredstatements="48" conditionals="36" coveredconditionals="23" methods="13" coveredmethods="7"/>
|
|
615
617
|
<file name="MlLayerMagnify.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlLayerMagnify/MlLayerMagnify.tsx">
|
|
616
|
-
<metrics statements="
|
|
617
|
-
<line num="
|
|
618
|
+
<metrics statements="62" coveredstatements="48" conditionals="36" coveredconditionals="23" methods="13" coveredmethods="7"/>
|
|
619
|
+
<line num="34" count="11" type="stmt"/>
|
|
620
|
+
<line num="35" count="3" type="stmt"/>
|
|
618
621
|
<line num="36" count="3" type="stmt"/>
|
|
619
622
|
<line num="37" count="3" type="stmt"/>
|
|
620
|
-
<line num="
|
|
623
|
+
<line num="39" count="3" type="stmt"/>
|
|
621
624
|
<line num="40" count="3" type="stmt"/>
|
|
622
625
|
<line num="41" count="3" type="stmt"/>
|
|
623
626
|
<line num="42" count="3" type="stmt"/>
|
|
624
|
-
<line num="
|
|
625
|
-
<line num="45" count="
|
|
626
|
-
<line num="
|
|
627
|
-
<line num="49" count="3" type="
|
|
628
|
-
<line num="50" count="
|
|
629
|
-
<line num="
|
|
630
|
-
<line num="53" count="
|
|
631
|
-
<line num="
|
|
632
|
-
<line num="
|
|
633
|
-
<line num="60" count="
|
|
634
|
-
<line num="
|
|
635
|
-
<line num="
|
|
636
|
-
<line num="69" count="
|
|
627
|
+
<line num="44" count="3" type="stmt"/>
|
|
628
|
+
<line num="45" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
629
|
+
<line num="48" count="3" type="stmt"/>
|
|
630
|
+
<line num="49" count="3" type="cond" truecount="3" falsecount="1"/>
|
|
631
|
+
<line num="50" count="0" type="stmt"/>
|
|
632
|
+
<line num="52" count="3" type="cond" truecount="4" falsecount="0"/>
|
|
633
|
+
<line num="53" count="1" type="stmt"/>
|
|
634
|
+
<line num="56" count="2" type="stmt"/>
|
|
635
|
+
<line num="59" count="3" type="stmt"/>
|
|
636
|
+
<line num="60" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
637
|
+
<line num="62" count="0" type="stmt"/>
|
|
638
|
+
<line num="68" count="3" type="stmt"/>
|
|
639
|
+
<line num="69" count="1" type="stmt"/>
|
|
637
640
|
<line num="70" count="1" type="stmt"/>
|
|
638
|
-
<line num="
|
|
641
|
+
<line num="72" count="1" type="stmt"/>
|
|
639
642
|
<line num="73" count="1" type="stmt"/>
|
|
640
643
|
<line num="74" count="1" type="stmt"/>
|
|
641
|
-
<line num="
|
|
642
|
-
<line num="
|
|
643
|
-
<line num="82" count="
|
|
644
|
-
<line num="
|
|
645
|
-
<line num="
|
|
646
|
-
<line num="
|
|
647
|
-
<line num="
|
|
648
|
-
<line num="
|
|
649
|
-
<line num="
|
|
650
|
-
<line num="
|
|
651
|
-
<line num="
|
|
652
|
-
<line num="
|
|
653
|
-
<line num="
|
|
644
|
+
<line num="78" count="3" type="stmt"/>
|
|
645
|
+
<line num="80" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
646
|
+
<line num="82" count="1" type="stmt"/>
|
|
647
|
+
<line num="86" count="1" type="cond" truecount="2" falsecount="0"/>
|
|
648
|
+
<line num="91" count="1" type="cond" truecount="2" falsecount="0"/>
|
|
649
|
+
<line num="96" count="1" type="stmt"/>
|
|
650
|
+
<line num="97" count="1" type="stmt"/>
|
|
651
|
+
<line num="98" count="1" type="stmt"/>
|
|
652
|
+
<line num="99" count="1" type="stmt"/>
|
|
653
|
+
<line num="101" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
654
|
+
<line num="105" count="1" type="stmt"/>
|
|
655
|
+
<line num="106" count="1" type="stmt"/>
|
|
656
|
+
<line num="107" count="1" type="stmt"/>
|
|
657
|
+
<line num="108" count="1" type="stmt"/>
|
|
654
658
|
<line num="110" count="1" type="stmt"/>
|
|
655
|
-
<line num="
|
|
656
|
-
<line num="
|
|
657
|
-
<line num="
|
|
658
|
-
<line num="125" count="
|
|
659
|
-
<line num="
|
|
660
|
-
<line num="
|
|
661
|
-
<line num="
|
|
662
|
-
<line num="
|
|
663
|
-
<line num="
|
|
664
|
-
<line num="168" count="0" type="
|
|
659
|
+
<line num="121" count="3" type="stmt"/>
|
|
660
|
+
<line num="122" count="2" type="cond" truecount="4" falsecount="0"/>
|
|
661
|
+
<line num="124" count="1" type="stmt"/>
|
|
662
|
+
<line num="125" count="1" type="stmt"/>
|
|
663
|
+
<line num="157" count="1" type="stmt"/>
|
|
664
|
+
<line num="163" count="3" type="stmt"/>
|
|
665
|
+
<line num="164" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
666
|
+
<line num="165" count="0" type="stmt"/>
|
|
667
|
+
<line num="166" count="0" type="stmt"/>
|
|
668
|
+
<line num="168" count="0" type="stmt"/>
|
|
665
669
|
<line num="169" count="0" type="stmt"/>
|
|
666
|
-
<line num="
|
|
667
|
-
<line num="
|
|
668
|
-
<line num="
|
|
669
|
-
<line num="
|
|
670
|
-
<line num="178" count="0" type="stmt"/>
|
|
670
|
+
<line num="173" count="3" type="stmt"/>
|
|
671
|
+
<line num="174" count="0" type="stmt"/>
|
|
672
|
+
<line num="175" count="0" type="stmt"/>
|
|
673
|
+
<line num="178" count="3" type="stmt"/>
|
|
671
674
|
<line num="179" count="0" type="stmt"/>
|
|
672
|
-
<line num="
|
|
673
|
-
<line num="183" count="
|
|
675
|
+
<line num="180" count="0" type="stmt"/>
|
|
676
|
+
<line num="183" count="3" type="stmt"/>
|
|
674
677
|
<line num="184" count="0" type="stmt"/>
|
|
675
|
-
<line num="
|
|
676
|
-
<line num="188" count="
|
|
677
|
-
<line num="
|
|
678
|
-
<line num="192" count="3" type="stmt"/>
|
|
679
|
-
<line num="222" count="1" type="stmt"/>
|
|
678
|
+
<line num="185" count="0" type="stmt"/>
|
|
679
|
+
<line num="188" count="3" type="stmt"/>
|
|
680
|
+
<line num="218" count="11" type="stmt"/>
|
|
680
681
|
</file>
|
|
681
682
|
</package>
|
|
682
683
|
<package name="src.components.MlLayerSwipe">
|
|
683
|
-
<metrics statements="
|
|
684
|
+
<metrics statements="45" coveredstatements="35" conditionals="24" coveredconditionals="17" methods="10" coveredmethods="6"/>
|
|
684
685
|
<file name="MlLayerSwipe.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlLayerSwipe/MlLayerSwipe.tsx">
|
|
685
|
-
<metrics statements="
|
|
686
|
-
<line num="
|
|
686
|
+
<metrics statements="45" coveredstatements="35" conditionals="24" coveredconditionals="17" methods="10" coveredmethods="6"/>
|
|
687
|
+
<line num="27" count="11" type="stmt"/>
|
|
688
|
+
<line num="28" count="3" type="stmt"/>
|
|
687
689
|
<line num="29" count="3" type="stmt"/>
|
|
688
|
-
<line num="
|
|
690
|
+
<line num="31" count="3" type="stmt"/>
|
|
689
691
|
<line num="32" count="3" type="stmt"/>
|
|
690
|
-
<line num="
|
|
691
|
-
<line num="
|
|
692
|
-
<line num="37" count="3" type="
|
|
693
|
-
<line num="38" count="
|
|
694
|
-
<line num="
|
|
695
|
-
<line num="41" count="
|
|
696
|
-
<line num="
|
|
697
|
-
<line num="
|
|
698
|
-
<line num="48" count="
|
|
699
|
-
<line num="
|
|
700
|
-
<line num="
|
|
701
|
-
<line num="55" count="
|
|
702
|
-
<line num="
|
|
703
|
-
<line num="
|
|
704
|
-
<line num="
|
|
692
|
+
<line num="34" count="3" type="stmt"/>
|
|
693
|
+
<line num="36" count="3" type="stmt"/>
|
|
694
|
+
<line num="37" count="3" type="cond" truecount="3" falsecount="1"/>
|
|
695
|
+
<line num="38" count="0" type="stmt"/>
|
|
696
|
+
<line num="40" count="3" type="cond" truecount="4" falsecount="0"/>
|
|
697
|
+
<line num="41" count="1" type="stmt"/>
|
|
698
|
+
<line num="44" count="2" type="stmt"/>
|
|
699
|
+
<line num="47" count="3" type="stmt"/>
|
|
700
|
+
<line num="48" count="1" type="stmt"/>
|
|
701
|
+
<line num="51" count="3" type="stmt"/>
|
|
702
|
+
<line num="53" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
703
|
+
<line num="55" count="1" type="stmt"/>
|
|
704
|
+
<line num="59" count="1" type="cond" truecount="2" falsecount="0"/>
|
|
705
|
+
<line num="64" count="1" type="stmt"/>
|
|
706
|
+
<line num="65" count="1" type="stmt"/>
|
|
707
|
+
<line num="67" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
705
708
|
<line num="68" count="1" type="stmt"/>
|
|
706
709
|
<line num="69" count="1" type="stmt"/>
|
|
707
|
-
<line num="
|
|
708
|
-
<line num="
|
|
709
|
-
<line num="
|
|
710
|
-
<line num="
|
|
711
|
-
<line num="
|
|
712
|
-
<line num="
|
|
713
|
-
<line num="
|
|
714
|
-
<line num="
|
|
715
|
-
<line num="91" count="3" type="stmt"/>
|
|
716
|
-
<line num="92" count="2" type="cond" truecount="4" falsecount="0"/>
|
|
710
|
+
<line num="72" count="1" type="stmt"/>
|
|
711
|
+
<line num="76" count="1" type="stmt"/>
|
|
712
|
+
<line num="82" count="3" type="stmt"/>
|
|
713
|
+
<line num="83" count="1" type="stmt"/>
|
|
714
|
+
<line num="86" count="3" type="stmt"/>
|
|
715
|
+
<line num="87" count="2" type="cond" truecount="4" falsecount="0"/>
|
|
716
|
+
<line num="89" count="1" type="stmt"/>
|
|
717
|
+
<line num="90" count="1" type="stmt"/>
|
|
717
718
|
<line num="94" count="1" type="stmt"/>
|
|
718
|
-
<line num="
|
|
719
|
-
<line num="
|
|
720
|
-
<line num="
|
|
721
|
-
<line num="
|
|
722
|
-
<line num="
|
|
723
|
-
<line num="
|
|
724
|
-
<line num="109" count="
|
|
719
|
+
<line num="99" count="3" type="stmt"/>
|
|
720
|
+
<line num="100" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
721
|
+
<line num="101" count="0" type="stmt"/>
|
|
722
|
+
<line num="102" count="0" type="stmt"/>
|
|
723
|
+
<line num="104" count="0" type="stmt"/>
|
|
724
|
+
<line num="105" count="0" type="stmt"/>
|
|
725
|
+
<line num="109" count="3" type="stmt"/>
|
|
725
726
|
<line num="110" count="0" type="stmt"/>
|
|
727
|
+
<line num="111" count="0" type="stmt"/>
|
|
726
728
|
<line num="114" count="3" type="stmt"/>
|
|
727
729
|
<line num="115" count="0" type="stmt"/>
|
|
728
730
|
<line num="116" count="0" type="stmt"/>
|
|
729
731
|
<line num="119" count="3" type="stmt"/>
|
|
730
|
-
<line num="120" count="0" type="stmt"/>
|
|
731
|
-
<line num="121" count="0" type="stmt"/>
|
|
732
|
-
<line num="124" count="3" type="stmt"/>
|
|
733
732
|
</file>
|
|
734
733
|
</package>
|
|
735
734
|
<package name="src.components.MlLayerSwitcher">
|
|
@@ -817,10 +816,10 @@
|
|
|
817
816
|
</file>
|
|
818
817
|
</package>
|
|
819
818
|
<package name="src.components.MlMarker">
|
|
820
|
-
<metrics statements="21" coveredstatements="
|
|
819
|
+
<metrics statements="21" coveredstatements="2" conditionals="10" coveredconditionals="0" methods="3" coveredmethods="0"/>
|
|
821
820
|
<file name="MlMarker.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlMarker/MlMarker.tsx">
|
|
822
|
-
<metrics statements="21" coveredstatements="
|
|
823
|
-
<line num="36" count="
|
|
821
|
+
<metrics statements="21" coveredstatements="2" conditionals="10" coveredconditionals="0" methods="3" coveredmethods="0"/>
|
|
822
|
+
<line num="36" count="10" type="stmt"/>
|
|
824
823
|
<line num="37" count="0" type="stmt"/>
|
|
825
824
|
<line num="42" count="0" type="stmt"/>
|
|
826
825
|
<line num="47" count="0" type="stmt"/>
|
|
@@ -840,17 +839,17 @@
|
|
|
840
839
|
<line num="78" count="0" type="stmt"/>
|
|
841
840
|
<line num="80" count="0" type="stmt"/>
|
|
842
841
|
<line num="87" count="0" type="stmt"/>
|
|
843
|
-
<line num="136" count="
|
|
842
|
+
<line num="136" count="10" type="stmt"/>
|
|
844
843
|
</file>
|
|
845
844
|
</package>
|
|
846
845
|
<package name="src.components.MlNavigationCompass">
|
|
847
846
|
<metrics statements="34" coveredstatements="16" conditionals="18" coveredconditionals="4" methods="7" coveredmethods="4"/>
|
|
848
847
|
<file name="MlNavigationCompass.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlNavigationCompass/MlNavigationCompass.tsx">
|
|
849
848
|
<metrics statements="34" coveredstatements="16" conditionals="18" coveredconditionals="4" methods="7" coveredmethods="4"/>
|
|
850
|
-
<line num="12" count="
|
|
851
|
-
<line num="39" count="
|
|
852
|
-
<line num="58" count="
|
|
853
|
-
<line num="97" count="
|
|
849
|
+
<line num="12" count="11" type="stmt"/>
|
|
850
|
+
<line num="39" count="11" type="stmt"/>
|
|
851
|
+
<line num="58" count="11" type="stmt"/>
|
|
852
|
+
<line num="97" count="11" type="stmt"/>
|
|
854
853
|
<line num="98" count="6" type="stmt"/>
|
|
855
854
|
<line num="102" count="6" type="stmt"/>
|
|
856
855
|
<line num="104" count="6" type="stmt"/>
|
|
@@ -880,14 +879,14 @@
|
|
|
880
879
|
<line num="186" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
881
880
|
<line num="187" count="0" type="stmt"/>
|
|
882
881
|
<line num="189" count="0" type="stmt"/>
|
|
883
|
-
<line num="199" count="
|
|
882
|
+
<line num="199" count="11" type="stmt"/>
|
|
884
883
|
</file>
|
|
885
884
|
</package>
|
|
886
885
|
<package name="src.components.MlNavigationTools">
|
|
887
|
-
<metrics statements="27" coveredstatements="
|
|
886
|
+
<metrics statements="27" coveredstatements="1" conditionals="40" coveredconditionals="0" methods="7" coveredmethods="0"/>
|
|
888
887
|
<file name="MlNavigationTools.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlNavigationTools/MlNavigationTools.tsx">
|
|
889
|
-
<metrics statements="27" coveredstatements="
|
|
890
|
-
<line num="20" count="
|
|
888
|
+
<metrics statements="27" coveredstatements="1" conditionals="40" coveredconditionals="0" methods="7" coveredmethods="0"/>
|
|
889
|
+
<line num="20" count="10" type="stmt"/>
|
|
891
890
|
<line num="21" count="0" type="stmt"/>
|
|
892
891
|
<line num="26" count="0" type="stmt"/>
|
|
893
892
|
<line num="27" count="0" type="stmt"/>
|
|
@@ -920,7 +919,7 @@
|
|
|
920
919
|
<metrics statements="9" coveredstatements="9" conditionals="4" coveredconditionals="4" methods="2" coveredmethods="2"/>
|
|
921
920
|
<file name="MlOsmLayer.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlOsmLayer/MlOsmLayer.js">
|
|
922
921
|
<metrics statements="9" coveredstatements="9" conditionals="4" coveredconditionals="4" methods="2" coveredmethods="2"/>
|
|
923
|
-
<line num="12" count="
|
|
922
|
+
<line num="12" count="10" type="stmt"/>
|
|
924
923
|
<line num="13" count="12" type="stmt"/>
|
|
925
924
|
<line num="15" count="12" type="cond" truecount="2" falsecount="0"/>
|
|
926
925
|
<line num="17" count="12" type="stmt"/>
|
|
@@ -928,7 +927,7 @@
|
|
|
928
927
|
<line num="20" count="4" type="stmt"/>
|
|
929
928
|
<line num="29" count="4" type="stmt"/>
|
|
930
929
|
<line num="43" count="12" type="stmt"/>
|
|
931
|
-
<line num="46" count="
|
|
930
|
+
<line num="46" count="10" type="stmt"/>
|
|
932
931
|
</file>
|
|
933
932
|
</package>
|
|
934
933
|
<package name="src.components.MlScaleReference">
|
|
@@ -1095,7 +1094,7 @@
|
|
|
1095
1094
|
<metrics statements="62" coveredstatements="28" conditionals="26" coveredconditionals="12" methods="10" coveredmethods="5"/>
|
|
1096
1095
|
<file name="MlSpatialElevationProfile.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlSpatialElevationProfile/MlSpatialElevationProfile.js">
|
|
1097
1096
|
<metrics statements="62" coveredstatements="28" conditionals="26" coveredconditionals="12" methods="10" coveredmethods="5"/>
|
|
1098
|
-
<line num="14" count="
|
|
1097
|
+
<line num="14" count="10" type="stmt"/>
|
|
1099
1098
|
<line num="15" count="8" type="stmt"/>
|
|
1100
1099
|
<line num="17" count="8" type="stmt"/>
|
|
1101
1100
|
<line num="20" count="8" type="stmt"/>
|
|
@@ -1123,40 +1122,40 @@
|
|
|
1123
1122
|
<line num="73" count="4" type="stmt"/>
|
|
1124
1123
|
<line num="75" count="4" type="stmt"/>
|
|
1125
1124
|
<line num="83" count="4" type="stmt"/>
|
|
1126
|
-
<line num="
|
|
1127
|
-
<line num="
|
|
1128
|
-
<line num="
|
|
1129
|
-
<line num="
|
|
1130
|
-
<line num="
|
|
1131
|
-
<line num="
|
|
1132
|
-
<line num="
|
|
1125
|
+
<line num="115" count="8" type="stmt"/>
|
|
1126
|
+
<line num="116" count="8" type="cond" truecount="4" falsecount="0"/>
|
|
1127
|
+
<line num="117" count="4" type="stmt"/>
|
|
1128
|
+
<line num="118" count="4" type="cond" truecount="2" falsecount="2"/>
|
|
1129
|
+
<line num="120" count="0" type="stmt"/>
|
|
1130
|
+
<line num="121" count="0" type="stmt"/>
|
|
1131
|
+
<line num="123" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1132
|
+
<line num="124" count="0" type="stmt"/>
|
|
1133
|
+
<line num="125" count="0" type="stmt"/>
|
|
1134
|
+
<line num="128" count="0" type="stmt"/>
|
|
1133
1135
|
<line num="130" count="0" type="stmt"/>
|
|
1134
|
-
<line num="
|
|
1136
|
+
<line num="132" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1135
1137
|
<line num="134" count="0" type="stmt"/>
|
|
1136
|
-
<line num="
|
|
1137
|
-
<line num="
|
|
1138
|
-
<line num="
|
|
1139
|
-
<line num="149" count="0" type="
|
|
1138
|
+
<line num="143" count="0" type="stmt"/>
|
|
1139
|
+
<line num="144" count="0" type="stmt"/>
|
|
1140
|
+
<line num="146" count="0" type="stmt"/>
|
|
1141
|
+
<line num="149" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1140
1142
|
<line num="150" count="0" type="stmt"/>
|
|
1141
|
-
<line num="
|
|
1142
|
-
<line num="
|
|
1143
|
-
<line num="
|
|
1144
|
-
<line num="
|
|
1145
|
-
<line num="
|
|
1146
|
-
<line num="
|
|
1147
|
-
<line num="
|
|
1148
|
-
<line num="
|
|
1149
|
-
<line num="
|
|
1150
|
-
<line num="
|
|
1151
|
-
<line num="
|
|
1143
|
+
<line num="155" count="0" type="stmt"/>
|
|
1144
|
+
<line num="156" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1145
|
+
<line num="157" count="0" type="stmt"/>
|
|
1146
|
+
<line num="158" count="0" type="stmt"/>
|
|
1147
|
+
<line num="163" count="0" type="stmt"/>
|
|
1148
|
+
<line num="168" count="0" type="stmt"/>
|
|
1149
|
+
<line num="174" count="0" type="stmt"/>
|
|
1150
|
+
<line num="179" count="0" type="stmt"/>
|
|
1151
|
+
<line num="185" count="0" type="stmt"/>
|
|
1152
|
+
<line num="186" count="0" type="stmt"/>
|
|
1153
|
+
<line num="191" count="0" type="stmt"/>
|
|
1154
|
+
<line num="192" count="0" type="stmt"/>
|
|
1152
1155
|
<line num="194" count="0" type="stmt"/>
|
|
1153
|
-
<line num="
|
|
1154
|
-
<line num="200" count="
|
|
1155
|
-
<line num="
|
|
1156
|
-
<line num="203" count="0" type="stmt"/>
|
|
1157
|
-
<line num="206" count="8" type="stmt"/>
|
|
1158
|
-
<line num="209" count="1" type="stmt"/>
|
|
1159
|
-
<line num="213" count="1" type="stmt"/>
|
|
1156
|
+
<line num="197" count="8" type="stmt"/>
|
|
1157
|
+
<line num="200" count="10" type="stmt"/>
|
|
1158
|
+
<line num="204" count="10" type="stmt"/>
|
|
1160
1159
|
</file>
|
|
1161
1160
|
</package>
|
|
1162
1161
|
<package name="src.components.MlThreeJsLayer">
|
|
@@ -1237,8 +1236,8 @@
|
|
|
1237
1236
|
<metrics statements="36" coveredstatements="25" conditionals="22" coveredconditionals="11" methods="7" coveredmethods="6"/>
|
|
1238
1237
|
<file name="MlTransitionGeoJsonLayer.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlTransitionGeoJsonLayer/MlTransitionGeoJsonLayer.tsx">
|
|
1239
1238
|
<metrics statements="36" coveredstatements="25" conditionals="22" coveredconditionals="11" methods="7" coveredmethods="6"/>
|
|
1240
|
-
<line num="11" count="
|
|
1241
|
-
<line num="79" count="
|
|
1239
|
+
<line num="11" count="10" type="stmt"/>
|
|
1240
|
+
<line num="79" count="10" type="stmt"/>
|
|
1242
1241
|
<line num="80" count="12" type="stmt"/>
|
|
1243
1242
|
<line num="82" count="12" type="stmt"/>
|
|
1244
1243
|
<line num="86" count="12" type="stmt"/>
|
|
@@ -1292,7 +1291,7 @@
|
|
|
1292
1291
|
<metrics statements="33" coveredstatements="29" conditionals="16" coveredconditionals="13" methods="3" coveredmethods="3"/>
|
|
1293
1292
|
<file name="MlVectorTileLayer.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlVectorTileLayer/MlVectorTileLayer.tsx">
|
|
1294
1293
|
<metrics statements="33" coveredstatements="29" conditionals="16" coveredconditionals="13" methods="3" coveredmethods="3"/>
|
|
1295
|
-
<line num="20" count="
|
|
1294
|
+
<line num="20" count="10" type="stmt"/>
|
|
1296
1295
|
<line num="21" count="12" type="stmt"/>
|
|
1297
1296
|
<line num="26" count="12" type="stmt"/>
|
|
1298
1297
|
<line num="27" count="12" type="stmt"/>
|
|
@@ -1324,7 +1323,7 @@
|
|
|
1324
1323
|
<line num="105" count="0" type="stmt"/>
|
|
1325
1324
|
<line num="112" count="4" type="stmt"/>
|
|
1326
1325
|
<line num="117" count="12" type="stmt"/>
|
|
1327
|
-
<line num="120" count="
|
|
1326
|
+
<line num="120" count="10" type="stmt"/>
|
|
1328
1327
|
</file>
|
|
1329
1328
|
</package>
|
|
1330
1329
|
<package name="src.components.MlWmsFeatureInfoPopup">
|
|
@@ -1357,8 +1356,8 @@
|
|
|
1357
1356
|
<metrics statements="28" coveredstatements="24" conditionals="16" coveredconditionals="13" methods="3" coveredmethods="3"/>
|
|
1358
1357
|
<file name="MlWmsLayer.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlWmsLayer/MlWmsLayer.tsx">
|
|
1359
1358
|
<metrics statements="28" coveredstatements="24" conditionals="16" coveredconditionals="13" methods="3" coveredmethods="3"/>
|
|
1360
|
-
<line num="6" count="
|
|
1361
|
-
<line num="57" count="
|
|
1359
|
+
<line num="6" count="10" type="stmt"/>
|
|
1360
|
+
<line num="57" count="10" type="stmt"/>
|
|
1362
1361
|
<line num="58" count="12" type="stmt"/>
|
|
1363
1362
|
<line num="63" count="12" type="stmt"/>
|
|
1364
1363
|
<line num="64" count="12" type="cond" truecount="2" falsecount="0"/>
|
|
@@ -1383,112 +1382,197 @@
|
|
|
1383
1382
|
<line num="122" count="4" type="stmt"/>
|
|
1384
1383
|
<line num="124" count="0" type="stmt"/>
|
|
1385
1384
|
<line num="128" count="12" type="stmt"/>
|
|
1386
|
-
<line num="131" count="
|
|
1387
|
-
<line num="135" count="
|
|
1385
|
+
<line num="131" count="10" type="stmt"/>
|
|
1386
|
+
<line num="135" count="10" type="stmt"/>
|
|
1388
1387
|
</file>
|
|
1389
1388
|
</package>
|
|
1390
1389
|
<package name="src.components.MlWmsLoader">
|
|
1391
1390
|
<metrics statements="91" coveredstatements="0" conditionals="57" coveredconditionals="0" methods="21" coveredmethods="0"/>
|
|
1392
1391
|
<file name="MlWmsLoader.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlWmsLoader/MlWmsLoader.tsx">
|
|
1393
1392
|
<metrics statements="91" coveredstatements="0" conditionals="57" coveredconditionals="0" methods="21" coveredmethods="0"/>
|
|
1394
|
-
<line num="
|
|
1395
|
-
<line num="
|
|
1393
|
+
<line num="20" count="0" type="stmt"/>
|
|
1394
|
+
<line num="21" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
1395
|
+
<line num="22" count="0" type="stmt"/>
|
|
1396
1396
|
<line num="23" count="0" type="stmt"/>
|
|
1397
1397
|
<line num="24" count="0" type="stmt"/>
|
|
1398
1398
|
<line num="25" count="0" type="stmt"/>
|
|
1399
1399
|
<line num="26" count="0" type="stmt"/>
|
|
1400
|
-
<line num="27" count="0" type="
|
|
1401
|
-
<line num="28" count="0" type="
|
|
1400
|
+
<line num="27" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1401
|
+
<line num="28" count="0" type="stmt"/>
|
|
1402
1402
|
<line num="29" count="0" type="stmt"/>
|
|
1403
|
-
<line num="
|
|
1404
|
-
<line num="
|
|
1405
|
-
<line num="
|
|
1403
|
+
<line num="31" count="0" type="stmt"/>
|
|
1404
|
+
<line num="67" count="0" type="stmt"/>
|
|
1405
|
+
<line num="69" count="0" type="stmt"/>
|
|
1406
1406
|
<line num="70" count="0" type="stmt"/>
|
|
1407
|
-
<line num="
|
|
1407
|
+
<line num="77" count="0" type="stmt"/>
|
|
1408
1408
|
<line num="78" count="0" type="stmt"/>
|
|
1409
|
-
<line num="79" count="0" type="
|
|
1410
|
-
<line num="80" count="0" type="
|
|
1411
|
-
<line num="
|
|
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
1412
|
<line num="83" count="0" type="stmt"/>
|
|
1413
|
-
<line num="
|
|
1413
|
+
<line num="85" count="0" type="stmt"/>
|
|
1414
1414
|
<line num="86" count="0" type="stmt"/>
|
|
1415
|
-
<line num="
|
|
1416
|
-
<line num="
|
|
1417
|
-
<line num="96" count="0" type="
|
|
1415
|
+
<line num="88" count="0" type="stmt"/>
|
|
1416
|
+
<line num="95" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1417
|
+
<line num="96" count="0" type="stmt"/>
|
|
1418
1418
|
<line num="97" count="0" type="stmt"/>
|
|
1419
|
-
<line num="
|
|
1420
|
-
<line num="
|
|
1421
|
-
<line num="104" count="0" type="
|
|
1422
|
-
<line num="
|
|
1423
|
-
<line num="
|
|
1424
|
-
<line num="
|
|
1425
|
-
<line num="112" count="0" type="
|
|
1419
|
+
<line num="99" count="0" type="stmt"/>
|
|
1420
|
+
<line num="103" count="0" type="stmt"/>
|
|
1421
|
+
<line num="104" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1422
|
+
<line num="106" count="0" type="stmt"/>
|
|
1423
|
+
<line num="109" count="0" type="stmt"/>
|
|
1424
|
+
<line num="111" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1425
|
+
<line num="112" count="0" type="stmt"/>
|
|
1426
1426
|
<line num="113" count="0" type="stmt"/>
|
|
1427
1427
|
<line num="114" count="0" type="stmt"/>
|
|
1428
1428
|
<line num="115" count="0" type="stmt"/>
|
|
1429
1429
|
<line num="116" count="0" type="stmt"/>
|
|
1430
1430
|
<line num="117" count="0" type="stmt"/>
|
|
1431
1431
|
<line num="118" count="0" type="stmt"/>
|
|
1432
|
-
<line num="
|
|
1433
|
-
<line num="130" count="0" type="
|
|
1434
|
-
<line num="
|
|
1435
|
-
<line num="133" count="0" type="
|
|
1436
|
-
<line num="
|
|
1437
|
-
<line num="
|
|
1438
|
-
<line num="149" count="0" type="
|
|
1432
|
+
<line num="129" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1433
|
+
<line num="130" count="0" type="stmt"/>
|
|
1434
|
+
<line num="132" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1435
|
+
<line num="133" count="0" type="stmt"/>
|
|
1436
|
+
<line num="146" count="0" type="stmt"/>
|
|
1437
|
+
<line num="148" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1438
|
+
<line num="149" count="0" type="stmt"/>
|
|
1439
1439
|
<line num="150" count="0" type="stmt"/>
|
|
1440
|
-
<line num="
|
|
1441
|
-
<line num="
|
|
1442
|
-
<line num="
|
|
1443
|
-
<line num="
|
|
1444
|
-
<line num="
|
|
1445
|
-
<line num="164" count="0" type="
|
|
1446
|
-
<line num="
|
|
1447
|
-
<line num="
|
|
1440
|
+
<line num="152" count="0" type="stmt"/>
|
|
1441
|
+
<line num="154" count="0" type="stmt"/>
|
|
1442
|
+
<line num="159" count="0" type="stmt"/>
|
|
1443
|
+
<line num="161" count="0" type="stmt"/>
|
|
1444
|
+
<line num="163" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1445
|
+
<line num="164" count="0" type="stmt"/>
|
|
1446
|
+
<line num="166" count="0" type="stmt"/>
|
|
1447
|
+
<line num="169" count="0" type="stmt"/>
|
|
1448
1448
|
<line num="170" count="0" type="stmt"/>
|
|
1449
|
-
<line num="
|
|
1450
|
-
<line num="
|
|
1451
|
-
<line num="178" count="0" type="
|
|
1452
|
-
<line num="
|
|
1453
|
-
<line num="
|
|
1449
|
+
<line num="172" count="0" type="stmt"/>
|
|
1450
|
+
<line num="177" count="0" type="stmt"/>
|
|
1451
|
+
<line num="178" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1452
|
+
<line num="180" count="0" type="stmt"/>
|
|
1453
|
+
<line num="182" count="0" type="stmt"/>
|
|
1454
1454
|
<line num="183" count="0" type="stmt"/>
|
|
1455
1455
|
<line num="184" count="0" type="stmt"/>
|
|
1456
|
-
<line num="
|
|
1457
|
-
<line num="189" count="0" type="
|
|
1458
|
-
<line num="
|
|
1459
|
-
<line num="192" count="0" type="
|
|
1460
|
-
<line num="
|
|
1461
|
-
<line num="
|
|
1456
|
+
<line num="188" count="0" type="stmt"/>
|
|
1457
|
+
<line num="189" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1458
|
+
<line num="191" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1459
|
+
<line num="192" count="0" type="stmt"/>
|
|
1460
|
+
<line num="196" count="0" type="stmt"/>
|
|
1461
|
+
<line num="200" count="0" type="stmt"/>
|
|
1462
1462
|
<line num="201" count="0" type="stmt"/>
|
|
1463
|
-
<line num="
|
|
1464
|
-
<line num="204" count="0" type="
|
|
1465
|
-
<line num="205" count="0" type="
|
|
1466
|
-
<line num="206" count="0" type="
|
|
1467
|
-
<line num="
|
|
1468
|
-
<line num="210" count="0" type="
|
|
1469
|
-
<line num="
|
|
1470
|
-
<line num="216" count="0" type="
|
|
1471
|
-
<line num="
|
|
1472
|
-
<line num="225" count="0" type="
|
|
1473
|
-
<line num="
|
|
1463
|
+
<line num="203" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1464
|
+
<line num="204" count="0" type="stmt"/>
|
|
1465
|
+
<line num="205" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1466
|
+
<line num="206" count="0" type="stmt"/>
|
|
1467
|
+
<line num="209" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1468
|
+
<line num="210" count="0" type="stmt"/>
|
|
1469
|
+
<line num="215" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1470
|
+
<line num="216" count="0" type="stmt"/>
|
|
1471
|
+
<line num="224" count="0" type="stmt"/>
|
|
1472
|
+
<line num="225" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1473
|
+
<line num="228" count="0" type="stmt"/>
|
|
1474
1474
|
<line num="229" count="0" type="stmt"/>
|
|
1475
1475
|
<line num="230" count="0" type="stmt"/>
|
|
1476
1476
|
<line num="231" count="0" type="stmt"/>
|
|
1477
|
-
<line num="
|
|
1478
|
-
<line num="
|
|
1479
|
-
<line num="
|
|
1480
|
-
<line num="
|
|
1477
|
+
<line num="234" count="0" type="stmt"/>
|
|
1478
|
+
<line num="240" count="0" type="stmt"/>
|
|
1479
|
+
<line num="253" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1480
|
+
<line num="261" count="0" type="stmt"/>
|
|
1481
1481
|
<line num="262" count="0" type="stmt"/>
|
|
1482
1482
|
<line num="263" count="0" type="stmt"/>
|
|
1483
|
-
<line num="
|
|
1484
|
-
|
|
1483
|
+
<line num="293" count="0" type="stmt"/>
|
|
1484
|
+
</file>
|
|
1485
|
+
</package>
|
|
1486
|
+
<package name="src.contexts">
|
|
1487
|
+
<metrics statements="73" coveredstatements="71" conditionals="54" coveredconditionals="45" methods="10" coveredmethods="10"/>
|
|
1488
|
+
<file name="MapContext.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/contexts/MapContext.tsx">
|
|
1489
|
+
<metrics statements="42" coveredstatements="42" conditionals="34" coveredconditionals="31" methods="6" coveredmethods="6"/>
|
|
1490
|
+
<line num="4" count="19" type="stmt"/>
|
|
1491
|
+
<line num="14" count="19" type="stmt"/>
|
|
1492
|
+
<line num="15" count="168" type="stmt"/>
|
|
1493
|
+
<line num="16" count="168" type="stmt"/>
|
|
1494
|
+
<line num="17" count="168" type="stmt"/>
|
|
1495
|
+
<line num="18" count="168" type="stmt"/>
|
|
1496
|
+
<line num="21" count="168" type="stmt"/>
|
|
1497
|
+
<line num="22" count="8" type="cond" truecount="2" falsecount="0"/>
|
|
1498
|
+
<line num="23" count="6" type="cond" truecount="1" falsecount="1"/>
|
|
1499
|
+
<line num="24" count="6" type="stmt"/>
|
|
1500
|
+
<line num="26" count="6" type="stmt"/>
|
|
1501
|
+
<line num="27" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
1502
|
+
<line num="28" count="4" type="stmt"/>
|
|
1503
|
+
<line num="30" count="6" type="stmt"/>
|
|
1504
|
+
<line num="32" count="6" type="cond" truecount="4" falsecount="0"/>
|
|
1505
|
+
<line num="33" count="3" type="stmt"/>
|
|
1506
|
+
<line num="36" count="2" type="stmt"/>
|
|
1507
|
+
<line num="37" count="2" type="stmt"/>
|
|
1508
|
+
<line num="41" count="168" type="stmt"/>
|
|
1509
|
+
<line num="42" count="71" type="stmt"/>
|
|
1510
|
+
<line num="44" count="71" type="cond" truecount="1" falsecount="1"/>
|
|
1511
|
+
<line num="45" count="71" type="stmt"/>
|
|
1512
|
+
<line num="46" count="71" type="stmt"/>
|
|
1513
|
+
<line num="47" count="71" type="stmt"/>
|
|
1514
|
+
<line num="51" count="168" type="stmt"/>
|
|
1515
|
+
<line num="57" count="13" type="cond" truecount="3" falsecount="1"/>
|
|
1516
|
+
<line num="58" count="13" type="stmt"/>
|
|
1517
|
+
<line num="59" count="13" type="stmt"/>
|
|
1518
|
+
<line num="60" count="13" type="stmt"/>
|
|
1519
|
+
<line num="62" count="13" type="cond" truecount="2" falsecount="0"/>
|
|
1520
|
+
<line num="63" count="11" type="stmt"/>
|
|
1521
|
+
<line num="69" count="427" type="cond" truecount="4" falsecount="0"/>
|
|
1522
|
+
<line num="70" count="76" type="stmt"/>
|
|
1523
|
+
<line num="71" count="351" type="cond" truecount="4" falsecount="0"/>
|
|
1524
|
+
<line num="72" count="129" type="stmt"/>
|
|
1525
|
+
<line num="74" count="222" type="stmt"/>
|
|
1526
|
+
<line num="77" count="171" type="cond" truecount="4" falsecount="0"/>
|
|
1527
|
+
<line num="78" count="25" type="stmt"/>
|
|
1528
|
+
<line num="79" count="146" type="cond" truecount="4" falsecount="0"/>
|
|
1529
|
+
<line num="80" count="129" type="stmt"/>
|
|
1530
|
+
<line num="83" count="17" type="stmt"/>
|
|
1531
|
+
<line num="88" count="168" type="stmt"/>
|
|
1532
|
+
</file>
|
|
1533
|
+
<file name="SimpleDataContext.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/contexts/SimpleDataContext.js">
|
|
1534
|
+
<metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
1535
|
+
<line num="3" count="11" type="stmt"/>
|
|
1536
|
+
<line num="5" count="11" type="stmt"/>
|
|
1537
|
+
</file>
|
|
1538
|
+
<file name="SimpleDataProvider.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/contexts/SimpleDataProvider.js">
|
|
1539
|
+
<metrics statements="29" coveredstatements="27" conditionals="20" coveredconditionals="14" methods="4" coveredmethods="4"/>
|
|
1540
|
+
<line num="6" count="11" type="stmt"/>
|
|
1541
|
+
<line num="7" count="8" type="stmt"/>
|
|
1542
|
+
<line num="8" count="8" type="stmt"/>
|
|
1543
|
+
<line num="9" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
1544
|
+
<line num="11" count="4" type="stmt"/>
|
|
1545
|
+
<line num="12" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
1546
|
+
<line num="13" count="2" type="stmt"/>
|
|
1547
|
+
<line num="14" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
1548
|
+
<line num="15" count="1" type="stmt"/>
|
|
1549
|
+
<line num="16" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
1550
|
+
<line num="17" count="1" type="stmt"/>
|
|
1551
|
+
<line num="20" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
1552
|
+
<line num="21" count="4" type="stmt"/>
|
|
1553
|
+
<line num="22" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
1554
|
+
<line num="23" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
1555
|
+
<line num="24" count="1" type="stmt"/>
|
|
1556
|
+
<line num="25" count="1" type="stmt"/>
|
|
1557
|
+
<line num="27" count="2" type="stmt"/>
|
|
1558
|
+
<line num="29" count="1" type="stmt"/>
|
|
1559
|
+
<line num="32" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
1560
|
+
<line num="33" count="1" type="stmt"/>
|
|
1561
|
+
<line num="35" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
1562
|
+
<line num="36" count="0" type="stmt"/>
|
|
1563
|
+
<line num="38" count="3" type="stmt"/>
|
|
1564
|
+
<line num="41" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
1565
|
+
<line num="42" count="0" type="stmt"/>
|
|
1566
|
+
<line num="48" count="8" type="stmt"/>
|
|
1567
|
+
<line num="53" count="8" type="stmt"/>
|
|
1568
|
+
<line num="60" count="11" type="stmt"/>
|
|
1485
1569
|
</file>
|
|
1486
1570
|
</package>
|
|
1487
1571
|
<package name="src.hooks">
|
|
1488
|
-
<metrics statements="169" coveredstatements="
|
|
1572
|
+
<metrics statements="169" coveredstatements="94" conditionals="105" coveredconditionals="56" methods="27" coveredmethods="16"/>
|
|
1489
1573
|
<file name="useLayer.ts" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useLayer.ts">
|
|
1490
1574
|
<metrics statements="57" coveredstatements="43" conditionals="57" coveredconditionals="40" methods="8" coveredmethods="8"/>
|
|
1491
|
-
<line num="30" count="
|
|
1575
|
+
<line num="30" count="12" type="stmt"/>
|
|
1492
1576
|
<line num="43" count="60" type="stmt"/>
|
|
1493
1577
|
<line num="48" count="60" type="stmt"/>
|
|
1494
1578
|
<line num="49" count="60" type="stmt"/>
|
|
@@ -1496,87 +1580,87 @@
|
|
|
1496
1580
|
<line num="52" count="60" type="stmt"/>
|
|
1497
1581
|
<line num="54" count="60" type="stmt"/>
|
|
1498
1582
|
<line num="55" count="60" type="stmt"/>
|
|
1499
|
-
<line num="
|
|
1500
|
-
<line num="
|
|
1501
|
-
<line num="
|
|
1502
|
-
<line num="
|
|
1503
|
-
<line num="
|
|
1504
|
-
<line num="
|
|
1505
|
-
<line num="
|
|
1506
|
-
<line num="
|
|
1507
|
-
<line num="
|
|
1508
|
-
<line num="
|
|
1509
|
-
<line num="
|
|
1510
|
-
<line num="
|
|
1511
|
-
<line num="
|
|
1512
|
-
<line num="
|
|
1513
|
-
<line num="
|
|
1514
|
-
<line num="
|
|
1515
|
-
<line num="
|
|
1516
|
-
<line num="
|
|
1517
|
-
<line num="
|
|
1518
|
-
<line num="
|
|
1519
|
-
<line num="
|
|
1520
|
-
<line num="
|
|
1521
|
-
<line num="
|
|
1522
|
-
<line num="
|
|
1523
|
-
<line num="
|
|
1524
|
-
<line num="
|
|
1525
|
-
<line num="
|
|
1526
|
-
<line num="
|
|
1527
|
-
<line num="
|
|
1528
|
-
<line num="
|
|
1529
|
-
<line num="
|
|
1530
|
-
<line num="
|
|
1531
|
-
<line num="
|
|
1532
|
-
<line num="
|
|
1533
|
-
<line num="
|
|
1534
|
-
<line num="
|
|
1535
|
-
<line num="
|
|
1536
|
-
<line num="
|
|
1537
|
-
<line num="
|
|
1538
|
-
<line num="
|
|
1539
|
-
<line num="
|
|
1540
|
-
<line num="
|
|
1541
|
-
<line num="
|
|
1542
|
-
<line num="
|
|
1543
|
-
<line num="
|
|
1544
|
-
<line num="
|
|
1545
|
-
<line num="
|
|
1546
|
-
<line num="
|
|
1547
|
-
<line num="
|
|
1583
|
+
<line num="59" count="60" type="stmt"/>
|
|
1584
|
+
<line num="60" count="14" type="cond" truecount="3" falsecount="1"/>
|
|
1585
|
+
<line num="61" count="14" type="stmt"/>
|
|
1586
|
+
<line num="63" count="14" type="stmt"/>
|
|
1587
|
+
<line num="84" count="14" type="stmt"/>
|
|
1588
|
+
<line num="86" count="14" type="cond" truecount="1" falsecount="1"/>
|
|
1589
|
+
<line num="87" count="0" type="stmt"/>
|
|
1590
|
+
<line num="90" count="14" type="cond" truecount="1" falsecount="1"/>
|
|
1591
|
+
<line num="91" count="0" type="stmt"/>
|
|
1592
|
+
<line num="94" count="14" type="cond" truecount="1" falsecount="1"/>
|
|
1593
|
+
<line num="95" count="0" type="stmt"/>
|
|
1594
|
+
<line num="98" count="14" type="stmt"/>
|
|
1595
|
+
<line num="99" count="14" type="stmt"/>
|
|
1596
|
+
<line num="100" count="14" type="stmt"/>
|
|
1597
|
+
<line num="103" count="60" type="stmt"/>
|
|
1598
|
+
<line num="104" count="60" type="cond" truecount="2" falsecount="0"/>
|
|
1599
|
+
<line num="106" count="32" type="cond" truecount="1" falsecount="1"/>
|
|
1600
|
+
<line num="113" count="0" type="stmt"/>
|
|
1601
|
+
<line num="114" count="32" type="cond" truecount="2" falsecount="0"/>
|
|
1602
|
+
<line num="120" count="18" type="stmt"/>
|
|
1603
|
+
<line num="123" count="14" type="stmt"/>
|
|
1604
|
+
<line num="126" count="60" type="stmt"/>
|
|
1605
|
+
<line num="127" count="28" type="cond" truecount="4" falsecount="0"/>
|
|
1606
|
+
<line num="128" count="16" type="stmt"/>
|
|
1607
|
+
<line num="131" count="12" type="stmt"/>
|
|
1608
|
+
<line num="134" count="60" type="stmt"/>
|
|
1609
|
+
<line num="135" count="60" type="cond" truecount="5" falsecount="0"/>
|
|
1610
|
+
<line num="136" count="28" type="stmt"/>
|
|
1611
|
+
<line num="140" count="32" type="stmt"/>
|
|
1612
|
+
<line num="141" count="32" type="cond" truecount="3" falsecount="1"/>
|
|
1613
|
+
<line num="142" count="0" type="stmt"/>
|
|
1614
|
+
<line num="144" count="0" type="stmt"/>
|
|
1615
|
+
<line num="145" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1616
|
+
<line num="146" count="0" type="stmt"/>
|
|
1617
|
+
<line num="149" count="0" type="stmt"/>
|
|
1618
|
+
<line num="152" count="32" type="stmt"/>
|
|
1619
|
+
<line num="153" count="32" type="cond" truecount="1" falsecount="1"/>
|
|
1620
|
+
<line num="154" count="0" type="stmt"/>
|
|
1621
|
+
<line num="155" count="0" type="stmt"/>
|
|
1622
|
+
<line num="156" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1623
|
+
<line num="157" count="0" type="stmt"/>
|
|
1624
|
+
<line num="160" count="0" type="stmt"/>
|
|
1625
|
+
<line num="164" count="60" type="stmt"/>
|
|
1626
|
+
<line num="165" count="7" type="stmt"/>
|
|
1627
|
+
<line num="166" count="7" type="stmt"/>
|
|
1628
|
+
<line num="169" count="60" type="stmt"/>
|
|
1629
|
+
<line num="170" count="14" type="stmt"/>
|
|
1630
|
+
<line num="171" count="7" type="stmt"/>
|
|
1631
|
+
<line num="175" count="60" type="stmt"/>
|
|
1548
1632
|
</file>
|
|
1549
1633
|
<file name="useMap.ts" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useMap.ts">
|
|
1550
1634
|
<metrics statements="29" coveredstatements="23" conditionals="14" coveredconditionals="8" methods="5" coveredmethods="4"/>
|
|
1551
|
-
<line num="
|
|
1552
|
-
<line num="
|
|
1553
|
-
<line num="
|
|
1554
|
-
<line num="
|
|
1555
|
-
<line num="
|
|
1556
|
-
<line num="
|
|
1557
|
-
<line num="
|
|
1558
|
-
<line num="
|
|
1559
|
-
<line num="
|
|
1560
|
-
<line num="
|
|
1561
|
-
<line num="
|
|
1562
|
-
<line num="
|
|
1563
|
-
<line num="
|
|
1564
|
-
<line num="
|
|
1565
|
-
<line num="
|
|
1566
|
-
<line num="
|
|
1567
|
-
<line num="
|
|
1568
|
-
<line num="
|
|
1569
|
-
<line num="
|
|
1570
|
-
<line num="
|
|
1571
|
-
<line num="
|
|
1572
|
-
<line num="
|
|
1573
|
-
<line num="
|
|
1574
|
-
<line num="
|
|
1575
|
-
<line num="
|
|
1576
|
-
<line num="
|
|
1577
|
-
<line num="
|
|
1578
|
-
<line num="
|
|
1579
|
-
<line num="
|
|
1635
|
+
<line num="17" count="169" type="stmt"/>
|
|
1636
|
+
<line num="18" count="169" type="stmt"/>
|
|
1637
|
+
<line num="20" count="169" type="stmt"/>
|
|
1638
|
+
<line num="32" count="169" type="stmt"/>
|
|
1639
|
+
<line num="33" count="169" type="stmt"/>
|
|
1640
|
+
<line num="35" count="169" type="stmt"/>
|
|
1641
|
+
<line num="37" count="169" type="stmt"/>
|
|
1642
|
+
<line num="39" count="169" type="stmt"/>
|
|
1643
|
+
<line num="40" count="30" type="cond" truecount="2" falsecount="0"/>
|
|
1644
|
+
<line num="41" count="23" type="stmt"/>
|
|
1645
|
+
<line num="42" count="23" type="stmt"/>
|
|
1646
|
+
<line num="44" count="30" type="stmt"/>
|
|
1647
|
+
<line num="45" count="30" type="stmt"/>
|
|
1648
|
+
<line num="48" count="169" type="stmt"/>
|
|
1649
|
+
<line num="49" count="48" type="stmt"/>
|
|
1650
|
+
<line num="52" count="169" type="stmt"/>
|
|
1651
|
+
<line num="53" count="96" type="cond" truecount="4" falsecount="0"/>
|
|
1652
|
+
<line num="57" count="48" type="cond" truecount="1" falsecount="1"/>
|
|
1653
|
+
<line num="58" count="0" type="stmt"/>
|
|
1654
|
+
<line num="60" count="0" type="stmt"/>
|
|
1655
|
+
<line num="61" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1656
|
+
<line num="62" count="0" type="stmt"/>
|
|
1657
|
+
<line num="65" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1658
|
+
<line num="66" count="0" type="stmt"/>
|
|
1659
|
+
<line num="71" count="48" type="stmt"/>
|
|
1660
|
+
<line num="72" count="48" type="stmt"/>
|
|
1661
|
+
<line num="73" count="48" type="stmt"/>
|
|
1662
|
+
<line num="74" count="48" type="stmt"/>
|
|
1663
|
+
<line num="77" count="169" type="stmt"/>
|
|
1580
1664
|
</file>
|
|
1581
1665
|
<file name="useMapState.ts" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useMapState.ts">
|
|
1582
1666
|
<metrics statements="48" coveredstatements="27" conditionals="26" coveredconditionals="8" methods="7" coveredmethods="4"/>
|
|
@@ -1626,11 +1710,11 @@
|
|
|
1626
1710
|
<line num="132" count="0" type="stmt"/>
|
|
1627
1711
|
<line num="134" count="0" type="stmt"/>
|
|
1628
1712
|
<line num="146" count="169" type="stmt"/>
|
|
1629
|
-
<line num="152" count="
|
|
1630
|
-
<line num="164" count="
|
|
1713
|
+
<line num="152" count="14" type="stmt"/>
|
|
1714
|
+
<line num="164" count="14" type="stmt"/>
|
|
1631
1715
|
</file>
|
|
1632
1716
|
<file name="useWms.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useWms.js">
|
|
1633
|
-
<metrics statements="35" coveredstatements="
|
|
1717
|
+
<metrics statements="35" coveredstatements="1" conditionals="8" coveredconditionals="0" methods="7" coveredmethods="0"/>
|
|
1634
1718
|
<line num="6" count="0" type="stmt"/>
|
|
1635
1719
|
<line num="7" count="0" type="stmt"/>
|
|
1636
1720
|
<line num="8" count="0" type="stmt"/>
|
|
@@ -1665,7 +1749,7 @@
|
|
|
1665
1749
|
<line num="66" count="0" type="stmt"/>
|
|
1666
1750
|
<line num="68" count="0" type="stmt"/>
|
|
1667
1751
|
<line num="73" count="0" type="stmt"/>
|
|
1668
|
-
<line num="82" count="
|
|
1752
|
+
<line num="82" count="10" type="stmt"/>
|
|
1669
1753
|
</file>
|
|
1670
1754
|
</package>
|
|
1671
1755
|
</project>
|