Commit a80fac08bd94b923fc3591eeb24380acf9e9b1f2
1 parent
75a84a63
Exists in
master
and in
7 other branches
-
Showing
4 changed files
with
21 additions
and
4 deletions
Show diff stats
classesjs/classe_mapa.js
| ... | ... | @@ -62,7 +62,7 @@ i3GEO.mapa = |
| 62 | 62 | */ |
| 63 | 63 | TEMASINICIAISLIGADOS : "", |
| 64 | 64 | /** |
| 65 | - * Propriedade: TEMASINICIAISLIGADOS | |
| 65 | + * Propriedade: TEMASINICIAIS | |
| 66 | 66 | * |
| 67 | 67 | * Lista indicando quais temas serao ligados na inicializacao |
| 68 | 68 | * |
| ... | ... | @@ -1479,6 +1479,8 @@ i3GEO.mapa = |
| 1479 | 1479 | //evita clicar sobre a barra do googlemaps |
| 1480 | 1480 | //FIXIT nada elegante |
| 1481 | 1481 | //console.warn(objposicaocursor.imgx) |
| 1482 | + //TODO incluir opcao de mais informacoes | |
| 1483 | + //TODO incluir opcao para controlar tolerancia e outros parametros | |
| 1482 | 1484 | if (objposicaocursor.imgx < 70) { |
| 1483 | 1485 | return; |
| 1484 | 1486 | } | ... | ... |
ferramentas/parametrossql/exec.php
| ... | ... | @@ -35,9 +35,15 @@ Aplica a substituicao de chaves pelos valores enviados |
| 35 | 35 | //pega as chaves do proprio mapfile |
| 36 | 36 | $c = $layer->getmetadata("PLUGINI3GEO"); |
| 37 | 37 | if($c == ""){ |
| 38 | - $retorno = "erro"; | |
| 38 | + //tenta pegar os parametros do arquivo mapfile original | |
| 39 | + $map1 = ms_newMapObj($locaplic."/temas/".$nomeLayer.".map"); | |
| 40 | + $layer1 = $map1->getlayerbyname($nomeLayer); | |
| 41 | + $c = $layer1->getmetadata("PLUGINI3GEO"); | |
| 42 | + if($c == ""){ | |
| 43 | + $retorno = "erro"; | |
| 44 | + } | |
| 39 | 45 | } |
| 40 | - else{ | |
| 46 | + if($c != ""){ | |
| 41 | 47 | $cs = json_decode($c,true); |
| 42 | 48 | $cs = $cs["parametros"]; |
| 43 | 49 | $chaves = array(); | ... | ... |
ferramentas/preferencias/dicionario.js
| ... | ... | @@ -170,6 +170,11 @@ i3GEOF.preferencias.dicionario = { |
| 170 | 170 | en : "", |
| 171 | 171 | es : "" |
| 172 | 172 | } ], |
| 173 | + 'toleranciaIdentifica' : [ { | |
| 174 | + pt : "Resolução de busca utilizada no balão de identificação", | |
| 175 | + en : "", | |
| 176 | + es : "" | |
| 177 | + } ], | |
| 173 | 178 | 'abreMapaReferencia' : [ { |
| 174 | 179 | pt : "Indica se o mapa de referência deverá ser aberto quando o i3Geo for inicializado", |
| 175 | 180 | en : "", | ... | ... |
ferramentas/preferencias/index.js
| ... | ... | @@ -261,6 +261,10 @@ i3GEOF.preferencias = { |
| 261 | 261 | tipo: "texto", |
| 262 | 262 | elemento: "i3GEO.configura.larguratip" |
| 263 | 263 | },{ |
| 264 | + titulo: $trad('toleranciaIdentifica',i3GEOF.preferencias.dicionario), | |
| 265 | + tipo: "texto", | |
| 266 | + elemento: "i3GEO.mapa.RESOLUCAOTIP" | |
| 267 | + },{ | |
| 264 | 268 | titulo: $trad('abreMapaReferencia',i3GEOF.preferencias.dicionario), |
| 265 | 269 | tipo: "select", |
| 266 | 270 | elemento: "i3GEO.configura.mapaRefDisplay", |
| ... | ... | @@ -370,7 +374,7 @@ i3GEOF.preferencias = { |
| 370 | 374 | } |
| 371 | 375 | ] |
| 372 | 376 | },{ |
| 373 | - titulo: $trad('janelasFlutuantes',i3GEOF.preferencias.dicionario), //menu superior | |
| 377 | + titulo: $trad('janelasFlutuantes',i3GEOF.preferencias.dicionario), //janela | |
| 374 | 378 | props: [ |
| 375 | 379 | { |
| 376 | 380 | titulo: $trad('estiloCorpoJanela',i3GEOF.preferencias.dicionario), | ... | ... |