This commit is contained in:
Ezra Bühler 2016-06-05 13:35:07 +00:00
commit 2685f63a38

View File

@ -115,7 +115,7 @@ Class staticMapLite
{
// get zoom from GET paramter
$this->zoom = $_GET['zoom'] ? intval($_GET['zoom']) : 0;
if ($this->zoom > 18) $this->zoom = 18;
if ($this->zoom > 19) $this->zoom = 19;
// get lat and lon from GET paramter
list($this->lat, $this->lon) = explode(',', $_GET['center']);