From 0f72d0de2d20254bb816fffdbb3bc526bd7d84f7 Mon Sep 17 00:00:00 2001 From: manikanta799 <56464362+manikanta799@users.noreply.github.com> Date: Tue, 5 Dec 2023 22:46:17 +0530 Subject: [PATCH] Update index.ejs Made Changes in the length of the main things and Nav-bar --- views/index.ejs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); }); } }