@mapcomponents/react-maplibre 0.1.53 → 0.1.56
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 +24 -1
- package/coverage/clover.xml +89 -83
- package/coverage/coverage-final.json +3 -3
- package/coverage/lcov-report/index.html +16 -16
- 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 +1 -1
- package/coverage/lcov-report/src/components/MlCenterPosition/index.html +1 -1
- package/coverage/lcov-report/src/components/MlCreatePdfButton/MlCreatePdfButton.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlCreatePdfButton/index.html +1 -1
- package/coverage/lcov-report/src/components/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 +123 -36
- package/coverage/lcov-report/src/components/MlFollowGps/index.html +15 -15
- 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 +1 -1
- 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 +42 -12
- package/coverage/lcov-report/src/components/MlNavigationTools/index.html +3 -3
- 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 +1 -1
- package/coverage/lcov-report/src/components/MlTransitionGeoJsonLayer/index.html +1 -1
- package/coverage/lcov-report/src/components/MlUseMapDebugger/MlUseMapDebugger.js.html +1 -1
- package/coverage/lcov-report/src/components/MlUseMapDebugger/index.html +1 -1
- package/coverage/lcov-report/src/components/MlVectorTileLayer/MlVectorTileLayer.tsx.html +1 -1
- package/coverage/lcov-report/src/components/MlVectorTileLayer/index.html +1 -1
- package/coverage/lcov-report/src/components/MlWmsFeatureInfoPopup/MlWmsFeatureInfoPopup.js.html +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 +174 -163
- package/dist/components/MlFollowGps/MlFollowGps.d.ts +26 -6
- package/dist/components/MlLayer/MlLayer.d.ts +5 -0
- package/dist/components/MlNavigationTools/MlNavigationTools.d.ts +9 -0
- package/dist/components/MlNavigationTools/MlNavigationTools.stories.d.ts +1 -0
- package/dist/index.esm.js +119 -46
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/MlFollowGps/MlFollowGps.stories.js +4 -2
- package/src/components/MlFollowGps/MlFollowGps.tsx +53 -24
- package/src/components/MlLayer/MlLayer.tsx +6 -0
- package/src/components/MlNavigationTools/MlNavigationTools.stories.js +6 -0
- package/src/components/MlNavigationTools/MlNavigationTools.tsx +19 -9
- package/src/decorators/MapContextDecorator.js +5 -4
- package/src/decorators/MultiMapContextDecorator.js +54 -55
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
|
|
265
|
+
at Thu Aug 11 2022 13:20:32 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
|
|
104
|
+
at Thu Aug 11 2022 13:20:32 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
|
|
673
|
+
at Thu Aug 11 2022 13:20:32 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
|
|
104
|
+
at Thu Aug 11 2022 13:20:32 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
|
|
1024
|
+
at Thu Aug 11 2022 13:20:32 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
|
|
104
|
+
at Thu Aug 11 2022 13:20:32 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
|
|
346
|
+
at Thu Aug 11 2022 13:20:32 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
|
|
91
|
+
at Thu Aug 11 2022 13:20:32 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
|
|
265
|
+
at Thu Aug 11 2022 13:20:32 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
|
|
134
|
+
at Thu Aug 11 2022 13:20:32 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
|
|
149
|
+
at Thu Aug 11 2022 13:20:32 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
|
|
667
|
+
at Thu Aug 11 2022 13:20:32 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
|
|
343
|
+
at Thu Aug 11 2022 13:20:32 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
|
|
640
|
+
at Thu Aug 11 2022 13:20:32 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
|
|
346
|
+
at Thu Aug 11 2022 13:20:32 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
|
|
104
|
+
at Thu Aug 11 2022 13:20:32 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
|
|
190
|
+
at Thu Aug 11 2022 13:20:32 GMT+0000 (Coordinated Universal Time)
|
|
191
191
|
</div>
|
|
192
192
|
<script src="../prettify.js"></script>
|
|
193
193
|
<script>
|
package/coverage/lcov.info
CHANGED
|
@@ -242,16 +242,16 @@ BRH:8
|
|
|
242
242
|
end_of_record
|
|
243
243
|
TN:
|
|
244
244
|
SF:src/components/MlFollowGps/MlFollowGps.tsx
|
|
245
|
-
FN:
|
|
246
|
-
FN:
|
|
247
|
-
FN:
|
|
248
|
-
FN:
|
|
249
|
-
FN:
|
|
250
|
-
FN:
|
|
251
|
-
FN:
|
|
252
|
-
FN:
|
|
253
|
-
FN:
|
|
254
|
-
FN:
|
|
245
|
+
FN:82,(anonymous_0)
|
|
246
|
+
FN:96,(anonymous_1)
|
|
247
|
+
FN:121,(anonymous_2)
|
|
248
|
+
FN:126,(anonymous_3)
|
|
249
|
+
FN:141,(anonymous_4)
|
|
250
|
+
FN:145,(anonymous_5)
|
|
251
|
+
FN:149,(anonymous_6)
|
|
252
|
+
FN:158,(anonymous_7)
|
|
253
|
+
FN:164,(anonymous_8)
|
|
254
|
+
FN:222,(anonymous_9)
|
|
255
255
|
FNF:10
|
|
256
256
|
FNH:7
|
|
257
257
|
FNDA:9,(anonymous_0)
|
|
@@ -264,82 +264,95 @@ FNDA:1,(anonymous_6)
|
|
|
264
264
|
FNDA:7,(anonymous_7)
|
|
265
265
|
FNDA:1,(anonymous_8)
|
|
266
266
|
FNDA:3,(anonymous_9)
|
|
267
|
-
DA:
|
|
268
|
-
DA:
|
|
269
|
-
DA:
|
|
270
|
-
DA:
|
|
271
|
-
DA:
|
|
272
|
-
DA:
|
|
273
|
-
DA:
|
|
274
|
-
DA:
|
|
275
|
-
DA:
|
|
276
|
-
DA:82,0
|
|
277
|
-
DA:88,0
|
|
278
|
-
DA:89,0
|
|
279
|
-
DA:90,0
|
|
280
|
-
DA:91,0
|
|
281
|
-
DA:96,9
|
|
267
|
+
DA:82,11
|
|
268
|
+
DA:83,9
|
|
269
|
+
DA:88,9
|
|
270
|
+
DA:89,9
|
|
271
|
+
DA:90,9
|
|
272
|
+
DA:91,9
|
|
273
|
+
DA:92,9
|
|
274
|
+
DA:93,9
|
|
275
|
+
DA:95,9
|
|
282
276
|
DA:97,0
|
|
283
|
-
DA:
|
|
284
|
-
DA:
|
|
285
|
-
DA:
|
|
286
|
-
DA:103,2
|
|
287
|
-
DA:105,0
|
|
288
|
-
DA:106,0
|
|
289
|
-
DA:107,0
|
|
277
|
+
DA:99,0
|
|
278
|
+
DA:100,0
|
|
279
|
+
DA:101,0
|
|
290
280
|
DA:108,0
|
|
291
|
-
DA:109,0
|
|
292
|
-
DA:110,0
|
|
293
281
|
DA:111,0
|
|
294
|
-
DA:112,0
|
|
295
282
|
DA:113,0
|
|
296
|
-
DA:
|
|
297
|
-
DA:
|
|
298
|
-
DA:
|
|
299
|
-
DA:121,
|
|
300
|
-
DA:122,
|
|
301
|
-
DA:123,
|
|
302
|
-
DA:
|
|
303
|
-
DA:
|
|
304
|
-
DA:128,
|
|
305
|
-
DA:
|
|
306
|
-
DA:
|
|
307
|
-
DA:
|
|
308
|
-
DA:
|
|
309
|
-
DA:
|
|
310
|
-
DA:
|
|
311
|
-
DA:
|
|
312
|
-
DA:
|
|
313
|
-
DA:
|
|
314
|
-
DA:
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
BRDA:
|
|
337
|
-
BRDA:
|
|
338
|
-
BRDA:
|
|
339
|
-
BRDA:
|
|
340
|
-
BRDA:
|
|
341
|
-
BRDA:
|
|
342
|
-
|
|
283
|
+
DA:114,0
|
|
284
|
+
DA:115,0
|
|
285
|
+
DA:116,0
|
|
286
|
+
DA:121,9
|
|
287
|
+
DA:122,0
|
|
288
|
+
DA:123,0
|
|
289
|
+
DA:126,9
|
|
290
|
+
DA:127,2
|
|
291
|
+
DA:128,2
|
|
292
|
+
DA:130,0
|
|
293
|
+
DA:131,0
|
|
294
|
+
DA:132,0
|
|
295
|
+
DA:133,0
|
|
296
|
+
DA:134,0
|
|
297
|
+
DA:135,0
|
|
298
|
+
DA:136,0
|
|
299
|
+
DA:137,0
|
|
300
|
+
DA:138,0
|
|
301
|
+
DA:141,9
|
|
302
|
+
DA:142,0
|
|
303
|
+
DA:145,9
|
|
304
|
+
DA:146,5
|
|
305
|
+
DA:147,2
|
|
306
|
+
DA:148,2
|
|
307
|
+
DA:149,2
|
|
308
|
+
DA:150,1
|
|
309
|
+
DA:153,3
|
|
310
|
+
DA:155,3
|
|
311
|
+
DA:158,9
|
|
312
|
+
DA:159,7
|
|
313
|
+
DA:161,5
|
|
314
|
+
DA:162,2
|
|
315
|
+
DA:164,2
|
|
316
|
+
DA:165,1
|
|
317
|
+
DA:168,3
|
|
318
|
+
DA:171,9
|
|
319
|
+
DA:223,3
|
|
320
|
+
DA:235,11
|
|
321
|
+
LF:54
|
|
322
|
+
LH:32
|
|
323
|
+
BRDA:97,0,0,0
|
|
324
|
+
BRDA:97,0,1,0
|
|
325
|
+
BRDA:99,1,0,0
|
|
326
|
+
BRDA:99,1,1,0
|
|
327
|
+
BRDA:99,2,0,0
|
|
328
|
+
BRDA:99,2,1,0
|
|
329
|
+
BRDA:99,2,2,0
|
|
330
|
+
BRDA:100,3,0,0
|
|
331
|
+
BRDA:100,3,1,0
|
|
332
|
+
BRDA:113,4,0,0
|
|
333
|
+
BRDA:113,4,1,0
|
|
334
|
+
BRDA:127,5,0,2
|
|
335
|
+
BRDA:127,5,1,0
|
|
336
|
+
BRDA:146,6,0,2
|
|
337
|
+
BRDA:146,6,1,3
|
|
338
|
+
BRDA:159,7,0,2
|
|
339
|
+
BRDA:159,7,1,5
|
|
340
|
+
BRDA:161,8,0,2
|
|
341
|
+
BRDA:161,8,1,3
|
|
342
|
+
BRDA:173,9,0,9
|
|
343
|
+
BRDA:173,9,1,2
|
|
344
|
+
BRDA:173,9,2,0
|
|
345
|
+
BRDA:186,10,0,9
|
|
346
|
+
BRDA:186,10,1,2
|
|
347
|
+
BRDA:186,10,2,0
|
|
348
|
+
BRDA:200,11,0,9
|
|
349
|
+
BRDA:200,11,1,2
|
|
350
|
+
BRDA:200,11,2,0
|
|
351
|
+
BRDA:218,12,0,2
|
|
352
|
+
BRDA:218,12,1,7
|
|
353
|
+
BRDA:228,13,0,9
|
|
354
|
+
BRDA:228,13,1,0
|
|
355
|
+
BRF:32
|
|
343
356
|
BRH:16
|
|
344
357
|
end_of_record
|
|
345
358
|
TN:
|
|
@@ -1278,13 +1291,13 @@ BRH:21
|
|
|
1278
1291
|
end_of_record
|
|
1279
1292
|
TN:
|
|
1280
1293
|
SF:src/components/MlLayer/MlLayer.tsx
|
|
1281
|
-
FN:
|
|
1294
|
+
FN:35,(anonymous_0)
|
|
1282
1295
|
FNF:1
|
|
1283
1296
|
FNH:1
|
|
1284
1297
|
FNDA:20,(anonymous_0)
|
|
1285
|
-
DA:
|
|
1286
|
-
DA:
|
|
1287
|
-
DA:
|
|
1298
|
+
DA:35,11
|
|
1299
|
+
DA:36,20
|
|
1300
|
+
DA:51,20
|
|
1288
1301
|
LF:3
|
|
1289
1302
|
LH:3
|
|
1290
1303
|
BRF:0
|
|
@@ -1867,14 +1880,14 @@ BRH:4
|
|
|
1867
1880
|
end_of_record
|
|
1868
1881
|
TN:
|
|
1869
1882
|
SF:src/components/MlNavigationTools/MlNavigationTools.tsx
|
|
1870
|
-
FN:
|
|
1871
|
-
FN:
|
|
1872
|
-
FN:
|
|
1873
|
-
FN:
|
|
1874
|
-
FN:
|
|
1875
|
-
FN:
|
|
1876
|
-
FN:
|
|
1877
|
-
FN:
|
|
1883
|
+
FN:54,(anonymous_0)
|
|
1884
|
+
FN:82,(anonymous_1)
|
|
1885
|
+
FN:87,(anonymous_2)
|
|
1886
|
+
FN:97,(anonymous_3)
|
|
1887
|
+
FN:105,(anonymous_4)
|
|
1888
|
+
FN:113,(anonymous_5)
|
|
1889
|
+
FN:155,(anonymous_6)
|
|
1890
|
+
FN:158,(anonymous_7)
|
|
1878
1891
|
FNF:8
|
|
1879
1892
|
FNH:0
|
|
1880
1893
|
FNDA:0,(anonymous_0)
|
|
@@ -1885,85 +1898,83 @@ FNDA:0,(anonymous_4)
|
|
|
1885
1898
|
FNDA:0,(anonymous_5)
|
|
1886
1899
|
FNDA:0,(anonymous_6)
|
|
1887
1900
|
FNDA:0,(anonymous_7)
|
|
1888
|
-
DA:
|
|
1889
|
-
DA:49,0
|
|
1890
|
-
DA:54,0
|
|
1901
|
+
DA:54,10
|
|
1891
1902
|
DA:55,0
|
|
1892
|
-
DA:
|
|
1893
|
-
DA:
|
|
1894
|
-
DA:
|
|
1895
|
-
DA:
|
|
1896
|
-
DA:79,0
|
|
1903
|
+
DA:60,0
|
|
1904
|
+
DA:61,0
|
|
1905
|
+
DA:62,0
|
|
1906
|
+
DA:78,0
|
|
1897
1907
|
DA:82,0
|
|
1898
|
-
DA:
|
|
1908
|
+
DA:83,0
|
|
1909
|
+
DA:85,0
|
|
1899
1910
|
DA:88,0
|
|
1900
|
-
DA:
|
|
1901
|
-
DA:92,0
|
|
1911
|
+
DA:90,0
|
|
1902
1912
|
DA:94,0
|
|
1903
|
-
DA:
|
|
1904
|
-
DA:
|
|
1913
|
+
DA:97,0
|
|
1914
|
+
DA:98,0
|
|
1905
1915
|
DA:100,0
|
|
1906
|
-
DA:
|
|
1907
|
-
DA:
|
|
1908
|
-
DA:
|
|
1916
|
+
DA:101,0
|
|
1917
|
+
DA:105,0
|
|
1918
|
+
DA:106,0
|
|
1909
1919
|
DA:108,0
|
|
1910
|
-
DA:
|
|
1911
|
-
DA:
|
|
1912
|
-
DA:112,0
|
|
1920
|
+
DA:109,0
|
|
1921
|
+
DA:113,0
|
|
1913
1922
|
DA:114,0
|
|
1923
|
+
DA:116,0
|
|
1914
1924
|
DA:117,0
|
|
1915
|
-
DA:
|
|
1916
|
-
DA:
|
|
1917
|
-
DA:
|
|
1925
|
+
DA:118,0
|
|
1926
|
+
DA:120,0
|
|
1927
|
+
DA:123,0
|
|
1928
|
+
DA:155,0
|
|
1929
|
+
DA:158,0
|
|
1930
|
+
DA:188,10
|
|
1918
1931
|
LF:30
|
|
1919
1932
|
LH:2
|
|
1920
|
-
BRDA:
|
|
1921
|
-
BRDA:
|
|
1922
|
-
BRDA:
|
|
1923
|
-
BRDA:
|
|
1924
|
-
BRDA:
|
|
1925
|
-
BRDA:
|
|
1926
|
-
BRDA:
|
|
1927
|
-
BRDA:
|
|
1928
|
-
BRDA:
|
|
1929
|
-
BRDA:
|
|
1930
|
-
BRDA:
|
|
1931
|
-
BRDA:
|
|
1932
|
-
BRDA:
|
|
1933
|
-
BRDA:
|
|
1934
|
-
BRDA:
|
|
1935
|
-
BRDA:
|
|
1936
|
-
BRDA:
|
|
1937
|
-
BRDA:
|
|
1938
|
-
BRDA:
|
|
1939
|
-
BRDA:
|
|
1940
|
-
BRDA:
|
|
1941
|
-
BRDA:
|
|
1942
|
-
BRDA:
|
|
1943
|
-
BRDA:
|
|
1944
|
-
BRDA:
|
|
1945
|
-
BRDA:
|
|
1946
|
-
BRDA:
|
|
1947
|
-
BRDA:
|
|
1948
|
-
BRDA:
|
|
1949
|
-
BRDA:
|
|
1950
|
-
BRDA:
|
|
1951
|
-
BRDA:
|
|
1952
|
-
BRDA:
|
|
1953
|
-
BRDA:
|
|
1954
|
-
BRDA:
|
|
1955
|
-
BRDA:
|
|
1956
|
-
BRDA:
|
|
1957
|
-
BRDA:
|
|
1958
|
-
BRDA:
|
|
1959
|
-
BRDA:
|
|
1960
|
-
BRDA:
|
|
1961
|
-
BRDA:
|
|
1962
|
-
BRDA:
|
|
1963
|
-
BRDA:
|
|
1964
|
-
|
|
1965
|
-
BRDA:174,22,1,0
|
|
1966
|
-
BRF:46
|
|
1933
|
+
BRDA:65,0,0,0
|
|
1934
|
+
BRDA:65,0,1,0
|
|
1935
|
+
BRDA:66,1,0,0
|
|
1936
|
+
BRDA:66,1,1,0
|
|
1937
|
+
BRDA:72,2,0,0
|
|
1938
|
+
BRDA:72,2,1,0
|
|
1939
|
+
BRDA:83,3,0,0
|
|
1940
|
+
BRDA:83,3,1,0
|
|
1941
|
+
BRDA:88,4,0,0
|
|
1942
|
+
BRDA:88,4,1,0
|
|
1943
|
+
BRDA:98,5,0,0
|
|
1944
|
+
BRDA:98,5,1,0
|
|
1945
|
+
BRDA:100,6,0,0
|
|
1946
|
+
BRDA:100,6,1,0
|
|
1947
|
+
BRDA:106,7,0,0
|
|
1948
|
+
BRDA:106,7,1,0
|
|
1949
|
+
BRDA:108,8,0,0
|
|
1950
|
+
BRDA:108,8,1,0
|
|
1951
|
+
BRDA:114,9,0,0
|
|
1952
|
+
BRDA:114,9,1,0
|
|
1953
|
+
BRDA:117,10,0,0
|
|
1954
|
+
BRDA:117,10,1,0
|
|
1955
|
+
BRDA:130,11,0,0
|
|
1956
|
+
BRDA:130,11,1,0
|
|
1957
|
+
BRDA:138,12,0,0
|
|
1958
|
+
BRDA:138,12,1,0
|
|
1959
|
+
BRDA:139,13,0,0
|
|
1960
|
+
BRDA:139,13,1,0
|
|
1961
|
+
BRDA:140,14,0,0
|
|
1962
|
+
BRDA:140,14,1,0
|
|
1963
|
+
BRDA:146,15,0,0
|
|
1964
|
+
BRDA:146,15,1,0
|
|
1965
|
+
BRDA:148,16,0,0
|
|
1966
|
+
BRDA:148,16,1,0
|
|
1967
|
+
BRDA:151,17,0,0
|
|
1968
|
+
BRDA:151,17,1,0
|
|
1969
|
+
BRDA:154,18,0,0
|
|
1970
|
+
BRDA:154,18,1,0
|
|
1971
|
+
BRDA:157,19,0,0
|
|
1972
|
+
BRDA:157,19,1,0
|
|
1973
|
+
BRDA:169,20,0,0
|
|
1974
|
+
BRDA:169,20,1,0
|
|
1975
|
+
BRDA:180,21,0,0
|
|
1976
|
+
BRDA:180,21,1,0
|
|
1977
|
+
BRF:44
|
|
1967
1978
|
BRH:0
|
|
1968
1979
|
end_of_record
|
|
1969
1980
|
TN:
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { SxProps } from "@mui/material";
|
|
2
|
+
import { CircleLayerSpecification, FillLayerSpecification } from "maplibre-gl";
|
|
1
3
|
interface MlFollowGpsProps {
|
|
2
4
|
/**
|
|
3
5
|
* Id of the target MapLibre instance in mapContext
|
|
@@ -23,11 +25,27 @@ interface MlFollowGpsProps {
|
|
|
23
25
|
*/
|
|
24
26
|
showAccuracyCircle?: boolean;
|
|
25
27
|
/**
|
|
26
|
-
*
|
|
28
|
+
* Use the MapLibre.flyTo function to center the map to the current users position if true.
|
|
29
|
+
* Otherwise the MapLibre.setCenter function is used.
|
|
30
|
+
*/
|
|
31
|
+
useFlyTo?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Center map to current position once updated location data is recieved.
|
|
34
|
+
* "false" will center the map once on component activation and then display the updated user location on the map.
|
|
35
|
+
*/
|
|
36
|
+
centerUserPosition?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Orientation cone paint property object, that is passed to the MlGeoJsonLayer responsible for drawing the orientation cone polygon.
|
|
27
39
|
* Use any available paint prop from layer type "fill".
|
|
28
40
|
* https://maplibre.org/maplibre-gl-js-docs/style-spec/layers/#fill
|
|
29
41
|
*/
|
|
30
|
-
|
|
42
|
+
orientationConePaint?: FillLayerSpecification["paint"];
|
|
43
|
+
/**
|
|
44
|
+
* Position circle paint property object, that is passed to the MlGeoJsonLayer responsible for drawing the position circle.
|
|
45
|
+
* Use any available paint prop from layer type "circle".
|
|
46
|
+
* https://maplibre.org/maplibre-gl-js-docs/style-spec/layers/#circle
|
|
47
|
+
*/
|
|
48
|
+
circlePaint?: CircleLayerSpecification["paint"];
|
|
31
49
|
/**
|
|
32
50
|
* Active button font color
|
|
33
51
|
*/
|
|
@@ -37,15 +55,15 @@ interface MlFollowGpsProps {
|
|
|
37
55
|
*/
|
|
38
56
|
offColor?: string;
|
|
39
57
|
/**
|
|
40
|
-
* Accuracy paint property object, that is passed to the MlGeoJsonLayer responsible for drawing the accuracy
|
|
58
|
+
* Accuracy paint property object, that is passed to the MlGeoJsonLayer responsible for drawing the accuracy polygon.
|
|
41
59
|
* Use any available paint prop from layer type "fill".
|
|
42
60
|
* https://maplibre.org/maplibre-gl-js-docs/style-spec/layers/#fill
|
|
43
61
|
*/
|
|
44
|
-
accuracyPaint?:
|
|
62
|
+
accuracyPaint?: FillLayerSpecification["paint"];
|
|
45
63
|
/**
|
|
46
64
|
* CSS style object that is applied to the button component
|
|
47
65
|
*/
|
|
48
|
-
|
|
66
|
+
buttonSx?: SxProps | any;
|
|
49
67
|
}
|
|
50
68
|
/**
|
|
51
69
|
* Adds a button that makes the map follow the users GPS position using
|
|
@@ -56,7 +74,7 @@ declare const MlFollowGps: {
|
|
|
56
74
|
(props: MlFollowGpsProps): JSX.Element;
|
|
57
75
|
defaultProps: {
|
|
58
76
|
mapId: undefined;
|
|
59
|
-
|
|
77
|
+
buttonSx: {
|
|
60
78
|
minWidth: string;
|
|
61
79
|
minHeight: string;
|
|
62
80
|
width: string;
|
|
@@ -75,6 +93,8 @@ declare const MlFollowGps: {
|
|
|
75
93
|
showAccuracyCircle: boolean;
|
|
76
94
|
showUserLocation: boolean;
|
|
77
95
|
showOrientation: boolean;
|
|
96
|
+
centerUserPosition: boolean;
|
|
97
|
+
useFlyTo: boolean;
|
|
78
98
|
};
|
|
79
99
|
};
|
|
80
100
|
export default MlFollowGps;
|
|
@@ -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.
|