Commit f529cdf5ae6afc1cd54b5430c62047dadeb41edd
1 parent
e21e089c
Exists in
master
and in
7 other branches
--no commit message
Showing
1 changed file
with
12 additions
and
6 deletions
Show diff stats
ferramentas/legenda/index.js.php
... | ... | @@ -167,8 +167,6 @@ i3GEOF.legenda = { |
167 | 167 | "i3GEOlegendabotao4", |
168 | 168 | {onclick:{fn: i3GEOF.legenda.paleta}} |
169 | 169 | ); |
170 | - | |
171 | - | |
172 | 170 | new YAHOO.widget.Button( |
173 | 171 | "i3GEOlegendabotao5", |
174 | 172 | {onclick:{fn: i3GEOF.legenda.simbU}} |
... | ... | @@ -1046,7 +1044,7 @@ i3GEOF.legenda = { |
1046 | 1044 | botoes += " <input id=i3GEOlegendabotao12 class=executar size=14 type=buttom value='adicionar estilo' />"; |
1047 | 1045 | botoes += " <input id=i3GEOlegendabotao13 class=executar size=8 type=buttom value='sobe' />"; |
1048 | 1046 | botoes += " <input id=i3GEOlegendabotao14 class=executar size=8 type=buttom value='desce' /></p>"; |
1049 | - $i("i3GEOlegendacomboestilos").innerHTML = "<p class=paragrafo >Estilo em edição: "+combo+botoes+"<hr>"; | |
1047 | + $i("i3GEOlegendacomboestilos").innerHTML = "<p class=paragrafo >Estilo em edição: "+combo+botoes+" após adicionar ou excluir, aplique a alteração<hr>"; | |
1050 | 1048 | new YAHOO.widget.Button( |
1051 | 1049 | "i3GEOlegendabotao11",{onclick:{fn: function(){ |
1052 | 1050 | try{ |
... | ... | @@ -1138,16 +1136,22 @@ i3GEOF.legenda = { |
1138 | 1136 | "<tr><td style='text-align:left;'>Cor da frente:</td><td>"+ |
1139 | 1137 | $inputText("","","i3GEOlegendacolor","",12,linha[4]) + |
1140 | 1138 | "</td><td><img style=cursor:pointer src='"+i3GEO.configura.locaplic+"/imagens/aquarela.gif' onclick=\"i3GEOF.legenda.corj('i3GEOlegendacolor')\" /></td></tr>"+ |
1141 | - "<tr><td style='text-align:left;'>Tamanho:</td><td>"+ | |
1139 | + "<tr><td style='text-align:left;'>Tamanho/espaçamento:</td><td>"+ | |
1142 | 1140 | $inputText("","","i3GEOlegendasizes","",12,linha[6]) + |
1143 | 1141 | "</td><td></td></tr>" + |
1142 | + "<tr><td style='text-align:left;'>Espessura:</td><td>"+ | |
1143 | + $inputText("","","i3GEOlegendawidth","",12,linha[8]) + | |
1144 | + "</td><td></td></tr>" + | |
1145 | + "<tr><td style='text-align:left;'>Padrão de repetição:</td><td>"+ | |
1146 | + $inputText("","","i3GEOlegendapattern","",12,linha[9]) + | |
1147 | + "</td><td></td></tr>" + | |
1144 | 1148 | "<tr><td style='text-align:left;'>Opacidade:</td><td>"+ |
1145 | 1149 | $inputText("","","i3GEOlegendaopacidade","",3,linha[7]) + |
1146 | 1150 | "</td><td></td></tr>" + |
1147 | 1151 | "<tr><td style='text-align:left;'>Símbolo:</td><td>"+ |
1148 | 1152 | $inputText("","","i3GEOlegendasymbolname","",12,linha[5]) + |
1149 | 1153 | "</td><td></td></tr></table>"; |
1150 | - $i("i3GEOlegendamostraEstilo").innerHTML = "<p class=paragrafo ><b>Propriedades do símbolo </b>(utilize -1,-1,-1 para anular uma cor. A cor deve ser definida no formato vermelho,verde,azul)<br></p>"+d; | |
1154 | + $i("i3GEOlegendamostraEstilo").innerHTML = "<p class=paragrafo ><b>Propriedades do símbolo </b>(utilize -1,-1,-1 para anular uma cor. A cor deve ser definida no formato vermelho,verde,azul. Para criar linhas tracejadas utilize o símbolo '0' ou vazio e digite um padrão de repetição como por exemplo 2 10 2 10 )<br></p>"+d; | |
1151 | 1155 | p = i3GEO.configura.locaplic+"/classesphp/mapa_controle.php?g_sid="+i3GEO.configura.sid+"&funcao=editasimbolo&tipo="+tipoLayer+"&opcao=listaSimbolos&onclick=i3GEOF.legenda.aplicaSimbolo(this)"; |
1152 | 1156 | cp = new cpaint(); |
1153 | 1157 | cp.set_response_type("JSON"); |
... | ... | @@ -1203,6 +1207,8 @@ i3GEOF.legenda = { |
1203 | 1207 | valido = "nao", |
1204 | 1208 | n = simbolos.length, |
1205 | 1209 | size = $i("i3GEOlegendasizes").value, |
1210 | + width = $i("i3GEOlegendawidth").value, | |
1211 | + pattern = $i("i3GEOlegendapattern").value, | |
1206 | 1212 | opacidade = $i("i3GEOlegendaopacidade").value, |
1207 | 1213 | p,cp,fim; |
1208 | 1214 | for (i=0;i<n;i++){ |
... | ... | @@ -1214,7 +1220,7 @@ i3GEOF.legenda = { |
1214 | 1220 | //i3GEOF.legenda.aguarde.visibility = "hidden"; |
1215 | 1221 | //return; |
1216 | 1222 | } |
1217 | - p = i3GEO.configura.locaplic+"/classesphp/mapa_controle.php?g_sid="+i3GEO.configura.sid+"&funcao=editasimbolo&opcao=aplica&tema="+i3GEOF.legenda.tema+"&classe="+i3GEOF.legenda.classe+"&estilo="+i3GEOF.legenda.estilo+"&outlinecolor="+outlinecolor+"&backgroundcolor="+backgroundcolor+"&color="+color+"&symbolname="+symbolname+"&size="+size+"&opacidade="+opacidade; | |
1223 | + p = i3GEO.configura.locaplic+"/classesphp/mapa_controle.php?g_sid="+i3GEO.configura.sid+"&funcao=editasimbolo&opcao=aplica&tema="+i3GEOF.legenda.tema+"&classe="+i3GEOF.legenda.classe+"&estilo="+i3GEOF.legenda.estilo+"&outlinecolor="+outlinecolor+"&backgroundcolor="+backgroundcolor+"&color="+color+"&symbolname="+symbolname+"&width="+width+"&pattern="+pattern+"&size="+size+"&opacidade="+opacidade; | |
1218 | 1224 | cp = new cpaint(); |
1219 | 1225 | fim = function(){ |
1220 | 1226 | i3GEOF.legenda.aposAlterarLegenda(); | ... | ... |