From 04d065b774b8e2178ae5eaf8fd2ff1e5ad5f179d Mon Sep 17 00:00:00 2001 From: Krivchikov Dmitry Date: Fri, 22 Apr 2016 14:31:13 +0300 Subject: [PATCH] =?UTF-8?q?HOT=20FIX=20-=20=D0=BC=D0=B0=D1=80=D1=88=D1=80?= =?UTF-8?q?=D1=83=D1=82=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/js/map.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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