diff --git a/admin/admin.db b/admin/admin.db index af7bf37..6995c7c 100644 Binary files a/admin/admin.db and b/admin/admin.db differ diff --git a/classesphp/mapa_openlayers.php b/classesphp/mapa_openlayers.php index 1d22e79..c330bb3 100644 --- a/classesphp/mapa_openlayers.php +++ b/classesphp/mapa_openlayers.php @@ -171,7 +171,7 @@ elseif($_GET["TIPOIMAGEM"] != "" && $_GET["TIPOIMAGEM"] != "nenhum") if($cache == true && $_GET["cache"] != "nao"){ //carregaCacheImagem($cachedir,$_GET["BBOX"],$nomecache,$map_fileX,$_GET["WIDTH"],$_GET["HEIGHT"]); - carregaCacheImagem($cachedir,$map,$tms); + carregaCacheImagem($cachedir,$map,$_GET["tms"]); } $map_size = explode(" ",$_GET["map_size"]); $mapa->setsize($map_size[0],$map_size[1]); diff --git a/classesphp/mapa_openlayers_alternativo.php b/classesphp/mapa_openlayers_alternativo.php index 9d08b87..56cbe01 100644 --- a/classesphp/mapa_openlayers_alternativo.php +++ b/classesphp/mapa_openlayers_alternativo.php @@ -171,7 +171,7 @@ elseif($_GET["TIPOIMAGEM"] != "" && $_GET["TIPOIMAGEM"] != "nenhum") if($cache == true && $_GET["cache"] != "nao"){ //carregaCacheImagem($cachedir,$_GET["BBOX"],$nomecache,$map_fileX,$_GET["WIDTH"],$_GET["HEIGHT"]); - carregaCacheImagem($cachedir,$map,$tms); + carregaCacheImagem($cachedir,$map,$_GET["tms"]); } $map_size = explode(" ",$_GET["map_size"]); $mapa->setsize($map_size[0],$map_size[1]); -- libgit2 0.21.2