diff --git a/p3k/geo/StaticMap.php b/p3k/geo/StaticMap.php index a1c0806..7a63226 100644 --- a/p3k/geo/StaticMap.php +++ b/p3k/geo/StaticMap.php @@ -190,6 +190,9 @@ function generate($params, $filename, $assetPath) { $zoom = k($params,'maxzoom'); } + $minZoom = 2; + if($zoom < $minZoom) + $zoom = $minZoom; $tileServices = array(