HOT FIX - маршруты
This commit is contained in:
parent
94f36f9d6b
commit
04d065b774
|
|
@ -184,7 +184,7 @@ function constructPoint(data)
|
||||||
function initPoints(useBounds)
|
function initPoints(useBounds)
|
||||||
{
|
{
|
||||||
bounds = myMap.getBounds();
|
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)
|
bounds = Array(bounds._northEast.lat,bounds._northEast.lng,bounds._southWest.lat,bounds._southWest.lng)
|
||||||
} else {
|
} else {
|
||||||
bounds = 0
|
bounds = 0
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue