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,7 +511,7 @@ $testa - Testa o filtro e retorna uma imagem. | ||
511 | */ | 511 | */ |
512 | function insereFiltro($filtro,$testa="",$base64="nao") | 512 | function insereFiltro($filtro,$testa="",$base64="nao") |
513 | { | 513 | { |
514 | - $this->selecaoLimpa(); | 514 | + $this->selecaoLimpa(); |
515 | if($base64 == "sim"){ | 515 | if($base64 == "sim"){ |
516 | //$filtro = base64_decode($filtro); | 516 | //$filtro = base64_decode($filtro); |
517 | } | 517 | } |
ferramentas/identifica/index.js
@@ -210,13 +210,15 @@ i3GEOF.identifica = | @@ -210,13 +210,15 @@ i3GEOF.identifica = | ||
210 | if (botao.value != "") { | 210 | if (botao.value != "") { |
211 | i3GEO.mapa.ativaTema(botao.value); | 211 | i3GEO.mapa.ativaTema(botao.value); |
212 | i3GEOF.identifica.propJanelas[idjanela].tema = botao.value; | 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 | try { | 222 | try { |
221 | $i(iddiv).innerHTML = i3GEOF.identifica.html(idjanela); | 223 | $i(iddiv).innerHTML = i3GEOF.identifica.html(idjanela); |
222 | if (!$i(idjanela + "i3GEOFidentificaComboCabecaSel")) { | 224 | if (!$i(idjanela + "i3GEOFidentificaComboCabecaSel")) { |
temas/_lbairros.map
@@ -24,7 +24,7 @@ MAP | @@ -24,7 +24,7 @@ MAP | ||
24 | "permiteogc" "SIM" | 24 | "permiteogc" "SIM" |
25 | "transitioneffect" "NAO" | 25 | "transitioneffect" "NAO" |
26 | "TEMA" "_Bairros POSTGIS" | 26 | "TEMA" "_Bairros POSTGIS" |
27 | - "identifica" "nao" | 27 | + "identifica" "sim" |
28 | END # METADATA | 28 | END # METADATA |
29 | NAME "_lbairros" | 29 | NAME "_lbairros" |
30 | PROCESSING "LABEL_NO_CLIP=True" | 30 | PROCESSING "LABEL_NO_CLIP=True" |