@mapcomponents/react-maplibre 0.1.51 → 0.1.54
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/CHANGELOG.md +13 -2
- package/coverage/clover.xml +52 -31
- package/coverage/coverage-final.json +3 -2
- 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 +20 -2
- 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 +195 -42
- 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 +120 -76
- 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/MlLayer/MlLayer.d.ts +5 -0
- package/dist/components/MlNavigationTools/MlNavigationTools.d.ts +39 -3
- package/dist/components/MlNavigationTools/MlNavigationTools.stories.d.ts +8 -3
- package/dist/components/MlTransitionGeoJsonLayer/MlTransitionGeoJsonLayer.d.ts +1 -1
- package/dist/decorators/NoNavToolsDecorator.d.ts +2 -0
- package/dist/index.esm.js +79 -15
- 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/MlLayer/MlLayer.tsx +6 -0
- package/src/components/MlNavigationTools/MlNavigationTools.stories.js +43 -6
- package/src/components/MlNavigationTools/MlNavigationTools.tsx +79 -28
- package/src/components/MlTransitionGeoJsonLayer/MlTransitionGeoJsonLayer.tsx +1 -1
- package/src/decorators/NoNavToolsDecorator.js +31 -0
|
@@ -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 12:46:12 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 12:46:12 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 12:46:12 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 12:46:12 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 12:46:12 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 12:46:12 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 12:46:12 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 12:46:12 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 12:46:12 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 12:46:12 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 12:46:12 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 12:46:12 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 12:46:12 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 12:46:12 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 12:46:12 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 12:46:12 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 12:46:12 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 12:46:12 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 12:46:12 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)
|
|
@@ -1245,13 +1278,13 @@ BRH:21
|
|
|
1245
1278
|
end_of_record
|
|
1246
1279
|
TN:
|
|
1247
1280
|
SF:src/components/MlLayer/MlLayer.tsx
|
|
1248
|
-
FN:
|
|
1281
|
+
FN:35,(anonymous_0)
|
|
1249
1282
|
FNF:1
|
|
1250
1283
|
FNH:1
|
|
1251
1284
|
FNDA:20,(anonymous_0)
|
|
1252
|
-
DA:
|
|
1253
|
-
DA:
|
|
1254
|
-
DA:
|
|
1285
|
+
DA:35,11
|
|
1286
|
+
DA:36,20
|
|
1287
|
+
DA:51,20
|
|
1255
1288
|
LF:3
|
|
1256
1289
|
LH:3
|
|
1257
1290
|
BRF:0
|
|
@@ -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:48,(anonymous_0)
|
|
1871
|
+
FN:76,(anonymous_1)
|
|
1872
|
+
FN:81,(anonymous_2)
|
|
1873
|
+
FN:91,(anonymous_3)
|
|
1874
|
+
FN:99,(anonymous_4)
|
|
1875
|
+
FN:107,(anonymous_5)
|
|
1876
|
+
FN:149,(anonymous_6)
|
|
1877
|
+
FN:152,(anonymous_7)
|
|
1878
|
+
FNF:8
|
|
1845
1879
|
FNH:0
|
|
1846
1880
|
FNDA:0,(anonymous_0)
|
|
1847
1881
|
FNDA:0,(anonymous_1)
|
|
@@ -1850,76 +1884,86 @@ 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:26,0
|
|
1856
|
-
DA:27,0
|
|
1857
|
-
DA:28,0
|
|
1858
|
-
DA:45,0
|
|
1859
|
-
DA:46,0
|
|
1860
|
-
DA:48,0
|
|
1887
|
+
FNDA:0,(anonymous_7)
|
|
1888
|
+
DA:48,10
|
|
1861
1889
|
DA:49,0
|
|
1862
|
-
DA:
|
|
1863
|
-
DA:
|
|
1890
|
+
DA:54,0
|
|
1891
|
+
DA:55,0
|
|
1864
1892
|
DA:56,0
|
|
1865
|
-
DA:
|
|
1866
|
-
DA:
|
|
1867
|
-
DA:
|
|
1868
|
-
DA:67,0
|
|
1869
|
-
DA:68,0
|
|
1870
|
-
DA:70,0
|
|
1871
|
-
DA:74,0
|
|
1872
|
-
DA:78,0
|
|
1893
|
+
DA:72,0
|
|
1894
|
+
DA:76,0
|
|
1895
|
+
DA:77,0
|
|
1873
1896
|
DA:79,0
|
|
1874
|
-
DA:81,0
|
|
1875
1897
|
DA:82,0
|
|
1876
|
-
DA:
|
|
1877
|
-
DA:85,0
|
|
1898
|
+
DA:84,0
|
|
1878
1899
|
DA:88,0
|
|
1900
|
+
DA:91,0
|
|
1901
|
+
DA:92,0
|
|
1902
|
+
DA:94,0
|
|
1903
|
+
DA:95,0
|
|
1904
|
+
DA:99,0
|
|
1905
|
+
DA:100,0
|
|
1906
|
+
DA:102,0
|
|
1907
|
+
DA:103,0
|
|
1908
|
+
DA:107,0
|
|
1909
|
+
DA:108,0
|
|
1910
|
+
DA:110,0
|
|
1911
|
+
DA:111,0
|
|
1912
|
+
DA:112,0
|
|
1879
1913
|
DA:114,0
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
BRDA:
|
|
1887
|
-
BRDA:
|
|
1888
|
-
BRDA:
|
|
1889
|
-
BRDA:
|
|
1890
|
-
BRDA:
|
|
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
|
-
|
|
1914
|
+
DA:117,0
|
|
1915
|
+
DA:149,0
|
|
1916
|
+
DA:152,0
|
|
1917
|
+
DA:182,10
|
|
1918
|
+
LF:30
|
|
1919
|
+
LH:2
|
|
1920
|
+
BRDA:59,0,0,0
|
|
1921
|
+
BRDA:59,0,1,0
|
|
1922
|
+
BRDA:60,1,0,0
|
|
1923
|
+
BRDA:60,1,1,0
|
|
1924
|
+
BRDA:66,2,0,0
|
|
1925
|
+
BRDA:66,2,1,0
|
|
1926
|
+
BRDA:77,3,0,0
|
|
1927
|
+
BRDA:77,3,1,0
|
|
1928
|
+
BRDA:82,4,0,0
|
|
1929
|
+
BRDA:82,4,1,0
|
|
1930
|
+
BRDA:92,5,0,0
|
|
1931
|
+
BRDA:92,5,1,0
|
|
1932
|
+
BRDA:94,6,0,0
|
|
1933
|
+
BRDA:94,6,1,0
|
|
1934
|
+
BRDA:100,7,0,0
|
|
1935
|
+
BRDA:100,7,1,0
|
|
1936
|
+
BRDA:102,8,0,0
|
|
1937
|
+
BRDA:102,8,1,0
|
|
1938
|
+
BRDA:108,9,0,0
|
|
1939
|
+
BRDA:108,9,1,0
|
|
1940
|
+
BRDA:111,10,0,0
|
|
1941
|
+
BRDA:111,10,1,0
|
|
1942
|
+
BRDA:122,11,0,0
|
|
1943
|
+
BRDA:122,11,1,0
|
|
1944
|
+
BRDA:123,12,0,0
|
|
1945
|
+
BRDA:123,12,1,0
|
|
1946
|
+
BRDA:132,13,0,0
|
|
1947
|
+
BRDA:132,13,1,0
|
|
1948
|
+
BRDA:133,14,0,0
|
|
1949
|
+
BRDA:133,14,1,0
|
|
1950
|
+
BRDA:134,15,0,0
|
|
1951
|
+
BRDA:134,15,1,0
|
|
1952
|
+
BRDA:140,16,0,0
|
|
1953
|
+
BRDA:140,16,1,0
|
|
1954
|
+
BRDA:142,17,0,0
|
|
1955
|
+
BRDA:142,17,1,0
|
|
1956
|
+
BRDA:145,18,0,0
|
|
1957
|
+
BRDA:145,18,1,0
|
|
1958
|
+
BRDA:148,19,0,0
|
|
1959
|
+
BRDA:148,19,1,0
|
|
1960
|
+
BRDA:151,20,0,0
|
|
1961
|
+
BRDA:151,20,1,0
|
|
1962
|
+
BRDA:163,21,0,0
|
|
1963
|
+
BRDA:163,21,1,0
|
|
1964
|
+
BRDA:174,22,0,0
|
|
1965
|
+
BRDA:174,22,1,0
|
|
1966
|
+
BRF:46
|
|
1923
1967
|
BRH:0
|
|
1924
1968
|
end_of_record
|
|
1925
1969
|
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,3 +1,4 @@
|
|
|
1
|
+
import { Feature, FeatureCollection } from "@turf/turf";
|
|
1
2
|
interface MlLayerProps {
|
|
2
3
|
/**
|
|
3
4
|
* Id of the target MapLibre instance in mapContext
|
|
@@ -16,6 +17,10 @@ interface MlLayerProps {
|
|
|
16
17
|
* Javascript object that is passed the addLayer command as first parameter.
|
|
17
18
|
*/
|
|
18
19
|
options?: any;
|
|
20
|
+
/**
|
|
21
|
+
* GeoJSON data that is supposed to be rendered by this component.
|
|
22
|
+
*/
|
|
23
|
+
geojson: Feature | FeatureCollection | undefined;
|
|
19
24
|
}
|
|
20
25
|
/**
|
|
21
26
|
* Basic layer component that create a layer in a MapLibre-gl instance and keeps it updated according to it attribute configuration.
|
|
@@ -1,9 +1,45 @@
|
|
|
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 3D button
|
|
13
|
+
*/
|
|
14
|
+
show3DButton?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Show zoom button
|
|
17
|
+
*/
|
|
18
|
+
showZoomButtons?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Show follow GPS button
|
|
21
|
+
*/
|
|
22
|
+
showFollowGpsButton?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Show center on current position button
|
|
25
|
+
*/
|
|
26
|
+
showCenterLocationButton?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Additional JSX Elements to be rendered below MlNavigationTools buttons
|
|
29
|
+
*/
|
|
30
|
+
children?: JSX.Element;
|
|
4
31
|
}
|
|
5
32
|
/**
|
|
6
|
-
* @component
|
|
7
|
-
*/
|
|
8
|
-
declare const MlNavigationTools:
|
|
33
|
+
* @component
|
|
34
|
+
*/
|
|
35
|
+
declare const MlNavigationTools: {
|
|
36
|
+
(props: MlNavigationToolsProps): JSX.Element;
|
|
37
|
+
defaultProps: {
|
|
38
|
+
mapId: undefined;
|
|
39
|
+
show3DButton: boolean;
|
|
40
|
+
showFollowGpsButton: boolean;
|
|
41
|
+
showCenterLocationButton: boolean;
|
|
42
|
+
showZoomButtons: boolean;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
9
45
|
export default MlNavigationTools;
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
export default storyoptions;
|
|
2
|
-
export const
|
|
2
|
+
export const DefaultConfig: any;
|
|
3
|
+
export const No3DButton: any;
|
|
4
|
+
export const ShowCenterLocationButton: any;
|
|
5
|
+
export const NoZoomButtons: any;
|
|
6
|
+
export const NoFollowGpsButton: any;
|
|
7
|
+
export const CustomButton: any;
|
|
3
8
|
declare namespace storyoptions {
|
|
4
9
|
export const title: string;
|
|
5
10
|
export { MlNavigationTools as component };
|
|
@@ -7,7 +12,7 @@ declare namespace storyoptions {
|
|
|
7
12
|
const url: {};
|
|
8
13
|
const layer: {};
|
|
9
14
|
}
|
|
10
|
-
export {
|
|
15
|
+
export { noNavToolsDecorator as decorators };
|
|
11
16
|
}
|
|
12
17
|
import MlNavigationTools from "./MlNavigationTools";
|
|
13
|
-
import
|
|
18
|
+
import noNavToolsDecorator from "../../decorators/NoNavToolsDecorator";
|
|
@@ -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.
|