From 749091bf3a0ac9c1f7417b7b896aa4081fc8d5c8 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Sat, 30 Sep 2017 14:16:07 +0200 Subject: [PATCH] order of viewbox coordinates does not matter --- lib/Geocode.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/lib/Geocode.php b/lib/Geocode.php index a7987d24..fc2d6c65 100644 --- a/lib/Geocode.php +++ b/lib/Geocode.php @@ -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'); -- 2.45.2