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 3f1f040..a121e75 100644
--- a/web/public/javascripts/map.js
+++ b/web/public/javascripts/map.js
@@ -37,6 +37,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));
}