diff --git a/public/js/map.js b/public/js/map.js index cfc2d2c..8a720bc 100644 --- a/public/js/map.js +++ b/public/js/map.js @@ -184,7 +184,7 @@ function constructPoint(data) function initPoints(useBounds) { bounds = myMap.getBounds(); - if (useBounds == true) { + if (useBounds == true && getURLParameter('route') == 'null') { bounds = Array(bounds._northEast.lat,bounds._northEast.lng,bounds._southWest.lat,bounds._southWest.lng) } else { bounds = 0