Commit 34ba15add4a952764e68ac80e794f47691c62c94
1 parent
54250e71
Exists in
master
remoção de parâmetros antigos não utilizados mais nos mapas
Showing
1 changed file
with
10 additions
and
6 deletions
Show diff stats
classesphp/mapa_inicia.php
| @@ -341,20 +341,24 @@ function iniciaMapa() | @@ -341,20 +341,24 @@ function iniciaMapa() | ||
| 341 | $res["mapscale"] = $escalaMapa; | 341 | $res["mapscale"] = $escalaMapa; |
| 342 | $res["mapres"] = $m->mapa->resolution; | 342 | $res["mapres"] = $m->mapa->resolution; |
| 343 | $res["pixelsize"] = $celula; | 343 | $res["pixelsize"] = $celula; |
| 344 | + //TODO depreciar na documentacao e ms_configura | ||
| 345 | + /* | ||
| 344 | if ((isset($expoeMapfile)) && ($expoeMapfile == "nao")) | 346 | if ((isset($expoeMapfile)) && ($expoeMapfile == "nao")) |
| 345 | {$res["mapfile"] = "";} | 347 | {$res["mapfile"] = "";} |
| 346 | else | 348 | else |
| 347 | {$res["mapfile"] = $map_file;} | 349 | {$res["mapfile"] = $map_file;} |
| 348 | - | ||
| 349 | - $res["cgi"] = $locmapserv; | 350 | + */ |
| 351 | + $res["mapfile"] = ""; | ||
| 352 | + $res["cgi"] = "";//$locmapserv; | ||
| 350 | $res["extentTotal"] = $ext; | 353 | $res["extentTotal"] = $ext; |
| 351 | - $res["mapimagem"] = $nomer; | 354 | + $res["mapimagem"] = "";//$nomer; |
| 352 | $geoip = "nao"; | 355 | $geoip = "nao"; |
| 353 | if (file_exists($locaplic."/pacotes/geoip") && file_exists($locaplic."/pacotes/geoip/GeoLiteCity.dat")) | 356 | if (file_exists($locaplic."/pacotes/geoip") && file_exists($locaplic."/pacotes/geoip/GeoLiteCity.dat")) |
| 354 | {$geoip = "sim";} | 357 | {$geoip = "sim";} |
| 355 | $res["geoip"] = $geoip; | 358 | $res["geoip"] = $geoip; |
| 356 | $res["listavisual"] = (file_exists($locaplic."/imagens/visual")) ? implode(",",listaDiretorios($locaplic."/imagens/visual")) : ""; | 359 | $res["listavisual"] = (file_exists($locaplic."/imagens/visual")) ? implode(",",listaDiretorios($locaplic."/imagens/visual")) : ""; |
| 357 | - $res["utilizacgi"] = $utilizacgi; | 360 | + //TODO depreciar na documentacao |
| 361 | + $res["utilizacgi"] = "nao";//$utilizacgi; | ||
| 358 | $res["versaoms"] = $versao["principal"]; | 362 | $res["versaoms"] = $versao["principal"]; |
| 359 | $res["versaomscompleta"] = $versao["completa"]; | 363 | $res["versaomscompleta"] = $versao["completa"]; |
| 360 | $res["mensagens"] = $m->pegaMensagens(); | 364 | $res["mensagens"] = $m->pegaMensagens(); |
| @@ -370,8 +374,8 @@ function iniciaMapa() | @@ -370,8 +374,8 @@ function iniciaMapa() | ||
| 370 | $res["tempo"] = microtime(1) - $tempo; | 374 | $res["tempo"] = microtime(1) - $tempo; |
| 371 | $res["embedLegenda"] = $embedLegenda; | 375 | $res["embedLegenda"] = $embedLegenda; |
| 372 | $res["erro"] = ''; | 376 | $res["erro"] = ''; |
| 373 | - $res["mappath"] = $imgo->imagepath; | ||
| 374 | - $res["mapurl"] = $imgo->imageurl; | 377 | + $res["mappath"] = "";//$imgo->imagepath; |
| 378 | + $res["mapurl"] = "";//$imgo->imageurl; | ||
| 375 | $res["navegacaoDir"] = $navegadoresLocais; | 379 | $res["navegacaoDir"] = $navegadoresLocais; |
| 376 | if($openid == true) | 380 | if($openid == true) |
| 377 | {$res["autenticadoopenid"] = "sim";} | 381 | {$res["autenticadoopenid"] = "sim";} |