@mapcomponents/react-maplibre 0.1.65 → 0.1.67
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/.github/workflows/node_version_test.yml +1 -1
- package/.storybook/main.js +37 -31
- package/.storybook/preview.js +21 -0
- package/CHANGELOG.md +18 -0
- package/coverage/clover.xml +419 -344
- package/coverage/coverage-final.json +16 -15
- package/coverage/lcov-report/index.html +61 -61
- package/coverage/lcov-report/src/components/MapLibreMap/MapLibreMap.tsx.html +24 -18
- package/coverage/lcov-report/src/components/MapLibreMap/index.html +14 -14
- package/coverage/lcov-report/src/components/MlCenterPosition/MlCenterPosition.tsx.html +2 -2
- package/coverage/lcov-report/src/components/MlCenterPosition/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/MlCreatePdfForm/MlCreatePdfForm.cy.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlCreatePdfForm/MlCreatePdfForm.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlCreatePdfForm/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 +9 -9
- package/coverage/lcov-report/src/components/MlFollowGps/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/MlGeoJsonLayer/story_utils/MlGeoJsonLayer.lineStyler.js.html +1 -1
- package/coverage/lcov-report/src/components/MlGeoJsonLayer/story_utils/MlGeoJsonLayer.polygonStyler.js.html +1 -1
- package/coverage/lcov-report/src/components/MlGeoJsonLayer/story_utils/MlGeojsonLayerCircleStyler.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlGeoJsonLayer/story_utils/MlGeojsonLayerHeatMapStyler.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlGeoJsonLayer/story_utils/index.html +1 -1
- package/coverage/lcov-report/src/components/MlGeojsonLayerWithSource/MlGeojsonLayerWithSource.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlGeojsonLayerWithSource/index.html +1 -1
- package/coverage/lcov-report/src/components/MlGpxViewer/MlGpxViewer.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlGpxViewer/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 +52 -40
- package/coverage/lcov-report/src/components/MlLayerMagnify/index.html +10 -10
- package/coverage/lcov-report/src/components/MlLayerSwipe/MlLayerSwipe.tsx.html +4 -4
- 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/MlMeasureTool/MlMeasureTool.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlMeasureTool/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/MlOsmLayer.stories_.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 → MlScaleReference.tsx.html} +57 -36
- package/coverage/lcov-report/src/components/MlScaleReference/index.html +2 -2
- package/coverage/lcov-report/src/components/MlShareMapState/{MlShareMapState.js.html → MlShareMapState.tsx.html} +192 -84
- package/coverage/lcov-report/src/components/MlShareMapState/index.html +20 -20
- package/coverage/lcov-report/src/components/MlSketchTool/LayerList/ColorPicker.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlSketchTool/LayerList/LayerList.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlSketchTool/LayerList/LayerListItem.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlSketchTool/LayerList/LayerPropertyForm.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlSketchTool/LayerList/index.html +1 -1
- package/coverage/lcov-report/src/components/MlSketchTool/MlSketchTool.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlSketchTool/index.html +1 -1
- package/coverage/lcov-report/src/components/MlSpatialElevationProfile/MlSpatialElevationProfile.tsx.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/MlThreejsLayer.tsx.html +769 -0
- package/coverage/lcov-report/src/components/MlThreeJsLayer/index.html +25 -10
- 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 +11 -11
- package/coverage/lcov-report/src/components/MlWmsFeatureInfoPopup/index.html +11 -11
- 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 +27 -18
- package/coverage/lcov-report/src/components/MlWmsLoader/index.html +11 -11
- package/coverage/lcov-report/src/contexts/MapContext.tsx.html +50 -26
- 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 +21 -21
- package/coverage/lcov-report/src/hooks/useCameraFollowPath/index.html +1 -1
- package/coverage/lcov-report/src/hooks/useCameraFollowPath/useCameraFollowPath.tsx.html +1 -1
- package/coverage/lcov-report/src/hooks/useExportMap/index.html +1 -1
- package/coverage/lcov-report/src/hooks/useExportMap/index.ts.html +1 -1
- package/coverage/lcov-report/src/hooks/useExportMap/lib.ts.html +1 -1
- package/coverage/lcov-report/src/hooks/useGpx/index.html +1 -1
- package/coverage/lcov-report/src/hooks/useGpx/useGpx.tsx.html +1 -1
- package/coverage/lcov-report/src/hooks/useLayer.ts.html +1 -1
- package/coverage/lcov-report/src/hooks/useLayerEvent.js.html +9 -9
- package/coverage/lcov-report/src/hooks/useLayerFilter/index.html +1 -1
- package/coverage/lcov-report/src/hooks/useLayerFilter/useLayerFilter.ts.html +1 -1
- package/coverage/lcov-report/src/hooks/useLayerHoverPopup/index.html +1 -1
- package/coverage/lcov-report/src/hooks/useLayerHoverPopup/useLayerHoverPopup.tsx.html +9 -6
- package/coverage/lcov-report/src/hooks/useMap.ts.html +2 -2
- package/coverage/lcov-report/src/hooks/useMapState.ts.html +8 -29
- package/coverage/lcov-report/src/hooks/useSource.ts.html +10 -10
- package/coverage/lcov-report/src/hooks/useWms.ts.html +1 -1
- package/coverage/lcov-report/src/index.html +1 -1
- package/coverage/lcov-report/src/index.ts.html +82 -10
- package/coverage/lcov.info +741 -604
- package/dist/components/MapLibreMap/MapLibreMap.stories.d.ts +3 -0
- package/dist/components/MapLibreMap/lib/MapLibreGlWrapper.d.ts +17 -15
- package/dist/components/MlCenterPosition/MlCenterPosition.stories.d.ts +1 -1
- package/dist/components/MlComponentTemplate/MlComponentTemplate.stories.d.ts +1 -1
- package/dist/components/MlCreatePdfButton/MlCreatePdfButton.stories.d.ts +1 -1
- package/dist/components/MlCreatePdfForm/MlCreatePdfForm.stories.d.ts +1 -1
- package/dist/components/MlFeatureEditor/lib/create_supplementary_points.d.ts +1 -1
- package/dist/components/MlFeatureEditor/lib/create_vertex.d.ts +1 -1
- package/dist/components/MlGeoJsonLayer/MlGeoJsonLayer.stories.d.ts +1 -1
- package/dist/components/MlGeojsonLayerWithSource/MlGeojsonLayerWithSource.stories.d.ts +1 -1
- package/dist/components/MlGpxViewer/MlGpxViewer.stories.d.ts +1 -1
- package/dist/components/MlImageMarkerLayer/MlImageMarkerLayer.stories.d.ts +1 -1
- package/dist/components/MlLayerMagnify/MlLayerMagnify.stories.d.ts +1 -1
- package/dist/components/MlLayerSwipe/MlLayerSwipe.stories.d.ts +1 -1
- package/dist/components/MlScaleReference/MlScaleReference.d.ts +7 -1
- package/dist/components/MlShareMapState/MlShareMapState.d.ts +32 -13
- package/dist/components/MlShareMapState/MlShareMapState.stories.d.ts +15 -9
- package/dist/components/MlSketchTool/MlSketchTool.stories.d.ts +1 -1
- package/dist/components/MlSpatialElevationProfile/MlSpatialElevationProfile.stories.d.ts +1 -1
- package/dist/components/MlSpatialElevationProfile/util/getElevationData.d.ts +1 -1
- package/dist/components/MlThreeJsLayer/MlThreeJsLayer.stories.d.ts +1 -1
- package/dist/components/MlThreeJsLayer/MlThreejsLayer.d.ts +29 -0
- package/dist/components/MlThreeJsLayer/lib/GLTFLoader.d.ts +2 -1
- package/dist/components/MlWmsFeatureInfoPopup/MlWmsFeatureInfoPopup.stories.d.ts +1 -1
- package/dist/components/MlWmsLoader/MlWmsLoader.stories.d.ts +1 -1
- package/dist/contexts/MapContext.d.ts +13 -2
- package/dist/custom.d.d.ts +1 -1
- package/dist/decorators/MapContextDecorator.d.ts +1 -1
- package/dist/decorators/MapContextDecoratorHooks.d.ts +1 -1
- package/dist/decorators/MultiMapContextDecorator.d.ts +1 -1
- package/dist/decorators/NoNavToolsDecorator.d.ts +1 -1
- package/dist/decorators/ThemeWrapper.d.ts +1 -3
- package/dist/hooks/useCameraFollowPath/useCameraFollowPath.stories.d.ts +1 -1
- package/dist/hooks/useLayerFilter/useLayerFilter.stories.d.ts +1 -1
- package/dist/index.d.ts +18 -7
- package/dist/index.esm.js +5488 -3580
- package/dist/index.esm.js.map +1 -1
- package/dist/setupTests.d.ts +6 -6
- package/package.json +56 -49
- package/public/thumbnails/{MlGPXViewer.png → MlGpxViewer.png} +0 -0
- package/rollup.config.js +49 -48
- package/src/@types/assets/index.d.ts +20 -0
- package/src/components/MapLibreMap/MapLibreMap.stories.js +8 -1
- package/src/components/MapLibreMap/MapLibreMap.tsx +11 -9
- package/src/components/MapLibreMap/lib/MapLibreGlWrapper.ts +49 -39
- package/src/components/MlCenterPosition/MlCenterPosition.tsx +1 -1
- package/src/components/MlFollowGps/MlFollowGps.tsx +8 -8
- package/src/components/MlLayerMagnify/MlLayerMagnify.tsx +21 -17
- package/src/components/MlLayerSwipe/MlLayerSwipe.tsx +3 -3
- package/src/components/MlScaleReference/{MlScaleReference.js → MlScaleReference.tsx} +38 -31
- package/src/components/MlShareMapState/MlShareMapState.stories.tsx +100 -0
- package/src/components/MlShareMapState/{MlShareMapState.js → MlShareMapState.tsx} +94 -58
- package/src/components/MlThreeJsLayer/MlThreejsLayer.tsx +228 -0
- package/src/components/MlWmsLoader/MlWmsLoader.tsx +7 -4
- package/src/contexts/MapContext.tsx +26 -19
- package/src/custom.d.ts +5 -0
- package/src/decorators/MapContextDecorator.js +39 -28
- package/src/decorators/MapContextDecoratorHooks.js +18 -8
- package/src/decorators/MultiMapContextDecorator.js +79 -69
- package/src/decorators/NoNavToolsDecorator.js +34 -25
- package/src/hooks/useLayerHoverPopup/useLayerHoverPopup.tsx +5 -4
- package/src/hooks/useMap.ts +1 -1
- package/src/hooks/useMapState.ts +6 -13
- package/src/hooks/useSource.ts +1 -1
- package/src/index.ts +31 -7
- package/src/ui_components/TopToolbar.tsx +1 -1
- package/tsconfig.json +1 -0
- package/src/components/MlShareMapState/MlShareMapState.stories.js +0 -100
- package/src/custom.d.tsx +0 -26
- package/src/decorators/ThemeWrapper.tsx +0 -9
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="1675068114996" clover="3.2.0">
|
|
3
|
+
<project timestamp="1675068114996" name="All files">
|
|
4
|
+
<metrics statements="1711" coveredstatements="670" conditionals="1015" coveredconditionals="337" methods="373" coveredmethods="119" elements="3099" coveredelements="1126" complexity="0" loc="1711" ncloc="1711" packages="42" files="59" classes="59"/>
|
|
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,9 +9,9 @@
|
|
|
9
9
|
</file>
|
|
10
10
|
</package>
|
|
11
11
|
<package name="src.components.MapLibreMap">
|
|
12
|
-
<metrics statements="
|
|
12
|
+
<metrics statements="31" coveredstatements="28" conditionals="13" coveredconditionals="9" methods="7" coveredmethods="7"/>
|
|
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="
|
|
14
|
+
<metrics statements="31" coveredstatements="28" conditionals="13" coveredconditionals="9" methods="7" coveredmethods="7"/>
|
|
15
15
|
<line num="26" count="20" type="stmt"/>
|
|
16
16
|
<line num="61" count="20" type="stmt"/>
|
|
17
17
|
<line num="62" count="273" type="stmt"/>
|
|
@@ -28,20 +28,21 @@
|
|
|
28
28
|
<line num="77" count="2" type="stmt"/>
|
|
29
29
|
<line num="81" count="273" type="stmt"/>
|
|
30
30
|
<line num="82" count="83" type="cond" truecount="1" falsecount="1"/>
|
|
31
|
-
<line num="84" count="83" type="
|
|
32
|
-
<line num="
|
|
33
|
-
<line num="
|
|
34
|
-
<line num="
|
|
35
|
-
<line num="
|
|
36
|
-
<line num="
|
|
37
|
-
<line num="
|
|
38
|
-
<line num="
|
|
39
|
-
<line num="
|
|
40
|
-
<line num="
|
|
41
|
-
<line num="
|
|
42
|
-
<line num="
|
|
43
|
-
<line num="
|
|
44
|
-
<line num="
|
|
31
|
+
<line num="84" count="83" type="stmt"/>
|
|
32
|
+
<line num="86" count="83" type="cond" truecount="1" falsecount="1"/>
|
|
33
|
+
<line num="87" count="83" type="stmt"/>
|
|
34
|
+
<line num="88" count="83" type="stmt"/>
|
|
35
|
+
<line num="96" count="83" type="stmt"/>
|
|
36
|
+
<line num="97" count="83" type="cond" truecount="2" falsecount="0"/>
|
|
37
|
+
<line num="98" count="6" type="stmt"/>
|
|
38
|
+
<line num="100" count="77" type="stmt"/>
|
|
39
|
+
<line num="108" count="273" type="stmt"/>
|
|
40
|
+
<line num="109" count="83" type="cond" truecount="4" falsecount="1"/>
|
|
41
|
+
<line num="110" count="0" type="stmt"/>
|
|
42
|
+
<line num="111" count="0" type="stmt"/>
|
|
43
|
+
<line num="112" count="0" type="stmt"/>
|
|
44
|
+
<line num="116" count="273" type="stmt"/>
|
|
45
|
+
<line num="119" count="20" type="stmt"/>
|
|
45
46
|
</file>
|
|
46
47
|
</package>
|
|
47
48
|
<package name="src.components.MlCenterPosition">
|
|
@@ -376,9 +377,9 @@
|
|
|
376
377
|
</file>
|
|
377
378
|
</package>
|
|
378
379
|
<package name="src.components.MlLayerMagnify">
|
|
379
|
-
<metrics statements="
|
|
380
|
+
<metrics statements="63" coveredstatements="49" conditionals="36" coveredconditionals="23" methods="13" coveredmethods="7"/>
|
|
380
381
|
<file name="MlLayerMagnify.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlLayerMagnify/MlLayerMagnify.tsx">
|
|
381
|
-
<metrics statements="
|
|
382
|
+
<metrics statements="63" coveredstatements="49" conditionals="36" coveredconditionals="23" methods="13" coveredmethods="7"/>
|
|
382
383
|
<line num="32" count="11" type="stmt"/>
|
|
383
384
|
<line num="33" count="3" type="stmt"/>
|
|
384
385
|
<line num="34" count="3" type="stmt"/>
|
|
@@ -390,11 +391,11 @@
|
|
|
390
391
|
<line num="42" count="3" type="stmt"/>
|
|
391
392
|
<line num="43" count="1" type="cond" truecount="1" falsecount="1"/>
|
|
392
393
|
<line num="46" count="3" type="stmt"/>
|
|
393
|
-
<line num="47" count="
|
|
394
|
+
<line num="47" count="4" type="cond" truecount="3" falsecount="1"/>
|
|
394
395
|
<line num="48" count="0" type="stmt"/>
|
|
395
|
-
<line num="50" count="
|
|
396
|
+
<line num="50" count="4" type="cond" truecount="4" falsecount="0"/>
|
|
396
397
|
<line num="51" count="1" type="stmt"/>
|
|
397
|
-
<line num="54" count="
|
|
398
|
+
<line num="54" count="3" type="stmt"/>
|
|
398
399
|
<line num="57" count="3" type="stmt"/>
|
|
399
400
|
<line num="58" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
400
401
|
<line num="60" count="0" type="stmt"/>
|
|
@@ -405,42 +406,43 @@
|
|
|
405
406
|
<line num="71" count="1" type="stmt"/>
|
|
406
407
|
<line num="72" count="1" type="stmt"/>
|
|
407
408
|
<line num="76" count="3" type="stmt"/>
|
|
408
|
-
<line num="78" count="
|
|
409
|
-
<line num="80" count="
|
|
410
|
-
<line num="82" count="
|
|
411
|
-
<line num="87" count="
|
|
412
|
-
<line num="92" count="
|
|
413
|
-
<line num="93" count="
|
|
414
|
-
<line num="94" count="
|
|
415
|
-
<line num="95" count="
|
|
416
|
-
<line num="97" count="
|
|
417
|
-
<line num="98" count="
|
|
418
|
-
<line num="99" count="
|
|
419
|
-
<line num="100" count="
|
|
420
|
-
<line num="101" count="
|
|
421
|
-
<line num="103" count="
|
|
409
|
+
<line num="78" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
410
|
+
<line num="80" count="2" type="stmt"/>
|
|
411
|
+
<line num="82" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
412
|
+
<line num="87" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
413
|
+
<line num="92" count="2" type="stmt"/>
|
|
414
|
+
<line num="93" count="2" type="stmt"/>
|
|
415
|
+
<line num="94" count="2" type="stmt"/>
|
|
416
|
+
<line num="95" count="2" type="stmt"/>
|
|
417
|
+
<line num="97" count="2" type="cond" truecount="2" falsecount="2"/>
|
|
418
|
+
<line num="98" count="2" type="stmt"/>
|
|
419
|
+
<line num="99" count="2" type="stmt"/>
|
|
420
|
+
<line num="100" count="2" type="stmt"/>
|
|
421
|
+
<line num="101" count="2" type="stmt"/>
|
|
422
|
+
<line num="103" count="2" type="stmt"/>
|
|
422
423
|
<line num="114" count="3" type="stmt"/>
|
|
423
424
|
<line num="115" count="2" type="cond" truecount="4" falsecount="0"/>
|
|
424
425
|
<line num="117" count="1" type="stmt"/>
|
|
425
426
|
<line num="118" count="1" type="stmt"/>
|
|
426
|
-
<line num="
|
|
427
|
-
<line num="
|
|
428
|
-
<line num="
|
|
429
|
-
<line num="
|
|
430
|
-
<line num="159" count="0" type="stmt"/>
|
|
431
|
-
<line num="161" count="0" type="stmt"/>
|
|
427
|
+
<line num="123" count="1" type="stmt"/>
|
|
428
|
+
<line num="154" count="1" type="stmt"/>
|
|
429
|
+
<line num="160" count="3" type="stmt"/>
|
|
430
|
+
<line num="161" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
432
431
|
<line num="162" count="0" type="stmt"/>
|
|
433
|
-
<line num="
|
|
434
|
-
<line num="
|
|
435
|
-
<line num="
|
|
436
|
-
<line num="
|
|
432
|
+
<line num="163" count="0" type="stmt"/>
|
|
433
|
+
<line num="165" count="0" type="stmt"/>
|
|
434
|
+
<line num="166" count="0" type="stmt"/>
|
|
435
|
+
<line num="170" count="3" type="stmt"/>
|
|
436
|
+
<line num="171" count="0" type="stmt"/>
|
|
437
437
|
<line num="172" count="0" type="stmt"/>
|
|
438
|
-
<line num="
|
|
439
|
-
<line num="176" count="
|
|
438
|
+
<line num="175" count="3" type="stmt"/>
|
|
439
|
+
<line num="176" count="0" type="stmt"/>
|
|
440
440
|
<line num="177" count="0" type="stmt"/>
|
|
441
|
-
<line num="
|
|
442
|
-
<line num="181" count="
|
|
443
|
-
<line num="
|
|
441
|
+
<line num="180" count="3" type="stmt"/>
|
|
442
|
+
<line num="181" count="0" type="stmt"/>
|
|
443
|
+
<line num="182" count="0" type="stmt"/>
|
|
444
|
+
<line num="185" count="3" type="stmt"/>
|
|
445
|
+
<line num="215" count="11" type="stmt"/>
|
|
444
446
|
</file>
|
|
445
447
|
</package>
|
|
446
448
|
<package name="src.components.MlLayerSwipe">
|
|
@@ -726,162 +728,162 @@
|
|
|
726
728
|
</package>
|
|
727
729
|
<package name="src.components.MlScaleReference">
|
|
728
730
|
<metrics statements="48" coveredstatements="1" conditionals="26" coveredconditionals="0" methods="7" coveredmethods="0"/>
|
|
729
|
-
<file name="MlScaleReference.
|
|
731
|
+
<file name="MlScaleReference.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlScaleReference/MlScaleReference.tsx">
|
|
730
732
|
<metrics statements="48" coveredstatements="1" conditionals="26" coveredconditionals="0" methods="7" coveredmethods="0"/>
|
|
731
|
-
<line num="
|
|
732
|
-
<line num="
|
|
733
|
-
<line num="6" count="0" type="stmt"/>
|
|
734
|
-
<line num="8" count="0" type="stmt"/>
|
|
735
|
-
<line num="9" count="0" type="stmt"/>
|
|
736
|
-
<line num="11" count="0" type="stmt"/>
|
|
737
|
-
<line num="12" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
733
|
+
<line num="11" count="10" type="stmt"/>
|
|
734
|
+
<line num="12" count="0" type="stmt"/>
|
|
738
735
|
<line num="13" count="0" type="stmt"/>
|
|
739
|
-
<line num="15" count="0" type="
|
|
740
|
-
<line num="
|
|
741
|
-
<line num="
|
|
736
|
+
<line num="15" count="0" type="stmt"/>
|
|
737
|
+
<line num="16" count="0" type="stmt"/>
|
|
738
|
+
<line num="18" count="0" type="stmt"/>
|
|
739
|
+
<line num="19" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
740
|
+
<line num="20" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
741
|
+
<line num="21" count="0" type="stmt"/>
|
|
742
742
|
<line num="24" count="0" type="stmt"/>
|
|
743
|
-
<line num="
|
|
744
|
-
<line num="
|
|
745
|
-
<line num="27" count="0" type="stmt"/>
|
|
746
|
-
<line num="31" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
743
|
+
<line num="29" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
744
|
+
<line num="31" count="0" type="stmt"/>
|
|
747
745
|
<line num="32" count="0" type="stmt"/>
|
|
748
|
-
<line num="33" count="0" type="
|
|
746
|
+
<line num="33" count="0" type="stmt"/>
|
|
749
747
|
<line num="34" count="0" type="stmt"/>
|
|
750
|
-
<line num="
|
|
751
|
-
<line num="
|
|
752
|
-
<line num="
|
|
753
|
-
<line num="40" count="0" type="stmt"/>
|
|
748
|
+
<line num="38" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
749
|
+
<line num="39" count="0" type="stmt"/>
|
|
750
|
+
<line num="40" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
754
751
|
<line num="41" count="0" type="stmt"/>
|
|
755
|
-
<line num="42" count="0" type="
|
|
756
|
-
<line num="
|
|
757
|
-
<line num="
|
|
758
|
-
<line num="
|
|
759
|
-
<line num="
|
|
752
|
+
<line num="42" count="0" type="stmt"/>
|
|
753
|
+
<line num="44" count="0" type="stmt"/>
|
|
754
|
+
<line num="46" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
755
|
+
<line num="47" count="0" type="stmt"/>
|
|
756
|
+
<line num="48" count="0" type="stmt"/>
|
|
757
|
+
<line num="49" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
758
|
+
<line num="50" count="0" type="stmt"/>
|
|
760
759
|
<line num="52" count="0" type="stmt"/>
|
|
761
|
-
<line num="53" count="0" type="stmt"/>
|
|
762
|
-
<line num="54" count="0" type="stmt"/>
|
|
763
760
|
<line num="56" count="0" type="stmt"/>
|
|
764
|
-
<line num="57" count="0" type="
|
|
761
|
+
<line num="57" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
762
|
+
<line num="59" count="0" type="stmt"/>
|
|
763
|
+
<line num="60" count="0" type="stmt"/>
|
|
765
764
|
<line num="61" count="0" type="stmt"/>
|
|
766
|
-
<line num="62" count="0" type="stmt"/>
|
|
767
765
|
<line num="63" count="0" type="stmt"/>
|
|
768
766
|
<line num="64" count="0" type="stmt"/>
|
|
769
|
-
<line num="65" count="0" type="stmt"/>
|
|
770
767
|
<line num="68" count="0" type="stmt"/>
|
|
771
768
|
<line num="69" count="0" type="stmt"/>
|
|
772
769
|
<line num="70" count="0" type="stmt"/>
|
|
773
|
-
<line num="
|
|
774
|
-
<line num="
|
|
770
|
+
<line num="71" count="0" type="stmt"/>
|
|
771
|
+
<line num="72" count="0" type="stmt"/>
|
|
775
772
|
<line num="75" count="0" type="stmt"/>
|
|
776
|
-
<line num="
|
|
777
|
-
<line num="
|
|
773
|
+
<line num="76" count="0" type="stmt"/>
|
|
774
|
+
<line num="77" count="0" type="stmt"/>
|
|
775
|
+
<line num="80" count="0" type="stmt"/>
|
|
776
|
+
<line num="81" count="0" type="stmt"/>
|
|
778
777
|
<line num="82" count="0" type="stmt"/>
|
|
778
|
+
<line num="84" count="0" type="cond" truecount="0" falsecount="10"/>
|
|
779
|
+
<line num="86" count="0" type="stmt"/>
|
|
780
|
+
<line num="89" count="0" type="stmt"/>
|
|
779
781
|
</file>
|
|
780
782
|
</package>
|
|
781
783
|
<package name="src.components.MlShareMapState">
|
|
782
|
-
<metrics statements="100" coveredstatements="
|
|
783
|
-
<file name="MlShareMapState.
|
|
784
|
-
<metrics statements="100" coveredstatements="
|
|
785
|
-
<line num="
|
|
786
|
-
<line num="
|
|
787
|
-
<line num="
|
|
788
|
-
<line num="
|
|
789
|
-
<line num="
|
|
790
|
-
<line num="
|
|
791
|
-
<line num="
|
|
792
|
-
<line num="
|
|
793
|
-
<line num="
|
|
794
|
-
<line num="
|
|
795
|
-
<line num="
|
|
796
|
-
<line num="
|
|
797
|
-
<line num="33" count="0" type="stmt"/>
|
|
798
|
-
<line num="44" count="0" type="stmt"/>
|
|
799
|
-
<line num="45" count="0" type="stmt"/>
|
|
800
|
-
<line num="46" count="0" type="stmt"/>
|
|
784
|
+
<metrics statements="100" coveredstatements="8" conditionals="64" coveredconditionals="1" methods="17" coveredmethods="1"/>
|
|
785
|
+
<file name="MlShareMapState.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlShareMapState/MlShareMapState.tsx">
|
|
786
|
+
<metrics statements="100" coveredstatements="8" conditionals="64" coveredconditionals="1" methods="17" coveredmethods="1"/>
|
|
787
|
+
<line num="21" count="10" type="stmt"/>
|
|
788
|
+
<line num="22" count="10" type="stmt"/>
|
|
789
|
+
<line num="23" count="10" type="cond" truecount="1" falsecount="1"/>
|
|
790
|
+
<line num="25" count="10" type="stmt"/>
|
|
791
|
+
<line num="28" count="10" type="stmt"/>
|
|
792
|
+
<line num="51" count="10" type="stmt"/>
|
|
793
|
+
<line num="53" count="0" type="stmt"/>
|
|
794
|
+
<line num="54" count="0" type="stmt"/>
|
|
795
|
+
<line num="55" count="0" type="stmt"/>
|
|
796
|
+
<line num="56" count="0" type="stmt"/>
|
|
797
|
+
<line num="57" count="0" type="stmt"/>
|
|
798
|
+
<line num="58" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
801
799
|
<line num="59" count="0" type="stmt"/>
|
|
802
|
-
<line num="
|
|
803
|
-
<line num="
|
|
804
|
-
<line num="64" count="0" type="stmt"/>
|
|
805
|
-
<line num="65" count="0" type="stmt"/>
|
|
806
|
-
<line num="66" count="0" type="stmt"/>
|
|
800
|
+
<line num="70" count="0" type="stmt"/>
|
|
801
|
+
<line num="71" count="0" type="stmt"/>
|
|
807
802
|
<line num="72" count="0" type="stmt"/>
|
|
808
|
-
<line num="73" count="0" type="stmt"/>
|
|
809
|
-
<line num="78" count="0" type="stmt"/>
|
|
810
|
-
<line num="79" count="0" type="stmt"/>
|
|
811
|
-
<line num="82" count="0" type="stmt"/>
|
|
812
|
-
<line num="83" count="0" type="stmt"/>
|
|
813
|
-
<line num="84" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
814
803
|
<line num="85" count="0" type="stmt"/>
|
|
815
|
-
<line num="
|
|
816
|
-
<line num="
|
|
817
|
-
<line num="
|
|
804
|
+
<line num="87" count="0" type="stmt"/>
|
|
805
|
+
<line num="88" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
806
|
+
<line num="90" count="0" type="stmt"/>
|
|
807
|
+
<line num="91" count="0" type="stmt"/>
|
|
808
|
+
<line num="92" count="0" type="stmt"/>
|
|
818
809
|
<line num="98" count="0" type="stmt"/>
|
|
819
|
-
<line num="
|
|
810
|
+
<line num="99" count="0" type="stmt"/>
|
|
811
|
+
<line num="104" count="0" type="stmt"/>
|
|
820
812
|
<line num="106" count="0" type="stmt"/>
|
|
821
|
-
<line num="107" count="0" type="stmt"/>
|
|
822
813
|
<line num="109" count="0" type="stmt"/>
|
|
823
|
-
<line num="
|
|
824
|
-
<line num="
|
|
825
|
-
<line num="116" count="0" type="stmt"/>
|
|
814
|
+
<line num="110" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
815
|
+
<line num="111" count="0" type="stmt"/>
|
|
826
816
|
<line num="119" count="0" type="stmt"/>
|
|
827
|
-
<line num="120" count="0" type="
|
|
817
|
+
<line num="120" count="0" type="stmt"/>
|
|
828
818
|
<line num="122" count="0" type="stmt"/>
|
|
829
819
|
<line num="124" count="0" type="stmt"/>
|
|
830
|
-
<line num="
|
|
831
|
-
<line num="
|
|
832
|
-
<line num="
|
|
833
|
-
<line num="132" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
820
|
+
<line num="131" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
821
|
+
<line num="132" count="0" type="stmt"/>
|
|
822
|
+
<line num="133" count="0" type="stmt"/>
|
|
834
823
|
<line num="135" count="0" type="stmt"/>
|
|
835
|
-
<line num="136" count="0" type="stmt"/>
|
|
836
|
-
<line num="137" count="0" type="stmt"/>
|
|
837
|
-
<line num="138" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
838
824
|
<line num="139" count="0" type="stmt"/>
|
|
839
|
-
<line num="
|
|
840
|
-
<line num="
|
|
825
|
+
<line num="140" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
826
|
+
<line num="142" count="0" type="stmt"/>
|
|
827
|
+
<line num="145" count="0" type="stmt"/>
|
|
841
828
|
<line num="146" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
842
|
-
<line num="147" count="0" type="stmt"/>
|
|
843
829
|
<line num="148" count="0" type="stmt"/>
|
|
844
|
-
<line num="
|
|
830
|
+
<line num="150" count="0" type="stmt"/>
|
|
831
|
+
<line num="152" count="0" type="stmt"/>
|
|
845
832
|
<line num="153" count="0" type="stmt"/>
|
|
846
|
-
<line num="
|
|
847
|
-
<line num="
|
|
848
|
-
<line num="
|
|
849
|
-
<line num="
|
|
850
|
-
<line num="
|
|
851
|
-
<line num="
|
|
852
|
-
<line num="
|
|
853
|
-
<line num="
|
|
854
|
-
<line num="
|
|
855
|
-
<line num="
|
|
856
|
-
<line num="
|
|
857
|
-
<line num="
|
|
858
|
-
<line num="
|
|
859
|
-
<line num="
|
|
860
|
-
<line num="
|
|
833
|
+
<line num="157" count="0" type="stmt"/>
|
|
834
|
+
<line num="158" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
835
|
+
<line num="161" count="0" type="stmt"/>
|
|
836
|
+
<line num="162" count="0" type="stmt"/>
|
|
837
|
+
<line num="163" count="0" type="stmt"/>
|
|
838
|
+
<line num="164" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
839
|
+
<line num="165" count="0" type="stmt"/>
|
|
840
|
+
<line num="169" count="0" type="stmt"/>
|
|
841
|
+
<line num="170" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
842
|
+
<line num="172" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
843
|
+
<line num="173" count="0" type="stmt"/>
|
|
844
|
+
<line num="174" count="0" type="stmt"/>
|
|
845
|
+
<line num="175" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
846
|
+
<line num="176" count="0" type="stmt"/>
|
|
847
|
+
<line num="181" count="0" type="stmt"/>
|
|
848
|
+
<line num="182" count="0" type="stmt"/>
|
|
849
|
+
<line num="183" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
861
850
|
<line num="184" count="0" type="stmt"/>
|
|
862
|
-
<line num="
|
|
863
|
-
<line num="186" count="0" type="stmt"/>
|
|
851
|
+
<line num="186" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
864
852
|
<line num="187" count="0" type="stmt"/>
|
|
865
|
-
<line num="
|
|
866
|
-
<line num="189" count="0" type="stmt"/>
|
|
853
|
+
<line num="191" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
867
854
|
<line num="192" count="0" type="stmt"/>
|
|
868
|
-
<line num="193" count="0" type="
|
|
869
|
-
<line num="
|
|
870
|
-
<line num="
|
|
871
|
-
<line num="
|
|
872
|
-
<line num="
|
|
873
|
-
<line num="
|
|
874
|
-
<line num="
|
|
875
|
-
<line num="203" count="0" type="stmt"/>
|
|
876
|
-
<line num="204" count="0" type="stmt"/>
|
|
877
|
-
<line num="205" count="0" type="stmt"/>
|
|
878
|
-
<line num="208" count="0" type="stmt"/>
|
|
855
|
+
<line num="193" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
856
|
+
<line num="197" count="0" type="stmt"/>
|
|
857
|
+
<line num="198" count="0" type="stmt"/>
|
|
858
|
+
<line num="206" count="0" type="stmt"/>
|
|
859
|
+
<line num="207" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
860
|
+
<line num="208" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
861
|
+
<line num="210" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
879
862
|
<line num="211" count="0" type="stmt"/>
|
|
880
|
-
<line num="
|
|
881
|
-
<line num="
|
|
863
|
+
<line num="217" count="0" type="stmt"/>
|
|
864
|
+
<line num="218" count="0" type="stmt"/>
|
|
865
|
+
<line num="219" count="0" type="stmt"/>
|
|
882
866
|
<line num="220" count="0" type="stmt"/>
|
|
883
|
-
<line num="
|
|
867
|
+
<line num="221" count="0" type="stmt"/>
|
|
868
|
+
<line num="222" count="0" type="stmt"/>
|
|
869
|
+
<line num="225" count="0" type="stmt"/>
|
|
870
|
+
<line num="226" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
884
871
|
<line num="227" count="0" type="stmt"/>
|
|
872
|
+
<line num="229" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
873
|
+
<line num="230" count="0" type="stmt"/>
|
|
874
|
+
<line num="232" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
875
|
+
<line num="233" count="0" type="stmt"/>
|
|
876
|
+
<line num="235" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
877
|
+
<line num="236" count="0" type="stmt"/>
|
|
878
|
+
<line num="238" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
879
|
+
<line num="239" count="0" type="stmt"/>
|
|
880
|
+
<line num="243" count="0" type="stmt"/>
|
|
881
|
+
<line num="246" count="0" type="stmt"/>
|
|
882
|
+
<line num="247" count="0" type="cond" truecount="0" falsecount="6"/>
|
|
883
|
+
<line num="248" count="0" type="stmt"/>
|
|
884
|
+
<line num="256" count="0" type="stmt"/>
|
|
885
|
+
<line num="259" count="10" type="stmt"/>
|
|
886
|
+
<line num="263" count="10" type="stmt"/>
|
|
885
887
|
</file>
|
|
886
888
|
</package>
|
|
887
889
|
<package name="src.components.MlSketchTool">
|
|
@@ -1027,7 +1029,7 @@
|
|
|
1027
1029
|
</file>
|
|
1028
1030
|
</package>
|
|
1029
1031
|
<package name="src.components.MlThreeJsLayer">
|
|
1030
|
-
<metrics statements="
|
|
1032
|
+
<metrics statements="138" coveredstatements="39" conditionals="52" coveredconditionals="15" methods="18" coveredmethods="5"/>
|
|
1031
1033
|
<file name="MlThreeJsLayer.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlThreeJsLayer/MlThreeJsLayer.js">
|
|
1032
1034
|
<metrics statements="68" coveredstatements="39" conditionals="24" coveredconditionals="15" methods="9" coveredmethods="5"/>
|
|
1033
1035
|
<line num="15" count="1" type="stmt"/>
|
|
@@ -1099,6 +1101,79 @@
|
|
|
1099
1101
|
<line num="183" count="0" type="stmt"/>
|
|
1100
1102
|
<line num="192" count="1" type="stmt"/>
|
|
1101
1103
|
</file>
|
|
1104
|
+
<file name="MlThreejsLayer.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlThreeJsLayer/MlThreejsLayer.tsx">
|
|
1105
|
+
<metrics statements="70" coveredstatements="0" conditionals="28" coveredconditionals="0" methods="9" coveredmethods="0"/>
|
|
1106
|
+
<line num="23" count="0" type="stmt"/>
|
|
1107
|
+
<line num="24" count="0" type="stmt"/>
|
|
1108
|
+
<line num="26" count="0" type="stmt"/>
|
|
1109
|
+
<line num="27" count="0" type="stmt"/>
|
|
1110
|
+
<line num="28" count="0" type="stmt"/>
|
|
1111
|
+
<line num="29" count="0" type="stmt"/>
|
|
1112
|
+
<line num="30" count="0" type="stmt"/>
|
|
1113
|
+
<line num="31" count="0" type="stmt"/>
|
|
1114
|
+
<line num="33" count="0" type="stmt"/>
|
|
1115
|
+
<line num="34" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1116
|
+
<line num="35" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1117
|
+
<line num="36" count="0" type="stmt"/>
|
|
1118
|
+
<line num="38" count="0" type="stmt"/>
|
|
1119
|
+
<line num="42" count="0" type="stmt"/>
|
|
1120
|
+
<line num="43" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1121
|
+
<line num="44" count="0" type="stmt"/>
|
|
1122
|
+
<line num="47" count="0" type="stmt"/>
|
|
1123
|
+
<line num="50" count="0" type="stmt"/>
|
|
1124
|
+
<line num="51" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1125
|
+
<line num="53" count="0" type="stmt"/>
|
|
1126
|
+
<line num="54" count="0" type="stmt"/>
|
|
1127
|
+
<line num="56" count="0" type="stmt"/>
|
|
1128
|
+
<line num="57" count="0" type="stmt"/>
|
|
1129
|
+
<line num="58" count="0" type="stmt"/>
|
|
1130
|
+
<line num="61" count="0" type="stmt"/>
|
|
1131
|
+
<line num="63" count="0" type="stmt"/>
|
|
1132
|
+
<line num="64" count="0" type="stmt"/>
|
|
1133
|
+
<line num="66" count="0" type="stmt"/>
|
|
1134
|
+
<line num="72" count="0" type="stmt"/>
|
|
1135
|
+
<line num="95" count="0" type="stmt"/>
|
|
1136
|
+
<line num="103" count="0" type="stmt"/>
|
|
1137
|
+
<line num="104" count="0" type="stmt"/>
|
|
1138
|
+
<line num="105" count="0" type="stmt"/>
|
|
1139
|
+
<line num="108" count="0" type="stmt"/>
|
|
1140
|
+
<line num="109" count="0" type="stmt"/>
|
|
1141
|
+
<line num="110" count="0" type="stmt"/>
|
|
1142
|
+
<line num="112" count="0" type="stmt"/>
|
|
1143
|
+
<line num="113" count="0" type="stmt"/>
|
|
1144
|
+
<line num="114" count="0" type="stmt"/>
|
|
1145
|
+
<line num="117" count="0" type="stmt"/>
|
|
1146
|
+
<line num="118" count="0" type="stmt"/>
|
|
1147
|
+
<line num="122" count="0" type="stmt"/>
|
|
1148
|
+
<line num="123" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1149
|
+
<line num="124" count="0" type="stmt"/>
|
|
1150
|
+
<line num="128" count="0" type="stmt"/>
|
|
1151
|
+
<line num="131" count="0" type="stmt"/>
|
|
1152
|
+
<line num="137" count="0" type="stmt"/>
|
|
1153
|
+
<line num="140" count="0" type="stmt"/>
|
|
1154
|
+
<line num="144" count="0" type="stmt"/>
|
|
1155
|
+
<line num="148" count="0" type="stmt"/>
|
|
1156
|
+
<line num="153" count="0" type="stmt"/>
|
|
1157
|
+
<line num="154" count="0" type="stmt"/>
|
|
1158
|
+
<line num="167" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1159
|
+
<line num="168" count="0" type="stmt"/>
|
|
1160
|
+
<line num="169" count="0" type="stmt"/>
|
|
1161
|
+
<line num="170" count="0" type="stmt"/>
|
|
1162
|
+
<line num="171" count="0" type="stmt"/>
|
|
1163
|
+
<line num="176" count="0" type="stmt"/>
|
|
1164
|
+
<line num="178" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1165
|
+
<line num="179" count="0" type="stmt"/>
|
|
1166
|
+
<line num="183" count="0" type="stmt"/>
|
|
1167
|
+
<line num="184" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1168
|
+
<line num="186" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1169
|
+
<line num="188" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1170
|
+
<line num="189" count="0" type="stmt"/>
|
|
1171
|
+
<line num="191" count="0" type="stmt"/>
|
|
1172
|
+
<line num="197" count="0" type="stmt"/>
|
|
1173
|
+
<line num="203" count="0" type="stmt"/>
|
|
1174
|
+
<line num="204" count="0" type="stmt"/>
|
|
1175
|
+
<line num="213" count="0" type="stmt"/>
|
|
1176
|
+
</file>
|
|
1102
1177
|
</package>
|
|
1103
1178
|
<package name="src.components.MlTransitionGeoJsonLayer">
|
|
1104
1179
|
<metrics statements="36" coveredstatements="25" conditionals="22" coveredconditionals="11" methods="7" coveredmethods="6"/>
|
|
@@ -1208,10 +1283,10 @@
|
|
|
1208
1283
|
</file>
|
|
1209
1284
|
</package>
|
|
1210
1285
|
<package name="src.components.MlWmsFeatureInfoPopup">
|
|
1211
|
-
<metrics statements="20" coveredstatements="
|
|
1286
|
+
<metrics statements="20" coveredstatements="3" conditionals="8" coveredconditionals="0" methods="4" coveredmethods="0"/>
|
|
1212
1287
|
<file name="MlWmsFeatureInfoPopup.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlWmsFeatureInfoPopup/MlWmsFeatureInfoPopup.js">
|
|
1213
|
-
<metrics statements="20" coveredstatements="
|
|
1214
|
-
<line num="15" count="
|
|
1288
|
+
<metrics statements="20" coveredstatements="3" conditionals="8" coveredconditionals="0" methods="4" coveredmethods="0"/>
|
|
1289
|
+
<line num="15" count="10" type="stmt"/>
|
|
1215
1290
|
<line num="17" count="0" type="stmt"/>
|
|
1216
1291
|
<line num="19" count="0" type="stmt"/>
|
|
1217
1292
|
<line num="20" count="0" type="stmt"/>
|
|
@@ -1229,8 +1304,8 @@
|
|
|
1229
1304
|
<line num="46" count="0" type="stmt"/>
|
|
1230
1305
|
<line num="48" count="0" type="stmt"/>
|
|
1231
1306
|
<line num="51" count="0" type="stmt"/>
|
|
1232
|
-
<line num="54" count="
|
|
1233
|
-
<line num="58" count="
|
|
1307
|
+
<line num="54" count="10" type="stmt"/>
|
|
1308
|
+
<line num="58" count="10" type="stmt"/>
|
|
1234
1309
|
</file>
|
|
1235
1310
|
</package>
|
|
1236
1311
|
<package name="src.components.MlWmsLayer">
|
|
@@ -1286,11 +1361,11 @@
|
|
|
1286
1361
|
</file>
|
|
1287
1362
|
</package>
|
|
1288
1363
|
<package name="src.components.MlWmsLoader">
|
|
1289
|
-
<metrics statements="102" coveredstatements="
|
|
1364
|
+
<metrics statements="102" coveredstatements="4" conditionals="62" coveredconditionals="0" methods="30" coveredmethods="0"/>
|
|
1290
1365
|
<file name="MlWmsLoader.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlWmsLoader/MlWmsLoader.tsx">
|
|
1291
|
-
<metrics statements="102" coveredstatements="
|
|
1292
|
-
<line num="21" count="
|
|
1293
|
-
<line num="22" count="
|
|
1366
|
+
<metrics statements="102" coveredstatements="4" conditionals="62" coveredconditionals="0" methods="30" coveredmethods="0"/>
|
|
1367
|
+
<line num="21" count="10" type="stmt"/>
|
|
1368
|
+
<line num="22" count="10" type="cond" truecount="0" falsecount="1"/>
|
|
1294
1369
|
<line num="23" count="0" type="stmt"/>
|
|
1295
1370
|
<line num="24" count="0" type="stmt"/>
|
|
1296
1371
|
<line num="25" count="0" type="stmt"/>
|
|
@@ -1300,7 +1375,7 @@
|
|
|
1300
1375
|
<line num="29" count="0" type="stmt"/>
|
|
1301
1376
|
<line num="30" count="0" type="stmt"/>
|
|
1302
1377
|
<line num="32" count="0" type="stmt"/>
|
|
1303
|
-
<line num="70" count="
|
|
1378
|
+
<line num="70" count="10" type="stmt"/>
|
|
1304
1379
|
<line num="72" count="0" type="stmt"/>
|
|
1305
1380
|
<line num="73" count="0" type="stmt"/>
|
|
1306
1381
|
<line num="77" count="0" type="stmt"/>
|
|
@@ -1325,120 +1400,120 @@
|
|
|
1325
1400
|
<line num="114" count="0" type="stmt"/>
|
|
1326
1401
|
<line num="115" count="0" type="stmt"/>
|
|
1327
1402
|
<line num="119" count="0" type="stmt"/>
|
|
1328
|
-
<line num="
|
|
1329
|
-
<line num="122" count="0" type="stmt"/>
|
|
1403
|
+
<line num="122" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1330
1404
|
<line num="123" count="0" type="stmt"/>
|
|
1331
1405
|
<line num="124" count="0" type="stmt"/>
|
|
1332
1406
|
<line num="125" count="0" type="stmt"/>
|
|
1333
1407
|
<line num="126" count="0" type="stmt"/>
|
|
1334
1408
|
<line num="127" count="0" type="stmt"/>
|
|
1335
1409
|
<line num="128" count="0" type="stmt"/>
|
|
1336
|
-
<line num="
|
|
1337
|
-
<line num="140" count="0" type="
|
|
1338
|
-
<line num="
|
|
1339
|
-
<line num="143" count="0" type="
|
|
1340
|
-
<line num="
|
|
1341
|
-
<line num="
|
|
1342
|
-
<line num="159" count="0" type="
|
|
1410
|
+
<line num="129" count="0" type="stmt"/>
|
|
1411
|
+
<line num="140" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1412
|
+
<line num="141" count="0" type="stmt"/>
|
|
1413
|
+
<line num="143" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1414
|
+
<line num="144" count="0" type="stmt"/>
|
|
1415
|
+
<line num="157" count="0" type="stmt"/>
|
|
1416
|
+
<line num="159" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1343
1417
|
<line num="160" count="0" type="stmt"/>
|
|
1344
|
-
<line num="
|
|
1345
|
-
<line num="
|
|
1346
|
-
<line num="
|
|
1347
|
-
<line num="
|
|
1348
|
-
<line num="
|
|
1349
|
-
<line num="175" count="0" type="
|
|
1350
|
-
<line num="
|
|
1351
|
-
<line num="
|
|
1418
|
+
<line num="161" count="0" type="stmt"/>
|
|
1419
|
+
<line num="163" count="0" type="stmt"/>
|
|
1420
|
+
<line num="165" count="0" type="stmt"/>
|
|
1421
|
+
<line num="171" count="0" type="stmt"/>
|
|
1422
|
+
<line num="173" count="0" type="stmt"/>
|
|
1423
|
+
<line num="175" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1424
|
+
<line num="176" count="0" type="stmt"/>
|
|
1425
|
+
<line num="178" count="0" type="stmt"/>
|
|
1352
1426
|
<line num="181" count="0" type="stmt"/>
|
|
1353
|
-
<line num="
|
|
1354
|
-
<line num="
|
|
1355
|
-
<line num="189" count="0" type="
|
|
1356
|
-
<line num="
|
|
1357
|
-
<line num="
|
|
1358
|
-
<line num="
|
|
1359
|
-
<line num="
|
|
1360
|
-
<line num="
|
|
1361
|
-
<line num="
|
|
1362
|
-
<line num="
|
|
1363
|
-
<line num="
|
|
1364
|
-
<line num="
|
|
1365
|
-
<line num="
|
|
1427
|
+
<line num="182" count="0" type="stmt"/>
|
|
1428
|
+
<line num="184" count="0" type="stmt"/>
|
|
1429
|
+
<line num="189" count="0" type="stmt"/>
|
|
1430
|
+
<line num="190" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1431
|
+
<line num="192" count="0" type="stmt"/>
|
|
1432
|
+
<line num="196" count="0" type="stmt"/>
|
|
1433
|
+
<line num="197" count="0" type="stmt"/>
|
|
1434
|
+
<line num="198" count="0" type="stmt"/>
|
|
1435
|
+
<line num="202" count="0" type="stmt"/>
|
|
1436
|
+
<line num="203" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1437
|
+
<line num="205" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1438
|
+
<line num="206" count="0" type="stmt"/>
|
|
1439
|
+
<line num="210" count="0" type="stmt"/>
|
|
1366
1440
|
<line num="214" count="0" type="stmt"/>
|
|
1367
|
-
<line num="
|
|
1368
|
-
<line num="217" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1441
|
+
<line num="217" count="0" type="stmt"/>
|
|
1369
1442
|
<line num="218" count="0" type="stmt"/>
|
|
1370
|
-
<line num="220" count="0" type="
|
|
1371
|
-
<line num="
|
|
1372
|
-
<line num="
|
|
1373
|
-
<line num="231" count="0" type="
|
|
1443
|
+
<line num="220" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1444
|
+
<line num="221" count="0" type="stmt"/>
|
|
1445
|
+
<line num="223" count="0" type="stmt"/>
|
|
1446
|
+
<line num="231" count="0" type="stmt"/>
|
|
1374
1447
|
<line num="232" count="0" type="stmt"/>
|
|
1375
|
-
<line num="234" count="0" type="
|
|
1376
|
-
<line num="
|
|
1377
|
-
<line num="
|
|
1378
|
-
<line num="
|
|
1379
|
-
<line num="
|
|
1380
|
-
<line num="
|
|
1381
|
-
<line num="
|
|
1382
|
-
<line num="
|
|
1383
|
-
<line num="
|
|
1384
|
-
<line num="
|
|
1385
|
-
<line num="
|
|
1448
|
+
<line num="234" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1449
|
+
<line num="235" count="0" type="stmt"/>
|
|
1450
|
+
<line num="237" count="0" type="stmt"/>
|
|
1451
|
+
<line num="245" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1452
|
+
<line num="246" count="0" type="stmt"/>
|
|
1453
|
+
<line num="250" count="0" type="stmt"/>
|
|
1454
|
+
<line num="253" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1455
|
+
<line num="254" count="0" type="stmt"/>
|
|
1456
|
+
<line num="262" count="0" type="stmt"/>
|
|
1457
|
+
<line num="263" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1458
|
+
<line num="266" count="0" type="stmt"/>
|
|
1459
|
+
<line num="267" count="0" type="stmt"/>
|
|
1386
1460
|
<line num="268" count="0" type="stmt"/>
|
|
1387
|
-
<line num="
|
|
1388
|
-
<line num="
|
|
1389
|
-
<line num="
|
|
1390
|
-
<line num="
|
|
1391
|
-
<line num="
|
|
1392
|
-
<line num="
|
|
1393
|
-
<line num="
|
|
1461
|
+
<line num="271" count="0" type="stmt"/>
|
|
1462
|
+
<line num="278" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1463
|
+
<line num="286" count="0" type="stmt"/>
|
|
1464
|
+
<line num="287" count="0" type="stmt"/>
|
|
1465
|
+
<line num="288" count="0" type="stmt"/>
|
|
1466
|
+
<line num="310" count="0" type="stmt"/>
|
|
1467
|
+
<line num="311" count="0" type="stmt"/>
|
|
1468
|
+
<line num="327" count="10" type="stmt"/>
|
|
1394
1469
|
</file>
|
|
1395
1470
|
</package>
|
|
1396
1471
|
<package name="src.contexts">
|
|
1397
1472
|
<metrics statements="73" coveredstatements="71" conditionals="54" coveredconditionals="45" methods="10" coveredmethods="10"/>
|
|
1398
1473
|
<file name="MapContext.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/contexts/MapContext.tsx">
|
|
1399
1474
|
<metrics statements="42" coveredstatements="42" conditionals="34" coveredconditionals="31" methods="6" coveredmethods="6"/>
|
|
1400
|
-
<line num="4" count="21" type="stmt"/>
|
|
1401
1475
|
<line num="14" count="21" type="stmt"/>
|
|
1402
|
-
<line num="
|
|
1403
|
-
<line num="
|
|
1404
|
-
<line num="
|
|
1405
|
-
<line num="
|
|
1406
|
-
<line num="
|
|
1407
|
-
<line num="
|
|
1408
|
-
<line num="
|
|
1409
|
-
<line num="
|
|
1410
|
-
<line num="
|
|
1411
|
-
<line num="
|
|
1412
|
-
<line num="
|
|
1413
|
-
<line num="
|
|
1414
|
-
<line num="
|
|
1415
|
-
<line num="
|
|
1416
|
-
<line num="
|
|
1417
|
-
<line num="
|
|
1418
|
-
<line num="
|
|
1419
|
-
<line num="
|
|
1420
|
-
<line num="
|
|
1421
|
-
<line num="
|
|
1422
|
-
<line num="
|
|
1423
|
-
<line num="
|
|
1424
|
-
<line num="
|
|
1425
|
-
<line num="
|
|
1426
|
-
<line num="
|
|
1427
|
-
<line num="
|
|
1428
|
-
<line num="
|
|
1429
|
-
<line num="
|
|
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="
|
|
1476
|
+
<line num="23" count="21" type="stmt"/>
|
|
1477
|
+
<line num="24" count="188" type="stmt"/>
|
|
1478
|
+
<line num="25" count="188" type="stmt"/>
|
|
1479
|
+
<line num="26" count="188" type="stmt"/>
|
|
1480
|
+
<line num="27" count="188" type="stmt"/>
|
|
1481
|
+
<line num="29" count="188" type="stmt"/>
|
|
1482
|
+
<line num="30" count="8" type="cond" truecount="2" falsecount="0"/>
|
|
1483
|
+
<line num="31" count="6" type="cond" truecount="1" falsecount="1"/>
|
|
1484
|
+
<line num="32" count="6" type="stmt"/>
|
|
1485
|
+
<line num="34" count="6" type="stmt"/>
|
|
1486
|
+
<line num="35" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
1487
|
+
<line num="36" count="4" type="stmt"/>
|
|
1488
|
+
<line num="38" count="6" type="stmt"/>
|
|
1489
|
+
<line num="40" count="6" type="cond" truecount="4" falsecount="0"/>
|
|
1490
|
+
<line num="41" count="3" type="stmt"/>
|
|
1491
|
+
<line num="44" count="2" type="stmt"/>
|
|
1492
|
+
<line num="45" count="2" type="stmt"/>
|
|
1493
|
+
<line num="49" count="188" type="stmt"/>
|
|
1494
|
+
<line num="50" count="81" type="stmt"/>
|
|
1495
|
+
<line num="52" count="81" type="cond" truecount="1" falsecount="1"/>
|
|
1496
|
+
<line num="53" count="81" type="stmt"/>
|
|
1497
|
+
<line num="54" count="81" type="stmt"/>
|
|
1498
|
+
<line num="55" count="81" type="stmt"/>
|
|
1499
|
+
<line num="59" count="188" type="stmt"/>
|
|
1500
|
+
<line num="65" count="13" type="cond" truecount="3" falsecount="1"/>
|
|
1501
|
+
<line num="66" count="13" type="stmt"/>
|
|
1502
|
+
<line num="67" count="13" type="stmt"/>
|
|
1503
|
+
<line num="68" count="13" type="stmt"/>
|
|
1504
|
+
<line num="70" count="13" type="cond" truecount="2" falsecount="0"/>
|
|
1505
|
+
<line num="71" count="11" type="stmt"/>
|
|
1506
|
+
<line num="77" count="889" type="cond" truecount="4" falsecount="0"/>
|
|
1507
|
+
<line num="78" count="76" type="stmt"/>
|
|
1508
|
+
<line num="79" count="813" type="cond" truecount="4" falsecount="0"/>
|
|
1509
|
+
<line num="80" count="217" type="stmt"/>
|
|
1510
|
+
<line num="82" count="596" type="stmt"/>
|
|
1511
|
+
<line num="85" count="258" type="cond" truecount="4" falsecount="0"/>
|
|
1512
|
+
<line num="86" count="27" type="stmt"/>
|
|
1513
|
+
<line num="87" count="231" type="cond" truecount="4" falsecount="0"/>
|
|
1514
|
+
<line num="88" count="214" type="stmt"/>
|
|
1515
|
+
<line num="91" count="17" type="stmt"/>
|
|
1516
|
+
<line num="95" count="188" type="stmt"/>
|
|
1442
1517
|
</file>
|
|
1443
1518
|
<file name="SimpleDataContext.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/contexts/SimpleDataContext.js">
|
|
1444
1519
|
<metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
@@ -1479,7 +1554,7 @@
|
|
|
1479
1554
|
</file>
|
|
1480
1555
|
</package>
|
|
1481
1556
|
<package name="src.hooks">
|
|
1482
|
-
<metrics statements="226" coveredstatements="
|
|
1557
|
+
<metrics statements="226" coveredstatements="136" conditionals="156" coveredconditionals="84" methods="38" coveredmethods="24"/>
|
|
1483
1558
|
<file name="useLayer.ts" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useLayer.ts">
|
|
1484
1559
|
<metrics statements="66" coveredstatements="50" conditionals="70" coveredconditionals="50" methods="9" coveredmethods="8"/>
|
|
1485
1560
|
<line num="49" count="13" type="stmt"/>
|
|
@@ -1550,9 +1625,9 @@
|
|
|
1550
1625
|
<line num="230" count="13" type="stmt"/>
|
|
1551
1626
|
</file>
|
|
1552
1627
|
<file name="useLayerEvent.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useLayerEvent.js">
|
|
1553
|
-
<metrics statements="21" coveredstatements="
|
|
1554
|
-
<line num="6" count="
|
|
1555
|
-
<line num="11" count="
|
|
1628
|
+
<metrics statements="21" coveredstatements="2" conditionals="16" coveredconditionals="0" methods="3" coveredmethods="0"/>
|
|
1629
|
+
<line num="6" count="10" type="stmt"/>
|
|
1630
|
+
<line num="11" count="10" type="stmt"/>
|
|
1556
1631
|
<line num="13" count="0" type="stmt"/>
|
|
1557
1632
|
<line num="14" count="0" type="stmt"/>
|
|
1558
1633
|
<line num="16" count="0" type="stmt"/>
|
|
@@ -1608,57 +1683,57 @@
|
|
|
1608
1683
|
</file>
|
|
1609
1684
|
<file name="useMapState.ts" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useMapState.ts">
|
|
1610
1685
|
<metrics statements="48" coveredstatements="35" conditionals="26" coveredconditionals="11" methods="7" coveredmethods="5"/>
|
|
1611
|
-
<line num="
|
|
1686
|
+
<line num="34" count="371" type="stmt"/>
|
|
1687
|
+
<line num="36" count="371" type="stmt"/>
|
|
1688
|
+
<line num="37" count="371" type="stmt"/>
|
|
1689
|
+
<line num="39" count="371" type="stmt"/>
|
|
1690
|
+
<line num="40" count="371" type="stmt"/>
|
|
1691
|
+
<line num="42" count="371" type="stmt"/>
|
|
1612
1692
|
<line num="43" count="371" type="stmt"/>
|
|
1613
|
-
<line num="
|
|
1614
|
-
<line num="
|
|
1615
|
-
<line num="
|
|
1616
|
-
<line num="
|
|
1617
|
-
<line num="
|
|
1618
|
-
<line num="
|
|
1619
|
-
<line num="
|
|
1620
|
-
<line num="62" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1693
|
+
<line num="45" count="371" type="stmt"/>
|
|
1694
|
+
<line num="53" count="371" type="stmt"/>
|
|
1695
|
+
<line num="55" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1696
|
+
<line num="56" count="0" type="stmt"/>
|
|
1697
|
+
<line num="59" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1698
|
+
<line num="60" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1699
|
+
<line num="61" count="0" type="stmt"/>
|
|
1621
1700
|
<line num="63" count="0" type="stmt"/>
|
|
1622
|
-
<line num="
|
|
1623
|
-
<line num="
|
|
1624
|
-
<line num="
|
|
1625
|
-
<line num="
|
|
1626
|
-
<line num="
|
|
1627
|
-
<line num="
|
|
1628
|
-
<line num="
|
|
1629
|
-
<line num="
|
|
1630
|
-
<line num="83" count="
|
|
1631
|
-
<line num="84" count="
|
|
1632
|
-
<line num="
|
|
1633
|
-
<line num="
|
|
1634
|
-
<line num="
|
|
1635
|
-
<line num="
|
|
1636
|
-
<line num="
|
|
1637
|
-
<line num="
|
|
1638
|
-
<line num="
|
|
1639
|
-
<line num="
|
|
1640
|
-
<line num="
|
|
1641
|
-
<line num="103" count="
|
|
1642
|
-
<line num="104" count="
|
|
1643
|
-
<line num="
|
|
1644
|
-
<line num="108" count="94" type="
|
|
1645
|
-
<line num="
|
|
1646
|
-
<line num="111" count="0" type="stmt"/>
|
|
1701
|
+
<line num="67" count="0" type="stmt"/>
|
|
1702
|
+
<line num="72" count="371" type="stmt"/>
|
|
1703
|
+
<line num="73" count="6" type="cond" truecount="1" falsecount="1"/>
|
|
1704
|
+
<line num="75" count="6" type="stmt"/>
|
|
1705
|
+
<line num="76" count="6" type="stmt"/>
|
|
1706
|
+
<line num="77" count="6" type="cond" truecount="1" falsecount="1"/>
|
|
1707
|
+
<line num="78" count="6" type="stmt"/>
|
|
1708
|
+
<line num="79" count="6" type="stmt"/>
|
|
1709
|
+
<line num="83" count="371" type="stmt"/>
|
|
1710
|
+
<line num="84" count="94" type="stmt"/>
|
|
1711
|
+
<line num="86" count="94" type="stmt"/>
|
|
1712
|
+
<line num="88" count="44" type="cond" truecount="1" falsecount="1"/>
|
|
1713
|
+
<line num="89" count="44" type="stmt"/>
|
|
1714
|
+
<line num="90" count="44" type="stmt"/>
|
|
1715
|
+
<line num="92" count="44" type="stmt"/>
|
|
1716
|
+
<line num="96" count="371" type="stmt"/>
|
|
1717
|
+
<line num="97" count="368" type="cond" truecount="4" falsecount="0"/>
|
|
1718
|
+
<line num="100" count="94" type="stmt"/>
|
|
1719
|
+
<line num="101" count="94" type="stmt"/>
|
|
1720
|
+
<line num="103" count="94" type="cond" truecount="1" falsecount="1"/>
|
|
1721
|
+
<line num="104" count="0" type="stmt"/>
|
|
1722
|
+
<line num="105" count="0" type="stmt"/>
|
|
1723
|
+
<line num="108" count="94" type="cond" truecount="1" falsecount="1"/>
|
|
1724
|
+
<line num="109" count="0" type="stmt"/>
|
|
1647
1725
|
<line num="112" count="0" type="stmt"/>
|
|
1648
|
-
<line num="115" count="
|
|
1726
|
+
<line num="115" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1649
1727
|
<line num="116" count="0" type="stmt"/>
|
|
1650
|
-
<line num="
|
|
1651
|
-
<line num="
|
|
1652
|
-
<line num="
|
|
1653
|
-
<line num="
|
|
1654
|
-
<line num="
|
|
1655
|
-
<line num="
|
|
1656
|
-
<line num="146" count="371" type="stmt"/>
|
|
1657
|
-
<line num="152" count="16" type="stmt"/>
|
|
1658
|
-
<line num="164" count="16" type="stmt"/>
|
|
1728
|
+
<line num="124" count="94" type="cond" truecount="2" falsecount="0"/>
|
|
1729
|
+
<line num="125" count="6" type="stmt"/>
|
|
1730
|
+
<line num="127" count="6" type="stmt"/>
|
|
1731
|
+
<line num="139" count="371" type="stmt"/>
|
|
1732
|
+
<line num="145" count="16" type="stmt"/>
|
|
1733
|
+
<line num="157" count="16" type="stmt"/>
|
|
1659
1734
|
</file>
|
|
1660
1735
|
<file name="useSource.ts" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useSource.ts">
|
|
1661
|
-
<metrics statements="26" coveredstatements="
|
|
1736
|
+
<metrics statements="26" coveredstatements="20" conditionals="22" coveredconditionals="12" methods="6" coveredmethods="6"/>
|
|
1662
1737
|
<line num="20" count="40" type="stmt"/>
|
|
1663
1738
|
<line num="24" count="40" type="stmt"/>
|
|
1664
1739
|
<line num="25" count="40" type="stmt"/>
|
|
@@ -1679,8 +1754,8 @@
|
|
|
1679
1754
|
<line num="61" count="40" type="stmt"/>
|
|
1680
1755
|
<line num="62" count="20" type="stmt"/>
|
|
1681
1756
|
<line num="63" count="15" type="stmt"/>
|
|
1682
|
-
<line num="64" count="15" type="cond" truecount="
|
|
1683
|
-
<line num="65" count="
|
|
1757
|
+
<line num="64" count="15" type="cond" truecount="3" falsecount="1"/>
|
|
1758
|
+
<line num="65" count="0" type="stmt"/>
|
|
1684
1759
|
<line num="66" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1685
1760
|
<line num="67" count="0" type="stmt"/>
|
|
1686
1761
|
<line num="71" count="0" type="stmt"/>
|
|
@@ -1922,23 +1997,23 @@
|
|
|
1922
1997
|
<metrics statements="17" coveredstatements="7" conditionals="14" coveredconditionals="2" methods="3" coveredmethods="2"/>
|
|
1923
1998
|
<file name="useLayerHoverPopup.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useLayerHoverPopup/useLayerHoverPopup.tsx">
|
|
1924
1999
|
<metrics statements="17" coveredstatements="7" conditionals="14" coveredconditionals="2" methods="3" coveredmethods="2"/>
|
|
1925
|
-
<line num="
|
|
1926
|
-
<line num="
|
|
1927
|
-
<line num="
|
|
1928
|
-
<line num="
|
|
1929
|
-
<line num="
|
|
1930
|
-
<line num="
|
|
1931
|
-
<line num="
|
|
1932
|
-
<line num="
|
|
1933
|
-
<line num="
|
|
1934
|
-
<line num="
|
|
1935
|
-
<line num="
|
|
1936
|
-
<line num="
|
|
1937
|
-
<line num="
|
|
1938
|
-
<line num="
|
|
1939
|
-
<line num="
|
|
1940
|
-
<line num="
|
|
1941
|
-
<line num="
|
|
2000
|
+
<line num="26" count="10" type="stmt"/>
|
|
2001
|
+
<line num="27" count="24" type="stmt"/>
|
|
2002
|
+
<line num="31" count="24" type="stmt"/>
|
|
2003
|
+
<line num="38" count="24" type="stmt"/>
|
|
2004
|
+
<line num="39" count="6" type="cond" truecount="2" falsecount="2"/>
|
|
2005
|
+
<line num="40" count="0" type="stmt"/>
|
|
2006
|
+
<line num="49" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2007
|
+
<line num="52" count="0" type="stmt"/>
|
|
2008
|
+
<line num="54" count="0" type="stmt"/>
|
|
2009
|
+
<line num="55" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
2010
|
+
<line num="56" count="0" type="stmt"/>
|
|
2011
|
+
<line num="59" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2012
|
+
<line num="63" count="0" type="stmt"/>
|
|
2013
|
+
<line num="64" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2014
|
+
<line num="70" count="0" type="stmt"/>
|
|
2015
|
+
<line num="77" count="24" type="stmt"/>
|
|
2016
|
+
<line num="80" count="10" type="stmt"/>
|
|
1942
2017
|
</file>
|
|
1943
2018
|
</package>
|
|
1944
2019
|
</project>
|