@@ -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: 16
|
maxZoom: 15 // Zoom out one more level by default
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -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: 16
|
maxZoom: 15 // Zoom out one more level by default
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user