aboutsummaryrefslogtreecommitdiff
path: root/web/public/javascripts/map.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/public/javascripts/map.js')
-rw-r--r--web/public/javascripts/map.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/public/javascripts/map.js b/web/public/javascripts/map.js
index 5326bb2..f957223 100644
--- a/web/public/javascripts/map.js
+++ b/web/public/javascripts/map.js
@@ -36,6 +36,7 @@ function plotPointsOnMap(points) {
// rezoom the map so that all the markers fit in the view, add 20% padding so
// that marker dont cut off
+ console.log(latlngbounds)
map.fitBounds(latlngbounds.pad(0.20));
}