@mapcomponents/react-maplibre 0.1.51 → 0.1.52
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/coverage/clover.xml +50 -30
- package/coverage/coverage-final.json +2 -1
- package/coverage/lcov-report/index.html +32 -17
- package/coverage/lcov-report/src/components/MapLibreMap/MapLibreMap.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MapLibreMap/index.html +1 -1
- package/coverage/lcov-report/src/components/MlCenterPosition/MlCenterPosition.tsx.html +343 -0
- package/coverage/lcov-report/src/components/MlCenterPosition/index.html +116 -0
- package/coverage/lcov-report/src/components/MlCreatePdfButton/MlCreatePdfButton.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlCreatePdfButton/index.html +1 -1
- package/coverage/lcov-report/src/components/MlFeatureEditor/MlFeatureEditor.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlFeatureEditor/index.html +1 -1
- package/coverage/lcov-report/src/components/MlFillExtrusionLayer/MlFillExtrusionLayer.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlFillExtrusionLayer/index.html +1 -1
- package/coverage/lcov-report/src/components/MlFollowGps/MlFollowGps.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlFollowGps/index.html +1 -1
- package/coverage/lcov-report/src/components/MlGPXViewer/MlGPXViewer.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlGPXViewer/gpxConverter.js.html +1 -1
- package/coverage/lcov-report/src/components/MlGPXViewer/index.html +1 -1
- package/coverage/lcov-report/src/components/MlGeoJsonLayer/MlGeoJsonLayer.tsx.html +2 -2
- 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 +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 +106 -34
- 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 +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 +2 -2
- 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 +1 -1
- package/coverage/lcov-report/src/components/MlWmsLoader/index.html +1 -1
- package/coverage/lcov-report/src/contexts/MapContext.tsx.html +1 -1
- package/coverage/lcov-report/src/contexts/SimpleDataContext.js.html +1 -1
- package/coverage/lcov-report/src/contexts/SimpleDataProvider.js.html +1 -1
- package/coverage/lcov-report/src/contexts/index.html +1 -1
- package/coverage/lcov-report/src/hooks/index.html +1 -1
- package/coverage/lcov-report/src/hooks/useLayer.ts.html +1 -1
- package/coverage/lcov-report/src/hooks/useMap.ts.html +1 -1
- package/coverage/lcov-report/src/hooks/useMapState.ts.html +1 -1
- package/coverage/lcov-report/src/hooks/useWms.js.html +1 -1
- package/coverage/lcov-report/src/index.html +1 -1
- package/coverage/lcov-report/src/index.ts.html +1 -1
- package/coverage/lcov.info +115 -74
- package/dist/components/MlCenterPosition/MlCenterPosition.d.ts +50 -0
- package/dist/components/MlCenterPosition/MlCenterPosition.stories.d.ts +17 -0
- package/dist/components/MlGeoJsonLayer/MlGeoJsonLayer.d.ts +1 -1
- package/dist/components/MlNavigationTools/MlNavigationTools.d.ts +25 -3
- package/dist/components/MlTransitionGeoJsonLayer/MlTransitionGeoJsonLayer.d.ts +1 -1
- package/dist/index.esm.js +67 -11
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/scripts/create-map-component.sh +2 -2
- package/src/components/MlCenterPosition/MlCenterPosition.doc.de.md +3 -0
- package/src/components/MlCenterPosition/MlCenterPosition.meta_.json +15 -0
- package/src/components/MlCenterPosition/MlCenterPosition.stories.js +21 -0
- package/src/components/MlCenterPosition/MlCenterPosition.tsx +86 -0
- package/src/components/MlGeoJsonLayer/MlGeoJsonLayer.tsx +1 -1
- package/src/components/MlNavigationTools/MlNavigationTools.stories.js +3 -2
- package/src/components/MlNavigationTools/MlNavigationTools.tsx +44 -20
- package/src/components/MlTransitionGeoJsonLayer/MlTransitionGeoJsonLayer.tsx +1 -1
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
102
102
|
Code coverage generated by
|
|
103
103
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
104
|
-
at Tue Jul
|
|
104
|
+
at Tue Jul 19 2022 06:50:01 GMT+0000 (Coordinated Universal Time)
|
|
105
105
|
</div>
|
|
106
106
|
<script src="../../../prettify.js"></script>
|
|
107
107
|
<script>
|
|
@@ -435,7 +435,7 @@ interface MlTransitionGeoJsonLayerProps {
|
|
|
435
435
|
* https://maplibre.org/maplibre-gl-js-docs/style-spec/layers/#circle
|
|
436
436
|
* https://maplibre.org/maplibre-gl-js-docs/style-spec/layers/#fill
|
|
437
437
|
*/
|
|
438
|
-
paint?: CircleLayerSpecification['paint'] | FillLayerSpecification['paint'] | LineLayerSpecification['
|
|
438
|
+
paint?: CircleLayerSpecification['paint'] | FillLayerSpecification['paint'] | LineLayerSpecification['paint'];
|
|
439
439
|
/**
|
|
440
440
|
* Layout property object, that is passed to the addLayer call.
|
|
441
441
|
* Possible props depend on the layer type.
|
|
@@ -577,7 +577,7 @@ export default MlTransitionGeoJsonLayer;
|
|
|
577
577
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
578
578
|
Code coverage generated by
|
|
579
579
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
580
|
-
at Tue Jul
|
|
580
|
+
at Tue Jul 19 2022 06:50:01 GMT+0000 (Coordinated Universal Time)
|
|
581
581
|
</div>
|
|
582
582
|
<script src="../../../prettify.js"></script>
|
|
583
583
|
<script>
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
102
102
|
Code coverage generated by
|
|
103
103
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
104
|
-
at Tue Jul
|
|
104
|
+
at Tue Jul 19 2022 06:50:01 GMT+0000 (Coordinated Universal Time)
|
|
105
105
|
</div>
|
|
106
106
|
<script src="../../../prettify.js"></script>
|
|
107
107
|
<script>
|
|
@@ -295,7 +295,7 @@ export default MlUseMapDebugger;
|
|
|
295
295
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
296
296
|
Code coverage generated by
|
|
297
297
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
298
|
-
at Tue Jul
|
|
298
|
+
at Tue Jul 19 2022 06:50:01 GMT+0000 (Coordinated Universal Time)
|
|
299
299
|
</div>
|
|
300
300
|
<script src="../../../prettify.js"></script>
|
|
301
301
|
<script>
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
102
102
|
Code coverage generated by
|
|
103
103
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
104
|
-
at Tue Jul
|
|
104
|
+
at Tue Jul 19 2022 06:50:01 GMT+0000 (Coordinated Universal Time)
|
|
105
105
|
</div>
|
|
106
106
|
<script src="../../../prettify.js"></script>
|
|
107
107
|
<script>
|
|
@@ -541,7 +541,7 @@ export default MlVectorTileLayer;
|
|
|
541
541
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
542
542
|
Code coverage generated by
|
|
543
543
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
544
|
-
at Tue Jul
|
|
544
|
+
at Tue Jul 19 2022 06:50:01 GMT+0000 (Coordinated Universal Time)
|
|
545
545
|
</div>
|
|
546
546
|
<script src="../../../prettify.js"></script>
|
|
547
547
|
<script>
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
102
102
|
Code coverage generated by
|
|
103
103
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
104
|
-
at Tue Jul
|
|
104
|
+
at Tue Jul 19 2022 06:50:01 GMT+0000 (Coordinated Universal Time)
|
|
105
105
|
</div>
|
|
106
106
|
<script src="../../../prettify.js"></script>
|
|
107
107
|
<script>
|
package/coverage/lcov-report/src/components/MlWmsFeatureInfoPopup/MlWmsFeatureInfoPopup.js.html
CHANGED
|
@@ -262,7 +262,7 @@ export default MlWmsFeatureInfoPopup;
|
|
|
262
262
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
263
263
|
Code coverage generated by
|
|
264
264
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
265
|
-
at Tue Jul
|
|
265
|
+
at Tue Jul 19 2022 06:50:01 GMT+0000 (Coordinated Universal Time)
|
|
266
266
|
</div>
|
|
267
267
|
<script src="../../../prettify.js"></script>
|
|
268
268
|
<script>
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
102
102
|
Code coverage generated by
|
|
103
103
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
104
|
-
at Tue Jul
|
|
104
|
+
at Tue Jul 19 2022 06:50:01 GMT+0000 (Coordinated Universal Time)
|
|
105
105
|
</div>
|
|
106
106
|
<script src="../../../prettify.js"></script>
|
|
107
107
|
<script>
|
|
@@ -670,7 +670,7 @@ export default MlWmsLayer;
|
|
|
670
670
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
671
671
|
Code coverage generated by
|
|
672
672
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
673
|
-
at Tue Jul
|
|
673
|
+
at Tue Jul 19 2022 06:50:01 GMT+0000 (Coordinated Universal Time)
|
|
674
674
|
</div>
|
|
675
675
|
<script src="../../../prettify.js"></script>
|
|
676
676
|
<script>
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
102
102
|
Code coverage generated by
|
|
103
103
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
104
|
-
at Tue Jul
|
|
104
|
+
at Tue Jul 19 2022 06:50:01 GMT+0000 (Coordinated Universal Time)
|
|
105
105
|
</div>
|
|
106
106
|
<script src="../../../prettify.js"></script>
|
|
107
107
|
<script>
|
|
@@ -1021,7 +1021,7 @@ export default MlWmsLoader;
|
|
|
1021
1021
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
1022
1022
|
Code coverage generated by
|
|
1023
1023
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
1024
|
-
at Tue Jul
|
|
1024
|
+
at Tue Jul 19 2022 06:50:01 GMT+0000 (Coordinated Universal Time)
|
|
1025
1025
|
</div>
|
|
1026
1026
|
<script src="../../../prettify.js"></script>
|
|
1027
1027
|
<script>
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
102
102
|
Code coverage generated by
|
|
103
103
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
104
|
-
at Tue Jul
|
|
104
|
+
at Tue Jul 19 2022 06:50:01 GMT+0000 (Coordinated Universal Time)
|
|
105
105
|
</div>
|
|
106
106
|
<script src="../../../prettify.js"></script>
|
|
107
107
|
<script>
|
|
@@ -343,7 +343,7 @@ export default MapContext;</pre></td></tr></table></pre>
|
|
|
343
343
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
344
344
|
Code coverage generated by
|
|
345
345
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
346
|
-
at Tue Jul
|
|
346
|
+
at Tue Jul 19 2022 06:50:01 GMT+0000 (Coordinated Universal Time)
|
|
347
347
|
</div>
|
|
348
348
|
<script src="../../prettify.js"></script>
|
|
349
349
|
<script>
|
|
@@ -88,7 +88,7 @@ export default SimpleDataContext;
|
|
|
88
88
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
89
89
|
Code coverage generated by
|
|
90
90
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
91
|
-
at Tue Jul
|
|
91
|
+
at Tue Jul 19 2022 06:50:01 GMT+0000 (Coordinated Universal Time)
|
|
92
92
|
</div>
|
|
93
93
|
<script src="../../prettify.js"></script>
|
|
94
94
|
<script>
|
|
@@ -262,7 +262,7 @@ export default SimpleDataProvider;
|
|
|
262
262
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
263
263
|
Code coverage generated by
|
|
264
264
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
265
|
-
at Tue Jul
|
|
265
|
+
at Tue Jul 19 2022 06:50:01 GMT+0000 (Coordinated Universal Time)
|
|
266
266
|
</div>
|
|
267
267
|
<script src="../../prettify.js"></script>
|
|
268
268
|
<script>
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
132
132
|
Code coverage generated by
|
|
133
133
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
134
|
-
at Tue Jul
|
|
134
|
+
at Tue Jul 19 2022 06:50:01 GMT+0000 (Coordinated Universal Time)
|
|
135
135
|
</div>
|
|
136
136
|
<script src="../../prettify.js"></script>
|
|
137
137
|
<script>
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
147
147
|
Code coverage generated by
|
|
148
148
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
149
|
-
at Tue Jul
|
|
149
|
+
at Tue Jul 19 2022 06:50:01 GMT+0000 (Coordinated Universal Time)
|
|
150
150
|
</div>
|
|
151
151
|
<script src="../../prettify.js"></script>
|
|
152
152
|
<script>
|
|
@@ -664,7 +664,7 @@ export default useLayer;
|
|
|
664
664
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
665
665
|
Code coverage generated by
|
|
666
666
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
667
|
-
at Tue Jul
|
|
667
|
+
at Tue Jul 19 2022 06:50:01 GMT+0000 (Coordinated Universal Time)
|
|
668
668
|
</div>
|
|
669
669
|
<script src="../../prettify.js"></script>
|
|
670
670
|
<script>
|
|
@@ -340,7 +340,7 @@ export type { useMapType };
|
|
|
340
340
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
341
341
|
Code coverage generated by
|
|
342
342
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
343
|
-
at Tue Jul
|
|
343
|
+
at Tue Jul 19 2022 06:50:01 GMT+0000 (Coordinated Universal Time)
|
|
344
344
|
</div>
|
|
345
345
|
<script src="../../prettify.js"></script>
|
|
346
346
|
<script>
|
|
@@ -637,7 +637,7 @@ export default useMapState;
|
|
|
637
637
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
638
638
|
Code coverage generated by
|
|
639
639
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
640
|
-
at Tue Jul
|
|
640
|
+
at Tue Jul 19 2022 06:50:01 GMT+0000 (Coordinated Universal Time)
|
|
641
641
|
</div>
|
|
642
642
|
<script src="../../prettify.js"></script>
|
|
643
643
|
<script>
|
|
@@ -343,7 +343,7 @@ export default useWms;
|
|
|
343
343
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
344
344
|
Code coverage generated by
|
|
345
345
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
346
|
-
at Tue Jul
|
|
346
|
+
at Tue Jul 19 2022 06:50:01 GMT+0000 (Coordinated Universal Time)
|
|
347
347
|
</div>
|
|
348
348
|
<script src="../../prettify.js"></script>
|
|
349
349
|
<script>
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
102
102
|
Code coverage generated by
|
|
103
103
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
104
|
-
at Tue Jul
|
|
104
|
+
at Tue Jul 19 2022 06:50:01 GMT+0000 (Coordinated Universal Time)
|
|
105
105
|
</div>
|
|
106
106
|
<script src="../prettify.js"></script>
|
|
107
107
|
<script>
|
|
@@ -187,7 +187,7 @@ export { default as SimpleDataContext } from "./contexts/SimpleDataContext";
|
|
|
187
187
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
188
188
|
Code coverage generated by
|
|
189
189
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
190
|
-
at Tue Jul
|
|
190
|
+
at Tue Jul 19 2022 06:50:01 GMT+0000 (Coordinated Universal Time)
|
|
191
191
|
</div>
|
|
192
192
|
<script src="../prettify.js"></script>
|
|
193
193
|
<script>
|
package/coverage/lcov.info
CHANGED
|
@@ -72,6 +72,39 @@ BRF:11
|
|
|
72
72
|
BRH:8
|
|
73
73
|
end_of_record
|
|
74
74
|
TN:
|
|
75
|
+
SF:src/components/MlCenterPosition/MlCenterPosition.tsx
|
|
76
|
+
FN:34,(anonymous_0)
|
|
77
|
+
FN:41,(anonymous_1)
|
|
78
|
+
FN:45,(anonymous_2)
|
|
79
|
+
FN:49,(anonymous_3)
|
|
80
|
+
FNF:4
|
|
81
|
+
FNH:0
|
|
82
|
+
FNDA:0,(anonymous_0)
|
|
83
|
+
FNDA:0,(anonymous_1)
|
|
84
|
+
FNDA:0,(anonymous_2)
|
|
85
|
+
FNDA:0,(anonymous_3)
|
|
86
|
+
DA:34,10
|
|
87
|
+
DA:35,0
|
|
88
|
+
DA:39,0
|
|
89
|
+
DA:41,0
|
|
90
|
+
DA:42,0
|
|
91
|
+
DA:45,0
|
|
92
|
+
DA:46,0
|
|
93
|
+
DA:49,0
|
|
94
|
+
DA:50,0
|
|
95
|
+
DA:51,0
|
|
96
|
+
DA:53,0
|
|
97
|
+
DA:67,10
|
|
98
|
+
LF:12
|
|
99
|
+
LH:2
|
|
100
|
+
BRDA:57,0,0,0
|
|
101
|
+
BRDA:57,0,1,0
|
|
102
|
+
BRDA:61,1,0,0
|
|
103
|
+
BRDA:61,1,1,0
|
|
104
|
+
BRF:4
|
|
105
|
+
BRH:0
|
|
106
|
+
end_of_record
|
|
107
|
+
TN:
|
|
75
108
|
SF:src/components/MlCreatePdfButton/MlCreatePdfButton.tsx
|
|
76
109
|
FN:24,(anonymous_0)
|
|
77
110
|
FN:35,(anonymous_1)
|
|
@@ -1834,14 +1867,15 @@ BRH:4
|
|
|
1834
1867
|
end_of_record
|
|
1835
1868
|
TN:
|
|
1836
1869
|
SF:src/components/MlNavigationTools/MlNavigationTools.tsx
|
|
1837
|
-
FN:
|
|
1838
|
-
FN:
|
|
1839
|
-
FN:
|
|
1840
|
-
FN:
|
|
1841
|
-
FN:
|
|
1842
|
-
FN:
|
|
1843
|
-
FN:
|
|
1844
|
-
|
|
1870
|
+
FN:36,(anonymous_0)
|
|
1871
|
+
FN:61,(anonymous_1)
|
|
1872
|
+
FN:66,(anonymous_2)
|
|
1873
|
+
FN:76,(anonymous_3)
|
|
1874
|
+
FN:84,(anonymous_4)
|
|
1875
|
+
FN:92,(anonymous_5)
|
|
1876
|
+
FN:132,(anonymous_6)
|
|
1877
|
+
FN:135,(anonymous_7)
|
|
1878
|
+
FNF:8
|
|
1845
1879
|
FNH:0
|
|
1846
1880
|
FNDA:0,(anonymous_0)
|
|
1847
1881
|
FNDA:0,(anonymous_1)
|
|
@@ -1850,76 +1884,83 @@ FNDA:0,(anonymous_3)
|
|
|
1850
1884
|
FNDA:0,(anonymous_4)
|
|
1851
1885
|
FNDA:0,(anonymous_5)
|
|
1852
1886
|
FNDA:0,(anonymous_6)
|
|
1853
|
-
|
|
1854
|
-
DA:
|
|
1855
|
-
DA:
|
|
1856
|
-
DA:
|
|
1857
|
-
DA:
|
|
1858
|
-
DA:
|
|
1859
|
-
DA:
|
|
1860
|
-
DA:
|
|
1861
|
-
DA:
|
|
1862
|
-
DA:51,0
|
|
1863
|
-
DA:53,0
|
|
1864
|
-
DA:56,0
|
|
1865
|
-
DA:57,0
|
|
1866
|
-
DA:59,0
|
|
1867
|
-
DA:63,0
|
|
1887
|
+
FNDA:0,(anonymous_7)
|
|
1888
|
+
DA:36,10
|
|
1889
|
+
DA:37,0
|
|
1890
|
+
DA:42,0
|
|
1891
|
+
DA:43,0
|
|
1892
|
+
DA:44,0
|
|
1893
|
+
DA:61,0
|
|
1894
|
+
DA:62,0
|
|
1895
|
+
DA:64,0
|
|
1868
1896
|
DA:67,0
|
|
1869
|
-
DA:
|
|
1870
|
-
DA:
|
|
1871
|
-
DA:
|
|
1872
|
-
DA:
|
|
1897
|
+
DA:69,0
|
|
1898
|
+
DA:73,0
|
|
1899
|
+
DA:76,0
|
|
1900
|
+
DA:77,0
|
|
1873
1901
|
DA:79,0
|
|
1874
|
-
DA:
|
|
1875
|
-
DA:
|
|
1876
|
-
DA:83,0
|
|
1902
|
+
DA:80,0
|
|
1903
|
+
DA:84,0
|
|
1877
1904
|
DA:85,0
|
|
1905
|
+
DA:87,0
|
|
1878
1906
|
DA:88,0
|
|
1879
|
-
DA:
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
BRDA:
|
|
1892
|
-
BRDA:
|
|
1893
|
-
BRDA:
|
|
1894
|
-
BRDA:
|
|
1895
|
-
BRDA:
|
|
1896
|
-
BRDA:
|
|
1897
|
-
BRDA:
|
|
1898
|
-
BRDA:
|
|
1899
|
-
BRDA:
|
|
1900
|
-
BRDA:
|
|
1901
|
-
BRDA:
|
|
1902
|
-
BRDA:
|
|
1903
|
-
BRDA:
|
|
1904
|
-
BRDA:
|
|
1905
|
-
BRDA:
|
|
1906
|
-
BRDA:
|
|
1907
|
-
BRDA:
|
|
1908
|
-
BRDA:
|
|
1909
|
-
BRDA:
|
|
1910
|
-
BRDA:
|
|
1911
|
-
BRDA:
|
|
1912
|
-
BRDA:
|
|
1913
|
-
BRDA:
|
|
1914
|
-
BRDA:
|
|
1915
|
-
BRDA:
|
|
1916
|
-
BRDA:
|
|
1917
|
-
BRDA:
|
|
1918
|
-
BRDA:
|
|
1919
|
-
BRDA:
|
|
1920
|
-
BRDA:
|
|
1921
|
-
BRDA:
|
|
1922
|
-
|
|
1907
|
+
DA:92,0
|
|
1908
|
+
DA:93,0
|
|
1909
|
+
DA:95,0
|
|
1910
|
+
DA:96,0
|
|
1911
|
+
DA:97,0
|
|
1912
|
+
DA:99,0
|
|
1913
|
+
DA:102,0
|
|
1914
|
+
DA:132,0
|
|
1915
|
+
DA:135,0
|
|
1916
|
+
DA:157,10
|
|
1917
|
+
LF:29
|
|
1918
|
+
LH:2
|
|
1919
|
+
BRDA:47,0,0,0
|
|
1920
|
+
BRDA:47,0,1,0
|
|
1921
|
+
BRDA:48,1,0,0
|
|
1922
|
+
BRDA:48,1,1,0
|
|
1923
|
+
BRDA:54,2,0,0
|
|
1924
|
+
BRDA:54,2,1,0
|
|
1925
|
+
BRDA:62,3,0,0
|
|
1926
|
+
BRDA:62,3,1,0
|
|
1927
|
+
BRDA:67,4,0,0
|
|
1928
|
+
BRDA:67,4,1,0
|
|
1929
|
+
BRDA:77,5,0,0
|
|
1930
|
+
BRDA:77,5,1,0
|
|
1931
|
+
BRDA:79,6,0,0
|
|
1932
|
+
BRDA:79,6,1,0
|
|
1933
|
+
BRDA:85,7,0,0
|
|
1934
|
+
BRDA:85,7,1,0
|
|
1935
|
+
BRDA:87,8,0,0
|
|
1936
|
+
BRDA:87,8,1,0
|
|
1937
|
+
BRDA:93,9,0,0
|
|
1938
|
+
BRDA:93,9,1,0
|
|
1939
|
+
BRDA:96,10,0,0
|
|
1940
|
+
BRDA:96,10,1,0
|
|
1941
|
+
BRDA:107,11,0,0
|
|
1942
|
+
BRDA:107,11,1,0
|
|
1943
|
+
BRDA:108,12,0,0
|
|
1944
|
+
BRDA:108,12,1,0
|
|
1945
|
+
BRDA:117,13,0,0
|
|
1946
|
+
BRDA:117,13,1,0
|
|
1947
|
+
BRDA:118,14,0,0
|
|
1948
|
+
BRDA:118,14,1,0
|
|
1949
|
+
BRDA:119,15,0,0
|
|
1950
|
+
BRDA:119,15,1,0
|
|
1951
|
+
BRDA:126,16,0,0
|
|
1952
|
+
BRDA:126,16,1,0
|
|
1953
|
+
BRDA:129,17,0,0
|
|
1954
|
+
BRDA:129,17,1,0
|
|
1955
|
+
BRDA:131,18,0,0
|
|
1956
|
+
BRDA:131,18,1,0
|
|
1957
|
+
BRDA:134,19,0,0
|
|
1958
|
+
BRDA:134,19,1,0
|
|
1959
|
+
BRDA:147,20,0,0
|
|
1960
|
+
BRDA:147,20,1,0
|
|
1961
|
+
BRDA:150,21,0,0
|
|
1962
|
+
BRDA:150,21,1,0
|
|
1963
|
+
BRF:44
|
|
1923
1964
|
BRH:0
|
|
1924
1965
|
end_of_record
|
|
1925
1966
|
TN:
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
interface MlCenterPositionProps {
|
|
2
|
+
/**
|
|
3
|
+
* Id of the target MapLibre instance in mapContext
|
|
4
|
+
*/
|
|
5
|
+
mapId?: string;
|
|
6
|
+
/**
|
|
7
|
+
* Id of an existing layer in the mapLibre instance to help specify the layer order
|
|
8
|
+
* This layer will be visually beneath the layer with the "insertBeforeLayer" id.
|
|
9
|
+
*/
|
|
10
|
+
insertBeforeLayer?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Active button font color
|
|
13
|
+
*/
|
|
14
|
+
onColor?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Inactive button font color
|
|
17
|
+
*/
|
|
18
|
+
offColor?: string;
|
|
19
|
+
/**
|
|
20
|
+
* CSS style object that is applied to the button component
|
|
21
|
+
*/
|
|
22
|
+
style?: any;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Component template
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
declare const MlCenterPosition: {
|
|
29
|
+
(props: MlCenterPositionProps): JSX.Element;
|
|
30
|
+
defaultProps: {
|
|
31
|
+
mapId: undefined;
|
|
32
|
+
style: {
|
|
33
|
+
minWidth: string;
|
|
34
|
+
minHeight: string;
|
|
35
|
+
width: string;
|
|
36
|
+
height: string;
|
|
37
|
+
backgroundColor: string;
|
|
38
|
+
borderRadius: string;
|
|
39
|
+
margin: number;
|
|
40
|
+
fontSize: string;
|
|
41
|
+
":hover": {
|
|
42
|
+
backgroundColor: string;
|
|
43
|
+
color: string;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
onColor: string;
|
|
47
|
+
offColor: string;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
export default MlCenterPosition;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export default storyoptions;
|
|
2
|
+
export const ExampleConfig: any;
|
|
3
|
+
declare namespace storyoptions {
|
|
4
|
+
export const title: string;
|
|
5
|
+
export { MlCenterPosition as component };
|
|
6
|
+
export const argTypes: {};
|
|
7
|
+
export { mapContextDecorator as decorators };
|
|
8
|
+
export namespace parameters {
|
|
9
|
+
namespace docs {
|
|
10
|
+
namespace source {
|
|
11
|
+
const type: string;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
import MlCenterPosition from "./MlCenterPosition";
|
|
17
|
+
import mapContextDecorator from "../../decorators/MapContextDecorator";
|
|
@@ -32,7 +32,7 @@ declare type MlGeoJsonLayerProps = {
|
|
|
32
32
|
* https://maplibre.org/maplibre-gl-js-docs/style-spec/layers/#circle
|
|
33
33
|
* https://maplibre.org/maplibre-gl-js-docs/style-spec/layers/#fill
|
|
34
34
|
*/
|
|
35
|
-
paint?: CircleLayerSpecification['paint'] | FillLayerSpecification['paint'] | LineLayerSpecification['
|
|
35
|
+
paint?: CircleLayerSpecification['paint'] | FillLayerSpecification['paint'] | LineLayerSpecification['paint'];
|
|
36
36
|
/**
|
|
37
37
|
* Layout property object, that is passed to the addLayer call.
|
|
38
38
|
* Possible props depend on the layer type.
|
|
@@ -1,9 +1,31 @@
|
|
|
1
1
|
interface MlNavigationToolsProps {
|
|
2
|
+
/**
|
|
3
|
+
* Id of the target MapLibre instance in mapContext
|
|
4
|
+
*/
|
|
2
5
|
mapId?: string;
|
|
6
|
+
/**
|
|
7
|
+
* The layerId of an existing layer this layer should be rendered visually beneath
|
|
8
|
+
* https://maplibre.org/maplibre-gl-js-docs/api/map/#map#addlayer - see "beforeId" property
|
|
9
|
+
*/
|
|
3
10
|
insertBeforeLayer?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Show follow GPS button
|
|
13
|
+
*/
|
|
14
|
+
showFollowGpsButton?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Show center on current position button
|
|
17
|
+
*/
|
|
18
|
+
showCenterLocationButton?: boolean;
|
|
4
19
|
}
|
|
5
20
|
/**
|
|
6
|
-
* @component
|
|
7
|
-
*/
|
|
8
|
-
declare const MlNavigationTools:
|
|
21
|
+
* @component
|
|
22
|
+
*/
|
|
23
|
+
declare const MlNavigationTools: {
|
|
24
|
+
(props: MlNavigationToolsProps): JSX.Element;
|
|
25
|
+
defaultProps: {
|
|
26
|
+
mapId: undefined;
|
|
27
|
+
showFollowGpsButton: boolean;
|
|
28
|
+
showCenterLocationButton: boolean;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
9
31
|
export default MlNavigationTools;
|
|
@@ -21,7 +21,7 @@ interface MlTransitionGeoJsonLayerProps {
|
|
|
21
21
|
* https://maplibre.org/maplibre-gl-js-docs/style-spec/layers/#circle
|
|
22
22
|
* https://maplibre.org/maplibre-gl-js-docs/style-spec/layers/#fill
|
|
23
23
|
*/
|
|
24
|
-
paint?: CircleLayerSpecification['paint'] | FillLayerSpecification['paint'] | LineLayerSpecification['
|
|
24
|
+
paint?: CircleLayerSpecification['paint'] | FillLayerSpecification['paint'] | LineLayerSpecification['paint'];
|
|
25
25
|
/**
|
|
26
26
|
* Layout property object, that is passed to the addLayer call.
|
|
27
27
|
* Possible props depend on the layer type.
|