Browse Source

set minzoom=2 to avoid missing tiles

main
Aaron Parecki 7 years ago
parent
commit
8d11733a7b
No known key found for this signature in database GPG Key ID: 276C2817346D6056
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      p3k/geo/StaticMap.php

+ 3
- 0
p3k/geo/StaticMap.php View File

@ -190,6 +190,9 @@ function generate($params, $filename, $assetPath) {
$zoom = k($params,'maxzoom');
}
$minZoom = 2;
if($zoom < $minZoom)
$zoom = $minZoom;
$tileServices = array(

Loading…
Cancel
Save