@mapcomponents/react-maplibre 0.1.21 → 0.1.25

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 (74) hide show
  1. package/coverage/clover.xml +113 -135
  2. package/coverage/coverage-final.json +4 -4
  3. package/coverage/lcov-report/index.html +33 -33
  4. package/coverage/lcov-report/src/components/MapLibreMap/MapLibreMap.js.html +1 -1
  5. package/coverage/lcov-report/src/components/MapLibreMap/index.html +1 -1
  6. package/coverage/lcov-report/src/components/MlCreatePdfButton/MlCreatePdfButton.js.html +1 -1
  7. package/coverage/lcov-report/src/components/MlCreatePdfButton/index.html +1 -1
  8. package/coverage/lcov-report/src/components/MlFeatureEditor/MlFeatureEditor.js.html +1 -1
  9. package/coverage/lcov-report/src/components/MlFeatureEditor/index.html +1 -1
  10. package/coverage/lcov-report/src/components/MlFillExtrusionLayer/MlFillExtrusionLayer.js.html +1 -1
  11. package/coverage/lcov-report/src/components/MlFillExtrusionLayer/index.html +1 -1
  12. package/coverage/lcov-report/src/components/MlFollowGps/MlFollowGps.js.html +30 -93
  13. package/coverage/lcov-report/src/components/MlFollowGps/index.html +18 -18
  14. package/coverage/lcov-report/src/components/MlGPXViewer/MlGPXViewer.js.html +1 -1
  15. package/coverage/lcov-report/src/components/MlGPXViewer/gpxConverter.js.html +1 -1
  16. package/coverage/lcov-report/src/components/MlGPXViewer/index.html +1 -1
  17. package/coverage/lcov-report/src/components/MlGeoJsonLayer/MlGeoJsonLayer.js.html +1 -1
  18. package/coverage/lcov-report/src/components/MlGeoJsonLayer/index.html +1 -1
  19. package/coverage/lcov-report/src/components/MlImageMarkerLayer/MlImageMarkerLayer.js.html +1 -1
  20. package/coverage/lcov-report/src/components/MlImageMarkerLayer/index.html +1 -1
  21. package/coverage/lcov-report/src/components/MlLayer/MlLayer.js.html +1 -1
  22. package/coverage/lcov-report/src/components/MlLayer/index.html +1 -1
  23. package/coverage/lcov-report/src/components/MlLayerMagnify/MlLayerMagnify.js.html +1 -1
  24. package/coverage/lcov-report/src/components/MlLayerMagnify/index.html +1 -1
  25. package/coverage/lcov-report/src/components/MlLayerSwipe/MlLayerSwipe.js.html +1 -1
  26. package/coverage/lcov-report/src/components/MlLayerSwipe/index.html +1 -1
  27. package/coverage/lcov-report/src/components/MlLayerSwitcher/MlLayerSwitcher.js.html +1 -1
  28. package/coverage/lcov-report/src/components/MlLayerSwitcher/components/LayerBox.js.html +1 -1
  29. package/coverage/lcov-report/src/components/MlLayerSwitcher/components/index.html +1 -1
  30. package/coverage/lcov-report/src/components/MlLayerSwitcher/index.html +1 -1
  31. package/coverage/lcov-report/src/components/MlMarker/MlMarker.js.html +1 -1
  32. package/coverage/lcov-report/src/components/MlMarker/index.html +1 -1
  33. package/coverage/lcov-report/src/components/MlNavigationCompass/MlNavigationCompass.js.html +1 -1
  34. package/coverage/lcov-report/src/components/MlNavigationCompass/index.html +1 -1
  35. package/coverage/lcov-report/src/components/MlNavigationTools/MlNavigationTools.js.html +1 -1
  36. package/coverage/lcov-report/src/components/MlNavigationTools/index.html +1 -1
  37. package/coverage/lcov-report/src/components/MlOsmLayer/MlOsmLayer.js.html +1 -1
  38. package/coverage/lcov-report/src/components/MlOsmLayer/index.html +1 -1
  39. package/coverage/lcov-report/src/components/MlScaleReference/MlScaleReference.js.html +1 -1
  40. package/coverage/lcov-report/src/components/MlScaleReference/index.html +1 -1
  41. package/coverage/lcov-report/src/components/MlShareMapState/MlShareMapState.js.html +1 -1
  42. package/coverage/lcov-report/src/components/MlShareMapState/index.html +1 -1
  43. package/coverage/lcov-report/src/components/MlSpatialElevationProfile/MlSpatialElevationProfile.js.html +1 -1
  44. package/coverage/lcov-report/src/components/MlSpatialElevationProfile/index.html +1 -1
  45. package/coverage/lcov-report/src/components/MlThreeJsLayer/MlThreeJsLayer.js.html +1 -1
  46. package/coverage/lcov-report/src/components/MlThreeJsLayer/index.html +1 -1
  47. package/coverage/lcov-report/src/components/MlUseMapDebugger/MlUseMapDebugger.js.html +1 -1
  48. package/coverage/lcov-report/src/components/MlUseMapDebugger/index.html +1 -1
  49. package/coverage/lcov-report/src/components/MlVectorTileLayer/MlVectorTileLayer.js.html +88 -154
  50. package/coverage/lcov-report/src/components/MlVectorTileLayer/index.html +17 -17
  51. package/coverage/lcov-report/src/components/MlWmsFeatureInfoPopup/MlWmsFeatureInfoPopup.js.html +1 -1
  52. package/coverage/lcov-report/src/components/MlWmsFeatureInfoPopup/index.html +1 -1
  53. package/coverage/lcov-report/src/components/MlWmsLayer/MlWmsLayer.js.html +1 -1
  54. package/coverage/lcov-report/src/components/MlWmsLayer/index.html +1 -1
  55. package/coverage/lcov-report/src/components/MlWmsLoader/MlWmsLoader.js.html +1 -1
  56. package/coverage/lcov-report/src/components/MlWmsLoader/index.html +1 -1
  57. package/coverage/lcov-report/src/hooks/index.html +12 -12
  58. package/coverage/lcov-report/src/hooks/useMap.js.html +29 -41
  59. package/coverage/lcov-report/src/hooks/useMapState.js.html +34 -34
  60. package/coverage/lcov-report/src/hooks/useWms.js.html +1 -1
  61. package/coverage/lcov-report/src/i18n.js.html +1 -1
  62. package/coverage/lcov-report/src/index.html +1 -1
  63. package/coverage/lcov-report/src/translations/english.js.html +1 -1
  64. package/coverage/lcov-report/src/translations/german.js.html +1 -1
  65. package/coverage/lcov-report/src/translations/index.html +1 -1
  66. package/coverage/lcov.info +191 -233
  67. package/dist/index.esm.js +53 -104
  68. package/dist/index.esm.js.map +1 -1
  69. package/package.json +1 -1
  70. package/src/components/MlFollowGps/MlFollowGps.js +18 -39
  71. package/src/components/MlFollowGps/MlFollowGps.test.js +1 -1
  72. package/src/components/MlVectorTileLayer/MlVectorTileLayer.js +64 -86
  73. package/src/components/MlVectorTileLayer/MlVectorTileLayer.test.js +6 -6
  74. package/src/hooks/useMap.js +1 -5
@@ -278,71 +278,60 @@ TN:
278
278
  SF:src/components/MlFollowGps/MlFollowGps.js
279
279
  FN:22,(anonymous_0)
280
280
  FN:32,(anonymous_1)
281
- FN:33,(anonymous_2)
282
- FN:42,(anonymous_3)
283
- FN:53,(anonymous_4)
284
- FN:58,(anonymous_5)
285
- FN:108,(anonymous_6)
286
- FNF:7
281
+ FN:43,(anonymous_2)
282
+ FN:48,(anonymous_3)
283
+ FN:54,(anonymous_4)
284
+ FN:91,(anonymous_5)
285
+ FNF:6
287
286
  FNH:4
288
287
  FNDA:9,(anonymous_0)
289
- FNDA:2,(anonymous_1)
288
+ FNDA:0,(anonymous_1)
290
289
  FNDA:0,(anonymous_2)
291
- FNDA:0,(anonymous_3)
292
- FNDA:0,(anonymous_4)
293
- FNDA:7,(anonymous_5)
294
- FNDA:3,(anonymous_6)
290
+ FNDA:7,(anonymous_3)
291
+ FNDA:1,(anonymous_4)
292
+ FNDA:3,(anonymous_5)
295
293
  DA:22,1
296
294
  DA:23,9
297
295
  DA:25,9
298
296
  DA:26,9
299
297
  DA:27,9
300
- DA:28,9
301
- DA:30,9
302
- DA:32,9
303
- DA:33,2
304
- DA:34,0
298
+ DA:29,9
299
+ DA:31,9
300
+ DA:33,0
305
301
  DA:35,0
306
302
  DA:36,0
307
- DA:41,9
308
- DA:43,0
303
+ DA:37,0
304
+ DA:38,0
305
+ DA:43,9
306
+ DA:44,0
309
307
  DA:45,0
310
- DA:46,0
311
- DA:47,0
312
- DA:48,0
313
- DA:53,9
314
- DA:54,0
315
- DA:55,0
316
- DA:58,9
317
- DA:59,7
318
- DA:61,5
319
- DA:62,2
320
- DA:67,3
321
- DA:71,9
322
- DA:109,3
323
- DA:119,1
324
- DA:139,1
325
- LF:30
326
- LH:20
327
- BRDA:34,0,0,0
328
- BRDA:34,0,1,0
329
- BRDA:43,1,0,0
330
- BRDA:43,1,1,0
331
- BRDA:59,2,0,2
332
- BRDA:59,2,1,5
333
- BRDA:61,3,0,2
334
- BRDA:61,3,1,3
335
- BRDA:73,4,0,9
336
- BRDA:73,4,1,2
337
- BRDA:73,4,2,0
338
- BRDA:86,5,0,9
339
- BRDA:86,5,1,2
340
- BRDA:86,5,2,0
341
- BRDA:101,6,0,0
342
- BRDA:101,6,1,0
343
- BRDA:106,7,0,2
344
- BRDA:106,7,1,7
345
- BRF:18
308
+ DA:48,9
309
+ DA:49,7
310
+ DA:51,5
311
+ DA:52,2
312
+ DA:54,2
313
+ DA:55,1
314
+ DA:60,9
315
+ DA:92,3
316
+ DA:102,1
317
+ DA:122,1
318
+ LF:25
319
+ LH:18
320
+ BRDA:33,0,0,0
321
+ BRDA:33,0,1,0
322
+ BRDA:49,1,0,2
323
+ BRDA:49,1,1,5
324
+ BRDA:51,2,0,2
325
+ BRDA:51,2,1,3
326
+ BRDA:62,3,0,9
327
+ BRDA:62,3,1,2
328
+ BRDA:62,3,2,0
329
+ BRDA:75,4,0,9
330
+ BRDA:75,4,1,2
331
+ BRDA:75,4,2,0
332
+ BRDA:89,5,0,2
333
+ BRDA:89,5,1,7
334
+ BRF:14
346
335
  BRH:10
347
336
  end_of_record
348
337
  TN:
@@ -2779,93 +2768,66 @@ end_of_record
2779
2768
  TN:
2780
2769
  SF:src/components/MlVectorTileLayer/MlVectorTileLayer.js
2781
2770
  FN:11,(anonymous_0)
2782
- FN:22,(anonymous_1)
2783
- FN:35,(anonymous_2)
2784
- FN:39,(anonymous_3)
2785
- FN:76,(anonymous_4)
2786
- FN:100,(anonymous_5)
2787
- FNF:6
2788
- FNH:6
2789
- FNDA:8,(anonymous_0)
2790
- FNDA:2,(anonymous_1)
2791
- FNDA:4,(anonymous_2)
2792
- FNDA:8,(anonymous_3)
2793
- FNDA:8,(anonymous_4)
2794
- FNDA:4,(anonymous_5)
2771
+ FN:20,(anonymous_1)
2772
+ FN:65,(anonymous_2)
2773
+ FNF:3
2774
+ FNH:3
2775
+ FNDA:12,(anonymous_0)
2776
+ FNDA:8,(anonymous_1)
2777
+ FNDA:8,(anonymous_2)
2795
2778
  DA:11,1
2796
- DA:12,8
2797
- DA:14,8
2798
- DA:15,8
2799
- DA:16,8
2800
- DA:17,8
2801
- DA:18,8
2802
- DA:19,8
2803
- DA:20,8
2804
- DA:22,8
2805
- DA:23,2
2806
- DA:24,2
2807
- DA:25,2
2808
- DA:26,2
2809
- DA:29,2
2810
- DA:30,2
2811
- DA:35,8
2812
- DA:36,4
2813
- DA:39,8
2814
- DA:40,8
2779
+ DA:12,12
2780
+ DA:14,12
2781
+ DA:15,12
2782
+ DA:16,12
2783
+ DA:17,12
2784
+ DA:18,12
2785
+ DA:20,12
2786
+ DA:21,8
2787
+ DA:23,4
2788
+ DA:26,4
2789
+ DA:38,4
2790
+ DA:39,4
2791
+ DA:40,4
2815
2792
  DA:42,4
2816
- DA:43,4
2817
- DA:46,4
2818
- DA:54,4
2819
- DA:55,4
2820
- DA:56,4
2821
- DA:58,4
2822
- DA:72,4
2823
- DA:76,8
2824
- DA:77,8
2825
- DA:80,4
2826
- DA:81,4
2793
+ DA:60,4
2794
+ DA:61,4
2795
+ DA:65,12
2796
+ DA:66,8
2797
+ DA:68,4
2798
+ DA:69,4
2799
+ DA:71,4
2800
+ DA:73,4
2801
+ DA:74,0
2802
+ DA:75,0
2827
2803
  DA:82,4
2828
- DA:84,4
2829
- DA:85,0
2830
- DA:86,0
2831
- DA:95,4
2832
- DA:100,8
2833
- DA:101,4
2834
- DA:103,0
2835
- DA:104,0
2836
- DA:106,0
2837
- DA:107,0
2838
- DA:111,0
2839
- DA:119,8
2840
- DA:122,1
2841
- LF:46
2842
- LH:39
2843
- BRDA:23,0,0,2
2844
- BRDA:23,0,1,0
2845
- BRDA:23,1,0,2
2846
- BRDA:23,1,1,2
2847
- BRDA:25,2,0,2
2848
- BRDA:25,2,1,0
2849
- BRDA:29,3,0,2
2850
- BRDA:29,3,1,0
2851
- BRDA:40,4,0,4
2852
- BRDA:40,4,1,4
2853
- BRDA:40,5,0,8
2854
- BRDA:40,5,1,4
2855
- BRDA:77,6,0,4
2856
- BRDA:77,6,1,4
2857
- BRDA:81,7,0,4
2858
- BRDA:81,7,1,0
2859
- BRDA:84,8,0,0
2860
- BRDA:84,8,1,4
2861
- BRDA:101,9,0,4
2862
- BRDA:101,9,1,0
2863
- BRDA:104,10,0,0
2864
- BRDA:104,10,1,0
2865
- BRDA:106,11,0,0
2866
- BRDA:106,11,1,0
2867
- BRF:24
2868
- BRH:14
2804
+ DA:85,4
2805
+ DA:87,4
2806
+ DA:88,0
2807
+ DA:89,0
2808
+ DA:96,4
2809
+ DA:101,12
2810
+ DA:104,1
2811
+ LF:33
2812
+ LH:29
2813
+ BRDA:15,0,0,12
2814
+ BRDA:15,0,1,12
2815
+ BRDA:21,1,0,4
2816
+ BRDA:21,1,1,4
2817
+ BRDA:21,2,0,8
2818
+ BRDA:21,2,1,4
2819
+ BRDA:66,3,0,4
2820
+ BRDA:66,3,1,4
2821
+ BRDA:66,4,0,8
2822
+ BRDA:66,4,1,4
2823
+ BRDA:69,5,0,4
2824
+ BRDA:69,5,1,0
2825
+ BRDA:73,6,0,0
2826
+ BRDA:73,6,1,4
2827
+ BRDA:87,7,0,0
2828
+ BRDA:87,7,1,4
2829
+ BRF:16
2830
+ BRH:13
2869
2831
  end_of_record
2870
2832
  TN:
2871
2833
  SF:src/components/MlWmsFeatureInfoPopup/MlWmsFeatureInfoPopup.js
@@ -3171,61 +3133,57 @@ TN:
3171
3133
  SF:src/hooks/useMap.js
3172
3134
  FN:6,useMap
3173
3135
  FN:26,(anonymous_1)
3174
- FN:30,(anonymous_2)
3175
- FN:43,(anonymous_3)
3176
- FN:50,(anonymous_4)
3136
+ FN:29,(anonymous_2)
3137
+ FN:39,(anonymous_3)
3138
+ FN:46,(anonymous_4)
3177
3139
  FNF:5
3178
3140
  FNH:4
3179
- FNDA:45,useMap
3180
- FNDA:14,(anonymous_1)
3181
- FNDA:6,(anonymous_2)
3182
- FNDA:42,(anonymous_3)
3141
+ FNDA:57,useMap
3142
+ FNDA:18,(anonymous_1)
3143
+ FNDA:8,(anonymous_2)
3144
+ FNDA:54,(anonymous_3)
3183
3145
  FNDA:0,(anonymous_4)
3184
- DA:8,45
3185
- DA:10,45
3186
- DA:19,45
3187
- DA:20,45
3188
- DA:22,45
3189
- DA:24,45
3190
- DA:26,45
3191
- DA:27,14
3192
- DA:28,14
3193
- DA:30,14
3194
- DA:31,6
3195
- DA:32,6
3196
- DA:33,6
3197
- DA:34,6
3198
- DA:35,6
3199
- DA:36,6
3200
- DA:38,6
3201
- DA:39,6
3202
- DA:43,45
3203
- DA:44,42
3204
- DA:47,14
3146
+ DA:8,57
3147
+ DA:10,57
3148
+ DA:19,57
3149
+ DA:20,57
3150
+ DA:22,57
3151
+ DA:24,57
3152
+ DA:26,57
3153
+ DA:27,18
3154
+ DA:29,18
3155
+ DA:30,8
3156
+ DA:31,8
3157
+ DA:32,8
3158
+ DA:34,8
3159
+ DA:35,8
3160
+ DA:39,57
3161
+ DA:40,54
3162
+ DA:43,18
3163
+ DA:44,0
3164
+ DA:46,0
3165
+ DA:47,0
3205
3166
  DA:48,0
3206
- DA:50,0
3207
3167
  DA:51,0
3208
3168
  DA:52,0
3209
- DA:55,0
3210
- DA:56,0
3211
- DA:61,14
3212
- DA:62,14
3213
- DA:63,14
3214
- DA:66,45
3215
- LF:31
3216
- LH:25
3217
- BRDA:34,0,0,6
3218
- BRDA:34,0,1,0
3219
- BRDA:44,1,0,28
3220
- BRDA:44,1,1,14
3221
- BRDA:44,2,0,42
3222
- BRDA:44,2,1,28
3223
- BRDA:47,3,0,0
3224
- BRDA:47,3,1,14
3225
- BRDA:51,4,0,0
3226
- BRDA:51,4,1,0
3227
- BRDA:55,5,0,0
3228
- BRDA:55,5,1,0
3169
+ DA:57,18
3170
+ DA:58,18
3171
+ DA:59,18
3172
+ DA:62,57
3173
+ LF:27
3174
+ LH:21
3175
+ BRDA:30,0,0,8
3176
+ BRDA:30,0,1,0
3177
+ BRDA:40,1,0,36
3178
+ BRDA:40,1,1,18
3179
+ BRDA:40,2,0,54
3180
+ BRDA:40,2,1,36
3181
+ BRDA:43,3,0,0
3182
+ BRDA:43,3,1,18
3183
+ BRDA:47,4,0,0
3184
+ BRDA:47,4,1,0
3185
+ BRDA:51,5,0,0
3186
+ BRDA:51,5,1,0
3229
3187
  BRF:12
3230
3188
  BRH:6
3231
3189
  end_of_record
@@ -3240,22 +3198,22 @@ FN:72,(anonymous_5)
3240
3198
  FN:84,(anonymous_6)
3241
3199
  FNF:7
3242
3200
  FNH:5
3243
- FNDA:61,useMapState
3201
+ FNDA:73,useMapState
3244
3202
  FNDA:0,(anonymous_1)
3245
- FNDA:18,(anonymous_2)
3246
- FNDA:18,(anonymous_3)
3247
- FNDA:8,(anonymous_4)
3248
- FNDA:36,(anonymous_5)
3203
+ FNDA:22,(anonymous_2)
3204
+ FNDA:22,(anonymous_3)
3205
+ FNDA:10,(anonymous_4)
3206
+ FNDA:44,(anonymous_5)
3249
3207
  FNDA:0,(anonymous_6)
3250
- DA:13,61
3251
- DA:15,61
3252
- DA:16,61
3253
- DA:18,61
3254
- DA:19,61
3255
- DA:21,61
3256
- DA:22,61
3257
- DA:24,61
3258
- DA:32,61
3208
+ DA:13,73
3209
+ DA:15,73
3210
+ DA:16,73
3211
+ DA:18,73
3212
+ DA:19,73
3213
+ DA:21,73
3214
+ DA:22,73
3215
+ DA:24,73
3216
+ DA:32,73
3259
3217
  DA:34,0
3260
3218
  DA:35,0
3261
3219
  DA:38,0
@@ -3263,34 +3221,34 @@ DA:39,0
3263
3221
  DA:40,0
3264
3222
  DA:42,0
3265
3223
  DA:46,0
3266
- DA:51,61
3267
- DA:52,18
3268
- DA:53,18
3269
- DA:54,18
3270
- DA:55,18
3271
- DA:56,18
3272
- DA:60,61
3273
- DA:61,18
3274
- DA:63,18
3275
- DA:64,8
3276
- DA:65,8
3277
- DA:66,8
3278
- DA:68,8
3279
- DA:72,61
3280
- DA:73,36
3281
- DA:76,18
3282
- DA:77,18
3283
- DA:79,18
3224
+ DA:51,73
3225
+ DA:52,22
3226
+ DA:53,22
3227
+ DA:54,22
3228
+ DA:55,22
3229
+ DA:56,22
3230
+ DA:60,73
3231
+ DA:61,22
3232
+ DA:63,22
3233
+ DA:64,10
3234
+ DA:65,10
3235
+ DA:66,10
3236
+ DA:68,10
3237
+ DA:72,73
3238
+ DA:73,44
3239
+ DA:76,22
3240
+ DA:77,22
3241
+ DA:79,22
3284
3242
  DA:80,0
3285
3243
  DA:82,0
3286
3244
  DA:85,0
3287
3245
  DA:86,0
3288
- DA:93,18
3289
- DA:94,18
3290
- DA:96,18
3291
- DA:108,61
3292
- DA:114,5
3293
- DA:126,5
3246
+ DA:93,22
3247
+ DA:94,22
3248
+ DA:96,22
3249
+ DA:108,73
3250
+ DA:114,6
3251
+ DA:126,6
3294
3252
  LF:44
3295
3253
  LH:33
3296
3254
  BRDA:34,0,0,0
@@ -3301,19 +3259,19 @@ BRDA:38,2,0,0
3301
3259
  BRDA:38,2,1,0
3302
3260
  BRDA:39,3,0,0
3303
3261
  BRDA:39,3,1,0
3304
- BRDA:54,4,0,18
3262
+ BRDA:54,4,0,22
3305
3263
  BRDA:54,4,1,0
3306
- BRDA:64,5,0,8
3264
+ BRDA:64,5,0,10
3307
3265
  BRDA:64,5,1,0
3308
- BRDA:73,6,0,18
3309
- BRDA:73,6,1,18
3310
- BRDA:73,7,0,36
3311
- BRDA:73,7,1,18
3266
+ BRDA:73,6,0,22
3267
+ BRDA:73,6,1,22
3268
+ BRDA:73,7,0,44
3269
+ BRDA:73,7,1,22
3312
3270
  BRDA:79,8,0,0
3313
- BRDA:79,8,1,18
3271
+ BRDA:79,8,1,22
3314
3272
  BRDA:85,9,0,0
3315
3273
  BRDA:85,9,1,0
3316
- BRDA:93,10,0,18
3274
+ BRDA:93,10,0,22
3317
3275
  BRDA:93,10,1,0
3318
3276
  BRF:22
3319
3277
  BRH:8