@mapcomponents/react-maplibre 0.1.55 → 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.
Files changed (88) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/coverage/clover.xml +86 -80
  3. package/coverage/coverage-final.json +2 -2
  4. package/coverage/lcov-report/index.html +16 -16
  5. package/coverage/lcov-report/src/components/MapLibreMap/MapLibreMap.tsx.html +1 -1
  6. package/coverage/lcov-report/src/components/MapLibreMap/index.html +1 -1
  7. package/coverage/lcov-report/src/components/MlCenterPosition/MlCenterPosition.tsx.html +1 -1
  8. package/coverage/lcov-report/src/components/MlCenterPosition/index.html +1 -1
  9. package/coverage/lcov-report/src/components/MlCreatePdfButton/MlCreatePdfButton.tsx.html +1 -1
  10. package/coverage/lcov-report/src/components/MlCreatePdfButton/index.html +1 -1
  11. package/coverage/lcov-report/src/components/MlFeatureEditor/MlFeatureEditor.tsx.html +1 -1
  12. package/coverage/lcov-report/src/components/MlFeatureEditor/index.html +1 -1
  13. package/coverage/lcov-report/src/components/MlFillExtrusionLayer/MlFillExtrusionLayer.tsx.html +1 -1
  14. package/coverage/lcov-report/src/components/MlFillExtrusionLayer/index.html +1 -1
  15. package/coverage/lcov-report/src/components/MlFollowGps/MlFollowGps.tsx.html +123 -36
  16. package/coverage/lcov-report/src/components/MlFollowGps/index.html +15 -15
  17. package/coverage/lcov-report/src/components/MlGPXViewer/MlGPXViewer.tsx.html +1 -1
  18. package/coverage/lcov-report/src/components/MlGPXViewer/gpxConverter.js.html +1 -1
  19. package/coverage/lcov-report/src/components/MlGPXViewer/index.html +1 -1
  20. package/coverage/lcov-report/src/components/MlGeoJsonLayer/MlGeoJsonLayer.tsx.html +1 -1
  21. package/coverage/lcov-report/src/components/MlGeoJsonLayer/index.html +1 -1
  22. package/coverage/lcov-report/src/components/MlImageMarkerLayer/MlImageMarkerLayer.tsx.html +1 -1
  23. package/coverage/lcov-report/src/components/MlImageMarkerLayer/index.html +1 -1
  24. package/coverage/lcov-report/src/components/MlLayer/MlLayer.tsx.html +1 -1
  25. package/coverage/lcov-report/src/components/MlLayer/index.html +1 -1
  26. package/coverage/lcov-report/src/components/MlLayerMagnify/MlLayerMagnify.tsx.html +1 -1
  27. package/coverage/lcov-report/src/components/MlLayerMagnify/index.html +1 -1
  28. package/coverage/lcov-report/src/components/MlLayerSwipe/MlLayerSwipe.tsx.html +1 -1
  29. package/coverage/lcov-report/src/components/MlLayerSwipe/index.html +1 -1
  30. package/coverage/lcov-report/src/components/MlLayerSwitcher/MlLayerSwitcher.js.html +1 -1
  31. package/coverage/lcov-report/src/components/MlLayerSwitcher/components/LayerBox.js.html +1 -1
  32. package/coverage/lcov-report/src/components/MlLayerSwitcher/components/index.html +1 -1
  33. package/coverage/lcov-report/src/components/MlLayerSwitcher/index.html +1 -1
  34. package/coverage/lcov-report/src/components/MlMarker/MlMarker.tsx.html +1 -1
  35. package/coverage/lcov-report/src/components/MlMarker/index.html +1 -1
  36. package/coverage/lcov-report/src/components/MlMeasureTool/MlMeasureTool.tsx.html +1 -1
  37. package/coverage/lcov-report/src/components/MlMeasureTool/index.html +1 -1
  38. package/coverage/lcov-report/src/components/MlNavigationCompass/MlNavigationCompass.tsx.html +1 -1
  39. package/coverage/lcov-report/src/components/MlNavigationCompass/index.html +1 -1
  40. package/coverage/lcov-report/src/components/MlNavigationTools/MlNavigationTools.tsx.html +42 -12
  41. package/coverage/lcov-report/src/components/MlNavigationTools/index.html +3 -3
  42. package/coverage/lcov-report/src/components/MlOsmLayer/MlOsmLayer.js.html +1 -1
  43. package/coverage/lcov-report/src/components/MlOsmLayer/MlOsmLayer.stories_.js.html +1 -1
  44. package/coverage/lcov-report/src/components/MlOsmLayer/index.html +1 -1
  45. package/coverage/lcov-report/src/components/MlScaleReference/MlScaleReference.js.html +1 -1
  46. package/coverage/lcov-report/src/components/MlScaleReference/index.html +1 -1
  47. package/coverage/lcov-report/src/components/MlShareMapState/MlShareMapState.js.html +1 -1
  48. package/coverage/lcov-report/src/components/MlShareMapState/index.html +1 -1
  49. package/coverage/lcov-report/src/components/MlSpatialElevationProfile/MlSpatialElevationProfile.js.html +1 -1
  50. package/coverage/lcov-report/src/components/MlSpatialElevationProfile/index.html +1 -1
  51. package/coverage/lcov-report/src/components/MlThreeJsLayer/MlThreeJsLayer.js.html +1 -1
  52. package/coverage/lcov-report/src/components/MlThreeJsLayer/index.html +1 -1
  53. package/coverage/lcov-report/src/components/MlTransitionGeoJsonLayer/MlTransitionGeoJsonLayer.tsx.html +1 -1
  54. package/coverage/lcov-report/src/components/MlTransitionGeoJsonLayer/index.html +1 -1
  55. package/coverage/lcov-report/src/components/MlUseMapDebugger/MlUseMapDebugger.js.html +1 -1
  56. package/coverage/lcov-report/src/components/MlUseMapDebugger/index.html +1 -1
  57. package/coverage/lcov-report/src/components/MlVectorTileLayer/MlVectorTileLayer.tsx.html +1 -1
  58. package/coverage/lcov-report/src/components/MlVectorTileLayer/index.html +1 -1
  59. package/coverage/lcov-report/src/components/MlWmsFeatureInfoPopup/MlWmsFeatureInfoPopup.js.html +1 -1
  60. package/coverage/lcov-report/src/components/MlWmsFeatureInfoPopup/index.html +1 -1
  61. package/coverage/lcov-report/src/components/MlWmsLayer/MlWmsLayer.tsx.html +1 -1
  62. package/coverage/lcov-report/src/components/MlWmsLayer/index.html +1 -1
  63. package/coverage/lcov-report/src/components/MlWmsLoader/MlWmsLoader.tsx.html +1 -1
  64. package/coverage/lcov-report/src/components/MlWmsLoader/index.html +1 -1
  65. package/coverage/lcov-report/src/contexts/MapContext.tsx.html +1 -1
  66. package/coverage/lcov-report/src/contexts/SimpleDataContext.js.html +1 -1
  67. package/coverage/lcov-report/src/contexts/SimpleDataProvider.js.html +1 -1
  68. package/coverage/lcov-report/src/contexts/index.html +1 -1
  69. package/coverage/lcov-report/src/hooks/index.html +1 -1
  70. package/coverage/lcov-report/src/hooks/useLayer.ts.html +1 -1
  71. package/coverage/lcov-report/src/hooks/useMap.ts.html +1 -1
  72. package/coverage/lcov-report/src/hooks/useMapState.ts.html +1 -1
  73. package/coverage/lcov-report/src/hooks/useWms.js.html +1 -1
  74. package/coverage/lcov-report/src/index.html +1 -1
  75. package/coverage/lcov-report/src/index.ts.html +1 -1
  76. package/coverage/lcov.info +170 -159
  77. package/dist/components/MlFollowGps/MlFollowGps.d.ts +26 -6
  78. package/dist/components/MlNavigationTools/MlNavigationTools.d.ts +9 -0
  79. package/dist/components/MlNavigationTools/MlNavigationTools.stories.d.ts +1 -0
  80. package/dist/index.esm.js +118 -46
  81. package/dist/index.esm.js.map +1 -1
  82. package/package.json +1 -1
  83. package/src/components/MlFollowGps/MlFollowGps.stories.js +4 -2
  84. package/src/components/MlFollowGps/MlFollowGps.tsx +53 -24
  85. package/src/components/MlNavigationTools/MlNavigationTools.stories.js +6 -0
  86. package/src/components/MlNavigationTools/MlNavigationTools.tsx +19 -9
  87. package/src/decorators/MapContextDecorator.js +5 -4
  88. package/src/decorators/MultiMapContextDecorator.js +54 -55
@@ -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 19 2022 12:57:03 GMT+0000 (Coordinated Universal Time)
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 Tue Jul 19 2022 12:57:03 GMT+0000 (Coordinated Universal Time)
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 Tue Jul 19 2022 12:57:03 GMT+0000 (Coordinated Universal Time)
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 Tue Jul 19 2022 12:57:03 GMT+0000 (Coordinated Universal Time)
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 Tue Jul 19 2022 12:57:03 GMT+0000 (Coordinated Universal Time)
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 Tue Jul 19 2022 12:57:03 GMT+0000 (Coordinated Universal Time)
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 Tue Jul 19 2022 12:57:03 GMT+0000 (Coordinated Universal Time)
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 Tue Jul 19 2022 12:57:03 GMT+0000 (Coordinated Universal Time)
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 Tue Jul 19 2022 12:57:03 GMT+0000 (Coordinated Universal Time)
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 Tue Jul 19 2022 12:57:03 GMT+0000 (Coordinated Universal Time)
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 Tue Jul 19 2022 12:57:03 GMT+0000 (Coordinated Universal Time)
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 Tue Jul 19 2022 12:57:03 GMT+0000 (Coordinated Universal Time)
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>
@@ -242,16 +242,16 @@ BRH:8
242
242
  end_of_record
243
243
  TN:
244
244
  SF:src/components/MlFollowGps/MlFollowGps.tsx
245
- FN:65,(anonymous_0)
246
- FN:79,(anonymous_1)
247
- FN:96,(anonymous_2)
248
- FN:101,(anonymous_3)
249
- FN:116,(anonymous_4)
250
- FN:120,(anonymous_5)
251
- FN:124,(anonymous_6)
252
- FN:131,(anonymous_7)
253
- FN:140,(anonymous_8)
254
- FN:197,(anonymous_9)
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:65,11
268
- DA:66,9
269
- DA:71,9
270
- DA:73,9
271
- DA:74,9
272
- DA:75,9
273
- DA:76,9
274
- DA:78,9
275
- DA:80,0
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:98,0
284
- DA:101,9
285
- DA:102,2
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:116,9
297
- DA:117,0
298
- DA:120,9
299
- DA:121,5
300
- DA:122,2
301
- DA:123,2
302
- DA:124,2
303
- DA:125,1
304
- DA:128,3
305
- DA:131,9
306
- DA:132,7
307
- DA:134,5
308
- DA:135,2
309
- DA:140,2
310
- DA:141,1
311
- DA:144,3
312
- DA:147,9
313
- DA:198,3
314
- DA:208,11
315
- LF:48
316
- LH:30
317
- BRDA:80,0,0,0
318
- BRDA:80,0,1,0
319
- BRDA:88,1,0,0
320
- BRDA:88,1,1,0
321
- BRDA:102,2,0,2
322
- BRDA:102,2,1,0
323
- BRDA:121,3,0,2
324
- BRDA:121,3,1,3
325
- BRDA:132,4,0,2
326
- BRDA:132,4,1,5
327
- BRDA:134,5,0,2
328
- BRDA:134,5,1,3
329
- BRDA:149,6,0,9
330
- BRDA:149,6,1,2
331
- BRDA:149,6,2,0
332
- BRDA:162,7,0,9
333
- BRDA:162,7,1,2
334
- BRDA:162,7,2,0
335
- BRDA:175,8,0,9
336
- BRDA:175,8,1,2
337
- BRDA:175,8,2,0
338
- BRDA:193,9,0,2
339
- BRDA:193,9,1,7
340
- BRDA:202,10,0,9
341
- BRDA:202,10,1,0
342
- BRF:25
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:
@@ -1867,14 +1880,14 @@ BRH:4
1867
1880
  end_of_record
1868
1881
  TN:
1869
1882
  SF:src/components/MlNavigationTools/MlNavigationTools.tsx
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)
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:48,10
1889
- DA:49,0
1890
- DA:54,0
1901
+ DA:54,10
1891
1902
  DA:55,0
1892
- DA:56,0
1893
- DA:72,0
1894
- DA:76,0
1895
- DA:77,0
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:84,0
1908
+ DA:83,0
1909
+ DA:85,0
1899
1910
  DA:88,0
1900
- DA:91,0
1901
- DA:92,0
1911
+ DA:90,0
1902
1912
  DA:94,0
1903
- DA:95,0
1904
- DA:99,0
1913
+ DA:97,0
1914
+ DA:98,0
1905
1915
  DA:100,0
1906
- DA:102,0
1907
- DA:103,0
1908
- DA:107,0
1916
+ DA:101,0
1917
+ DA:105,0
1918
+ DA:106,0
1909
1919
  DA:108,0
1910
- DA:110,0
1911
- DA:111,0
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:149,0
1916
- DA:152,0
1917
- DA:182,10
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: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
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
- * position circle paint property object, that is passed to the MlGeoJsonLayer responsible for drawing the accuracy circle.
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
- circlePaint?: any;
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 circle.
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?: any;
62
+ accuracyPaint?: FillLayerSpecification["paint"];
45
63
  /**
46
64
  * CSS style object that is applied to the button component
47
65
  */
48
- style?: any;
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
- style: {
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 { SxProps } from "@mui/material";
1
2
  interface MlNavigationToolsProps {
2
3
  /**
3
4
  * Id of the target MapLibre instance in mapContext
@@ -28,6 +29,10 @@ interface MlNavigationToolsProps {
28
29
  * Additional JSX Elements to be rendered below MlNavigationTools buttons
29
30
  */
30
31
  children?: JSX.Element;
32
+ /**
33
+ * Style attribute for NavigationTools container
34
+ */
35
+ sx?: SxProps;
31
36
  }
32
37
  /**
33
38
  * @component
@@ -40,6 +45,10 @@ declare const MlNavigationTools: {
40
45
  showFollowGpsButton: boolean;
41
46
  showCenterLocationButton: boolean;
42
47
  showZoomButtons: boolean;
48
+ sx: {
49
+ right: string;
50
+ bottom: string;
51
+ };
43
52
  };
44
53
  };
45
54
  export default MlNavigationTools;
@@ -2,6 +2,7 @@ export default storyoptions;
2
2
  export const DefaultConfig: any;
3
3
  export const No3DButton: any;
4
4
  export const ShowCenterLocationButton: any;
5
+ export const AlterToolPosition: any;
5
6
  export const NoZoomButtons: any;
6
7
  export const NoFollowGpsButton: any;
7
8
  export const CustomButton: any;