[fix][xs]: make tileLayerName in Map optional

This commit is contained in:
Ola Rubaj 2024-10-24 08:45:51 +02:00
parent be38086794
commit 836b143a31
2 changed files with 6 additions and 1 deletions

View File

@ -0,0 +1,5 @@
---
'@portaljs/components': patch
---
Fix: make tileLayerName in Map optional.

View File

@ -36,7 +36,7 @@ interface TileLayerSettings extends L.TileLayerOptions {
}
export type MapProps = {
tileLayerName: TileLayerPreset;
tileLayerName?: TileLayerPreset;
tileLayerOptions?: TileLayerSettings | undefined;
layers: {
data: GeospatialData;