Increase maxzoom
This commit is contained in:
parent
9a352cea4e
commit
90d8f7538e
@ -826,7 +826,7 @@
|
|||||||
// Add more padding and max zoom to ensure all stations are visible
|
// Add more padding and max zoom to ensure all stations are visible
|
||||||
map.fitBounds(bounds, {
|
map.fitBounds(bounds, {
|
||||||
padding: [50, 50],
|
padding: [50, 50],
|
||||||
maxZoom: 15 // Zoom out one more level by default
|
maxZoom: 16
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -364,7 +364,7 @@
|
|||||||
// Add more padding and max zoom to ensure all stations are visible
|
// Add more padding and max zoom to ensure all stations are visible
|
||||||
map.fitBounds(bounds, {
|
map.fitBounds(bounds, {
|
||||||
padding: [50, 50],
|
padding: [50, 50],
|
||||||
maxZoom: 15 // Zoom out one more level by default
|
maxZoom: 16
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user