order of viewbox coordinates does not matter

This commit is contained in:
Sarah Hoffmann 2017-09-30 14:16:07 +02:00
parent 28810e6ce0
commit 749091bf3a

View File

@ -313,12 +313,7 @@ class Geocode
if (count($aViewbox) != 4) {
userError("Bad parmater 'viewbox'. Expected 4 coordinates.");
}
$this->setViewBox(array(
$aViewbox[0],
$aViewbox[3],
$aViewbox[2],
$aViewbox[1]
));
$this->setViewBox($aViewbox);
} else {
$aRoute = $oParams->getStringList('route');
$fRouteWidth = $oParams->getFloat('routewidth');