Commit e018024f6a6114bb1431f942cb7e3d2e5126d7a3
1 parent
3f9f5830
Exists in
master
and in
7 other branches
-
Showing
2 changed files
with
8 additions
and
65 deletions
Show diff stats
ferramentas/gradecoord/index.js
1 | - | |
2 | -/*jslint plusplus:false,white:false,undef: false, rhino: true, onevar: true, evil: true */ | |
3 | - | |
4 | -/* | |
5 | -Title: Grade de coordenadas | |
6 | - | |
7 | -Cria um tema contendo a grade de coordenadas | |
8 | - | |
9 | -Veja: | |
10 | - | |
11 | -<i3GEO.mapa.dialogo.gradeCoord> | |
12 | - | |
13 | -Arquivo: | |
14 | - | |
15 | -i3geo/ferramentas/gradecoord/index.js.php | |
16 | - | |
17 | -Licenca: | |
18 | - | |
19 | -GPL2 | |
20 | - | |
21 | -i3Geo Interface Integrada de Ferramentas de Geoprocessamento para Internet | |
22 | - | |
23 | -Direitos Autorais Reservados (c) 2006 Ministério do Meio Ambiente Brasil | |
24 | -Desenvolvedor: Edmar Moretti edmar.moretti@gmail.com | |
25 | - | |
26 | -Este programa é software livre; você pode redistribuí-lo | |
27 | -e/ou modificá-lo sob os termos da Licença Pública Geral | |
28 | -GNU conforme publicada pela Free Software Foundation; | |
29 | - | |
30 | -Este programa é distribuído na expectativa de que seja útil, | |
31 | -porém, SEM NENHUMA GARANTIA; nem mesmo a garantia implícita | |
32 | -de COMERCIABILIDADE OU ADEQUAÇÃO A UMA FINALIDADE ESPECÍFICA. | |
33 | -Consulte a Licença Pública Geral do GNU para mais detalhes. | |
34 | -Você deve ter recebido uma cópia da Licença Pública Geral do | |
35 | -GNU junto com este programa; se não, escreva para a | |
36 | -Free Software Foundation, Inc., no endereço | |
37 | -59 Temple Street, Suite 330, Boston, MA 02111-1307 USA. | |
38 | -*/ | |
39 | 1 | if(typeof(i3GEOF) === 'undefined'){ |
40 | 2 | var i3GEOF = {}; |
41 | 3 | } |
... | ... | @@ -58,17 +20,9 @@ i3GEOF.gradeCoord = { |
58 | 20 | */ |
59 | 21 | mustacheHash : function() { |
60 | 22 | var dicionario = i3GEO.idioma.objetoIdioma(i3GEOF.gradeCoord.dicionario); |
61 | - dicionario["gradeCoordIntervalo"] = $inputText('','','i3GEOgradeCoordintervalo','',4,'2'); | |
62 | 23 | dicionario["locaplic"] = i3GEO.configura.locaplic; |
63 | 24 | dicionario["nao"] = $trad("x15"); |
64 | - | |
65 | 25 | dicionario["sim"] = $trad("x14"); |
66 | - dicionario["gradeCoordtamanhotexto"] = $inputText('','','i3GEOgradeCoordtamanhotexto','',3,'10'); | |
67 | - dicionario["gradeCoordmascara"] = $inputText('','','i3GEOgradeCoordmascara_i','',11,'-1,-1,-1'); | |
68 | - dicionario["gradeCoordshadowcolor"] = $inputText('','','i3GEOgradeCoordshadowcolor','',11,'-1,-1,-1'); | |
69 | - dicionario["gradeCoordshadowsizex"] = $inputText('','','i3GEOgradeCoordshadowsizex','',3,'0'); | |
70 | - dicionario["gradeCoordshadowsizey"] = $inputText('','','i3GEOgradeCoordshadowsizey','',3,'0'); | |
71 | - dicionario["gradeCoordcortexto"] = $inputText('','','i3GEOgradeCoordcortexto','',11,'0,0,0'); | |
72 | 26 | dicionario["asp"] = '"'; |
73 | 27 | return dicionario; |
74 | 28 | }, |
... | ... | @@ -134,13 +88,6 @@ i3GEOF.gradeCoord = { |
134 | 88 | i3GEOF.gradeCoord.inicia(divid); |
135 | 89 | }, |
136 | 90 | /* |
137 | - Function: corj | |
138 | - | |
139 | - Abre a janela para o usuário selecionar uma cor interativamente | |
140 | - */ | |
141 | - corj: function(obj) | |
142 | - {i3GEO.util.abreCor("",obj);}, | |
143 | - /* | |
144 | 91 | Function: executa |
145 | 92 | |
146 | 93 | Insere a grade no mapa | ... | ... |
ferramentas/legenda/index.js
... | ... | @@ -1394,36 +1394,31 @@ i3GEOF.legenda = |
1394 | 1394 | linha = linha.split("#"); |
1395 | 1395 | tipoLayer = linha[0]; |
1396 | 1396 | d = |
1397 | - "<table class=lista6 ><tr><td style='text-align:left;'>Cor do contorno:</td><td>" + "<div class='i3geoForm i3geoFormIconeEdita' >" | |
1397 | + "<table class=lista6 ><tr><td style='text-align:left;'>Cor do contorno:</td><td>" | |
1398 | + + "<div class='i3geoForm100 i3geoFormIconeAquarela' >" | |
1398 | 1399 | + "<input type=text value='" |
1399 | 1400 | + linha[2] |
1400 | 1401 | + "' id='i3GEOlegendaoutlinecolor' />" |
1401 | 1402 | + "</div>" |
1402 | - + "</td><td><img style=cursor:pointer src='" | |
1403 | - + i3GEO.configura.locaplic | |
1404 | - + "/imagens/aquarela.gif' onclick=\"i3GEOF.legenda.corj('i3GEOlegendaoutlinecolor')\" /></td></tr>" | |
1403 | + + "</td></tr>" | |
1405 | 1404 | + "<tr><td style='text-align:left;'>" |
1406 | 1405 | + $trad('corFundo', i3GEOF.legenda.dicionario) |
1407 | 1406 | + ":</td><td>" |
1408 | - + "<div class='i3geoForm i3geoFormIconeEdita' >" | |
1407 | + + "<div class='i3geoForm100 i3geoFormIconeAquarela' >" | |
1409 | 1408 | + "<input type=text value='" |
1410 | 1409 | + linha[3] |
1411 | 1410 | + "' id='i3GEOlegendabackgroundcolor' />" |
1412 | 1411 | + "</div>" |
1413 | - + "</td><td><img style=cursor:pointer src='" | |
1414 | - + i3GEO.configura.locaplic | |
1415 | - + "/imagens/aquarela.gif' onclick=\"i3GEOF.legenda.corj('i3GEOlegendabackgroundcolor')\" /></td></tr>" | |
1412 | + + "</td></tr>" | |
1416 | 1413 | + "<tr><td style='text-align:left;'>" |
1417 | 1414 | + $trad('corFrente', i3GEOF.legenda.dicionario) |
1418 | 1415 | + ":</td><td>" |
1419 | - + "<div class='i3geoForm i3geoFormIconeEdita' >" | |
1416 | + + "<div class='i3geoForm100 i3geoFormIconeAquarela' >" | |
1420 | 1417 | + "<input type=text value='" |
1421 | 1418 | + linha[4] |
1422 | 1419 | + "' id='i3GEOlegendacolor' />" |
1423 | 1420 | + "</div>" |
1424 | - + "</td><td><img style=cursor:pointer src='" | |
1425 | - + i3GEO.configura.locaplic | |
1426 | - + "/imagens/aquarela.gif' onclick=\"i3GEOF.legenda.corj('i3GEOlegendacolor')\" /></td></tr>" | |
1421 | + + "</td></tr>" | |
1427 | 1422 | + "<tr><td style='text-align:left;'>" |
1428 | 1423 | + $trad('tamanhoEspacamento', i3GEOF.legenda.dicionario) |
1429 | 1424 | + ":</td><td>" |
... | ... | @@ -1478,6 +1473,7 @@ i3GEOF.legenda = |
1478 | 1473 | + "' id='i3GEOlegendasymbolname' />" |
1479 | 1474 | + "</div>" + "</td><td></td></tr></table>"; |
1480 | 1475 | $i("i3GEOlegendaParametrosEstilos").innerHTML = d; |
1476 | + i3GEO.util.aplicaAquarela("i3GEOlegendaParametrosEstilos"); | |
1481 | 1477 | p = |
1482 | 1478 | i3GEO.configura.locaplic + "/classesphp/mapa_controle.php?g_sid=" + i3GEO.configura.sid + "&funcao=editasimbolo&tipo=" |
1483 | 1479 | + tipoLayer + "&opcao=listaSimbolos&onclick=i3GEOF.legenda.aplicaSimbolo(this)"; | ... | ... |