Commit e3cf0eb337855ebcd2ef6db4a68bec41ae9e4dd4
1 parent
04a4e813
Exists in
master
and in
7 other branches
Correção na ferramenta de identificação para bloquear a opção de mais informaçõe…
…s quando o metadata do layer não permitir a identificação
Showing
3 changed files
with
8 additions
and
6 deletions
Show diff stats
classesphp/classe_temas.php
... | ... | @@ -511,7 +511,7 @@ $testa - Testa o filtro e retorna uma imagem. |
511 | 511 | */ |
512 | 512 | function insereFiltro($filtro,$testa="",$base64="nao") |
513 | 513 | { |
514 | - $this->selecaoLimpa(); | |
514 | + $this->selecaoLimpa(); | |
515 | 515 | if($base64 == "sim"){ |
516 | 516 | //$filtro = base64_decode($filtro); |
517 | 517 | } | ... | ... |
ferramentas/identifica/index.js
... | ... | @@ -210,13 +210,15 @@ i3GEOF.identifica = |
210 | 210 | if (botao.value != "") { |
211 | 211 | i3GEO.mapa.ativaTema(botao.value); |
212 | 212 | i3GEOF.identifica.propJanelas[idjanela].tema = botao.value; |
213 | - i3GEOF.identifica.buscaDadosTema(botao.value, i3GEOF.identifica.propJanelas[idjanela].x, i3GEOF.identifica.propJanelas[idjanela].y, idjanela); | |
213 | + i3GEOF.identifica.propJanelas[idjanela].temaAtivo = botao.value; | |
214 | + | |
215 | + var temp = i3GEO.arvoreDeCamadas.pegaTema(botao.value); | |
216 | + if (temp.identifica.toLowerCase() !== "nao") { | |
217 | + i3GEOF.identifica.buscaDadosTema(botao.value, i3GEOF.identifica.propJanelas[idjanela].x, i3GEOF.identifica.propJanelas[idjanela].y, idjanela); | |
218 | + } | |
214 | 219 | } |
215 | 220 | } |
216 | 221 | }; |
217 | - | |
218 | - | |
219 | - | |
220 | 222 | try { |
221 | 223 | $i(iddiv).innerHTML = i3GEOF.identifica.html(idjanela); |
222 | 224 | if (!$i(idjanela + "i3GEOFidentificaComboCabecaSel")) { | ... | ... |
temas/_lbairros.map