Commit af332629a305de277bf07a1efba164996ae5e902
1 parent
95ca788a
Exists in
master
and in
7 other branches
-
Showing
3 changed files
with
6 additions
and
127 deletions
Show diff stats
ferramentas/pontosdistri/index.js
1 | - | |
2 | -/*jslint plusplus:false,white:false,undef: false, rhino: true, onevar: true, evil: true */ | |
3 | -/* | |
4 | -Title: Distribuição de pontos | |
5 | - | |
6 | -Adiciona um novo tema ao mapa em função da análise de distribuição de pontos. | |
7 | -O tema com os pontos deve existir no mapa atual. | |
8 | - | |
9 | -Veja: | |
10 | - | |
11 | -<i3GEO.analise.dialogo.pontosdistri> | |
12 | - | |
13 | -Arquivo: i3geo/ferramentas/pontosdistri/index.js.php | |
14 | - | |
15 | -About: Licença | |
16 | - | |
17 | -i3Geo Interface Integrada de Ferramentas de Geoprocessamento para Internet | |
18 | - | |
19 | -Direitos Autorais Reservados (c) 2006 Ministério do Meio Ambiente Brasil | |
20 | -Desenvolvedor: Edmar Moretti edmar.moretti@gmail.com | |
21 | - | |
22 | -Este programa é software livre; você pode redistribuí-lo | |
23 | -e/ou modificá-lo sob os termos da Licença Pública Geral | |
24 | -GNU conforme publicada pela Free Software Foundation; | |
25 | - | |
26 | -Este programa é distribuído na expectativa de que seja útil, | |
27 | -porém, SEM NENHUMA GARANTIA; nem mesmo a garantia implícita | |
28 | -de COMERCIABILIDADE OU ADEQUAÇÃO A UMA FINALIDADE ESPECÍFICA. | |
29 | -Consulte a Licença Pública Geral do GNU para mais detalhes. | |
30 | -Você deve ter recebido uma cópia da Licença Pública Geral do | |
31 | -GNU junto com este programa; se não, escreva para a | |
32 | -Free Software Foundation, Inc., no endereço | |
33 | -59 Temple Street, Suite 330, Boston, MA 02111-1307 USA. | |
34 | -*/ | |
35 | 1 | if(typeof(i3GEOF) === 'undefined'){ |
36 | 2 | var i3GEOF = {}; |
37 | 3 | } |
... | ... | @@ -46,31 +12,6 @@ i3GEOF.pontosDistri = { |
46 | 12 | */ |
47 | 13 | aguarde: "", |
48 | 14 | /* |
49 | - Para efeitos de compatibilidade antes da versão 4.7 que não tinha dicionário | |
50 | - */ | |
51 | - criaJanelaFlutuante: function(){ | |
52 | - i3GEOF.pontosDistri.iniciaDicionario(); | |
53 | - }, | |
54 | - /* | |
55 | - Function: iniciaDicionario | |
56 | - | |
57 | - Carrega o dicionário e chama a função que inicia a ferramenta | |
58 | - | |
59 | - O Javascript é carregado com o id i3GEOF.nomedaferramenta.dicionario_script | |
60 | - */ | |
61 | - iniciaDicionario: function(){ | |
62 | - if(typeof(i3GEOF.pontosDistri.dicionario) === 'undefined'){ | |
63 | - i3GEO.util.scriptTag( | |
64 | - i3GEO.configura.locaplic+"/ferramentas/pontosdistri/dicionario.js", | |
65 | - "i3GEOF.pontosDistri.iniciaJanelaFlutuante()", | |
66 | - "i3GEOF.pontosDistri.dicionario_script" | |
67 | - ); | |
68 | - } | |
69 | - else{ | |
70 | - i3GEOF.pontosDistri.iniciaJanelaFlutuante(); | |
71 | - } | |
72 | - }, | |
73 | - /* | |
74 | 15 | Function: inicia |
75 | 16 | |
76 | 17 | Inicia a ferramenta. É chamado por criaJanelaFlutuante | ... | ... |
ferramentas/toponimia/index.js
1 | - | |
2 | -/*jslint plusplus:false,white:false,undef: false, rhino: true, onevar: true, evil: true */ | |
3 | - | |
4 | -/* | |
5 | -Title: Toponímia de um tema | |
6 | - | |
7 | -Ativa a apresentação da toponímia de um tema. | |
8 | -A toponímia é definida em função das colunas existentes na tabela de atributos. | |
9 | - | |
10 | -Veja: | |
11 | - | |
12 | -<i3GEO.tema.dialogo.toponimia> | |
13 | - | |
14 | -Arquivo: | |
15 | - | |
16 | -i3geo/ferramentas/toponimia/index.js.php | |
17 | - | |
18 | -Licenca: | |
19 | - | |
20 | -GPL2 | |
21 | - | |
22 | -i3Geo Interface Integrada de Ferramentas de Geoprocessamento para Internet | |
23 | - | |
24 | -Direitos Autorais Reservados (c) 2006 Ministério do Meio Ambiente Brasil | |
25 | -Desenvolvedor: Edmar Moretti edmar.moretti@gmail.com | |
26 | - | |
27 | -Este programa é software livre; você pode redistribuí-lo | |
28 | -e/ou modificá-lo sob os termos da Licença Pública Geral | |
29 | -GNU conforme publicada pela Free Software Foundation; | |
30 | - | |
31 | -Este programa é distribuído na expectativa de que seja útil, | |
32 | -porém, SEM NENHUMA GARANTIA; nem mesmo a garantia implícita | |
33 | -de COMERCIABILIDADE OU ADEQUAÇÃO A UMA FINALIDADE ESPECÍFICA. | |
34 | -Consulte a Licença Pública Geral do GNU para mais detalhes. | |
35 | -Você deve ter recebido uma cópia da Licença Pública Geral do | |
36 | -GNU junto com este programa; se não, escreva para a | |
37 | -Free Software Foundation, Inc., no endereço | |
38 | -59 Temple Street, Suite 330, Boston, MA 02111-1307 USA. | |
39 | -*/ | |
40 | 1 | if(typeof(i3GEOF) === 'undefined'){ |
41 | 2 | var i3GEOF = {}; |
42 | 3 | } |
... | ... | @@ -81,25 +42,6 @@ i3GEOF.toponimia = { |
81 | 42 | return dicionario; |
82 | 43 | }, |
83 | 44 | /* |
84 | - Function: iniciaDicionario | |
85 | - | |
86 | - Carrega o dicionário e chama a função que inicia a ferramenta | |
87 | - | |
88 | - O Javascript é carregado com o id i3GEOF.nomedaferramenta.dicionario_script | |
89 | - */ | |
90 | - iniciaDicionario: function(){ | |
91 | - if(typeof(i3GEOF.toponimia.dicionario) === 'undefined'){ | |
92 | - i3GEO.util.scriptTag( | |
93 | - i3GEO.configura.locaplic+"/ferramentas/toponimia/dicionario.js", | |
94 | - "i3GEOF.toponimia.iniciaJanelaFlutuante()", | |
95 | - "i3GEOF.toponimia.dicionario_script" | |
96 | - ); | |
97 | - } | |
98 | - else{ | |
99 | - i3GEOF.toponimia.iniciaJanelaFlutuante(); | |
100 | - } | |
101 | - }, | |
102 | - /* | |
103 | 45 | Function: inicia |
104 | 46 | |
105 | 47 | Inicia a ferramenta. É chamado por criaJanelaFlutuante |
... | ... | @@ -146,6 +88,7 @@ i3GEOF.toponimia = { |
146 | 88 | "" |
147 | 89 | ); |
148 | 90 | i3GEO.util.comboFontes("i3GEOtoponimiaListaFonte","i3GEOtoponimiaDivListaFonte"); |
91 | + i3GEO.util.aplicaAquarela("i3GEOF.toponimia_corpo"); | |
149 | 92 | } |
150 | 93 | catch(erro){i3GEO.janela.tempoMsg(erro);} |
151 | 94 | }, | ... | ... |
ferramentas/toponimia/template_mst.html
... | ... | @@ -63,16 +63,14 @@ |
63 | 63 | |
64 | 64 | <br> |
65 | 65 | <p class='paragrafo'>{{{corTexto}}}:</p> |
66 | - <div class='i3geoForm100 i3geoFormIconeEdita' style='float: left;'> | |
66 | + <div class='i3geoForm100 i3geoFormIconeAquarela' style='float: left;'> | |
67 | 67 | <input type='text' value='0,0,0' id='i3GEOtoponimiafrente_i' /> |
68 | 68 | </div> |
69 | - <img alt='aquarela.gif' style='position: relative; left: 5px; top: 5px; cursor: pointer; float: none;' src='{{{locaplic}}}/imagens/aquarela.gif' onclick='i3GEOF.toponimia.corj({{{asp}}}i3GEOtoponimiafrente_i{{{asp}}})' /> | |
70 | 69 | <br> <br> <br> |
71 | 70 | <p class='paragrafo'>{{{corMascara}}}:</p> |
72 | - <div class='i3geoForm100 i3geoFormIconeEdita' style='float: left;'> | |
71 | + <div class='i3geoForm100 i3geoFormIconeAquarela' style='float: left;'> | |
73 | 72 | <input type='text' value='0,0,0' id='i3GEOtoponimiamascara_i' /> |
74 | 73 | </div> |
75 | - <img alt='aquarela.gif' style='position: relative; left: 5px; top: 5px; cursor: pointer; float: none;' src='{{{locaplic}}}/imagens/aquarela.gif' onclick='i3GEOF.toponimia.corj({{{asp}}}i3GEOtoponimiamascara_i{{{asp}}})' /> | |
76 | 74 | <br> <br> <br> |
77 | 75 | <p class='paragrafo'>{{{posicionamento}}}:</p> |
78 | 76 | <div class='styled-select' style='width: 100px;'> |
... | ... | @@ -92,16 +90,14 @@ |
92 | 90 | |
93 | 91 | <br> |
94 | 92 | <p class='paragrafo'>{{{corFundo}}}: |
95 | - <div class='i3geoForm100 i3geoFormIconeEdita' style='float: left;'> | |
93 | + <div class='i3geoForm100 i3geoFormIconeAquarela' style='float: left;'> | |
96 | 94 | <input type='text' value='0,0,0' id='i3GEOtoponimiafundoc_i' /> |
97 | 95 | </div> |
98 | - <img alt='aquarela.gif' style='position: relative; left: 5px; top: 5px; cursor: pointer; float: none;' src='{{{locaplic}}}/imagens/aquarela.gif' onclick='i3GEOF.toponimia.corj({{{asp}}}i3GEOtoponimiafundoc_i{{{asp}}})' /> | |
99 | 96 | <br> <br> <br> |
100 | 97 | <p class='paragrafo'>{{{corSombraFundo}}}: |
101 | - <div class='i3geoForm i3geoFormIconeEdita' style='float: left;'> | |
98 | + <div class='i3geoForm i3geoFormIconeAquarela' style='float: left;'> | |
102 | 99 | <input type='text' value='' id='i3GEOtoponimiasombra_i' /> |
103 | 100 | </div> |
104 | - <img alt='aquarela.gif' style='position: relative; left: 5px; top: 5px; cursor: pointer; float: none;' src='{{{locaplic}}}/imagens/aquarela.gif' onclick='i3GEOF.toponimia.corj({{{asp}}}i3GEOtoponimiasombra_i{{{asp}}})' /> | |
105 | 101 | <br> <br> <br> |
106 | 102 | <p class='paragrafo'>{{{deslocamentoSombraFundo}}} X:</p> |
107 | 103 | <div class='i3geoForm i3geoFormIconeEdita'> |
... | ... | @@ -114,10 +110,9 @@ |
114 | 110 | </div> |
115 | 111 | <br> |
116 | 112 | <p class='paragrafo'>{{{corSombra}}}:</p> |
117 | - <div class='i3geoForm100 i3geoFormIconeEdita' style='float: left;'> | |
113 | + <div class='i3geoForm100 i3geoFormIconeAquarela' style='float: left;'> | |
118 | 114 | <input type='text' value='' id='i3GEOtoponimiafrentes_i' /> |
119 | 115 | </div> |
120 | - <img alt='aquarela.gif' style='position: relative; left: 5px; top: 5px; cursor: pointer; float: none;' src='{{{locaplic}}}/imagens/aquarela.gif' onclick='i3GEOF.toponimia.corj({{{asp}}}i3GEOtoponimiafrentes_i{{{asp}}})' /> | |
121 | 116 | <br> <br> <br> |
122 | 117 | <p class='paragrafo'>{{{deslocamentoSombraFundo}}} X:</p> |
123 | 118 | <div class='i3geoForm i3geoFormIconeEdita'> | ... | ... |