HOT FIX - маршруты

This commit is contained in:
Krivchikov Dmitry 2016-04-22 14:31:13 +03:00
parent 94f36f9d6b
commit 04d065b774
1 changed files with 1 additions and 1 deletions

View File

@ -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