kopia lustrzana https://github.com/FacilMap/facilmap
Fix overlays in views
rodzic
69f15efc9e
commit
72b9f77bb5
|
@ -29,7 +29,7 @@ export function displayView(map: Map, view?: UnsavedView | null, _zoomFactor = 0
|
||||||
|
|
||||||
setVisibleLayers(map, {
|
setVisibleLayers(map, {
|
||||||
baseLayer: view.baseLayer,
|
baseLayer: view.baseLayer,
|
||||||
|
overlays: view.layers
|
||||||
});
|
});
|
||||||
|
|
||||||
const bounds = fmToLeafletBbox(view);
|
const bounds = fmToLeafletBbox(view);
|
||||||
|
|
Ładowanie…
Reference in New Issue