fix coordinate order for route parameter

fixes #174
This commit is contained in:
Sarah Hoffmann
2014-09-03 21:08:26 +02:00
parent 5f79cca558
commit e7ee9c2d84

View File

@@ -518,7 +518,7 @@
foreach($this->aRoutePoints as $aPoint)
{
if (!$bFirst) $sViewboxCentreSQL .= ",";
$sViewboxCentreSQL .= $aPoint[1].' '.$aPoint[0];
$sViewboxCentreSQL .= $aPoint[0].' '.$aPoint[1];
$bFirst = false;
}
$sViewboxCentreSQL .= ")'::geometry,4326)";