mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-12-26 06:22:13 +03:00
order of viewbox coordinates does not matter
This commit is contained in:
parent
28810e6ce0
commit
749091bf3a
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user