@mapcomponents/react-maplibre 1.5.7-9 → 1.6.0

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 DELETED
@@ -1,898 +0,0 @@
1
- # Change Log
2
-
3
- ## [v1.3.3]
4
-
5
- ## Added
6
-
7
- - ea97284: add new Feature [MlGlobeButton](https://mapcomponents.github.io/react-map-components-maplibre/?path=/docs/mapcomponents-mlglobebutton--docs)
8
-
9
- ## Fixed
10
-
11
- - 3cc7a83: fix useAddProtocol tcx view in storybook
12
-
13
- ## Changed
14
-
15
- - a72811f: upgrade storybook v.8 -> v.9
16
- - e22698a: change meta.json (new catalogue system uses meta.json files)
17
- - 3cc7a83: upgrade dependencies
18
-
19
- ## Removed
20
-
21
- - e22698a: remove stories.json (new catalogue system does not require it)
22
-
23
- ## [v1.3.2]
24
-
25
- ## Changed
26
-
27
- - f2980b6: Design/navigation tool (#225)
28
- - 570987e: Upgrade to maplibre to 5.6.0 (from 5.5.0)
29
-
30
- ## [v1.3.1]
31
-
32
- ## Changed
33
-
34
- - 3f6b50c: Upgrade to maplibre to 5.5.0 (from 5.3.0) (#223)
35
-
36
- ## [v1.3.0]
37
-
38
- ## Changed
39
-
40
- - UI design/ogc in MlSketchTool and MlOgcApiFeatures
41
-
42
- ## Fixed
43
-
44
- - fix MlMarker and improve performance by using a maplibre marker instead of an absolute positioned HTML element
45
- - fix Storybook demos: MlLayerSwitcher, useCameraFollowPath, MlVectorTileLayer, MlPdfForm, MlThreeJsLayer, MlNavigationCompass
46
-
47
- ## Removed
48
-
49
- - remove MlComponentTemplate from storybook
50
-
51
- ## [v1.2.0]
52
-
53
- ## Changed
54
-
55
- - update React v18 -> v19
56
- - replace enzyme in jest tests with @testing-library/react
57
-
58
- ## [v1.1.0] - 2025-03-21
59
-
60
- ### Added
61
-
62
- - add dependabot
63
-
64
- ### Changed
65
-
66
- - update @dnd-kit and actions/setup-node@v2
67
- - update actions/cache@v2 -> v3
68
- - update dependencies
69
- - update publish workflow node version
70
- - change Design/ml measure tool
71
-
72
- ### Fixed
73
-
74
- - fix MlNavigation Zoom
75
-
76
- ## [v1.0.11] - 2025-02-14
77
-
78
- ### Fixed
79
-
80
- - fix package.json `types` property value in release
81
-
82
- ## [v1.0.10] - 2025-02-13
83
-
84
- ### Added
85
-
86
- - 3a5b6ca: add cypress test-setup
87
- - 4e346a2: add MlOgcApiFeatures components
88
-
89
- ### Changed
90
-
91
- - a6ab82d: use @types/geojson throughout the whole project, replace turf geojson types
92
- - 3c16c31: improve MlFeatureEditor demo UX
93
-
94
- ## [v1.0.9] - 2024-11-20
95
-
96
- ### Added
97
-
98
- - 75649aa: add MlOgcApiFeatures Component
99
- - 90311cf: add new redux based layerconfig store
100
-
101
- ### Changed
102
-
103
- - 0b448e1: Update @mui to ^6.1.1
104
-
105
- ## [v1.0.8] - 2024-09-16
106
-
107
- ### Fixed
108
-
109
- - 2862ad4: fix layerComponent identification in LayerListItem component (#185) …
110
-
111
- ## [v1.0.7] - 2024-07-30
112
-
113
- ### Changed
114
-
115
- - a6bc647: Upgrade to maplibre-gl 4.5 (sky enabled) (#178)
116
-
117
- ### Fixed
118
-
119
- - dde2ef4: fix: incorrect property access (#181) …
120
-
121
- ## [v1.0.6] - 2024-07-30
122
-
123
- ### Fixed
124
-
125
- - 209ec04: Fix/use layerhook update on functions
126
-
127
- ## [v1.0.5] - 2024-06-21
128
-
129
- ### Changed
130
-
131
- - 78f7106: client search component MlClientSearch removed from release…
132
-
133
- ### Fixed
134
-
135
- - 78f7106: MlGeojsonlayer options.source bug
136
-
137
- ## [v1.0.4] - 2024-06-21
138
-
139
- ### Added
140
-
141
- - cab1848: add hints to buttons in catalogue stories
142
- - c621883: Feature/add layer and source events (#167) …
143
- - fcb3c75: add feature for additional pdf form info to MlPdfForm (#162) …
144
- - 7994580: add client search component MlClientSearch (#166) …
145
- - b0d2c32: add makeMapContextDecorators function to enable changing MapLibreMap options inside the sb-story (#165) …
146
-
147
- ### Changed
148
-
149
- - 20378bc: refactor geojson stories
150
- - af7e0c4, 6fa9a9b: update README.md
151
- - 8735ac8: redefiened MlLayer useLayerProps (#160) …
152
-
153
- ### Fixed
154
-
155
- - a48a8fa: fix MlImageMarkerLayer story
156
- - 3afbe7b: remove useLayer hook initializedRef anti-pattern and fix reinitializa… (#169) …
157
- - 14ef756: Fix/usesource stylechange (#168) …
158
-
159
- ## [v1.0.3] - 2024-02-22
160
-
161
- ### Fixed
162
-
163
- - a80667a: import missing maplibre-gl.css again in MapLibreMap component (#164)
164
-
165
- ## [v1.0.1] - 2024-02-16
166
-
167
- ### Changed
168
-
169
- - 56eb640: move cypress dependencies to devDependencies
170
-
171
- ## [v1.0.1] - 2024-02-16
172
-
173
- ### Fixed
174
-
175
- - 5c37664: fix npm package
176
-
177
- ## [v1.0.0] - 2024-02-15 (broken)
178
-
179
- ### Changed
180
-
181
- - 5500815: upgrade to maplibre v4.0.0
182
- - 7629f88: upgrade storybook and all dependencies to the latest major release
183
-
184
- ## [v0.1.96] - 2024-01-29
185
-
186
- ### Fixed
187
-
188
- - 2925672: fix overwrite options.paint in LayerListItem
189
-
190
- ## [v0.1.95] - 2024-01-23
191
-
192
- ### Fixed
193
-
194
- - 7eb14fa: fix MlOrderLayers component unable to create layers using useLayer hook after useLayer hook changes (#152) …
195
- - 16d834d: MlMultiMeasureTool: properly remove hovered geometries from map when object is deleted
196
- - a65d703: fix MlGeoJsonLayer: enable source with type "geojson" and a protocol url in the data property
197
-
198
- ## [v0.1.94] - 2024-01-17
199
-
200
- ### Fixed
201
-
202
- - 0af148b: remove conditional use of useLayer hook for label layer in MlGeoJsonLayer
203
- - 718afe6: fix useSource cleanup error
204
- - c6856e6: fix MlTemporalController to work with useLayer, MlGeoJsonLayer adjustments
205
-
206
- ## [v0.1.92] - 2024-01-16
207
-
208
- ### Fixed
209
-
210
- - fe33641: fix useSource hook to dynamically adjust to props.sourceId changes
211
- - fe33641: fix useMap hook to use less setState calls
212
- - fe33641: fix useLayer hook options.source prop to wait for the source to be added
213
-
214
- ### Changed
215
-
216
- - fe33641: add MlGeoJsonLayer labelProp defaults to enable simply passing the property name to props.labelProp to get labels.
217
- - fe33641: make label layer use the same source as the main layer.
218
- - fe33641: adjust MlGeoJsonLayer labelProp storybook demo to show the actual use of the property
219
-
220
- ## [v0.1.91] - 2024-01-16
221
-
222
- ### Fixed
223
-
224
- - 4775728: remove mbtiles protocol handler from build to fix sql.js error
225
-
226
- ## [v0.1.90] - 2024-01-16 (broken)
227
-
228
- ### Fixed
229
-
230
- - f40622f: fix build error suggesting marking sql.js as external
231
-
232
- ## [v0.1.89] - 2024-01-02 (broken)
233
-
234
- ### Fixed
235
-
236
- - ca2fe4e: fix AddLayerButton mbtiles useAddProtocol
237
-
238
- ## [v0.1.88] - 2023-12-22
239
-
240
- ### Added
241
-
242
- - e45ff67: add labelProp and labelOptions to MlGeojsonLayer
243
- - 5f7d750: add useAddProtocol handlers new formats (csv, osm, tcx, kml, gpx, Topojson)
244
-
245
- ### Fixed
246
-
247
- - a5b9d87: fix MlMeasureTool conversion
248
- - 90befdb: fix compass needle aligment
249
- - ecb1c48: fix Storybook demos
250
-
251
- ## [v0.1.87] - 2023-10-25
252
-
253
- ### Changed
254
-
255
- - 27f1cb2: show measured value in m and in units if measured value is < 0.1km or 0.1mi
256
- - e606c7c: add catalogue specific demo storybook stories to be able to also provide more useful stories for developers not shown in the catalogue
257
-
258
- ### Added
259
-
260
- - cb3057f: make layerlist items in layerlistitemfactory sortable via drag & drop
261
-
262
- ## [v0.1.86] - 2023-09-13
263
-
264
- ### Fixed
265
-
266
- - 6882b80: fix: LayerList deleteIcon layout
267
- - e5ab361: demo bugfixes
268
-
269
- ### Changed
270
-
271
- - 7eb6dda: update xmldom ^0.6.0 to @xmldom/xmldom ^0.8.10 (#130) …
272
-
273
- ### Added
274
-
275
- - 1a221e3: add compNorth, compSouth, compStroke compass styling options to theme
276
- - 75de07d: add useAddImage hook + story
277
-
278
- ## [v0.1.85] - 2023-07-14
279
-
280
- ### Fixed
281
-
282
- - b0be9be: MlLayerSwipe resize window bug
283
- - b0be9be: MlSketchTools hovered Feature and mobile edition bugs
284
- - b0be9be: MlNavToools setpitch bug
285
- - b0be9be: Optimized stories
286
-
287
- ### Changed
288
-
289
- - b0be9be: mapbox-gl-draw from 1.4.0 to 1.4.2
290
- - 5dd85be: code styling in LayerList, Compass and ColorPicker
291
-
292
- ### Added
293
-
294
- - b0be9be: added mlFollowgps accurancy fitBounds function
295
-
296
- ## [v0.1.84] - 2023-06-29
297
-
298
- ### Fixed
299
-
300
- - 2690227: fix theme, remove unfinished cy test
301
-
302
- ## [v0.1.83] - 2023-06-28
303
-
304
- ### Changed
305
-
306
- - d43a6e8: new Compass, NavTools and LayerList style
307
-
308
- ## [v0.1.82] - 2023-06-12
309
-
310
- ### Fixed
311
-
312
- - b89794a: remove mbTilesProtocolHandler from export to remove sql.js dependency as it breaks app builds
313
-
314
- ## [v0.1.81] - 2023-06-12
315
-
316
- ### Added
317
-
318
- - 2ba02ba: add useAddProtocol hook
319
- - 2ba02ba: add mbTilesProtocolHandler
320
-
321
- ## [v0.1.80] - 2023-06-01
322
-
323
- ### Added
324
-
325
- - bea7ecc: add a test, add thumbnail (#112) …
326
-
327
- ### Fixed
328
-
329
- - f423ada: fix layerContext moveUp moveDown functions (#114) …
330
-
331
- ## [v0.1.79] - 2023-05-31
332
-
333
- ### Added
334
-
335
- - f253071: Reliable & adjustable layer order (#105) …
336
- - c7c4fdf: add MlTerrainLayer component (#108) …
337
- - 70c18d7: optimize map libre map stories presentation (#103) …
338
- - a02db81: add missing catalogue descriptions (#109) …
339
- - bdd32ae: add SpeedDial UI component (#106) …
340
-
341
- ### Changed
342
-
343
- - **Breaking:** 36be5ab: change MlFeatureEditor to useFeatureEditor hook, replace custom draw modes with default modes, draw mode strings require adjustment to the equivalent default mode (#110) …
344
-
345
- ### Fixed
346
-
347
- - c0c302a: Feature/fix wmsloader featureinfo (#111) …
348
- - e743b79: Fix/cypress config (#104) …
349
-
350
- ## [v0.1.78] - 2023-04-28
351
-
352
- ### Added
353
-
354
- - cedf14b: add interval parameter to MlTemporalController
355
-
356
- ## [v0.1.77] - 2023-04-05
357
-
358
- ### Fixed
359
-
360
- - 92bac5c: remove deprecated @mui/styles dependency; fixes npm compatibility
361
-
362
- ### Added
363
-
364
- - 6512e26: add name prop to MlWmsLoader
365
-
366
- ### Changed
367
-
368
- - 6512e26: make AddLayerPopup initial config state configurable
369
- - 6512e26: make MlWmsLoader featureInfoActive controllable from parent component
370
- - 6512e26: make LayerListItemFactory control featureInfoActive to always reflect the state in LayerConfig
371
-
372
- ### Added
373
-
374
- ## [v0.1.76] - 2023-04-04
375
-
376
- ### Fixed
377
-
378
- - b879750: fix MlGeoJsonLayer layout option props spread order
379
-
380
- ### Added
381
-
382
- - b879750: add thumbnails to style select menu
383
-
384
- ## [v0.1.75] - 2023-04-04
385
-
386
- ### Fixed
387
-
388
- - 66c8df2: add missing LayerListItemFactory export
389
-
390
- ## [v0.1.74] - 2023-04-03
391
-
392
- ### Fixed
393
-
394
- - 6e68b8c: fix wmsLoader feature info
395
- - 3eac872: fix useLayer hook source attribution settings
396
-
397
- ### Added
398
-
399
- - 5a4c581: add component MlTemporalController
400
- - a85a5b1: add LayerListItemFactory
401
- - a85a5b1: add GeoJsonLayerForm
402
- - a85a5b1: add WmsLayerForm
403
- - a85a5b1: add LayerTypeForm
404
- - a85a5b1: add AddLayerButton
405
- - a85a5b1: add MlWmsLoader featureInfo configuration prop and queryable indicator next to layer
406
- - a85a5b1: add LayerContext and localStorage persistence to AddLayerButton story
407
-
408
- ### Changed
409
-
410
- - a85a5b1: change MlWmsLoader to return LayerListItem compatible list elements
411
-
412
- ## [v0.1.73] - 2023-03-11
413
-
414
- ### Fixed
415
-
416
- - 547db2c: Fix/layerlist visibility settings
417
-
418
- ## [v0.1.72] - 2023-03-08
419
-
420
- ### Fixed
421
-
422
- - Fix/maplibremap registration react 18 (#89) …
423
- - remove mui-color dependency
424
-
425
- ### Added
426
-
427
- - add new ColorPicker ui component
428
- - add MlWmsLayer support to LayerList component
429
-
430
- ## [v0.1.71] - 2023-03-04
431
-
432
- ### Fixed
433
-
434
- - e3178b5: fix Topbar sidebar defaults
435
-
436
- ## [v0.1.70] - 2023-03-03
437
-
438
- ### Fixed
439
-
440
- - 153b00d: fix react 18 compatibility issue. reset initializedRef if MapLibreMap is removed from react dom (#81) …
441
-
442
- ### Added
443
-
444
- - TopToolbar and Sidebar component exports
445
- - cdc4b5b: add createPng & downloadPng function to useExportMap hook promise
446
-
447
- ### Changed
448
-
449
- - cdc4b5b: adjust MlCreatePdfButton to use useExportMap hook
450
- - 6b6ce0c: update .npmignore to include all files & folders that aren't required in the module build
451
-
452
- ## [v0.1.69] - 2023-02-07
453
-
454
- ### Changed
455
-
456
- - read dependencies from package.dependencies
457
-
458
- ## [v0.1.68] - 2023-02-07
459
-
460
- ### Added
461
-
462
- - 3a2d4a0: add experimental LayerList component and stories
463
- - a0a01ff: add MUI theme & export getTheme function
464
-
465
- ### Changed
466
-
467
- - 3a7b87b: fix maplibre-gl imports remove ! in front of the module name (webpack exclude) to improve compatibility with dev environments using rollup
468
-
469
- ## [v0.1.67] - 2023-01-30
470
-
471
- ### Changed
472
-
473
- - upgrade storybook to 6.5.x
474
- - upgrade react to 18.2.0
475
- - upgrade typescript to 4.9.4
476
- - add support for node 18.x
477
- - 474eb8c: migrate MlShareMapState, MlThreeJsLayer to typescript
478
-
479
- ### Added
480
-
481
- - add missing exports MapLibreGlWrapper, useLayerEvent, useGpx, useLayerHoverPopup, MlWmsLoader
482
- - add missing typescript definitions to MapLibreGlWrapper
483
-
484
- ## [v0.1.66] - 2023-01-23
485
-
486
- ### Added
487
-
488
- - add missing useLayerFilter export
489
-
490
- ## [v0.1.65] - 2023-01-23
491
-
492
- ### Fixed
493
-
494
- - 516a9ce: mlwmsloader capabilities layer parsing
495
- - 516a9ce: mlwmsloader improve performance by rendering all selected layers using a single MlWmsLayer component
496
- - 516a9ce: mlwmsloader capabilities layer parsing
497
-
498
- ### Added
499
-
500
- - a6f347f: add useLayerFilter hook
501
-
502
- ## [v0.1.64] - 2023-01-15
503
-
504
- ### Fixed
505
-
506
- - eb4f4ef: Improve MapLibreGlWrapper, MlGeoJsonLayer, useLayer typescript definitions
507
- - e4bf4a7: fix mui themes in storybook
508
- - 5c3cd9a: make MlWmsLayer urlParameters property dynamic
509
- - 5c3cd9a: make MlWmsLoader WMS utilization more efficient by using a single MlWmsLayer component to render all visible WMS layers
510
-
511
- ### Added
512
-
513
- - 5b9f424: add catalogue metadata json schema check github action
514
- - ae0aa98: add missing geojson layer types (support all 'type' types for MlGeojsonLayer)
515
- - ae0aa98: add circle & Heatmap stories for MlGeoJsonLayer
516
- - 20fa873: Feature/optimize ml spatial elevation profile (#49) …
517
- - 20fa873: add useGpx hook
518
- - 20fa873: add Dropzone Component
519
- - 20fa873: add useLayerHoverPopup hook
520
-
521
- ### Changed
522
-
523
- - fff236b: migrate MlLayermagnify MlLayerSwipe stories & tests to typescript
524
- - 20fa873: refactor MlSpatialElevationProfile & MlGpxViewer
525
- - 20fa873: optimize MlSpatialElevationProfile story
526
- - 3e30778: migrate MlCenterPos & MlComponentTemplate to typescript
527
- - 80f777d: add loading spinner to MlCreatePdfForm
528
- - 5c3cd9a: optimize MlWmsLoader story
529
-
530
- ## [v0.1.63] - 2022-12-16
531
-
532
- ### Fixed
533
-
534
- - b5d6636: update mui dependencies to fix export 'experimental_sx' (reexported as 'experimental_sx') was not found in '@mui/system'
535
-
536
- ### Added
537
-
538
- - f6af0fd: merge feature/cypress test setup (#48)
539
- - a1c1f1c: add MlSketchTool demo to catalog (#51) …
540
-
541
- ### Changed
542
-
543
- - 4e6ad8e: MlGeojsonLayer story optimization (#45)
544
- - 36f3ee8: MlGpxViewer story optimization (#46)
545
- - e2af70a: refactor TopToolBar component
546
- - f820006: refactor Sidebar component
547
- - 4038777: update d3 & maplibre-gl dependencies
548
-
549
- ## [v0.1.62] - 2022-11-26
550
-
551
- ### Added
552
-
553
- - ba36980: full rewrite of the PdfPreview component, fixing distortion issues in lower zoom levels, offering improved user experience when transforming, adding an option to set a fixed scale
554
-
555
- ## [v0.1.61] - 2022-11-16
556
-
557
- ### Added
558
-
559
- - 63f11bc: add useCameraFollowPath
560
-
561
- ## [v0.1.60] - 2022-11-04
562
-
563
- ### Fixed
564
-
565
- - bc71b1f: Fix/use export map hook (#39)
566
-
567
- ### Changed
568
-
569
- - **Breaking:** 7687eec: change MlVectorTileLayer layers prop type from object to array
570
-
571
- ## [v0.1.59] - 2022-10-04
572
-
573
- ### Fixed
574
-
575
- - ac559c4: fix MlCreatePdfForm export
576
-
577
- ## [v0.1.58] - 2022-10-04
578
-
579
- ### Added
580
-
581
- - 6be40b7: automatic eslint & prettier tests as GitHub action
582
- - 396b1b7: useSource hook
583
- - 67d88a0: add MlCreatePdfForm component & useExportMap hook providing more sophisticated control on the PDF creation process such as a preview of the PDF area with drag&drop, resize & rotation functionality as well as controlls over the paper size, quality & orientation
584
-
585
- ### Fixed
586
-
587
- - 0cf90f7: fix useMapState story by adding an dedicated hook decorator
588
- - 4c919b8: fix useMap hook typechange bug
589
-
590
- ## [v0.1.57] - 2022-08-30
591
-
592
- ### Added
593
-
594
- - f807ffd: add export for MlScaleReference
595
-
596
- ## [v0.1.56] - 2022-08-11
597
-
598
- ### Added
599
-
600
- - f72292b: add centerUserPosition option flag to MlFollowGps to prevent constant recentering of the map to the users current position
601
- - f72292b: add useFlyTo option flag to MlFollowGps to allow choosing between flyTo or setCenter as map centering function
602
- - f72292b: add orientationConePaint option to MlFollowGps to allow overriding the orientation cone paint layer paint properties
603
-
604
- ### Changed
605
-
606
- - f72292b: rename MlFollowGps style option to buttonSx
607
- - 412c363: wrap MlNavigationTools in a @MUI Box component and expose the sx property as MlNavigationTools option
608
-
609
- ## [v0.1.55] - 2022-07-18
610
-
611
- ### Changed
612
-
613
- - be4fa69: make MlLayer geojson attribute optional
614
-
615
- ## [v0.1.54] - 2022-07-18
616
-
617
- ### Changed
618
-
619
- - ad54e39: add geojson attribute to MlLayer component
620
-
621
- ## [v0.1.53] - 2022-07-18
622
-
623
- ### Changed
624
-
625
- - 1a7ac4e: add more configuration options to MlNavigationTools
626
-
627
- ## [v0.1.52] - 2022-07-18
628
-
629
- ### Added
630
-
631
- - 5c276af: add MlCenterPosition Component
632
-
633
- ## [v0.1.51] - 2022-07-12
634
-
635
- ### Changed
636
-
637
- - 938f665: improve typescript type definitions for MlGeoJsonLayer attributes, useLayer hook props, maplibre reference returned by useMap hook
638
- - 3349332: improve MlTransitionGeoJsonLayer attribute types
639
-
640
- ## [v0.1.49] - 2022-07-11
641
-
642
- ### Added
643
-
644
- - c119564: add useLayer hook tests
645
- - 27d9ded: add typescript type definitions
646
-
647
- ### Changed
648
-
649
- - 9244711: update readme to make it more beginner friendly
650
-
651
- ### Fixed
652
-
653
- - 6b3c223: add touch support to MlFeatureEditor
654
- - a531174: refactor MlFeatureEditor
655
-
656
- ## [v0.1.48] - 2022-06-15
657
-
658
- ### Added
659
-
660
- - 4d53b8a: add miles option to MlMeasureTool
661
-
662
- ### Fixed
663
-
664
- - 0082e6d: fix MlMeasureTools typescript transpilation errors
665
-
666
- ## [v0.1.47] (broken build) - 2022-06-15
667
-
668
- ### Fixed
669
-
670
- - ed194ff: fix MlWmsLoader & useWms hooks default param values of GetCapabilities request
671
-
672
- ## [v0.1.46] - 2022-06-09
673
-
674
- ### Fixed
675
-
676
- - 16e78aa: fix MlImageMarkerLayer initialization conditions
677
-
678
- ### Added
679
-
680
- - 06e30aa: add MeasureTool to catalog
681
- - 35bc0ff: make MapLibreMap options.style property reactive to dynamic changes during runtime
682
-
683
- ## [v0.1.45] - 2022-05-10
684
-
685
- ### Fixed
686
-
687
- - 336bca8: fix useLayer implicit layer types
688
-
689
- ## [v0.1.44] - 2022-05-10
690
-
691
- ### Fixed
692
-
693
- - a81bb06: fix useLayer setPaintProperty error when changing geojson type using implicit layer types
694
-
695
- ## [v0.1.42] - 2022-05-10
696
-
697
- ### Fixed
698
-
699
- - d974415: fix geojsonlayer default circle color
700
-
701
- ## [v0.1.41] - 2022-05-10
702
-
703
- ### Fixed
704
-
705
- - 4c1f5b6: fix MlWmsLoader
706
- - 32e6a3f: fix useLayer reinitialization bug
707
-
708
- ## [v0.1.39] - 2022-04-21
709
-
710
- ### Changed
711
-
712
- - move d3 from devDependencies to dependencies
713
-
714
- ## [v0.1.38] - 2022-04-21
715
-
716
- ### Changed
717
-
718
- - integrate MapContext from @mapcomonents/react-core
719
-
720
- ## [v0.1.37] (broken build) - 2022-04-20
721
-
722
- ## [v0.1.36] (broken build) - 2022-04-20
723
-
724
- ## [v0.1.35] (broken build) - 2022-04-20
725
-
726
- ### Changed
727
-
728
- - migrate components and hooks to typescript
729
-
730
- ## [v0.1.34] - 2022-03-24
731
-
732
- ### Fixed
733
-
734
- - 0ced5c1: revert to webpack inline transpilation exclusion as there is no effect on codesandbox installation issues
735
-
736
- ## [v0.1.33] - 2022-03-24
737
-
738
- ### Fixed
739
-
740
- - 5b80cac: remove webpack inline transpilation exclusion to fix codesandbox installation issues
741
-
742
- ## [v0.1.32] - 2022-03-15
743
-
744
- ### Added
745
-
746
- - bd333ce: add exports for useWms and MlMarker
747
-
748
- ## [v0.1.31] - 2022-02-24
749
-
750
- ### Added
751
-
752
- - acbaa59: export MlTransitionGeoJsonLayer from esm module
753
-
754
- ## [v0.1.30] - 2022-02-20
755
-
756
- ### Fixed
757
-
758
- - 26dc071: exclude maplibre-gl from transpilation using ! webpack import syntax to prevent "Uncaught ReferenceError" bug
759
-
760
- ## [v0.1.28] - 2022-02-20
761
-
762
- ### Added
763
-
764
- - 486b7a2: add device orientation indicator to MlFollowGps component
765
-
766
- ### Changed
767
-
768
- - aba9483: upgrade maplibre-gl to v2.1.6
769
- - 2f5d769: add MlNavigationtools to all storybook demos by integrating it into storybook decorators
770
- - ae871c0: migrate MlScaleReference to useMap hook
771
- - a322419: migrate MlNavigationTools to useMap hook
772
- - 241c28d: migrate MlNavigationCompass to useMap hook
773
- - 1de0269: migrate MlOsmLayer to useMap hook
774
- - 83694e5: migrate MlGPXViewer to useMap hook
775
- - f1e7c3d: upgrade @mui dependencies
776
- - 1c873d9: upgrade three, xmldom & jspdf dependencies
777
- - 2890587: Remove all LineString transition logic from MlGeoJsonLayer to MlTransitionGeoJsonLayer
778
-
779
- ### Fixed
780
-
781
- - 2890587: Merge pull request #5 from mapcomponents/feature/add-mltransitiongeojsonlayer
782
-
783
- ## [v0.1.27] - 2022-02-05
784
-
785
- ### Fixed
786
-
787
- - 743b8ed: set includeBaseLayers filter in useMap hool to true to make waiting for base layers possible
788
-
789
- ### Changed
790
-
791
- - da55245: make the registration of an onlayerchange event handler by the useMap hook dependent on its waitForLayer prop
792
-
793
- ## [v0.1.26] - 2022-02-02
794
-
795
- ### Fixed
796
-
797
- - adjust MlFollowGps position marker style & add flyTo instead of setCenter for new Gps positions
798
- - fix useWms hook retrieval of WMS GetMap URL
799
-
800
- ## [v0.1.25] - 2022-01-31
801
-
802
- ### Fixed
803
-
804
- - fix MlFollowGps needsRedraw bug; refactor MlFollowGps
805
-
806
- ## [v0.1.24] - 2022-01-23
807
-
808
- ### Fixed
809
-
810
- - fix MlVectorTileLayer sourceId
811
-
812
- ## [v0.1.23] - 2022-01-23
813
-
814
- ### Changed
815
-
816
- - migrate MlVectorTileLayer to useMap hook & provide full control over layer & source id
817
-
818
- ## [v0.1.22] - 2022-01-23
819
-
820
- ### Changed
821
-
822
- - make MlVectorTileLayer props.layers[].layout properties update dynamically
823
-
824
- ## [v0.1.21] - 2022-01-21
825
-
826
- ### Fixed
827
-
828
- - migrate MlVectorTileLayer to useMap hook & provide full control over layer & source id
829
-
830
- ## [v0.1.20] - 2022-01-17
831
-
832
- ### Changed
833
-
834
- - migrate MlWmsLayer to use useMap hook instead of mapContext
835
-
836
- ### Fixed
837
-
838
- - adjust MapLibreGlWrapper to fire layerchange events more efficiently
839
- - MlShareMapState: prevent pushing new history states if props.active is false
840
- - fix MlWmsLayer & tests
841
- - fix MlVectorTileLayer visible property
842
- - fix MlGeoJsonLayer props.onHover, props.onClick, props.onLeave
843
-
844
- ### Added
845
-
846
- - add props.sourceOptions to MlVectorTileLayer
847
-
848
- ## [v0.1.19] - 2022-01-09
849
-
850
- ### Added
851
-
852
- - add props.options to MlGeoJsonLayer
853
-
854
- ## [v0.1.18] - 2022-01-09
855
-
856
- ### Added
857
-
858
- - add props.defaultPaintOverrides to MlGeoJsonLayer
859
-
860
- ## [v0.1.17] - 2022-01-09
861
-
862
- ### Added
863
-
864
- - add implicit layer-type (props.type) casting for MlGeoJsonLayer
865
-
866
- ### Changed
867
-
868
- ### Fixed
869
-
870
- - fix MlGeoJsonLayer type prop: remove and add a new layer of the new type, if props.type changes
871
-
872
- ## [v0.1.16] - 2021-12-23
873
-
874
- ### Added
875
-
876
- - add CHANGELOG.md
877
-
878
- ### Changed
879
-
880
- - migrate MlComponentTemplate to utilize useMap hook
881
- - migrate MlFollowGps to utilize useMap hook
882
-
883
- ### Fixed
884
-
885
- - fix MlFollowGps - remove example code (setCenter)
886
-
887
- ## [v0.1.15] - 2021-12-21
888
-
889
- ### Added
890
-
891
- - export MlFollowGps component from esm module
892
- - add a useMap hook to reduce boilerplate code in components
893
-
894
- ### Changed
895
-
896
- - adjust MlImageMarkerLayer to make use of the new useMap hook
897
-
898
- ### Fixed