@mapcomponents/react-maplibre 0.1.46 → 0.1.51
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 +2 -1
- package/CHANGELOG.md +35 -0
- package/README.md +61 -150
- package/coverage/clover.xml +233 -226
- package/coverage/coverage-final.json +9 -9
- package/coverage/lcov-report/index.html +34 -34
- package/coverage/lcov-report/src/components/MapLibreMap/MapLibreMap.tsx.html +25 -25
- package/coverage/lcov-report/src/components/MapLibreMap/index.html +1 -1
- package/coverage/lcov-report/src/components/MlCreatePdfButton/MlCreatePdfButton.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlCreatePdfButton/index.html +1 -1
- package/coverage/lcov-report/src/components/MlFeatureEditor/MlFeatureEditor.tsx.html +72 -66
- package/coverage/lcov-report/src/components/MlFeatureEditor/index.html +18 -18
- package/coverage/lcov-report/src/components/MlFillExtrusionLayer/MlFillExtrusionLayer.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlFillExtrusionLayer/index.html +1 -1
- package/coverage/lcov-report/src/components/MlFollowGps/MlFollowGps.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlFollowGps/index.html +1 -1
- package/coverage/lcov-report/src/components/MlGPXViewer/MlGPXViewer.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlGPXViewer/gpxConverter.js.html +1 -1
- package/coverage/lcov-report/src/components/MlGPXViewer/index.html +1 -1
- package/coverage/lcov-report/src/components/MlGeoJsonLayer/MlGeoJsonLayer.tsx.html +26 -11
- package/coverage/lcov-report/src/components/MlGeoJsonLayer/index.html +1 -1
- package/coverage/lcov-report/src/components/MlImageMarkerLayer/MlImageMarkerLayer.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlImageMarkerLayer/index.html +1 -1
- package/coverage/lcov-report/src/components/MlLayer/MlLayer.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlLayer/index.html +1 -1
- package/coverage/lcov-report/src/components/MlLayerMagnify/MlLayerMagnify.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlLayerMagnify/index.html +1 -1
- package/coverage/lcov-report/src/components/MlLayerSwipe/MlLayerSwipe.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlLayerSwipe/index.html +1 -1
- package/coverage/lcov-report/src/components/MlLayerSwitcher/MlLayerSwitcher.js.html +1 -1
- package/coverage/lcov-report/src/components/MlLayerSwitcher/components/LayerBox.js.html +1 -1
- package/coverage/lcov-report/src/components/MlLayerSwitcher/components/index.html +1 -1
- package/coverage/lcov-report/src/components/MlLayerSwitcher/index.html +1 -1
- package/coverage/lcov-report/src/components/MlMarker/MlMarker.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlMarker/index.html +1 -1
- package/coverage/lcov-report/src/components/MlMeasureTool/MlMeasureTool.tsx.html +103 -22
- package/coverage/lcov-report/src/components/MlMeasureTool/index.html +15 -15
- 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 +1 -1
- package/coverage/lcov-report/src/components/MlScaleReference/index.html +1 -1
- package/coverage/lcov-report/src/components/MlShareMapState/MlShareMapState.js.html +1 -1
- package/coverage/lcov-report/src/components/MlShareMapState/index.html +1 -1
- package/coverage/lcov-report/src/components/MlSpatialElevationProfile/MlSpatialElevationProfile.js.html +1 -1
- package/coverage/lcov-report/src/components/MlSpatialElevationProfile/index.html +1 -1
- package/coverage/lcov-report/src/components/MlThreeJsLayer/MlThreeJsLayer.js.html +1 -1
- package/coverage/lcov-report/src/components/MlThreeJsLayer/index.html +1 -1
- package/coverage/lcov-report/src/components/MlTransitionGeoJsonLayer/MlTransitionGeoJsonLayer.tsx.html +22 -19
- package/coverage/lcov-report/src/components/MlTransitionGeoJsonLayer/index.html +1 -1
- package/coverage/lcov-report/src/components/MlUseMapDebugger/MlUseMapDebugger.js.html +1 -1
- package/coverage/lcov-report/src/components/MlUseMapDebugger/index.html +1 -1
- package/coverage/lcov-report/src/components/MlVectorTileLayer/MlVectorTileLayer.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlVectorTileLayer/index.html +1 -1
- package/coverage/lcov-report/src/components/MlWmsFeatureInfoPopup/MlWmsFeatureInfoPopup.js.html +1 -1
- package/coverage/lcov-report/src/components/MlWmsFeatureInfoPopup/index.html +1 -1
- package/coverage/lcov-report/src/components/MlWmsLayer/MlWmsLayer.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlWmsLayer/index.html +1 -1
- package/coverage/lcov-report/src/components/MlWmsLoader/MlWmsLoader.tsx.html +2 -2
- package/coverage/lcov-report/src/components/MlWmsLoader/index.html +1 -1
- package/coverage/lcov-report/src/contexts/MapContext.tsx.html +23 -23
- 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 +15 -15
- package/coverage/lcov-report/src/hooks/useLayer.ts.html +78 -69
- package/coverage/lcov-report/src/hooks/useMap.ts.html +25 -25
- package/coverage/lcov-report/src/hooks/useMapState.ts.html +28 -28
- package/coverage/lcov-report/src/hooks/useWms.js.html +2 -2
- package/coverage/lcov-report/src/index.html +1 -1
- package/coverage/lcov-report/src/index.ts.html +5 -2
- package/coverage/lcov.info +464 -443
- package/dist/components/MapLibreMap/MapLibreMap.d.ts +31 -0
- package/dist/components/MapLibreMap/MapLibreMap.stories.d.ts +15 -0
- package/dist/components/MapLibreMap/MapLibreMap.test.d.ts +1 -0
- package/dist/components/MapLibreMap/lib/MapLibreGlWrapper.d.ts +76 -0
- package/dist/components/MapLibreMap/lib/MapLibreGlWrapper.test.d.ts +1 -0
- package/dist/components/MlBasicComponent.d.ts +5 -0
- package/dist/components/MlComponentTemplate/MlComponentTemplate.d.ts +22 -0
- package/dist/components/MlComponentTemplate/MlComponentTemplate.stories.d.ts +10 -0
- package/dist/components/MlCreatePdfButton/MlCreatePdfButton.d.ts +21 -0
- package/dist/components/MlCreatePdfButton/MlCreatePdfButton.stories.d.ts +10 -0
- package/dist/components/MlCreatePdfButton/lib/createPdf.d.ts +2 -0
- package/dist/components/MlCreatePdfButton/lib/nominatimMap.d.ts +2 -0
- package/dist/components/MlFeatureEditor/MlFeatureEditor.d.ts +35 -0
- package/dist/components/MlFeatureEditor/MlFeatureEditor.stories.d.ts +15 -0
- package/dist/components/MlFeatureEditor/MlFeatureEditor.test.d.ts +1 -0
- package/dist/components/MlFeatureEditor/custom-direct-select-mode.d.ts +37 -0
- package/dist/components/MlFeatureEditor/custom-polygon-mode.d.ts +16 -0
- package/dist/components/MlFeatureEditor/custom-select-mode.d.ts +37 -0
- package/dist/components/MlFeatureEditor/lib/common_selectors.d.ts +11 -0
- package/dist/components/MlFeatureEditor/lib/constants.d.ts +85 -0
- package/dist/components/MlFeatureEditor/lib/constrain_feature_movement.d.ts +2 -0
- package/dist/components/MlFeatureEditor/lib/create_midpoint.d.ts +15 -0
- package/dist/components/MlFeatureEditor/lib/create_supplementary_points.d.ts +2 -0
- package/dist/components/MlFeatureEditor/lib/create_vertex.d.ts +13 -0
- package/dist/components/MlFeatureEditor/lib/double_click_zoom.d.ts +7 -0
- package/dist/components/MlFeatureEditor/lib/euclidean_distance.d.ts +5 -0
- package/dist/components/MlFeatureEditor/lib/features_at.d.ts +7 -0
- package/dist/components/MlFeatureEditor/lib/get_features_and_set_cursor.d.ts +1 -0
- package/dist/components/MlFeatureEditor/lib/is_click.d.ts +1 -0
- package/dist/components/MlFeatureEditor/lib/is_event_at_coordinates.d.ts +6 -0
- package/dist/components/MlFeatureEditor/lib/is_tap.d.ts +3 -0
- package/dist/components/MlFeatureEditor/lib/map_event_to_bounding_box.d.ts +12 -0
- package/dist/components/MlFeatureEditor/lib/mode_handler.d.ts +24 -0
- package/dist/components/MlFeatureEditor/lib/mouse_event_point.d.ts +11 -0
- package/dist/components/MlFeatureEditor/lib/move_features.d.ts +2 -0
- package/dist/components/MlFeatureEditor/lib/sort_features.d.ts +2 -0
- package/dist/components/MlFeatureEditor/lib/string_set.d.ts +21 -0
- package/dist/components/MlFeatureEditor/lib/string_sets_are_equal.d.ts +5 -0
- package/dist/components/MlFeatureEditor/lib/theme.d.ts +88 -0
- package/dist/components/MlFeatureEditor/lib/to_dense_array.d.ts +12 -0
- package/dist/components/MlFeatureEditor/lib/utils.d.ts +10 -0
- package/dist/components/MlFillExtrusionLayer/MlFillExtrusionLayer.d.ts +61 -0
- package/dist/components/MlFillExtrusionLayer/MlFillExtrusionLayer.stories.d.ts +10 -0
- package/dist/components/MlFillExtrusionLayer/MlFillExtrusionLayer.test.d.ts +1 -0
- package/dist/components/MlFollowGps/MlFollowGps.d.ts +80 -0
- package/dist/components/MlFollowGps/MlFollowGps.stories.d.ts +10 -0
- package/dist/components/MlFollowGps/MlFollowGps.test.d.ts +1 -0
- package/dist/components/MlGPXViewer/MlGPXViewer.d.ts +29 -0
- package/dist/components/MlGPXViewer/MlGPXViewer.stories.d.ts +16 -0
- package/dist/components/MlGPXViewer/MlGPXViewer.test.d.ts +1 -0
- package/dist/components/MlGPXViewer/gpxConverter.d.ts +11 -0
- package/dist/components/MlGPXViewer/util/GeoJsonContext.d.ts +10 -0
- package/dist/components/MlGPXViewer/util/GeoJsonProvider.d.ts +4 -0
- package/dist/components/MlGeoJsonLayer/MlGeoJsonLayer.d.ts +76 -0
- package/dist/components/MlGeoJsonLayer/MlGeoJsonLayer.stories.d.ts +12 -0
- package/dist/components/MlGeoJsonLayer/MlGeoJsonLayer.test.d.ts +1 -0
- package/dist/components/MlGeoJsonLayer/util/getDefaultLayerTypeByGeometry.d.ts +2 -0
- package/dist/components/MlGeoJsonLayer/util/getDefaultPaintPropsByType.d.ts +2 -0
- package/dist/components/MlImageMarkerLayer/MlImageMarkerLayer.d.ts +29 -0
- package/dist/components/MlImageMarkerLayer/MlImageMarkerLayer.stories.d.ts +10 -0
- package/dist/components/MlImageMarkerLayer/MlImageMarkerLayer.test.d.ts +1 -0
- package/dist/components/MlLayer/MlLayer.d.ts +26 -0
- package/dist/components/MlLayer/MlLayer.stories.d.ts +10 -0
- package/dist/components/MlLayer/MlLayer.test.d.ts +1 -0
- package/dist/components/MlLayerMagnify/MlLayerMagnify.d.ts +27 -0
- package/dist/components/MlLayerMagnify/MlLayerMagnify.stories.d.ts +10 -0
- package/dist/components/MlLayerMagnify/MlLayerMagnify.test.d.ts +1 -0
- package/dist/components/MlLayerSwipe/MlLayerSwipe.d.ts +16 -0
- package/dist/components/MlLayerSwipe/MlLayerSwipe.stories.d.ts +11 -0
- package/dist/components/MlLayerSwipe/MlLayerSwipe.test.d.ts +1 -0
- package/dist/components/MlLayerSwitcher/MlLayerSwitcher.d.ts +30 -0
- package/dist/components/MlLayerSwitcher/MlLayerSwitcher.stories.d.ts +13 -0
- package/dist/components/MlLayerSwitcher/components/LayerBox.d.ts +6 -0
- package/dist/components/MlMarker/MlMarker.d.ts +33 -0
- package/dist/components/MlMarker/MlMarker.stories.d.ts +9 -0
- package/dist/components/MlMeasureTool/MlMeasureTool.d.ts +20 -0
- package/dist/components/MlMeasureTool/MlMeasureTool.stories.d.ts +11 -0
- package/dist/components/MlNavigationCompass/MlNavigationCompass.d.ts +47 -0
- package/dist/components/MlNavigationCompass/MlNavigationCompass.stories.d.ts +10 -0
- package/dist/components/MlNavigationCompass/MlNavigationCompass.test.d.ts +1 -0
- package/dist/components/MlNavigationTools/MlNavigationTools.d.ts +9 -0
- package/dist/components/MlNavigationTools/MlNavigationTools.stories.d.ts +13 -0
- package/dist/components/MlOsmLayer/MlOsmLayer.d.ts +18 -0
- package/dist/components/MlOsmLayer/MlOsmLayer.stories_.d.ts +16 -0
- package/dist/components/MlOsmLayer/MlOsmLayer.test.d.ts +1 -0
- package/dist/components/MlScaleReference/MlScaleReference.d.ts +2 -0
- package/dist/components/MlScaleReference/MlScaleReference.stories.d.ts +14 -0
- package/dist/components/MlShareMapState/MlShareMapState.d.ts +22 -0
- package/dist/components/MlShareMapState/MlShareMapState.stories.d.ts +10 -0
- package/dist/components/MlSpatialElevationProfile/MlSpatialElevationProfile.d.ts +20 -0
- package/dist/components/MlSpatialElevationProfile/MlSpatialElevationProfile.stories.d.ts +16 -0
- package/dist/components/MlSpatialElevationProfile/MlSpatialElevationProfile.test.d.ts +1 -0
- package/dist/components/MlThreeJsLayer/MlThreeJsLayer.d.ts +15 -0
- package/dist/components/MlThreeJsLayer/MlThreeJsLayer.stories.d.ts +16 -0
- package/dist/components/MlThreeJsLayer/MlThreeJsLayer.test.d.ts +1 -0
- package/dist/components/MlThreeJsLayer/lib/GLTFLoader.d.ts +17 -0
- package/dist/components/MlTransitionGeoJsonLayer/MlTransitionGeoJsonLayer.d.ts +73 -0
- package/dist/components/MlTransitionGeoJsonLayer/MlTransitionGeoJsonLayer.stories.d.ts +13 -0
- package/dist/components/MlTransitionGeoJsonLayer/MlTransitionGeoJsonLayer.test.d.ts +1 -0
- package/dist/components/MlTransitionGeoJsonLayer/util/transitionFunctions.d.ts +2 -0
- package/dist/components/MlUseMapDebugger/MlUseMapDebugger.d.ts +22 -0
- package/dist/components/MlUseMapDebugger/MlUseMapDebugger.stories.d.ts +13 -0
- package/dist/components/MlVectorTileLayer/MlVectorTileLayer.d.ts +37 -0
- package/dist/components/MlVectorTileLayer/MlVectorTileLayer.stories.d.ts +13 -0
- package/dist/components/MlVectorTileLayer/MlVectorTileLayer.test.d.ts +1 -0
- package/dist/components/MlWmsFeatureInfoPopup/MlWmsFeatureInfoPopup.d.ts +22 -0
- package/dist/components/MlWmsFeatureInfoPopup/MlWmsFeatureInfoPopup.stories.d.ts +13 -0
- package/dist/components/MlWmsLayer/MlWmsLayer.d.ts +100 -0
- package/dist/components/MlWmsLayer/MlWmsLayer.stories.d.ts +13 -0
- package/dist/components/MlWmsLayer/MlWmsLayer.test.d.ts +1 -0
- package/dist/components/MlWmsLoader/MlWmsLoader.d.ts +48 -0
- package/dist/components/MlWmsLoader/MlWmsLoader.stories.d.ts +13 -0
- package/dist/contexts/MapComponentsProvider.test.d.ts +1 -0
- package/dist/contexts/MapContext.d.ts +13 -0
- package/dist/contexts/SimpleDataContext.d.ts +4 -0
- package/dist/contexts/SimpleDataProvider.d.ts +8 -0
- package/dist/contexts/SimpleDataProvider.test.d.ts +1 -0
- package/dist/custom.d.d.ts +22 -0
- package/dist/decorators/MapContextDecorator.d.ts +2 -0
- package/dist/decorators/MultiMapContextDecorator.d.ts +2 -0
- package/dist/hooks/useLayer.d.ts +26 -0
- package/dist/hooks/useLayer.test.d.ts +1 -0
- package/dist/hooks/useMap.d.ts +14 -0
- package/dist/hooks/useMapState.d.ts +62 -0
- package/dist/hooks/useMapState.stories.d.ts +14 -0
- package/dist/hooks/useWms.d.ts +18 -0
- package/dist/index.d.ts +32 -0
- package/dist/index.esm.js +66 -24
- package/dist/index.esm.js.map +1 -1
- package/dist/setupTests.d.ts +12 -0
- package/dist/stories/components/Readme.d.ts +2 -0
- package/dist/ui_components/ImageLoader.d.ts +2 -0
- package/dist/ui_components/Legend.d.ts +1 -0
- package/dist/ui_components/LoadingOverlay.d.ts +2 -0
- package/dist/ui_components/LoadingOverlayContext.d.ts +11 -0
- package/dist/ui_components/Sidebar.d.ts +1 -0
- package/dist/ui_components/Tooltip.d.ts +1 -0
- package/dist/ui_components/TopToolbar.d.ts +1 -0
- package/dist/util/index.d.ts +3 -0
- package/dist/util/layerRemovalTest.d.ts +2 -0
- package/dist/util/sourceRemovalTest.d.ts +2 -0
- package/package.json +2 -1
- package/public/catalogue/mc_meta.json +1 -0
- package/src/components/MapLibreMap/MapLibreMap.tsx +1 -1
- package/src/components/MapLibreMap/lib/MapLibreGlWrapper.ts +4 -3
- package/src/components/MlFeatureEditor/MlFeatureEditor.stories.js +1 -2
- package/src/components/MlFeatureEditor/MlFeatureEditor.test.js +3 -3
- package/src/components/MlFeatureEditor/MlFeatureEditor.tsx +40 -38
- package/src/components/MlFeatureEditor/lib/utils.js +1 -2
- package/src/components/MlGeoJsonLayer/MlGeoJsonLayer.tsx +14 -9
- package/src/components/MlGeoJsonLayer/util/getDefaultLayerTypeByGeometry.ts +2 -1
- package/src/components/MlMeasureTool/MlMeasureTool.stories.js +68 -39
- package/src/components/MlMeasureTool/MlMeasureTool.tsx +38 -11
- package/src/components/MlTransitionGeoJsonLayer/MlTransitionGeoJsonLayer.tsx +18 -17
- package/src/components/MlWmsLoader/MlWmsLoader.stories.js +1 -1
- package/src/components/MlWmsLoader/MlWmsLoader.tsx +1 -1
- package/src/hooks/useLayer.test.js +205 -0
- package/src/hooks/useLayer.ts +11 -8
- package/src/hooks/useWms.js +1 -1
- package/src/index.ts +1 -0
- package/tsconfig.json +35 -7
- package/docs-build/0.0ee4f98c.iframe.bundle.js +0 -2
- package/docs-build/0.0ee4f98c.iframe.bundle.js.map +0 -1
- package/docs-build/0.20735a16c2ad9677fe7d.manager.bundle.js +0 -1
- package/docs-build/1.bb3cf738.iframe.bundle.js +0 -10
- package/docs-build/1.bb3cf738.iframe.bundle.js.map +0 -1
- package/docs-build/17.97db5b3f.iframe.bundle.js +0 -2
- package/docs-build/17.97db5b3f.iframe.bundle.js.map +0 -1
- package/docs-build/18.f8d843df.iframe.bundle.js +0 -17
- package/docs-build/18.f8d843df.iframe.bundle.js.map +0 -1
- package/docs-build/19.c45e6b08.iframe.bundle.js +0 -14
- package/docs-build/19.c45e6b08.iframe.bundle.js.map +0 -1
- package/docs-build/2.42c790e4.iframe.bundle.js +0 -2
- package/docs-build/2.42c790e4.iframe.bundle.js.map +0 -1
- package/docs-build/20.120bbcfb.iframe.bundle.js +0 -2
- package/docs-build/20.120bbcfb.iframe.bundle.js.map +0 -1
- package/docs-build/21.37c885f1.iframe.bundle.js +0 -4
- package/docs-build/21.37c885f1.iframe.bundle.js.map +0 -1
- package/docs-build/22.7fbc99f4.iframe.bundle.js +0 -22
- package/docs-build/22.7fbc99f4.iframe.bundle.js.map +0 -1
- package/docs-build/3.1a37a83e.iframe.bundle.js +0 -2
- package/docs-build/3.1a37a83e.iframe.bundle.js.map +0 -1
- package/docs-build/4.8ac31bba1926f4f011b0.manager.bundle.js +0 -2
- package/docs-build/4.8ac31bba1926f4f011b0.manager.bundle.js.LICENSE.txt +0 -8
- package/docs-build/5.daf044a6c0f55d839078.manager.bundle.js +0 -1
- package/docs-build/6.99fba2cf6af0473f8209.manager.bundle.js +0 -2
- package/docs-build/6.99fba2cf6af0473f8209.manager.bundle.js.LICENSE.txt +0 -12
- package/docs-build/7.b6a48b90f61cb575c2e4.manager.bundle.js +0 -1
- package/docs-build/8.50518a5391398d9d5812.manager.bundle.js +0 -1
- package/docs-build/assets/3D/godzilla_simple.glb +0 -0
- package/docs-build/assets/dop.png +0 -0
- package/docs-build/assets/historic.png +0 -0
- package/docs-build/assets/marker.png +0 -0
- package/docs-build/assets/osm.png +0 -0
- package/docs-build/assets/sample.gpx +0 -716
- package/docs-build/catalogue/.gitkeep +0 -0
- package/docs-build/catalogue/mc_meta.json +0 -1
- package/docs-build/favicon.ico +0 -0
- package/docs-build/iframe.html +0 -348
- package/docs-build/index.html +0 -59
- package/docs-build/logo.png +0 -0
- package/docs-build/main.ef9704b1252e8efa56a0.manager.bundle.js +0 -1
- package/docs-build/main~24120820.905c51c8.iframe.bundle.js +0 -2
- package/docs-build/main~24120820.905c51c8.iframe.bundle.js.map +0 -1
- package/docs-build/manifest.json +0 -25
- package/docs-build/robots.txt +0 -3
- package/docs-build/runtime~main.6e6ed7dc9ea4785ef286.manager.bundle.js +0 -1
- package/docs-build/static/media/mapcomponents_logo.98b01a05.png +0 -0
- package/docs-build/static/media/wg-marker.bf3eeb2d.png +0 -0
- package/docs-build/thumbnails/MapLibreMap.png +0 -0
- package/docs-build/thumbnails/MlCameraFollowPath.png +0 -0
- package/docs-build/thumbnails/MlCreatePdfButton.png +0 -0
- package/docs-build/thumbnails/MlDeckGlLayer.png +0 -0
- package/docs-build/thumbnails/MlDeckGlTerrainLayer.png +0 -0
- package/docs-build/thumbnails/MlDemoDashboard.png +0 -0
- package/docs-build/thumbnails/MlFeatureEditor.png +0 -0
- package/docs-build/thumbnails/MlFillExtrusionLayer.png +0 -0
- package/docs-build/thumbnails/MlFollowGps.png +0 -0
- package/docs-build/thumbnails/MlGPXViewer.png +0 -0
- package/docs-build/thumbnails/MlGeoJsonLayer.png +0 -0
- package/docs-build/thumbnails/MlHillshadeLayer.png +0 -0
- package/docs-build/thumbnails/MlIconLayer.png +0 -0
- package/docs-build/thumbnails/MlLaermkarte.png +0 -0
- package/docs-build/thumbnails/MlLayerMagnify.png +0 -0
- package/docs-build/thumbnails/MlLayerSwipe.png +0 -0
- package/docs-build/thumbnails/MlMapDrawTools.png +0 -0
- package/docs-build/thumbnails/MlMeasureTool.png +0 -0
- package/docs-build/thumbnails/MlMobilerImker.png +0 -0
- package/docs-build/thumbnails/MlNavigationCompass.png +0 -0
- package/docs-build/thumbnails/MlNavigationTools.png +0 -0
- package/docs-build/thumbnails/MlOsmLayer.png +0 -0
- package/docs-build/thumbnails/MlScaleReference.png +0 -0
- package/docs-build/thumbnails/MlSpatialElevationProfile.png +0 -0
- package/docs-build/thumbnails/MlThreeJsLayer.png +0 -0
- package/docs-build/thumbnails/MlTransitionGeoJsonLayer.png +0 -0
- package/docs-build/thumbnails/MlVectorTileLayer.png +0 -0
- package/docs-build/thumbnails/MlWanderApp.png +0 -0
- package/docs-build/thumbnails/MlWmsLayer.png +0 -0
- package/docs-build/thumbnails/MlWmsLoader.png +0 -0
- package/docs-build/vendors~main.4b570b3072ba06ee44b5.manager.bundle.js +0 -2
- package/docs-build/vendors~main.4b570b3072ba06ee44b5.manager.bundle.js.LICENSE.txt +0 -104
- package/docs-build/vendors~main~0ad7406a.93aea1be.iframe.bundle.js +0 -8
- package/docs-build/vendors~main~0ad7406a.93aea1be.iframe.bundle.js.map +0 -1
- package/docs-build/vendors~main~0f485567.6e7163ef.iframe.bundle.js +0 -2
- package/docs-build/vendors~main~0f485567.6e7163ef.iframe.bundle.js.map +0 -1
- package/docs-build/vendors~main~41a6ab2c.da377733.iframe.bundle.js +0 -2
- package/docs-build/vendors~main~41a6ab2c.da377733.iframe.bundle.js.map +0 -1
- package/docs-build/vendors~main~52589227.cebbe724.iframe.bundle.js +0 -8
- package/docs-build/vendors~main~52589227.cebbe724.iframe.bundle.js.map +0 -1
- package/docs-build/vendors~main~57c1f6cb.86178471.iframe.bundle.js +0 -2
- package/docs-build/vendors~main~57c1f6cb.86178471.iframe.bundle.js.map +0 -1
- package/docs-build/vendors~main~73914085.e2f34f8e.iframe.bundle.js +0 -293
- package/docs-build/vendors~main~73914085.e2f34f8e.iframe.bundle.js.map +0 -1
- package/docs-build/vendors~main~9c5b28f6.eefa7445.iframe.bundle.js +0 -7
- package/docs-build/vendors~main~9c5b28f6.eefa7445.iframe.bundle.js.map +0 -1
- package/docs-build/vendors~main~b5906859.210afc21.iframe.bundle.js +0 -21
- package/docs-build/vendors~main~b5906859.210afc21.iframe.bundle.js.map +0 -1
- package/docs-build/vendors~main~b8f44717.7b869975.iframe.bundle.js +0 -89
- package/docs-build/vendors~main~b8f44717.7b869975.iframe.bundle.js.map +0 -1
- package/docs-build/vendors~main~b9cf3951.62d39717.iframe.bundle.js +0 -63
- package/docs-build/vendors~main~b9cf3951.62d39717.iframe.bundle.js.map +0 -1
- package/docs-build/vendors~main~d939e436.394e3bc7.iframe.bundle.js +0 -2
- package/docs-build/vendors~main~d939e436.394e3bc7.iframe.bundle.js.map +0 -1
- package/docs-build/vendors~main~f420d588.88814a6a.iframe.bundle.js +0 -107
- package/docs-build/vendors~main~f420d588.88814a6a.iframe.bundle.js.map +0 -1
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="1657660766940" clover="3.2.0">
|
|
3
|
+
<project timestamp="1657660766941" name="All files">
|
|
4
|
+
<metrics statements="1626" coveredstatements="624" conditionals="1001" coveredconditionals="301" methods="294" coveredmethods="105" elements="2921" coveredelements="1030" complexity="0" loc="1626" ncloc="1626" packages="31" files="38" classes="38"/>
|
|
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">
|
|
@@ -12,36 +12,36 @@
|
|
|
12
12
|
<metrics statements="30" coveredstatements="27" conditionals="11" coveredconditionals="8" 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
14
|
<metrics statements="30" coveredstatements="27" conditionals="11" coveredconditionals="8" methods="7" coveredmethods="7"/>
|
|
15
|
-
<line num="26" count="
|
|
16
|
-
<line num="61" count="
|
|
17
|
-
<line num="62" count="
|
|
18
|
-
<line num="63" count="
|
|
19
|
-
<line num="65" count="
|
|
20
|
-
<line num="67" count="
|
|
21
|
-
<line num="68" count="
|
|
22
|
-
<line num="69" count="
|
|
23
|
-
<line num="71" count="
|
|
24
|
-
<line num="72" count="
|
|
25
|
-
<line num="74" count="
|
|
15
|
+
<line num="26" count="19" type="stmt"/>
|
|
16
|
+
<line num="61" count="19" type="stmt"/>
|
|
17
|
+
<line num="62" count="271" type="stmt"/>
|
|
18
|
+
<line num="63" count="271" type="stmt"/>
|
|
19
|
+
<line num="65" count="271" type="stmt"/>
|
|
20
|
+
<line num="67" count="271" type="stmt"/>
|
|
21
|
+
<line num="68" count="271" type="stmt"/>
|
|
22
|
+
<line num="69" count="271" type="stmt"/>
|
|
23
|
+
<line num="71" count="271" type="stmt"/>
|
|
24
|
+
<line num="72" count="82" type="stmt"/>
|
|
25
|
+
<line num="74" count="82" type="stmt"/>
|
|
26
26
|
<line num="75" count="2" type="stmt"/>
|
|
27
27
|
<line num="76" count="2" type="stmt"/>
|
|
28
28
|
<line num="77" count="2" type="stmt"/>
|
|
29
|
-
<line num="81" count="
|
|
30
|
-
<line num="82" count="
|
|
31
|
-
<line num="84" count="
|
|
32
|
-
<line num="85" count="
|
|
33
|
-
<line num="86" count="
|
|
34
|
-
<line num="93" count="
|
|
35
|
-
<line num="94" count="
|
|
29
|
+
<line num="81" count="271" type="stmt"/>
|
|
30
|
+
<line num="82" count="82" type="cond" truecount="1" falsecount="1"/>
|
|
31
|
+
<line num="84" count="82" type="cond" truecount="1" falsecount="1"/>
|
|
32
|
+
<line num="85" count="82" type="stmt"/>
|
|
33
|
+
<line num="86" count="82" type="stmt"/>
|
|
34
|
+
<line num="93" count="82" type="stmt"/>
|
|
35
|
+
<line num="94" count="82" type="cond" truecount="2" falsecount="0"/>
|
|
36
36
|
<line num="95" count="6" type="stmt"/>
|
|
37
|
-
<line num="97" count="
|
|
38
|
-
<line num="105" count="
|
|
39
|
-
<line num="106" count="
|
|
37
|
+
<line num="97" count="76" type="stmt"/>
|
|
38
|
+
<line num="105" count="271" type="stmt"/>
|
|
39
|
+
<line num="106" count="82" type="cond" truecount="4" falsecount="1"/>
|
|
40
40
|
<line num="107" count="0" type="stmt"/>
|
|
41
41
|
<line num="108" count="0" type="stmt"/>
|
|
42
42
|
<line num="109" count="0" type="stmt"/>
|
|
43
|
-
<line num="114" count="
|
|
44
|
-
<line num="117" count="
|
|
43
|
+
<line num="114" count="271" type="stmt"/>
|
|
44
|
+
<line num="117" count="19" type="stmt"/>
|
|
45
45
|
</file>
|
|
46
46
|
</package>
|
|
47
47
|
<package name="src.components.MlCreatePdfButton">
|
|
@@ -57,42 +57,45 @@
|
|
|
57
57
|
</file>
|
|
58
58
|
</package>
|
|
59
59
|
<package name="src.components.MlFeatureEditor">
|
|
60
|
-
<metrics statements="
|
|
60
|
+
<metrics statements="36" coveredstatements="29" conditionals="29" coveredconditionals="20" methods="8" coveredmethods="6"/>
|
|
61
61
|
<file name="MlFeatureEditor.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlFeatureEditor/MlFeatureEditor.tsx">
|
|
62
|
-
<metrics statements="
|
|
63
|
-
<line num="
|
|
62
|
+
<metrics statements="36" coveredstatements="29" conditionals="29" coveredconditionals="20" methods="8" coveredmethods="6"/>
|
|
63
|
+
<line num="44" count="11" type="stmt"/>
|
|
64
|
+
<line num="45" count="16" type="stmt"/>
|
|
64
65
|
<line num="46" count="16" type="stmt"/>
|
|
65
|
-
<line num="47" count="16" type="stmt"/>
|
|
66
66
|
<line num="51" count="16" type="stmt"/>
|
|
67
|
-
<line num="
|
|
68
|
-
<line num="
|
|
69
|
-
<line num="56" count="
|
|
70
|
-
<line num="
|
|
71
|
-
<line num="
|
|
72
|
-
<line num="
|
|
73
|
-
<line num="64" count="
|
|
74
|
-
<line num="
|
|
75
|
-
<line num="
|
|
76
|
-
<line num="
|
|
77
|
-
<line num="
|
|
78
|
-
<line num="
|
|
79
|
-
<line num="
|
|
80
|
-
<line num="
|
|
81
|
-
<line num="
|
|
82
|
-
<line num="
|
|
83
|
-
<line num="
|
|
84
|
-
<line num="
|
|
85
|
-
<line num="
|
|
67
|
+
<line num="52" count="16" type="stmt"/>
|
|
68
|
+
<line num="55" count="16" type="stmt"/>
|
|
69
|
+
<line num="56" count="0" type="stmt"/>
|
|
70
|
+
<line num="60" count="16" type="stmt"/>
|
|
71
|
+
<line num="61" count="12" type="cond" truecount="4" falsecount="0"/>
|
|
72
|
+
<line num="62" count="4" type="stmt"/>
|
|
73
|
+
<line num="64" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
74
|
+
<line num="71" count="0" type="stmt"/>
|
|
75
|
+
<line num="74" count="4" type="stmt"/>
|
|
76
|
+
<line num="88" count="4" type="stmt"/>
|
|
77
|
+
<line num="91" count="4" type="stmt"/>
|
|
78
|
+
<line num="93" count="4" type="stmt"/>
|
|
79
|
+
<line num="97" count="16" type="stmt"/>
|
|
80
|
+
<line num="98" count="12" type="cond" truecount="4" falsecount="0"/>
|
|
81
|
+
<line num="100" count="4" type="stmt"/>
|
|
82
|
+
<line num="101" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
83
|
+
<line num="103" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
84
|
+
<line num="104" count="0" type="stmt"/>
|
|
85
|
+
<line num="105" count="0" type="stmt"/>
|
|
86
|
+
<line num="110" count="4" type="stmt"/>
|
|
87
|
+
<line num="112" count="4" type="stmt"/>
|
|
86
88
|
<line num="114" count="4" type="stmt"/>
|
|
87
|
-
<line num="
|
|
88
|
-
<line num="
|
|
89
|
-
<line num="
|
|
90
|
-
<line num="
|
|
91
|
-
<line num="
|
|
92
|
-
<line num="
|
|
93
|
-
<line num="
|
|
94
|
-
<line num="131" count="
|
|
95
|
-
<line num="
|
|
89
|
+
<line num="115" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
90
|
+
<line num="117" count="2" type="stmt"/>
|
|
91
|
+
<line num="119" count="2" type="stmt"/>
|
|
92
|
+
<line num="124" count="16" type="stmt"/>
|
|
93
|
+
<line num="125" count="8" type="cond" truecount="4" falsecount="0"/>
|
|
94
|
+
<line num="126" count="4" type="stmt"/>
|
|
95
|
+
<line num="130" count="16" type="stmt"/>
|
|
96
|
+
<line num="131" count="4" type="cond" truecount="3" falsecount="1"/>
|
|
97
|
+
<line num="133" count="0" type="stmt"/>
|
|
98
|
+
<line num="137" count="16" type="stmt"/>
|
|
96
99
|
</file>
|
|
97
100
|
</package>
|
|
98
101
|
<package name="src.components.MlFillExtrusionLayer">
|
|
@@ -563,10 +566,10 @@
|
|
|
563
566
|
<metrics statements="4" coveredstatements="4" conditionals="8" coveredconditionals="7" methods="1" coveredmethods="1"/>
|
|
564
567
|
<file name="MlGeoJsonLayer.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlGeoJsonLayer/MlGeoJsonLayer.tsx">
|
|
565
568
|
<metrics statements="4" coveredstatements="4" conditionals="8" coveredconditionals="7" methods="1" coveredmethods="1"/>
|
|
566
|
-
<line num="
|
|
567
|
-
<line num="
|
|
568
|
-
<line num="
|
|
569
|
-
<line num="
|
|
569
|
+
<line num="83" count="11" type="stmt"/>
|
|
570
|
+
<line num="84" count="32" type="cond" truecount="1" falsecount="1"/>
|
|
571
|
+
<line num="86" count="32" type="stmt"/>
|
|
572
|
+
<line num="107" count="32" type="stmt"/>
|
|
570
573
|
</file>
|
|
571
574
|
</package>
|
|
572
575
|
<package name="src.components.MlImageMarkerLayer">
|
|
@@ -874,16 +877,20 @@
|
|
|
874
877
|
</file>
|
|
875
878
|
</package>
|
|
876
879
|
<package name="src.components.MlMeasureTool">
|
|
877
|
-
<metrics statements="
|
|
880
|
+
<metrics statements="11" coveredstatements="2" conditionals="12" coveredconditionals="0" methods="5" coveredmethods="0"/>
|
|
878
881
|
<file name="MlMeasureTool.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlMeasureTool/MlMeasureTool.tsx">
|
|
879
|
-
<metrics statements="
|
|
880
|
-
<line num="12" count="0" type="stmt"/>
|
|
881
|
-
<line num="13" count="0" type="stmt"/>
|
|
882
|
-
<line num="15" count="0" type="stmt"/>
|
|
883
|
-
<line num="19" count="0" type="stmt"/>
|
|
884
|
-
<line num="20" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
882
|
+
<metrics statements="11" coveredstatements="2" conditionals="12" coveredconditionals="0" methods="5" coveredmethods="0"/>
|
|
885
883
|
<line num="21" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
884
|
+
<line num="24" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
885
|
+
<line num="27" count="10" type="stmt"/>
|
|
886
|
+
<line num="28" count="0" type="stmt"/>
|
|
886
887
|
<line num="29" count="0" type="stmt"/>
|
|
888
|
+
<line num="31" count="0" type="stmt"/>
|
|
889
|
+
<line num="32" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
890
|
+
<line num="33" count="0" type="stmt"/>
|
|
891
|
+
<line num="41" count="0" type="stmt"/>
|
|
892
|
+
<line num="45" count="0" type="stmt"/>
|
|
893
|
+
<line num="55" count="10" type="stmt"/>
|
|
887
894
|
</file>
|
|
888
895
|
</package>
|
|
889
896
|
<package name="src.components.MlNavigationCompass">
|
|
@@ -1290,42 +1297,42 @@
|
|
|
1290
1297
|
<metrics statements="36" coveredstatements="25" conditionals="22" coveredconditionals="11" methods="7" coveredmethods="6"/>
|
|
1291
1298
|
<file name="MlTransitionGeoJsonLayer.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/components/MlTransitionGeoJsonLayer/MlTransitionGeoJsonLayer.tsx">
|
|
1292
1299
|
<metrics statements="36" coveredstatements="25" conditionals="22" coveredconditionals="11" methods="7" coveredmethods="6"/>
|
|
1293
|
-
<line num="
|
|
1294
|
-
<line num="
|
|
1295
|
-
<line num="
|
|
1296
|
-
<line num="
|
|
1297
|
-
<line num="
|
|
1298
|
-
<line num="89" count="12" type="stmt"/>
|
|
1300
|
+
<line num="12" count="10" type="stmt"/>
|
|
1301
|
+
<line num="80" count="10" type="stmt"/>
|
|
1302
|
+
<line num="81" count="12" type="stmt"/>
|
|
1303
|
+
<line num="83" count="12" type="stmt"/>
|
|
1304
|
+
<line num="87" count="12" type="stmt"/>
|
|
1299
1305
|
<line num="90" count="12" type="stmt"/>
|
|
1300
1306
|
<line num="91" count="12" type="stmt"/>
|
|
1301
1307
|
<line num="92" count="12" type="stmt"/>
|
|
1302
1308
|
<line num="93" count="12" type="stmt"/>
|
|
1303
1309
|
<line num="94" count="12" type="stmt"/>
|
|
1304
1310
|
<line num="95" count="12" type="stmt"/>
|
|
1305
|
-
<line num="
|
|
1306
|
-
<line num="100" count="
|
|
1307
|
-
<line num="
|
|
1308
|
-
<line num="103" count="
|
|
1309
|
-
<line num="
|
|
1310
|
-
<line num="109" count="
|
|
1311
|
-
<line num="
|
|
1312
|
-
<line num="124" count="
|
|
1313
|
-
<line num="
|
|
1314
|
-
<line num="
|
|
1311
|
+
<line num="96" count="12" type="stmt"/>
|
|
1312
|
+
<line num="100" count="12" type="stmt"/>
|
|
1313
|
+
<line num="101" count="4" type="stmt"/>
|
|
1314
|
+
<line num="103" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
1315
|
+
<line num="104" count="0" type="stmt"/>
|
|
1316
|
+
<line num="109" count="12" type="stmt"/>
|
|
1317
|
+
<line num="110" count="0" type="stmt"/>
|
|
1318
|
+
<line num="124" count="12" type="stmt"/>
|
|
1319
|
+
<line num="125" count="8" type="cond" truecount="3" falsecount="1"/>
|
|
1320
|
+
<line num="127" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1315
1321
|
<line num="132" count="0" type="stmt"/>
|
|
1316
1322
|
<line num="133" count="0" type="stmt"/>
|
|
1317
1323
|
<line num="134" count="0" type="stmt"/>
|
|
1318
1324
|
<line num="135" count="0" type="stmt"/>
|
|
1319
|
-
<line num="
|
|
1320
|
-
<line num="
|
|
1321
|
-
<line num="141" count="
|
|
1322
|
-
<line num="
|
|
1325
|
+
<line num="136" count="0" type="stmt"/>
|
|
1326
|
+
<line num="138" count="0" type="stmt"/>
|
|
1327
|
+
<line num="141" count="12" type="stmt"/>
|
|
1328
|
+
<line num="142" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
1323
1329
|
<line num="149" count="0" type="stmt"/>
|
|
1324
|
-
<line num="
|
|
1325
|
-
<line num="154" count="
|
|
1326
|
-
<line num="
|
|
1327
|
-
<line num="
|
|
1328
|
-
<line num="
|
|
1330
|
+
<line num="150" count="0" type="stmt"/>
|
|
1331
|
+
<line num="154" count="12" type="stmt"/>
|
|
1332
|
+
<line num="155" count="8" type="cond" truecount="4" falsecount="0"/>
|
|
1333
|
+
<line num="157" count="4" type="stmt"/>
|
|
1334
|
+
<line num="159" count="4" type="stmt"/>
|
|
1335
|
+
<line num="162" count="12" type="stmt"/>
|
|
1329
1336
|
</file>
|
|
1330
1337
|
</package>
|
|
1331
1338
|
<package name="src.components.MlUseMapDebugger">
|
|
@@ -1559,13 +1566,13 @@
|
|
|
1559
1566
|
<metrics statements="73" coveredstatements="71" conditionals="54" coveredconditionals="45" methods="10" coveredmethods="10"/>
|
|
1560
1567
|
<file name="MapContext.tsx" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/contexts/MapContext.tsx">
|
|
1561
1568
|
<metrics statements="42" coveredstatements="42" conditionals="34" coveredconditionals="31" methods="6" coveredmethods="6"/>
|
|
1562
|
-
<line num="4" count="
|
|
1563
|
-
<line num="14" count="
|
|
1564
|
-
<line num="15" count="
|
|
1565
|
-
<line num="16" count="
|
|
1566
|
-
<line num="17" count="
|
|
1567
|
-
<line num="18" count="
|
|
1568
|
-
<line num="21" count="
|
|
1569
|
+
<line num="4" count="20" type="stmt"/>
|
|
1570
|
+
<line num="14" count="20" type="stmt"/>
|
|
1571
|
+
<line num="15" count="186" type="stmt"/>
|
|
1572
|
+
<line num="16" count="186" type="stmt"/>
|
|
1573
|
+
<line num="17" count="186" type="stmt"/>
|
|
1574
|
+
<line num="18" count="186" type="stmt"/>
|
|
1575
|
+
<line num="21" count="186" type="stmt"/>
|
|
1569
1576
|
<line num="22" count="8" type="cond" truecount="2" falsecount="0"/>
|
|
1570
1577
|
<line num="23" count="6" type="cond" truecount="1" falsecount="1"/>
|
|
1571
1578
|
<line num="24" count="6" type="stmt"/>
|
|
@@ -1577,30 +1584,30 @@
|
|
|
1577
1584
|
<line num="33" count="3" type="stmt"/>
|
|
1578
1585
|
<line num="36" count="2" type="stmt"/>
|
|
1579
1586
|
<line num="37" count="2" type="stmt"/>
|
|
1580
|
-
<line num="41" count="
|
|
1581
|
-
<line num="42" count="
|
|
1582
|
-
<line num="44" count="
|
|
1583
|
-
<line num="45" count="
|
|
1584
|
-
<line num="46" count="
|
|
1585
|
-
<line num="47" count="
|
|
1586
|
-
<line num="51" count="
|
|
1587
|
+
<line num="41" count="186" type="stmt"/>
|
|
1588
|
+
<line num="42" count="80" type="stmt"/>
|
|
1589
|
+
<line num="44" count="80" type="cond" truecount="1" falsecount="1"/>
|
|
1590
|
+
<line num="45" count="80" type="stmt"/>
|
|
1591
|
+
<line num="46" count="80" type="stmt"/>
|
|
1592
|
+
<line num="47" count="80" type="stmt"/>
|
|
1593
|
+
<line num="51" count="186" type="stmt"/>
|
|
1587
1594
|
<line num="57" count="13" type="cond" truecount="3" falsecount="1"/>
|
|
1588
1595
|
<line num="58" count="13" type="stmt"/>
|
|
1589
1596
|
<line num="59" count="13" type="stmt"/>
|
|
1590
1597
|
<line num="60" count="13" type="stmt"/>
|
|
1591
1598
|
<line num="62" count="13" type="cond" truecount="2" falsecount="0"/>
|
|
1592
1599
|
<line num="63" count="11" type="stmt"/>
|
|
1593
|
-
<line num="69" count="
|
|
1600
|
+
<line num="69" count="487" type="cond" truecount="4" falsecount="0"/>
|
|
1594
1601
|
<line num="70" count="76" type="stmt"/>
|
|
1595
|
-
<line num="71" count="
|
|
1596
|
-
<line num="72" count="
|
|
1597
|
-
<line num="74" count="
|
|
1598
|
-
<line num="77" count="
|
|
1602
|
+
<line num="71" count="411" type="cond" truecount="4" falsecount="0"/>
|
|
1603
|
+
<line num="72" count="147" type="stmt"/>
|
|
1604
|
+
<line num="74" count="264" type="stmt"/>
|
|
1605
|
+
<line num="77" count="189" type="cond" truecount="4" falsecount="0"/>
|
|
1599
1606
|
<line num="78" count="25" type="stmt"/>
|
|
1600
|
-
<line num="79" count="
|
|
1601
|
-
<line num="80" count="
|
|
1607
|
+
<line num="79" count="164" type="cond" truecount="4" falsecount="0"/>
|
|
1608
|
+
<line num="80" count="147" type="stmt"/>
|
|
1602
1609
|
<line num="83" count="17" type="stmt"/>
|
|
1603
|
-
<line num="88" count="
|
|
1610
|
+
<line num="88" count="186" type="stmt"/>
|
|
1604
1611
|
</file>
|
|
1605
1612
|
<file name="SimpleDataContext.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/contexts/SimpleDataContext.js">
|
|
1606
1613
|
<metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
@@ -1641,114 +1648,114 @@
|
|
|
1641
1648
|
</file>
|
|
1642
1649
|
</package>
|
|
1643
1650
|
<package name="src.hooks">
|
|
1644
|
-
<metrics statements="173" coveredstatements="
|
|
1651
|
+
<metrics statements="173" coveredstatements="98" conditionals="106" coveredconditionals="56" methods="28" coveredmethods="16"/>
|
|
1645
1652
|
<file name="useLayer.ts" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useLayer.ts">
|
|
1646
|
-
<metrics statements="60" coveredstatements="
|
|
1647
|
-
<line num="
|
|
1648
|
-
<line num="
|
|
1649
|
-
<line num="
|
|
1650
|
-
<line num="
|
|
1651
|
-
<line num="
|
|
1652
|
-
<line num="
|
|
1653
|
-
<line num="
|
|
1654
|
-
<line num="
|
|
1655
|
-
<line num="
|
|
1656
|
-
<line num="
|
|
1657
|
-
<line num="
|
|
1658
|
-
<line num="
|
|
1659
|
-
<line num="
|
|
1660
|
-
<line num="
|
|
1661
|
-
<line num="
|
|
1662
|
-
<line num="
|
|
1663
|
-
<line num="
|
|
1664
|
-
<line num="
|
|
1665
|
-
<line num="
|
|
1666
|
-
<line num="
|
|
1667
|
-
<line num="
|
|
1668
|
-
<line num="
|
|
1669
|
-
<line num="
|
|
1670
|
-
<line num="
|
|
1671
|
-
<line num="
|
|
1672
|
-
<line num="
|
|
1673
|
-
<line num="
|
|
1674
|
-
<line num="
|
|
1675
|
-
<line num="
|
|
1676
|
-
<line num="
|
|
1677
|
-
<line num="
|
|
1678
|
-
<line num="
|
|
1679
|
-
<line num="
|
|
1680
|
-
<line num="
|
|
1681
|
-
<line num="
|
|
1682
|
-
<line num="
|
|
1683
|
-
<line num="
|
|
1684
|
-
<line num="
|
|
1685
|
-
<line num="
|
|
1686
|
-
<line num="
|
|
1687
|
-
<line num="
|
|
1688
|
-
<line num="
|
|
1689
|
-
<line num="
|
|
1690
|
-
<line num="
|
|
1691
|
-
<line num="
|
|
1692
|
-
<line num="
|
|
1693
|
-
<line num="161" count="0" type="stmt"/>
|
|
1653
|
+
<metrics statements="60" coveredstatements="46" conditionals="58" coveredconditionals="40" methods="8" coveredmethods="7"/>
|
|
1654
|
+
<line num="33" count="13" type="stmt"/>
|
|
1655
|
+
<line num="46" count="102" type="stmt"/>
|
|
1656
|
+
<line num="51" count="102" type="stmt"/>
|
|
1657
|
+
<line num="52" count="102" type="stmt"/>
|
|
1658
|
+
<line num="53" count="102" type="stmt"/>
|
|
1659
|
+
<line num="55" count="102" type="stmt"/>
|
|
1660
|
+
<line num="57" count="102" type="stmt"/>
|
|
1661
|
+
<line num="58" count="102" type="stmt"/>
|
|
1662
|
+
<line num="62" count="102" type="stmt"/>
|
|
1663
|
+
<line num="63" count="26" type="cond" truecount="1" falsecount="1"/>
|
|
1664
|
+
<line num="65" count="26" type="cond" truecount="2" falsecount="0"/>
|
|
1665
|
+
<line num="66" count="3" type="stmt"/>
|
|
1666
|
+
<line num="68" count="26" type="cond" truecount="1" falsecount="1"/>
|
|
1667
|
+
<line num="69" count="0" type="stmt"/>
|
|
1668
|
+
<line num="71" count="26" type="stmt"/>
|
|
1669
|
+
<line num="73" count="26" type="stmt"/>
|
|
1670
|
+
<line num="94" count="26" type="stmt"/>
|
|
1671
|
+
<line num="96" count="26" type="cond" truecount="2" falsecount="0"/>
|
|
1672
|
+
<line num="97" count="6" type="stmt"/>
|
|
1673
|
+
<line num="100" count="26" type="cond" truecount="2" falsecount="0"/>
|
|
1674
|
+
<line num="101" count="4" type="stmt"/>
|
|
1675
|
+
<line num="104" count="26" type="cond" truecount="2" falsecount="0"/>
|
|
1676
|
+
<line num="105" count="2" type="stmt"/>
|
|
1677
|
+
<line num="109" count="26" type="stmt"/>
|
|
1678
|
+
<line num="112" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1679
|
+
<line num="113" count="0" type="stmt"/>
|
|
1680
|
+
<line num="114" count="0" type="stmt"/>
|
|
1681
|
+
<line num="120" count="26" type="stmt"/>
|
|
1682
|
+
<line num="121" count="26" type="stmt"/>
|
|
1683
|
+
<line num="122" count="26" type="stmt"/>
|
|
1684
|
+
<line num="125" count="102" type="stmt"/>
|
|
1685
|
+
<line num="126" count="102" type="cond" truecount="2" falsecount="0"/>
|
|
1686
|
+
<line num="128" count="56" type="cond" truecount="2" falsecount="0"/>
|
|
1687
|
+
<line num="134" count="30" type="stmt"/>
|
|
1688
|
+
<line num="137" count="26" type="stmt"/>
|
|
1689
|
+
<line num="140" count="102" type="stmt"/>
|
|
1690
|
+
<line num="141" count="49" type="cond" truecount="4" falsecount="0"/>
|
|
1691
|
+
<line num="144" count="12" type="stmt"/>
|
|
1692
|
+
<line num="147" count="102" type="stmt"/>
|
|
1693
|
+
<line num="148" count="102" type="cond" truecount="2" falsecount="0"/>
|
|
1694
|
+
<line num="154" count="46" type="stmt"/>
|
|
1695
|
+
<line num="158" count="56" type="stmt"/>
|
|
1696
|
+
<line num="159" count="56" type="cond" truecount="3" falsecount="1"/>
|
|
1697
|
+
<line num="160" count="0" type="stmt"/>
|
|
1698
|
+
<line num="162" count="0" type="stmt"/>
|
|
1699
|
+
<line num="163" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1694
1700
|
<line num="164" count="0" type="stmt"/>
|
|
1695
|
-
<line num="167" count="
|
|
1696
|
-
<line num="
|
|
1697
|
-
<line num="
|
|
1698
|
-
<line num="170" count="0" type="stmt"/>
|
|
1699
|
-
<line num="171" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1701
|
+
<line num="167" count="0" type="stmt"/>
|
|
1702
|
+
<line num="170" count="56" type="stmt"/>
|
|
1703
|
+
<line num="171" count="56" type="cond" truecount="1" falsecount="1"/>
|
|
1700
1704
|
<line num="172" count="0" type="stmt"/>
|
|
1705
|
+
<line num="173" count="0" type="stmt"/>
|
|
1706
|
+
<line num="174" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1701
1707
|
<line num="175" count="0" type="stmt"/>
|
|
1702
|
-
<line num="
|
|
1703
|
-
<line num="
|
|
1704
|
-
<line num="
|
|
1705
|
-
<line num="
|
|
1706
|
-
<line num="
|
|
1708
|
+
<line num="178" count="0" type="stmt"/>
|
|
1709
|
+
<line num="182" count="102" type="stmt"/>
|
|
1710
|
+
<line num="183" count="23" type="stmt"/>
|
|
1711
|
+
<line num="184" count="10" type="stmt"/>
|
|
1712
|
+
<line num="185" count="10" type="stmt"/>
|
|
1713
|
+
<line num="189" count="102" type="stmt"/>
|
|
1707
1714
|
</file>
|
|
1708
1715
|
<file name="useMap.ts" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useMap.ts">
|
|
1709
1716
|
<metrics statements="30" coveredstatements="24" conditionals="14" coveredconditionals="8" methods="6" coveredmethods="5"/>
|
|
1710
|
-
<line num="17" count="
|
|
1711
|
-
<line num="18" count="
|
|
1712
|
-
<line num="20" count="
|
|
1713
|
-
<line num="32" count="
|
|
1714
|
-
<line num="33" count="
|
|
1715
|
-
<line num="35" count="
|
|
1716
|
-
<line num="37" count="
|
|
1717
|
-
<line num="39" count="
|
|
1718
|
-
<line num="40" count="
|
|
1719
|
-
<line num="41" count="
|
|
1720
|
-
<line num="42" count="
|
|
1721
|
-
<line num="44" count="
|
|
1722
|
-
<line num="47" count="
|
|
1723
|
-
<line num="48" count="
|
|
1724
|
-
<line num="49" count="
|
|
1725
|
-
<line num="50" count="
|
|
1726
|
-
<line num="54" count="
|
|
1727
|
-
<line num="55" count="
|
|
1728
|
-
<line num="59" count="
|
|
1717
|
+
<line num="17" count="211" type="stmt"/>
|
|
1718
|
+
<line num="18" count="211" type="stmt"/>
|
|
1719
|
+
<line num="20" count="211" type="stmt"/>
|
|
1720
|
+
<line num="32" count="211" type="stmt"/>
|
|
1721
|
+
<line num="33" count="211" type="stmt"/>
|
|
1722
|
+
<line num="35" count="211" type="stmt"/>
|
|
1723
|
+
<line num="37" count="211" type="stmt"/>
|
|
1724
|
+
<line num="39" count="211" type="stmt"/>
|
|
1725
|
+
<line num="40" count="39" type="cond" truecount="2" falsecount="0"/>
|
|
1726
|
+
<line num="41" count="29" type="stmt"/>
|
|
1727
|
+
<line num="42" count="29" type="stmt"/>
|
|
1728
|
+
<line num="44" count="39" type="stmt"/>
|
|
1729
|
+
<line num="47" count="211" type="stmt"/>
|
|
1730
|
+
<line num="48" count="57" type="stmt"/>
|
|
1731
|
+
<line num="49" count="26" type="stmt"/>
|
|
1732
|
+
<line num="50" count="26" type="stmt"/>
|
|
1733
|
+
<line num="54" count="211" type="stmt"/>
|
|
1734
|
+
<line num="55" count="114" type="cond" truecount="4" falsecount="0"/>
|
|
1735
|
+
<line num="59" count="57" type="cond" truecount="1" falsecount="1"/>
|
|
1729
1736
|
<line num="60" count="0" type="stmt"/>
|
|
1730
1737
|
<line num="62" count="0" type="stmt"/>
|
|
1731
1738
|
<line num="63" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1732
1739
|
<line num="64" count="0" type="stmt"/>
|
|
1733
1740
|
<line num="67" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1734
1741
|
<line num="68" count="0" type="stmt"/>
|
|
1735
|
-
<line num="73" count="
|
|
1736
|
-
<line num="74" count="
|
|
1737
|
-
<line num="75" count="
|
|
1738
|
-
<line num="76" count="
|
|
1739
|
-
<line num="79" count="
|
|
1742
|
+
<line num="73" count="57" type="stmt"/>
|
|
1743
|
+
<line num="74" count="57" type="stmt"/>
|
|
1744
|
+
<line num="75" count="57" type="stmt"/>
|
|
1745
|
+
<line num="76" count="57" type="stmt"/>
|
|
1746
|
+
<line num="79" count="211" type="stmt"/>
|
|
1740
1747
|
</file>
|
|
1741
1748
|
<file name="useMapState.ts" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useMapState.ts">
|
|
1742
1749
|
<metrics statements="48" coveredstatements="27" conditionals="26" coveredconditionals="8" methods="7" coveredmethods="4"/>
|
|
1743
|
-
<line num="41" count="
|
|
1744
|
-
<line num="43" count="
|
|
1745
|
-
<line num="44" count="
|
|
1746
|
-
<line num="46" count="
|
|
1747
|
-
<line num="47" count="
|
|
1748
|
-
<line num="49" count="
|
|
1749
|
-
<line num="50" count="
|
|
1750
|
-
<line num="52" count="
|
|
1751
|
-
<line num="60" count="
|
|
1750
|
+
<line num="41" count="211" type="stmt"/>
|
|
1751
|
+
<line num="43" count="211" type="stmt"/>
|
|
1752
|
+
<line num="44" count="211" type="stmt"/>
|
|
1753
|
+
<line num="46" count="211" type="stmt"/>
|
|
1754
|
+
<line num="47" count="211" type="stmt"/>
|
|
1755
|
+
<line num="49" count="211" type="stmt"/>
|
|
1756
|
+
<line num="50" count="211" type="stmt"/>
|
|
1757
|
+
<line num="52" count="211" type="stmt"/>
|
|
1758
|
+
<line num="60" count="211" type="stmt"/>
|
|
1752
1759
|
<line num="62" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
1753
1760
|
<line num="63" count="0" type="stmt"/>
|
|
1754
1761
|
<line num="66" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
@@ -1756,38 +1763,38 @@
|
|
|
1756
1763
|
<line num="68" count="0" type="stmt"/>
|
|
1757
1764
|
<line num="70" count="0" type="stmt"/>
|
|
1758
1765
|
<line num="74" count="0" type="stmt"/>
|
|
1759
|
-
<line num="79" count="
|
|
1766
|
+
<line num="79" count="211" type="stmt"/>
|
|
1760
1767
|
<line num="80" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1761
1768
|
<line num="82" count="0" type="stmt"/>
|
|
1762
1769
|
<line num="83" count="0" type="stmt"/>
|
|
1763
1770
|
<line num="84" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1764
1771
|
<line num="85" count="0" type="stmt"/>
|
|
1765
1772
|
<line num="86" count="0" type="stmt"/>
|
|
1766
|
-
<line num="90" count="
|
|
1767
|
-
<line num="91" count="
|
|
1768
|
-
<line num="93" count="
|
|
1769
|
-
<line num="95" count="
|
|
1770
|
-
<line num="96" count="
|
|
1771
|
-
<line num="97" count="
|
|
1772
|
-
<line num="99" count="
|
|
1773
|
-
<line num="103" count="
|
|
1774
|
-
<line num="104" count="
|
|
1775
|
-
<line num="107" count="
|
|
1776
|
-
<line num="108" count="
|
|
1777
|
-
<line num="110" count="
|
|
1773
|
+
<line num="90" count="211" type="stmt"/>
|
|
1774
|
+
<line num="91" count="57" type="stmt"/>
|
|
1775
|
+
<line num="93" count="57" type="stmt"/>
|
|
1776
|
+
<line num="95" count="26" type="cond" truecount="1" falsecount="1"/>
|
|
1777
|
+
<line num="96" count="26" type="stmt"/>
|
|
1778
|
+
<line num="97" count="26" type="stmt"/>
|
|
1779
|
+
<line num="99" count="26" type="stmt"/>
|
|
1780
|
+
<line num="103" count="211" type="stmt"/>
|
|
1781
|
+
<line num="104" count="211" type="cond" truecount="4" falsecount="0"/>
|
|
1782
|
+
<line num="107" count="57" type="stmt"/>
|
|
1783
|
+
<line num="108" count="57" type="stmt"/>
|
|
1784
|
+
<line num="110" count="57" type="cond" truecount="1" falsecount="1"/>
|
|
1778
1785
|
<line num="111" count="0" type="stmt"/>
|
|
1779
1786
|
<line num="112" count="0" type="stmt"/>
|
|
1780
|
-
<line num="115" count="
|
|
1787
|
+
<line num="115" count="57" type="cond" truecount="1" falsecount="1"/>
|
|
1781
1788
|
<line num="116" count="0" type="stmt"/>
|
|
1782
1789
|
<line num="119" count="0" type="stmt"/>
|
|
1783
1790
|
<line num="122" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
1784
1791
|
<line num="123" count="0" type="stmt"/>
|
|
1785
|
-
<line num="131" count="
|
|
1792
|
+
<line num="131" count="57" type="cond" truecount="1" falsecount="1"/>
|
|
1786
1793
|
<line num="132" count="0" type="stmt"/>
|
|
1787
1794
|
<line num="134" count="0" type="stmt"/>
|
|
1788
|
-
<line num="146" count="
|
|
1789
|
-
<line num="152" count="
|
|
1790
|
-
<line num="164" count="
|
|
1795
|
+
<line num="146" count="211" type="stmt"/>
|
|
1796
|
+
<line num="152" count="15" type="stmt"/>
|
|
1797
|
+
<line num="164" count="15" type="stmt"/>
|
|
1791
1798
|
</file>
|
|
1792
1799
|
<file name="useWms.js" path="/home/runner/work/react-map-components-maplibre/react-map-components-maplibre/src/hooks/useWms.js">
|
|
1793
1800
|
<metrics statements="35" coveredstatements="1" conditionals="8" coveredconditionals="0" methods="7" coveredmethods="0"/>
|