Commit bfa82afecb677f10e4c69bb6d4f9daceaa50eed1
1 parent
e73432a5
Exists in
master
and in
7 other branches
--no commit message
Showing
2 changed files
with
14 additions
and
12 deletions
Show diff stats
classesphp/classe_legenda.php
| ... | ... | @@ -174,7 +174,7 @@ Salva o mapfile atual |
| 174 | 174 | /* |
| 175 | 175 | function: recalculaSLD |
| 176 | 176 | |
| 177 | -Constr�i o SLD que é aplicado ao metadata wms_sld_body. O SLD resultante é baseado nas definições das classes existentes no layer | |
| 177 | +Constroi o SLD que é aplicado ao metadata wms_sld_body. O SLD resultante é baseado nas definições das classes existentes no layer | |
| 178 | 178 | */ |
| 179 | 179 | function recalculaSLD(){ |
| 180 | 180 | if($this->layer->classitem != "" && $this->layer->connectiontype == 7 && $this->layer->numclasses > 0){ | ... | ... |
ferramentas/legenda/index.js
| ... | ... | @@ -47,7 +47,7 @@ i3GEOF.legenda = { |
| 47 | 47 | /* |
| 48 | 48 | Variavel: parDefault |
| 49 | 49 | |
| 50 | - Parâmetros padrão utilizados para formatar os labels | |
| 50 | + Par�metros padrão utilizados para formatar os labels | |
| 51 | 51 | */ |
| 52 | 52 | parDefault: "&position=MS_UR&partials=1&offsetx=0&offsety=0&minfeaturesize=auto&mindistance=auto&force=0&shadowsizex=1&shadowsizey=1&cor=0 0 0&sombray=1&sombrax=1&angulo=0&tamanho=8&fonte=bitmap&fundo=off&sombra=off&outlinecolor=off&shadowcolor=off&wrap=", |
| 53 | 53 | /* |
| ... | ... | @@ -89,13 +89,13 @@ i3GEOF.legenda = { |
| 89 | 89 | /* |
| 90 | 90 | Variavel: estilo |
| 91 | 91 | |
| 92 | - Último estilo selecionado | |
| 92 | + �ltimo estilo selecionado | |
| 93 | 93 | */ |
| 94 | 94 | estilo: "", |
| 95 | 95 | /* |
| 96 | 96 | Variavel: classe |
| 97 | 97 | |
| 98 | - Última classe selecionado | |
| 98 | + �ltima classe selecionado | |
| 99 | 99 | */ |
| 100 | 100 | classe: "", |
| 101 | 101 | /* |
| ... | ... | @@ -435,7 +435,13 @@ i3GEOF.legenda = { |
| 435 | 435 | ' <p class=paragrafo style="font-size:10px;">'+$trad(53,i3GEOF.legenda.dicionario)+'<br></p>'+ |
| 436 | 436 | ' <div id="i3GEOlegendacomboestilos" style="position:relative;top:0px;left:0px;text-align:left">'+ |
| 437 | 437 | ' </div>'+ |
| 438 | - ' <br><p class=paragrafo style="font-size:10px" ><input id=i3GEOlegendabotao10 size="35" type="button" value="'+$trad(54,i3GEOF.legenda.dicionario)+'"></p>'+ | |
| 438 | + " <input id=i3GEOlegendabotao11 class=executar size=10 type=button value='"+$trad(49,i3GEOF.legenda.dicionario)+"' />" + | |
| 439 | + " <input id=i3GEOlegendabotao12 class=executar size=14 type=button value='"+$trad(50,i3GEOF.legenda.dicionario)+"' />" + | |
| 440 | + " <input id=i3GEOlegendabotao13 class=executar size=8 type=button value='"+$trad(65,i3GEOF.legenda.dicionario)+"' />" + | |
| 441 | + " <input id=i3GEOlegendabotao14 class=executar size=8 type=button value='"+$trad(66,i3GEOF.legenda.dicionario)+"' />" + | |
| 442 | + ' <div id="i3GEOlegendaParametrosEstilos" style="position:relative;top:10px;left:0px;text-align:left">'+ | |
| 443 | + ' </div>'+ | |
| 444 | + ' <br><br><p class=paragrafo style="font-size:10px" ><input id=i3GEOlegendabotao10 size="35" type="button" value="'+$trad(54,i3GEOF.legenda.dicionario)+'"></p>'+ | |
| 439 | 445 | ' <div style="position:relative;top:0px;left:0px;text-align:left;" id="i3GEOlegendamostraEstilo">'+ |
| 440 | 446 | ' </div>'+ |
| 441 | 447 | ' <div style="position:relative;top:0px;left:0px;text-align:left;" id="i3GEOlegendasimbolos">'+ |
| ... | ... | @@ -635,7 +641,7 @@ i3GEOF.legenda = { |
| 635 | 641 | /* |
| 636 | 642 | Function: aplicaColourRamp |
| 637 | 643 | |
| 638 | - Aplica às classes da legenda as cores escolhidas no seletor de cores | |
| 644 | + Aplica �s classes da legenda as cores escolhidas no seletor de cores | |
| 639 | 645 | */ |
| 640 | 646 | aplicaColourRamp: function(){ |
| 641 | 647 | if($i("listaColourRamp").value != ""){ |
| ... | ... | @@ -1228,11 +1234,7 @@ i3GEOF.legenda = { |
| 1228 | 1234 | combo += sct; |
| 1229 | 1235 | } |
| 1230 | 1236 | combo += "</select>"; |
| 1231 | - botoes = "<input id=i3GEOlegendabotao11 class=executar size=10 type=buttom value='"+$trad(49,i3GEOF.legenda.dicionario)+"' />"; | |
| 1232 | - botoes += " <input id=i3GEOlegendabotao12 class=executar size=14 type=buttom value='"+$trad(50,i3GEOF.legenda.dicionario)+"' />"; | |
| 1233 | - botoes += " <input id=i3GEOlegendabotao13 class=executar size=8 type=buttom value='"+$trad(65,i3GEOF.legenda.dicionario)+"' />"; | |
| 1234 | - botoes += " <input id=i3GEOlegendabotao14 class=executar size=8 type=buttom value='"+$trad(66,i3GEOF.legenda.dicionario)+"' />"; | |
| 1235 | - $i("i3GEOlegendacomboestilos").innerHTML = "<table class='lista5'><tr><td><span class=paragrafo >"+$trad(82,i3GEOF.legenda.dicionario)+":</span></td><td>"+combo+"</td><td>"+botoes+"</td></tr></table> (pós adicionar ou excluir, aplique a alteração)<br><br>"; | |
| 1237 | + $i("i3GEOlegendacomboestilos").innerHTML = "<table class='lista5'><tr><td><span class=paragrafo >"+$trad(82,i3GEOF.legenda.dicionario)+":</span></td><td>"+combo+"</td><td></td></tr></table> (após adicionar ou excluir, aplique a alteração)<br><br>"; | |
| 1236 | 1238 | new YAHOO.widget.Button( |
| 1237 | 1239 | "i3GEOlegendabotao11",{onclick:{fn: function(){ |
| 1238 | 1240 | try{ |
| ... | ... | @@ -1342,7 +1344,7 @@ i3GEOF.legenda = { |
| 1342 | 1344 | "<tr><td style='text-align:left;'>"+$trad(90,i3GEOF.legenda.dicionario)+":</td><td>"+ |
| 1343 | 1345 | $inputText("","","i3GEOlegendasymbolname","",12,linha[5]) + |
| 1344 | 1346 | "</td><td></td></tr></table>"; |
| 1345 | - $i("i3GEOlegendacomboestilos").innerHTML += d; | |
| 1347 | + $i("i3GEOlegendaParametrosEstilos").innerHTML = d; | |
| 1346 | 1348 | p = i3GEO.configura.locaplic+"/classesphp/mapa_controle.php?g_sid="+i3GEO.configura.sid+"&funcao=editasimbolo&tipo="+tipoLayer+"&opcao=listaSimbolos&onclick=i3GEOF.legenda.aplicaSimbolo(this)"; |
| 1347 | 1349 | cp = new cpaint(); |
| 1348 | 1350 | cp.set_response_type("JSON"); | ... | ... |