diff --git a/classesphp/funcoes_gerais.php b/classesphp/funcoes_gerais.php index 9a31835..faefb3d 100755 --- a/classesphp/funcoes_gerais.php +++ b/classesphp/funcoes_gerais.php @@ -753,9 +753,9 @@ Retorno: String contendo variáveis no formato javascript */ -function retornaReferenciaDinamica($ext="",$w="",$h="") +function retornaReferenciaDinamica($ext="",$w="",$h="",$zoom=-3,$tipo="mapa") { - global $nomeImagem,$map_file,$utilizacgi,$locmapserv,$locaplic,$zoom,$tipo,$interface,$postgis_mapa; + global $nomeImagem,$map_file,$utilizacgi,$locmapserv,$locaplic,$interface,$postgis_mapa; // //adiciona o tema com o web service com o mapa mundi // diff --git a/classesphp/mapa_controle.php b/classesphp/mapa_controle.php index 4b7b7d9..90b5e59 100755 --- a/classesphp/mapa_controle.php +++ b/classesphp/mapa_controle.php @@ -838,7 +838,7 @@ switch (strtoupper($funcao)) { $ext = ""; } - $retorno = retornaReferenciaDinamica($ext,$_pg["w"],$_pg["h"]); + $retorno = retornaReferenciaDinamica($ext,$_pg["w"],$_pg["h"],$_pg["zoom"],$_pg["tipo"]); break; /* Valor: MUDAOUTPUTFORMAT -- libgit2 0.21.2