mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-15 02:47:59 +00:00
fix viewbox issues
This commit is contained in:
@@ -133,6 +133,12 @@
|
||||
$this->aViewBox = array($fLeft, $fBottom, $fRight, $fTop);
|
||||
}
|
||||
|
||||
function getViewBoxString()
|
||||
{
|
||||
if (!$this->aViewBox) return null;
|
||||
return $this->aViewBox[0].','.$this->aViewBox[3].','.$this->aViewBox[2].','.$this->aViewBox[1];
|
||||
}
|
||||
|
||||
function setRoute($aRoutePoints)
|
||||
{
|
||||
$this->aRoutePoints = $aRoutePoints;
|
||||
|
||||
Reference in New Issue
Block a user