diff --git a/views/index.ejs b/views/index.ejs index bb74cefc..4e469e1e 100644 --- a/views/index.ejs +++ b/views/index.ejs @@ -18,7 +18,7 @@ mlh-logo - + @@ -48,10 +48,10 @@ map.panToBounds(bounds); // Adjust zoom level when there are few markers (or none) - if (locations.length < 3) { + if (locations.length < 4) { google.maps.event.addListenerOnce(map, "bounds_changed", function() { map.setCenter(bounds.getCenter()); - map.setZoom(locations.length + 3); + map.setZoom(locations.length + 4); }); } }