Skip to content

Commit 836b143

Browse files
committed
[fix][xs]: make tileLayerName in Map optional
1 parent be38086 commit 836b143

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/six-colts-guess.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@portaljs/components': patch
3+
---
4+
5+
Fix: make tileLayerName in Map optional.

packages/components/src/components/Map.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ interface TileLayerSettings extends L.TileLayerOptions {
3636
}
3737

3838
export type MapProps = {
39-
tileLayerName: TileLayerPreset;
39+
tileLayerName?: TileLayerPreset;
4040
tileLayerOptions?: TileLayerSettings | undefined;
4141
layers: {
4242
data: GeospatialData;

0 commit comments

Comments
 (0)