@mapcomponents/react-maplibre 0.1.66 → 0.1.68
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 +13 -0
- package/coverage/clover.xml +545 -472
- package/coverage/coverage-final.json +18 -17
- package/coverage/lcov-report/index.html +80 -80
- package/coverage/lcov-report/src/components/MapLibreMap/MapLibreMap.tsx.html +50 -26
- package/coverage/lcov-report/src/components/MapLibreMap/index.html +5 -5
- package/coverage/lcov-report/src/components/MlCenterPosition/MlCenterPosition.tsx.html +30 -51
- package/coverage/lcov-report/src/components/MlCenterPosition/index.html +3 -3
- 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 +48 -105
- package/coverage/lcov-report/src/components/MlFollowGps/index.html +15 -15
- 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/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 +41 -113
- package/coverage/lcov-report/src/components/MlNavigationTools/index.html +15 -15
- 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 +2 -2
- package/coverage/lcov-report/src/components/MlSketchTool/LayerList/index.html +1 -1
- package/coverage/lcov-report/src/components/MlSketchTool/MlSketchTool.tsx.html +2 -2
- 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 +22 -10
- package/coverage/lcov-report/src/components/MlVectorTileLayer/index.html +13 -13
- 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 +72 -27
- 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 +2 -2
- 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 +105 -12
- package/coverage/lcov.info +1038 -917
- package/dist/components/MapLibreMap/MapLibreMap.d.ts +3 -3
- package/dist/components/MapLibreMap/MapLibreMap.stories.d.ts +5 -0
- package/dist/components/MapLibreMap/lib/MapLibreGlWrapper.d.ts +17 -15
- package/dist/components/MlCenterPosition/MlCenterPosition.d.ts +2 -15
- package/dist/components/MlCenterPosition/MlCenterPosition.stories.d.ts +2 -15
- package/dist/components/MlComponentTemplate/MlComponentTemplate.d.ts +1 -0
- package/dist/components/MlComponentTemplate/MlComponentTemplate.stories.d.ts +2 -1
- package/dist/components/MlCreatePdfButton/MlCreatePdfButton.d.ts +1 -0
- package/dist/components/MlCreatePdfButton/MlCreatePdfButton.stories.d.ts +2 -1
- package/dist/components/MlCreatePdfForm/MlCreatePdfForm.d.ts +1 -0
- package/dist/components/MlCreatePdfForm/MlCreatePdfForm.stories.d.ts +2 -1
- package/dist/components/MlCreatePdfForm/lib/PdfForm.d.ts +1 -0
- package/dist/components/MlCreatePdfForm/lib/_PdfPreview.d.ts +1 -0
- package/dist/components/MlFeatureEditor/MlFeatureEditor.d.ts +1 -0
- 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/MlFillExtrusionLayer/MlFillExtrusionLayer.d.ts +1 -0
- package/dist/components/MlFollowGps/MlFollowGps.d.ts +5 -23
- package/dist/components/MlFollowGps/MlFollowGps.stories.d.ts +2 -2
- package/dist/components/MlGeoJsonLayer/MlGeoJsonLayer.d.ts +1 -0
- package/dist/components/MlGeoJsonLayer/MlGeoJsonLayer.stories.d.ts +2 -1
- package/dist/components/MlGeoJsonLayer/story_utils/MlGeojsonLayerCircleStyler.d.ts +1 -0
- package/dist/components/MlGeoJsonLayer/story_utils/MlGeojsonLayerHeatMapStyler.d.ts +1 -0
- package/dist/components/MlGeoJsonLayer/util/getDefaultPaintPropsByType.d.ts +4 -1
- package/dist/components/MlGeojsonLayerWithSource/MlGeojsonLayerWithSource.d.ts +1 -0
- package/dist/components/MlGeojsonLayerWithSource/MlGeojsonLayerWithSource.stories.d.ts +2 -1
- package/dist/components/MlGpxViewer/MlGpxViewer.d.ts +1 -0
- package/dist/components/MlGpxViewer/MlGpxViewer.stories.d.ts +2 -1
- package/dist/components/MlGpxViewer/util/GeoJsonProvider.d.ts +1 -0
- package/dist/components/MlGpxViewer/util/MetadataDrawer.d.ts +1 -0
- package/dist/components/MlGpxViewer/util/MlGpxDemoLoader.d.ts +1 -0
- package/dist/components/MlGpxViewer/util/MlGpxViewerInstructions.d.ts +1 -0
- package/dist/components/MlImageMarkerLayer/MlImageMarkerLayer.d.ts +1 -0
- package/dist/components/MlImageMarkerLayer/MlImageMarkerLayer.stories.d.ts +2 -1
- package/dist/components/MlLayer/MlLayer.d.ts +1 -0
- package/dist/components/MlLayerMagnify/MlLayerMagnify.stories.d.ts +2 -1
- package/dist/components/MlLayerSwipe/MlLayerSwipe.stories.d.ts +2 -1
- package/dist/components/MlMarker/MlMarker.d.ts +1 -0
- package/dist/components/MlMeasureTool/MlMeasureTool.d.ts +1 -0
- package/dist/components/MlNavigationCompass/MlNavigationCompass.d.ts +1 -0
- package/dist/components/MlNavigationTools/MlNavigationTools.d.ts +5 -0
- package/dist/components/MlScaleReference/MlScaleReference.d.ts +8 -1
- package/dist/components/MlShareMapState/MlShareMapState.d.ts +33 -13
- package/dist/components/MlShareMapState/MlShareMapState.stories.d.ts +16 -9
- package/dist/components/MlSketchTool/LayerList/ColorPicker.d.ts +1 -0
- package/dist/components/MlSketchTool/LayerList/LayerList.d.ts +1 -0
- package/dist/components/MlSketchTool/LayerList/LayerListItem.d.ts +1 -0
- package/dist/components/MlSketchTool/LayerList/LayerPropertyForm.d.ts +1 -0
- package/dist/components/MlSketchTool/MlSketchTool.d.ts +1 -0
- package/dist/components/MlSketchTool/MlSketchTool.stories.d.ts +2 -1
- package/dist/components/MlSpatialElevationProfile/MlSpatialElevationProfile.d.ts +1 -0
- package/dist/components/MlSpatialElevationProfile/MlSpatialElevationProfile.stories.d.ts +2 -1
- package/dist/components/MlSpatialElevationProfile/util/getElevationData.d.ts +1 -1
- package/dist/components/MlThreeJsLayer/MlThreeJsLayer.stories.d.ts +2 -1
- package/dist/components/MlThreeJsLayer/MlThreejsLayer.d.ts +30 -0
- package/dist/components/MlThreeJsLayer/lib/GLTFLoader.d.ts +2 -1
- package/dist/components/MlTransitionGeoJsonLayer/MlTransitionGeoJsonLayer.d.ts +1 -0
- package/dist/components/MlVectorTileLayer/MlVectorTileLayer.d.ts +3 -2
- package/dist/components/MlWmsFeatureInfoPopup/MlWmsFeatureInfoPopup.stories.d.ts +2 -1
- package/dist/components/MlWmsLayer/MlWmsLayer.d.ts +1 -0
- package/dist/components/MlWmsLoader/MlWmsLoader.d.ts +1 -0
- package/dist/components/MlWmsLoader/MlWmsLoader.stories.d.ts +2 -1
- package/dist/components/MlWmsLoader/utils/MlWmsLoaderInstructions.d.ts +1 -0
- package/dist/components/MlWmsLoader/utils/WMSLinks.d.ts +1 -0
- package/dist/contexts/MapContext.d.ts +13 -2
- package/dist/decorators/EmptyMapDecorator.d.ts +2 -0
- 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/ThemeDecorator.d.ts +2 -0
- package/dist/hooks/useCameraFollowPath/useCameraFollowPath.stories.d.ts +2 -1
- package/dist/hooks/useExportMap/lib.d.ts +1 -1
- package/dist/hooks/useLayerFilter/useLayerFilter.stories.d.ts +2 -1
- package/dist/hooks/useLayerHoverPopup/useLayerHoverPopup.d.ts +1 -0
- package/dist/index.d.ts +25 -8
- package/dist/index.esm.css +0 -97
- package/dist/index.esm.js +2187 -9306
- package/dist/index.esm.js.map +1 -1
- package/dist/setupTests.d.ts +6 -6
- package/dist/ui_components/Dropzone.d.ts +1 -0
- package/dist/ui_components/ImageLoader.d.ts +1 -0
- package/dist/ui_components/LayerList/LayerList.d.ts +6 -0
- package/dist/ui_components/LayerList/LayerList.stories.d.ts +12 -0
- package/dist/ui_components/LayerList/LayerListFolder.d.ts +9 -0
- package/dist/ui_components/LayerList/LayerListItem.d.ts +18 -0
- package/dist/ui_components/LayerList/util/LayerListItemVectorLayer.d.ts +15 -0
- package/dist/ui_components/LayerList/util/LayerPropertyForm.d.ts +10 -0
- package/dist/ui_components/LayerList/util/input/ColorPicker.d.ts +10 -0
- package/dist/ui_components/LoadingOverlayContext.d.ts +0 -1
- package/dist/ui_components/MapcomponentsTheme.d.ts +7 -0
- package/dist/ui_components/Tooltip.d.ts +1 -0
- package/dist/ui_components/TopToolbar.d.ts +1 -0
- package/dist/ui_components/UploadButton.d.ts +1 -0
- package/dist/util/Instructions.d.ts +1 -0
- package/package.json +67 -67
- package/public/thumbnails/{MlGPXViewer.png → MlGpxViewer.png} +0 -0
- package/rollup.config.js +68 -50
- package/src/@types/assets/index.d.ts +20 -0
- package/src/App.css +0 -55
- package/src/components/MapLibreMap/MapLibreMap.stories.js +38 -32
- package/src/components/MapLibreMap/MapLibreMap.tsx +29 -21
- package/src/components/MapLibreMap/lib/MapLibreGlWrapper.ts +50 -40
- package/src/components/MlCenterPosition/MlCenterPosition.tsx +22 -29
- package/src/components/MlCreatePdfForm/lib/PdfForm.tsx +6 -6
- package/src/components/MlFollowGps/MlFollowGps.stories.js +28 -10
- package/src/components/MlFollowGps/MlFollowGps.tsx +38 -57
- package/src/components/MlGeoJsonLayer/MlGeoJsonLayer.tsx +1 -1
- package/src/components/MlGeoJsonLayer/util/getDefaultPaintPropsByType.ts +16 -10
- package/src/components/MlGpxViewer/MlGpxViewer.stories.tsx +4 -13
- package/src/components/MlGpxViewer/util/MlGpxDemoLoader.tsx +3 -1
- package/src/components/MlLayerMagnify/MlLayerMagnify.tsx +21 -17
- package/src/components/MlLayerSwipe/MlLayerSwipe.tsx +3 -3
- package/src/components/MlNavigationTools/MlNavigationTools.stories.js +4 -5
- package/src/components/MlNavigationTools/MlNavigationTools.tsx +30 -54
- 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/MlSketchTool/LayerList/LayerPropertyForm.tsx +1 -1
- package/src/components/MlSketchTool/MlSketchTool.tsx +1 -1
- package/src/components/MlThreeJsLayer/MlThreejsLayer.tsx +228 -0
- package/src/components/MlVectorTileLayer/MlVectorTileLayer.tsx +7 -3
- package/src/components/MlWmsLoader/MlWmsLoader.stories.tsx +3 -11
- package/src/components/MlWmsLoader/MlWmsLoader.tsx +7 -4
- package/src/components/MlWmsLoader/utils/MlWmsLoaderInstructions.tsx +2 -2
- package/src/components/MlWmsLoader/utils/WMSLinks.tsx +1 -1
- package/src/contexts/MapContext.tsx +34 -20
- package/src/custom.d.ts +4 -0
- package/src/decorators/EmptyMapDecorator.js +38 -0
- package/src/decorators/MapContextDecorator.js +31 -26
- package/src/decorators/MapContextDecoratorHooks.js +29 -24
- package/src/decorators/MultiMapContextDecorator.js +71 -71
- package/src/decorators/NoNavToolsDecorator.js +25 -23
- package/src/decorators/ThemeDecorator.js +24 -0
- package/src/decorators/style.css +0 -2
- package/src/hooks/useCameraFollowPath/useCameraFollowPath.stories.tsx +13 -19
- package/src/hooks/useExportMap/lib.ts +1 -1
- package/src/hooks/useGpx/useGpx.stories.js +1 -1
- package/src/hooks/useLayerHoverPopup/useLayerHoverPopup.stories.js +1 -1
- package/src/hooks/useLayerHoverPopup/useLayerHoverPopup.tsx +5 -4
- package/src/hooks/useMap.ts +1 -1
- package/src/hooks/useMapState.stories.js +1 -1
- package/src/hooks/useMapState.ts +6 -13
- package/src/hooks/useSource.ts +1 -1
- package/src/hooks/useSources.stories.js +1 -1
- package/src/index.ts +40 -8
- package/src/ui_components/LayerList/LayerList.stories.tsx +136 -0
- package/src/ui_components/LayerList/LayerList.tsx +12 -0
- package/src/ui_components/LayerList/LayerListFolder.tsx +82 -0
- package/src/ui_components/LayerList/LayerListItem.tsx +180 -0
- package/src/ui_components/LayerList/assets/sample_1.json +26 -0
- package/src/ui_components/LayerList/assets/sample_2.json +22 -0
- package/src/ui_components/LayerList/assets/sample_polygon_1.json +33 -0
- package/src/ui_components/LayerList/assets/style.json +2599 -0
- package/src/ui_components/LayerList/util/LayerListItemVectorLayer.tsx +92 -0
- package/src/ui_components/LayerList/util/LayerPropertyForm.tsx +125 -0
- package/src/ui_components/LayerList/util/input/ColorPicker.tsx +44 -0
- package/src/ui_components/MapcomponentsTheme.tsx +133 -0
- package/src/ui_components/Sidebar.tsx +16 -11
- package/src/ui_components/TopToolbar.tsx +1 -3
- package/src/util/BubbleForInstructions.js +14 -12
- package/tsconfig.json +3 -9
- package/dist/components/MlGPXViewer/MlGPXViewer.d.ts +0 -29
- package/dist/components/MlGPXViewer/MlGPXViewer.stories.d.ts +0 -16
- package/dist/components/MlGPXViewer/MlGPXViewer.test.d.ts +0 -1
- package/dist/components/MlGPXViewer/gpxConverter.d.ts +0 -11
- package/dist/components/MlGPXViewer/util/GeoJsonContext.d.ts +0 -10
- package/dist/components/MlGPXViewer/util/GeoJsonProvider.d.ts +0 -4
- package/dist/components/MlLayer/MlLayer.stories.d.ts +0 -10
- package/dist/custom.d.d.ts +0 -22
- package/dist/decorators/ThemeWrapper.d.ts +0 -3
- package/dist/hooks/exportMap/index.d.ts +0 -11
- package/dist/hooks/exportMap/lib.d.ts +0 -36
- package/dist/ui_components/Legend.d.ts +0 -1
- package/dist/ui_components/LoadingOverlay.d.ts +0 -2
- 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="1675757623568" clover="3.2.0">
|
|
3
|
+
<project timestamp="1675757623568" name="All files">
|
|
4
|
+
<metrics statements="1709" coveredstatements="671" conditionals="1005" coveredconditionals="336" methods="371" coveredmethods="119" elements="3085" coveredelements="1126" complexity="0" loc="1709" ncloc="1709" 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,57 +9,57 @@
|
|
|
9
9
|
</file>
|
|
10
10
|
</package>
|
|
11
11
|
<package name="src.components.MapLibreMap">
|
|
12
|
-
<metrics statements="30" coveredstatements="27" conditionals="
|
|
12
|
+
<metrics statements="30" coveredstatements="27" 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="30" coveredstatements="27" conditionals="
|
|
14
|
+
<metrics statements="30" coveredstatements="27" conditionals="13" coveredconditionals="9" methods="7" coveredmethods="7"/>
|
|
15
15
|
<line num="26" count="20" type="stmt"/>
|
|
16
|
-
<line num="
|
|
17
|
-
<line num="
|
|
18
|
-
<line num="63" count="273" type="stmt"/>
|
|
16
|
+
<line num="63" count="20" type="stmt"/>
|
|
17
|
+
<line num="64" count="273" type="stmt"/>
|
|
19
18
|
<line num="65" count="273" type="stmt"/>
|
|
20
19
|
<line num="67" count="273" type="stmt"/>
|
|
21
|
-
<line num="68" count="273" type="stmt"/>
|
|
22
20
|
<line num="69" count="273" type="stmt"/>
|
|
21
|
+
<line num="70" count="273" type="stmt"/>
|
|
23
22
|
<line num="71" count="273" type="stmt"/>
|
|
24
|
-
<line num="
|
|
23
|
+
<line num="73" count="273" type="stmt"/>
|
|
25
24
|
<line num="74" count="83" type="stmt"/>
|
|
26
|
-
<line num="
|
|
27
|
-
<line num="76" count="2" type="stmt"/>
|
|
25
|
+
<line num="76" count="83" type="stmt"/>
|
|
28
26
|
<line num="77" count="2" type="stmt"/>
|
|
29
|
-
<line num="
|
|
30
|
-
<line num="
|
|
27
|
+
<line num="78" count="2" type="stmt"/>
|
|
28
|
+
<line num="79" count="2" type="stmt"/>
|
|
29
|
+
<line num="83" count="273" type="stmt"/>
|
|
31
30
|
<line num="84" count="83" type="cond" truecount="1" falsecount="1"/>
|
|
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="86" count="83" type="cond" truecount="1" falsecount="1"/>
|
|
32
|
+
<line num="87" count="83" type="stmt"/>
|
|
33
|
+
<line num="88" count="83" type="stmt"/>
|
|
34
|
+
<line num="96" count="83" type="stmt"/>
|
|
35
|
+
<line num="97" count="83" type="cond" truecount="2" falsecount="0"/>
|
|
36
|
+
<line num="98" count="6" type="stmt"/>
|
|
37
|
+
<line num="100" count="77" type="stmt"/>
|
|
38
|
+
<line num="108" count="273" type="stmt"/>
|
|
39
|
+
<line num="109" count="83" type="cond" truecount="4" falsecount="1"/>
|
|
40
|
+
<line num="110" count="0" type="stmt"/>
|
|
41
|
+
<line num="111" count="0" type="stmt"/>
|
|
42
|
+
<line num="112" count="0" type="stmt"/>
|
|
43
|
+
<line num="116" count="273" type="stmt"/>
|
|
44
|
+
<line num="125" count="20" type="stmt"/>
|
|
45
45
|
</file>
|
|
46
46
|
</package>
|
|
47
47
|
<package name="src.components.MlCenterPosition">
|
|
48
|
-
<metrics statements="12" coveredstatements="2" conditionals="
|
|
48
|
+
<metrics statements="12" coveredstatements="2" conditionals="2" coveredconditionals="0" methods="4" coveredmethods="0"/>
|
|
49
49
|
<file name="MlCenterPosition.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlCenterPosition/MlCenterPosition.tsx">
|
|
50
|
-
<metrics statements="12" coveredstatements="2" conditionals="
|
|
50
|
+
<metrics statements="12" coveredstatements="2" conditionals="2" coveredconditionals="0" methods="4" coveredmethods="0"/>
|
|
51
51
|
<line num="34" count="10" type="stmt"/>
|
|
52
52
|
<line num="35" count="0" type="stmt"/>
|
|
53
|
-
<line num="
|
|
54
|
-
<line num="41" count="0" type="stmt"/>
|
|
53
|
+
<line num="40" count="0" type="stmt"/>
|
|
55
54
|
<line num="42" count="0" type="stmt"/>
|
|
56
|
-
<line num="
|
|
55
|
+
<line num="43" count="0" type="stmt"/>
|
|
57
56
|
<line num="46" count="0" type="stmt"/>
|
|
58
|
-
<line num="
|
|
59
|
-
<line num="50" count="0" type="stmt"/>
|
|
60
|
-
<line num="51" count="0" type="stmt"/>
|
|
57
|
+
<line num="48" count="0" type="stmt"/>
|
|
61
58
|
<line num="53" count="0" type="stmt"/>
|
|
62
|
-
<line num="
|
|
59
|
+
<line num="54" count="0" type="stmt"/>
|
|
60
|
+
<line num="55" count="0" type="stmt"/>
|
|
61
|
+
<line num="57" count="0" type="stmt"/>
|
|
62
|
+
<line num="74" count="10" type="stmt"/>
|
|
63
63
|
</file>
|
|
64
64
|
</package>
|
|
65
65
|
<package name="src.components.MlCreatePdfButton">
|
|
@@ -150,63 +150,64 @@
|
|
|
150
150
|
</file>
|
|
151
151
|
</package>
|
|
152
152
|
<package name="src.components.MlFollowGps">
|
|
153
|
-
<metrics statements="
|
|
153
|
+
<metrics statements="55" coveredstatements="32" conditionals="32" coveredconditionals="15" methods="10" coveredmethods="7"/>
|
|
154
154
|
<file name="MlFollowGps.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlFollowGps/MlFollowGps.tsx">
|
|
155
|
-
<metrics statements="
|
|
156
|
-
<line num="
|
|
157
|
-
<line num="
|
|
155
|
+
<metrics statements="55" coveredstatements="32" conditionals="32" coveredconditionals="15" methods="10" coveredmethods="7"/>
|
|
156
|
+
<line num="78" count="11" type="stmt"/>
|
|
157
|
+
<line num="79" count="9" type="stmt"/>
|
|
158
|
+
<line num="84" count="9" type="stmt"/>
|
|
159
|
+
<line num="85" count="9" type="stmt"/>
|
|
160
|
+
<line num="86" count="9" type="stmt"/>
|
|
161
|
+
<line num="87" count="9" type="stmt"/>
|
|
158
162
|
<line num="88" count="9" type="stmt"/>
|
|
159
163
|
<line num="89" count="9" type="stmt"/>
|
|
160
|
-
<line num="90" count="9" type="stmt"/>
|
|
161
164
|
<line num="91" count="9" type="stmt"/>
|
|
162
|
-
<line num="
|
|
163
|
-
<line num="
|
|
164
|
-
<line num="
|
|
165
|
-
<line num="97" count="0" type="
|
|
166
|
-
<line num="
|
|
167
|
-
<line num="
|
|
168
|
-
<line num="
|
|
169
|
-
<line num="
|
|
165
|
+
<line num="93" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
166
|
+
<line num="95" count="0" type="cond" truecount="0" falsecount="5"/>
|
|
167
|
+
<line num="96" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
168
|
+
<line num="97" count="0" type="stmt"/>
|
|
169
|
+
<line num="104" count="0" type="stmt"/>
|
|
170
|
+
<line num="107" count="0" type="stmt"/>
|
|
171
|
+
<line num="109" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
172
|
+
<line num="110" count="0" type="stmt"/>
|
|
170
173
|
<line num="111" count="0" type="stmt"/>
|
|
171
|
-
<line num="
|
|
172
|
-
<line num="
|
|
173
|
-
<line num="
|
|
174
|
-
<line num="
|
|
175
|
-
<line num="
|
|
176
|
-
<line num="
|
|
177
|
-
<line num="
|
|
178
|
-
<line num="126" count="
|
|
179
|
-
<line num="127" count="
|
|
180
|
-
<line num="128" count="
|
|
174
|
+
<line num="112" count="0" type="stmt"/>
|
|
175
|
+
<line num="117" count="9" type="stmt"/>
|
|
176
|
+
<line num="118" count="0" type="stmt"/>
|
|
177
|
+
<line num="119" count="0" type="stmt"/>
|
|
178
|
+
<line num="122" count="9" type="stmt"/>
|
|
179
|
+
<line num="123" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
180
|
+
<line num="124" count="2" type="stmt"/>
|
|
181
|
+
<line num="126" count="0" type="stmt"/>
|
|
182
|
+
<line num="127" count="0" type="stmt"/>
|
|
183
|
+
<line num="128" count="0" type="stmt"/>
|
|
184
|
+
<line num="129" count="0" type="stmt"/>
|
|
181
185
|
<line num="130" count="0" type="stmt"/>
|
|
182
186
|
<line num="131" count="0" type="stmt"/>
|
|
183
187
|
<line num="132" count="0" type="stmt"/>
|
|
184
188
|
<line num="133" count="0" type="stmt"/>
|
|
185
189
|
<line num="134" count="0" type="stmt"/>
|
|
186
|
-
<line num="
|
|
187
|
-
<line num="
|
|
188
|
-
<line num="
|
|
189
|
-
<line num="
|
|
190
|
-
<line num="
|
|
191
|
-
<line num="
|
|
192
|
-
<line num="
|
|
193
|
-
<line num="146" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
190
|
+
<line num="137" count="9" type="stmt"/>
|
|
191
|
+
<line num="138" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
192
|
+
<line num="139" count="0" type="stmt"/>
|
|
193
|
+
<line num="143" count="9" type="stmt"/>
|
|
194
|
+
<line num="144" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
195
|
+
<line num="145" count="2" type="stmt"/>
|
|
196
|
+
<line num="146" count="2" type="stmt"/>
|
|
194
197
|
<line num="147" count="2" type="stmt"/>
|
|
195
|
-
<line num="148" count="
|
|
196
|
-
<line num="
|
|
197
|
-
<line num="150" count="1" type="stmt"/>
|
|
198
|
+
<line num="148" count="1" type="stmt"/>
|
|
199
|
+
<line num="151" count="3" type="stmt"/>
|
|
198
200
|
<line num="153" count="3" type="stmt"/>
|
|
199
|
-
<line num="
|
|
200
|
-
<line num="
|
|
201
|
-
<line num="159" count="
|
|
202
|
-
<line num="
|
|
201
|
+
<line num="156" count="9" type="stmt"/>
|
|
202
|
+
<line num="157" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
203
|
+
<line num="159" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
204
|
+
<line num="160" count="2" type="stmt"/>
|
|
203
205
|
<line num="162" count="2" type="stmt"/>
|
|
204
|
-
<line num="
|
|
205
|
-
<line num="
|
|
206
|
-
<line num="
|
|
207
|
-
<line num="
|
|
208
|
-
<line num="
|
|
209
|
-
<line num="235" count="11" type="stmt"/>
|
|
206
|
+
<line num="163" count="1" type="stmt"/>
|
|
207
|
+
<line num="166" count="3" type="stmt"/>
|
|
208
|
+
<line num="169" count="9" type="stmt"/>
|
|
209
|
+
<line num="221" count="3" type="stmt"/>
|
|
210
|
+
<line num="230" count="11" type="stmt"/>
|
|
210
211
|
</file>
|
|
211
212
|
</package>
|
|
212
213
|
<package name="src.components.MlGeoJsonLayer">
|
|
@@ -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">
|
|
@@ -664,39 +666,35 @@
|
|
|
664
666
|
</file>
|
|
665
667
|
</package>
|
|
666
668
|
<package name="src.components.MlNavigationTools">
|
|
667
|
-
<metrics statements="
|
|
669
|
+
<metrics statements="26" coveredstatements="2" conditionals="36" coveredconditionals="0" methods="6" coveredmethods="0"/>
|
|
668
670
|
<file name="MlNavigationTools.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlNavigationTools/MlNavigationTools.tsx">
|
|
669
|
-
<metrics statements="
|
|
670
|
-
<line num="
|
|
671
|
-
<line num="55" count="0" type="stmt"/>
|
|
671
|
+
<metrics statements="26" coveredstatements="2" conditionals="36" coveredconditionals="0" methods="6" coveredmethods="0"/>
|
|
672
|
+
<line num="59" count="10" type="stmt"/>
|
|
672
673
|
<line num="60" count="0" type="stmt"/>
|
|
673
|
-
<line num="
|
|
674
|
-
<line num="
|
|
675
|
-
<line num="
|
|
676
|
-
<line num="
|
|
677
|
-
<line num="
|
|
678
|
-
<line num="
|
|
679
|
-
<line num="
|
|
680
|
-
<line num="
|
|
681
|
-
<line num="
|
|
682
|
-
<line num="
|
|
683
|
-
<line num="
|
|
674
|
+
<line num="65" count="0" type="stmt"/>
|
|
675
|
+
<line num="66" count="0" type="stmt"/>
|
|
676
|
+
<line num="68" count="0" type="stmt"/>
|
|
677
|
+
<line num="69" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
678
|
+
<line num="71" count="0" type="stmt"/>
|
|
679
|
+
<line num="74" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
680
|
+
<line num="76" count="0" type="stmt"/>
|
|
681
|
+
<line num="80" count="0" type="stmt"/>
|
|
682
|
+
<line num="83" count="0" type="stmt"/>
|
|
683
|
+
<line num="84" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
684
|
+
<line num="86" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
685
|
+
<line num="87" count="0" type="stmt"/>
|
|
686
|
+
<line num="91" count="0" type="stmt"/>
|
|
687
|
+
<line num="92" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
688
|
+
<line num="94" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
689
|
+
<line num="95" count="0" type="stmt"/>
|
|
690
|
+
<line num="99" count="0" type="stmt"/>
|
|
684
691
|
<line num="100" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
685
|
-
<line num="
|
|
686
|
-
<line num="
|
|
687
|
-
<line num="
|
|
688
|
-
<line num="
|
|
692
|
+
<line num="102" count="0" type="stmt"/>
|
|
693
|
+
<line num="103" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
694
|
+
<line num="104" count="0" type="stmt"/>
|
|
695
|
+
<line num="106" count="0" type="stmt"/>
|
|
689
696
|
<line num="109" count="0" type="stmt"/>
|
|
690
|
-
<line num="
|
|
691
|
-
<line num="114" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
692
|
-
<line num="116" count="0" type="stmt"/>
|
|
693
|
-
<line num="117" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
694
|
-
<line num="118" count="0" type="stmt"/>
|
|
695
|
-
<line num="120" count="0" type="stmt"/>
|
|
696
|
-
<line num="123" count="0" type="stmt"/>
|
|
697
|
-
<line num="155" count="0" type="stmt"/>
|
|
698
|
-
<line num="158" count="0" type="stmt"/>
|
|
699
|
-
<line num="188" count="10" type="stmt"/>
|
|
697
|
+
<line num="164" count="10" type="stmt"/>
|
|
700
698
|
</file>
|
|
701
699
|
</package>
|
|
702
700
|
<package name="src.components.MlOsmLayer">
|
|
@@ -726,162 +724,162 @@
|
|
|
726
724
|
</package>
|
|
727
725
|
<package name="src.components.MlScaleReference">
|
|
728
726
|
<metrics statements="48" coveredstatements="1" conditionals="26" coveredconditionals="0" methods="7" coveredmethods="0"/>
|
|
729
|
-
<file name="MlScaleReference.
|
|
727
|
+
<file name="MlScaleReference.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlScaleReference/MlScaleReference.tsx">
|
|
730
728
|
<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"/>
|
|
729
|
+
<line num="11" count="10" type="stmt"/>
|
|
730
|
+
<line num="12" count="0" type="stmt"/>
|
|
738
731
|
<line num="13" count="0" type="stmt"/>
|
|
739
|
-
<line num="15" count="0" type="
|
|
740
|
-
<line num="
|
|
741
|
-
<line num="
|
|
732
|
+
<line num="15" count="0" type="stmt"/>
|
|
733
|
+
<line num="16" count="0" type="stmt"/>
|
|
734
|
+
<line num="18" count="0" type="stmt"/>
|
|
735
|
+
<line num="19" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
736
|
+
<line num="20" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
737
|
+
<line num="21" count="0" type="stmt"/>
|
|
742
738
|
<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"/>
|
|
739
|
+
<line num="29" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
740
|
+
<line num="31" count="0" type="stmt"/>
|
|
747
741
|
<line num="32" count="0" type="stmt"/>
|
|
748
|
-
<line num="33" count="0" type="
|
|
742
|
+
<line num="33" count="0" type="stmt"/>
|
|
749
743
|
<line num="34" count="0" type="stmt"/>
|
|
750
|
-
<line num="
|
|
751
|
-
<line num="
|
|
752
|
-
<line num="
|
|
753
|
-
<line num="40" count="0" type="stmt"/>
|
|
744
|
+
<line num="38" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
745
|
+
<line num="39" count="0" type="stmt"/>
|
|
746
|
+
<line num="40" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
754
747
|
<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="
|
|
748
|
+
<line num="42" count="0" type="stmt"/>
|
|
749
|
+
<line num="44" count="0" type="stmt"/>
|
|
750
|
+
<line num="46" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
751
|
+
<line num="47" count="0" type="stmt"/>
|
|
752
|
+
<line num="48" count="0" type="stmt"/>
|
|
753
|
+
<line num="49" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
754
|
+
<line num="50" count="0" type="stmt"/>
|
|
760
755
|
<line num="52" count="0" type="stmt"/>
|
|
761
|
-
<line num="53" count="0" type="stmt"/>
|
|
762
|
-
<line num="54" count="0" type="stmt"/>
|
|
763
756
|
<line num="56" count="0" type="stmt"/>
|
|
764
|
-
<line num="57" count="0" type="
|
|
757
|
+
<line num="57" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
758
|
+
<line num="59" count="0" type="stmt"/>
|
|
759
|
+
<line num="60" count="0" type="stmt"/>
|
|
765
760
|
<line num="61" count="0" type="stmt"/>
|
|
766
|
-
<line num="62" count="0" type="stmt"/>
|
|
767
761
|
<line num="63" count="0" type="stmt"/>
|
|
768
762
|
<line num="64" count="0" type="stmt"/>
|
|
769
|
-
<line num="65" count="0" type="stmt"/>
|
|
770
763
|
<line num="68" count="0" type="stmt"/>
|
|
771
764
|
<line num="69" count="0" type="stmt"/>
|
|
772
765
|
<line num="70" count="0" type="stmt"/>
|
|
773
|
-
<line num="
|
|
774
|
-
<line num="
|
|
766
|
+
<line num="71" count="0" type="stmt"/>
|
|
767
|
+
<line num="72" count="0" type="stmt"/>
|
|
775
768
|
<line num="75" count="0" type="stmt"/>
|
|
776
|
-
<line num="
|
|
777
|
-
<line num="
|
|
769
|
+
<line num="76" count="0" type="stmt"/>
|
|
770
|
+
<line num="77" count="0" type="stmt"/>
|
|
771
|
+
<line num="80" count="0" type="stmt"/>
|
|
772
|
+
<line num="81" count="0" type="stmt"/>
|
|
778
773
|
<line num="82" count="0" type="stmt"/>
|
|
774
|
+
<line num="84" count="0" type="cond" truecount="0" falsecount="10"/>
|
|
775
|
+
<line num="86" count="0" type="stmt"/>
|
|
776
|
+
<line num="89" count="0" type="stmt"/>
|
|
779
777
|
</file>
|
|
780
778
|
</package>
|
|
781
779
|
<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"/>
|
|
780
|
+
<metrics statements="100" coveredstatements="8" conditionals="64" coveredconditionals="1" methods="17" coveredmethods="1"/>
|
|
781
|
+
<file name="MlShareMapState.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlShareMapState/MlShareMapState.tsx">
|
|
782
|
+
<metrics statements="100" coveredstatements="8" conditionals="64" coveredconditionals="1" methods="17" coveredmethods="1"/>
|
|
783
|
+
<line num="21" count="10" type="stmt"/>
|
|
784
|
+
<line num="22" count="10" type="stmt"/>
|
|
785
|
+
<line num="23" count="10" type="cond" truecount="1" falsecount="1"/>
|
|
786
|
+
<line num="25" count="10" type="stmt"/>
|
|
787
|
+
<line num="28" count="10" type="stmt"/>
|
|
788
|
+
<line num="51" count="10" type="stmt"/>
|
|
789
|
+
<line num="53" count="0" type="stmt"/>
|
|
790
|
+
<line num="54" count="0" type="stmt"/>
|
|
791
|
+
<line num="55" count="0" type="stmt"/>
|
|
792
|
+
<line num="56" count="0" type="stmt"/>
|
|
793
|
+
<line num="57" count="0" type="stmt"/>
|
|
794
|
+
<line num="58" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
801
795
|
<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"/>
|
|
796
|
+
<line num="70" count="0" type="stmt"/>
|
|
797
|
+
<line num="71" count="0" type="stmt"/>
|
|
807
798
|
<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
799
|
<line num="85" count="0" type="stmt"/>
|
|
815
|
-
<line num="
|
|
816
|
-
<line num="
|
|
817
|
-
<line num="
|
|
800
|
+
<line num="87" count="0" type="stmt"/>
|
|
801
|
+
<line num="88" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
802
|
+
<line num="90" count="0" type="stmt"/>
|
|
803
|
+
<line num="91" count="0" type="stmt"/>
|
|
804
|
+
<line num="92" count="0" type="stmt"/>
|
|
818
805
|
<line num="98" count="0" type="stmt"/>
|
|
819
|
-
<line num="
|
|
806
|
+
<line num="99" count="0" type="stmt"/>
|
|
807
|
+
<line num="104" count="0" type="stmt"/>
|
|
820
808
|
<line num="106" count="0" type="stmt"/>
|
|
821
|
-
<line num="107" count="0" type="stmt"/>
|
|
822
809
|
<line num="109" count="0" type="stmt"/>
|
|
823
|
-
<line num="
|
|
824
|
-
<line num="
|
|
825
|
-
<line num="116" count="0" type="stmt"/>
|
|
810
|
+
<line num="110" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
811
|
+
<line num="111" count="0" type="stmt"/>
|
|
826
812
|
<line num="119" count="0" type="stmt"/>
|
|
827
|
-
<line num="120" count="0" type="
|
|
813
|
+
<line num="120" count="0" type="stmt"/>
|
|
828
814
|
<line num="122" count="0" type="stmt"/>
|
|
829
815
|
<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"/>
|
|
816
|
+
<line num="131" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
817
|
+
<line num="132" count="0" type="stmt"/>
|
|
818
|
+
<line num="133" count="0" type="stmt"/>
|
|
834
819
|
<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
820
|
<line num="139" count="0" type="stmt"/>
|
|
839
|
-
<line num="
|
|
840
|
-
<line num="
|
|
821
|
+
<line num="140" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
822
|
+
<line num="142" count="0" type="stmt"/>
|
|
823
|
+
<line num="145" count="0" type="stmt"/>
|
|
841
824
|
<line num="146" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
842
|
-
<line num="147" count="0" type="stmt"/>
|
|
843
825
|
<line num="148" count="0" type="stmt"/>
|
|
844
|
-
<line num="
|
|
826
|
+
<line num="150" count="0" type="stmt"/>
|
|
827
|
+
<line num="152" count="0" type="stmt"/>
|
|
845
828
|
<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="
|
|
829
|
+
<line num="157" count="0" type="stmt"/>
|
|
830
|
+
<line num="158" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
831
|
+
<line num="161" count="0" type="stmt"/>
|
|
832
|
+
<line num="162" count="0" type="stmt"/>
|
|
833
|
+
<line num="163" count="0" type="stmt"/>
|
|
834
|
+
<line num="164" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
835
|
+
<line num="165" count="0" type="stmt"/>
|
|
836
|
+
<line num="169" count="0" type="stmt"/>
|
|
837
|
+
<line num="170" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
838
|
+
<line num="172" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
839
|
+
<line num="173" count="0" type="stmt"/>
|
|
840
|
+
<line num="174" count="0" type="stmt"/>
|
|
841
|
+
<line num="175" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
842
|
+
<line num="176" count="0" type="stmt"/>
|
|
843
|
+
<line num="181" count="0" type="stmt"/>
|
|
844
|
+
<line num="182" count="0" type="stmt"/>
|
|
845
|
+
<line num="183" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
861
846
|
<line num="184" count="0" type="stmt"/>
|
|
862
|
-
<line num="
|
|
863
|
-
<line num="186" count="0" type="stmt"/>
|
|
847
|
+
<line num="186" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
864
848
|
<line num="187" count="0" type="stmt"/>
|
|
865
|
-
<line num="
|
|
866
|
-
<line num="189" count="0" type="stmt"/>
|
|
849
|
+
<line num="191" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
867
850
|
<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"/>
|
|
851
|
+
<line num="193" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
852
|
+
<line num="197" count="0" type="stmt"/>
|
|
853
|
+
<line num="198" count="0" type="stmt"/>
|
|
854
|
+
<line num="206" count="0" type="stmt"/>
|
|
855
|
+
<line num="207" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
856
|
+
<line num="208" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
857
|
+
<line num="210" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
879
858
|
<line num="211" count="0" type="stmt"/>
|
|
880
|
-
<line num="
|
|
881
|
-
<line num="
|
|
859
|
+
<line num="217" count="0" type="stmt"/>
|
|
860
|
+
<line num="218" count="0" type="stmt"/>
|
|
861
|
+
<line num="219" count="0" type="stmt"/>
|
|
882
862
|
<line num="220" count="0" type="stmt"/>
|
|
883
|
-
<line num="
|
|
863
|
+
<line num="221" count="0" type="stmt"/>
|
|
864
|
+
<line num="222" count="0" type="stmt"/>
|
|
865
|
+
<line num="225" count="0" type="stmt"/>
|
|
866
|
+
<line num="226" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
884
867
|
<line num="227" count="0" type="stmt"/>
|
|
868
|
+
<line num="229" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
869
|
+
<line num="230" count="0" type="stmt"/>
|
|
870
|
+
<line num="232" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
871
|
+
<line num="233" count="0" type="stmt"/>
|
|
872
|
+
<line num="235" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
873
|
+
<line num="236" count="0" type="stmt"/>
|
|
874
|
+
<line num="238" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
875
|
+
<line num="239" count="0" type="stmt"/>
|
|
876
|
+
<line num="243" count="0" type="stmt"/>
|
|
877
|
+
<line num="246" count="0" type="stmt"/>
|
|
878
|
+
<line num="247" count="0" type="cond" truecount="0" falsecount="6"/>
|
|
879
|
+
<line num="248" count="0" type="stmt"/>
|
|
880
|
+
<line num="256" count="0" type="stmt"/>
|
|
881
|
+
<line num="259" count="10" type="stmt"/>
|
|
882
|
+
<line num="263" count="10" type="stmt"/>
|
|
885
883
|
</file>
|
|
886
884
|
</package>
|
|
887
885
|
<package name="src.components.MlSketchTool">
|
|
@@ -1027,7 +1025,7 @@
|
|
|
1027
1025
|
</file>
|
|
1028
1026
|
</package>
|
|
1029
1027
|
<package name="src.components.MlThreeJsLayer">
|
|
1030
|
-
<metrics statements="
|
|
1028
|
+
<metrics statements="138" coveredstatements="39" conditionals="52" coveredconditionals="15" methods="18" coveredmethods="5"/>
|
|
1031
1029
|
<file name="MlThreeJsLayer.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlThreeJsLayer/MlThreeJsLayer.js">
|
|
1032
1030
|
<metrics statements="68" coveredstatements="39" conditionals="24" coveredconditionals="15" methods="9" coveredmethods="5"/>
|
|
1033
1031
|
<line num="15" count="1" type="stmt"/>
|
|
@@ -1099,6 +1097,79 @@
|
|
|
1099
1097
|
<line num="183" count="0" type="stmt"/>
|
|
1100
1098
|
<line num="192" count="1" type="stmt"/>
|
|
1101
1099
|
</file>
|
|
1100
|
+
<file name="MlThreejsLayer.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlThreeJsLayer/MlThreejsLayer.tsx">
|
|
1101
|
+
<metrics statements="70" coveredstatements="0" conditionals="28" coveredconditionals="0" methods="9" coveredmethods="0"/>
|
|
1102
|
+
<line num="23" count="0" type="stmt"/>
|
|
1103
|
+
<line num="24" count="0" type="stmt"/>
|
|
1104
|
+
<line num="26" count="0" type="stmt"/>
|
|
1105
|
+
<line num="27" count="0" type="stmt"/>
|
|
1106
|
+
<line num="28" count="0" type="stmt"/>
|
|
1107
|
+
<line num="29" count="0" type="stmt"/>
|
|
1108
|
+
<line num="30" count="0" type="stmt"/>
|
|
1109
|
+
<line num="31" count="0" type="stmt"/>
|
|
1110
|
+
<line num="33" count="0" type="stmt"/>
|
|
1111
|
+
<line num="34" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1112
|
+
<line num="35" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1113
|
+
<line num="36" count="0" type="stmt"/>
|
|
1114
|
+
<line num="38" count="0" type="stmt"/>
|
|
1115
|
+
<line num="42" count="0" type="stmt"/>
|
|
1116
|
+
<line num="43" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1117
|
+
<line num="44" count="0" type="stmt"/>
|
|
1118
|
+
<line num="47" count="0" type="stmt"/>
|
|
1119
|
+
<line num="50" count="0" type="stmt"/>
|
|
1120
|
+
<line num="51" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1121
|
+
<line num="53" count="0" type="stmt"/>
|
|
1122
|
+
<line num="54" count="0" type="stmt"/>
|
|
1123
|
+
<line num="56" count="0" type="stmt"/>
|
|
1124
|
+
<line num="57" count="0" type="stmt"/>
|
|
1125
|
+
<line num="58" count="0" type="stmt"/>
|
|
1126
|
+
<line num="61" count="0" type="stmt"/>
|
|
1127
|
+
<line num="63" count="0" type="stmt"/>
|
|
1128
|
+
<line num="64" count="0" type="stmt"/>
|
|
1129
|
+
<line num="66" count="0" type="stmt"/>
|
|
1130
|
+
<line num="72" count="0" type="stmt"/>
|
|
1131
|
+
<line num="95" count="0" type="stmt"/>
|
|
1132
|
+
<line num="103" count="0" type="stmt"/>
|
|
1133
|
+
<line num="104" count="0" type="stmt"/>
|
|
1134
|
+
<line num="105" count="0" type="stmt"/>
|
|
1135
|
+
<line num="108" count="0" type="stmt"/>
|
|
1136
|
+
<line num="109" count="0" type="stmt"/>
|
|
1137
|
+
<line num="110" count="0" type="stmt"/>
|
|
1138
|
+
<line num="112" count="0" type="stmt"/>
|
|
1139
|
+
<line num="113" count="0" type="stmt"/>
|
|
1140
|
+
<line num="114" count="0" type="stmt"/>
|
|
1141
|
+
<line num="117" count="0" type="stmt"/>
|
|
1142
|
+
<line num="118" count="0" type="stmt"/>
|
|
1143
|
+
<line num="122" count="0" type="stmt"/>
|
|
1144
|
+
<line num="123" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1145
|
+
<line num="124" count="0" type="stmt"/>
|
|
1146
|
+
<line num="128" count="0" type="stmt"/>
|
|
1147
|
+
<line num="131" count="0" type="stmt"/>
|
|
1148
|
+
<line num="137" count="0" type="stmt"/>
|
|
1149
|
+
<line num="140" count="0" type="stmt"/>
|
|
1150
|
+
<line num="144" count="0" type="stmt"/>
|
|
1151
|
+
<line num="148" count="0" type="stmt"/>
|
|
1152
|
+
<line num="153" count="0" type="stmt"/>
|
|
1153
|
+
<line num="154" count="0" type="stmt"/>
|
|
1154
|
+
<line num="167" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1155
|
+
<line num="168" count="0" type="stmt"/>
|
|
1156
|
+
<line num="169" count="0" type="stmt"/>
|
|
1157
|
+
<line num="170" count="0" type="stmt"/>
|
|
1158
|
+
<line num="171" count="0" type="stmt"/>
|
|
1159
|
+
<line num="176" count="0" type="stmt"/>
|
|
1160
|
+
<line num="178" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1161
|
+
<line num="179" count="0" type="stmt"/>
|
|
1162
|
+
<line num="183" count="0" type="stmt"/>
|
|
1163
|
+
<line num="184" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1164
|
+
<line num="186" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1165
|
+
<line num="188" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1166
|
+
<line num="189" count="0" type="stmt"/>
|
|
1167
|
+
<line num="191" count="0" type="stmt"/>
|
|
1168
|
+
<line num="197" count="0" type="stmt"/>
|
|
1169
|
+
<line num="203" count="0" type="stmt"/>
|
|
1170
|
+
<line num="204" count="0" type="stmt"/>
|
|
1171
|
+
<line num="213" count="0" type="stmt"/>
|
|
1172
|
+
</file>
|
|
1102
1173
|
</package>
|
|
1103
1174
|
<package name="src.components.MlTransitionGeoJsonLayer">
|
|
1104
1175
|
<metrics statements="36" coveredstatements="25" conditionals="22" coveredconditionals="11" methods="7" coveredmethods="6"/>
|
|
@@ -1156,9 +1227,9 @@
|
|
|
1156
1227
|
</file>
|
|
1157
1228
|
</package>
|
|
1158
1229
|
<package name="src.components.MlVectorTileLayer">
|
|
1159
|
-
<metrics statements="
|
|
1230
|
+
<metrics statements="48" coveredstatements="41" conditionals="34" coveredconditionals="22" methods="9" coveredmethods="8"/>
|
|
1160
1231
|
<file name="MlVectorTileLayer.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlVectorTileLayer/MlVectorTileLayer.tsx">
|
|
1161
|
-
<metrics statements="
|
|
1232
|
+
<metrics statements="48" coveredstatements="41" conditionals="34" coveredconditionals="22" methods="9" coveredmethods="8"/>
|
|
1162
1233
|
<line num="21" count="10" type="stmt"/>
|
|
1163
1234
|
<line num="22" count="12" type="stmt"/>
|
|
1164
1235
|
<line num="27" count="12" type="cond" truecount="2" falsecount="0"/>
|
|
@@ -1166,52 +1237,54 @@
|
|
|
1166
1237
|
<line num="29" count="12" type="stmt"/>
|
|
1167
1238
|
<line num="30" count="12" type="stmt"/>
|
|
1168
1239
|
<line num="32" count="12" type="stmt"/>
|
|
1169
|
-
<line num="33" count="12" type="
|
|
1170
|
-
<line num="
|
|
1171
|
-
<line num="
|
|
1172
|
-
<line num="
|
|
1173
|
-
<line num="
|
|
1174
|
-
<line num="
|
|
1175
|
-
<line num="
|
|
1176
|
-
<line num="
|
|
1177
|
-
<line num="
|
|
1178
|
-
<line num="
|
|
1240
|
+
<line num="33" count="12" type="stmt"/>
|
|
1241
|
+
<line num="34" count="12" type="stmt"/>
|
|
1242
|
+
<line num="35" count="12" type="cond" truecount="2" falsecount="0"/>
|
|
1243
|
+
<line num="37" count="8" type="stmt"/>
|
|
1244
|
+
<line num="39" count="8" type="cond" truecount="2" falsecount="0"/>
|
|
1245
|
+
<line num="40" count="4" type="stmt"/>
|
|
1246
|
+
<line num="44" count="8" type="stmt"/>
|
|
1247
|
+
<line num="57" count="8" type="stmt"/>
|
|
1248
|
+
<line num="58" count="8" type="cond" truecount="1" falsecount="1"/>
|
|
1249
|
+
<line num="59" count="8" type="stmt"/>
|
|
1179
1250
|
<line num="77" count="8" type="stmt"/>
|
|
1180
|
-
<line num="
|
|
1181
|
-
<line num="81" count="
|
|
1182
|
-
<line num="
|
|
1183
|
-
<line num="
|
|
1184
|
-
<line num="
|
|
1185
|
-
<line num="
|
|
1186
|
-
<line num="94" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
1251
|
+
<line num="78" count="8" type="stmt"/>
|
|
1252
|
+
<line num="81" count="8" type="stmt"/>
|
|
1253
|
+
<line num="84" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1254
|
+
<line num="85" count="0" type="stmt"/>
|
|
1255
|
+
<line num="86" count="0" type="stmt"/>
|
|
1256
|
+
<line num="94" count="12" type="stmt"/>
|
|
1187
1257
|
<line num="95" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
1188
1258
|
<line num="97" count="4" type="stmt"/>
|
|
1259
|
+
<line num="98" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
1189
1260
|
<line num="99" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
1190
|
-
<line num="
|
|
1191
|
-
<line num="
|
|
1192
|
-
<line num="104" count="
|
|
1193
|
-
<line num="
|
|
1194
|
-
<line num="
|
|
1195
|
-
<line num="
|
|
1196
|
-
<line num="
|
|
1197
|
-
<line num="114" count="
|
|
1198
|
-
<line num="
|
|
1199
|
-
<line num="
|
|
1200
|
-
<line num="
|
|
1201
|
-
<line num="
|
|
1202
|
-
<line num="
|
|
1203
|
-
<line num="
|
|
1204
|
-
<line num="
|
|
1205
|
-
<line num="
|
|
1206
|
-
<line num="
|
|
1207
|
-
<line num="137" count="
|
|
1261
|
+
<line num="101" count="4" type="stmt"/>
|
|
1262
|
+
<line num="103" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
1263
|
+
<line num="104" count="0" type="stmt"/>
|
|
1264
|
+
<line num="105" count="0" type="stmt"/>
|
|
1265
|
+
<line num="108" count="4" type="stmt"/>
|
|
1266
|
+
<line num="111" count="4" type="stmt"/>
|
|
1267
|
+
<line num="113" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
1268
|
+
<line num="114" count="0" type="stmt"/>
|
|
1269
|
+
<line num="115" count="0" type="stmt"/>
|
|
1270
|
+
<line num="118" count="4" type="stmt"/>
|
|
1271
|
+
<line num="124" count="12" type="stmt"/>
|
|
1272
|
+
<line num="125" count="8" type="cond" truecount="1" falsecount="1"/>
|
|
1273
|
+
<line num="126" count="8" type="stmt"/>
|
|
1274
|
+
<line num="130" count="12" type="stmt"/>
|
|
1275
|
+
<line num="131" count="8" type="cond" truecount="4" falsecount="0"/>
|
|
1276
|
+
<line num="132" count="4" type="stmt"/>
|
|
1277
|
+
<line num="136" count="12" type="stmt"/>
|
|
1278
|
+
<line num="137" count="8" type="cond" truecount="4" falsecount="0"/>
|
|
1279
|
+
<line num="138" count="4" type="stmt"/>
|
|
1280
|
+
<line num="141" count="12" type="stmt"/>
|
|
1208
1281
|
</file>
|
|
1209
1282
|
</package>
|
|
1210
1283
|
<package name="src.components.MlWmsFeatureInfoPopup">
|
|
1211
|
-
<metrics statements="20" coveredstatements="
|
|
1284
|
+
<metrics statements="20" coveredstatements="3" conditionals="8" coveredconditionals="0" methods="4" coveredmethods="0"/>
|
|
1212
1285
|
<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="
|
|
1286
|
+
<metrics statements="20" coveredstatements="3" conditionals="8" coveredconditionals="0" methods="4" coveredmethods="0"/>
|
|
1287
|
+
<line num="15" count="10" type="stmt"/>
|
|
1215
1288
|
<line num="17" count="0" type="stmt"/>
|
|
1216
1289
|
<line num="19" count="0" type="stmt"/>
|
|
1217
1290
|
<line num="20" count="0" type="stmt"/>
|
|
@@ -1229,8 +1302,8 @@
|
|
|
1229
1302
|
<line num="46" count="0" type="stmt"/>
|
|
1230
1303
|
<line num="48" count="0" type="stmt"/>
|
|
1231
1304
|
<line num="51" count="0" type="stmt"/>
|
|
1232
|
-
<line num="54" count="
|
|
1233
|
-
<line num="58" count="
|
|
1305
|
+
<line num="54" count="10" type="stmt"/>
|
|
1306
|
+
<line num="58" count="10" type="stmt"/>
|
|
1234
1307
|
</file>
|
|
1235
1308
|
</package>
|
|
1236
1309
|
<package name="src.components.MlWmsLayer">
|
|
@@ -1286,11 +1359,11 @@
|
|
|
1286
1359
|
</file>
|
|
1287
1360
|
</package>
|
|
1288
1361
|
<package name="src.components.MlWmsLoader">
|
|
1289
|
-
<metrics statements="102" coveredstatements="
|
|
1362
|
+
<metrics statements="102" coveredstatements="4" conditionals="62" coveredconditionals="0" methods="30" coveredmethods="0"/>
|
|
1290
1363
|
<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="
|
|
1364
|
+
<metrics statements="102" coveredstatements="4" conditionals="62" coveredconditionals="0" methods="30" coveredmethods="0"/>
|
|
1365
|
+
<line num="21" count="10" type="stmt"/>
|
|
1366
|
+
<line num="22" count="10" type="cond" truecount="0" falsecount="1"/>
|
|
1294
1367
|
<line num="23" count="0" type="stmt"/>
|
|
1295
1368
|
<line num="24" count="0" type="stmt"/>
|
|
1296
1369
|
<line num="25" count="0" type="stmt"/>
|
|
@@ -1300,7 +1373,7 @@
|
|
|
1300
1373
|
<line num="29" count="0" type="stmt"/>
|
|
1301
1374
|
<line num="30" count="0" type="stmt"/>
|
|
1302
1375
|
<line num="32" count="0" type="stmt"/>
|
|
1303
|
-
<line num="70" count="
|
|
1376
|
+
<line num="70" count="10" type="stmt"/>
|
|
1304
1377
|
<line num="72" count="0" type="stmt"/>
|
|
1305
1378
|
<line num="73" count="0" type="stmt"/>
|
|
1306
1379
|
<line num="77" count="0" type="stmt"/>
|
|
@@ -1325,120 +1398,120 @@
|
|
|
1325
1398
|
<line num="114" count="0" type="stmt"/>
|
|
1326
1399
|
<line num="115" count="0" type="stmt"/>
|
|
1327
1400
|
<line num="119" count="0" type="stmt"/>
|
|
1328
|
-
<line num="
|
|
1329
|
-
<line num="122" count="0" type="stmt"/>
|
|
1401
|
+
<line num="122" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1330
1402
|
<line num="123" count="0" type="stmt"/>
|
|
1331
1403
|
<line num="124" count="0" type="stmt"/>
|
|
1332
1404
|
<line num="125" count="0" type="stmt"/>
|
|
1333
1405
|
<line num="126" count="0" type="stmt"/>
|
|
1334
1406
|
<line num="127" count="0" type="stmt"/>
|
|
1335
1407
|
<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="
|
|
1408
|
+
<line num="129" count="0" type="stmt"/>
|
|
1409
|
+
<line num="140" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1410
|
+
<line num="141" count="0" type="stmt"/>
|
|
1411
|
+
<line num="143" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1412
|
+
<line num="144" count="0" type="stmt"/>
|
|
1413
|
+
<line num="157" count="0" type="stmt"/>
|
|
1414
|
+
<line num="159" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1343
1415
|
<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="
|
|
1416
|
+
<line num="161" count="0" type="stmt"/>
|
|
1417
|
+
<line num="163" count="0" type="stmt"/>
|
|
1418
|
+
<line num="165" count="0" type="stmt"/>
|
|
1419
|
+
<line num="171" count="0" type="stmt"/>
|
|
1420
|
+
<line num="173" count="0" type="stmt"/>
|
|
1421
|
+
<line num="175" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1422
|
+
<line num="176" count="0" type="stmt"/>
|
|
1423
|
+
<line num="178" count="0" type="stmt"/>
|
|
1352
1424
|
<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="
|
|
1425
|
+
<line num="182" count="0" type="stmt"/>
|
|
1426
|
+
<line num="184" count="0" type="stmt"/>
|
|
1427
|
+
<line num="189" count="0" type="stmt"/>
|
|
1428
|
+
<line num="190" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1429
|
+
<line num="192" count="0" type="stmt"/>
|
|
1430
|
+
<line num="196" count="0" type="stmt"/>
|
|
1431
|
+
<line num="197" count="0" type="stmt"/>
|
|
1432
|
+
<line num="198" count="0" type="stmt"/>
|
|
1433
|
+
<line num="202" count="0" type="stmt"/>
|
|
1434
|
+
<line num="203" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1435
|
+
<line num="205" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1436
|
+
<line num="206" count="0" type="stmt"/>
|
|
1437
|
+
<line num="210" count="0" type="stmt"/>
|
|
1366
1438
|
<line num="214" count="0" type="stmt"/>
|
|
1367
|
-
<line num="
|
|
1368
|
-
<line num="217" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1439
|
+
<line num="217" count="0" type="stmt"/>
|
|
1369
1440
|
<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="
|
|
1441
|
+
<line num="220" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1442
|
+
<line num="221" count="0" type="stmt"/>
|
|
1443
|
+
<line num="223" count="0" type="stmt"/>
|
|
1444
|
+
<line num="231" count="0" type="stmt"/>
|
|
1374
1445
|
<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="
|
|
1446
|
+
<line num="234" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1447
|
+
<line num="235" count="0" type="stmt"/>
|
|
1448
|
+
<line num="237" count="0" type="stmt"/>
|
|
1449
|
+
<line num="245" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1450
|
+
<line num="246" count="0" type="stmt"/>
|
|
1451
|
+
<line num="250" count="0" type="stmt"/>
|
|
1452
|
+
<line num="253" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1453
|
+
<line num="254" count="0" type="stmt"/>
|
|
1454
|
+
<line num="262" count="0" type="stmt"/>
|
|
1455
|
+
<line num="263" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1456
|
+
<line num="266" count="0" type="stmt"/>
|
|
1457
|
+
<line num="267" count="0" type="stmt"/>
|
|
1386
1458
|
<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="
|
|
1459
|
+
<line num="271" count="0" type="stmt"/>
|
|
1460
|
+
<line num="278" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1461
|
+
<line num="286" count="0" type="stmt"/>
|
|
1462
|
+
<line num="287" count="0" type="stmt"/>
|
|
1463
|
+
<line num="288" count="0" type="stmt"/>
|
|
1464
|
+
<line num="310" count="0" type="stmt"/>
|
|
1465
|
+
<line num="311" count="0" type="stmt"/>
|
|
1466
|
+
<line num="327" count="10" type="stmt"/>
|
|
1394
1467
|
</file>
|
|
1395
1468
|
</package>
|
|
1396
1469
|
<package name="src.contexts">
|
|
1397
1470
|
<metrics statements="73" coveredstatements="71" conditionals="54" coveredconditionals="45" methods="10" coveredmethods="10"/>
|
|
1398
1471
|
<file name="MapContext.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/contexts/MapContext.tsx">
|
|
1399
1472
|
<metrics statements="42" coveredstatements="42" conditionals="34" coveredconditionals="31" methods="6" coveredmethods="6"/>
|
|
1400
|
-
<line num="
|
|
1401
|
-
<line num="
|
|
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="
|
|
1473
|
+
<line num="17" count="21" type="stmt"/>
|
|
1474
|
+
<line num="26" count="21" type="stmt"/>
|
|
1475
|
+
<line num="27" count="188" type="stmt"/>
|
|
1476
|
+
<line num="28" count="188" type="stmt"/>
|
|
1477
|
+
<line num="29" count="188" type="stmt"/>
|
|
1478
|
+
<line num="30" count="188" type="stmt"/>
|
|
1479
|
+
<line num="32" count="188" type="stmt"/>
|
|
1480
|
+
<line num="33" count="8" type="cond" truecount="2" falsecount="0"/>
|
|
1481
|
+
<line num="34" count="6" type="cond" truecount="1" falsecount="1"/>
|
|
1482
|
+
<line num="35" count="6" type="stmt"/>
|
|
1483
|
+
<line num="37" count="6" type="stmt"/>
|
|
1484
|
+
<line num="38" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
1485
|
+
<line num="39" count="4" type="stmt"/>
|
|
1486
|
+
<line num="41" count="6" type="stmt"/>
|
|
1487
|
+
<line num="43" count="6" type="cond" truecount="4" falsecount="0"/>
|
|
1488
|
+
<line num="44" count="3" type="stmt"/>
|
|
1489
|
+
<line num="47" count="2" type="stmt"/>
|
|
1490
|
+
<line num="48" count="2" type="stmt"/>
|
|
1491
|
+
<line num="52" count="188" type="stmt"/>
|
|
1492
|
+
<line num="53" count="81" type="stmt"/>
|
|
1493
|
+
<line num="55" count="81" type="cond" truecount="1" falsecount="1"/>
|
|
1494
|
+
<line num="56" count="81" type="stmt"/>
|
|
1495
|
+
<line num="57" count="81" type="stmt"/>
|
|
1496
|
+
<line num="58" count="81" type="stmt"/>
|
|
1497
|
+
<line num="62" count="188" type="stmt"/>
|
|
1498
|
+
<line num="68" count="13" type="cond" truecount="3" falsecount="1"/>
|
|
1499
|
+
<line num="69" count="13" type="stmt"/>
|
|
1500
|
+
<line num="70" count="13" type="stmt"/>
|
|
1501
|
+
<line num="71" count="13" type="stmt"/>
|
|
1502
|
+
<line num="73" count="13" type="cond" truecount="2" falsecount="0"/>
|
|
1503
|
+
<line num="74" count="11" type="stmt"/>
|
|
1504
|
+
<line num="80" count="889" type="cond" truecount="4" falsecount="0"/>
|
|
1505
|
+
<line num="81" count="76" type="stmt"/>
|
|
1506
|
+
<line num="82" count="813" type="cond" truecount="4" falsecount="0"/>
|
|
1507
|
+
<line num="83" count="217" type="stmt"/>
|
|
1508
|
+
<line num="85" count="596" type="stmt"/>
|
|
1509
|
+
<line num="88" count="258" type="cond" truecount="4" falsecount="0"/>
|
|
1510
|
+
<line num="89" count="27" type="stmt"/>
|
|
1511
|
+
<line num="90" count="231" type="cond" truecount="4" falsecount="0"/>
|
|
1512
|
+
<line num="91" count="214" type="stmt"/>
|
|
1513
|
+
<line num="94" count="17" type="stmt"/>
|
|
1514
|
+
<line num="98" count="188" type="stmt"/>
|
|
1442
1515
|
</file>
|
|
1443
1516
|
<file name="SimpleDataContext.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/contexts/SimpleDataContext.js">
|
|
1444
1517
|
<metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
@@ -1479,7 +1552,7 @@
|
|
|
1479
1552
|
</file>
|
|
1480
1553
|
</package>
|
|
1481
1554
|
<package name="src.hooks">
|
|
1482
|
-
<metrics statements="226" coveredstatements="
|
|
1555
|
+
<metrics statements="226" coveredstatements="136" conditionals="156" coveredconditionals="84" methods="38" coveredmethods="24"/>
|
|
1483
1556
|
<file name="useLayer.ts" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useLayer.ts">
|
|
1484
1557
|
<metrics statements="66" coveredstatements="50" conditionals="70" coveredconditionals="50" methods="9" coveredmethods="8"/>
|
|
1485
1558
|
<line num="49" count="13" type="stmt"/>
|
|
@@ -1550,9 +1623,9 @@
|
|
|
1550
1623
|
<line num="230" count="13" type="stmt"/>
|
|
1551
1624
|
</file>
|
|
1552
1625
|
<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="
|
|
1626
|
+
<metrics statements="21" coveredstatements="2" conditionals="16" coveredconditionals="0" methods="3" coveredmethods="0"/>
|
|
1627
|
+
<line num="6" count="10" type="stmt"/>
|
|
1628
|
+
<line num="11" count="10" type="stmt"/>
|
|
1556
1629
|
<line num="13" count="0" type="stmt"/>
|
|
1557
1630
|
<line num="14" count="0" type="stmt"/>
|
|
1558
1631
|
<line num="16" count="0" type="stmt"/>
|
|
@@ -1608,57 +1681,57 @@
|
|
|
1608
1681
|
</file>
|
|
1609
1682
|
<file name="useMapState.ts" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useMapState.ts">
|
|
1610
1683
|
<metrics statements="48" coveredstatements="35" conditionals="26" coveredconditionals="11" methods="7" coveredmethods="5"/>
|
|
1611
|
-
<line num="
|
|
1684
|
+
<line num="34" count="371" type="stmt"/>
|
|
1685
|
+
<line num="36" count="371" type="stmt"/>
|
|
1686
|
+
<line num="37" count="371" type="stmt"/>
|
|
1687
|
+
<line num="39" count="371" type="stmt"/>
|
|
1688
|
+
<line num="40" count="371" type="stmt"/>
|
|
1689
|
+
<line num="42" count="371" type="stmt"/>
|
|
1612
1690
|
<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"/>
|
|
1691
|
+
<line num="45" count="371" type="stmt"/>
|
|
1692
|
+
<line num="53" count="371" type="stmt"/>
|
|
1693
|
+
<line num="55" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1694
|
+
<line num="56" count="0" type="stmt"/>
|
|
1695
|
+
<line num="59" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1696
|
+
<line num="60" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1697
|
+
<line num="61" count="0" type="stmt"/>
|
|
1621
1698
|
<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"/>
|
|
1699
|
+
<line num="67" count="0" type="stmt"/>
|
|
1700
|
+
<line num="72" count="371" type="stmt"/>
|
|
1701
|
+
<line num="73" count="6" type="cond" truecount="1" falsecount="1"/>
|
|
1702
|
+
<line num="75" count="6" type="stmt"/>
|
|
1703
|
+
<line num="76" count="6" type="stmt"/>
|
|
1704
|
+
<line num="77" count="6" type="cond" truecount="1" falsecount="1"/>
|
|
1705
|
+
<line num="78" count="6" type="stmt"/>
|
|
1706
|
+
<line num="79" count="6" type="stmt"/>
|
|
1707
|
+
<line num="83" count="371" type="stmt"/>
|
|
1708
|
+
<line num="84" count="94" type="stmt"/>
|
|
1709
|
+
<line num="86" count="94" type="stmt"/>
|
|
1710
|
+
<line num="88" count="44" type="cond" truecount="1" falsecount="1"/>
|
|
1711
|
+
<line num="89" count="44" type="stmt"/>
|
|
1712
|
+
<line num="90" count="44" type="stmt"/>
|
|
1713
|
+
<line num="92" count="44" type="stmt"/>
|
|
1714
|
+
<line num="96" count="371" type="stmt"/>
|
|
1715
|
+
<line num="97" count="368" type="cond" truecount="4" falsecount="0"/>
|
|
1716
|
+
<line num="100" count="94" type="stmt"/>
|
|
1717
|
+
<line num="101" count="94" type="stmt"/>
|
|
1718
|
+
<line num="103" count="94" type="cond" truecount="1" falsecount="1"/>
|
|
1719
|
+
<line num="104" count="0" type="stmt"/>
|
|
1720
|
+
<line num="105" count="0" type="stmt"/>
|
|
1721
|
+
<line num="108" count="94" type="cond" truecount="1" falsecount="1"/>
|
|
1722
|
+
<line num="109" count="0" type="stmt"/>
|
|
1647
1723
|
<line num="112" count="0" type="stmt"/>
|
|
1648
|
-
<line num="115" count="
|
|
1724
|
+
<line num="115" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1649
1725
|
<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"/>
|
|
1726
|
+
<line num="124" count="94" type="cond" truecount="2" falsecount="0"/>
|
|
1727
|
+
<line num="125" count="6" type="stmt"/>
|
|
1728
|
+
<line num="127" count="6" type="stmt"/>
|
|
1729
|
+
<line num="139" count="371" type="stmt"/>
|
|
1730
|
+
<line num="145" count="16" type="stmt"/>
|
|
1731
|
+
<line num="157" count="16" type="stmt"/>
|
|
1659
1732
|
</file>
|
|
1660
1733
|
<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="
|
|
1734
|
+
<metrics statements="26" coveredstatements="20" conditionals="22" coveredconditionals="12" methods="6" coveredmethods="6"/>
|
|
1662
1735
|
<line num="20" count="40" type="stmt"/>
|
|
1663
1736
|
<line num="24" count="40" type="stmt"/>
|
|
1664
1737
|
<line num="25" count="40" type="stmt"/>
|
|
@@ -1679,8 +1752,8 @@
|
|
|
1679
1752
|
<line num="61" count="40" type="stmt"/>
|
|
1680
1753
|
<line num="62" count="20" type="stmt"/>
|
|
1681
1754
|
<line num="63" count="15" type="stmt"/>
|
|
1682
|
-
<line num="64" count="15" type="cond" truecount="
|
|
1683
|
-
<line num="65" count="
|
|
1755
|
+
<line num="64" count="15" type="cond" truecount="3" falsecount="1"/>
|
|
1756
|
+
<line num="65" count="0" type="stmt"/>
|
|
1684
1757
|
<line num="66" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1685
1758
|
<line num="67" count="0" type="stmt"/>
|
|
1686
1759
|
<line num="71" count="0" type="stmt"/>
|
|
@@ -1922,23 +1995,23 @@
|
|
|
1922
1995
|
<metrics statements="17" coveredstatements="7" conditionals="14" coveredconditionals="2" methods="3" coveredmethods="2"/>
|
|
1923
1996
|
<file name="useLayerHoverPopup.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useLayerHoverPopup/useLayerHoverPopup.tsx">
|
|
1924
1997
|
<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="
|
|
1998
|
+
<line num="26" count="10" type="stmt"/>
|
|
1999
|
+
<line num="27" count="24" type="stmt"/>
|
|
2000
|
+
<line num="31" count="24" type="stmt"/>
|
|
2001
|
+
<line num="38" count="24" type="stmt"/>
|
|
2002
|
+
<line num="39" count="6" type="cond" truecount="2" falsecount="2"/>
|
|
2003
|
+
<line num="40" count="0" type="stmt"/>
|
|
2004
|
+
<line num="49" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2005
|
+
<line num="52" count="0" type="stmt"/>
|
|
2006
|
+
<line num="54" count="0" type="stmt"/>
|
|
2007
|
+
<line num="55" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
2008
|
+
<line num="56" count="0" type="stmt"/>
|
|
2009
|
+
<line num="59" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2010
|
+
<line num="63" count="0" type="stmt"/>
|
|
2011
|
+
<line num="64" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
2012
|
+
<line num="70" count="0" type="stmt"/>
|
|
2013
|
+
<line num="77" count="24" type="stmt"/>
|
|
2014
|
+
<line num="80" count="10" type="stmt"/>
|
|
1942
2015
|
</file>
|
|
1943
2016
|
</package>
|
|
1944
2017
|
</project>
|