Commit 64a479e8827bfed308228a03ebac055e0e58daf8

Authored by Edmar Moretti
1 parent 184c2d15

Inclusão do javascript filesave para uso nas operações de exportação do mapa. In…

…clusão de crossOrigin : "anonymous" na criação dos layers para permitir a exportação de imagens
css/default.css
... ... @@ -548,7 +548,7 @@ hr {
548 548 #i3GEOguiaMovelMolde {
549 549 background-color: white;
550 550 right: 0px;
551   - top: -5px;
  551 + top: 0px;
552 552 /*box-shadow: 0 2px 10px 0 #888888;*/
553 553 position: absolute;
554 554 display: none;
... ... @@ -568,8 +568,7 @@ hr {
568 568 overflow: auto;
569 569 display: none;
570 570 position: absolute;
571   - border-color: gray;
572   - border-width: 0px 0 0px 0px;
  571 + border-left: 1px solid #dbdbdb;
573 572 left: 0px;
574 573 height: 0px;
575 574 padding-left: 0px;
... ...
ferramentas/animacao/index.js
... ... @@ -12,9 +12,9 @@ i3GEOF.animacao = {
12 12 },
13 13 tempo: 1000,
14 14 start: function(){
15   - var i3f = i3GEOF.animacao,
  15 + var i3f = this,
16 16 p = i3f._parameters,
17   - t1 = i3GEO.configura.locaplic + "/ferramentas/animacao/template_mst.html";
  17 + t1 = i3GEO.configura.locaplic + "/ferramentas/" + p.namespace + "/template_mst.html";
18 18 if(p.mustache === ""){
19 19 $.get(t1, function(template) {
20 20 p.mustache = template;
... ...
ferramentas/excluirarvore/index.js
... ... @@ -5,26 +5,30 @@ i3GEOF.excluirarvore = {
5 5 renderFunction: i3GEO.janela.formModal,
6 6 _parameters : {
7 7 "mustache": "",
8   - "idContainer": "i3GEOexcluirarvoreContainer"
  8 + "idContainer": "i3GEOexcluirarvoreContainer",
  9 + "namespace": "excluirarvore",
  10 + "idlista": "i3GEOFexcluirarvoreLista"
9 11 },
10 12 start: function(iddiv){
11   - var p = i3GEOF.excluirarvore._parameters;
  13 + var i3f = this,
  14 + p = i3f._parameters;
12 15 if(p.mustache === ""){
13   - $.get(i3GEO.configura.locaplic + "/ferramentas/excluirarvore/template_mst.html", function(template) {
  16 + $.get(i3GEO.configura.locaplic + "/ferramentas/" + p.namespace +"/template_mst.html", function(template) {
14 17 p.mustache = template;
15   - i3GEOF.excluirarvore.html();
  18 + i3f.html();
16 19 });
17 20 return;
18 21 } else {
19   - i3GEOF.excluirarvore.html();
  22 + i3f.html();
20 23 }
21 24 },
22 25 html:function(){
23 26 var p = i3GEOF.excluirarvore._parameters;
24 27 var hash = i3GEO.idioma.objetoIdioma(i3GEOF.excluirarvore.dicionario);
25 28 hash["locaplic"] = i3GEO.configura.locaplic;
26   - hash["namespace"] = "excluirarvore";
  29 + hash["namespace"] = p.namespace;
27 30 hash["idContainer"] = p.idContainer;
  31 + hash["idlista"] = p.idlista;
28 32 i3GEO.janela.formModal({texto: Mustache.render(p.mustache, hash)});
29 33 i3GEOF.excluirarvore.renderFunction.call(this,{texto: Mustache.render(p.mustache, hash)});
30 34 i3GEOF.excluirarvore.lista();
... ...
ferramentas/excluirarvore/template_mst.html
1 1 <div id='{{idContainer}}' class='container-fluid container-tools'>
2   - <div id="i3GEOFexcluirarvoreLista"></div>
  2 + <div id="{{idlista}}"></div>
3 3 <button onclick="i3GEOF.excluirarvore.excluir()" class='btn btn-primary btn-xs btn-raised'>{{{removeMapa}}}</button>
4 4 </div>
5 5 \ No newline at end of file
... ...
ferramentas/imprimir/dependencias.php
... ... @@ -14,6 +14,7 @@ if(extension_loaded(&#39;zlib&#39;)){
14 14 ob_start('ob_gzhandler');
15 15 }
16 16 header("Content-type: text/javascript");
  17 +include("../../pacotes/filesaver/FileSaver.js");
17 18 include("index.js");
18 19 include("dicionario.js");
19 20 echo "\n";
... ...
ferramentas/imprimir/index.js
... ... @@ -22,14 +22,14 @@ Voc&amp;ecirc; deve ter recebido uma c&amp;oacute;pia da Licen&amp;ccedil;a P&amp;uacute;blica G
22 22 GNU junto com este programa; se n&atilde;o, escreva para a
23 23 Free Software Foundation, Inc., no endere&ccedil;o
24 24 59 Temple Street, Suite 330, Boston, MA 02111-1307 USA.
25   -*/
  25 + */
26 26 if(typeof(i3GEOF) === 'undefined'){
27   - var i3GEOF = {};
  27 + var i3GEOF = {};
28 28 }
29 29 /*
30 30 Classe: i3GEOF.imprimir
31 31  
32   -*/
  32 + */
33 33 i3GEOF.imprimir = {
34 34 /**
35 35 * Template no formato mustache. E preenchido na carga do javascript com o programa dependencias.php
... ... @@ -39,21 +39,21 @@ i3GEOF.imprimir = {
39 39 * Susbtitutos para o template
40 40 */
41 41 mustacheHash : function() {
42   - var dicionario = i3GEO.idioma.objetoIdioma(i3GEOF.imprimir.dicionario);
43   - dicionario["locaplic"] = i3GEO.configura.locaplic;
44   - return dicionario;
  42 + var dicionario = i3GEO.idioma.objetoIdioma(i3GEOF.imprimir.dicionario);
  43 + dicionario["locaplic"] = i3GEO.configura.locaplic;
  44 + return dicionario;
45 45 },
46 46 /*
47 47 Variavel: aguarde
48 48  
49 49 Estilo do objeto DOM com a imagem de aguarde existente no cabe&ccedil;alho da janela.
50   - */
  50 + */
51 51 aguarde: "",
52 52 /*
53 53 Para efeitos de compatibilidade antes da vers&atilde;o 4.7 que n&atilde;o tinha dicion&aacute;rio
54   - */
  54 + */
55 55 criaJanelaFlutuante: function(){
56   - i3GEOF.imprimir.iniciaDicionario();
  56 + i3GEOF.imprimir.iniciaDicionario();
57 57 },
58 58 /*
59 59 Function: iniciaDicionario
... ... @@ -61,18 +61,18 @@ i3GEOF.imprimir = {
61 61 Carrega o dicion&aacute;rio e chama a fun&ccedil;&atilde;o que inicia a ferramenta
62 62  
63 63 O Javascript &eacute; carregado com o id i3GEOF.nomedaferramenta.dicionario_script
64   - */
  64 + */
65 65 iniciaDicionario: function(){
66   - if(typeof(i3GEOF.imprimir.dicionario) === 'undefined'){
67   - i3GEO.util.scriptTag(
68   - i3GEO.configura.locaplic+"/ferramentas/imprimir/dicionario.js",
69   - "i3GEOF.imprimir.iniciaJanelaFlutuante()",
70   - "i3GEOF.imprimir.dicionario_script"
71   - );
72   - }
73   - else{
74   - i3GEOF.imprimir.iniciaJanelaFlutuante();
75   - }
  66 + if(typeof(i3GEOF.imprimir.dicionario) === 'undefined'){
  67 + i3GEO.util.scriptTag(
  68 + i3GEO.configura.locaplic+"/ferramentas/imprimir/dicionario.js",
  69 + "i3GEOF.imprimir.iniciaJanelaFlutuante()",
  70 + "i3GEOF.imprimir.dicionario_script"
  71 + );
  72 + }
  73 + else{
  74 + i3GEOF.imprimir.iniciaJanelaFlutuante();
  75 + }
76 76 },
77 77 /*
78 78 Function: inicia
... ... @@ -82,26 +82,26 @@ i3GEOF.imprimir = {
82 82 Parametro:
83 83  
84 84 iddiv {String} - id do div que receber&aacute; o conteudo HTML da ferramenta
85   - */
  85 + */
86 86 inicia: function(iddiv){
87   - if(i3GEOF.imprimir.MUSTACHE == ""){
88   - $.get(i3GEO.configura.locaplic + "/ferramentas/imprimir/template_mst.html", function(template) {
89   - i3GEOF.imprimir.MUSTACHE = template;
90   - i3GEOF.imprimir.inicia(iddiv);
91   - });
92   - return;
93   - }
94   - try{
95   - $i(iddiv).innerHTML = i3GEOF.imprimir.html();
96   -
97   - //i3GEO.janela.applyScrollBar(iddiv,".customScrollBar");
98   -
99   - var temp = function(retorno){
100   - g_legendaHTML = retorno.data.legenda;
101   - };
102   - i3GEO.php.criaLegendaHTML(temp,"","legendaseminput.htm");
103   - }
104   - catch(erro){i3GEO.janela.tempoMsg(erro);}
  87 + if(i3GEOF.imprimir.MUSTACHE == ""){
  88 + $.get(i3GEO.configura.locaplic + "/ferramentas/imprimir/template_mst.html", function(template) {
  89 + i3GEOF.imprimir.MUSTACHE = template;
  90 + i3GEOF.imprimir.inicia(iddiv);
  91 + });
  92 + return;
  93 + }
  94 + try{
  95 + $i(iddiv).innerHTML = i3GEOF.imprimir.html();
  96 +
  97 + //i3GEO.janela.applyScrollBar(iddiv,".customScrollBar");
  98 +
  99 + var temp = function(retorno){
  100 + g_legendaHTML = retorno.data.legenda;
  101 + };
  102 + i3GEO.php.criaLegendaHTML(temp,"","legendaseminput.htm");
  103 + }
  104 + catch(erro){i3GEO.janela.tempoMsg(erro);}
105 105  
106 106 },
107 107 /*
... ... @@ -112,50 +112,50 @@ i3GEOF.imprimir = {
112 112 Retorno:
113 113  
114 114 String com o c&oacute;digo html
115   - */
  115 + */
116 116 html:function(){
117   - var ins = Mustache.render(i3GEOF.imprimir.MUSTACHE, i3GEOF.imprimir.mustacheHash());
118   - return ins;
  117 + var ins = Mustache.render(i3GEOF.imprimir.MUSTACHE, i3GEOF.imprimir.mustacheHash());
  118 + return ins;
119 119 },
120 120 /*
121 121 Function: iniciaJanelaFlutuante
122 122  
123 123 Cria a janela flutuante para controle da ferramenta.
124   - */
  124 + */
125 125 iniciaJanelaFlutuante: function(){
126   - var janela,divid,titulo,cabecalho,minimiza;
127   - if ($i("i3GEOF.imprimir")) {
128   - return;
129   - }
130   - cabecalho = function(){};
131   - minimiza = function(){
132   - i3GEO.janela.minimiza("i3GEOF.imprimir",200);
133   - };
134   - //cria a janela flutuante
135   - titulo = "<span class='i3GeoTituloJanelaBsNolink' >" + $trad("d12") + "</span></div>";
136   - janela = i3GEO.janela.cria(
137   - "280px",
138   - "300px",
139   - "",
140   - "",
141   - "",
142   - titulo,
143   - "i3GEOF.imprimir",
144   - false,
145   - "hd",
146   - cabecalho,
147   - minimiza,
148   - "",
149   - true,
150   - "",
151   - "",
152   - "",
153   - "",
154   - "49"
155   - );
156   - divid = janela[2].id;
157   - i3GEOF.imprimir.aguarde = $i("i3GEOF.imprimir_imagemCabecalho").style;
158   - i3GEOF.imprimir.inicia(divid);
  126 + var janela,divid,titulo,cabecalho,minimiza;
  127 + if ($i("i3GEOF.imprimir")) {
  128 + return;
  129 + }
  130 + cabecalho = function(){};
  131 + minimiza = function(){
  132 + i3GEO.janela.minimiza("i3GEOF.imprimir",200);
  133 + };
  134 + //cria a janela flutuante
  135 + titulo = "<span class='i3GeoTituloJanelaBsNolink' >" + $trad("d12") + "</span></div>";
  136 + janela = i3GEO.janela.cria(
  137 + "280px",
  138 + "300px",
  139 + "",
  140 + "",
  141 + "",
  142 + titulo,
  143 + "i3GEOF.imprimir",
  144 + false,
  145 + "hd",
  146 + cabecalho,
  147 + minimiza,
  148 + "",
  149 + true,
  150 + "",
  151 + "",
  152 + "",
  153 + "",
  154 + "49"
  155 + );
  156 + divid = janela[2].id;
  157 + i3GEOF.imprimir.aguarde = $i("i3GEOF.imprimir_imagemCabecalho").style;
  158 + i3GEOF.imprimir.inicia(divid);
159 159 },
160 160 /*
161 161 Function: abreI
... ... @@ -167,27 +167,40 @@ i3GEOF.imprimir = {
167 167 obj {objeto INPUT}
168 168  
169 169 tipoAbertura {string} - (opcional) se for "interna" abre em uma janela interna do mapa
170   - */
  170 + */
171 171 abreI: function(url,tipoAbertura){
172   - var interf = i3GEO.Interface.ATUAL;
173   - if(i3GEO.Interface.openlayers.googleLike === true){
174   - interf = "googlemaps";
175   - }
176   - url = url+"?g_sid="+i3GEO.configura.sid+"&interface="+interf+"&mapexten="+i3GEO.util.extOSM2Geo(i3GEO.parametros.mapexten);
177   - var id = "imprimir"+Math.random();
178   - if(tipoAbertura){
179   - i3GEO.janela.cria(
180   - "350px",
181   - "350px",
182   - url,
183   - "",
184   - "",
185   - "<div class='i3GeoTituloJanela'>Arquivos</div>",
186   - id
187   - );
188   - }
189   - else{
190   - window.open(url);
191   - }
  172 + var interf = i3GEO.Interface.ATUAL;
  173 + if(i3GEO.Interface.openlayers.googleLike === true){
  174 + interf = "googlemaps";
  175 + }
  176 + url = url+"?g_sid="+i3GEO.configura.sid+"&interface="+interf+"&mapexten="+i3GEO.util.extOSM2Geo(i3GEO.parametros.mapexten);
  177 + var id = "imprimir"+Math.random();
  178 + if(tipoAbertura){
  179 + i3GEO.janela.cria(
  180 + "350px",
  181 + "350px",
  182 + url,
  183 + "",
  184 + "",
  185 + "<div class='i3GeoTituloJanela'>Arquivos</div>",
  186 + id
  187 + );
  188 + }
  189 + else{
  190 + window.open(url);
  191 + }
  192 + },
  193 + pngExport: function(){
  194 + i3geoOL.once('postcompose', function(event) {
  195 + var canvas = event.context.canvas;
  196 + if (navigator.msSaveBlob) {
  197 + navigator.msSaveBlob(canvas.msToBlob(), 'map.png');
  198 + } else {
  199 + canvas.toBlob(function(blob) {
  200 + saveAs(blob, 'map.png');
  201 + });
  202 + }
  203 + });
  204 + i3geoOL.renderSync();
192 205 }
193 206 };
... ...
ferramentas/imprimir/template_mst.html
... ... @@ -2,7 +2,7 @@
2 2 <h5>{{{escolha}}}</h5>
3 3 <a href='javascript:void(0)' onclick="i3GEOF.imprimir.abreI('{{{locaplic}}}/ferramentas/imprimir/a4lpaisagempdf.htm');" class='btn btn-primary btn-lg btn-block btn-raised'>A4 pdf</a>
4 4 <a href='javascript:void(0)' onclick="i3GEOF.imprimir.abreI('{{{locaplic}}}/ferramentas/imprimir/geotif.php','interna');" class='btn btn-primary btn-lg btn-block btn-raised'>Geo Tiff</a>
5   - <a href='javascript:void(0)' onclick="i3GEOF.imprimir.abreI('{{{locaplic}}}/ferramentas/imprimir/aggpng.php','interna');" class='btn btn-primary btn-lg btn-block btn-raised'>Agg/Png</a>
  5 + <a href='javascript:void(0)' onclick="i3GEOF.imprimir.pngExport();" class='btn btn-primary btn-lg btn-block btn-raised'>Png</a>
6 6 <a href='javascript:void(0)' onclick="i3GEOF.imprimir.abreI('{{{locaplic}}}/ferramentas/imprimir/jpeg.php','interna');" class='btn btn-primary btn-lg btn-block btn-raised'>JPEG</a>
7 7 <a href='javascript:void(0)' onclick="i3GEOF.imprimir.abreI('{{{locaplic}}}/ferramentas/imprimir/svg.php','interna');" class='btn btn-primary btn-lg btn-block btn-raised'>Svg - vetorial</a>
8 8 <h5>{{{config}}}</h5>
... ...
interface/config.php
... ... @@ -32,7 +32,8 @@ i3GEO.janela.ativaAlerta();
32 32 preview : "<img class='img-responsive img-thumbnail' src='http://server.arcgisonline.com/ArcGIS/rest/services/NatGeo_World_Map/MapServer/export?F=image&FORMAT=PNG32&TRANSPARENT=true&SIZE=256,256&BBOX=-67.5,-22.5,-45,0&BBOXSR=4326&IMAGESR=4326&DPI=90' >",
33 33 source : new ol.source.TileArcGISRest(
34 34 {
35   - url : "http://server.arcgisonline.com/ArcGIS/rest/services/NatGeo_World_Map/MapServer",
  35 + crossOrigin : "anonymous",
  36 + url : "http://server.arcgisonline.com/ArcGIS/rest/services/NatGeo_World_Map/MapServer",
36 37 attributions : [ new ol.Attribution(
37 38 {
38 39 html : 'Tiles &copy; <a href="http://server.arcgisonline.com/ArcGIS/rest/services/NatGeo_World_Map/MapServer">ArcGIS</a>'
... ... @@ -48,7 +49,8 @@ i3GEO.janela.ativaAlerta();
48 49 preview : "<img class='img-responsive img-thumbnail' src='http://server.arcgisonline.com/ArcGIS/rest/services/Ocean_Basemap/MapServer/export?F=image&FORMAT=PNG32&TRANSPARENT=true&SIZE=256,256&BBOX=-67.5,-22.5,-45,0&BBOXSR=4326&IMAGESR=4326&DPI=90' >",
49 50 source : new ol.source.TileArcGISRest(
50 51 {
51   - url : "http://server.arcgisonline.com/ArcGIS/rest/services/Ocean_Basemap/MapServer",
  52 + crossOrigin : "anonymous",
  53 + url : "http://server.arcgisonline.com/ArcGIS/rest/services/Ocean_Basemap/MapServer",
52 54 attributions : [ new ol.Attribution(
53 55 {
54 56 html : 'Tiles &copy; <a href="http://server.arcgisonline.com/ArcGIS/rest/services/Ocean_Basemap/MapServer">ArcGIS</a>'
... ... @@ -64,7 +66,8 @@ i3GEO.janela.ativaAlerta();
64 66 preview : "<img class='img-responsive img-thumbnail' src='http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_Imagery_World_2D/MapServer/export?F=image&FORMAT=PNG32&TRANSPARENT=true&SIZE=256,256&BBOX=-67.5,-22.5,-45,0&BBOXSR=4326&IMAGESR=4326&DPI=90' >",
65 67 source : new ol.source.TileArcGISRest(
66 68 {
67   - url : "http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_Imagery_World_2D/MapServer",
  69 + crossOrigin : "anonymous",
  70 + url : "http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_Imagery_World_2D/MapServer",
68 71 attributions : [ new ol.Attribution(
69 72 {
70 73 html : 'Tiles &copy; <a href="http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_Imagery_World_2D/MapServer">ArcGIS</a>'
... ... @@ -80,7 +83,8 @@ i3GEO.janela.ativaAlerta();
80 83 preview : "<img class='img-responsive img-thumbnail' src='http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer/export?F=image&FORMAT=PNG32&TRANSPARENT=true&SIZE=256,256&BBOX=-67.5,-22.5,-45,0&BBOXSR=4326&IMAGESR=4326&DPI=90' >",
81 84 source : new ol.source.TileArcGISRest(
82 85 {
83   - url : "http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer",
  86 + crossOrigin : "anonymous",
  87 + url : "http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer",
84 88 attributions : [ new ol.Attribution(
85 89 {
86 90 html : 'Tiles &copy; <a href="http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer">ArcGIS</a>'
... ... @@ -101,7 +105,8 @@ i3GEO.janela.ativaAlerta();
101 105 'layers' : "baseraster",
102 106 'srs' : "EPSG:4326",
103 107 'format' : "image/png"
104   - }
  108 + },
  109 + crossOrigin : "anonymous"
105 110 })
106 111 });
107 112 i3GEO.Interface.openlayers.LAYERSADICIONAIS = [ eng, oce, ims, wsm,
... ...
interface/inc/barradeicones.php
... ... @@ -37,7 +37,7 @@
37 37 <button title="GPS" onclick="i3GEO.navega.geolocal.start()" style="float: left; cursor: pointer;">
38 38 <i class="material-icons">gps_fixed</i>
39 39 </button>
40   - <button class="hidden-xs <?php echo $configInc["tipo"] == "OL" ? "hidden":""; ?> toggle" title="{{{d18t}}}" onclick="i3GEO.navega.lente.start()" style="float: left; cursor: pointer; display: none;">
  40 + <button class="hidden-xs toggle" title="{{{d18t}}}" onclick="i3GEO.navega.lente.start()" style="float: left; cursor: pointer; display: none;">
41 41 <i class="material-icons">loupe</i>
42 42 </button>
43 43 </div>
44 44 \ No newline at end of file
... ...
interface/inc/guiacamadas.php
... ... @@ -35,7 +35,7 @@
35 35 <li><a onclick="i3GEO.mapa.dialogo.imprimir()" href="javascript:void(0)">
36 36 <span class="glyphicon glyphicon-print"></span> {{{d12}}}
37 37 </a></li>
38   - <li><a onclick="i3GEO.mapa.limpasel()" href="javascript:void(0)">
  38 + <li><a onclick="i3GEO.mapa.limpasel({verifica:true})" href="javascript:void(0)">
39 39 <span class="glyphicon glyphicon-erase"></span> {{{t4}}}
40 40 </a></li>
41 41 </ul>
... ...
js/arvoredecamadas.js
... ... @@ -193,8 +193,20 @@ i3GEO.arvoreDeCamadas =
193 193 $(temp).html(t);
194 194 }
195 195 },
196   - verifyFilter: function(camada) {
197   - var f = i3GEO.arvoreDeCamadas.FILTRO;
  196 + existeCamadaSel: function({msg = true}={}){
  197 + var sel = false;
  198 + $.each(i3GEO.arvoreDeCamadas.CAMADAS, function(i,v){
  199 + sel = v.sel.toLowerCase() !== "sim" ? false : true;
  200 + });
  201 + if(msg == true && sel == false){
  202 + i3GEO.janela.snackBar({content: $trad("nenhumaSel")});
  203 + }
  204 + return sel;
  205 + },
  206 + verifyFilter: function(camada,f) {
  207 + if(!f){
  208 + f = i3GEO.arvoreDeCamadas.FILTRO;
  209 + }
198 210 if(f == ""){
199 211 return true;
200 212 }
... ...
js/catalogoInde.js
... ... @@ -106,7 +106,7 @@ i3GEO.catalogoInde = {
106 106  
107 107 var lista = function(dados){
108 108 if(i3GEO.catalogoInde.DADOS == ""){
109   - i3GEO.janela.tempoMsg($trad("indeOk"));
  109 + i3GEO.janela.snackBar({content:$trad("indeOk")})
110 110 }
111 111 i3GEO.catalogoInde.DADOS = dados;
112 112 var clone = [],
... ...
js/compactados/arvoredecamadas_compacto.js
1   -if(typeof(i3GEO)==='undefined'){var i3GEO={}}i3GEO.arvoreDeCamadas={FUNCOES:{farolescala:true,excluir:true,sobe:true,desce:true,fonte:true,zoomtema:true,compartilhar:true,opacidade:true,mudanome:true,procurar:true,toponimia:true,etiquetas:true,filtrar:true,tabela:true,grafico:true,editorlegenda:true,destacar:true,cortina:true,sql:true,comentar:true,temporizador:true,wms:true,tme:true,copia:true,storymap:true,animagif:true},CAMADAS:"",FILTRO:"",CAMADASINDEXADAS:[],config:{"idOnde":"listaTemas","aposIniciar":"","templateCamada":"templates/camada.html","idListaFundo":"","templateCamadaFundo":"templates/camadaFundo.html","idListaLayersGr":"","templateCamadaGr":"templates/camadaGr.html","verificaAbrangencia":""},carregaTemplates:function(){var t1=i3GEO.arvoreDeCamadas.config.templateCamada,t2=i3GEO.arvoreDeCamadas.config.templateCamadaFundo,t3=i3GEO.arvoreDeCamadas.config.templateCamadaGr;$.ajax(t1).always(function(r1){i3GEO.template.camada=r1;if(r1.status){i3GEO.template.camada=""}$.ajax(t2).always(function(r2){i3GEO.template.camadaFundo=r2;if(r2.status){i3GEO.template.camadaFundo=""}$.ajax(t3).always(function(r3){i3GEO.template.camadaGr=r3;if(r3.status){i3GEO.template.camadaGr=""}i3GEO.arvoreDeCamadas.inicia()})})})},inicia:function(config){if(config){$.each(config,function(i,v){if(v!=undefined){i3GEO.arvoreDeCamadas.config[i]=v}})}if(!i3GEO.template.camada||!i3GEO.template.camadaFundo){i3GEO.arvoreDeCamadas.carregaTemplates();return}else{config=i3GEO.arvoreDeCamadas.config;var novoel,temp;i3GEO.arvoreDeCamadas.atualiza(i3GEO.arvoreDeCamadas.CAMADAS);if(!$i(config.idOnde)){return}if(config.verificaAbrangencia!=""){i3GEO.eventos.adicionaEventos("NAVEGAMAPA",["i3GEO.arvoreDeCamadas.verificaAbrangenciaTemas()"])}if(config.aposIniciar!==""){if(jQuery.isFunction(config.aposIniciar)){config.aposIniciar.call()}}}},adicionaLayersGr:function(){if(i3GEO.Interface.ATUAL!="openlayers"){return}var temp=$i(i3GEO.arvoreDeCamadas.config.idListaLayersGr),layers=i3geoOL.getLayersGr(),lista=[],camada={};if(temp){$.each(layers,function(i,layer){var p=layer.getProperties();camada={...i3GEO.idioma.OBJETOIDIOMA};camada.name=p.name;camada.tema=p.title;camada.locaplic=i3GEO.configura.locaplic;if(layer.getVisible()==true){camada.checked="checked"}else{camada.checked=""}lista.push(camada)});var t=Mustache.render("{{#data}}"+i3GEO.template.camadaGr+"{{/data}}",{"data":lista});$(temp).html(t)}},verifyFilter:function(camada){var f=i3GEO.arvoreDeCamadas.FILTRO;if(f==""){return true}var mostra=true;if(f==="desligados"&&camada.status!=0){mostra=false}if(f==="ligados"&&camada.status==0){mostra=false}if(f==="selecionados"&&camada.sel.toLowerCase()!=="sim"){mostra=false}if(f==="download"&&camada.download.toLowerCase()!=="sim"){mostra=false}if(f==="wms"&&camada.connectiontype*1!==7){mostra=false}if(f==="raster"&&camada.type*1!==3){mostra=false}if(f==="toponimia"&&camada.type*1!==4){mostra=false}return mostra},atualiza:function(temas,forca){if(i3GEO.template.camada==undefined||i3GEO.template.camada==false){return}if(arguments.length===0){temas=i3GEO.arvoreDeCamadas.CAMADAS;i3GEO.arvoreDeCamadas.CAMADAS="";forca=false}var clone=[],camada={},config=i3GEO.arvoreDeCamadas.config,temp;temp=$i(config.idOnde);if(temp){if(forca===true){temp.innerHTML=""}if(temp.innerHTML!==""){if(i3GEO.arvoreDeCamadas.comparaTemas(temas,i3GEO.arvoreDeCamadas.CAMADAS)){i3GEO.arvoreDeCamadas.CAMADAS=temas;return}}}i3GEO.arvoreDeCamadas.CAMADAS=temas;i3GEO.arvoreDeCamadas.CAMADASINDEXADAS=[];$.each(i3GEO.arvoreDeCamadas.CAMADAS,function(i,tema){var mostra=true;i3GEO.pluginI3geo.aplicaPropriedades(tema);camada={};camada.name=tema.name;camada.tema=tema.tema;if(tema.status!=0){camada.checked="checked"}else{camada.checked=""}if(tema.sel&&tema.sel.toLowerCase()==="sim"){camada.classeCss="camadaSelecionada"}else{camada.classeCss=""}if(temp&&i3GEO.arvoreDeCamadas.FILTRO!==""){mostra=i3GEO.arvoreDeCamadas.verifyFilter(tema)}if(temp&&mostra==true){i3GEO.arvoreDeCamadas.montaIconesTema(tema,camada);i3GEO.arvoreDeCamadas.montaOpcoesTema(tema,camada);if(tema.iconetema!==""){camada.iconetema="<img class='i3GEOiconeTema' src='"+tema.iconetema+"' />"}if(tema.maxscaledenom&&(tema.maxscaledenom*1>i3GEO.parametros.mapscale*1&&tema.minscaledenom*1<i3GEO.parametros.mapscale*1)){camada.rangeScale="out";camada.rangeScaleMsg=$trad("rangeScaleMsg")}else{camada.rangeScale="in"}if(tema.escondido.toLowerCase()!=="sim"){clone.push(camada)}}i3GEO.arvoreDeCamadas.CAMADASINDEXADAS[camada.name]=tema});if(temp){var t=Mustache.render("{{#data}}"+i3GEO.template.camada+"{{/data}}",{"data":clone});$("#"+config.idOnde).html(t);$("#"+config.idOnde).sortable({scroll:false,axis:"y",revert:true,update:function(event,ui){var els=i3GEO.arvoreDeCamadas.listaLigadosDesligadosArvore(config.idOnde);var lista=els[2].join(",");var temp=function(retorno){i3GEO.atualiza(retorno);if(i3GEO.Interface.ATUAL==="openlayers"){i3GEO.Interface.openlayers.ordenaLayers()}i3GEO.arvoreDeCamadas.atualiza(i3GEO.arvoreDeCamadas.CAMADAS,true)};i3GEO.php.reordenatemas(temp,lista)}})}i3GEO.arvoreDeCamadas.adicionaCamadasDeFundo(config);i3GEO.arvoreDeCamadas.adicionaLayersGr();i3GEO.eventos.executaEventos(i3GEO.eventos.ATUALIZAARVORECAMADAS)},adicionaCamadasDeFundo:function(config){if(i3GEO.Interface.ATUAL=="openlayers"){var temp=temp=$i(config.idOnde);if(temp&&$("#"+config.idListaFundo).html()==""){clone=[];$.each(i3GEO.Interface.openlayers.LAYERSADICIONAIS,function(i,layer){camada={};temp=layer.getProperties();camada.name="camadaDeFundo";if(temp.preview){camada.preview=temp.preview}else{camada.preview=""}camada.value=temp.name;camada.title=temp.title;if(temp.visible===true){camada.checked="checked"}else{camada.checked=""}clone.push(camada)});var t=Mustache.to_html("{{#data}}"+i3GEO.template.camadaFundo+"{{/data}}",{"data":clone});$("#"+config.idListaFundo).html(t);$("#"+config.idListaFundo+" label").tooltip({animation:false,trigger:"hover",placement:"auto",html:true,template:"<div class='tooltip ' ><div class='tooltip-inner'></div></div>"});$.each(clone,function(i,v){var slide=$i("slideFundo"+v.value);noUiSlider.create(slide,{connect:"lower",start:[100],range:{'min':[0],'max':[100]},name:v.value});slide.noUiSlider.on('update',function(values,handle){i3GEO.Interface.aplicaOpacidade(values[0]*1,this.options.name)})})}}},ligaDesligaTemas:function(lista,status){},atualizaLegenda:function(idtema){},montaTextoTema:function(tema){if(i3GEO.tema.TEMPORIZADORESID[tema.name]==undefined&&tema.temporizador!=""){i3GEO.tema.temporizador(tema.name,tema.temporizador)}return(html)},montaOpcoesTema:function(temaObj,camada){vetor="hidden";if((temaObj.type<3)&&(temaObj.connectiontype!==7)){vetor=""}camada.isnotvetor=vetor;camada.ferramentasTexto=$trad("u15a");camada.ferramentasTitle=$trad("ferramCamadas");camada.removerTexto=$trad("t12");camada.removerTitle=$trad("t12a");camada.sobeTexto=$trad("t13");camada.sobeTitle=$trad("t14");camada.desceTexto=$trad("t15");camada.desceTitle=$trad("t16");camada.tabelaTexto=$trad("tabela");camada.tabelaTitle=$trad("t30");camada.limpaselTexto=$trad("t4");camada.zoomSelTexto=$trad("t4a");camada.linkTexto=$trad("a9");camada.editorlegendaTexto=$trad("t33");camada.procurarTexto=$trad("t23");camada.topoTexto=$trad("t25");camada.etiquetasTexto=$trad("t27");camada.filtroTexto=$trad("t29");camada.selecaoTexto=$trad("x51");camada.graficoTexto=$trad("t37");camada.wmsTexto="WMS-OGC";camada.tmeTexto=$trad("t49");camada.topoTexto=$trad("x56");camada.nomeCamada=camada.tema;camada.opaCamada=camada.transparency;camada.editorlegendaTexto=$trad("t33");camada.coresTexto=$trad("esquemadecores");camada.copiaTexto=$trad("copiaCamada");camada.contornoTexto=$trad("contorno");camada.opacidade=$trad("t20");camada.cortina=$trad("t42");camada.opaCamada=temaObj.transparency;if(temaObj.zoomtema.toLowerCase()==="sim"){camada.zoomtemaTexto=$trad("t17");camada.zoomtemaTitle=$trad("t18")}else{camada.zoomtema="hidden"}if(temaObj.sel.toLowerCase()==="sim"){camada.selTexto=$trad("t5");camada.selTitle=$trad("t4")}else{camada.sel="hidden"}if(temaObj.sel.toLowerCase()==="sim"){camada.zoomSelTexto=$trad("t4a")}else{camada.zoomsel="hidden"}if(temaObj.link_tema!=""&&temaObj.features.toLowerCase()!=="sim"&&temaObj.name!="mundo"){camada.linkTexto=$trad("a9");camada.linkTitle=$trad("a9")}else{camada.link="hidden"}if(temaObj.download.toLowerCase()==="sim"||temaObj.download===""&&temaObj.features.toLowerCase()!=="sim"){camada.downloadTexto="Download";camada.downloadTitle=$trad("t6")}else{camada.download="hidden"}if(temaObj.permiteogc.toLowerCase()==="sim"){camada.permiteogcTexto="OGC"}else{camada.permiteogc="hidden"}return camada},montaIconesTema:function(temaObj,camada){camada.farol="hidden";if(temaObj.escala!=0){if(temaObj.escala*1<i3GEO.parametros.mapscale*1){camada.farol="green";camada.farolTitle=$trad("t9")}if(temaObj.escala*1>i3GEO.parametros.mapscale*1){camada.farol="red";camada.farolTitle=$trad("t10")}if(temaObj.escala===0){camada.farol="yellow";camada.farolTitle=$trad("t11")}}if(temaObj.contextoescala.toLowerCase()==="sim"){camada.contextoescala="";camada.contextoescalaTitle=$trad("t36")}else{camada.contextoescala="hidden"}if(temaObj.plugini3geo){var iconePlugin=i3GEO.pluginI3geo.clickArvoreDeCamadas(temaObj);if(iconePlugin!=false){camada.iconePlugin=iconePlugin}}if(temaObj.ferramentas){var html="",fer="",fers=temaObj.ferramentas;for(fer in fers){if(i3GEO.configura.ferramentasLayers[fer]){html+=i3GEO.configura.ferramentasLayers[fer].icone(temaObj.name)}}camada.iconeFerramentas=html}return camada},atualizaFarol:function(mapscale){var cor,farol,l,ltema,escala,iu=i3GEO.util,im=i3GEO.configura.locaplic+"/imagens/",camadas=i3GEO.arvoreDeCamadas.CAMADAS;farol="maisamarelo.png";cor="yellow";l=camadas.length-1;if(l>=0){do{ltema=camadas[l];escala=ltema.escala;if(escala!=0){if(escala*1<mapscale*1){farol="maisverde.png";cor="green"}if(escala*1>mapscale*1){farol="maisvermelho.png";cor="red"}if(escala*1===0){farol="maisamarelo.png";cor="yellow"}$("#farol"+ltema.name).css("color",cor)}}while(l--)}},aplicaTemas:function(tipo){if(arguments.length===0){tipo="normal"}var t="",temp;if(tipo==="normal"){t=i3GEO.arvoreDeCamadas.listaLigadosDesligados("mantem")}if(tipo==="ligartodos"){t=i3GEO.arvoreDeCamadas.listaLigadosDesligados("marca")}if(tipo==="desligartodos"){t=i3GEO.arvoreDeCamadas.listaLigadosDesligados("desmarca")}temp=function(){i3GEO.atualiza();i3GEO.janela.fechaAguarde("redesenha")};if(tipo==="normal"){i3GEO.php.ligatemas(temp,t[1].toString(),t[0].toString());return}if(tipo==="ligartodos"){i3GEO.php.ligatemas(temp,"",t[2].toString());return}if(tipo==="desligartodos"){i3GEO.php.ligatemas(temp,t[2].toString(),"")}},listaLigadosDesligados:function(){if(!i3GEO.arvoreDeCamadas.CAMADAS){return[[],[],[],[]]}var i=0,filtrados=[],ligados=[],desligados=[],todos=[],camada,camadas=i3GEO.arvoreDeCamadas.CAMADAS;i=camadas.length;while(i>0){i-=1;camada=camadas[i];todos.push(camada["name"]);if(parseInt(camada["status"],10)===2){ligados.push(camada["name"])}else{desligados.push(camada["name"])}if(i3GEO.arvoreDeCamadas.verifyFilter(camada)==true){filtrados.push(camada["name"])}}return([ligados,desligados,todos,filtrados])},listaLigadosDesligadosArvore:function(onde){if(!i3GEO.arvoreDeCamadas.CAMADAS){return[[],[],[]]}var n,i,ligados=[],desligados=[],todos=[],camada,camadas;camadas=$i(onde).getElementsByTagName("input");n=camadas.length;for(i=0;i<n;i++){camada=camadas[i];todos.push(camada.value);if(camada.checked==true){ligados.push(camada["name"])}else{desligados.push(camada["name"])}}return([ligados,desligados,todos])},capturaCheckBox:function(tema){var onde=$i(i3GEO.arvoreDeCamadas.config.idOnde),camadas,n,i;if(onde){camadas=onde.getElementsByTagName("input");n=camadas.length;for(i=0;i<n;i++){if(camadas[i].name==tema){return camadas[i]}}}return false},comparaTemas:function(novo,atual){try{var novon=novo.length,i;if(novon!==atual.length){return(false)}for(i=0;i<novon;i+=1){if(novo[i].name!==atual[i].name){return(false)}if(novo[i].tema!==atual[i].tema){return(false)}if(novo[i].sel!==atual[i].sel){return(false)}if(novo[i].status!==atual[i].status){return(false)}}return(true)}catch(e){return true}},pegaTema:function(valor,camadas,parametro){var i;if(!camadas||camadas==""){camadas=i3GEO.arvoreDeCamadas.CAMADAS}else{camadas=i3GEO.arvoreDeCamadas.converteChaveValor2normal(camadas)}if(!parametro){parametro="name"}i=camadas.length;while(i>0){i-=1;if(camadas[i][parametro]===valor){return camadas[i]}}return""},filtraCamadas:function(propriedade,valor,operador,camadas){if(!camadas){camadas=i3GEO.arvoreDeCamadas.CAMADAS}var resultado,i=0,temp,nelementos=camadas.length,ltema;resultado=[];if(nelementos>0){do{ltema=camadas[i];if(ltema.escondido.toLowerCase()!=="sim"){temp=ltema[propriedade];if(operador==="igual"){if(temp+"".toLowerCase()==valor+"".toLowerCase()){resultado.push(ltema)}}if(operador==="diferente"){if(temp+"".toLowerCase()!==valor+"".toLowerCase()){resultado.push(ltema)}}if(operador==="menor"){if(temp+"".toLowerCase()<valor+"".toLowerCase()){resultado.push(ltema)}}}i+=1}while(i<nelementos)}return resultado},alteraPropCamadas:function(propriedade,valor,camada){var i=0,nelementos=i3GEO.arvoreDeCamadas.CAMADAS.length,ltema;if(nelementos>0){do{ltema=i3GEO.arvoreDeCamadas.CAMADAS[i];if(ltema.name===camada){ltema[propriedade]=valor}i+=1}while(i<nelementos)}},verificaAbrangenciaTemas:function(){var nos=$("#"+i3GEO.arvoreDeCamadas.config.idOnde).find("input");$.each(nos,function(i,no){var ltema=i3GEO.arvoreDeCamadas.CAMADASINDEXADAS[no.value];var temp=ltema.exttema;if(temp!==""&&temp!=undefined){if(i3GEO.util.intersectaBox(temp,i3GEO.parametros.mapexten)===false){$(no).addClass(i3GEO.arvoreDeCamadas.config.verificaAbrangencia)}else{$(no).removeClass(i3GEO.arvoreDeCamadas.config.verificaAbrangencia)}}})},verificaAplicaExtensao:function(){var i=0,temp="",nelementos=i3GEO.arvoreDeCamadas.CAMADAS.length,ltema;try{if(nelementos>0){do{ltema=i3GEO.arvoreDeCamadas.CAMADAS[i];if(ltema.aplicaextensao.toLowerCase()==="sim"){temp=ltema.name}i+=1}while(i<nelementos)}}catch(e){return""}return temp},converteChaveValor2normal:function(obj){if(obj.chaves){var i,tema,j,t,chaves=obj.chaves,temas=obj.valores,ntemas=temas.length,nchaves=chaves.length,novo=[];for(i=0;i<ntemas;i++){tema=temas[i];t={};for(j=0;j<nchaves;j++){t[chaves[j]]=tema[j]}novo.push(t)}return novo}else{return obj}},registaCamadas:function(obj){var i;obj=i3GEO.arvoreDeCamadas.converteChaveValor2normal(obj);i3GEO.arvoreDeCamadas.CAMADAS=obj;i3GEO.arvoreDeCamadas.CAMADASINDEXADAS=[];$.each(i3GEO.arvoreDeCamadas.CAMADAS,function(i,tema){i3GEO.arvoreDeCamadas.CAMADASINDEXADAS[tema.name]=tema})},dialogo:{filtro:function(){i3GEO.util.dialogoFerramenta("i3GEO.arvoreDeCamadas.dialogo.filtro()","filtroarvore","filtroarvore","dependencias.php","i3GEOF.filtroarvore.start()")},excluir:function(){i3GEO.util.dialogoFerramenta("i3GEO.arvoreDeCamadas.dialogo.excluir()","excluirarvore","excluirarvore","dependencias.php","i3GEOF.excluirarvore.start()")}}};
2 1 \ No newline at end of file
  2 +if(typeof(i3GEO)==='undefined'){var i3GEO={}}i3GEO.arvoreDeCamadas={FUNCOES:{farolescala:true,excluir:true,sobe:true,desce:true,fonte:true,zoomtema:true,compartilhar:true,opacidade:true,mudanome:true,procurar:true,toponimia:true,etiquetas:true,filtrar:true,tabela:true,grafico:true,editorlegenda:true,destacar:true,cortina:true,sql:true,comentar:true,temporizador:true,wms:true,tme:true,copia:true,storymap:true,animagif:true},CAMADAS:"",FILTRO:"",CAMADASINDEXADAS:[],config:{"idOnde":"listaTemas","aposIniciar":"","templateCamada":"templates/camada.html","idListaFundo":"","templateCamadaFundo":"templates/camadaFundo.html","idListaLayersGr":"","templateCamadaGr":"templates/camadaGr.html","verificaAbrangencia":""},carregaTemplates:function(){var t1=i3GEO.arvoreDeCamadas.config.templateCamada,t2=i3GEO.arvoreDeCamadas.config.templateCamadaFundo,t3=i3GEO.arvoreDeCamadas.config.templateCamadaGr;$.ajax(t1).always(function(r1){i3GEO.template.camada=r1;if(r1.status){i3GEO.template.camada=""}$.ajax(t2).always(function(r2){i3GEO.template.camadaFundo=r2;if(r2.status){i3GEO.template.camadaFundo=""}$.ajax(t3).always(function(r3){i3GEO.template.camadaGr=r3;if(r3.status){i3GEO.template.camadaGr=""}i3GEO.arvoreDeCamadas.inicia()})})})},inicia:function(config){if(config){$.each(config,function(i,v){if(v!=undefined){i3GEO.arvoreDeCamadas.config[i]=v}})}if(!i3GEO.template.camada||!i3GEO.template.camadaFundo){i3GEO.arvoreDeCamadas.carregaTemplates();return}else{config=i3GEO.arvoreDeCamadas.config;var novoel,temp;i3GEO.arvoreDeCamadas.atualiza(i3GEO.arvoreDeCamadas.CAMADAS);if(!$i(config.idOnde)){return}if(config.verificaAbrangencia!=""){i3GEO.eventos.adicionaEventos("NAVEGAMAPA",["i3GEO.arvoreDeCamadas.verificaAbrangenciaTemas()"])}if(config.aposIniciar!==""){if(jQuery.isFunction(config.aposIniciar)){config.aposIniciar.call()}}}},adicionaLayersGr:function(){if(i3GEO.Interface.ATUAL!="openlayers"){return}var temp=$i(i3GEO.arvoreDeCamadas.config.idListaLayersGr),layers=i3geoOL.getLayersGr(),lista=[],camada={};if(temp){$.each(layers,function(i,layer){var p=layer.getProperties();camada={...i3GEO.idioma.OBJETOIDIOMA};camada.name=p.name;camada.tema=p.title;camada.locaplic=i3GEO.configura.locaplic;if(layer.getVisible()==true){camada.checked="checked"}else{camada.checked=""}lista.push(camada)});var t=Mustache.render("{{#data}}"+i3GEO.template.camadaGr+"{{/data}}",{"data":lista});$(temp).html(t)}},existeCamadaSel:function({msg=true}={}){var sel=false;$.each(i3GEO.arvoreDeCamadas.CAMADAS,function(i,v){sel=v.sel.toLowerCase()!=="sim"?false:true});if(msg==true&&sel==false){i3GEO.janela.snackBar({content:$trad("nenhumaSel")})}return sel},verifyFilter:function(camada,f){if(!f){f=i3GEO.arvoreDeCamadas.FILTRO}if(f==""){return true}var mostra=true;if(f==="desligados"&&camada.status!=0){mostra=false}if(f==="ligados"&&camada.status==0){mostra=false}if(f==="selecionados"&&camada.sel.toLowerCase()!=="sim"){mostra=false}if(f==="download"&&camada.download.toLowerCase()!=="sim"){mostra=false}if(f==="wms"&&camada.connectiontype*1!==7){mostra=false}if(f==="raster"&&camada.type*1!==3){mostra=false}if(f==="toponimia"&&camada.type*1!==4){mostra=false}return mostra},atualiza:function(temas,forca){if(i3GEO.template.camada==undefined||i3GEO.template.camada==false){return}if(arguments.length===0){temas=i3GEO.arvoreDeCamadas.CAMADAS;i3GEO.arvoreDeCamadas.CAMADAS="";forca=false}var clone=[],camada={},config=i3GEO.arvoreDeCamadas.config,temp;temp=$i(config.idOnde);if(temp){if(forca===true){temp.innerHTML=""}if(temp.innerHTML!==""){if(i3GEO.arvoreDeCamadas.comparaTemas(temas,i3GEO.arvoreDeCamadas.CAMADAS)){i3GEO.arvoreDeCamadas.CAMADAS=temas;return}}}i3GEO.arvoreDeCamadas.CAMADAS=temas;i3GEO.arvoreDeCamadas.CAMADASINDEXADAS=[];$.each(i3GEO.arvoreDeCamadas.CAMADAS,function(i,tema){var mostra=true;i3GEO.pluginI3geo.aplicaPropriedades(tema);camada={};camada.name=tema.name;camada.tema=tema.tema;if(tema.status!=0){camada.checked="checked"}else{camada.checked=""}if(tema.sel&&tema.sel.toLowerCase()==="sim"){camada.classeCss="camadaSelecionada"}else{camada.classeCss=""}if(temp&&i3GEO.arvoreDeCamadas.FILTRO!==""){mostra=i3GEO.arvoreDeCamadas.verifyFilter(tema)}if(temp&&mostra==true){i3GEO.arvoreDeCamadas.montaIconesTema(tema,camada);i3GEO.arvoreDeCamadas.montaOpcoesTema(tema,camada);if(tema.iconetema!==""){camada.iconetema="<img class='i3GEOiconeTema' src='"+tema.iconetema+"' />"}if(tema.maxscaledenom&&(tema.maxscaledenom*1>i3GEO.parametros.mapscale*1&&tema.minscaledenom*1<i3GEO.parametros.mapscale*1)){camada.rangeScale="out";camada.rangeScaleMsg=$trad("rangeScaleMsg")}else{camada.rangeScale="in"}if(tema.escondido.toLowerCase()!=="sim"){clone.push(camada)}}i3GEO.arvoreDeCamadas.CAMADASINDEXADAS[camada.name]=tema});if(temp){var t=Mustache.render("{{#data}}"+i3GEO.template.camada+"{{/data}}",{"data":clone});$("#"+config.idOnde).html(t);$("#"+config.idOnde).sortable({scroll:false,axis:"y",revert:true,update:function(event,ui){var els=i3GEO.arvoreDeCamadas.listaLigadosDesligadosArvore(config.idOnde);var lista=els[2].join(",");var temp=function(retorno){i3GEO.atualiza(retorno);if(i3GEO.Interface.ATUAL==="openlayers"){i3GEO.Interface.openlayers.ordenaLayers()}i3GEO.arvoreDeCamadas.atualiza(i3GEO.arvoreDeCamadas.CAMADAS,true)};i3GEO.php.reordenatemas(temp,lista)}})}i3GEO.arvoreDeCamadas.adicionaCamadasDeFundo(config);i3GEO.arvoreDeCamadas.adicionaLayersGr();i3GEO.eventos.executaEventos(i3GEO.eventos.ATUALIZAARVORECAMADAS)},adicionaCamadasDeFundo:function(config){if(i3GEO.Interface.ATUAL=="openlayers"){var temp=temp=$i(config.idOnde);if(temp&&$("#"+config.idListaFundo).html()==""){clone=[];$.each(i3GEO.Interface.openlayers.LAYERSADICIONAIS,function(i,layer){camada={};temp=layer.getProperties();camada.name="camadaDeFundo";if(temp.preview){camada.preview=temp.preview}else{camada.preview=""}camada.value=temp.name;camada.title=temp.title;if(temp.visible===true){camada.checked="checked"}else{camada.checked=""}clone.push(camada)});var t=Mustache.to_html("{{#data}}"+i3GEO.template.camadaFundo+"{{/data}}",{"data":clone});$("#"+config.idListaFundo).html(t);$("#"+config.idListaFundo+" label").tooltip({animation:false,trigger:"hover",placement:"auto",html:true,template:"<div class='tooltip ' ><div class='tooltip-inner'></div></div>"});$.each(clone,function(i,v){var slide=$i("slideFundo"+v.value);noUiSlider.create(slide,{connect:"lower",start:[100],range:{'min':[0],'max':[100]},name:v.value});slide.noUiSlider.on('update',function(values,handle){i3GEO.Interface.aplicaOpacidade(values[0]*1,this.options.name)})})}}},ligaDesligaTemas:function(lista,status){},atualizaLegenda:function(idtema){},montaTextoTema:function(tema){if(i3GEO.tema.TEMPORIZADORESID[tema.name]==undefined&&tema.temporizador!=""){i3GEO.tema.temporizador(tema.name,tema.temporizador)}return(html)},montaOpcoesTema:function(temaObj,camada){vetor="hidden";if((temaObj.type<3)&&(temaObj.connectiontype!==7)){vetor=""}camada.isnotvetor=vetor;camada.ferramentasTexto=$trad("u15a");camada.ferramentasTitle=$trad("ferramCamadas");camada.removerTexto=$trad("t12");camada.removerTitle=$trad("t12a");camada.sobeTexto=$trad("t13");camada.sobeTitle=$trad("t14");camada.desceTexto=$trad("t15");camada.desceTitle=$trad("t16");camada.tabelaTexto=$trad("tabela");camada.tabelaTitle=$trad("t30");camada.limpaselTexto=$trad("t4");camada.zoomSelTexto=$trad("t4a");camada.linkTexto=$trad("a9");camada.editorlegendaTexto=$trad("t33");camada.procurarTexto=$trad("t23");camada.topoTexto=$trad("t25");camada.etiquetasTexto=$trad("t27");camada.filtroTexto=$trad("t29");camada.selecaoTexto=$trad("x51");camada.graficoTexto=$trad("t37");camada.wmsTexto="WMS-OGC";camada.tmeTexto=$trad("t49");camada.topoTexto=$trad("x56");camada.nomeCamada=camada.tema;camada.opaCamada=camada.transparency;camada.editorlegendaTexto=$trad("t33");camada.coresTexto=$trad("esquemadecores");camada.copiaTexto=$trad("copiaCamada");camada.contornoTexto=$trad("contorno");camada.opacidade=$trad("t20");camada.cortina=$trad("t42");camada.opaCamada=temaObj.transparency;if(temaObj.zoomtema.toLowerCase()==="sim"){camada.zoomtemaTexto=$trad("t17");camada.zoomtemaTitle=$trad("t18")}else{camada.zoomtema="hidden"}if(temaObj.sel.toLowerCase()==="sim"){camada.selTexto=$trad("t5");camada.selTitle=$trad("t4")}else{camada.sel="hidden"}if(temaObj.sel.toLowerCase()==="sim"){camada.zoomSelTexto=$trad("t4a")}else{camada.zoomsel="hidden"}if(temaObj.link_tema!=""&&temaObj.features.toLowerCase()!=="sim"&&temaObj.name!="mundo"){camada.linkTexto=$trad("a9");camada.linkTitle=$trad("a9")}else{camada.link="hidden"}if(temaObj.download.toLowerCase()==="sim"||temaObj.download===""&&temaObj.features.toLowerCase()!=="sim"){camada.downloadTexto="Download";camada.downloadTitle=$trad("t6")}else{camada.download="hidden"}if(temaObj.permiteogc.toLowerCase()==="sim"){camada.permiteogcTexto="OGC"}else{camada.permiteogc="hidden"}return camada},montaIconesTema:function(temaObj,camada){camada.farol="hidden";if(temaObj.escala!=0){if(temaObj.escala*1<i3GEO.parametros.mapscale*1){camada.farol="green";camada.farolTitle=$trad("t9")}if(temaObj.escala*1>i3GEO.parametros.mapscale*1){camada.farol="red";camada.farolTitle=$trad("t10")}if(temaObj.escala===0){camada.farol="yellow";camada.farolTitle=$trad("t11")}}if(temaObj.contextoescala.toLowerCase()==="sim"){camada.contextoescala="";camada.contextoescalaTitle=$trad("t36")}else{camada.contextoescala="hidden"}if(temaObj.plugini3geo){var iconePlugin=i3GEO.pluginI3geo.clickArvoreDeCamadas(temaObj);if(iconePlugin!=false){camada.iconePlugin=iconePlugin}}if(temaObj.ferramentas){var html="",fer="",fers=temaObj.ferramentas;for(fer in fers){if(i3GEO.configura.ferramentasLayers[fer]){html+=i3GEO.configura.ferramentasLayers[fer].icone(temaObj.name)}}camada.iconeFerramentas=html}return camada},atualizaFarol:function(mapscale){var cor,farol,l,ltema,escala,iu=i3GEO.util,im=i3GEO.configura.locaplic+"/imagens/",camadas=i3GEO.arvoreDeCamadas.CAMADAS;farol="maisamarelo.png";cor="yellow";l=camadas.length-1;if(l>=0){do{ltema=camadas[l];escala=ltema.escala;if(escala!=0){if(escala*1<mapscale*1){farol="maisverde.png";cor="green"}if(escala*1>mapscale*1){farol="maisvermelho.png";cor="red"}if(escala*1===0){farol="maisamarelo.png";cor="yellow"}$("#farol"+ltema.name).css("color",cor)}}while(l--)}},aplicaTemas:function(tipo){if(arguments.length===0){tipo="normal"}var t="",temp;if(tipo==="normal"){t=i3GEO.arvoreDeCamadas.listaLigadosDesligados("mantem")}if(tipo==="ligartodos"){t=i3GEO.arvoreDeCamadas.listaLigadosDesligados("marca")}if(tipo==="desligartodos"){t=i3GEO.arvoreDeCamadas.listaLigadosDesligados("desmarca")}temp=function(){i3GEO.atualiza();i3GEO.janela.fechaAguarde("redesenha")};if(tipo==="normal"){i3GEO.php.ligatemas(temp,t[1].toString(),t[0].toString());return}if(tipo==="ligartodos"){i3GEO.php.ligatemas(temp,"",t[2].toString());return}if(tipo==="desligartodos"){i3GEO.php.ligatemas(temp,t[2].toString(),"")}},listaLigadosDesligados:function(){if(!i3GEO.arvoreDeCamadas.CAMADAS){return[[],[],[],[]]}var i=0,filtrados=[],ligados=[],desligados=[],todos=[],camada,camadas=i3GEO.arvoreDeCamadas.CAMADAS;i=camadas.length;while(i>0){i-=1;camada=camadas[i];todos.push(camada["name"]);if(parseInt(camada["status"],10)===2){ligados.push(camada["name"])}else{desligados.push(camada["name"])}if(i3GEO.arvoreDeCamadas.verifyFilter(camada)==true){filtrados.push(camada["name"])}}return([ligados,desligados,todos,filtrados])},listaLigadosDesligadosArvore:function(onde){if(!i3GEO.arvoreDeCamadas.CAMADAS){return[[],[],[]]}var n,i,ligados=[],desligados=[],todos=[],camada,camadas;camadas=$i(onde).getElementsByTagName("input");n=camadas.length;for(i=0;i<n;i++){camada=camadas[i];todos.push(camada.value);if(camada.checked==true){ligados.push(camada["name"])}else{desligados.push(camada["name"])}}return([ligados,desligados,todos])},capturaCheckBox:function(tema){var onde=$i(i3GEO.arvoreDeCamadas.config.idOnde),camadas,n,i;if(onde){camadas=onde.getElementsByTagName("input");n=camadas.length;for(i=0;i<n;i++){if(camadas[i].name==tema){return camadas[i]}}}return false},comparaTemas:function(novo,atual){try{var novon=novo.length,i;if(novon!==atual.length){return(false)}for(i=0;i<novon;i+=1){if(novo[i].name!==atual[i].name){return(false)}if(novo[i].tema!==atual[i].tema){return(false)}if(novo[i].sel!==atual[i].sel){return(false)}if(novo[i].status!==atual[i].status){return(false)}}return(true)}catch(e){return true}},pegaTema:function(valor,camadas,parametro){var i;if(!camadas||camadas==""){camadas=i3GEO.arvoreDeCamadas.CAMADAS}else{camadas=i3GEO.arvoreDeCamadas.converteChaveValor2normal(camadas)}if(!parametro){parametro="name"}i=camadas.length;while(i>0){i-=1;if(camadas[i][parametro]===valor){return camadas[i]}}return""},filtraCamadas:function(propriedade,valor,operador,camadas){if(!camadas){camadas=i3GEO.arvoreDeCamadas.CAMADAS}var resultado,i=0,temp,nelementos=camadas.length,ltema;resultado=[];if(nelementos>0){do{ltema=camadas[i];if(ltema.escondido.toLowerCase()!=="sim"){temp=ltema[propriedade];if(operador==="igual"){if(temp+"".toLowerCase()==valor+"".toLowerCase()){resultado.push(ltema)}}if(operador==="diferente"){if(temp+"".toLowerCase()!==valor+"".toLowerCase()){resultado.push(ltema)}}if(operador==="menor"){if(temp+"".toLowerCase()<valor+"".toLowerCase()){resultado.push(ltema)}}}i+=1}while(i<nelementos)}return resultado},alteraPropCamadas:function(propriedade,valor,camada){var i=0,nelementos=i3GEO.arvoreDeCamadas.CAMADAS.length,ltema;if(nelementos>0){do{ltema=i3GEO.arvoreDeCamadas.CAMADAS[i];if(ltema.name===camada){ltema[propriedade]=valor}i+=1}while(i<nelementos)}},verificaAbrangenciaTemas:function(){var nos=$("#"+i3GEO.arvoreDeCamadas.config.idOnde).find("input");$.each(nos,function(i,no){var ltema=i3GEO.arvoreDeCamadas.CAMADASINDEXADAS[no.value];var temp=ltema.exttema;if(temp!==""&&temp!=undefined){if(i3GEO.util.intersectaBox(temp,i3GEO.parametros.mapexten)===false){$(no).addClass(i3GEO.arvoreDeCamadas.config.verificaAbrangencia)}else{$(no).removeClass(i3GEO.arvoreDeCamadas.config.verificaAbrangencia)}}})},verificaAplicaExtensao:function(){var i=0,temp="",nelementos=i3GEO.arvoreDeCamadas.CAMADAS.length,ltema;try{if(nelementos>0){do{ltema=i3GEO.arvoreDeCamadas.CAMADAS[i];if(ltema.aplicaextensao.toLowerCase()==="sim"){temp=ltema.name}i+=1}while(i<nelementos)}}catch(e){return""}return temp},converteChaveValor2normal:function(obj){if(obj.chaves){var i,tema,j,t,chaves=obj.chaves,temas=obj.valores,ntemas=temas.length,nchaves=chaves.length,novo=[];for(i=0;i<ntemas;i++){tema=temas[i];t={};for(j=0;j<nchaves;j++){t[chaves[j]]=tema[j]}novo.push(t)}return novo}else{return obj}},registaCamadas:function(obj){var i;obj=i3GEO.arvoreDeCamadas.converteChaveValor2normal(obj);i3GEO.arvoreDeCamadas.CAMADAS=obj;i3GEO.arvoreDeCamadas.CAMADASINDEXADAS=[];$.each(i3GEO.arvoreDeCamadas.CAMADAS,function(i,tema){i3GEO.arvoreDeCamadas.CAMADASINDEXADAS[tema.name]=tema})},dialogo:{filtro:function(){i3GEO.util.dialogoFerramenta("i3GEO.arvoreDeCamadas.dialogo.filtro()","filtroarvore","filtroarvore","dependencias.php","i3GEOF.filtroarvore.start()")},excluir:function(){i3GEO.util.dialogoFerramenta("i3GEO.arvoreDeCamadas.dialogo.excluir()","excluirarvore","excluirarvore","dependencias.php","i3GEOF.excluirarvore.start()")}}};
3 3 \ No newline at end of file
... ...
js/compactados/dicionario_compacto.js
1   -g_traducao={"dec":[{pt:",",en:".",es:","}],"mil":[{pt:".",en:",",es:"."}],"p1":[{pt:"O i3Geo &eacute; software livre! Para download clique <a href='https://softwarepublico.gov.br/social/i3geo' target=blank >aqui</a>. <b><a href='http://"+window.location.host+"/i3geo/mobile/qrcode.htm' target=blank >Qrcode mobile</a></b>",en:"I3Geo is an open source software! Click <a href='https://softwarepublico.gov.br/social/i3geo' target=blank >here</a> to download. <b><a href='http://"+window.location.host+"/i3geo/mobile/qrcode.htm' target=blank >Qrcode mobile</a></b>",es:"i3Geo es software libre! Para descargar haga clic <a href='https://softwarepublico.gov.br/social/i3geo' target=blank >aqu&iacute;</a>. <b><a href='http://"+window.location.host+"/i3geo/mobile/qrcode.htm' target=blank >Qrcode mobile</a></b>"}],"p2":[{pt:"Filtro de cores",en:"Color filter",es:"Filtro de colores"}],"p3":[{pt:"Legenda",en:"Legend",es:"Leyenda"}],"p4":[{pt:"Escala",en:"Scale",es:"Escala"}],"p5":[{pt:"Tamanho",en:"Size",es:"Tama&ntilde;o"}],"p6":[{pt:"Ativa/desativa entorno",en:"Enable/disable environment",es:"Activar/desactivar entorno"}],"p7":[{pt:"Ativa/desativa logo",en:"Enable/disable logo",es:"Activar/desactivar logo"}],"p8":[{pt:"Cor da sele&ccedil;&atilde;o",en:"Selection color",es:"Color de la selecci&oacute;n"}],"p9":[{pt:"Cor do fundo",en:"Background color",es:"Color de fondo"}],"p10":[{pt:"Grade de coordenadas",en:"Coordinate grid",es:"Cuadr&iacute;cula de coordenadas"}],"p11":[{pt:"Template",en:"Template",es:"Plantilla"}],"p12":[{pt:"Temporizador",en:"Timer",es:"Temporizador"}],"p13":[{pt:"Propriedades",en:"Properties",es:"Propiedades"}],"p14":[{pt:"Aplicar",en:"Apply",es:"Aplicar"}],"p15":[{pt:"Formato da imagem do mapa",en:"Map image format",es:"Formato de la imagen del mapa"}],"p16":[{pt:"Fundo",en:"Basemap",es:"Mapa base"}],"p17":[{pt:"Imprime legenda",en:"Print legend",es:"Imprimir la leyenda"}],"p18":[{pt:"N&atilde;o imprime a legenda",en:"Do not print legend",es:"No imprimir la leyenda"}],"p19":[{pt:"Ativa ou desativa a legenda de um tema na op&ccedil;&atilde;o de impress&atilde;o do mapa",en:"Enable or disable the legend of a theme in the map print option",es:"Activa o desactiva la leyenda de un tema en la opci&oacute;n de impresi&oacute;n del mapa"}],"p20":[{pt:"Tela remota",en:"Remote screen",es:"Pantalla remota"}],"p21":[{pt:"Anima&ccedil;&atilde;o",en:"Animation",es:"Animaci&oacute;n"}],"s1":[{pt:"Ajuda",en:"Help",es:"Ayuda"}],"s2":[{pt:"An&aacute;lise",en:"Analysis",es:"An&aacute;lisis"}],"s3":[{pt:"Janelas",en:"Windows",es:"Ventanas"}],"s4":[{pt:"Arquivo",en:"File",es:"Archivo"}],"s5":[{pt:"Propriedades",en:"Properties",es:"Propiedades"}],"u1":[{pt:"Sobre o i3Geo",en:"About i3Geo",es:"Acerca de i3Geo"}],"u2":[{pt:"Doc. dos c&oacute;digos",en:"Doc. of codes",es:"Doc. de los c&oacute;digos"}],"u3":[{pt:"WikiBook",en:"WikiBook",es:"WikiBook"}],"u4":[{pt:"Tutoriais",en:"Tutorials",es:"Tutoriales"}],"u4a":[{pt:"Manual do usu&aacute;rio",en:"User manual",es:"Manual de usuario"}],"u5":[{pt:"Blog",en:"Blog",es:"Blog"}],"u5a":[{pt:"Software p&uacute;blico",en:"Public software",es:"Software p&uacute;blico"}],"u5b":[{pt:"Lista de fun&ccedil;&otilde;es",en:"Function lists",es:"Lista de funciones"}],"u5c":[{pt:"Redes sociais",en:"Social networks",es:"Redes sociales"}],"u6":[{pt:"Geometrias",en:"Geometries",es:"Geometr&iacute;as"}],"u7":[{pt:"Grade de pol&iacute;gonos",en:"Polygon grid",es:"Cuadr&iacute;cula de pol&iacute;gonos"}],"u8":[{pt:"Grade de pontos",en:"Point grid",es:"Cuadr&iacute;cula de puntos"}],"u9":[{pt:"Grade de hex&aacute;gonos",en:"Grid of Hexagons",es:"Cuadr&iacute;cula de hex&aacute;gonos"}],"u10":[{pt:"Entorno(Buffer)",en:"Buffer",es:"&Aacute;rea de influencia (Buffer)"}],"u11":[{pt:"Centr&oacute;ide",en:"Centroid",es:"Centroide"}],"u11a":[{pt:"Dist&acirc;ncia entre pontos",en:"Distance between points",es:"Distancia entre puntos"}],"u12":[{pt:"N pontos em poligono",en:"N points in polygon",es:"N puntos en pol&iacute;gono"}],"u13":[{pt:"Ponto em poligono/raster",en:"Point in polygon/raster",es:"Punto en pol&iacute;gono/raster"}],"u14":[{pt:"Distribui&ccedil;&atilde;o de pontos",en:"Point distribution",es:"Distribuci&oacute;n de puntos"}],"u15":[{pt:"Barras de ferramentas",en:"Toolbars",es:"Barras de herramientas"}],"u15a":[{pt:"Caixa de ferramentas",en:"Tool box",es:"Caja de herramientas"}],"u16":[{pt:"Janela de mensagens",en:"Message window",es:"Ventana de mensajes"}],"u17":[{pt:"Salvar mapa",en:"Save map",es:"Guardar el mapa"}],"u18":[{pt:"Carregar mapa",en:"Load map",es:"Cargar mapa"}],"u19":[{pt:"Pegar imagens",en:"Paste images",es:"Pegar im&aacute;genes"}],"u20":[{pt:"Converter em WMS e WMC",en:"Convert to WMS and WMC",es:"Convertir a WMS y WMC"}],"u20a":[{pt:"Converter em KML",en:"Convert to KML",es:"Convertir a KML"}],"u21":[{pt:"Gerador de links",en:"Link generator",es:"Generador de enlaces"}],"u22":[{pt:"Grade",en:"Grid",es:"Cuadr&iacute;cula"}],"u23":[{pt:"Ponto",en:"Point",es:"Punto"}],"u24":[{pt:"Pol&iacute;gono",en:"Polygon",es:"Pol&iacute;gono"}],"u25":[{pt:"Dissolve",en:"Dissolve",es:"Disolver"}],"u26":[{pt:"Agrupa",en:"Group",es:"Agrupar"}],"u27":[{pt:"Outros",en:"Others",es:"Otros"}],"u28":[{pt:"Centro m&eacute;dio",en:"Middle center",es:"Centro medio"}],"u29":[{pt:"Editor vetorial",en:"Vector editor",es:"Editor vectorial"}],"t1":[{pt:"Camadas",en:"Layers",es:"Capas"}],"t2":[{pt:"Arraste o tema aqui ou clique para excluir",en:"Drag the theme here or click to remove",es:"Arrastre el tema aqu&iacute; o haga clic para excluir"}],"t2a":[{pt:"Filtra a lista de camadas",en:"Filter the layer list",es:"Filtra la lista de capas"}],"t2b":[{pt:"Abre a legenda do mapa",en:"Open the map legend",es:"Despliega la leyenda del mapa"}],"t3":[{pt:"Clique para ligar ou desligar esse tema, mostrando-o ou n&atilde;o no mapa. Ap&oacute;s alterar o estado do tema, aguarde alguns instantes para o mapa ser redesenhado, ou clique no bot&atilde;o aplicar que ser&aacute; mostrado.",en:"Click to turn this theme off or on, showing it or not on the map. After changing the status of the theme, wait a few moments so that the map updates, or click the Apply button that will be displayed.",es:"Haga clic para encender o apagar este tema y mostrarlo o no en el mapa. Despu&eacute;s de cambiar el estado del tema, espere algunos instantes para que el mapa se actualice o haga clic en el bot&oacute;n aplicar que aparecer&aacute;."}],"t3a":[{pt:"Ligar todos os temas",en:"Turn on all themes",es:"Encender todos los temas"}],"t3b":[{pt:"Desligar todos os temas",en:"Turn off all themes",es:"Apagar todos los temas"}],"t4":[{pt:"Limpa sele&ccedil;&atilde;o",en:"Clear selection",es:"Limpia la selecci&oacute;n"}],"t4a":[{pt:"Zoom para a sele&ccedil;&atilde;o",en:"Zoom to selection",es:"Zoom a la selecci&oacute;n"}],"t5":[{pt:"Limpa sele&ccedil;&atilde;o existente nesse tema",en:"Clear an existing selection in this theme",es:"Limpia la selecci&oacute;n existente en este tema"}],"t6":[{pt:"Clique para fazer o download desse tema no formato shapefile",en:"Click to download this theme in shapefile format",es:"Haga clic para descargar este tema en formato shapefile"}],"t7":[{pt:"clique e arraste",en:"Click and drag",es:"Haga clic y arrastre"}],"t7a":[{pt:"Clique e arraste para mudar a ordem. Arraste e solte na lixeira para remover. Aguarde para ver a legenda.",en:"Click and drag to change the order. Drag and drop to the trash to remove. Wait to see the legend.",es:"Haga clic y arrastre para cambiar el orden. Arrastre y suelte en la papelera para remover. Aguarde para ver la leyenda."}],"t8":[{pt:"arraste para mudar a ordem",en:"drag to change the order",es:"arrastre para cambiar el orden"}],"t9":[{pt:"Compat&iacute;vel com a escala",en:"Compatible with the scale",es:"Compatible con la escala"}],"t10":[{pt:"Incompat&iacute;vel com a escala",en:"Incompatible with the scale",es:"Incompatible con la escala"}],"t11":[{pt:"Escala n&atilde;o conhecida",en:"Unknown scale",es:"Escala no conocida"}],"t12":[{pt:"Excluir",en:"Exclude",es:"Excluir"}],"t12a":[{pt:"Clique para excluir esse tema do mapa.",en:"Click to exclude this theme from the map.",es:"Haga clic para excluir este tema del mapa."}],"t13":[{pt:"Sobe",en:"Up",es:"Subir"}],"t14":[{pt:"Clique para subir esse tema na ordem de desenho",en:"Click to move up the theme in drawing order",es:"Haga clic para subir y cambiar el orden de dibujo de este tema"}],"t15":[{pt:"Desce",en:"Down",es:"Bajar"}],"t16":[{pt:"Clique para descer esse tema na ordem de desenho",en:"Click to move down the theme in drawing order",es:"Haga clic para bajar y cambiar el orden de dibujo de este tema"}],"t17":[{pt:"Zoom para o tema",en:"Zoom to theme",es:"Zoom al tema"}],"t18":[{pt:"Clique para ajustar o mapa de forma a mostrar todo o tema",en:"Click to show the whole theme by adjusting the map",es:"Haga clic para ajustar el mapa de manera de poder ver todo el tema"}],"t18a":[{pt:"Op&ccedil;&otilde;es e propriedades",en:"Options and properties",es:"Opciones y propiedades"}],"t18b":[{pt:"Legenda",en:"Legend",es:"Leyenda"}],"t19":[{pt:"Altera a transpar&ecirc;ncia do tema, possibilitando que as camadas inferiores possam ser vistas.",en:"Change layer transparency to enable visibility of bottom layers.",es:"Altera la transparencia del tema haciendo posible que las capas inferiores se puedan ver."}],"t20":[{pt:"Opacidade",en:"Opacity",es:"Opacidad"}],"t22":[{pt:"Localize elementos no tema com base em seus atributos descritivos.",en:"Search for elements on the theme based on their descriptive attributes.",es:"Ubique elementos en el tema en base a sus atributos descriptivos."}],"t23":[{pt:"Procurar",en:"Search",es:"Buscar"}],"t24":[{pt:"Crie uma nova camada no mapa para apresentar textos descritivos sobre esse tema, tendo como base a tabela de atributos.",en:"Create a new layer on the map based on the table of attributes to display descriptive texts about this theme.",es:"Crear una nueva capa en el mapa para presentar textos descriptivos sobre este tema, teniendo como base la tabla de atributos."}],"t25":[{pt:"Etiquetas baseadas em atributos",en:"Labels based on attributes",es:"Etiquetas basadas en atributos"}],"t26":[{pt:"Defina as etiquetas que ser&atilde;o mostradas quando o mouse &eacute; estacionado sobre um elemento desse tema.",en:"Define labels that will be shown when the mouse is over a feature of this theme.",es:"Defina las etiquetas que se mostrar&aacute;n cuando el rat&oacute;n se detenga sobre un elemento de este tema."}],"t27":[{pt:"Ativar etiquetas",en:"Activate labels",es:"Activar etiquetas"}],"t28":[{pt:"Insira um filtro nesse tema para mostrar apenas determinadas informa&ccedil;&otilde;es, com base na tabela de atributos.",en:"Insert a filter in this theme based on the table of attributes to show only specific information.",es:"Inserte un filtro en este tema para mostrar solo determinadas informaciones, con base en la tabla de atributos."}],"t29":[{pt:"Filtrar",en:"Filter",es:"Filtrar"}],"t30":[{pt:"Veja a tabela de atributos relacionada a esse tema.",en:"See the table of attributes related to this theme.",es:"Vea la tabla de atributos relacionada con este tema."}],"t31":[{pt:"Tabela com os dados",en:"Table with data",es:"Tabla con los datos"}],"t32":[{pt:"Abre o editor de legenda, permitindo a altera&ccedil;&atilde;o da forma de representa&ccedil;&atilde;o desse tema.",en:"Open the legend editor to change the way this theme is rendered.",es:"Abre el editor de leyenda para modificar la forma de representaci&oacute;n de este tema."}],"t33":[{pt:"Editar legenda",en:"Edit legend",es:"Editar leyenda"}],"t34":[{pt:"Mostra os dados desse tema em uma janela que acompanha o mouse.",en:"Show the data of this theme in a window that tracks the mouse.",es:"Muestra los datos de este tema en una ventana que acompa&ntilde;a el rat&oacute;n."}],"t35":[{pt:"Mostra em janela",en:"Show in window",es:"Mostrar en la ventana"}],"t36":[{pt:"tema vis&iacute;vel apenas em determinadas escalas",en:"theme visible only at certain scales",es:"el tema es visible solo en ciertas escalas"}],"t37":[{pt:"Gr&aacute;fico",en:"Chart",es:"Gr&aacute;fico"}],"t37a":[{pt:"Tema com gr&aacute;ficos",en:"Theme with charts",es:"Tema con gr&aacute;ficos"}],"t37b":[{pt:"Gr&aacute;fico interativo",en:"Interactive chart",es:"Gr&aacute;fico interactivo"}],"t38":[{pt:"Exporta a legenda para o padr&atilde;o SLD.",en:"Export the legend to SLD schema.",es:"Exporta la leyenda para el est&aacute;ndar SLD."}],"t39":[{pt:"Exportar SLD",en:"Export SLD",es:"Exportar SLD"}],"t40":[{pt:"Abre a ferramenta que permite alterar o SQL de acesso aos dados",en:"Open the tool to change the SQL to access data",es:"Abre la herramienta que permite cambiar el SQL de acceso a los datos"}],"t41":[{pt:"Editar SQL",en:"Edit SQL",es:"Editar SQL"}],"t42":[{pt:"Cortina",en:"Curtain",es:"Cortina"}],"t43":[{pt:"Aplicar SLD",en:"Apply SLD",es:"Aplicar SLD"}],"t44":[{pt:"Salvar mapfile",en:"Save mapfile",es:"Guardar mapfile"}],"t45":[{pt:"Comentar",en:"Comment",es:"Comentar"}],"t46":[{pt:"Mais populares",en:"Most popular",es:"M&aacute;s populares"}],"t48":[{pt:"Temporizador",en:"Timer",es:"Temporizador"}],"t49":[{pt:"Mapa tem&aacute;tico 3D",en:"3D tematic map",es:"Mapa tem&aacute;tico 3D"}],"a1":[{pt:"Procurar tema:",en:"Search theme:",es:"Buscar tema:"}],"a2":[{pt:"Upload de shape file",en:"Upload shapefile",es:"Subir shapefile"}],"a2b":[{pt:"Upload de DBF ou CSV",en:"Upload DBF or CSV",es:"Subir DBF o CSV"}],"a3":[{pt:"Download de dados",en:"Data downloading",es:"Descarga de datos"}],"a3a":[{pt:"Importar Web Map Context",en:"Import Web Map Context",es:"Importar Web Map Context"}],"a4":[{pt:"Conectar com servidor WMS",en:"Connect to WMS server",es:"Conectar al servidor WMS"}],"a4b":[{pt:"Conectar com servidor WMS-T",en:"Connect to WMS-T server",es:"Conectar al servidor WMS-T"}],"a5":[{pt:"Conectar com GeoRss",en:"Connect to GeoRss",es:"Conectar con GeoRss"}],"a5a":[{pt:"Nuvem de tags",en:"Tag cloud",es:"Nube de etiquetas"}],"a6":[{pt:"Acesso aos arquivos do servidor",en:"Access to server files",es:"Acceso a los archivos del servidor"}],"a7":[{pt:"Temas",en:"Theme",es:"Temas"}],"a8":[{pt:"Clique no box ao lado do tema para ligar ou desligar, mostrando-o ou n&atilde;o no mapa. Ap&oacute;s alterar o estado do tema, aguarde alguns instantes para o mapa ser redesenhado, ou clique no bot&atilde;o aplicar que ser&aacute; mostrado.",en:"Click the box next to the theme to turn it on or off, showing it or not on the map. After changing the status of the theme, wait a few moments so that the map updates, or click the Apply button that will be displayed.",es:"Haga clic en el cuadro ubicado al lado del tema para encender o apagarlo y mostralo o no en el mapa. Despu&eacute;s de cambiar el estado del tema, espere algunos instantes para que el mapa se actualice o haga clic en el bot&oacute;n aplicar que aparecer&aacute;."}],"a9":[{pt:"Fonte",en:"Font",es:"Fuente"}],"a10":[{pt:"c&oacute;digo:",en:"code",es:"c&oacute;digo"}],"a11":[{pt:"Sistemas",en:"Systems",es:"Sistemas"}],"a12":[{pt:"Abrir sistema",en:"Open system",es:"Abrir sistema"}],"a13":[{pt:"Abrir no Google Earth",en:"Open with Google Earth",es:"Abrir en Google Earth"}],"a14":[{pt:"Upload SHP, CSV...",en:"Upload SHP, CSV...",es:"Subir SHP, CSV..."}],"a15":[{pt:"Conex&otilde;es",en:"Conections",es:"Conexiones"}],"a16":[{pt:"Servi&ccedil;os",en:"Services",es:"Servicios"}],"g1":[{pt:"Temas",en:"Themes",es:"Temas"}],"g1a":[{pt:"Cat&aacute;logo",en:"Catalog",es:"Cat&aacute;logo"}],"g2":[{pt:"Adiciona",en:"Add",es:"Agregar"}],"g3":[{pt:"Legenda",en:"Legend",es:"Leyenda"}],"g4":[{pt:"Mapas",en:"Maps",es:"Mapas"}],"g4a":[{pt:"Mapa",en:"Map",es:"Mapa"}],"o1":[{pt:"Aguarde...",en:"Wait...",es:"Espere..."}],"o2":[{pt:"Busca r&aacute;pida",en:"Quick search",es:"B&uacute;squeda r&aacute;pida"}],"o3":[{pt:"Lendo imagem...",en:"Reading image...",es:"Leyendo imagen..."}],"o4":[{pt:"Aguarde...abrindo lente",en:"Wait...Opening magnifying glass",es:"Espere...abriendo lupa"}],"o5":[{pt:"Aguarde...iniciando",en:"Wait...initializing",es:"Espere...iniciando"}],"o6":[{pt:"din&acirc;mico",en:"Dynamic",es:"Din&aacute;mico"}],"d1":[{pt:"Digite as coordenadas de um ponto (X=longitude e Y=latitude) para localizar-lo no mapa. no mapa. O centro do mapa ser&aacute; deslocado para o ponto digitado.",en:"Enter the coordinates of a point (X=longitude and Y=latitude) to localize it on the map. The map center will move to this point.",es:"Digite las coordenadas de un punto (X=longitud e Y=latitud) para ubicarlas en el mapa. El centro del mapa se desplazar&aacute; al punto introducido."}],"d2":[{pt:"Altera a escala do mapa ajustando-a para mostrar a mesma abrang&ecirc;ncia geogr&aacute;fica da inicializa&ccedil;&atilde;o.",en:"Change the map scale to show the initial geographical extent.",es:"Modifica la escala del mapa ajust&aacute;ndola para mostrar la misma &aacute;rea geogr&aacute;fica inicial."}],"d2t":[{pt:"Enquadramento inicial",en:"Initial extent",es:"Extensi&oacute;n inicial"}],"d3":[{pt:"Amplia o mapa - desloca o ponto clicado para centro da tela ou amplia a regi&atilde;o indicada por um ret&acirc;ngulo. Ap&oacute;s ativada, clique e arraste o mouse sobre o mapa na &aacute;rea de zoom desejada.",en:"It enlarges the map - places the clicked point on the center of the screen or enlarge the map on a region indicated by a rectangle. Once activated, click and drag the mouse over the map into the desired area.",es:"Ampl&iacute;a el mapa - coloca el punto donde se hizo clic en el centro de la pantalla o ampl&iacute;a a la regi&oacute;n indicada con un rect&aacute;ngulo. Despu&eacute;s de activarla, haga clic y arrastre el rat&oacute;n sobre el mapa en el &aacute;rea de zoom deseada."}],"d3t":[{pt:"clique e arraste para ampliar",en:"click and drag to enlarge",es:"Haga click y arraste para ampliar"}],"d4":[{pt:"Desloca a regi&atilde;o vis&iacute;vel no mapa. Ap&oacute;s ativada, clique e arraste o mouse sobre o mapa para deslocar a regi&atilde;o vis&iacute;vel.",en:"It moves the visible region on the map. After being activated, click and drag the mouse over the map to move the visible region.",es:"Desplaza la regi&oacute;n visible en el mapa. Una vez activada, haga clic y arrastre el rat&oacute;n sobre el mapa para desplazar la zona visible."}],"d4t":[{pt:"clique e arraste para deslocar",en:"click and drag to move",es:"haga click y arraste para mover"}],"d5":[{pt:"Amplia o mapa tendo como refer&ecirc;ncia o centro atual.",en:"Enlarge the map based on the current center.",es:"Ampl&iacute;a el mapa teniendo como referencia el centro actual."}],"d5t":[{pt:"aproximar",en:"zoom in",es:"acercar"}],"d6":[{pt:"Reduz o mapa tendo como refer&ecircncia o centro atual.",en:"Reduce the map based on the current center.",es:"Reduce el mapa teniendo como referencia el centro actual"}],"d6t":[{pt:"afastar",en:"zoom out",es:"alejar",it:"afastar"}],"d7":[{pt:"Mostra informa&ccedil;&otilde;es sobre um ponto no mapa. Ap&oacute;s ativada, clique sobre o mapa.",en:"It displays information about a point on the map. After being activated, click on the map.",es:"Muestra informaci&oacute;n sobre un punto en el mapa. Despu&eacute;s de activarla haga clic sobre el mapa."}],"d7t":[{pt:"Info",en:"Info",es:"Info"}],"d7a":[{pt:"Mostra informa&ccedil;&otilde;es resumidas sobre um ponto clicado no mapa. N&atilde;o &eacute; necess&aacute;rio clicar nesse &iacute;cone para ativar, basta clicar no mapa a qualquer tempo.",en:"Display summary information about a point clicked on the map. It is not necessary to click this icon to activate it, just click on the map at any time.",es:"Muestra informaci&oacute;n resumida de un punto sobre el cual se ha hecho clic en el mapa. No es necesario hacer clic en ese icono para activarlo, simplemente haga clic en el mapa en cualquier momento."}],"d7at":[{pt:"etiqueta",en:"label",es:"etiqueta"}],"d8":[{pt:"Mostra a extens&atilde;o geogr&aacute;fica atual em coordenadas geogr&aacute;ficas",en:"Show the current extent in geographic coordinates",es:"Muestra la extensi&oacute;n geogr&aacute;fica actual en coordenadas geogr&aacute;ficas"}],"d8t":[{pt:"Extens&atilde;o atual",en:"Current extent",es:"Extensi&oacute; actual"}],"d9":[{pt:"Abre/fecha o mapa de refer&ecirc;ncia",en:"Open/close the overview map",es:"Abre/cierra el mapa de referencia"}],"d9t":[{pt:"Mapa de refer&ecirc;ncia",en:"Overview map",es:"Mapa de referencia"}],"d10":[{pt:"Digite o novo valor de escala e clique no bot&atilde;o aplicar para alterar a escala do mapa",en:"Enter a new scale value and click the apply button to change the map scale",es:"Ingrese el nuevo valor de escala y haga clic en el bot&oacute;n aplicar para modificar la escala del mapa"}],"d11":[{pt:"Busca dados na Wikipedia na abrang&ecirc;ncia atual do mapa. Fa&ccedil;a um zoom no mapa antes de abrir essa op&ccedil;&atilde;o. Regi&ocirc;es muito extensas podem tornar a busca muito demorada",en:"Search for Wikipedia data in the current extent of the map. Zoom on the map before opening this option. Large regions can slow down searching",es:"Busca datos en Wikipedia de la extensi&oacute;n actual del mapa. Haga zoom en el mapa antes de abrir esta opci&oacute;n. Regiones muy extensas pueden hacer que la b&uacute;squeda sea muy lenta"}],"d11t":[{pt:"buscar na Wikip&eacute;dia",en:"search on Wikipedia",es:"buscar en Wikipedia"}],"d12":[{pt:"Imprime o mapa",en:"Print map",es:"Imprime el mapa"}],"d13":[{pt:"Localiza o IP do usu&aacute;rio no mapa",en:"Locate the user's IP on the map",es:"Localiza la IP del usuario en el mapa"}],"d14":[{pt:"Gera arquivo para 3D",en:"Generate a 3D file",es:"Genera archivo para 3D"}],"d15":[{pt:"Abre o Google Maps, mostrando uma imagem de sat&eacute;lite da regi&atilde;o vista no mapa principal",en:"Open Google Maps displaying a satellite image of the region shown on the main map",es:"Abre Google Maps, mostrando una imagen de sat&eacute;lite de la regi&oacute;n presentada en el mapa principal"}],"d15t":[{pt:"Google Maps",en:"Google Maps",es:"Google Maps"}],"d16":[{pt:"Pesquisa documentos na base de dados Scielo (dados preliminares)",en:"Search documents in the Scielo database (preliminary data)",es:"B&uacute;squeda de documentos en la base de datos Scielo (datos preliminares)"}],"d16t":[{pt:"Scielo",en:"Scielo",es:"Scielo"}],"d17":[{pt:"Projeto Confluence. Pontos de intersec&ccedil;&atilde;o de coordenadas observadas em campo",en:"Confluence Project. Intersection points of coordinates observed in field",es:"Proyecto Confluence. Puntos de intersecci&oacute;n de coordenadas observadas en campo"}],"d17t":[{pt:"conflu&ecirc;ncias",en:"confluences",es:"confluencias"}],"d18":[{pt:"Abre lente de amplia&ccedil;&atilde;o",en:"Open magnifying glass",es:"Abrir lupa"}],"d18t":[{pt:"lente de aumento",en:"magnifying glass",es:"lupa"}],"d19":[{pt:"Coloca as guias em uma janela m&oacute;vel",en:"Put guides in a moving window",es:"Coloca las gu&iacute;as en una ventana m&oacute;vil"}],"d20":[{pt:"Redesenha o mapa com as configura&ccedil;&ocirc;es iniciais.",en:"Reload the map with the initial settings.",es:"Recarga el mapa con las configuraciones iniciales."}],"d20t":[{pt:"reinicia",en:"restart",es:"reinicia",it:"reinicia"}],"d21":[{pt:"Mede a dist&acirc;ncia entre dois ou mais pontos clicados no mapa (menor dist&acirc;ncia). O c&aacute;lculo de dist&acirc;ncia &eacute; aproximado e sua precis&atilde;o depende da escala do mapa.",en:"Measure the distance between two or more clicked points on the map (shorter distance). The calculation of this distance is rough and its accuracy depends on the map scale.",es:"Mide la distancia entre dos o m&aacute;s puntos marcados en el mapa (menor distancia). El c&aacute;lculo de la distancia es aproximado y su exactitud depende de la escala del mapa."}],"d21t":[{pt:"Dist&acirc;ncia",en:"Distance",es:"Distancia"}],"d21a":[{pt:"Mede a &aacute;rea de um pol&iacute;gono desenhado na tela. O c&aacute;lculo de &aacute;rea &eacute; aproximado e sua precis&atilde;o depende da escala do mapa.",en:"Measure the area of a polygon drawn on the screen. The calculation of this area is rough and its accuracy depends on the map scale.",es:"Mide el &aacute;rea de un pol&iacute;gono dibujado sobre la pantalla. El c&aacute;lculo del &aacute;rea es aproximado y su exactitud depende de la escala del mapa."}],"d21at":[{pt:"&Aacute;rea",en:"Area",es:"&Aacute;rea"}],"d22":[{pt:"Insere pontos no mapa em coordenadas geogr&aacute;ficas. Os pontos inclu&iacute;dos podem ser transformados em linhas ou pol&iacute;gonos. Os pontos s&atilde;o armazenados em um tema tempor&aacute;rio, podendo-se fazer o download do arquivo shapefile.",en:"Insert points on the map in geographical coordinates. The added points can be converted into lines or polygons. The points are stored in a temporary theme and can be downloaded as a shapefile.",es:"Inserte puntos en el mapa en coordenadas geogr&aacute;ficas. Los puntos incluidos pueden ser transformados en l&iacute;neas o pol&iacute;gonos. Los puntos se almacenan en un tema temporal y se pueden descargar como archivo shapefile."}],"d22t":[{pt:"inserir pontos",en:"insert points",es:"insertar puntos"}],"d23":[{pt:"Insere um gr&aacute;fico no ponto clicado conforme os atributos existentes no tema escolhido. O tema deve possuir itens com valores num&eacute;ricos na tabela de atributos.",en:"Insert a chart on the clicked point according to the attributes of the selected theme. The theme must have records with numerical values in the table of attributes.",es:"Inserte un gr&aacute;fico en el punto marcado seg&uacute;n los atributos existentes en el tema seleccionado. El tema debe tener campos con valores num&eacute;ricos en la tabla de atributos."}],"d23t":[{pt:"Clique gr&aacute;fico",en:"Click on the chart",es:"Haga clic en el gr&aacute;fico"}],"d24":[{pt:"Abre as ferramentas para sele&ccedil;&atilde;o de elementos de um tema. Os elementos selecionados podem ser utilizados em outras opera&ccedil;&ocirc;es, como buffer e sele&ccedil;&atilde;o por tema.",en:"Open the tools for selecting features of a theme. The selected features can be used for other operations like buffer or selection by theme.",es:"Abre las herramientas para seleccionar elementos de un tema. Los elementos seleccionados pueden ser utilizados en otras operaciones como &aacute;reas de influencia (buffer) y selecci&oacute;n por tema."}],"d24t":[{pt:"Selecionar",en:"Select",es:"Seleccionar"}],"d25":[{pt:"Insere texto no mapa clicando em um ponto. Utilize essa op&ccedil;&atilde;o para adicionar informa&ccedil;&ocirc;es ao mapa.",en:"Insert a text on the map by clicking on a point. Use this option to add information on the map.",es:"Inserte un texto en el mapa haciendo clic en un punto. Utilice esta opci&oacute;n para agregar informaci&oacute;n en el mapa."}],"d25t":[{pt:"Inserir texto",en:"Insert text",es:"Insertar texto"}],"d26":[{pt:"Escolha o visual para os bot&otilde;es e outras caracter&iacute;sticas visuais do mapa",en:"Choose a button appearance and other visual characteristics of the map",es:"Elija el aspecto para los botones y otras caracter&iacute;sticas visuales del mapa"}],"d27":[{pt:"Interface",en:"Interface",es:"interfaz"}],"d28":[{pt:"Aguarde...gerando os arquivos",en:"Please wait...generating files",es:"Espera...generando los archivos"}],"d29":[{pt:"Esta&ccedil;&otilde;es METAR",en:"METAR stations",es:"Estaciones METAR"}],"d30":[{pt:"Linha do tempo",en:"Timeline",es:"L&iacute;nea del tiempo"}],"d31":[{pt:"N&atilde;o existe nenhuma camada com etiquetas ativas",en:"There is no layer with active labels",es:"No existe ninguna capa con etiquetas activas"}],"d32":[{pt:"Aplicativos",en:"Applications",es:"Aplicaciones"}],"ge1":[{pt:"Navega&ccedil;&atilde;o com o mouse",en:"Navigation with the mouse",es:"Navegaci&oacute;n con el rat&oacute;n"}],"ge2":[{pt:"Barra de status",en:"Status bar",es:"Barra de estado"}],"ge3":[{pt:"Mapa de refer&ecirc;ncia",en:"Overview map",es:"Mapa de referencia"}],"ge4":[{pt:"Escala e legenda",en:"Scale and legend",es:"Escala y leyenda"}],"ge5":[{pt:"Atmosfera",en:"Atmosphere",es:"Atm&oacute;sfera"}],"ge6":[{pt:"Grade de coordenadas",en:"Coordinates grid",es:"Cuadr&iacute;culas de coordenadas"}],"ge7":[{pt:"Luz do sol",en:"Sun light",es:"Luz del sol"}],"ge8":[{pt:"Limites pol&iacute;ticos",en:"Political boundaries",es:"L&iacute;mites pol&iacute;ticos"}],"ge9":[{pt:"Constru&ccedil;&otilde;es em 3D",en:"3D buildings ",es:"Construciones en 3D"}],"ge10":[{pt:"Estradas",en:"Roads",es:"Carreteras"}],"ge11":[{pt:"Terreno",en:"Terrain",es:"Terreno"}],"x1":[{pt:"P&aacute;gina principal",en:"Main page",es:"P&aacute;gina principal"}],"x2":[{pt:"Lista de menus",en:"Menu lists",es:"Lista de men&uacute;s"}],"x3":[{pt:"Miniaturas",en:"Thumbnails",es:"Miniaturas"}],"x4":[{pt:"Pesquisa na INDE",en:"Search in INDE",es:"B&uacute;squeda en INDE"}],"x5":[{pt:"Editar subgrupos",en:"Edit subgroups",es:"Editar subgrupos"}],"x6":[{pt:"Editar temas",en:"Edit themes",es:"Editar temas"}],"x7":[{pt:"op&ccedil;&atilde;o vis&iacute;vel apenas para editores",en:"option visible to editors only",es:"opci&oacute;n visible solo para editores"}],"x8":[{pt:"Sistema de administra&ccedil;&atilde;o",en:"Management system",es:"Sistema de administraci&oacute;n"}],"x9":[{pt:"Editar &aacute;rvore",en:"Edit tree",es:"Editar &aacute;rbol"}],"x10":[{pt:"Editar menus do cat&aacute;logo",en:"Edit catalog menus",es:"Editar men&uacute;s del cat&aacute;logo"}],"x11":[{pt:"Abre em uma janela",en:"Open in a window",es:"Abre en una ventana"}],"x13":[{pt:"&Aacute;rvore de camadas n&atilde;o encontrada",en:"Tree layers not found",es:"Arboles de capas no se encuentra"}],"x14":[{pt:"sim",en:"yes",es:"s&iacute;"}],"x15":[{pt:"n&atilde;o",en:"no",es:"no"}],"x16":[{pt:"Valor n&atilde;o definido",en:"Value not defined",es:"Valor no definido"}],"x17":[{pt:"Essa op&ccedil;&atilde;o afeta apenas a impress&atilde;o do mapa",en:"This option only affects map printing",es:"Esta opci&oacute;n solo afecta a la impresi&oacute;n del mapa"}],"x18":[{pt:"Nome n&atilde;o definido",en:"Name not defined",es:"Nombre no definido"}],"x19":[{pt:"Coment&aacute;rios de",en:"Reviews of",es:"Comentarios de"}],"x20":[{pt:"Clique no mapa para desenhar o pol&iacute;gono",en:"Click on the map to draw a polygon",es:"Haga clic en el mapa para dibujar un pol&iacute;gono"}],"x21":[{pt:"Essa opera&ccedil;&atilde;o n&atilde;o funciona nessa interface",en:"This operation does not work on this interface",es:"Esta operaci&oacute;n no funciona en esta interfaz"}],"x22":[{pt:"Op&ccedil;&atilde;o n&atilde;o dispon&iacute;vel",en:"Option not available",es:"Opci&oacute;n no disponible"}],"x23":[{pt:"Dire&ccedil;&atilde;o",en:"Direction",es:"Direcci&oacute;n"}],"x25":[{pt:"M&eacute;todo para calcular dist&acirc;ncias",en:"Method to calculate distances",es:"M&eacute;todo para calcular distancias"}],"x26":[{pt:"Voce quer mesmo encerrar a sessao?",en:"Do you want to logout?",es:"&iquest;Quiere cerrar la sesi&oacute;n?"}],"x27":[{pt:"Usu&aacute;rio",en:"User",es:"Usuario"}],"x28":[{pt:"Senha",en:"Password",es:"Contrase&ntilde;a"}],"x29":[{pt:"Enviar",en:"Submit",es:"Enviar"}],"x30":[{pt:"Ativo",en:"Active",es:"Activo"}],"x31":[{pt:"Erro",en:"Error",es:"Error"}],"x32":[{pt:"Recuperar senha",en:"Recover password",es:"Recuperar contrase&ntilde;a"}],"x33":[{pt:"Escolha um tema da lista",en:"Select a theme from the list",es:"Seleccione un tema de la lista"}],"x34":[{pt:"Lugar",en:"Place",es:"Lugar"}],"x35":[{pt:"Escolha um tipo de busca nas propriedades",en:"Choose a search type in the properties",es:"Elija un tipo de b&uacute;squeda en las propiedades"}],"x36":[{pt:"Digite uma palavra para busca!",en:"Enter search terms!",es:"Introduzca una palabra clave para buscar!"}],"x37":[{pt:"Onde ser&aacute; feita a busca",en:"Where will the search be done?",es:"&iquest;D&oacute;nde se realizar&aacute; la b&uacute;squeda?"}],"x38":[{pt:"Servi&ccedil;os de busca externos",en:"External search services",es:"Servicios de b&uacute;squeda externos"}],"x39":[{pt:"Temas existentes no mapa",en:"Existing themes on the map",es:"Temas existentes en el mapa"}],"x40":[{pt:"Apenas os temas especialmente configurados pelo administrador do i3Geo podem receber opera&ccedil;&otilde;es de busca",en:"Only those themes specially configarated by the i3Geo administrator can receive search operations",es:"Solo los temas especialmente configurados por el administrador de i3Geo pueden ser objeto de operaciones de b&uacute;squeda"}],"x41":[{pt:"Nada encontrado nos temas ou nenhum tema permite busca",en:"Nothing found in the themes or no theme allows searching",es:"Nada encontrado en los temas o ning&uacute;n tema permite b&uacute;squedas"}],"x42":[{pt:"Nada encontrado em ",en:"Nothing found at ",es:"No se encontr&oacute; nada en "}],"x43":[{pt:"Erro ao acessar o servi&ccedil;o",en:"Error accessing the service",es:"Error al acceder al servicio"}],"x44":[{pt:"Nuvem Flash",en:"Cloud Flash",es:"Nube Flash"}],"x45":[{pt:"Diret&oacute;rios",en:"Directories",es:"Directorios"}],"x46":[{pt:"Conex&atilde;o WMS-T",en:"WMS-T connection",es:"Conexi&oacute;n WMS-T"}],"x47":[{pt:"Conex&atilde;o GeoRSS",en:"GeoRSS connection",es:"Conexi&oacute;n GeoRSS"}],"x48":[{pt:"Rota",en:"Route",es:"Ruta"}],"x49":[{pt:"Coordenadas aproximadas",en:"Approximate coordinates",es:"Coordenadas aproximadas"}],"x50":[{pt:"Feche para parar",en:"Close to stop",es:"Cierre para parar"}],"x51":[{pt:"Sele&ccedil;&atilde;o",en:"Selection",es:"Selecci&oacute;n"}],"x52":[{pt:"Alterar senha",en:"Change password",es:"Cambiar contrase&ntilde;a"}],"x53":[{pt:"Upload de WMC",en:"WMC upload",es:"Subir WMC"}],"x54":[{pt:"Perfil",en:"Profile",es:"Perfil"}],"x55":[{pt:"Salva o tema",en:"Save theme",es:"Guarda el tema"}],"x56":[{pt:"Topon&iacute;mia",en:"Toponymy",es:"Toponimia"}],"x57":[{pt:"Cartogramas estat&iacute;sticos",en:"Statistical cartograms",es:"Cartogramas estad&iacute;sticos"}],"x58":[{pt:"Continua",en:"Continue",es:"Seguir"}],"x59":[{pt:"Localiza",en:"Locate",es:"Localiza"}],"x60":[{pt:"Cartogramas",en:"Cartograms",es:"Cartogramas"}],"x61":[{pt:"Filtra limite",en:"Filter limit",es:"Filtra l&iacute;mite"}],"x62":[{pt:"Remover",en:"Remove",es:"Eliminar"}],"x63":[{pt:"Para salvar as configura&ccedil;&otilde;es de uma camada,<br> utilize a op&ccedil;&atilde;o existente na &aacute;rvore de camadas no n&oacute; correspondente ao tema (basta expandir o tema para visualizar as op&ccedil;&otilde;es)<br><br>",en:"To save a layer setting,<br> use the option available in the layer tree corresponding to the theme node (just expand the theme to view the options)<br><br>",es:"Para guardar la configuraci&oacute;n de una capa,<br> utilice la opci&oacute;n disponible en la &aacute;rbol de capas en el nodo correspondiente al tema (basta con expandir el tema para ver las opciones)<br><br>"}],"x64a":[{pt:"Congela a vis&atilde;o atual",en:"Freeze the current view",es:"Congela la vista actual"}],"x64":[{pt:"Item",en:"Item",es:"Item"}],"x65":[{pt:"Buscando &iacute;tens...",en:"Searching fields...",es:"Buscando campos..."}],"x66":[{pt:"Ocorreu um erro",en:"There was an error",es:"Ocurri&oacute; un error"}],"x67":[{pt:"Comunidade i3Geo",en:"i3Geo community",es:"Comunidad i3Geo"}],"x68":[{pt:"Vers&atilde;o",en:"Version",es:"Versi&oacute;"}],"zoomliShift":[{pt:"Pressione a tecla SHIFT junto com o bot&atilde;o esquerdo do mouse e arraste para definir a &aacute;rea que ser&aacute; aproximada",en:"Press the SHIFT key along with the left mouse button and drag to define the area you want to zoom",es:"Presione la tecla MAY&Uacute;S junto con el bot&oacute;n izquierdo del rat&oacute;n y arrastre para definir el &aacute;rea en la que desea hacer zoom"}],"zoomliCtrl":[{pt:"Pressione a tecla CTRL junto com o bot&atilde;o esquerdo do mouse e arraste para definir a &aacute;rea que ser&aacute; aproximada",en:"Press the CTRL key along with the left mouse button and drag to define the area you want to zoom",es:"Presione la tecla CTRL junto con el bot&oacute;n izquierdo del rat&oacute;n y arrastre para definir el &aacute;rea en la que desea hacer zoom"}],"x70":[{pt:"Utilize os dedos em um movimento de pin&ccedil;a para definir a &aacute;rea que ser&aacute; aproximada ou afastada",en:"Use the pinch-zoom gesture to define the area that will be zoomed in or out",es:"Utilice los gestos de pinzas de los dedos para definir el &aacute;rea que ser&aacute; acercada o alejada"}],"x71":[{pt:"Aplicativos estat&iacute;sticos cadastrados",en:"Registered statistical applications",es:"Aplicaciones estad&iacute;sticas registradas"}],"x72":[{pt:"Lista de mapas cadastrados",en:"List of registered maps",es:"Lista de los mapas registrados"}],"x73":[{pt:"Redirecionar para a vers&atilde;o adaptada para dispositivos m&oacute;veis?",en:"Redirect to mobile version?",es:"Redireccionar a una versi&oacute;n adaptada a dispositivos m&oacute;viles?"}],"x74":[{pt:"Fecha",en:"Close",es:"Cierra"}],"x75":[{pt:"Cancela",en:"Cancel",es:"Cancela"}],"x76":[{pt:"O tema j&aacute; existe no mapa.",en:"This theme already exists on theme map.",es:"El tema ya existe en el mapa."}],"x77":[{pt:"Nome do novo marcador",en:"New bookmark name",es:"Nombre de marcador nuevo"}],"x78":[{pt:"Copie os marcadores e cole em um editor para guard&aacute;-los",en:"Copy bookmarks and paste in an editor to save them",es:"Copiar los marcadores y pegarlos en un editor para guardarlos"}],"x79":[{pt:"Marcadores",en:"Bookmarks",es:"Marcadores"}],"x80":[{pt:"Exportar",en:"Export",es:"Exportar"}],"x81":[{pt:"Importar",en:"Import",es:"Importar"}],"x82":[{pt:"Marcar regi&atilde;o",en:"Mark region",es:"Marcar regi&oacute;n"}],"x83":[{pt:"Cole os marcadores para import&aacute;-los",en:"Paste the bookmarks to import",es:"Pegue los marcadores para importarlos"}],"x84":[{pt:"Exportar SHP",en:"Export SHP",es:"Exportar SHP"}],"x85":[{pt:"Visualizador de WMS da INDE-Br",en:"INDE-Br WMS viewer",es:"Visualizador de WMS de INDE-Br"}],"x86":[{pt:"Prefer&ecirc;ncias",en:"Preferences",es:"Preferencias"}],"x87":[{pt:"Limites e localidades",en:"Boundaries and localities",es:"L&iacute;mites y localidades"}],"x88":[{pt:"Prefer&ecirc;ncias",en:"Preferences",es:"Preferencias"}],"x89":[{pt:"Editar cadastro",en:"Edit register",es:"Editar registro"}],"x90":[{pt:"Mapas cadastrados",en:"Registered maps",es:"Mapas registrados"}],"x91":[{pt:"Feche para parar. Desligue o tema para ver o efeito",en:"Close to stop. Turn off the theme to see the effect",es:"Cierre para parar. Apague el tema para ver el efecto"}],"x92":[{pt:"Escolha uma camada",en:"Select a layer",es:"Seleccione una capa"}],"x93":[{pt:"Localiza&ccedil;&atilde;o do usu&aacute;rio",en:"User location",es:"Ubicaci&oacute;n del usuario"}],"x94":[{pt:"Remove as figuras da tela",en:"Remove pictures from the screen",es:"Quita las figuras de la pantalla"}],"x95":[{pt:"trecho",en:"stretch",es:"tramo"}],"x96":[{pt:"atual",en:"current",es:"actual"}],"x97":[{pt:"total",en:"total",es:"total"}],"x98":[{pt:"per&iacute;metro",en:"perimeter",es:"per&iacute;metro"}],"x99":[{pt:"C&aacute;lculo n&atilde;o pode ser realizado. Falta carregar a API de geometria do GM",en:"The calculation cannot be performed. It is necessary to upload the GM geometry API",es:"El c&aacute;lculo no puede ser realizado. Falta cargar la API de geometr&iacute;a de GM"}],"x101":[{pt:"C&oacute;pia",en:"Copy",es:"Copia"}],"x102":[{pt:"Mapa de calor",en:"Heatmap",es:"Mapa de calor"}],"x103":[{pt:"Links para abrir o mapa",en:"Links to open the map",es:"Links para abrir el mapa "}],"x104":[{pt:"Mapa de agrupamentos",en:"Cluster map",es:"Mapa de agrupaci&oacute;n"}],"x105":[{pt:"Navega&ccedil;&atilde;o",en:"Browsing",es:"Navegaci&oacute;n"}],"mais":[{pt:"Mais...",en:"More...",es:"M&aacute;s..."}],"uploadArquivoGeo":[{pt:"Upload de arquivo geo",en:"Geo file upload",es:"Carga del archivo geo"}],"conexaoServicoGeo":[{pt:"Conex&atilde;o com servi&ccedil;os geo",en:"Connection to geo services",es:"Conexi&oacute;n con servicios geo"}],"saikuAba":[{pt:"SAIKU - OLAP (abrir em nova aba)",en:"SAIKU - OLAP (open in a new tab)",es:"SAIKU - OLAP (abrir en una nueva pesta&ntilde;a)"}],"saikuMapa":[{pt:"SAIKU - OLAP (abrir em janela interna)",en:"SAIKU - OLAP (open in an inner window)",es:"SAIKU - OLAP (abrir en una ventana interna)"}],"refMapaAtual":[{pt:"Mapa atual",en:"Current map",es:"Mapa actual"}],"refMapaDinamico":[{pt:"Mapa fixo",en:"WMS",es:"WMS"}],"naoPermitido":[{pt:"Operacao nao autorizada para esse usuario",en:"This user does not have permission to perform this action",es:"Operaci&oacute;n no autorizada para este usuario"}],"melhorcaminho":[{pt:"Melhor caminho (raster)",en:"Best way (raster)",es:"Mejor camino (raster)"}],"tolerancia":[{pt:"Toler&acirc;ncia de busca (em pixels)",en:"Search tolerance (in pixels)",es:"Tolerancia de b&uacute;squeda (en pixeles)"}],"naoInstalado":[{pt:"Ferramenta n&atilde;o dispon&iacute;vel nessa instala&ccedil;&atilde;o do i3Geo",en:"Tool not available on this i3Geo installation",es:"Herramienta no disponible en esta instalaci&oacute;n de i3geo"}],"variaEscala":[{pt:"Depend&ecirc;ncia da escala",en:"Scale dependency",es:"Dependencia de escala"}],"mostraTodosLegenda":[{pt:"Mostra tudo",en:"Show all",es:"Muestra todo"}],"mostraSoLegenda":[{pt:"Mostra s&oacute; a legenda",en:"Show legend only",es:"Muestra solo la leyenda"}],"removerDoMapa":[{pt:"Remove a camada do mapa?",en:"Do you want to remove the layer from map?",es:"&iquest;Quiere remover la capa del mapa?"}],"dicaBuscaRapida":[{pt:"Abre uma janela flutuante com op&ccedil;&otilde;es de busca de dados em servi&ccedil;os como o Google Maps ou nas camadas exsitentes no mapa",en:"Open a floating window with data search options on services like Google Maps or on the map layers",es:"Abre una ventana flotante con opciones de b&uacute;squeda de datos en servicios como Google Maps o en las capas del mapa"}],"refresh":[{pt:"Refaz a &aacute;rvore, reconstruindo os &iacute;cones e lista de camadas",en:"Redo the tree by rebuilding the icons and the layer list",es:"Rehacer el &aacute;rbol reconstruyendo los iconos y la lista de capas"}],"lixeira":[{pt:"Clique para ver a lista de camadas em uma janela flutuante com op&ccedil;&atilde;o para remover um ou mais camadas do mapa. Arraste uma camada sobre esse &iacute;cone para remov&ecirc;-la individualmente",en:"Click to see the layer list in a floating window with the option to remove one or more layers from the map. Drag a layer to this icon to remove it individually",es:"Haga clic para ver la lista de capas en una ventana flotante con la opci&oacute;n de eliminar una o m&aacute;s capas del mapa. Arrastre una capa sobre este icono para removerla individualmente"}],"filtraCam":[{pt:"Permite filtrar a lista de camadas mostradas na &aacute;rvore conforme propriedades espec&iacute;ficas de cada uma",en:"It allows you to filter the layer lists shown in the tree according to their specific properties",es:"Permite filtrar la lista de capas mostradas en el &aacute;rbol seg&uacute;n las propiedades espec&iacute;ficas de cada una"}],"legenda":[{pt:"Abre a legenda do mapa em uma janela flutuante",en:"Open the map legend in a floating window",es:"Abre la leyenda del mapa en una ventana flotante "}],"ferramMapa":[{pt:"Mostra a lista de ferramentas que atuam sobre o mapa",en:"It shows a list of tools that perform tasks on the map",es:"Muestra la lista de herramientas que act&uacute;an sobre el mapa"}],"ferramCamadas":[{pt:"Mostra a lista de ferramentas que atuam sobre camadas",en:"It shows a list of tools that perform tasks on the layers",es:"Muestra una lista de herramientas que act&uacute;an sobre las capas"}],"ajudaEditorOlSalva":[{pt:"Para editar os atributos, utilize a ferramenta de identifica&ccedil;&atilde;o. &Eacute; necess&aacute;rio que exista uma coluna com identificadores &uacute;nicos na tabela a ser editada e que essa coluna esteja vis&iacute;vel na ferramenta de identifica&ccedil;&atilde;o.",en:"Use the identification tool to edit the attributes. There must be a column with unique identifiers in the table that will be edited. This column should be visible in the identification tool.",es:"Para editar los atributos utilice la herramienta de identificaci&oacute;n. Es necesario que exista una columna con identificadores &uacute;nicos en la tabla a ser editada y que esa columna sea visible en la herramienta de identificaci&oacute;n."}],"mascara":[{pt:"M&aacute;scara",en:"Mask",es:"M&aacute;scara"}],"result":[{pt:"Resultado",en:"Result",es:"Resultado"}],"tativo":[{pt:"Tema ativo",en:"Active theme ",es:"Tema activo"}],"geosel":[{pt:"geometria(s) selecionada(s) encontrada(s)",en:"selected geometry found",es:"geometr&iacute;a(s) seleccionada(s) encontrada(s)"}],"listar":[{pt:"Listar",en:"Make a list",es:"Hacer una lista"}],"sdados":[{pt:"Salvar dados",en:"Save data",es:"Guardar datos"}],"incorpo":[{pt:"Incorporar ao mapa",en:"Add to map",es:"Agregar al mapa"}],"selum":[{pt:"Selecione uma ou mais geometrias",en:"Select one or more geometries",es:"Seleccione una o m&aacute;s geometr&iacute;as"}],"atrib":[{pt:"Atributos",en:"Attributes",es:"Atributos"}],"reg":[{pt:"Registros",en:"Records",es:"Registros"}],"adic":[{pt:"Adicionando",en:"Adding",es:"Agregando"}],"stema":[{pt:"Salvar no tema",en:"Save the theme",es:"Salvar el tema"}],"seluma":[{pt:"Selecione apenas uma figura",en:"Select one picture only",es:"Seleccione solo una figura"}],"salva":[{pt:"Salva",en:"Save",es:"Salva"}],"canc":[{pt:"Cancela",en:"Cancel",es:"Cancela"}],"dlinha":[{pt:"digitalizar linha",en:"digitalize line",es:"digitalizar l&iacute;nea"}],"dpol":[{pt:"digitalizar poligono",en:"digitalize polygon",es:"digitalizar pol&iacute;gono"}],"dponto":[{pt:"digitalizar ponto",en:"digitalize point",es:"digitalizar punto"}],"dtexto":[{pt:"digitalizar texto",en:"digitalize text",es:"digitalizar texto"}],"cortaf":[{pt:"corta figura",en:"cut picture",es:"cortar figura"}],"modf":[{pt:"modifica figura",en:"modify picture",es:"modificar figura"}],"listag":[{pt:"lista geometrias",en:"list geometries",es:"crear lista de geometr&iacute;as"}],"frente":[{pt:"trazer para frente",en:"send forward",es:"traer al frente"}],"studo":[{pt:"selecionar tudo",en:"select all",es:"seleccionar todo"}],"ustudo":[{pt:"limpar sele&ccedil;&atilde;o",en:"clear selection",es:"limpiar la selecci&oacute;n"}],"excsel":[{pt:"Remove os elementos selecionados",en:"Remove selected features",es:"Remueve los elementos seleccionados"}],"opcoes":[{pt:"Op&ccedil;&otilde;es",en:"Options",es:"Opciones"}],"meneditor1":[{pt:"Para excluir registros do banco de dados utilize a ferramenta de identifica&ccedil;&atilde;o",en:"Use the identification tool to delete records from the database",es:"Para excluir registros de la base de datos utilice la herramienta de identificaci&oacute;n"}],"meneditor2":[{pt:"Nenhum elemento gr&aacute;fico encontrado. Utilize as op&ccedil;&otilde;es de cria&ccedil;&atilde;o de geometrias.",en:"No graphic element found. Use the options to create geometries.",es:"Ning&uacute;n elemento gr&aacute;fico encontrado. Utilice las opciones de creaci&oacute;n de geometr&iacute;a."}],"meneditor3":[{pt:"Voc&ecirc; precisa fazer login para usar a op&ccedil;&atilde;o de salvar no banco de dados",en:"You must be logged in to use the save to database option",es:"Usted debe iniciar sesi&oacute;n para utilizar la opci&oacute;n de guardar en la base de datos"}],"meneditor4":[{pt:"Valores iguais ao original",en:"Values equal to the original ones",es:"Valores iguales al original"}],"meneditor5":[{pt:"&Eacute; necess&aacute;rio ter um c&oacute;digo para poder excluir",en:"It is necessary to have a password to exclude",es:"Es necesario tener una clave para excluir"}],"meneditor6":[{pt:"Ap&oacute;s escolher a medida da vari&aacute;vel, clique no mapa para escolher o limite geogr&aacute;fico.",en:"After choosing the variable measure, click on the map to choose the geographical boundary.",es:"Despu&eacute;s de escoger la medida de la variable, haga clic en el mapa para seleccionar el l&iacute;mite geogr&aacute;fico."}],"opsel":[{pt:"Opera&ccedil;&otilde;es sobre as figuras selecionadas",en:"Operations on the selected pictures",es:"Operaciones sobre las figuras seleccionadas"}],"capturar":[{pt:"Capturar elemento de um tema",en:"Capture a theme feature",es:"Capturar elemento de un tema"}],"salvexc":[{pt:"Salvar/excluir dados",en:"Save/exclude data",es:"Guardar/excluir datos"}],"edatrib":[{pt:"Editar atributos",en:"Edit Attributes",es:"Editar atributos"}],"camedit":[{pt:"Camadas edit&aacute;veis",en:"Editable layers",es:"Capas editables"}],"nenhum":[{pt:"Nenhum",en:"None",es:"Ninguno"}],"tipo":[{pt:"Tipo",en:"Type",es:"Tipo"}],"abreMapa":[{pt:"Abrir o mapa",en:"Open the map",es:"Abrir el mapa "}],"areaAprox":[{pt:"&Aacute;rea aproximada",en:"Approximate area",es:"&Aacute;rea aproximada"}],"distAprox":[{pt:"Dist&acirc;ncia aproximada",en:"Approximate distance",es:"Distancia aproximada"}],"trocaInterface":[{pt:"Troca de interface",en:"Interface change",es:"Cambio de interfaz"}],"wkt2layer":[{pt:"Converte WKT em camada",en:"Convert WKT into layer",es:"Transformar WKT en capa"}],"salvaDadosEditor":[{pt:"Os dados s&oacute; podem ser salvos em temas que permitem edi&ccedil;&atilde;o e que possuem coluna com auto incremento",en:"Data can only be saved in themes that allow edition and have columns with auto-increment",es:"Los datos solo pueden ser guardados en los temas que permiten edici&oacute;n y que poseen columnas con auto incremento"}],"novaaba":[{pt:"Abre em nova aba",en:"Open in a new tab",es:"Abre en una pesta&ntilde;a nueva"}],"novonome":[{pt:"Novo nome",en:"New name",es:"Nombre nuevo"}],"medir":[{pt:"Medir/Calcular",en:"Measure/Calculate",es:"Medir/Calcular"}],"tabela":[{pt:"Tabela",en:"Table",es:"Tabla"}],"ligaDesliga":[{pt:"Liga/Desliga",en:"Turn on/Turn off",es:"Encender/Apagar"}],"naoPublicado":[{pt:"n&atilde;o publicado",en:"not published",es:"no publicado"}],"operacoesMapaTema":[{pt:"Opera&ccedil;&otilde;es sobre o mapa ou tema",en:"Operations on the map or theme",es:"Operaciones sobre el mapa o tema"}],"descMenuAjuda":[{pt:"Documenta&ccedil;&atilde;o, redes sociais, tutoriais...",en:"Documentation, social networks, tutorials...",es:"Documentaci&oacute;n, redes sociales, tutoriales..."}],"descMenuAnalise":[{pt:"Dist&acirc;ncia, &aacute;rea, buffer, gr&aacute;ficos...",en:"Distance, area, buffer, graphics...",es:"Distancia, &aacute;rea, buffer, gr&aacute;ficos..."}],"descArquivos":[{pt:"Salvar e carregar mapfile, lista de mapas...",en:"Save and upload mapfile, map list...",es:"Guardar y cargar mapfile, lista de mapas..."}],"descOperacoesMapaTema":[{pt:"Tabela, legenda, imprimir, upload, navega&ccedil;&atilde;o...",en:"Table, legend, print, upload, browsing...",es:"Tabla, leyenda, impresi&oacute;n, carga, navegaci&oacute;n..."}],"descOgcWms":[{pt:"Adiciona camada via servi&ccedil;o WMS",en:"Add layer via WMS service",es:"A&ntilde;ade capa a trav&eacute;s de servicio WMS"}],"descLimLoc":[{pt:"Regi&otilde;es cadastradas no sistema de metadados estat&iacute;sticos",en:"Regions registered in the statistical metadata system",es:"Regiones registradas en el sistema de metadatos estad&iacute;sticos"}],"descMeta":[{pt:"Camadas baseadas no sistema de metadados estat&iacute;sticos",en:"Layers based on the statistical metadata system",es:"Capas basadas en el sistema de metadatos estad&iacute;sticos"}],"descMapas":[{pt:"Mapas prontos para uso, com camadas j&aacute; selecionadas",en:"Ready-to-use maps with layers already selected",es:"Mapas listos para su uso con capas seleccionadas"}],"descEstrelas":[{pt:"Lista de camadas classificadas conforme o n&uacute;mero de acessos",en:"List of layers classified according to the number of accesses",es:"Lista de capas clasificadas seg&uacute;n el n&uacute;mero de accesos"}],"descSistemas":[{pt:"Sistemas com op&ccedil;&otilde;es espec&iacute;ficas e que permitem adicionar camadas ao mapa",en:"Systems with specific options that allow you to add layers to the map",es:"Sistemas con opciones espec&iacute;ficas que permiten agregar capas al mapa"}],"descDir":[{pt:"Diret&oacute;rio de arquivos shapefile",en:"Shapefile directory",es:"Directorio de archivos shapefile"}],"localiza":[{pt:"Posi&ccedil;&atilde;o",en:"Position",es:"Posici&oacute;n"}],"volta":[{pt:"volta",en:"back",es:"volver"}],"continua":[{pt:"continua",en:"continue",es:"continuar"}],"avanca":[{pt:"avan&ccedil;a",en:"go ahead",es:"avanzar"}],"tipvazio":[{pt:"N&atilde;o existe nenhuma camada no mapa que permita mostrar etiquetas",en:"There is no layer on the map that allows you to display labels",es:"No existe ninguna capa en el mapa que permita mostrar etiquetas"}],"erroTpl":[{pt:"Erro ao carregar um template",en:"Error loading template",es:"Error al cargar una plantilla"}],"remove":[{pt:"Remove",en:"Remove",es:"Eliminar"}],"iconeFerramentas":[{pt:"Caixa de ferramentas",en:"Tool box",es:"Caja de herramientas"}],"iconeMapa":[{pt:"Camadas inclu&iacute;das",en:"Layers included",es:"Capas incluidas"}],"iconeCatalogo":[{pt:"Incluir mais camadas",en:"Add more layers",es:"Incluir m&aacute;s capas"}],"iconeLegenda":[{pt:"Legenda do mapa",en:"Map Legend",es:"Leyenda del mapa"}],"iconeBalao":[{pt:"Info resumida",en:"Summary information",es:"Informaci&oacute;n resumida"}],"iconeIdentifica":[{pt:"Info completa",en:"Comprehensive information",es:"Informaci&oacute;n completa"}],"indeOk":[{pt:"Cat&aacute;logo da INDE j&aacute; est&aacute; dispon&iacute;vel",en:"INDE catalog now available",es:"Cat&aacute;logo del INDE ya est&aacute; disponible"}],"deveLigada":[{pt:"A camada deve estar vis&iacute;vel",en:"The layer must be visible",es:"La capa debe ser visible"}],"balaoVazio":[{pt:"N&atilde;o foram encontrados dados nas camadas dispon&iacute;veis. Experimente utilizar o &iacute;cone de mais informa&ccedil;&otilde;es",en:"No data was found on the available layers. Try to use the more infomation icon",es:"No se encontraron datos en las capas disponibles. Intente utilizar el icono de m&aacute;s informaci&oacute;n"}],"umaLigada":[{pt:"Pelo menos uma camada deve estar ligada no mapa",en:"At least one layer must be associated with the map",es:"Al menos una capa debe estar conectada en el mapa"}],"precisaApiGM":[{pt:"Essa op&ccedil;&atilde;o necessita de uma API do Google Maps. Consulte o administrador do sistema. O c&oacute;digo da API deve constar no arquivo de configura&ccedil;&atilde;o do i3Geo.",en:"This option requires a Google Maps API. Ask your system administrator for advice. The API code should be in the i3Geo configuration file.",es:"Esta opci&oacute;n requiere una API de Google Maps. Consulte con el administrador del sistema. El c&oacute;digo de la API debe incluirse en el archivo de configuraci&oacute;n de i3Geo."}],"graticule":[{pt:"Grade de coordenadas (ativa e desativa)",en:"Coordinate grid (turn on and turn off)",es:"Cuadr&iacute;cula de coordenadas (activa y desactiva)"}],"versaoAntiga":[{pt:"Essa op&ccedil;&atilde;o pode n&atilde;o funcionar corretamente devido a vers&atilde;o do sistema (Mapserver)",en:"This option may not work properly because of the system version (Mapserver)",es:"Esta opci&oacute;n puede que no funcione correctamente debido a la versi&oacute;n del sistema (Mapserver)"}],"camadasDeFundo":[{pt:"Camadas de fundo",en:"Basemap",es:"Mapa base"}],"funcaojstip":[{pt:"Fun&ccedil;&atilde;o JS (para as etiquetas)",en:"",es:""}],"rangeScaleMsg":[{pt:"Vis&iacute;vel apenas em determinadas escalas",en:"",es:""}],"layerDesenho":[{pt:"Camada de desenho",en:"",es:""}],"confirma":[{pt:"Confirma",en:"",es:""}],"selCorta":[{pt:"Selecione primeiro um elemento para ser cortado",en:"",es:""}],"desPol":[{pt:"Desenhe um pol&iacute;gono",en:"",es:""}],"union":[{pt:"Uni&atilde;o",en:"",es:""}],"intersect":[{pt:"Intersec&ccedil;&atilde;o",en:"",es:""}],"symdif":[{pt:"Diferen&ccedil;a sim&eacute;trica",en:"",es:""}],"dif":[{pt:"Diferen&ccedil;a",en:"",es:""}],"shiftdel":[{pt:"Para apagar um v&eacute;rtice, pressione shift e clique",en:"",es:""}],"extent":[{pt:"Extens&atilde;o",en:"",es:""}],"cola":[{pt:"Cola",en:"",es:""}],"fillring":[{pt:"Preenche as ilhas",en:"",es:""}],"naoremovewkt":[{pt:"Fecha sem remover o desenho",en:"",es:""}],"ativasnaptol":[{pt:"Ativa toler&acirc;ncia (snap)",en:"",es:""}],"freehand":[{pt:"M&atilde;o livre",en:"",es:""}],"masc":[{pt:"M&aacute;scara",en:"",es:""}],"fullscreen":[{pt:"Tela cheia",en:"",es:""}],"esquemadecores":[{pt:"Esquema de cores",en:"Color schema",es:"Esquema de colores"}],"copiaCamada":[{pt:"C&oacute;pia da camada",en:"Layer copy",es:"Copia de la capa"}],"contorno":[{pt:"Contorno",en:"Outline",es:"Contorno"}],"copytomemory":[{pt:"Copiado para a mem&oacute;ria",en:"",es:""}]};
2 1 \ No newline at end of file
  2 +g_traducao={"dec":[{pt:",",en:".",es:","}],"mil":[{pt:".",en:",",es:"."}],"p1":[{pt:"O i3Geo &eacute; software livre! Para download clique <a href='https://softwarepublico.gov.br/social/i3geo' target=blank >aqui</a>. <b><a href='http://"+window.location.host+"/i3geo/mobile/qrcode.htm' target=blank >Qrcode mobile</a></b>",en:"I3Geo is an open source software! Click <a href='https://softwarepublico.gov.br/social/i3geo' target=blank >here</a> to download. <b><a href='http://"+window.location.host+"/i3geo/mobile/qrcode.htm' target=blank >Qrcode mobile</a></b>",es:"i3Geo es software libre! Para descargar haga clic <a href='https://softwarepublico.gov.br/social/i3geo' target=blank >aqu&iacute;</a>. <b><a href='http://"+window.location.host+"/i3geo/mobile/qrcode.htm' target=blank >Qrcode mobile</a></b>"}],"p2":[{pt:"Filtro de cores",en:"Color filter",es:"Filtro de colores"}],"p3":[{pt:"Legenda",en:"Legend",es:"Leyenda"}],"p4":[{pt:"Escala",en:"Scale",es:"Escala"}],"p5":[{pt:"Tamanho",en:"Size",es:"Tama&ntilde;o"}],"p6":[{pt:"Ativa/desativa entorno",en:"Enable/disable environment",es:"Activar/desactivar entorno"}],"p7":[{pt:"Ativa/desativa logo",en:"Enable/disable logo",es:"Activar/desactivar logo"}],"p8":[{pt:"Cor da sele&ccedil;&atilde;o",en:"Selection color",es:"Color de la selecci&oacute;n"}],"p9":[{pt:"Cor do fundo",en:"Background color",es:"Color de fondo"}],"p10":[{pt:"Grade de coordenadas",en:"Coordinate grid",es:"Cuadr&iacute;cula de coordenadas"}],"p11":[{pt:"Template",en:"Template",es:"Plantilla"}],"p12":[{pt:"Temporizador",en:"Timer",es:"Temporizador"}],"p13":[{pt:"Propriedades",en:"Properties",es:"Propiedades"}],"p14":[{pt:"Aplicar",en:"Apply",es:"Aplicar"}],"p15":[{pt:"Formato da imagem do mapa",en:"Map image format",es:"Formato de la imagen del mapa"}],"p16":[{pt:"Fundo",en:"Basemap",es:"Mapa base"}],"p17":[{pt:"Imprime legenda",en:"Print legend",es:"Imprimir la leyenda"}],"p18":[{pt:"N&atilde;o imprime a legenda",en:"Do not print legend",es:"No imprimir la leyenda"}],"p19":[{pt:"Ativa ou desativa a legenda de um tema na op&ccedil;&atilde;o de impress&atilde;o do mapa",en:"Enable or disable the legend of a theme in the map print option",es:"Activa o desactiva la leyenda de un tema en la opci&oacute;n de impresi&oacute;n del mapa"}],"p20":[{pt:"Tela remota",en:"Remote screen",es:"Pantalla remota"}],"p21":[{pt:"Anima&ccedil;&atilde;o",en:"Animation",es:"Animaci&oacute;n"}],"s1":[{pt:"Ajuda",en:"Help",es:"Ayuda"}],"s2":[{pt:"An&aacute;lise",en:"Analysis",es:"An&aacute;lisis"}],"s3":[{pt:"Janelas",en:"Windows",es:"Ventanas"}],"s4":[{pt:"Arquivo",en:"File",es:"Archivo"}],"s5":[{pt:"Propriedades",en:"Properties",es:"Propiedades"}],"u1":[{pt:"Sobre o i3Geo",en:"About i3Geo",es:"Acerca de i3Geo"}],"u2":[{pt:"Doc. dos c&oacute;digos",en:"Doc. of codes",es:"Doc. de los c&oacute;digos"}],"u3":[{pt:"WikiBook",en:"WikiBook",es:"WikiBook"}],"u4":[{pt:"Tutoriais",en:"Tutorials",es:"Tutoriales"}],"u4a":[{pt:"Manual do usu&aacute;rio",en:"User manual",es:"Manual de usuario"}],"u5":[{pt:"Blog",en:"Blog",es:"Blog"}],"u5a":[{pt:"Software p&uacute;blico",en:"Public software",es:"Software p&uacute;blico"}],"u5b":[{pt:"Lista de fun&ccedil;&otilde;es",en:"Function lists",es:"Lista de funciones"}],"u5c":[{pt:"Redes sociais",en:"Social networks",es:"Redes sociales"}],"u6":[{pt:"Geometrias",en:"Geometries",es:"Geometr&iacute;as"}],"u7":[{pt:"Grade de pol&iacute;gonos",en:"Polygon grid",es:"Cuadr&iacute;cula de pol&iacute;gonos"}],"u8":[{pt:"Grade de pontos",en:"Point grid",es:"Cuadr&iacute;cula de puntos"}],"u9":[{pt:"Grade de hex&aacute;gonos",en:"Grid of Hexagons",es:"Cuadr&iacute;cula de hex&aacute;gonos"}],"u10":[{pt:"Entorno(Buffer)",en:"Buffer",es:"&Aacute;rea de influencia (Buffer)"}],"u11":[{pt:"Centr&oacute;ide",en:"Centroid",es:"Centroide"}],"u11a":[{pt:"Dist&acirc;ncia entre pontos",en:"Distance between points",es:"Distancia entre puntos"}],"u12":[{pt:"N pontos em poligono",en:"N points in polygon",es:"N puntos en pol&iacute;gono"}],"u13":[{pt:"Ponto em poligono/raster",en:"Point in polygon/raster",es:"Punto en pol&iacute;gono/raster"}],"u14":[{pt:"Distribui&ccedil;&atilde;o de pontos",en:"Point distribution",es:"Distribuci&oacute;n de puntos"}],"u15":[{pt:"Barras de ferramentas",en:"Toolbars",es:"Barras de herramientas"}],"u15a":[{pt:"Caixa de ferramentas",en:"Tool box",es:"Caja de herramientas"}],"u16":[{pt:"Janela de mensagens",en:"Message window",es:"Ventana de mensajes"}],"u17":[{pt:"Salvar mapa",en:"Save map",es:"Guardar el mapa"}],"u18":[{pt:"Carregar mapa",en:"Load map",es:"Cargar mapa"}],"u19":[{pt:"Pegar imagens",en:"Paste images",es:"Pegar im&aacute;genes"}],"u20":[{pt:"Converter em WMS e WMC",en:"Convert to WMS and WMC",es:"Convertir a WMS y WMC"}],"u20a":[{pt:"Converter em KML",en:"Convert to KML",es:"Convertir a KML"}],"u21":[{pt:"Gerador de links",en:"Link generator",es:"Generador de enlaces"}],"u22":[{pt:"Grade",en:"Grid",es:"Cuadr&iacute;cula"}],"u23":[{pt:"Ponto",en:"Point",es:"Punto"}],"u24":[{pt:"Pol&iacute;gono",en:"Polygon",es:"Pol&iacute;gono"}],"u25":[{pt:"Dissolve",en:"Dissolve",es:"Disolver"}],"u26":[{pt:"Agrupa",en:"Group",es:"Agrupar"}],"u27":[{pt:"Outros",en:"Others",es:"Otros"}],"u28":[{pt:"Centro m&eacute;dio",en:"Middle center",es:"Centro medio"}],"u29":[{pt:"Editor vetorial",en:"Vector editor",es:"Editor vectorial"}],"t1":[{pt:"Camadas",en:"Layers",es:"Capas"}],"t2":[{pt:"Arraste o tema aqui ou clique para excluir",en:"Drag the theme here or click to remove",es:"Arrastre el tema aqu&iacute; o haga clic para excluir"}],"t2a":[{pt:"Filtra a lista de camadas",en:"Filter the layer list",es:"Filtra la lista de capas"}],"t2b":[{pt:"Abre a legenda do mapa",en:"Open the map legend",es:"Despliega la leyenda del mapa"}],"t3":[{pt:"Clique para ligar ou desligar esse tema, mostrando-o ou n&atilde;o no mapa. Ap&oacute;s alterar o estado do tema, aguarde alguns instantes para o mapa ser redesenhado, ou clique no bot&atilde;o aplicar que ser&aacute; mostrado.",en:"Click to turn this theme off or on, showing it or not on the map. After changing the status of the theme, wait a few moments so that the map updates, or click the Apply button that will be displayed.",es:"Haga clic para encender o apagar este tema y mostrarlo o no en el mapa. Despu&eacute;s de cambiar el estado del tema, espere algunos instantes para que el mapa se actualice o haga clic en el bot&oacute;n aplicar que aparecer&aacute;."}],"t3a":[{pt:"Ligar todos os temas",en:"Turn on all themes",es:"Encender todos los temas"}],"t3b":[{pt:"Desligar todos os temas",en:"Turn off all themes",es:"Apagar todos los temas"}],"t4":[{pt:"Limpa sele&ccedil;&atilde;o",en:"Clear selection",es:"Limpia la selecci&oacute;n"}],"t4a":[{pt:"Zoom para a sele&ccedil;&atilde;o",en:"Zoom to selection",es:"Zoom a la selecci&oacute;n"}],"t5":[{pt:"Limpa sele&ccedil;&atilde;o existente nesse tema",en:"Clear an existing selection in this theme",es:"Limpia la selecci&oacute;n existente en este tema"}],"t6":[{pt:"Clique para fazer o download desse tema no formato shapefile",en:"Click to download this theme in shapefile format",es:"Haga clic para descargar este tema en formato shapefile"}],"t7":[{pt:"clique e arraste",en:"Click and drag",es:"Haga clic y arrastre"}],"t7a":[{pt:"Clique e arraste para mudar a ordem. Arraste e solte na lixeira para remover. Aguarde para ver a legenda.",en:"Click and drag to change the order. Drag and drop to the trash to remove. Wait to see the legend.",es:"Haga clic y arrastre para cambiar el orden. Arrastre y suelte en la papelera para remover. Aguarde para ver la leyenda."}],"t8":[{pt:"arraste para mudar a ordem",en:"drag to change the order",es:"arrastre para cambiar el orden"}],"t9":[{pt:"Compat&iacute;vel com a escala",en:"Compatible with the scale",es:"Compatible con la escala"}],"t10":[{pt:"Incompat&iacute;vel com a escala",en:"Incompatible with the scale",es:"Incompatible con la escala"}],"t11":[{pt:"Escala n&atilde;o conhecida",en:"Unknown scale",es:"Escala no conocida"}],"t12":[{pt:"Excluir",en:"Exclude",es:"Excluir"}],"t12a":[{pt:"Clique para excluir esse tema do mapa.",en:"Click to exclude this theme from the map.",es:"Haga clic para excluir este tema del mapa."}],"t13":[{pt:"Sobe",en:"Up",es:"Subir"}],"t14":[{pt:"Clique para subir esse tema na ordem de desenho",en:"Click to move up the theme in drawing order",es:"Haga clic para subir y cambiar el orden de dibujo de este tema"}],"t15":[{pt:"Desce",en:"Down",es:"Bajar"}],"t16":[{pt:"Clique para descer esse tema na ordem de desenho",en:"Click to move down the theme in drawing order",es:"Haga clic para bajar y cambiar el orden de dibujo de este tema"}],"t17":[{pt:"Zoom para o tema",en:"Zoom to theme",es:"Zoom al tema"}],"t18":[{pt:"Clique para ajustar o mapa de forma a mostrar todo o tema",en:"Click to show the whole theme by adjusting the map",es:"Haga clic para ajustar el mapa de manera de poder ver todo el tema"}],"t18a":[{pt:"Op&ccedil;&otilde;es e propriedades",en:"Options and properties",es:"Opciones y propiedades"}],"t18b":[{pt:"Legenda",en:"Legend",es:"Leyenda"}],"t19":[{pt:"Altera a transpar&ecirc;ncia do tema, possibilitando que as camadas inferiores possam ser vistas.",en:"Change layer transparency to enable visibility of bottom layers.",es:"Altera la transparencia del tema haciendo posible que las capas inferiores se puedan ver."}],"t20":[{pt:"Opacidade",en:"Opacity",es:"Opacidad"}],"t22":[{pt:"Localize elementos no tema com base em seus atributos descritivos.",en:"Search for elements on the theme based on their descriptive attributes.",es:"Ubique elementos en el tema en base a sus atributos descriptivos."}],"t23":[{pt:"Procurar",en:"Search",es:"Buscar"}],"t24":[{pt:"Crie uma nova camada no mapa para apresentar textos descritivos sobre esse tema, tendo como base a tabela de atributos.",en:"Create a new layer on the map based on the table of attributes to display descriptive texts about this theme.",es:"Crear una nueva capa en el mapa para presentar textos descriptivos sobre este tema, teniendo como base la tabla de atributos."}],"t25":[{pt:"Etiquetas baseadas em atributos",en:"Labels based on attributes",es:"Etiquetas basadas en atributos"}],"t26":[{pt:"Defina as etiquetas que ser&atilde;o mostradas quando o mouse &eacute; estacionado sobre um elemento desse tema.",en:"Define labels that will be shown when the mouse is over a feature of this theme.",es:"Defina las etiquetas que se mostrar&aacute;n cuando el rat&oacute;n se detenga sobre un elemento de este tema."}],"t27":[{pt:"Ativar etiquetas",en:"Activate labels",es:"Activar etiquetas"}],"t28":[{pt:"Insira um filtro nesse tema para mostrar apenas determinadas informa&ccedil;&otilde;es, com base na tabela de atributos.",en:"Insert a filter in this theme based on the table of attributes to show only specific information.",es:"Inserte un filtro en este tema para mostrar solo determinadas informaciones, con base en la tabla de atributos."}],"t29":[{pt:"Filtrar",en:"Filter",es:"Filtrar"}],"t30":[{pt:"Veja a tabela de atributos relacionada a esse tema.",en:"See the table of attributes related to this theme.",es:"Vea la tabla de atributos relacionada con este tema."}],"t31":[{pt:"Tabela com os dados",en:"Table with data",es:"Tabla con los datos"}],"t32":[{pt:"Abre o editor de legenda, permitindo a altera&ccedil;&atilde;o da forma de representa&ccedil;&atilde;o desse tema.",en:"Open the legend editor to change the way this theme is rendered.",es:"Abre el editor de leyenda para modificar la forma de representaci&oacute;n de este tema."}],"t33":[{pt:"Editar legenda",en:"Edit legend",es:"Editar leyenda"}],"t34":[{pt:"Mostra os dados desse tema em uma janela que acompanha o mouse.",en:"Show the data of this theme in a window that tracks the mouse.",es:"Muestra los datos de este tema en una ventana que acompa&ntilde;a el rat&oacute;n."}],"t35":[{pt:"Mostra em janela",en:"Show in window",es:"Mostrar en la ventana"}],"t36":[{pt:"tema vis&iacute;vel apenas em determinadas escalas",en:"theme visible only at certain scales",es:"el tema es visible solo en ciertas escalas"}],"t37":[{pt:"Gr&aacute;fico",en:"Chart",es:"Gr&aacute;fico"}],"t37a":[{pt:"Tema com gr&aacute;ficos",en:"Theme with charts",es:"Tema con gr&aacute;ficos"}],"t37b":[{pt:"Gr&aacute;fico interativo",en:"Interactive chart",es:"Gr&aacute;fico interactivo"}],"t38":[{pt:"Exporta a legenda para o padr&atilde;o SLD.",en:"Export the legend to SLD schema.",es:"Exporta la leyenda para el est&aacute;ndar SLD."}],"t39":[{pt:"Exportar SLD",en:"Export SLD",es:"Exportar SLD"}],"t40":[{pt:"Abre a ferramenta que permite alterar o SQL de acesso aos dados",en:"Open the tool to change the SQL to access data",es:"Abre la herramienta que permite cambiar el SQL de acceso a los datos"}],"t41":[{pt:"Editar SQL",en:"Edit SQL",es:"Editar SQL"}],"t42":[{pt:"Cortina",en:"Curtain",es:"Cortina"}],"t43":[{pt:"Aplicar SLD",en:"Apply SLD",es:"Aplicar SLD"}],"t44":[{pt:"Salvar mapfile",en:"Save mapfile",es:"Guardar mapfile"}],"t45":[{pt:"Comentar",en:"Comment",es:"Comentar"}],"t46":[{pt:"Mais populares",en:"Most popular",es:"M&aacute;s populares"}],"t48":[{pt:"Temporizador",en:"Timer",es:"Temporizador"}],"t49":[{pt:"Mapa tem&aacute;tico 3D",en:"3D tematic map",es:"Mapa tem&aacute;tico 3D"}],"a1":[{pt:"Procurar tema:",en:"Search theme:",es:"Buscar tema:"}],"a2":[{pt:"Upload de shape file",en:"Upload shapefile",es:"Subir shapefile"}],"a2b":[{pt:"Upload de DBF ou CSV",en:"Upload DBF or CSV",es:"Subir DBF o CSV"}],"a3":[{pt:"Download de dados",en:"Data downloading",es:"Descarga de datos"}],"a3a":[{pt:"Importar Web Map Context",en:"Import Web Map Context",es:"Importar Web Map Context"}],"a4":[{pt:"Conectar com servidor WMS",en:"Connect to WMS server",es:"Conectar al servidor WMS"}],"a4b":[{pt:"Conectar com servidor WMS-T",en:"Connect to WMS-T server",es:"Conectar al servidor WMS-T"}],"a5":[{pt:"Conectar com GeoRss",en:"Connect to GeoRss",es:"Conectar con GeoRss"}],"a5a":[{pt:"Nuvem de tags",en:"Tag cloud",es:"Nube de etiquetas"}],"a6":[{pt:"Acesso aos arquivos do servidor",en:"Access to server files",es:"Acceso a los archivos del servidor"}],"a7":[{pt:"Temas",en:"Theme",es:"Temas"}],"a8":[{pt:"Clique no box ao lado do tema para ligar ou desligar, mostrando-o ou n&atilde;o no mapa. Ap&oacute;s alterar o estado do tema, aguarde alguns instantes para o mapa ser redesenhado, ou clique no bot&atilde;o aplicar que ser&aacute; mostrado.",en:"Click the box next to the theme to turn it on or off, showing it or not on the map. After changing the status of the theme, wait a few moments so that the map updates, or click the Apply button that will be displayed.",es:"Haga clic en el cuadro ubicado al lado del tema para encender o apagarlo y mostralo o no en el mapa. Despu&eacute;s de cambiar el estado del tema, espere algunos instantes para que el mapa se actualice o haga clic en el bot&oacute;n aplicar que aparecer&aacute;."}],"a9":[{pt:"Fonte",en:"Font",es:"Fuente"}],"a10":[{pt:"c&oacute;digo:",en:"code",es:"c&oacute;digo"}],"a11":[{pt:"Sistemas",en:"Systems",es:"Sistemas"}],"a12":[{pt:"Abrir sistema",en:"Open system",es:"Abrir sistema"}],"a13":[{pt:"Abrir no Google Earth",en:"Open with Google Earth",es:"Abrir en Google Earth"}],"a14":[{pt:"Upload SHP, CSV...",en:"Upload SHP, CSV...",es:"Subir SHP, CSV..."}],"a15":[{pt:"Conex&otilde;es",en:"Conections",es:"Conexiones"}],"a16":[{pt:"Servi&ccedil;os",en:"Services",es:"Servicios"}],"g1":[{pt:"Temas",en:"Themes",es:"Temas"}],"g1a":[{pt:"Cat&aacute;logo",en:"Catalog",es:"Cat&aacute;logo"}],"g2":[{pt:"Adiciona",en:"Add",es:"Agregar"}],"g3":[{pt:"Legenda",en:"Legend",es:"Leyenda"}],"g4":[{pt:"Mapas",en:"Maps",es:"Mapas"}],"g4a":[{pt:"Mapa",en:"Map",es:"Mapa"}],"o1":[{pt:"Aguarde...",en:"Wait...",es:"Espere..."}],"o2":[{pt:"Busca r&aacute;pida",en:"Quick search",es:"B&uacute;squeda r&aacute;pida"}],"o3":[{pt:"Lendo imagem...",en:"Reading image...",es:"Leyendo imagen..."}],"o4":[{pt:"Aguarde...abrindo lente",en:"Wait...Opening magnifying glass",es:"Espere...abriendo lupa"}],"o5":[{pt:"Aguarde...iniciando",en:"Wait...initializing",es:"Espere...iniciando"}],"o6":[{pt:"din&acirc;mico",en:"Dynamic",es:"Din&aacute;mico"}],"d1":[{pt:"Digite as coordenadas de um ponto (X=longitude e Y=latitude) para localizar-lo no mapa. no mapa. O centro do mapa ser&aacute; deslocado para o ponto digitado.",en:"Enter the coordinates of a point (X=longitude and Y=latitude) to localize it on the map. The map center will move to this point.",es:"Digite las coordenadas de un punto (X=longitud e Y=latitud) para ubicarlas en el mapa. El centro del mapa se desplazar&aacute; al punto introducido."}],"d2":[{pt:"Altera a escala do mapa ajustando-a para mostrar a mesma abrang&ecirc;ncia geogr&aacute;fica da inicializa&ccedil;&atilde;o.",en:"Change the map scale to show the initial geographical extent.",es:"Modifica la escala del mapa ajust&aacute;ndola para mostrar la misma &aacute;rea geogr&aacute;fica inicial."}],"d2t":[{pt:"Enquadramento inicial",en:"Initial extent",es:"Extensi&oacute;n inicial"}],"d3":[{pt:"Amplia o mapa - desloca o ponto clicado para centro da tela ou amplia a regi&atilde;o indicada por um ret&acirc;ngulo. Ap&oacute;s ativada, clique e arraste o mouse sobre o mapa na &aacute;rea de zoom desejada.",en:"It enlarges the map - places the clicked point on the center of the screen or enlarge the map on a region indicated by a rectangle. Once activated, click and drag the mouse over the map into the desired area.",es:"Ampl&iacute;a el mapa - coloca el punto donde se hizo clic en el centro de la pantalla o ampl&iacute;a a la regi&oacute;n indicada con un rect&aacute;ngulo. Despu&eacute;s de activarla, haga clic y arrastre el rat&oacute;n sobre el mapa en el &aacute;rea de zoom deseada."}],"d3t":[{pt:"clique e arraste para ampliar",en:"click and drag to enlarge",es:"Haga click y arraste para ampliar"}],"d4":[{pt:"Desloca a regi&atilde;o vis&iacute;vel no mapa. Ap&oacute;s ativada, clique e arraste o mouse sobre o mapa para deslocar a regi&atilde;o vis&iacute;vel.",en:"It moves the visible region on the map. After being activated, click and drag the mouse over the map to move the visible region.",es:"Desplaza la regi&oacute;n visible en el mapa. Una vez activada, haga clic y arrastre el rat&oacute;n sobre el mapa para desplazar la zona visible."}],"d4t":[{pt:"clique e arraste para deslocar",en:"click and drag to move",es:"haga click y arraste para mover"}],"d5":[{pt:"Amplia o mapa tendo como refer&ecirc;ncia o centro atual.",en:"Enlarge the map based on the current center.",es:"Ampl&iacute;a el mapa teniendo como referencia el centro actual."}],"d5t":[{pt:"aproximar",en:"zoom in",es:"acercar"}],"d6":[{pt:"Reduz o mapa tendo como refer&ecircncia o centro atual.",en:"Reduce the map based on the current center.",es:"Reduce el mapa teniendo como referencia el centro actual"}],"d6t":[{pt:"afastar",en:"zoom out",es:"alejar",it:"afastar"}],"d7":[{pt:"Mostra informa&ccedil;&otilde;es sobre um ponto no mapa. Ap&oacute;s ativada, clique sobre o mapa.",en:"It displays information about a point on the map. After being activated, click on the map.",es:"Muestra informaci&oacute;n sobre un punto en el mapa. Despu&eacute;s de activarla haga clic sobre el mapa."}],"d7t":[{pt:"Info",en:"Info",es:"Info"}],"d7a":[{pt:"Mostra informa&ccedil;&otilde;es resumidas sobre um ponto clicado no mapa. N&atilde;o &eacute; necess&aacute;rio clicar nesse &iacute;cone para ativar, basta clicar no mapa a qualquer tempo.",en:"Display summary information about a point clicked on the map. It is not necessary to click this icon to activate it, just click on the map at any time.",es:"Muestra informaci&oacute;n resumida de un punto sobre el cual se ha hecho clic en el mapa. No es necesario hacer clic en ese icono para activarlo, simplemente haga clic en el mapa en cualquier momento."}],"d7at":[{pt:"etiqueta",en:"label",es:"etiqueta"}],"d8":[{pt:"Mostra a extens&atilde;o geogr&aacute;fica atual em coordenadas geogr&aacute;ficas",en:"Show the current extent in geographic coordinates",es:"Muestra la extensi&oacute;n geogr&aacute;fica actual en coordenadas geogr&aacute;ficas"}],"d8t":[{pt:"Extens&atilde;o atual",en:"Current extent",es:"Extensi&oacute; actual"}],"d9":[{pt:"Abre/fecha o mapa de refer&ecirc;ncia",en:"Open/close the overview map",es:"Abre/cierra el mapa de referencia"}],"d9t":[{pt:"Mapa de refer&ecirc;ncia",en:"Overview map",es:"Mapa de referencia"}],"d10":[{pt:"Digite o novo valor de escala e clique no bot&atilde;o aplicar para alterar a escala do mapa",en:"Enter a new scale value and click the apply button to change the map scale",es:"Ingrese el nuevo valor de escala y haga clic en el bot&oacute;n aplicar para modificar la escala del mapa"}],"d11":[{pt:"Busca dados na Wikipedia na abrang&ecirc;ncia atual do mapa. Fa&ccedil;a um zoom no mapa antes de abrir essa op&ccedil;&atilde;o. Regi&ocirc;es muito extensas podem tornar a busca muito demorada",en:"Search for Wikipedia data in the current extent of the map. Zoom on the map before opening this option. Large regions can slow down searching",es:"Busca datos en Wikipedia de la extensi&oacute;n actual del mapa. Haga zoom en el mapa antes de abrir esta opci&oacute;n. Regiones muy extensas pueden hacer que la b&uacute;squeda sea muy lenta"}],"d11t":[{pt:"buscar na Wikip&eacute;dia",en:"search on Wikipedia",es:"buscar en Wikipedia"}],"d12":[{pt:"Imprime o mapa",en:"Print map",es:"Imprime el mapa"}],"d13":[{pt:"Localiza o IP do usu&aacute;rio no mapa",en:"Locate the user's IP on the map",es:"Localiza la IP del usuario en el mapa"}],"d14":[{pt:"Gera arquivo para 3D",en:"Generate a 3D file",es:"Genera archivo para 3D"}],"d15":[{pt:"Abre o Google Maps, mostrando uma imagem de sat&eacute;lite da regi&atilde;o vista no mapa principal",en:"Open Google Maps displaying a satellite image of the region shown on the main map",es:"Abre Google Maps, mostrando una imagen de sat&eacute;lite de la regi&oacute;n presentada en el mapa principal"}],"d15t":[{pt:"Google Maps",en:"Google Maps",es:"Google Maps"}],"d16":[{pt:"Pesquisa documentos na base de dados Scielo (dados preliminares)",en:"Search documents in the Scielo database (preliminary data)",es:"B&uacute;squeda de documentos en la base de datos Scielo (datos preliminares)"}],"d16t":[{pt:"Scielo",en:"Scielo",es:"Scielo"}],"d17":[{pt:"Projeto Confluence. Pontos de intersec&ccedil;&atilde;o de coordenadas observadas em campo",en:"Confluence Project. Intersection points of coordinates observed in field",es:"Proyecto Confluence. Puntos de intersecci&oacute;n de coordenadas observadas en campo"}],"d17t":[{pt:"conflu&ecirc;ncias",en:"confluences",es:"confluencias"}],"d18":[{pt:"Abre lente de amplia&ccedil;&atilde;o",en:"Open magnifying glass",es:"Abrir lupa"}],"d18t":[{pt:"lente de aumento",en:"magnifying glass",es:"lupa"}],"d19":[{pt:"Coloca as guias em uma janela m&oacute;vel",en:"Put guides in a moving window",es:"Coloca las gu&iacute;as en una ventana m&oacute;vil"}],"d20":[{pt:"Redesenha o mapa com as configura&ccedil;&ocirc;es iniciais.",en:"Reload the map with the initial settings.",es:"Recarga el mapa con las configuraciones iniciales."}],"d20t":[{pt:"reinicia",en:"restart",es:"reinicia",it:"reinicia"}],"d21":[{pt:"Mede a dist&acirc;ncia entre dois ou mais pontos clicados no mapa (menor dist&acirc;ncia). O c&aacute;lculo de dist&acirc;ncia &eacute; aproximado e sua precis&atilde;o depende da escala do mapa.",en:"Measure the distance between two or more clicked points on the map (shorter distance). The calculation of this distance is rough and its accuracy depends on the map scale.",es:"Mide la distancia entre dos o m&aacute;s puntos marcados en el mapa (menor distancia). El c&aacute;lculo de la distancia es aproximado y su exactitud depende de la escala del mapa."}],"d21t":[{pt:"Dist&acirc;ncia",en:"Distance",es:"Distancia"}],"d21a":[{pt:"Mede a &aacute;rea de um pol&iacute;gono desenhado na tela. O c&aacute;lculo de &aacute;rea &eacute; aproximado e sua precis&atilde;o depende da escala do mapa.",en:"Measure the area of a polygon drawn on the screen. The calculation of this area is rough and its accuracy depends on the map scale.",es:"Mide el &aacute;rea de un pol&iacute;gono dibujado sobre la pantalla. El c&aacute;lculo del &aacute;rea es aproximado y su exactitud depende de la escala del mapa."}],"d21at":[{pt:"&Aacute;rea",en:"Area",es:"&Aacute;rea"}],"d22":[{pt:"Insere pontos no mapa em coordenadas geogr&aacute;ficas. Os pontos inclu&iacute;dos podem ser transformados em linhas ou pol&iacute;gonos. Os pontos s&atilde;o armazenados em um tema tempor&aacute;rio, podendo-se fazer o download do arquivo shapefile.",en:"Insert points on the map in geographical coordinates. The added points can be converted into lines or polygons. The points are stored in a temporary theme and can be downloaded as a shapefile.",es:"Inserte puntos en el mapa en coordenadas geogr&aacute;ficas. Los puntos incluidos pueden ser transformados en l&iacute;neas o pol&iacute;gonos. Los puntos se almacenan en un tema temporal y se pueden descargar como archivo shapefile."}],"d22t":[{pt:"inserir pontos",en:"insert points",es:"insertar puntos"}],"d23":[{pt:"Insere um gr&aacute;fico no ponto clicado conforme os atributos existentes no tema escolhido. O tema deve possuir itens com valores num&eacute;ricos na tabela de atributos.",en:"Insert a chart on the clicked point according to the attributes of the selected theme. The theme must have records with numerical values in the table of attributes.",es:"Inserte un gr&aacute;fico en el punto marcado seg&uacute;n los atributos existentes en el tema seleccionado. El tema debe tener campos con valores num&eacute;ricos en la tabla de atributos."}],"d23t":[{pt:"Clique gr&aacute;fico",en:"Click on the chart",es:"Haga clic en el gr&aacute;fico"}],"d24":[{pt:"Abre as ferramentas para sele&ccedil;&atilde;o de elementos de um tema. Os elementos selecionados podem ser utilizados em outras opera&ccedil;&ocirc;es, como buffer e sele&ccedil;&atilde;o por tema.",en:"Open the tools for selecting features of a theme. The selected features can be used for other operations like buffer or selection by theme.",es:"Abre las herramientas para seleccionar elementos de un tema. Los elementos seleccionados pueden ser utilizados en otras operaciones como &aacute;reas de influencia (buffer) y selecci&oacute;n por tema."}],"d24t":[{pt:"Selecionar",en:"Select",es:"Seleccionar"}],"d25":[{pt:"Insere texto no mapa clicando em um ponto. Utilize essa op&ccedil;&atilde;o para adicionar informa&ccedil;&ocirc;es ao mapa.",en:"Insert a text on the map by clicking on a point. Use this option to add information on the map.",es:"Inserte un texto en el mapa haciendo clic en un punto. Utilice esta opci&oacute;n para agregar informaci&oacute;n en el mapa."}],"d25t":[{pt:"Inserir texto",en:"Insert text",es:"Insertar texto"}],"d26":[{pt:"Escolha o visual para os bot&otilde;es e outras caracter&iacute;sticas visuais do mapa",en:"Choose a button appearance and other visual characteristics of the map",es:"Elija el aspecto para los botones y otras caracter&iacute;sticas visuales del mapa"}],"d27":[{pt:"Interface",en:"Interface",es:"interfaz"}],"d28":[{pt:"Aguarde...gerando os arquivos",en:"Please wait...generating files",es:"Espera...generando los archivos"}],"d29":[{pt:"Esta&ccedil;&otilde;es METAR",en:"METAR stations",es:"Estaciones METAR"}],"d30":[{pt:"Linha do tempo",en:"Timeline",es:"L&iacute;nea del tiempo"}],"d31":[{pt:"N&atilde;o existe nenhuma camada com etiquetas ativas",en:"There is no layer with active labels",es:"No existe ninguna capa con etiquetas activas"}],"d32":[{pt:"Aplicativos",en:"Applications",es:"Aplicaciones"}],"ge1":[{pt:"Navega&ccedil;&atilde;o com o mouse",en:"Navigation with the mouse",es:"Navegaci&oacute;n con el rat&oacute;n"}],"ge2":[{pt:"Barra de status",en:"Status bar",es:"Barra de estado"}],"ge3":[{pt:"Mapa de refer&ecirc;ncia",en:"Overview map",es:"Mapa de referencia"}],"ge4":[{pt:"Escala e legenda",en:"Scale and legend",es:"Escala y leyenda"}],"ge5":[{pt:"Atmosfera",en:"Atmosphere",es:"Atm&oacute;sfera"}],"ge6":[{pt:"Grade de coordenadas",en:"Coordinates grid",es:"Cuadr&iacute;culas de coordenadas"}],"ge7":[{pt:"Luz do sol",en:"Sun light",es:"Luz del sol"}],"ge8":[{pt:"Limites pol&iacute;ticos",en:"Political boundaries",es:"L&iacute;mites pol&iacute;ticos"}],"ge9":[{pt:"Constru&ccedil;&otilde;es em 3D",en:"3D buildings ",es:"Construciones en 3D"}],"ge10":[{pt:"Estradas",en:"Roads",es:"Carreteras"}],"ge11":[{pt:"Terreno",en:"Terrain",es:"Terreno"}],"x1":[{pt:"P&aacute;gina principal",en:"Main page",es:"P&aacute;gina principal"}],"x2":[{pt:"Lista de menus",en:"Menu lists",es:"Lista de men&uacute;s"}],"x3":[{pt:"Miniaturas",en:"Thumbnails",es:"Miniaturas"}],"x4":[{pt:"Pesquisa na INDE",en:"Search in INDE",es:"B&uacute;squeda en INDE"}],"x5":[{pt:"Editar subgrupos",en:"Edit subgroups",es:"Editar subgrupos"}],"x6":[{pt:"Editar temas",en:"Edit themes",es:"Editar temas"}],"x7":[{pt:"op&ccedil;&atilde;o vis&iacute;vel apenas para editores",en:"option visible to editors only",es:"opci&oacute;n visible solo para editores"}],"x8":[{pt:"Sistema de administra&ccedil;&atilde;o",en:"Management system",es:"Sistema de administraci&oacute;n"}],"x9":[{pt:"Editar &aacute;rvore",en:"Edit tree",es:"Editar &aacute;rbol"}],"x10":[{pt:"Editar menus do cat&aacute;logo",en:"Edit catalog menus",es:"Editar men&uacute;s del cat&aacute;logo"}],"x11":[{pt:"Abre em uma janela",en:"Open in a window",es:"Abre en una ventana"}],"x13":[{pt:"&Aacute;rvore de camadas n&atilde;o encontrada",en:"Tree layers not found",es:"Arboles de capas no se encuentra"}],"x14":[{pt:"sim",en:"yes",es:"s&iacute;"}],"x15":[{pt:"n&atilde;o",en:"no",es:"no"}],"x16":[{pt:"Valor n&atilde;o definido",en:"Value not defined",es:"Valor no definido"}],"x17":[{pt:"Essa op&ccedil;&atilde;o afeta apenas a impress&atilde;o do mapa",en:"This option only affects map printing",es:"Esta opci&oacute;n solo afecta a la impresi&oacute;n del mapa"}],"x18":[{pt:"Nome n&atilde;o definido",en:"Name not defined",es:"Nombre no definido"}],"x19":[{pt:"Coment&aacute;rios de",en:"Reviews of",es:"Comentarios de"}],"x20":[{pt:"Clique no mapa para desenhar o pol&iacute;gono",en:"Click on the map to draw a polygon",es:"Haga clic en el mapa para dibujar un pol&iacute;gono"}],"x21":[{pt:"Essa opera&ccedil;&atilde;o n&atilde;o funciona nessa interface",en:"This operation does not work on this interface",es:"Esta operaci&oacute;n no funciona en esta interfaz"}],"x22":[{pt:"Op&ccedil;&atilde;o n&atilde;o dispon&iacute;vel",en:"Option not available",es:"Opci&oacute;n no disponible"}],"x23":[{pt:"Dire&ccedil;&atilde;o",en:"Direction",es:"Direcci&oacute;n"}],"x25":[{pt:"M&eacute;todo para calcular dist&acirc;ncias",en:"Method to calculate distances",es:"M&eacute;todo para calcular distancias"}],"x26":[{pt:"Voce quer mesmo encerrar a sessao?",en:"Do you want to logout?",es:"&iquest;Quiere cerrar la sesi&oacute;n?"}],"x27":[{pt:"Usu&aacute;rio",en:"User",es:"Usuario"}],"x28":[{pt:"Senha",en:"Password",es:"Contrase&ntilde;a"}],"x29":[{pt:"Enviar",en:"Submit",es:"Enviar"}],"x30":[{pt:"Ativo",en:"Active",es:"Activo"}],"x31":[{pt:"Erro",en:"Error",es:"Error"}],"x32":[{pt:"Recuperar senha",en:"Recover password",es:"Recuperar contrase&ntilde;a"}],"x33":[{pt:"Escolha um tema da lista",en:"Select a theme from the list",es:"Seleccione un tema de la lista"}],"x34":[{pt:"Lugar",en:"Place",es:"Lugar"}],"x35":[{pt:"Escolha um tipo de busca nas propriedades",en:"Choose a search type in the properties",es:"Elija un tipo de b&uacute;squeda en las propiedades"}],"x36":[{pt:"Digite uma palavra para busca!",en:"Enter search terms!",es:"Introduzca una palabra clave para buscar!"}],"x37":[{pt:"Onde ser&aacute; feita a busca",en:"Where will the search be done?",es:"&iquest;D&oacute;nde se realizar&aacute; la b&uacute;squeda?"}],"x38":[{pt:"Servi&ccedil;os de busca externos",en:"External search services",es:"Servicios de b&uacute;squeda externos"}],"x39":[{pt:"Temas existentes no mapa",en:"Existing themes on the map",es:"Temas existentes en el mapa"}],"x40":[{pt:"Apenas os temas especialmente configurados pelo administrador do i3Geo podem receber opera&ccedil;&otilde;es de busca",en:"Only those themes specially configarated by the i3Geo administrator can receive search operations",es:"Solo los temas especialmente configurados por el administrador de i3Geo pueden ser objeto de operaciones de b&uacute;squeda"}],"x41":[{pt:"Nada encontrado nos temas ou nenhum tema permite busca",en:"Nothing found in the themes or no theme allows searching",es:"Nada encontrado en los temas o ning&uacute;n tema permite b&uacute;squedas"}],"x42":[{pt:"Nada encontrado em ",en:"Nothing found at ",es:"No se encontr&oacute; nada en "}],"x43":[{pt:"Erro ao acessar o servi&ccedil;o",en:"Error accessing the service",es:"Error al acceder al servicio"}],"x44":[{pt:"Nuvem Flash",en:"Cloud Flash",es:"Nube Flash"}],"x45":[{pt:"Diret&oacute;rios",en:"Directories",es:"Directorios"}],"x46":[{pt:"Conex&atilde;o WMS-T",en:"WMS-T connection",es:"Conexi&oacute;n WMS-T"}],"x47":[{pt:"Conex&atilde;o GeoRSS",en:"GeoRSS connection",es:"Conexi&oacute;n GeoRSS"}],"x48":[{pt:"Rota",en:"Route",es:"Ruta"}],"x49":[{pt:"Coordenadas aproximadas",en:"Approximate coordinates",es:"Coordenadas aproximadas"}],"x50":[{pt:"Feche para parar",en:"Close to stop",es:"Cierre para parar"}],"x51":[{pt:"Sele&ccedil;&atilde;o",en:"Selection",es:"Selecci&oacute;n"}],"x52":[{pt:"Alterar senha",en:"Change password",es:"Cambiar contrase&ntilde;a"}],"x53":[{pt:"Upload de WMC",en:"WMC upload",es:"Subir WMC"}],"x54":[{pt:"Perfil",en:"Profile",es:"Perfil"}],"x55":[{pt:"Salva o tema",en:"Save theme",es:"Guarda el tema"}],"x56":[{pt:"Topon&iacute;mia",en:"Toponymy",es:"Toponimia"}],"x57":[{pt:"Cartogramas estat&iacute;sticos",en:"Statistical cartograms",es:"Cartogramas estad&iacute;sticos"}],"x58":[{pt:"Continua",en:"Continue",es:"Seguir"}],"x59":[{pt:"Localiza",en:"Locate",es:"Localiza"}],"x60":[{pt:"Cartogramas",en:"Cartograms",es:"Cartogramas"}],"x61":[{pt:"Filtra limite",en:"Filter limit",es:"Filtra l&iacute;mite"}],"x62":[{pt:"Remover",en:"Remove",es:"Eliminar"}],"x63":[{pt:"Para salvar as configura&ccedil;&otilde;es de uma camada,<br> utilize a op&ccedil;&atilde;o existente na &aacute;rvore de camadas no n&oacute; correspondente ao tema (basta expandir o tema para visualizar as op&ccedil;&otilde;es)<br><br>",en:"To save a layer setting,<br> use the option available in the layer tree corresponding to the theme node (just expand the theme to view the options)<br><br>",es:"Para guardar la configuraci&oacute;n de una capa,<br> utilice la opci&oacute;n disponible en la &aacute;rbol de capas en el nodo correspondiente al tema (basta con expandir el tema para ver las opciones)<br><br>"}],"x64a":[{pt:"Congela a vis&atilde;o atual",en:"Freeze the current view",es:"Congela la vista actual"}],"x64":[{pt:"Item",en:"Item",es:"Item"}],"x65":[{pt:"Buscando &iacute;tens...",en:"Searching fields...",es:"Buscando campos..."}],"x66":[{pt:"Ocorreu um erro",en:"There was an error",es:"Ocurri&oacute; un error"}],"x67":[{pt:"Comunidade i3Geo",en:"i3Geo community",es:"Comunidad i3Geo"}],"x68":[{pt:"Vers&atilde;o",en:"Version",es:"Versi&oacute;"}],"zoomliShift":[{pt:"Pressione a tecla SHIFT junto com o bot&atilde;o esquerdo do mouse e arraste para definir a &aacute;rea que ser&aacute; aproximada",en:"Press the SHIFT key along with the left mouse button and drag to define the area you want to zoom",es:"Presione la tecla MAY&Uacute;S junto con el bot&oacute;n izquierdo del rat&oacute;n y arrastre para definir el &aacute;rea en la que desea hacer zoom"}],"zoomliCtrl":[{pt:"Pressione a tecla CTRL junto com o bot&atilde;o esquerdo do mouse e arraste para definir a &aacute;rea que ser&aacute; aproximada",en:"Press the CTRL key along with the left mouse button and drag to define the area you want to zoom",es:"Presione la tecla CTRL junto con el bot&oacute;n izquierdo del rat&oacute;n y arrastre para definir el &aacute;rea en la que desea hacer zoom"}],"x70":[{pt:"Utilize os dedos em um movimento de pin&ccedil;a para definir a &aacute;rea que ser&aacute; aproximada ou afastada",en:"Use the pinch-zoom gesture to define the area that will be zoomed in or out",es:"Utilice los gestos de pinzas de los dedos para definir el &aacute;rea que ser&aacute; acercada o alejada"}],"x71":[{pt:"Aplicativos estat&iacute;sticos cadastrados",en:"Registered statistical applications",es:"Aplicaciones estad&iacute;sticas registradas"}],"x72":[{pt:"Lista de mapas cadastrados",en:"List of registered maps",es:"Lista de los mapas registrados"}],"x73":[{pt:"Redirecionar para a vers&atilde;o adaptada para dispositivos m&oacute;veis?",en:"Redirect to mobile version?",es:"Redireccionar a una versi&oacute;n adaptada a dispositivos m&oacute;viles?"}],"x74":[{pt:"Fecha",en:"Close",es:"Cierra"}],"x75":[{pt:"Cancela",en:"Cancel",es:"Cancela"}],"x76":[{pt:"O tema j&aacute; existe no mapa.",en:"This theme already exists on theme map.",es:"El tema ya existe en el mapa."}],"x77":[{pt:"Nome do novo marcador",en:"New bookmark name",es:"Nombre de marcador nuevo"}],"x78":[{pt:"Copie os marcadores e cole em um editor para guard&aacute;-los",en:"Copy bookmarks and paste in an editor to save them",es:"Copiar los marcadores y pegarlos en un editor para guardarlos"}],"x79":[{pt:"Marcadores",en:"Bookmarks",es:"Marcadores"}],"x80":[{pt:"Exportar",en:"Export",es:"Exportar"}],"x81":[{pt:"Importar",en:"Import",es:"Importar"}],"x82":[{pt:"Marcar regi&atilde;o",en:"Mark region",es:"Marcar regi&oacute;n"}],"x83":[{pt:"Cole os marcadores para import&aacute;-los",en:"Paste the bookmarks to import",es:"Pegue los marcadores para importarlos"}],"x84":[{pt:"Exportar SHP",en:"Export SHP",es:"Exportar SHP"}],"x85":[{pt:"Visualizador de WMS da INDE-Br",en:"INDE-Br WMS viewer",es:"Visualizador de WMS de INDE-Br"}],"x86":[{pt:"Prefer&ecirc;ncias",en:"Preferences",es:"Preferencias"}],"x87":[{pt:"Limites e localidades",en:"Boundaries and localities",es:"L&iacute;mites y localidades"}],"x88":[{pt:"Prefer&ecirc;ncias",en:"Preferences",es:"Preferencias"}],"x89":[{pt:"Editar cadastro",en:"Edit register",es:"Editar registro"}],"x90":[{pt:"Mapas cadastrados",en:"Registered maps",es:"Mapas registrados"}],"x91":[{pt:"Feche para parar. Desligue o tema para ver o efeito",en:"Close to stop. Turn off the theme to see the effect",es:"Cierre para parar. Apague el tema para ver el efecto"}],"x92":[{pt:"Escolha uma camada",en:"Select a layer",es:"Seleccione una capa"}],"x93":[{pt:"Localiza&ccedil;&atilde;o do usu&aacute;rio",en:"User location",es:"Ubicaci&oacute;n del usuario"}],"x94":[{pt:"Remove as figuras da tela",en:"Remove pictures from the screen",es:"Quita las figuras de la pantalla"}],"x95":[{pt:"trecho",en:"stretch",es:"tramo"}],"x96":[{pt:"atual",en:"current",es:"actual"}],"x97":[{pt:"total",en:"total",es:"total"}],"x98":[{pt:"per&iacute;metro",en:"perimeter",es:"per&iacute;metro"}],"x99":[{pt:"C&aacute;lculo n&atilde;o pode ser realizado. Falta carregar a API de geometria do GM",en:"The calculation cannot be performed. It is necessary to upload the GM geometry API",es:"El c&aacute;lculo no puede ser realizado. Falta cargar la API de geometr&iacute;a de GM"}],"x101":[{pt:"C&oacute;pia",en:"Copy",es:"Copia"}],"x102":[{pt:"Mapa de calor",en:"Heatmap",es:"Mapa de calor"}],"x103":[{pt:"Links para abrir o mapa",en:"Links to open the map",es:"Links para abrir el mapa "}],"x104":[{pt:"Mapa de agrupamentos",en:"Cluster map",es:"Mapa de agrupaci&oacute;n"}],"x105":[{pt:"Navega&ccedil;&atilde;o",en:"Browsing",es:"Navegaci&oacute;n"}],"mais":[{pt:"Mais...",en:"More...",es:"M&aacute;s..."}],"uploadArquivoGeo":[{pt:"Upload de arquivo geo",en:"Geo file upload",es:"Carga del archivo geo"}],"conexaoServicoGeo":[{pt:"Conex&atilde;o com servi&ccedil;os geo",en:"Connection to geo services",es:"Conexi&oacute;n con servicios geo"}],"saikuAba":[{pt:"SAIKU - OLAP (abrir em nova aba)",en:"SAIKU - OLAP (open in a new tab)",es:"SAIKU - OLAP (abrir en una nueva pesta&ntilde;a)"}],"saikuMapa":[{pt:"SAIKU - OLAP (abrir em janela interna)",en:"SAIKU - OLAP (open in an inner window)",es:"SAIKU - OLAP (abrir en una ventana interna)"}],"refMapaAtual":[{pt:"Mapa atual",en:"Current map",es:"Mapa actual"}],"refMapaDinamico":[{pt:"Mapa fixo",en:"WMS",es:"WMS"}],"naoPermitido":[{pt:"Operacao nao autorizada para esse usuario",en:"This user does not have permission to perform this action",es:"Operaci&oacute;n no autorizada para este usuario"}],"melhorcaminho":[{pt:"Melhor caminho (raster)",en:"Best way (raster)",es:"Mejor camino (raster)"}],"tolerancia":[{pt:"Toler&acirc;ncia de busca (em pixels)",en:"Search tolerance (in pixels)",es:"Tolerancia de b&uacute;squeda (en pixeles)"}],"naoInstalado":[{pt:"Ferramenta n&atilde;o dispon&iacute;vel nessa instala&ccedil;&atilde;o do i3Geo",en:"Tool not available on this i3Geo installation",es:"Herramienta no disponible en esta instalaci&oacute;n de i3geo"}],"variaEscala":[{pt:"Depend&ecirc;ncia da escala",en:"Scale dependency",es:"Dependencia de escala"}],"mostraTodosLegenda":[{pt:"Mostra tudo",en:"Show all",es:"Muestra todo"}],"mostraSoLegenda":[{pt:"Mostra s&oacute; a legenda",en:"Show legend only",es:"Muestra solo la leyenda"}],"removerDoMapa":[{pt:"Remove a camada do mapa?",en:"Do you want to remove the layer from map?",es:"&iquest;Quiere remover la capa del mapa?"}],"dicaBuscaRapida":[{pt:"Abre uma janela flutuante com op&ccedil;&otilde;es de busca de dados em servi&ccedil;os como o Google Maps ou nas camadas exsitentes no mapa",en:"Open a floating window with data search options on services like Google Maps or on the map layers",es:"Abre una ventana flotante con opciones de b&uacute;squeda de datos en servicios como Google Maps o en las capas del mapa"}],"refresh":[{pt:"Refaz a &aacute;rvore, reconstruindo os &iacute;cones e lista de camadas",en:"Redo the tree by rebuilding the icons and the layer list",es:"Rehacer el &aacute;rbol reconstruyendo los iconos y la lista de capas"}],"lixeira":[{pt:"Clique para ver a lista de camadas em uma janela flutuante com op&ccedil;&atilde;o para remover um ou mais camadas do mapa. Arraste uma camada sobre esse &iacute;cone para remov&ecirc;-la individualmente",en:"Click to see the layer list in a floating window with the option to remove one or more layers from the map. Drag a layer to this icon to remove it individually",es:"Haga clic para ver la lista de capas en una ventana flotante con la opci&oacute;n de eliminar una o m&aacute;s capas del mapa. Arrastre una capa sobre este icono para removerla individualmente"}],"filtraCam":[{pt:"Permite filtrar a lista de camadas mostradas na &aacute;rvore conforme propriedades espec&iacute;ficas de cada uma",en:"It allows you to filter the layer lists shown in the tree according to their specific properties",es:"Permite filtrar la lista de capas mostradas en el &aacute;rbol seg&uacute;n las propiedades espec&iacute;ficas de cada una"}],"legenda":[{pt:"Abre a legenda do mapa em uma janela flutuante",en:"Open the map legend in a floating window",es:"Abre la leyenda del mapa en una ventana flotante "}],"ferramMapa":[{pt:"Mostra a lista de ferramentas que atuam sobre o mapa",en:"It shows a list of tools that perform tasks on the map",es:"Muestra la lista de herramientas que act&uacute;an sobre el mapa"}],"ferramCamadas":[{pt:"Mostra a lista de ferramentas que atuam sobre camadas",en:"It shows a list of tools that perform tasks on the layers",es:"Muestra una lista de herramientas que act&uacute;an sobre las capas"}],"ajudaEditorOlSalva":[{pt:"Para editar os atributos, utilize a ferramenta de identifica&ccedil;&atilde;o. &Eacute; necess&aacute;rio que exista uma coluna com identificadores &uacute;nicos na tabela a ser editada e que essa coluna esteja vis&iacute;vel na ferramenta de identifica&ccedil;&atilde;o.",en:"Use the identification tool to edit the attributes. There must be a column with unique identifiers in the table that will be edited. This column should be visible in the identification tool.",es:"Para editar los atributos utilice la herramienta de identificaci&oacute;n. Es necesario que exista una columna con identificadores &uacute;nicos en la tabla a ser editada y que esa columna sea visible en la herramienta de identificaci&oacute;n."}],"mascara":[{pt:"M&aacute;scara",en:"Mask",es:"M&aacute;scara"}],"result":[{pt:"Resultado",en:"Result",es:"Resultado"}],"tativo":[{pt:"Tema ativo",en:"Active theme ",es:"Tema activo"}],"geosel":[{pt:"geometria(s) selecionada(s) encontrada(s)",en:"selected geometry found",es:"geometr&iacute;a(s) seleccionada(s) encontrada(s)"}],"listar":[{pt:"Listar",en:"Make a list",es:"Hacer una lista"}],"sdados":[{pt:"Salvar dados",en:"Save data",es:"Guardar datos"}],"incorpo":[{pt:"Incorporar ao mapa",en:"Add to map",es:"Agregar al mapa"}],"selum":[{pt:"Selecione uma ou mais geometrias",en:"Select one or more geometries",es:"Seleccione una o m&aacute;s geometr&iacute;as"}],"atrib":[{pt:"Atributos",en:"Attributes",es:"Atributos"}],"reg":[{pt:"Registros",en:"Records",es:"Registros"}],"adic":[{pt:"Adicionando",en:"Adding",es:"Agregando"}],"stema":[{pt:"Salvar no tema",en:"Save the theme",es:"Salvar el tema"}],"seluma":[{pt:"Selecione apenas uma figura",en:"Select one picture only",es:"Seleccione solo una figura"}],"salva":[{pt:"Salva",en:"Save",es:"Salva"}],"canc":[{pt:"Cancela",en:"Cancel",es:"Cancela"}],"dlinha":[{pt:"digitalizar linha",en:"digitalize line",es:"digitalizar l&iacute;nea"}],"dpol":[{pt:"digitalizar poligono",en:"digitalize polygon",es:"digitalizar pol&iacute;gono"}],"dponto":[{pt:"digitalizar ponto",en:"digitalize point",es:"digitalizar punto"}],"dtexto":[{pt:"digitalizar texto",en:"digitalize text",es:"digitalizar texto"}],"cortaf":[{pt:"corta figura",en:"cut picture",es:"cortar figura"}],"modf":[{pt:"modifica figura",en:"modify picture",es:"modificar figura"}],"listag":[{pt:"lista geometrias",en:"list geometries",es:"crear lista de geometr&iacute;as"}],"frente":[{pt:"trazer para frente",en:"send forward",es:"traer al frente"}],"studo":[{pt:"selecionar tudo",en:"select all",es:"seleccionar todo"}],"ustudo":[{pt:"limpar sele&ccedil;&atilde;o",en:"clear selection",es:"limpiar la selecci&oacute;n"}],"excsel":[{pt:"Remove os elementos selecionados",en:"Remove selected features",es:"Remueve los elementos seleccionados"}],"opcoes":[{pt:"Op&ccedil;&otilde;es",en:"Options",es:"Opciones"}],"meneditor1":[{pt:"Para excluir registros do banco de dados utilize a ferramenta de identifica&ccedil;&atilde;o",en:"Use the identification tool to delete records from the database",es:"Para excluir registros de la base de datos utilice la herramienta de identificaci&oacute;n"}],"meneditor2":[{pt:"Nenhum elemento gr&aacute;fico encontrado. Utilize as op&ccedil;&otilde;es de cria&ccedil;&atilde;o de geometrias.",en:"No graphic element found. Use the options to create geometries.",es:"Ning&uacute;n elemento gr&aacute;fico encontrado. Utilice las opciones de creaci&oacute;n de geometr&iacute;a."}],"meneditor3":[{pt:"Voc&ecirc; precisa fazer login para usar a op&ccedil;&atilde;o de salvar no banco de dados",en:"You must be logged in to use the save to database option",es:"Usted debe iniciar sesi&oacute;n para utilizar la opci&oacute;n de guardar en la base de datos"}],"meneditor4":[{pt:"Valores iguais ao original",en:"Values equal to the original ones",es:"Valores iguales al original"}],"meneditor5":[{pt:"&Eacute; necess&aacute;rio ter um c&oacute;digo para poder excluir",en:"It is necessary to have a password to exclude",es:"Es necesario tener una clave para excluir"}],"meneditor6":[{pt:"Ap&oacute;s escolher a medida da vari&aacute;vel, clique no mapa para escolher o limite geogr&aacute;fico.",en:"After choosing the variable measure, click on the map to choose the geographical boundary.",es:"Despu&eacute;s de escoger la medida de la variable, haga clic en el mapa para seleccionar el l&iacute;mite geogr&aacute;fico."}],"opsel":[{pt:"Opera&ccedil;&otilde;es sobre as figuras selecionadas",en:"Operations on the selected pictures",es:"Operaciones sobre las figuras seleccionadas"}],"capturar":[{pt:"Capturar elemento de um tema",en:"Capture a theme feature",es:"Capturar elemento de un tema"}],"salvexc":[{pt:"Salvar/excluir dados",en:"Save/exclude data",es:"Guardar/excluir datos"}],"edatrib":[{pt:"Editar atributos",en:"Edit Attributes",es:"Editar atributos"}],"camedit":[{pt:"Camadas edit&aacute;veis",en:"Editable layers",es:"Capas editables"}],"nenhum":[{pt:"Nenhum",en:"None",es:"Ninguno"}],"tipo":[{pt:"Tipo",en:"Type",es:"Tipo"}],"abreMapa":[{pt:"Abrir o mapa",en:"Open the map",es:"Abrir el mapa "}],"areaAprox":[{pt:"&Aacute;rea aproximada",en:"Approximate area",es:"&Aacute;rea aproximada"}],"distAprox":[{pt:"Dist&acirc;ncia aproximada",en:"Approximate distance",es:"Distancia aproximada"}],"trocaInterface":[{pt:"Troca de interface",en:"Interface change",es:"Cambio de interfaz"}],"wkt2layer":[{pt:"Converte WKT em camada",en:"Convert WKT into layer",es:"Transformar WKT en capa"}],"salvaDadosEditor":[{pt:"Os dados s&oacute; podem ser salvos em temas que permitem edi&ccedil;&atilde;o e que possuem coluna com auto incremento",en:"Data can only be saved in themes that allow edition and have columns with auto-increment",es:"Los datos solo pueden ser guardados en los temas que permiten edici&oacute;n y que poseen columnas con auto incremento"}],"novaaba":[{pt:"Abre em nova aba",en:"Open in a new tab",es:"Abre en una pesta&ntilde;a nueva"}],"novonome":[{pt:"Novo nome",en:"New name",es:"Nombre nuevo"}],"medir":[{pt:"Medir/Calcular",en:"Measure/Calculate",es:"Medir/Calcular"}],"tabela":[{pt:"Tabela",en:"Table",es:"Tabla"}],"ligaDesliga":[{pt:"Liga/Desliga",en:"Turn on/Turn off",es:"Encender/Apagar"}],"naoPublicado":[{pt:"n&atilde;o publicado",en:"not published",es:"no publicado"}],"operacoesMapaTema":[{pt:"Opera&ccedil;&otilde;es sobre o mapa ou tema",en:"Operations on the map or theme",es:"Operaciones sobre el mapa o tema"}],"descMenuAjuda":[{pt:"Documenta&ccedil;&atilde;o, redes sociais, tutoriais...",en:"Documentation, social networks, tutorials...",es:"Documentaci&oacute;n, redes sociales, tutoriales..."}],"descMenuAnalise":[{pt:"Dist&acirc;ncia, &aacute;rea, buffer, gr&aacute;ficos...",en:"Distance, area, buffer, graphics...",es:"Distancia, &aacute;rea, buffer, gr&aacute;ficos..."}],"descArquivos":[{pt:"Salvar e carregar mapfile, lista de mapas...",en:"Save and upload mapfile, map list...",es:"Guardar y cargar mapfile, lista de mapas..."}],"descOperacoesMapaTema":[{pt:"Tabela, legenda, imprimir, upload, navega&ccedil;&atilde;o...",en:"Table, legend, print, upload, browsing...",es:"Tabla, leyenda, impresi&oacute;n, carga, navegaci&oacute;n..."}],"descOgcWms":[{pt:"Adiciona camada via servi&ccedil;o WMS",en:"Add layer via WMS service",es:"A&ntilde;ade capa a trav&eacute;s de servicio WMS"}],"descLimLoc":[{pt:"Regi&otilde;es cadastradas no sistema de metadados estat&iacute;sticos",en:"Regions registered in the statistical metadata system",es:"Regiones registradas en el sistema de metadatos estad&iacute;sticos"}],"descMeta":[{pt:"Camadas baseadas no sistema de metadados estat&iacute;sticos",en:"Layers based on the statistical metadata system",es:"Capas basadas en el sistema de metadatos estad&iacute;sticos"}],"descMapas":[{pt:"Mapas prontos para uso, com camadas j&aacute; selecionadas",en:"Ready-to-use maps with layers already selected",es:"Mapas listos para su uso con capas seleccionadas"}],"descEstrelas":[{pt:"Lista de camadas classificadas conforme o n&uacute;mero de acessos",en:"List of layers classified according to the number of accesses",es:"Lista de capas clasificadas seg&uacute;n el n&uacute;mero de accesos"}],"descSistemas":[{pt:"Sistemas com op&ccedil;&otilde;es espec&iacute;ficas e que permitem adicionar camadas ao mapa",en:"Systems with specific options that allow you to add layers to the map",es:"Sistemas con opciones espec&iacute;ficas que permiten agregar capas al mapa"}],"descDir":[{pt:"Diret&oacute;rio de arquivos shapefile",en:"Shapefile directory",es:"Directorio de archivos shapefile"}],"localiza":[{pt:"Posi&ccedil;&atilde;o",en:"Position",es:"Posici&oacute;n"}],"volta":[{pt:"volta",en:"back",es:"volver"}],"continua":[{pt:"continua",en:"continue",es:"continuar"}],"avanca":[{pt:"avan&ccedil;a",en:"go ahead",es:"avanzar"}],"tipvazio":[{pt:"N&atilde;o existe nenhuma camada no mapa que permita mostrar etiquetas",en:"There is no layer on the map that allows you to display labels",es:"No existe ninguna capa en el mapa que permita mostrar etiquetas"}],"erroTpl":[{pt:"Erro ao carregar um template",en:"Error loading template",es:"Error al cargar una plantilla"}],"remove":[{pt:"Remove",en:"Remove",es:"Eliminar"}],"iconeFerramentas":[{pt:"Caixa de ferramentas",en:"Tool box",es:"Caja de herramientas"}],"iconeMapa":[{pt:"Camadas inclu&iacute;das",en:"Layers included",es:"Capas incluidas"}],"iconeCatalogo":[{pt:"Incluir mais camadas",en:"Add more layers",es:"Incluir m&aacute;s capas"}],"iconeLegenda":[{pt:"Legenda do mapa",en:"Map Legend",es:"Leyenda del mapa"}],"iconeBalao":[{pt:"Info resumida",en:"Summary information",es:"Informaci&oacute;n resumida"}],"iconeIdentifica":[{pt:"Info completa",en:"Comprehensive information",es:"Informaci&oacute;n completa"}],"indeOk":[{pt:"Cat&aacute;logo da INDE j&aacute; est&aacute; dispon&iacute;vel",en:"INDE catalog now available",es:"Cat&aacute;logo del INDE ya est&aacute; disponible"}],"deveLigada":[{pt:"A camada deve estar vis&iacute;vel",en:"The layer must be visible",es:"La capa debe ser visible"}],"balaoVazio":[{pt:"N&atilde;o foram encontrados dados nas camadas dispon&iacute;veis. Experimente utilizar o &iacute;cone de mais informa&ccedil;&otilde;es",en:"No data was found on the available layers. Try to use the more infomation icon",es:"No se encontraron datos en las capas disponibles. Intente utilizar el icono de m&aacute;s informaci&oacute;n"}],"umaLigada":[{pt:"Pelo menos uma camada deve estar ligada no mapa",en:"At least one layer must be associated with the map",es:"Al menos una capa debe estar conectada en el mapa"}],"precisaApiGM":[{pt:"Essa op&ccedil;&atilde;o necessita de uma API do Google Maps. Consulte o administrador do sistema. O c&oacute;digo da API deve constar no arquivo de configura&ccedil;&atilde;o do i3Geo.",en:"This option requires a Google Maps API. Ask your system administrator for advice. The API code should be in the i3Geo configuration file.",es:"Esta opci&oacute;n requiere una API de Google Maps. Consulte con el administrador del sistema. El c&oacute;digo de la API debe incluirse en el archivo de configuraci&oacute;n de i3Geo."}],"graticule":[{pt:"Grade de coordenadas (ativa e desativa)",en:"Coordinate grid (turn on and turn off)",es:"Cuadr&iacute;cula de coordenadas (activa y desactiva)"}],"versaoAntiga":[{pt:"Essa op&ccedil;&atilde;o pode n&atilde;o funcionar corretamente devido a vers&atilde;o do sistema (Mapserver)",en:"This option may not work properly because of the system version (Mapserver)",es:"Esta opci&oacute;n puede que no funcione correctamente debido a la versi&oacute;n del sistema (Mapserver)"}],"camadasDeFundo":[{pt:"Camadas de fundo",en:"Basemap",es:"Mapa base"}],"funcaojstip":[{pt:"Fun&ccedil;&atilde;o JS (para as etiquetas)",en:"",es:""}],"rangeScaleMsg":[{pt:"Vis&iacute;vel apenas em determinadas escalas",en:"",es:""}],"layerDesenho":[{pt:"Camada de desenho",en:"",es:""}],"confirma":[{pt:"Confirma",en:"",es:""}],"selCorta":[{pt:"Selecione primeiro um elemento para ser cortado",en:"",es:""}],"desPol":[{pt:"Desenhe um pol&iacute;gono",en:"",es:""}],"union":[{pt:"Uni&atilde;o",en:"",es:""}],"intersect":[{pt:"Intersec&ccedil;&atilde;o",en:"",es:""}],"symdif":[{pt:"Diferen&ccedil;a sim&eacute;trica",en:"",es:""}],"dif":[{pt:"Diferen&ccedil;a",en:"",es:""}],"shiftdel":[{pt:"Para apagar um v&eacute;rtice, pressione shift e clique",en:"",es:""}],"extent":[{pt:"Extens&atilde;o",en:"",es:""}],"cola":[{pt:"Cola",en:"",es:""}],"fillring":[{pt:"Preenche as ilhas",en:"",es:""}],"naoremovewkt":[{pt:"Fecha sem remover o desenho",en:"",es:""}],"ativasnaptol":[{pt:"Ativa toler&acirc;ncia (snap)",en:"",es:""}],"freehand":[{pt:"M&atilde;o livre",en:"",es:""}],"masc":[{pt:"M&aacute;scara",en:"",es:""}],"fullscreen":[{pt:"Tela cheia",en:"",es:""}],"esquemadecores":[{pt:"Esquema de cores",en:"Color schema",es:"Esquema de colores"}],"copiaCamada":[{pt:"C&oacute;pia da camada",en:"Layer copy",es:"Copia de la capa"}],"contorno":[{pt:"Contorno",en:"Outline",es:"Contorno"}],"copytomemory":[{pt:"Copiado para a mem&oacute;ria",en:"",es:""}],"nenhumaSel":[{pt:"N&atilde;o existe nenhuma camada com sele&ccedil;&atilde;o",en:"",es:""}]};
3 3 \ No newline at end of file
... ...
js/compactados/mapa_compacto.js
1   -if(typeof(i3GEO)==='undefined'){var i3GEO={}}i3GEO.mapa={BALAOATIVO:true,OPENTIPIFEMPTY:true,TEMASINICIAISLIGADOS:"",TEMASINICIAIS:"",GEOXML:[],limpasel:function(){i3GEO.php.limpasel(function(retorno){i3GEO.atualiza();i3GEO.Interface.atualizaMapa()},"")},ativaAutoResize:function(){var ativo=true;window.onresize=function(){var Dw,Dh;Dw=window.innerWidth;Dh=window.innerHeight;i3GEO.tamanhodoc=[Dw,Dh];if(ativo===true){setTimeout(function(){i3GEO.reCalculaTamanho();i3GEO.guias.abreFecha("fecha");ativo=true},2000)}ativo=false}},ativaIdentifica:function(){i3GEO.eventos.MOUSECLIQUE=["i3GEO.mapa.dialogo.cliqueIdentificaDefault()"];i3GEO.eventos.adicionaEventos("MOUSECLIQUEPERM",["i3GEO.mapa.dialogo.cliqueIdentificaDefault()"]);i3GEO.eventos.removeEventos("MOUSECLIQUEPERM",["i3GEO.mapa.dialogo.verificaTipDefault()"]);i3GEO.eventos.cliquePerm.ativa()},ativaIdentificaBalao:function(){i3GEO.eventos.removeEventos("MOUSECLIQUEPERM",["i3GEO.mapa.dialogo.cliqueIdentificaDefault()"]);i3GEO.eventos.MOUSECLIQUE=["i3GEO.mapa.dialogo.verificaTipDefault()"];i3GEO.eventos.cliquePerm.ativa()},ativaTema:function(codigo){if(codigo){i3GEO.temaAtivo=codigo}},ativaLogo:function(){if(i3GEO.Interface.ATUAL==="googlemaps"){alert($trad("x21"));return}i3GEO.php.ativalogo(i3GEO.atualiza);var cr=$i("i3GEOcopyright");if(cr){if(cr.style.display==="block"){cr.style.display="none"}else{cr.style.display="block"}}},verifica:function(retorno){try{if(retorno.data){retorno=retorno.data}if(retorno.variaveis){retorno=retorno.variaveis}if((retorno==="erro")||(typeof(retorno)==='undefined')){i3GEO.janela.fechaAguarde();i3GEO.mapa.recupera.inicia()}i3GEO.mapa.recupera.TENTATIVA=0}catch(e){if(i3GEO.Interface.ATUAL==="openlayers"||i3GEO.Interface.ATUAL==="googlemaps"){i3GEO.janela.fechaAguarde();return}if(this.recupera.TENTATIVA===0){i3GEO.janela.tempoMsg("Erro no mapa. Sera feita uma tentativa de recuperacao.");i3GEO.mapa.recupera.inicia()}else{i3GEO.janela.tempoMsg("Recuperacao impossivel. Sera feita uma tentativa de reiniciar o mapa.");if(this.recupera.TENTATIVA===1){this.recupera.TENTATIVA=2;i3GEO.php.reiniciaMapa(i3GEO.atualiza)}}}},recupera:{TENTATIVA:0,inicia:function(){i3GEO.janela.fechaAguarde();if(this.recupera&&this.recupera.TENTATIVA===0){this.recupera.TENTATIVA++;this.recupera.restaura()}},restaura:function(){i3GEO.php.recuperamapa(i3GEO.atualiza)}},legendaIMAGEM:{obtem:function(funcao){i3GEO.php.criaLegendaImagem(funcao)}},compactaLayerGrafico:function(){var geos=false,geometrias=[],n=0,i,g;if(i3GEO.editorOL&&i3GEO.desenho.layergrafico&&i3GEO.desenho.layergrafico.features){geos=i3GEO.desenho.layergrafico.features;n=geos.length;for(i=0;i<n;i++){g={"atributos":geos[i].attributes,"geometria":geos[i].geometry.toString()};geometrias.push(g)}}g=JSON.stringify(geometrias);return i3GEO.util.base64encode(g)},desCompactaLayerGrafico:function(geometrias){geometrias=JSON.parse(geometrias);if(geometrias.length>0){var inicia=function(){if(!i3GEO.desenho.layergrafico){i3GEO.editorOL.criaLayerGrafico()}i3GEO.editor[i3GEO.Interface.ATUAL].ativaPainel();var n=geometrias.length,i;for(i=0;i<n;i++){i3GEO.editorOL.adicionaFeatureWkt(geometrias[i].geometria,geometrias[i].atributos)}i3GEO.editorOL.sobeLayersGraficos()};if(!i3GEO.editorOL){i3GEO.util.scriptTag(i3GEO.configura.locaplic+"/classesjs/compactados/classe_editorol_compacto.js",inicia,"editorol.js",true)}}},restauraGraficos:function(graficos){if(graficos.length>0){var inicia=function(){i3GEOF.graficointerativo1.restauraGraficos(graficos)};i3GEO.util.scriptTag(i3GEO.configura.locaplic+"/ferramentas/graficointerativo1/dependencias.php",inicia,"graficointerativo1",true)}},restauraTabelas:function(tabelas){if(tabelas.length>0){var inicia=function(){i3GEOF.tabela.restauraTabelas(tabelas)};i3GEO.util.scriptTag(i3GEO.configura.locaplic+"/ferramentas/tabela/dependencias.php",inicia,"tabela",true)}},aplicaPreferencias:function(cookies){var props,nprops,i,temp=[],pint;if(!cookies){cookies=i3GEO.util.pegaDadosLocal("preferenciasDoI3Geo")}if(cookies){props=cookies.split("::");nprops=props.length;for(i=0;i<nprops;i++){try{temp=props[i].split("|");pint=parseInt(temp[1],10);if(temp[1]==='true'||temp[1]==='false'){if(temp[1]==='true'){temp[1]=true}if(temp[1]==='false'){temp[1]=false}eval(temp[0]+" = "+temp[1]+";")}else if(pint+"px"==temp[1]){eval(temp[0]+" = '"+temp[1]+"';")}else if($.isNumeric(pint)){eval(temp[0]+" = "+temp[1]+";")}else{eval(temp[0]+" = '"+temp[1]+"';")}}catch(e){}}}},dialogo:{listaLayersWms:function(servico){i3GEO.janela.cria("400px","300px",i3GEO.configura.locaplic+"/ferramentas/conectarwms/listalayers.php?servico="+servico,"","","<div class='i3GeoTituloJanela'>"+$trad("a4")+"<a class=ajuda_usuario target=_blank href='"+i3GEO.configura.locaplic+"/ajuda_usuario.php?idcategoria=4&idajuda=28' ><b> </b></a></div>","i3GEO.conectarwms",false,"hd","","","",true)},wms:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.wms()","conectarwms","conectarwms","dependencias.php","i3GEOF.conectarwms.iniciaJanelaFlutuante()")},mascara:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.mascara()","mascara","mascara","dependencias.php","i3GEOF.mascara.iniciaJanelaFlutuante()")},html2canvas:function(obj){var temp=function(){i3GEOF.html2canvas.iniciaJanelaFlutuante(obj)};i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.html2canvas()","html2canvas","html2canvas","dependencias.php",temp)},wkt2layer:function(wkt,texto){var temp=function(){i3GEOF.wkt2layer.iniciaJanelaFlutuante(wkt,texto)};i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.wkt2layer()","wkt2layer","wkt2layer","dependencias.php",temp)},atalhosedicao:function(idtema){i3GEO.mapa.ativaTema(idtema);i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.atalhosedicao()","atalhosedicao","atalhosedicao","dependencias.php","i3GEOF.atalhosedicao.iniciaJanelaFlutuante()")},geolocal:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.geolocal()","geolocal","geolocal","dependencias.php","i3GEOF.geolocal.iniciaJanelaFlutuante()")},listaDeMapasBanco:function(idonde){if(idonde){i3GEO.guias.CONFIGURA["mapas"].click.call(this,idonde);return}if(i3GEO.guias.CONFIGURA["mapas"]){var temp,janela,id="listaMapa"+Math.random();janela=i3GEO.janela.cria("800px","500px",i3GEO.configura.locaplic+"/mapas/indexnomenu.php","","","<span class='i3GeoTituloJanelaBsNolink' ></span></div>",id)}else{window.open(i3GEO.configura.locaplic+"/rss/rssmapas.php","_blank")}},congelaMapa:function(){var url="",idjanela=i3GEO.util.generateId(),cabecalho=function(){},titulo,minimiza=function(){i3GEO.janela.minimiza(idjanela)};if(i3GEO.Interface.ATUAL==="openlayers"||i3GEO.Interface.ATUAL==="googlemaps"){url=i3GEO.configura.locaplic+"/ferramentas/congelamapa/openlayers3.php?g_sid="+i3GEO.configura.sid+"&ext="+i3GEO.util.extOSM2Geo(i3GEO.parametros.mapexten);titulo="<span class='i3GeoTituloJanelaBsNolink' ></span></div>";i3GEO.janela.cria("520px","370px",url,"","",titulo,idjanela,false,"hd",cabecalho,minimiza,"","","","",false,"","123")}},metaestat:function(largura,altura,topo,esquerda,Interface,conexao){var temp=function(){i3GEOF.metaestat.MULTIPARAMETROS=true;if(Interface){i3GEOF.metaestat.INTERFACE=Interface}if(conexao){i3GEOF.metaestat.CONEXAODEFAULT=conexao}i3GEOF.metaestat.INTERFACE="flutuante";i3GEOF.metaestat.principal.inicia(null,largura,altura,topo,esquerda)};i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.metaestat()","metaestat","metaestat","dependencias.php",temp)},metaestatListaMapas:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.metaestatListaMapas()","metaestat","listamapas","listamapas.js","i3GEOF.listamapas.iniciaJanelaFlutuante()")},preferencias:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.preferencias()","preferencias","preferencias")},locregiao:function(largura,altura,topo,esquerda){var temp=function(){i3GEOF.locregiao.iniciaDicionario(largura,altura,topo,esquerda)};i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.locregiao()","metaestat","locregiao","locregiao.js",temp)},filtraregiao:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.filtraregiao()","metaestat","locregiao","locregiao.js","i3GEOF.locregiao.abreComFiltro()")},filtraperiodo:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.filtraperiodo()","filtraperiodo","filtraperiodo","dependencias.php","i3GEOF.filtraperiodo.iniciaJanelaFlutuante()")},animacao:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.animacao()","animacao","animacao","dependencias.php","i3GEOF.animacao.start()")},opacidade:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.opacidademapa()","opacidademapa","opacidademapa","dependencias.php","i3GEOF.opacidademapa.start()")},t3d:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.t3d()","3d","t3d")},imprimir:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.imprimir()","imprimir","imprimir","dependencias.php","i3GEOF.imprimir.iniciaJanelaFlutuante()")},mostraExten:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.mostraExten()","mostraexten","mostraExten","dependencias.php","i3GEOF.mostraExten.iniciaJanelaFlutuante()")},outputformat:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.outputformat()","outputformat","outputformat","dependencias.php","i3GEOF.outputformat.iniciaJanelaFlutuante()")},autoredesenha:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.autoredesenha()","opcoes_autoredesenha","opcoesTempo","dependencias.php","i3GEOF.opcoesTempo.iniciaJanelaFlutuante()")},salvaMapa:function(){if(i3GEO.parametros===""){i3GEO.janela.tempoMsg("Essa opcao nao pode ser ativada. Consulte o administrador do sistema. Mapfile nao esta exposto.");return}i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.salvaMapa()","salvamapa","salvaMapa","dependencias.php","i3GEOF.salvaMapa.iniciaJanelaFlutuante()")},carregaMapa:function(){i3GEO.util.dialogoFerramenta("i3GEO.tema.dialogo.carregaMapa()","carregamapa","carregaMapa","dependencias.php","i3GEOF.carregaMapa.iniciaJanelaFlutuante()")},convertews:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.convertews()","convertews","converteMapaWS","dependencias.php","i3GEOF.converteMapaWS.iniciaJanelaFlutuante()")},convertekml:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.convertekml()","convertemapakml","converteMapaKml","dependencias.php","i3GEOF.converteMapaKml.iniciaJanelaFlutuante()")},queryMap:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.queryMap()","opcoes_querymap","opcoesQuery","dependencias.php","i3GEOF.opcoesQuery.iniciaJanelaFlutuante()")},template:function(){i3GEO.janela.cria("300px","400px",i3GEO.configura.locaplic+"/ferramentas/template/index.htm","","","<div class='i3GeoTituloJanela'>Template<a class=ajuda_usuario target=_blank href='"+i3GEO.configura.locaplic+"/ajuda_usuario.php?idcategoria=1&idajuda=8' ><b> </b></a></div>")},tamanho:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.tamanho()","opcoes_tamanho","opcoesTamanho","dependencias.php","i3GEOF.opcoesTamanho.iniciaJanelaFlutuante()")},tipoimagem:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.tipoimagem()","tipoimagem","tipoimagem","dependencias.php","i3GEOF.tipoimagem.iniciaJanelaFlutuante()")},corFundo:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.corFundo()","opcoes_fundo","opcoesFundo","dependencias.php","i3GEOF.opcoesFundo.iniciaJanelaFlutuante()")},opcoesEscala:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.opcoesEscala()","opcoes_escala","opcoesEscala","dependencias.php","i3GEOF.opcoesEscala.iniciaJanelaFlutuante()")},opcoesLegenda:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.opcoesLegenda()","opcoes_legenda","opcoesLegenda","dependencias.php","i3GEOF.opcoesLegenda.iniciaJanelaFlutuante()")},opcoesMapaRef:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.opcoesMapaRef()","opcoes_maparef","opcoesMaparef","dependencias.php","i3GEOF.opcoesMaparef.iniciaJanelaFlutuante()")},gradeCoord:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.gradeCoord()","gradecoord","gradeCoord","dependencias.php","i3GEOF.gradeCoord.iniciaJanelaFlutuante()")},cliqueTexto:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.cliqueTexto()","inseretxt","inseretxt","dependencias.php","i3GEOF.inseretxt.iniciaJanelaFlutuante()")},selecao:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.selecao()","selecao","selecao","dependencias.php","i3GEOF.selecao.iniciaJanelaFlutuante()")},cliquePonto:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.cliquePonto()","inserexy2","inserexy","dependencias.php","i3GEOF.inserexy.iniciaJanelaFlutuante()")},cliqueGrafico:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.cliqueGrafico()","inseregrafico","insereGrafico","dependencias.php","i3GEOF.insereGrafico.iniciaJanelaFlutuante()")},cliqueIdentificaDefault:function(x,y,tema){if(!x){x=objposicaocursor.ddx;y=objposicaocursor.ddy}var temp=function(){i3GEOF.identifica.start({"x":x,"y":y,"tema":tema})};if(typeof(i3GEOF.identifica)==='undefined'){var js=i3GEO.configura.locaplic+"/ferramentas/identifica/dependencias.php";i3GEO.util.scriptTag(js,temp,"i3GEOF.identifica_script")}else{temp()}},verificaTipDefault:function(x,y){if(i3GEO.mapa.BALAOATIVO==false){return}if(!x){x=objposicaocursor.ddx}if(!y){y=objposicaocursor.ddy}if(x===-1||y===-1||i3GEO.eventos.cliquePerm.ativo===false||i3GEO.eventos.cliquePerm.status===false){return}i3GEO.eventos.cliquePerm.status=false;var ntemas,etiquetas,j,temp;objposicaocursor.ddx=-1;objposicaocursor.ddy=-1;ntemas=i3GEO.arvoreDeCamadas.CAMADAS.length;etiquetas=false;for(j=0;j<ntemas;j+=1){if(i3GEO.arvoreDeCamadas.CAMADAS[j].etiquetas!==""||i3GEO.arvoreDeCamadas.CAMADAS[j].identifica=="SIM"){etiquetas=true}}if(etiquetas===false){return}if(i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.url!=""&&i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.templateModal==""){$.get(i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.url+"&xx="+x+"&yy="+y,function(data){i3GEO.janela.closeMsg(data)});return}if(i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.templateModal!=""){if(i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.url!=""){var temp=i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.url+"&xx="+x+"&yy="+y;temp=i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.templateModal.replace("{{{url}}}",temp);i3GEO.janela.closeMsg(temp)}else{i3GEO.janela.closeMsg(i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.templateModal)}return}var res=i3GEO.configura.ferramentas.identifica.resolution;var bdiv=document.createElement("div");bdiv.className="waitInfoWindow";bdiv.style.width=res+"px";bdiv.style.height=res+"px";bdiv.style.top=(res/2*-1)+"px";var b=new ol.Overlay({element:bdiv,stopEvent:true,autoPan:false,origem:"balao",autoPanAnimation:false,positioning:"center-center",position:i3GEO.util.projGeo2OSM(new ol.geom.Point([x,y])).getCoordinates()});i3geoOL.addOverlay(b);temp=function(retorno){i3geoOL.removeOverlay(b);i3GEO.mapa.montaTip(retorno,x,y)};i3GEO.php.identifica3(temp,x,y,res,"tip",i3GEO.configura.locaplic,i3GEO.configura.sid,"ligados",i3GEO.parametros.mapexten,"","sim")}},montaTip:function(retorno,xx,yy){var textCopy=[],textoSimples="",textoTempSimples="",x,y,temp,n,mostra,res,temas,ntemas,titulo,tips,j,ntips,r,ds,nds,s,configura=i3GEO.configura,wkts=[];i3GEO.eventos.cliquePerm.status=true;mostra=false;if(retorno.data){retorno=retorno.data;temp=retorno[0].xy.split(",");x=temp[0]*1;y=temp[1]*1}else{x=xx;y=yy;mostra=true;textoSimples=$trad("balaoVazio");wkt=[];if(i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.openTipNoData==false){mostra=false}}if(retorno!==""){res="";ntemas=0;temas=retorno;if(temas){ntemas=temas.length}for(j=0;j<ntemas;j+=1){titulo=temas[j].nome;textCopy.push(titulo);var temp1=[];$.each(temas[j].funcoesjs,function(key,value){if(value.tipo=="layer"){var parametros=[x,y,temas[j].tema];$.each(value.parametros,function(key1,value1){parametros.push(ds[s][value1].valor)});parametros="\""+parametros.join("\",\"")+"\"";temp1.push("<a class='toolTipBalaoFuncoes' href='javascript:void(0);' onclick='"+value.funcao+"("+parametros+")' >"+value.titulo+"</a><br>");if(value.script&&value.script!=""){i3GEO.util.scriptTag(value.script,"","funcaolayer"+value.funcao,false)}}});temp1=temp1.join(" ");var mais="<button style='margin: 2px;padding: 0px;vertical-align: middle;position: relative;top: -7px;' class='btn btn-default btn-xs' onclick=\"i3GEO.mapa.dialogo.cliqueIdentificaDefault("+x+","+y+",'"+temas[j].tema+"');return false;\" ><span style='opacity:0.5;vertical-align: middle;padding: 0px;' class='material-icons'>info</span></button>";if(ntemas==1){mais=""}titulo="<div class='toolTipBalaoTitulo'>"+mais+" <b>"+titulo+"</b><br>"+temp1+"</div>";tips=temas[j].resultado.todosItens;ntips=tips.length;ins="";textoTempSimples="";ds=temas[j].resultado.dados;if(ds!==" "&&ds[0]&&ds[0]!=" "){try{nds=ds.length;for(s=0;s<nds;s+=1){textoTempSimples+="<div class='toolTipBalaoTexto'>";for(r=0;r<ntips;r+=1){try{temp="";var alias=ds[s][tips[r]].alias;var valor=ds[s][tips[r]].valor;var link=ds[s][tips[r]].link;var img=ds[s][tips[r]].img;var estilo="tooltip-"+temas[j].tema;if(valor!==""&&link===""){temp+="<span class='"+estilo+"'><label>"+alias+": </label>"+valor+"</span><br>";textCopy.push(alias+":"+valor)}if(valor!==""&&link!==""){temp+="<span class='"+estilo+"'><label>"+alias+" : </label><a style='color:blue;cursor:pointer' target=_blanck href='"+link+"' >"+valor+"</a></span><br>";textCopy.push(alias+":"+valor)}if(img!==""){temp+=img+"<br>"}if(ds[s][tips[r]].tip.toLowerCase()==="sim"){textoTempSimples+=temp}mostra=true}catch(e){}}var temp1=[];$.each(temas[j].funcoesjs,function(key,value){if(value.tipo=="registro"){var parametros=[x,y,temas[j].tema];$.each(value.parametros,function(key1,value1){parametros.push(ds[s][value1].valor)});parametros="\""+parametros.join("\",\"")+"\"";temp1.push("<a class='toolTipBalaoFuncoes' href='javascript:void(0);' onclick='"+value.funcao+"("+parametros+")' >"+value.titulo+"</a><br>");if(value.script&&value.script!=""){i3GEO.util.scriptTag(value.script,"","funcaolayer"+value.funcao,false)}}});temp1=temp1.join(" ");textoTempSimples+=temp1+"</div>";if(ds[s].wkt&&ds[s].wkt.valor!=""){ds[s].tema=temas[j].tema;ds[s].titulo=titulo;wkts.push(ds[s])}}}catch(e){}}if(textoTempSimples!==""){textoSimples+=titulo+textoTempSimples}}if(mostra===true){if(i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.modal==true){i3GEO.janela.closeMsg(textoSimples);return}else{i3GEO.Interface[i3GEO.Interface.ATUAL].balao(textoSimples,textCopy,x,y,true,wkts.length)}}}n=wkts.length;if(n>0){if(i3GEO.Interface.ATUAL!="openlayers"){return}i3GEO.desenho.openlayers.criaLayerGrafico();var g,format,f,idunico,c=i3GEO.desenho.layergrafico.getSource();format=new ol.format.WKT();for(r=0;r<n;r+=1){f=format.readFeatures(wkts[r].wkt.valor);f=f[0];f.setProperties({origem:"pin"});g=f.getGeometry();g=i3GEO.util.projGeo2OSM(g);f.setGeometry(g);f.setId(i3GEO.util.uid());i3GEO.editor.setStyleByTypeFeature(f);i3GEO.editor.sel.setPropertiesDefault(f);wkts[r].wkt="",f.setProperties({"fat":wkts[r]});c.addFeature(f)}}}};
2 1 \ No newline at end of file
  2 +if(typeof(i3GEO)==='undefined'){var i3GEO={}}i3GEO.mapa={BALAOATIVO:true,OPENTIPIFEMPTY:true,TEMASINICIAISLIGADOS:"",TEMASINICIAIS:"",GEOXML:[],limpasel:function({verifica=false}={}){var sel=false;if(verifica==true){sel=i3GEO.arvoreDeCamadas.existeCamadaSel({msg:true})}else{sel=true}if(sel==true){i3GEO.php.limpasel(function(retorno){i3GEO.atualiza();i3GEO.Interface.atualizaMapa()},"")}},ativaAutoResize:function(){var ativo=true;window.onresize=function(){var Dw,Dh;Dw=window.innerWidth;Dh=window.innerHeight;i3GEO.tamanhodoc=[Dw,Dh];if(ativo===true){setTimeout(function(){i3GEO.reCalculaTamanho();i3GEO.guias.abreFecha("fecha");ativo=true},2000)}ativo=false}},ativaIdentifica:function(){i3GEO.eventos.MOUSECLIQUE=["i3GEO.mapa.dialogo.cliqueIdentificaDefault()"];i3GEO.eventos.adicionaEventos("MOUSECLIQUEPERM",["i3GEO.mapa.dialogo.cliqueIdentificaDefault()"]);i3GEO.eventos.removeEventos("MOUSECLIQUEPERM",["i3GEO.mapa.dialogo.verificaTipDefault()"]);i3GEO.eventos.cliquePerm.ativa()},ativaIdentificaBalao:function(){i3GEO.eventos.removeEventos("MOUSECLIQUEPERM",["i3GEO.mapa.dialogo.cliqueIdentificaDefault()"]);i3GEO.eventos.MOUSECLIQUE=["i3GEO.mapa.dialogo.verificaTipDefault()"];i3GEO.eventos.cliquePerm.ativa()},ativaTema:function(codigo){if(codigo){i3GEO.temaAtivo=codigo}},ativaLogo:function(){if(i3GEO.Interface.ATUAL==="googlemaps"){alert($trad("x21"));return}i3GEO.php.ativalogo(i3GEO.atualiza);var cr=$i("i3GEOcopyright");if(cr){if(cr.style.display==="block"){cr.style.display="none"}else{cr.style.display="block"}}},verifica:function(retorno){try{if(retorno.data){retorno=retorno.data}if(retorno.variaveis){retorno=retorno.variaveis}if((retorno==="erro")||(typeof(retorno)==='undefined')){i3GEO.janela.fechaAguarde();i3GEO.mapa.recupera.inicia()}i3GEO.mapa.recupera.TENTATIVA=0}catch(e){if(i3GEO.Interface.ATUAL==="openlayers"||i3GEO.Interface.ATUAL==="googlemaps"){i3GEO.janela.fechaAguarde();return}if(this.recupera.TENTATIVA===0){i3GEO.janela.tempoMsg("Erro no mapa. Sera feita uma tentativa de recuperacao.");i3GEO.mapa.recupera.inicia()}else{i3GEO.janela.tempoMsg("Recuperacao impossivel. Sera feita uma tentativa de reiniciar o mapa.");if(this.recupera.TENTATIVA===1){this.recupera.TENTATIVA=2;i3GEO.php.reiniciaMapa(i3GEO.atualiza)}}}},recupera:{TENTATIVA:0,inicia:function(){i3GEO.janela.fechaAguarde();if(this.recupera&&this.recupera.TENTATIVA===0){this.recupera.TENTATIVA++;this.recupera.restaura()}},restaura:function(){i3GEO.php.recuperamapa(i3GEO.atualiza)}},legendaIMAGEM:{obtem:function(funcao){i3GEO.php.criaLegendaImagem(funcao)}},compactaLayerGrafico:function(){var geos=false,geometrias=[],n=0,i,g;if(i3GEO.editorOL&&i3GEO.desenho.layergrafico&&i3GEO.desenho.layergrafico.features){geos=i3GEO.desenho.layergrafico.features;n=geos.length;for(i=0;i<n;i++){g={"atributos":geos[i].attributes,"geometria":geos[i].geometry.toString()};geometrias.push(g)}}g=JSON.stringify(geometrias);return i3GEO.util.base64encode(g)},desCompactaLayerGrafico:function(geometrias){geometrias=JSON.parse(geometrias);if(geometrias.length>0){var inicia=function(){if(!i3GEO.desenho.layergrafico){i3GEO.editorOL.criaLayerGrafico()}i3GEO.editor[i3GEO.Interface.ATUAL].ativaPainel();var n=geometrias.length,i;for(i=0;i<n;i++){i3GEO.editorOL.adicionaFeatureWkt(geometrias[i].geometria,geometrias[i].atributos)}i3GEO.editorOL.sobeLayersGraficos()};if(!i3GEO.editorOL){i3GEO.util.scriptTag(i3GEO.configura.locaplic+"/classesjs/compactados/classe_editorol_compacto.js",inicia,"editorol.js",true)}}},restauraGraficos:function(graficos){if(graficos.length>0){var inicia=function(){i3GEOF.graficointerativo1.restauraGraficos(graficos)};i3GEO.util.scriptTag(i3GEO.configura.locaplic+"/ferramentas/graficointerativo1/dependencias.php",inicia,"graficointerativo1",true)}},restauraTabelas:function(tabelas){if(tabelas.length>0){var inicia=function(){i3GEOF.tabela.restauraTabelas(tabelas)};i3GEO.util.scriptTag(i3GEO.configura.locaplic+"/ferramentas/tabela/dependencias.php",inicia,"tabela",true)}},aplicaPreferencias:function(cookies){var props,nprops,i,temp=[],pint;if(!cookies){cookies=i3GEO.util.pegaDadosLocal("preferenciasDoI3Geo")}if(cookies){props=cookies.split("::");nprops=props.length;for(i=0;i<nprops;i++){try{temp=props[i].split("|");pint=parseInt(temp[1],10);if(temp[1]==='true'||temp[1]==='false'){if(temp[1]==='true'){temp[1]=true}if(temp[1]==='false'){temp[1]=false}eval(temp[0]+" = "+temp[1]+";")}else if(pint+"px"==temp[1]){eval(temp[0]+" = '"+temp[1]+"';")}else if($.isNumeric(pint)){eval(temp[0]+" = "+temp[1]+";")}else{eval(temp[0]+" = '"+temp[1]+"';")}}catch(e){}}}},dialogo:{listaLayersWms:function(servico){i3GEO.janela.cria("400px","300px",i3GEO.configura.locaplic+"/ferramentas/conectarwms/listalayers.php?servico="+servico,"","","<div class='i3GeoTituloJanela'>"+$trad("a4")+"<a class=ajuda_usuario target=_blank href='"+i3GEO.configura.locaplic+"/ajuda_usuario.php?idcategoria=4&idajuda=28' ><b> </b></a></div>","i3GEO.conectarwms",false,"hd","","","",true)},wms:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.wms()","conectarwms","conectarwms","dependencias.php","i3GEOF.conectarwms.iniciaJanelaFlutuante()")},mascara:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.mascara()","mascara","mascara","dependencias.php","i3GEOF.mascara.iniciaJanelaFlutuante()")},html2canvas:function(obj){var temp=function(){i3GEOF.html2canvas.iniciaJanelaFlutuante(obj)};i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.html2canvas()","html2canvas","html2canvas","dependencias.php",temp)},wkt2layer:function(wkt,texto){var temp=function(){i3GEOF.wkt2layer.iniciaJanelaFlutuante(wkt,texto)};i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.wkt2layer()","wkt2layer","wkt2layer","dependencias.php",temp)},atalhosedicao:function(idtema){i3GEO.mapa.ativaTema(idtema);i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.atalhosedicao()","atalhosedicao","atalhosedicao","dependencias.php","i3GEOF.atalhosedicao.iniciaJanelaFlutuante()")},geolocal:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.geolocal()","geolocal","geolocal","dependencias.php","i3GEOF.geolocal.iniciaJanelaFlutuante()")},listaDeMapasBanco:function(idonde){if(idonde){i3GEO.guias.CONFIGURA["mapas"].click.call(this,idonde);return}if(i3GEO.guias.CONFIGURA["mapas"]){var temp,janela,id="listaMapa"+Math.random();janela=i3GEO.janela.cria("800px","500px",i3GEO.configura.locaplic+"/mapas/indexnomenu.php","","","<span class='i3GeoTituloJanelaBsNolink' ></span></div>",id)}else{window.open(i3GEO.configura.locaplic+"/rss/rssmapas.php","_blank")}},congelaMapa:function(){var url="",idjanela=i3GEO.util.generateId(),cabecalho=function(){},titulo,minimiza=function(){i3GEO.janela.minimiza(idjanela)};if(i3GEO.Interface.ATUAL==="openlayers"||i3GEO.Interface.ATUAL==="googlemaps"){url=i3GEO.configura.locaplic+"/ferramentas/congelamapa/openlayers3.php?g_sid="+i3GEO.configura.sid+"&ext="+i3GEO.util.extOSM2Geo(i3GEO.parametros.mapexten);titulo="<span class='i3GeoTituloJanelaBsNolink' ></span></div>";i3GEO.janela.cria("520px","370px",url,"","",titulo,idjanela,false,"hd",cabecalho,minimiza,"","","","",false,"","123")}},metaestat:function(largura,altura,topo,esquerda,Interface,conexao){var temp=function(){i3GEOF.metaestat.MULTIPARAMETROS=true;if(Interface){i3GEOF.metaestat.INTERFACE=Interface}if(conexao){i3GEOF.metaestat.CONEXAODEFAULT=conexao}i3GEOF.metaestat.INTERFACE="flutuante";i3GEOF.metaestat.principal.inicia(null,largura,altura,topo,esquerda)};i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.metaestat()","metaestat","metaestat","dependencias.php",temp)},metaestatListaMapas:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.metaestatListaMapas()","metaestat","listamapas","listamapas.js","i3GEOF.listamapas.iniciaJanelaFlutuante()")},preferencias:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.preferencias()","preferencias","preferencias")},locregiao:function(largura,altura,topo,esquerda){var temp=function(){i3GEOF.locregiao.iniciaDicionario(largura,altura,topo,esquerda)};i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.locregiao()","metaestat","locregiao","locregiao.js",temp)},filtraregiao:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.filtraregiao()","metaestat","locregiao","locregiao.js","i3GEOF.locregiao.abreComFiltro()")},filtraperiodo:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.filtraperiodo()","filtraperiodo","filtraperiodo","dependencias.php","i3GEOF.filtraperiodo.iniciaJanelaFlutuante()")},animacao:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.animacao()","animacao","animacao","dependencias.php","i3GEOF.animacao.start()")},opacidade:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.opacidademapa()","opacidademapa","opacidademapa","dependencias.php","i3GEOF.opacidademapa.start()")},t3d:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.t3d()","3d","t3d")},imprimir:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.imprimir()","imprimir","imprimir","dependencias.php","i3GEOF.imprimir.iniciaJanelaFlutuante()")},mostraExten:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.mostraExten()","mostraexten","mostraExten","dependencias.php","i3GEOF.mostraExten.iniciaJanelaFlutuante()")},outputformat:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.outputformat()","outputformat","outputformat","dependencias.php","i3GEOF.outputformat.iniciaJanelaFlutuante()")},autoredesenha:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.autoredesenha()","opcoes_autoredesenha","opcoesTempo","dependencias.php","i3GEOF.opcoesTempo.iniciaJanelaFlutuante()")},salvaMapa:function(){if(i3GEO.parametros===""){i3GEO.janela.tempoMsg("Essa opcao nao pode ser ativada. Consulte o administrador do sistema. Mapfile nao esta exposto.");return}i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.salvaMapa()","salvamapa","salvaMapa","dependencias.php","i3GEOF.salvaMapa.iniciaJanelaFlutuante()")},carregaMapa:function(){i3GEO.util.dialogoFerramenta("i3GEO.tema.dialogo.carregaMapa()","carregamapa","carregaMapa","dependencias.php","i3GEOF.carregaMapa.iniciaJanelaFlutuante()")},convertews:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.convertews()","convertews","converteMapaWS","dependencias.php","i3GEOF.converteMapaWS.iniciaJanelaFlutuante()")},convertekml:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.convertekml()","convertemapakml","converteMapaKml","dependencias.php","i3GEOF.converteMapaKml.iniciaJanelaFlutuante()")},queryMap:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.queryMap()","opcoes_querymap","opcoesQuery","dependencias.php","i3GEOF.opcoesQuery.iniciaJanelaFlutuante()")},template:function(){i3GEO.janela.cria("300px","400px",i3GEO.configura.locaplic+"/ferramentas/template/index.htm","","","<div class='i3GeoTituloJanela'>Template<a class=ajuda_usuario target=_blank href='"+i3GEO.configura.locaplic+"/ajuda_usuario.php?idcategoria=1&idajuda=8' ><b> </b></a></div>")},tamanho:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.tamanho()","opcoes_tamanho","opcoesTamanho","dependencias.php","i3GEOF.opcoesTamanho.iniciaJanelaFlutuante()")},tipoimagem:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.tipoimagem()","tipoimagem","tipoimagem","dependencias.php","i3GEOF.tipoimagem.iniciaJanelaFlutuante()")},corFundo:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.corFundo()","opcoes_fundo","opcoesFundo","dependencias.php","i3GEOF.opcoesFundo.iniciaJanelaFlutuante()")},opcoesEscala:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.opcoesEscala()","opcoes_escala","opcoesEscala","dependencias.php","i3GEOF.opcoesEscala.iniciaJanelaFlutuante()")},opcoesLegenda:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.opcoesLegenda()","opcoes_legenda","opcoesLegenda","dependencias.php","i3GEOF.opcoesLegenda.iniciaJanelaFlutuante()")},opcoesMapaRef:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.opcoesMapaRef()","opcoes_maparef","opcoesMaparef","dependencias.php","i3GEOF.opcoesMaparef.iniciaJanelaFlutuante()")},gradeCoord:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.gradeCoord()","gradecoord","gradeCoord","dependencias.php","i3GEOF.gradeCoord.iniciaJanelaFlutuante()")},cliqueTexto:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.cliqueTexto()","inseretxt","inseretxt","dependencias.php","i3GEOF.inseretxt.iniciaJanelaFlutuante()")},selecao:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.selecao()","selecao","selecao","dependencias.php","i3GEOF.selecao.iniciaJanelaFlutuante()")},cliquePonto:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.cliquePonto()","inserexy2","inserexy","dependencias.php","i3GEOF.inserexy.iniciaJanelaFlutuante()")},cliqueGrafico:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.cliqueGrafico()","inseregrafico","insereGrafico","dependencias.php","i3GEOF.insereGrafico.iniciaJanelaFlutuante()")},cliqueIdentificaDefault:function(x,y,tema){if(!x){x=objposicaocursor.ddx;y=objposicaocursor.ddy}var temp=function(){i3GEOF.identifica.start({"x":x,"y":y,"tema":tema})};if(typeof(i3GEOF.identifica)==='undefined'){var js=i3GEO.configura.locaplic+"/ferramentas/identifica/dependencias.php";i3GEO.util.scriptTag(js,temp,"i3GEOF.identifica_script")}else{temp()}},verificaTipDefault:function(x,y){if(i3GEO.mapa.BALAOATIVO==false){return}if(!x){x=objposicaocursor.ddx}if(!y){y=objposicaocursor.ddy}if(x===-1||y===-1||i3GEO.eventos.cliquePerm.ativo===false||i3GEO.eventos.cliquePerm.status===false){return}i3GEO.eventos.cliquePerm.status=false;var ntemas,etiquetas,j,temp;objposicaocursor.ddx=-1;objposicaocursor.ddy=-1;ntemas=i3GEO.arvoreDeCamadas.CAMADAS.length;etiquetas=false;for(j=0;j<ntemas;j+=1){if(i3GEO.arvoreDeCamadas.CAMADAS[j].etiquetas!==""||i3GEO.arvoreDeCamadas.CAMADAS[j].identifica=="SIM"){etiquetas=true}}if(etiquetas===false){return}if(i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.url!=""&&i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.templateModal==""){$.get(i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.url+"&xx="+x+"&yy="+y,function(data){i3GEO.janela.closeMsg(data)});return}if(i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.templateModal!=""){if(i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.url!=""){var temp=i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.url+"&xx="+x+"&yy="+y;temp=i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.templateModal.replace("{{{url}}}",temp);i3GEO.janela.closeMsg(temp)}else{i3GEO.janela.closeMsg(i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.templateModal)}return}var res=i3GEO.configura.ferramentas.identifica.resolution;var bdiv=document.createElement("div");bdiv.className="waitInfoWindow";bdiv.style.width=res+"px";bdiv.style.height=res+"px";bdiv.style.top=(res/2*-1)+"px";var b=new ol.Overlay({element:bdiv,stopEvent:true,autoPan:false,origem:"balao",autoPanAnimation:false,positioning:"center-center",position:i3GEO.util.projGeo2OSM(new ol.geom.Point([x,y])).getCoordinates()});i3geoOL.addOverlay(b);temp=function(retorno){i3geoOL.removeOverlay(b);i3GEO.mapa.montaTip(retorno,x,y)};i3GEO.php.identifica3(temp,x,y,res,"tip",i3GEO.configura.locaplic,i3GEO.configura.sid,"ligados",i3GEO.parametros.mapexten,"","sim")}},montaTip:function(retorno,xx,yy){var textCopy=[],textoSimples="",textoTempSimples="",x,y,temp,n,mostra,res,temas,ntemas,titulo,tips,j,ntips,r,ds,nds,s,configura=i3GEO.configura,wkts=[];i3GEO.eventos.cliquePerm.status=true;mostra=false;if(retorno.data){retorno=retorno.data;temp=retorno[0].xy.split(",");x=temp[0]*1;y=temp[1]*1}else{x=xx;y=yy;mostra=true;textoSimples=$trad("balaoVazio");wkt=[];if(i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.openTipNoData==false){mostra=false}}if(retorno!==""){res="";ntemas=0;temas=retorno;if(temas){ntemas=temas.length}for(j=0;j<ntemas;j+=1){titulo=temas[j].nome;textCopy.push(titulo);var temp1=[];$.each(temas[j].funcoesjs,function(key,value){if(value.tipo=="layer"){var parametros=[x,y,temas[j].tema];$.each(value.parametros,function(key1,value1){parametros.push(ds[s][value1].valor)});parametros="\""+parametros.join("\",\"")+"\"";temp1.push("<a class='toolTipBalaoFuncoes' href='javascript:void(0);' onclick='"+value.funcao+"("+parametros+")' >"+value.titulo+"</a><br>");if(value.script&&value.script!=""){i3GEO.util.scriptTag(value.script,"","funcaolayer"+value.funcao,false)}}});temp1=temp1.join(" ");var mais="<button style='margin: 2px;padding: 0px;vertical-align: middle;position: relative;top: -7px;' class='btn btn-default btn-xs' onclick=\"i3GEO.mapa.dialogo.cliqueIdentificaDefault("+x+","+y+",'"+temas[j].tema+"');return false;\" ><span style='opacity:0.5;vertical-align: middle;padding: 0px;' class='material-icons'>info</span></button>";if(ntemas==1){mais=""}titulo="<div class='toolTipBalaoTitulo'>"+mais+" <b>"+titulo+"</b><br>"+temp1+"</div>";tips=temas[j].resultado.todosItens;ntips=tips.length;ins="";textoTempSimples="";ds=temas[j].resultado.dados;if(ds!==" "&&ds[0]&&ds[0]!=" "){try{nds=ds.length;for(s=0;s<nds;s+=1){textoTempSimples+="<div class='toolTipBalaoTexto'>";for(r=0;r<ntips;r+=1){try{temp="";var alias=ds[s][tips[r]].alias;var valor=ds[s][tips[r]].valor;var link=ds[s][tips[r]].link;var img=ds[s][tips[r]].img;var estilo="tooltip-"+temas[j].tema;if(valor!==""&&link===""){temp+="<span class='"+estilo+"'><label>"+alias+": </label>"+valor+"</span><br>";textCopy.push(alias+":"+valor)}if(valor!==""&&link!==""){temp+="<span class='"+estilo+"'><label>"+alias+" : </label><a style='color:blue;cursor:pointer' target=_blanck href='"+link+"' >"+valor+"</a></span><br>";textCopy.push(alias+":"+valor)}if(img!==""){temp+=img+"<br>"}if(ds[s][tips[r]].tip.toLowerCase()==="sim"){textoTempSimples+=temp}mostra=true}catch(e){}}var temp1=[];$.each(temas[j].funcoesjs,function(key,value){if(value.tipo=="registro"){var parametros=[x,y,temas[j].tema];$.each(value.parametros,function(key1,value1){parametros.push(ds[s][value1].valor)});parametros="\""+parametros.join("\",\"")+"\"";temp1.push("<a class='toolTipBalaoFuncoes' href='javascript:void(0);' onclick='"+value.funcao+"("+parametros+")' >"+value.titulo+"</a><br>");if(value.script&&value.script!=""){i3GEO.util.scriptTag(value.script,"","funcaolayer"+value.funcao,false)}}});temp1=temp1.join(" ");textoTempSimples+=temp1+"</div>";if(ds[s].wkt&&ds[s].wkt.valor!=""){ds[s].tema=temas[j].tema;ds[s].titulo=titulo;wkts.push(ds[s])}}}catch(e){}}if(textoTempSimples!==""){textoSimples+=titulo+textoTempSimples}}if(mostra===true){if(i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.modal==true){i3GEO.janela.closeMsg(textoSimples);return}else{i3GEO.Interface[i3GEO.Interface.ATUAL].balao(textoSimples,textCopy,x,y,true,wkts.length)}}}n=wkts.length;if(n>0){if(i3GEO.Interface.ATUAL!="openlayers"){return}i3GEO.desenho.openlayers.criaLayerGrafico();var g,format,f,idunico,c=i3GEO.desenho.layergrafico.getSource();format=new ol.format.WKT();for(r=0;r<n;r+=1){f=format.readFeatures(wkts[r].wkt.valor);f=f[0];f.setProperties({origem:"pin"});g=f.getGeometry();g=i3GEO.util.projGeo2OSM(g);f.setGeometry(g);f.setId(i3GEO.util.uid());i3GEO.editor.setStyleByTypeFeature(f);i3GEO.editor.sel.setPropertiesDefault(f);wkts[r].wkt="",f.setProperties({"fat":wkts[r]});c.addFeature(f)}}}};
3 3 \ No newline at end of file
... ...
js/dicionario.js
... ... @@ -3127,5 +3127,10 @@ g_traducao =
3127 3127 pt : "Copiado para a mem&oacute;ria",
3128 3128 en : "",
3129 3129 es : ""
  3130 + }],
  3131 + "nenhumaSel" : [{
  3132 + pt : "N&atilde;o existe nenhuma camada com sele&ccedil;&atilde;o",
  3133 + en : "",
  3134 + es : ""
3130 3135 }]
3131 3136 };
... ...
js/i3geo_tudo_compacto8.js
... ... @@ -235,7 +235,7 @@ var i3GEOF=[];var i3GEOadmin=[];if(typeof YAHOO!=&quot;undefined&quot;){YAHOO.namespace(&quot;i
235 235 if(typeof(i3GEO)==='undefined'){var i3GEO={}}var navm=false;var navn=false;var chro=navigator.userAgent.toLowerCase().indexOf('chrome')>-1;var opera=navigator.userAgent.toLowerCase().indexOf('opera')>-1;if(navigator.appName.substring(0,1)==='N'){navn=true}if(navigator.appName.substring(0,1)==='M'){navm=true}if(opera===true){navn=true}var $i=function(id){if(!id||id===""){return false}return document.getElementById(id)};Array.prototype.remove=function(s){try{var n=this.length,i;for(i=0;i<n;i++){if(this[i]==s){this.splice(i,1)}}}catch(e){}};Array.prototype.getUnique=function(){var u={},a=[];for(var i=0,l=this.length;i<l;++i){if(u.hasOwnProperty(this[i])){continue}a.push(this[i]);u[this[i]]=1}return a};(function(){function decimalAdjust(type,value,exp){if(typeof exp==='undefined'||+exp===0){return Math[type](value)}value=+value;exp=+exp;if(isNaN(value)||!(typeof exp==='number'&&exp%1===0)){return NaN}value=value.toString().split('e');value=Math[type](+(value[0]+'e'+(value[1]?(+value[1]-exp):-exp)));value=value.toString().split('e');return+(value[0]+'e'+(value[1]?(+value[1]+exp):exp))}if(!Math.round10){Math.round10=function(value,exp){return decimalAdjust('round',value,exp)}}if(!Math.floor10){Math.floor10=function(value,exp){return decimalAdjust('floor',value,exp)}}if(!Math.ceil10){Math.ceil10=function(value,exp){return decimalAdjust('ceil',value,exp)}}})();i3GEO.util={PINS:[],BOXES:[],trim:function(s){return s.replace(/^\s+|\s+$/gm,'')},generateId:function(pre){if(!pre){pre="UniqId"}return pre+String(Date.now())+Math.floor(Math.random()*10000)},escapeURL:function(sUrl){var re;sUrl=escape(sUrl);re=new RegExp("%3F","g");sUrl=sUrl.replace(re,'?');re=new RegExp("%3D","g");sUrl=sUrl.replace(re,'=');re=new RegExp("%26","g");sUrl=sUrl.replace(re,'&');return sUrl},insereCookie:function(nome,valor,expira){if(!expira){expira=10}var exdate=new Date();exdate.setDate(exdate.getDate()+expira);document.cookie=nome+"="+valor+"; expires="+exdate.toUTCString()+";path=/"},pegaCookie:function(nome){var cookies,i,fim;cookies=document.cookie;i=cookies.indexOf(nome);if(i===-1){return null}fim=cookies.indexOf(";",i);if(fim===-1){fim=cookies.length}return(unescape(cookies.substring(i,fim))).split("=")[1]},listaChaves:function(obj){var keys,key="";keys=[];for(key in obj){if(obj[key]){keys.push(key)}}return keys},listaTodasChaves:function(obj){var keys,key="";keys=[];for(key in obj){keys.push(key)}return keys},removeAcentos:function(str){var defaultDiacriticsRemovalMap=[{'base':'A','letters':/[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F]/g},{'base':'C','letters':/[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E]/g},{'base':'E','letters':/[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E]/g},{'base':'I','letters':/[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197]/g},{'base':'O','letters':/[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C]/g},{'base':'U','letters':/[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244]/g},{'base':'a','letters':/[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250]/g},{'base':'c','letters':/[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184]/g},{'base':'e','letters':/[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD]/g},{'base':'i','letters':/[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131]/g},{'base':'o','letters':/[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275]/g},{'base':'u','letters':/[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289]/g}];for(var i=0;i<defaultDiacriticsRemovalMap.length;i++){str=str.replace(defaultDiacriticsRemovalMap[i].letters,defaultDiacriticsRemovalMap[i].base)}return str},protocolo:function(){var u=window.location.href;u=u.split(":");return(u[0])},pegaPosicaoObjeto:function(obj){if(obj){if(!obj.style){return[0,0]}var curleft=0,curtop=0;if(obj){if(obj.offsetParent){do{curleft+=obj.offsetLeft-obj.scrollLeft;curtop+=obj.offsetTop-obj.scrollTop;obj=obj.offsetParent}while(obj)}}return[curleft+document.body.scrollLeft,curtop+document.body.scrollTop]}else{return[0,0]}},pegaElementoPai:function(e){var targ=document;if(!e){e=window.event}if(e.target){targ=e.target}else{if(e.srcElement){targ=e.srcElement}}if(targ.nodeType===3){targ=targ.parentNode}if(targ.parentNode){tparent=targ.parentNode;return(tparent)}else{return targ}},mudaCursor:function(){},criaBox:function(id){if(arguments.length===0){id="boxg"}if(!$i(id)){var novoel=document.createElement("div");novoel.id=id;novoel.style.zIndex=1;novoel.innerHTML='<font face="Arial" size=0></font>';document.body.appendChild(novoel);novoel.onmouseover=function(){novoel.style.display='none'};novoel.onmouseout=function(){novoel.style.display='block'};i3GEO.util.BOXES.push(id)}else{$i(id).style.display="block"}},escondeBox:function(){var l,i;l=i3GEO.util.BOXES.length;for(i=0;i<l;i++){if($i(i3GEO.util.BOXES[i])){$i(i3GEO.util.BOXES[i]).style.display="none"}}},criaPin:function(id,imagem,w,h,mouseover,onde){if(!id||id===""){id="boxpin"}if(!imagem||imagem===""){imagem=i3GEO.configura.locaplic+'/imagens/marker.png'}if(!w||w===""){w=21}if(!h||h===""){h=25}if(!onde||onde===""){onde=document.body}var p=$i(id);if(!p){var novoel=document.createElement("img");novoel.style.zIndex=10000;novoel.style.position="absolute";novoel.style.width=parseInt(w,10)+"px";novoel.style.height=parseInt(h,10)+"px";novoel.style.top="0px";novoel.style.left="0px";novoel.src=imagem;novoel.id=id;novoel.style.display="block";if(id==="boxpin"){novoel.onmouseover=function(){$i("boxpin").style.display="none"}}else if(mouseover){novoel.onmouseover=mouseover}onde.appendChild(novoel);i3GEO.util.PINS.push(id);return[true,novoel]}p.style.display="block";return[false,p]},posicionaImagemNoMapa:function(id,x,y){var i,mx,my;if(!x){x=objposicaocursor.telax}if(!y){y=objposicaocursor.telay}i=$i(id);mx=parseInt(i.style.width,10)/2;my=parseInt(i.style.height,10)/2;i.style.top=y-my+"px";i.style.left=x-mx+"px";return[y-my,x-mx]},escondePin:function(){var l,i;l=i3GEO.util.PINS.length;for(i=0;i<l;i++){if($i(i3GEO.util.PINS[i])){$i(i3GEO.util.PINS[i]).style.display="none"}}},removePin:function(id){var l,i,idpin;l=i3GEO.util.PINS.length;for(i=0;i<l;i++){idpin=i3GEO.util.PINS[i];if($i(idpin)){if(!id||(id&&id===idpin)){$i(idpin).style.display="none";i3GEO.util.removeChild(idpin);i3GEO.util.PINS.remove(i)}}}},$im:function(g){return i3GEO.configura.locaplic+"/imagens/"+g},$inputText:function(idPai,larguraIdPai,idInput,titulo,digitos,valor,nome,onch){if(arguments.length===6){nome=""}if(idPai!==""){if(larguraIdPai!==""){$i(idPai).style.width=larguraIdPai+"px"}$i(idPai).style.padding="3";$i(idPai).style.textAlign="center"}if(!onch){onch=""}return"<span ><input onchange=\""+onch+"\" tabindex='0' id='"+idInput+"' title='"+titulo+"' type='text' size='"+digitos+"' value='"+valor+"' name='"+nome+"' /></span>"},$inputTextMudaCor:function(obj){var n=obj.value.split(" ");obj.style.color="rgb("+n[0]+","+n[1]+","+n[2]+")"},$top:function(id,valor){if(document.getElementById(id).style){if(document.getElementById(id).style.pixelTop){document.getElementById(id).style.pixelTop=valor}else{document.getElementById(id).style.top=valor+"px"}}},$left:function(id,valor){if(document.getElementById(id).style){if(document.getElementById(id).style.pixelLeft){document.getElementById(id).style.pixelLeft=valor}else{document.getElementById(id).style.left=valor+"px"}}},adicionaSHP:function(path){var temp=path.split(".");if((temp[1]==="SHP")||(temp[1]==="shp")){i3GEO.php.adicionaTemaSHP(i3GEO.atualiza,path)}else{i3GEO.php.adicionaTemaIMG(i3GEO.atualiza,path)}},abreCor:function(janelaid,elemento,tipo){if(!i3GEO.configura){i3GEO.configura={locaplic:"../"}}if(arguments.length===2){tipo="rgb"}var janela,ins,novoel,wdocaiframe,wsrc=i3GEO.configura.locaplic+"/ferramentas/colorpicker/index.htm?doc="+janelaid+"&elemento="+elemento+"&tipo="+tipo,texto="Cor",id="i3geo_janelaCor",classe="hd";if($i(id)){YAHOO.i3GEO.janela.manager.find(id).show();return}ins='<div id="'+id+'_cabecalho" class="hd">';ins+="<span><img id='i3geo_janelaCor_imagemCabecalho' style='visibility:hidden;' src=\'"+i3GEO.configura.locaplic+"/imagens/aguarde.gif\' /></span>";ins+=texto;ins+='</div><div id="i3geo_janelaCor_corpo" class="bd" style="padding:5px">';if(wsrc!==""){ins+='<iframe name="'+id+'i" id="i3geo_janelaCori" valign="top" style="height:230px,border:0px white solid"></iframe>'}ins+='</div>';novoel=document.createElement("div");novoel.id="i3geo_janelaCor";novoel.style.display="block";novoel.innerHTML=ins;if($i("i3geo")){$i("i3geo").appendChild(novoel)}else{document.body.appendChild(novoel)}wdocaiframe=$i("i3geo_janelaCori");if(wdocaiframe){wdocaiframe.style.display="block";wdocaiframe.src=wsrc;wdocaiframe.style.height="250px";wdocaiframe.style.width="355px";wdocaiframe.style.border="0px solid white"}janela=new YAHOO.widget.Panel(id,{height:"290px",modal:false,width:"360px",fixedcenter:true,constraintoviewport:false,visible:true,iframe:false,strings:{close:"<span class='material-icons'>cancel</span>"}});YAHOO.i3GEO.janela.manager.register(janela);janela.render();$i(id+'_cabecalho').className=classe},aparece:function(id,tempo,intervalo){var n,obj,opacidade,fadei=0,tempoFadei=null;n=parseInt(tempo/intervalo,10);obj=$i(id);if(n===1){obj.style.display="block";if(navm){obj.style.filter='alpha(opacity=100)'}else{obj.style.opacity=1}}tempo=n*intervalo;intervalo=(intervalo*100)/tempo;opacidade=0;if(navm){obj.style.filter='alpha(opacity=0)'}else{obj.style.opacity=0}obj.style.display="block";fadei=function(){opacidade+=intervalo;if(navm){obj.style.filter='alpha(opacity='+opacidade+')'}else{obj.style.opacity=opacidade/100}if(opacidade<100){tempoFadei=setTimeout(fadei,tempo)}else{if(tempoFadei){clearTimeout(tempoFadei)}if(navm){obj.style.filter='alpha(opacity=100)'}else{obj.style.opacity=1}}};tempoFadei=setTimeout(fadei,tempo)},desaparece:function(id,tempo,intervalo,removeobj){var n,obj,opacidade,fade=0,p,tempoFade=null;n=parseInt(tempo/intervalo,10);obj=$i(id);if(n===1){obj.style.display="none";if(removeobj){p=obj.parentNode;if(p){p.removeChild(obj)}}return}tempo=n*intervalo;intervalo=(intervalo*100)/tempo;opacidade=100;if(navm){obj.style.filter='alpha(opacity=100)'}else{obj.style.opacity=1}obj.style.display="block";fade=function(){opacidade-=intervalo;if(navm){obj.style.filter='alpha(opacity='+opacidade+')'}else{obj.style.opacity=opacidade/100}if(opacidade>0){tempoFade=setTimeout(fade,tempo)}else{if(tempoFade){clearTimeout(tempoFade)}obj.style.display="none";if(navm){obj.style.filter='alpha(opacity=100)'}else{obj.style.opacity=1}if(removeobj){p=obj.parentNode;if(p){p.removeChild(obj)}}}};tempoFade=setTimeout(fade,tempo)},wkt2ext:function(wkt,tipo){var re,x,y,w,xMin,xMax,yMin,yMax,temp;tipo=tipo.toLowerCase();ext=false;if(tipo==="polygon"){try{re=new RegExp("POLYGON","g");wkt=wkt.replace(re,"");wkt=wkt.split("(")[2].split(")")[0];wkt=wkt.split(",");x=[];y=[];for(w=0;w<wkt.length;w++){temp=wkt[w].split(" ");x.push(temp[0]);y.push(temp[1])}x.sort(i3GEO.util.sortNumber);xMin=x[0];xMax=x[(x.length)-1];y.sort(i3GEO.util.sortNumber);yMin=y[0];yMax=y[(y.length)-1];return xMin+" "+yMin+" "+xMax+" "+yMax}catch(e){}}if(tipo==="point"){try{re=new RegExp("POINT","g");wkt=wkt.replace(re,"");wkt=wkt.split("(")[1].split(")")[0];wkt=wkt.split(" ");return(wkt[0]*1-0.01)+" "+(wkt[1]*1-0.01)+" "+(wkt[0]*1+0.01)+" "+(wkt[1]*1+0.01)}catch(e){}}return ext},sortNumber:function(a,b){return a-b},getScrollerWidth:function(){var scr=null,inn=null,wNoScroll=0,wScroll=0;scr=document.createElement('div');scr.style.position='absolute';scr.style.top='-1000px';scr.style.left='-1000px';scr.style.width='100px';scr.style.height='50px';scr.style.overflow='hidden';inn=document.createElement('div');inn.style.width='100%';inn.style.height='200px';scr.appendChild(inn);document.body.appendChild(scr);wNoScroll=inn.offsetWidth;scr.style.overflow='auto';wScroll=inn.offsetWidth;document.body.removeChild(document.body.lastChild);return(wNoScroll-wScroll)},getScrollHeight:function(){var mx=Math.max,d=document;return mx(mx(d.body.scrollHeight,d.documentElement.scrollHeight),mx(d.body.offsetHeight,d.documentElement.offsetHeight),mx(d.body.clientHeight,d.documentElement.clientHeight))},scriptTag:function(js,ini,id,aguarde){var head,script;if(!$i(id)||id===""){head=document.getElementsByTagName('head')[0];script=document.createElement('script');script.type='text/javascript';if(ini!==""){if(navm){script.onreadystatechange=function(){if(this.readyState==='loaded'||this.readyState==='complete'){if(ini.call){ini.call()}else{eval(ini)}}}}else{script.onload=function(){if(ini.call){ini.call()}else{eval(ini)}}}}script.src=js;if(id!==""){script.id=id}head.appendChild(script)}else{if(ini!==""){if(jQuery.isFunction(ini)){ini.call()}else{eval(ini)}}}},removeScriptTag:function(id){try{old=$i("loadscriptI3GEO");if(old!==null){old.parentNode.removeChild(old);old=null;eval(id+" = null;")}old=$i(id);if(old!==null){old.parentNode.removeChild(old)}}catch(erro){}},verificaScriptTag:function(texto){var s=document.getElementsByTagName("script"),n=s.length,i,t;try{for(i=0;i<n;i++){t=s[i].id;t=t.split(".");if(t[2]&&t[2]=="dicionario_script"){return false}if(t[0]===texto){return true}}return false}catch(e){return false}},mensagemAjuda:function(onde,texto){var ins="<table class='mensagemAjuda' ><tr><th>";ins+='<div style="float:right"></div>';ins+='<div style="text-align:left;">';if(texto===""){texto=$i(onde).innerHTML}ins+=texto;ins+='</div></th></tr></table>';if(onde!==""){$i(onde).innerHTML=ins}else{return(ins)}},randomRGB:function(){var v=Math.random(),r=parseInt(255*v,10),g;v=Math.random();g=parseInt(255*v,10);v=Math.random();b=parseInt(255*v,10);return(r+","+g+","+b)},rgb2hex:function(str){var rgb=str.split(",");function hex(x){return("0"+parseInt(x).toString(16)).slice(-2)}return"#"+hex(rgb[0])+hex(rgb[1])+hex(rgb[2])},hex2rgb:function(colour){var r,g,b;if(colour.charAt(0)=='#'){colour=colour.substr(1)}if(colour.length==3){colour=colour.substr(0,1)+colour.substr(0,1)+colour.substr(1,2)+colour.substr(1,2)+colour.substr(2,3)+colour.substr(2,3)}r=colour.charAt(0)+''+colour.charAt(1);g=colour.charAt(2)+''+colour.charAt(3);b=colour.charAt(4)+''+colour.charAt(5);r=parseInt(r,16);g=parseInt(g,16);b=parseInt(b,16);return r+','+g+','+b},comboTemas:function(id,funcao,onde,nome,multiplo,tipoCombo,estilo,yui,incluiVazio,classe){if(onde&&onde!==""){}if(!nome){nome=""}if(!multiplo){multiplo=false}if(!estilo||estilo==""){estilo="font-size: 12px;width: 95%;"}if(!yui){yui=false}if(!incluiVazio){incluiVazio=false}if(!classe){classe=""}var monta,temp,temp1,temp2;monta=function(retorno){var i,comboTemas='',n,nome="",tema;if(yui===true){comboTemas='<input type="button" name='+id+'_button id="'+id+'" value="'+$trad("x33")+'&nbsp;&nbsp;">';id=id+"select";nome=id}if(retorno==undefined||retorno.length==0||(retorno.data&&retorno.data.length==0)){retorno={"data":[{"tema":"","nome":"---"}]};incluiVazio=false}if(retorno!==undefined){if(retorno.data){retorno=retorno.data}n=retorno.length;if(n>0){if(multiplo){comboTemas+="<select class='"+classe+"' style='"+estilo+"' id='"+id+"' size='4' multiple='multiple' name='"+nome+"'>"}else{comboTemas+="<select class='"+classe+"' style='"+estilo+"' id='"+id+"' name='"+nome+"'>"}if(incluiVazio===true){comboTemas+="<option value=''>"+$trad("x92")+"</option>"}for(i=0;i<n;i++){if(retorno[i].nome){nome=retorno[i].nome;tema=retorno[i].tema}else{nome=retorno[i].tema;tema=retorno[i].name}if(retorno[i].escondido!=="sim"){comboTemas+="<option value="+tema+" >"+nome+"</option>"}}comboTemas+="</select><span class='material-icons iconeComboTemas'>playlist_add_check</span>";temp={dados:comboTemas,tipo:"dados"}}else{if(tipoCombo==="poligonosSelecionados"||tipoCombo==="selecionados"||tipoCombo==="pontosSelecionados"){temp={dados:'<div class=alerta >Nenhum tema encontrado. <span style=cursor:pointer;color:blue onclick="i3GEO.mapa.dialogo.selecao()" > Selecionar...</span></div>',tipo:"mensagem"}}else{temp={dados:'<div class=alerta >Nenhum tema encontrado. </div>',tipo:"mensagem"}}}}else{temp={dados:"<p style=color:red >Ocorreu um erro<br>",tipo:"erro"}}eval("funcao(temp);")};if(tipoCombo==="ligados"){if(i3GEO.arvoreDeCamadas.CAMADAS!==""){monta(i3GEO.arvoreDeCamadas.filtraCamadas("status",2,"igual",i3GEO.arvoreDeCamadas.CAMADAS))}else{i3GEO.php.listaTemas(monta,"ligados",i3GEO.configura.locaplic,i3GEO.configura.sid)}}if(tipoCombo==="ligadosComTabela"){if(i3GEO.arvoreDeCamadas.CAMADAS!==""){temp=i3GEO.arvoreDeCamadas.filtraCamadas("status",2,"igual",i3GEO.arvoreDeCamadas.CAMADAS);temp1=i3GEO.arvoreDeCamadas.filtraCamadas("type",3,"menor",temp);temp2=i3GEO.arvoreDeCamadas.filtraCamadas("type",8,"igual",temp);monta(temp1.concat(temp2))}else{i3GEO.php.listaTemas(monta,"ligados",i3GEO.configura.locaplic,i3GEO.configura.sid)}}if(tipoCombo==="comTabela"){if(i3GEO.arvoreDeCamadas.CAMADAS!==""){temp=i3GEO.arvoreDeCamadas.filtraCamadas("status",3,"menor",i3GEO.arvoreDeCamadas.CAMADAS);temp1=i3GEO.arvoreDeCamadas.filtraCamadas("type",3,"menor",temp);temp2=i3GEO.arvoreDeCamadas.filtraCamadas("type",8,"igual",temp);monta(temp1.concat(temp2))}}if(tipoCombo==="locais"){i3GEO.php.listaTemasEditaveis(monta,i3GEO.configura.locaplic,i3GEO.configura.sid)}if(tipoCombo==="editavel"){temp=i3GEO.arvoreDeCamadas.filtraCamadas("editavel","SIM","igual",i3GEO.arvoreDeCamadas.CAMADAS);monta(temp)}if(tipoCombo==="selecionados"){if(i3GEO.arvoreDeCamadas.CAMADAS!==""){monta(i3GEO.arvoreDeCamadas.filtraCamadas("sel","sim","igual",i3GEO.arvoreDeCamadas.CAMADAS))}else{i3GEO.php.listaTemasComSel(monta,i3GEO.configura.locaplic,i3GEO.configura.sid)}}if(tipoCombo==="raster"){if(i3GEO.arvoreDeCamadas.CAMADAS!==""){monta(i3GEO.arvoreDeCamadas.filtraCamadas("type",3,"igual",i3GEO.arvoreDeCamadas.CAMADAS))}else{i3GEO.php.listatemasTipo(monta,"raster",i3GEO.configura.locaplic,i3GEO.configura.sid)}}if(tipoCombo==="pontosSelecionados"){if(i3GEO.arvoreDeCamadas.CAMADAS!==""){temp=i3GEO.arvoreDeCamadas.filtraCamadas("type",0,"igual",i3GEO.arvoreDeCamadas.CAMADAS);monta(i3GEO.arvoreDeCamadas.filtraCamadas("sel","sim","igual",temp))}else{i3GEO.janela.tempoMsg($trad("x13"))}}if(tipoCombo==="pontos"){if(i3GEO.arvoreDeCamadas.CAMADAS!==""){monta(i3GEO.arvoreDeCamadas.filtraCamadas("type",0,"igual",i3GEO.arvoreDeCamadas.CAMADAS))}else{i3GEO.janela.tempoMsg($trad("x13"))}}if(tipoCombo==="poligonos"){if(i3GEO.arvoreDeCamadas.CAMADAS!==""){monta(i3GEO.arvoreDeCamadas.filtraCamadas("type",2,"igual",i3GEO.arvoreDeCamadas.CAMADAS))}else{i3GEO.janela.tempoMsg($trad("x13"))}}if(tipoCombo==="naoraster"){if(i3GEO.arvoreDeCamadas.CAMADAS!==""){temp=i3GEO.arvoreDeCamadas.filtraCamadas("type",4,"diferente",i3GEO.arvoreDeCamadas.CAMADAS);temp=i3GEO.arvoreDeCamadas.filtraCamadas("type",5,"diferente",temp);temp=i3GEO.arvoreDeCamadas.filtraCamadas("type",6,"diferente",temp);temp=i3GEO.arvoreDeCamadas.filtraCamadas("type",7,"diferente",temp);monta(i3GEO.arvoreDeCamadas.filtraCamadas("type",8,"diferente",temp))}else{i3GEO.janela.tempoMsg($trad("x13"))}}if(tipoCombo==="poligonosSelecionados"){if(i3GEO.arvoreDeCamadas.CAMADAS!==""){temp=i3GEO.arvoreDeCamadas.filtraCamadas("type",2,"igual",i3GEO.arvoreDeCamadas.CAMADAS);monta(i3GEO.arvoreDeCamadas.filtraCamadas("sel","sim","igual",temp))}else{i3GEO.janela.tempoMsg($trad("x13"))}}if(tipoCombo==="naolinearSelecionados"){if(i3GEO.arvoreDeCamadas.CAMADAS!==""){temp=i3GEO.arvoreDeCamadas.filtraCamadas("type",1,"diferente",i3GEO.arvoreDeCamadas.CAMADAS);monta(i3GEO.arvoreDeCamadas.filtraCamadas("sel","sim","igual",temp))}else{i3GEO.janela.tempoMsg($trad("x13"))}}if(tipoCombo==="linhaDoTempo"){if(i3GEO.arvoreDeCamadas.CAMADAS!==""){monta(i3GEO.arvoreDeCamadas.filtraCamadas("linhadotempo","sim","igual",i3GEO.arvoreDeCamadas.CAMADAS))}else{i3GEO.janela.tempoMsg($trad("x13"))}}if(tipoCombo===""){if(i3GEO.arvoreDeCamadas.CAMADAS!==""){monta(i3GEO.arvoreDeCamadas.filtraCamadas("type","","diferente",i3GEO.arvoreDeCamadas.CAMADAS))}else{i3GEO.janela.tempoMsg($trad("x13"))}}},checkCombo:function(id,nomes,valores,estilo,funcaoclick,ids,idschecked){var temp,i,combo="",n=valores.length;if(!funcaoclick){funcaoclick=""}if(n>0){combo="<div id="+id+" style='"+estilo+"'>";for(i=0;i<n;i++){temp="";if(idschecked&&idschecked[i]){temp="checked"}if(!ids){combo+="<li class='checkbox text-left'>"+"<label style='width:90%'>"+" <input "+temp+"type='checkbox' value='"+valores[i]+"' onclick="+funcaoclick+" >"+" <span class='checkbox-material'><span class='check'></span></span> "+nomes[i]+"</label></li>"}else{combo+="<li class='checkbox text-left'>"+"<label style='width:90%'>"+" <input "+temp+"type='checkbox' id="+ids[i]+" value='"+valores[i]+"' onclick="+funcaoclick+" >"+" <span class='checkbox-material'><span class='check'></span></span> "+nomes[i]+"</label></li>"}}combo+="</div>"}return combo},valoresCheckCombo:function(id){var el=$i(id),res=[],n,i;if(el){el=el.getElementsByTagName("input");n=el.length;for(i=0;i<n;i++){if(el[i].checked===true){res.push(el[i].value)}}}return res},checkTemas:function(id,funcao,onde,nome,tipoLista,prefixo,size){if(arguments.length>2){$i(onde).innerHTML="buscando temas..."}if(arguments.length===3){nome=""}var monta,temp,temp1,n,i;monta=function(retorno){try{var i,comboTemas,n,nome,listaNomes=[],listaValores=[];if(retorno!==undefined){if(retorno.data){retorno=retorno.data}n=retorno.length;if(n>0){comboTemas="";for(i=0;i<n;i++){if(retorno[i].nome){nome=retorno[i].nome;tema=retorno[i].tema}else{nome=retorno[i].tema;tema=retorno[i].name}listaNomes.push(nome);listaValores.push(tema);comboTemas+="<tr><td><input size=2 style='cursor:pointer' type=checkbox name='"+tema+"' /></td>";comboTemas+="<td>&nbsp;<input style='text-align:left;width:"+size+" cursor:text;' onclick='javascript:this.select();' id='"+prefixo+tema+"' type=text value='"+nome+"' /></td></tr>"}temp={dados:comboTemas,tipo:"dados"}}else{temp={dados:'<div class=alerta >Nenhum tema encontrado.</div>',tipo:"mensagem"}}}else{temp={dados:"<p style=color:red >Ocorreu um erro<br>",tipo:"erro"}}eval("funcao(temp,listaNomes,listaValores);")}catch(e){}};if(tipoLista==="ligados"){if(i3GEO.arvoreDeCamadas.CAMADAS!==""){monta(i3GEO.arvoreDeCamadas.filtraCamadas("status",2,"igual",i3GEO.arvoreDeCamadas.CAMADAS))}else{i3GEO.php.listaTemas(monta,"ligados",i3GEO.configura.locaplic,i3GEO.configura.sid)}}if(tipoLista==="selecionados"){if(i3GEO.arvoreDeCamadas.CAMADAS!==""){monta(i3GEO.arvoreDeCamadas.filtraCamadas("sel","sim","igual",i3GEO.arvoreDeCamadas.CAMADAS))}else{i3GEO.php.listaTemasComSel(monta,i3GEO.configura.locaplic,i3GEO.configura.sid)}}if(tipoLista==="raster"){if(i3GEO.arvoreDeCamadas.CAMADAS!==""){monta(i3GEO.arvoreDeCamadas.filtraCamadas("type",3,"igual",i3GEO.arvoreDeCamadas.CAMADAS))}else{i3GEO.php.listatemasTipo(monta,"raster",i3GEO.configura.locaplic,i3GEO.configura.sid)}}if(tipoLista==="polraster"){if(i3GEO.arvoreDeCamadas.CAMADAS!==""){temp=i3GEO.arvoreDeCamadas.filtraCamadas("type",3,"igual",i3GEO.arvoreDeCamadas.CAMADAS);temp1=i3GEO.arvoreDeCamadas.filtraCamadas("type",2,"igual",i3GEO.arvoreDeCamadas.CAMADAS);n=temp1.length;for(i=0;i<n;i++){temp.push(temp1[i])}monta(temp)}else{alert($trad("x13"))}}if(tipoLista==="pontosSelecionados"){if(i3GEO.arvoreDeCamadas.CAMADAS!==""){temp=i3GEO.arvoreDeCamadas.filtraCamadas("type",0,"igual",i3GEO.arvoreDeCamadas.CAMADAS);monta(i3GEO.arvoreDeCamadas.filtraCamadas("sel","sim","igual",temp))}else{alert($trad("x13"))}}if(tipoLista==="pontos"){if(i3GEO.arvoreDeCamadas.CAMADAS!==""){monta(i3GEO.arvoreDeCamadas.filtraCamadas("type",0,"igual",i3GEO.arvoreDeCamadas.CAMADAS))}else{alert($trad("x13"))}}},comboItens:function(id,tema,funcao,onde,nome,alias,estilo,classe){if(!classe){classe=""}if(!estilo){estilo=""}else{estilo="style="+estilo}if(!alias){alias="sim"}if(arguments.length>3&&$i(onde)){$i(onde).innerHTML="<span>buscando itens...</span>"}if(arguments.length<5){nome=""}var monta=function(retorno){var ins,temp,i,nm;if(retorno.data!==undefined){ins=[];ins.push("<select class='"+classe+"' "+estilo+" id='"+id+"' name='"+nome+"'>");ins.push("<option value='' >---</option>");temp=retorno.data.valores.length;for(i=0;i<temp;i++){if(retorno.data.valores[i].tema===tema){if(alias=="sim"){nm=retorno.data.valores[i].alias;if(nm===""){nm=retorno.data.valores[i].item}}else{nm=retorno.data.valores[i].item}ins.push("<option value='"+retorno.data.valores[i].item+"' >"+nm+"</option>")}}ins.push("</select><b class='caret careti' ></b>");ins=ins.join('');temp={dados:ins,tipo:"dados"}}else{temp={dados:'<div class=erro >Ocorreu um erro</div>',tipo:"erro"}}if(jQuery.isFunction(funcao)){funcao.call(this,temp)}else{eval("funcao(temp)")}};i3GEO.php.listaItensTema(monta,tema)},comboValoresItem:function(id,tema,itemTema,funcao,onde,classe){if(arguments.length===5){$i(onde).innerHTML="<span style=color:red;font-size:10px; >buscando valores...</span>"}if(arguments.length<6){classe=""}var monta=function(retorno){var ins=[],i,pares,j,valoresSort=[];if(retorno.data!==undefined){ins.push("<select class='"+classe+"' id="+id+" >");ins.push("<option value='' >---</option>");if(retorno.data[1].registros){for(i=0;i<retorno.data[1].registros.length;i++){pares=retorno.data[1].registros[i].valores;for(j=0;j<pares.length;j++){valoresSort.push(pares[j].valor)}}}else{for(i=0;i<retorno.data.length;i++){valoresSort.push(retorno.data[i])}}valoresSort.sort();for(j=0;j<valoresSort.length;j++){ins.push('<option value="'+valoresSort[j]+'" >'+valoresSort[j]+'</option>')}ins.push("</select><b class='caret careti' ></b>");ins=ins.join('');temp={dados:ins,tipo:"dados"}}else{temp={dados:'<div class=erro >Ocorreu um erro</erro>',tipo:"erro"}}if(jQuery.isFunction(funcao)){funcao.call(this,temp)}else{eval("funcao(temp)")}};i3GEO.php.listaValoresItensTema(monta,tema,itemTema)},comboFontes:function(id,onde,classe){if(!classe){classe=""}var monta=function(retorno){var ins="",temp,i,dados;if(retorno.data!==undefined){ins+="<select class='"+classe+"' id='"+id+"'>";ins+="<option value='arial' >arial</option>";ins+="<option value='bitmap' >bitmap</option>";dados=retorno.data.split(",");temp=dados.length;for(i=0;i<temp;i++){ins+="<option value='"+dados[i]+"' >"+dados[i]+"</option>"}ins+="</select><b class='caret careti' ></b>"}$i(onde).innerHTML=ins};i3GEO.php.listaFontesTexto(monta)},comboSimNao:function(id,selecionado){var combo="<select name="+id+" id="+id+" >";combo+="<option value='' >---</option>";if(selecionado.toLowerCase()==="sim"){combo+="<option value=TRUE selected >"+$trad("x14")+"</option>"}else{combo+="<option value=TRUE >"+$trad("x14")+"</option>"}if(selecionado==="nao"){combo+="<option value=FALSE selected >"+$trad("x15")+"</option>"}else{combo+="<option value=FALSE >"+$trad("x15")+"</option>"}combo+="</select><b class='caret careti' ></b>";return(combo)},checkItensEditaveis:function(tema,funcao,onde,size,prefixo,ordenacao){if(!ordenacao||ordenacao==""){ordenacao="nao"}if(onde!==""){$i(onde).innerHTML="<span style=color:red;font-size:10px; >"+$trad("x65")+"</span>"}var monta=function(retorno){var ins=[],i,temp,n;if(retorno.data!==undefined){if(ordenacao==="sim"){ins.push("<table class=lista7 ><tr><td></td><td>"+$trad("x64")+"</td><td>Ordem</td>")}else{ins.push("<table class=lista7 ><tr><td></td><td>"+$trad("x64")+"</td><td></td>")}n=retorno.data.valores.length;for(i=0;i<n;i++){ins.push("<tr><td><div class='checkbox text-left'><label><input name='"+retorno.data.valores[i].tema+"' id='"+prefixo+retorno.data.valores[i].item+"' type='checkbox'><span class='checkbox-material noprint'><span class='check'></span></span></label></div>"+"</td>");ins.push("<td><div class='form-group condensed' ><input class='form-control' style='width:"+size+"' id='"+prefixo+retorno.data.valores[i].item+retorno.data.valores[i].tema+"' type=text value='"+retorno.data.valores[i].item+"' /></div></td>");if(ordenacao==="sim"){ins.push("<td><div class='form-group condensed' ><input class='form-control' id='ordem_"+prefixo+retorno.data.valores[i].item+retorno.data.valores[i].tema+"' type=text size='3' value='"+i+"' /></div></td>")}else{ins.push("<td></td>")}ins.push("</tr>")}ins.push("</table>");ins=ins.join('');temp={dados:ins,tipo:"dados"}}else{temp={dados:'<div class=erro >'+$trad("x66")+'</div>',tipo:"erro"}}funcao.call(this,temp)};i3GEO.php.listaItensTema(monta,tema)},radioEpsg:function(funcao,onde,prefixo,marcado){var c;if(arguments.length===2){$i(onde).innerHTML="<span style=color:red;font-size:10px; >buscando...</span>"}c="checked";if(marcado&&marcado==="nao"){c=""}var monta=function(retorno){var ins=[],i,n,temp;if(retorno.data!==undefined){ins.push("<table class=lista2 >");n=retorno.data.length;for(i=0;i<n;i++){ins.push("<tr><td><input size=2 style='border:0px solid white;cursor:pointer' "+c+" name='"+prefixo+"EPSG' type=radio value='"+retorno.data[i].codigo+"' /></td>");c="";ins.push("<td>"+retorno.data[i].nome+"</td></tr>")}ins.push("</table>");ins=ins.join('');temp={dados:ins,tipo:"dados"}}else{temp={dados:'<div class=erro >Ocorreu um erro</div>',tipo:"erro"}}funcao(temp)};i3GEO.php.listaEpsg(monta)},comboEpsg:function(idCombo,onde,funcaoOnChange,valorDefault){onde=$i(onde);onde.innerHTML="<span style=color:red;font-size:10px; >buscando...</span>";var monta=function(retorno){var ins=[],i,n;if(retorno.data!==undefined){n=retorno.data.length;ins.push("<select id='"+idCombo+"' onChange='"+funcaoOnChange+"(this)' >");for(i=0;i<n;i++){ins.push("<option value='"+retorno.data[i].codigo+"'>"+retorno.data[i].nome+"</option>")}ins.push("</select><b class='caret careti' ></b>");ins=ins.join('');onde.innerHTML=ins;$i(idCombo).value=valorDefault}else{onde.innerHTML='<div class=erro >Ocorreu um erro</div>'}};i3GEO.php.listaEpsg(monta)},proximoAnterior:function(anterior,proxima,texto,idatual,container,mantem,onde){var c,temp=$i(idatual),botoes="",ndiv=document.createElement("div"),nids,i;if(!mantem){mantem=false}c=$i(container);if(!c){return}if(temp&&mantem==false&&c){c.removeChild(temp)}if(c&&c.style){}botoes="<ul class='proximoAnterior pager condensed' style='width:95%;margin-bottom: 2px;'>";if(anterior!==""){anterior=anterior.replace("()","");botoes+="<li><a onclick='"+anterior+"()' class='pull-left withripple condensed' href='javascript:void(0)'>"+$trad("volta")+"</a></li>"}if(proxima!==""){proxima=proxima.replace("()","");botoes+="<li><a onclick='"+proxima+"()' class='pull-right withripple condensed' href='javascript:void(0)'>"+$trad("continua")+"</a></li>"}botoes+="</ul>";if(onde){$i(onde).innerHTML=botoes}else{texto=texto+"<br><br>"+botoes}if(!document.getElementById(idatual)){ndiv.id=idatual;ndiv.innerHTML=texto;c.appendChild(ndiv)}temp=c.getElementsByTagName("div");nids=temp.length;for(i=0;i<nids;i++){temp[i].style.display="none"}$i(idatual).style.display="block";temp=$i(idatual).getElementsByTagName("div");nids=temp.length;for(i=0;i<nids;i++){temp[i].style.display="block"}},dialogoFerramenta:function(mensagem,dir,nome,nomejs,nomefuncao){if(!nomejs){nomejs="index.js"}if(!nomefuncao){nomefuncao="i3GEOF."+nome+".criaJanelaFlutuante();"}var js=i3GEO.configura.locaplic+"/ferramentas/"+dir+"/"+nomejs;if(!$i("i3GEOF."+nome+"_script")){i3GEO.util.scriptTag(js,nomefuncao,"i3GEOF."+nome+"_script")}else{i3GEO.util.scriptTag(js,nomefuncao,"i3GEOF."+nome+"_script")}},intersectaBox:function(box1,box2){box1=box1.split(" ");box2=box2.split(" ");var box1i=box2,box2i=box1,coordx,coordy;coordx=box1[0]*1;coordy=box1[1]*1;if(coordx>=box2[0]*1&&coordx<=box2[2]*1&&coordy>=box2[1]*1&&coordy<=box2[3]*1){return true}if(coordx>=box2[0]*1&&coordx<=box2[2]*1&&coordy>=box2[1]*1&&coordy<=box2[3]*1){return true}coordx=box1[2]*1;coordy=box1[3]*1;if(coordx>=box2[0]*1&&coordx<=box2[2]*1&&coordy>=box2[1]*1&&coordy<=box2[3]*1){return true}coordx=box1[2]*1;coordy=box1[1]*1;if(coordx>=box2[0]*1&&coordx<=box2[2]*1&&coordy>=box2[1]*1&&coordy<=box2[3]*1){return true}box1=box1i;box2=box2i;coordx=box1[0]*1;coordy=box1[1]*1;if(coordx>=box2[0]*1&&coordx<=box2[2]*1&&coordy>=box2[1]*1&&coordy<=box2[3]*1){return true}if(coordx>=box2[0]*1&&coordx<=box2[2]*1&&coordy>=box2[1]*1&&coordy<=box2[3]*1){return true}coordx=box1[2]*1;coordy=box1[3]*1;if(coordx>=box2[0]*1&&coordx<=box2[2]*1&&coordy>=box2[1]*1&&coordy<=box2[3]*1){return true}coordx=box1[2]*1;coordy=box1[1]*1;if(coordx>=box2[0]*1&&coordx<=box2[2]*1&&coordy>=box2[1]*1&&coordy<=box2[3]*1){return true}return false},abreColourRamp:function(janelaid,elemento,ncores,temaSel,displayComboTemas){var janela,ins,novoel,wdocaiframe,temp,fix=false,wsrc=i3GEO.configura.locaplic+"/ferramentas/colourramp/index.php?ncores="+ncores+"&doc="+janelaid+"&elemento="+elemento+"&locaplic="+i3GEO.configura.locaplic,nx="",texto="",id="i3geo_janelaCorRamp",classe="hd";if(!temaSel){temaSel=""}if($i(id)){janela=YAHOO.i3GEO.janela.manager.find(id);janela.show();janela.bringToTop();return}ins='<div id="'+id+'_cabecalho" class="hd" style="left:10px;">';if(i3GEO&&i3GEO.arvoreDeCamadas){ins+="<div id='i3geo_janelaCorRampComboCabeca' class='comboTemasCabecalhoBs form-group' style='width:200px;top:0px;display:none;'> ------</div>"}ins+="&nbsp;&nbsp;&nbsp;"+texto;ins+='</div><div id="i3geo_janelaCorRamp_corpo" class="bd" style="padding:5px">';ins+='<iframe name="'+id+'i" id="i3geo_janelaCorRampi" valign="top" ></iframe>';ins+='</div>';novoel=document.createElement("div");novoel.id="i3geo_janelaCorRamp";novoel.style.display="block";novoel.innerHTML=ins;if($i("i3geo")){$i("i3geo").appendChild(novoel)}else{document.body.appendChild(novoel)}wdocaiframe=$i("i3geo_janelaCorRampi");wdocaiframe.style.display="block";wdocaiframe.src=wsrc;wdocaiframe.style.height="400px";wdocaiframe.style.width="100%";wdocaiframe.style.border="0px solid white";if(nx===""||nx==="center"){fix=true}janela=new YAHOO.widget.Panel(id,{height:"480px",modal:false,width:"295px",fixedcenter:fix,constraintoviewport:true,visible:true,iframe:false,strings:{close:"<span class='material-icons'>cancel</span>"}});YAHOO.i3GEO.janela.manager.register(janela);janela.render();$i(id+'_cabecalho').className=classe;if($i("i3geo_janelaCorRampComboCabeca")){temp=function(){var p,tema=$i("i3geo_janelaCorRampComboCabecaSel").value,funcao=function(retorno){parent.frames["i3geo_janelaCorRampi"].document.getElementById("ncores").value=retorno.data.length};if(tema!==""){i3GEO.mapa.ativaTema(tema);p=i3GEO.configura.locaplic+"/ferramentas/legenda/exec.php?g_sid="+i3GEO.configura.sid+"&funcao=editalegenda&opcao=edita&tema="+tema;i3GEO.util.ajaxGet(p,funcao);cp=new cpaint()}};i3GEO.janela.comboCabecalhoTemasBs("i3geo_janelaCorRampComboCabeca","i3geo_janelaCorRampComboCabecaSel","none","ligados",temp,temaSel)}},localizai3GEO:function(){var scriptLocation="",scripts=document.getElementsByTagName('script'),i=0,index,ns=scripts.length,src;for(i=0;i<ns;i++){src=scripts[i].getAttribute('src');if(src){index=src.lastIndexOf("/js/i3geo.js");if((index>-1)&&(index+"/js/i3geo.js".length===src.length)){scriptLocation=src.slice(0,-"/js/i3geo.js".length);break}index=src.lastIndexOf("/js/i3geonaocompacto.js");if((index>-1)&&(index+"/js/i3geonaocompacto.js".length===src.length)){scriptLocation=src.slice(0,-"/js/i3geonaocompacto.js".length);break}}}if(i3GEO.configura){i3GEO.configura.locaplic=scriptLocation}return scriptLocation},removeChild:function(id,el){var j=$i(id);if(j){if(!el){el=j.parentNode}el.removeChild(j)}},defineValor:function(id,prop,valor){var o=$i(id);if(o&&o[prop]){try{o[prop]=valor}catch(e){}}},in_array:function(x,matriz){var txt=" "+matriz.join(" ")+" ";var er=new RegExp(" "+x+" ","gim");return((txt.match(er))?true:false)},timedProcessArray:function(items,process,callback){var todo=items.concat();setTimeout(function(){var start=+new Date();do{process(todo.shift())}while(todo.length>0&&(+new date()-start<50));if(todo.length>0){setTimeout(arguments.callee,25)}else{callback(items)}},25)},multiStep:function(steps,args,callback){var tasks=steps.concat();setTimeout(function(){var task=tasks.shift(),a=args.shift();task.apply(null,a||[]);if(tasks.length>0){setTimeout(arguments.callee,25)}else{callback()}},25)},tamanhoBrowser:function(){var viewportwidth,viewportheight;if(typeof window.innerWidth!='undefined'){viewportwidth=window.innerWidth,viewportheight=window.innerHeight}else if(typeof document.documentElement!='undefined'&&typeof document.documentElement.clientWidth!='undefined'&&document.documentElement.clientWidth!=0){viewportwidth=document.documentElement.clientWidth,viewportheight=document.documentElement.clientHeight}else{viewportwidth=document.getElementsByTagName('body')[0].clientWidth,viewportheight=document.getElementsByTagName('body')[0].clientHeight}viewportwidth=viewportwidth-i3GEO.util.getScrollerWidth();return[viewportwidth,viewportheight]},detectaTablet:function(){var c=DetectaMobile("DetectTierTablet");if(c===false){return false}else{return true}},detectaMobile:function(){var c=DetectaMobile("DetectMobileLong");if(c===false){return false}else{return true}},calculaDPI:function(){var novoel=document.createElement("div"),valor=72;novoel.style.height="1in";novoel.style.left="-100%";novoel.style.position="absolute";novoel.style.top="-100%";novoel.style.width="1in";document.body.appendChild(novoel);if(novoel.offsetHeight){valor=novoel.offsetHeight}document.body.removeChild(novoel);return valor},ajustaDocType:function(){try{if(document.implementation.createDocumentType){var newDoctype=document.implementation.createDocumentType('html','-//W3C//DTD XHTML 1.0 Transitional//EN','http://www.w3.org/TR/html4/loose.dtd');if(document.doctype){document.doctype.parentNode.replaceChild(newDoctype,document.doctype)}}}catch(e){}},versaoNavegador:function(){if(navm&&navigator.userAgent.toLowerCase().indexOf('msie 8.')>-1){return"IE8"}if(navn&&navigator.userAgent.toLowerCase().indexOf('3.')>-1){return"FF3"}return""},decimalPlaces:function(f,l){var ret="",str=f.toString(),array=str.split("."),i;if(array.length==2){ret+=array[0]+".";for(i=0;i<l;i++){if(i>=array[1].length)ret+='0';else ret+=array[1][i]}}else if(array.length==1){ret+=array[0]+".";for(i=0;i<l;i++){ret+='0'}}return ret},ajaxGet:function(sUrl,funcaoRetorno){var re,falhou,callback;sUrl=escape(sUrl);re=new RegExp("%3F","g");sUrl=sUrl.replace(re,'?');re=new RegExp("%3D","g");sUrl=sUrl.replace(re,'=');re=new RegExp("%26","g");sUrl=sUrl.replace(re,'&');re=new RegExp("%3A","g");sUrl=sUrl.replace(re,':');falhou=function(e){};callback={success:function(o){try{funcaoRetorno.call("",JSON.parse(o.responseText))}catch(e){falhou(e)}},failure:falhou,argument:{foo:"foo",bar:"bar"}};YAHOO.util.Connect.asyncRequest("GET",sUrl,callback)},verifica_html5_storage:function(){if(typeof(Storage)!=="undefined"){return true}else{return false}},pegaDadosLocal:function(item){if(i3GEO.util.verifica_html5_storage()&&localStorage[item]){return window.localStorage[item]}else{return false}},limpaDadosLocal:function(item){if(i3GEO.util.verifica_html5_storage()&&localStorage[item]){window.localStorage.clear(item)}},gravaDadosLocal:function(item,valor){if(i3GEO.util.verifica_html5_storage()){window.localStorage[item]=valor;return true}else{return false}},extGeo2OSM:function(ext,retornaArray){var metrica,point,temp,sep;sep=" ";if(typeof ext=="object"){return i3GEO.util.projGeo2OSM(ext)}if(i3GEO.Interface.openlayers.googleLike===true){temp=ext.split(sep);if(temp===1){sep=",";temp=ext.split(sep)}if(temp[0]*1<=180&&temp[0]*1>=-180){point=new ol.geom.Point([temp[0]*1,temp[1]*1]);metrica=point.transform("EPSG:4326","EPSG:3857");ext=metrica.getCoordinates()[0]+sep+metrica.getCoordinates()[1];if(temp.length>2){point=new ol.geom.Point([temp[2]*1,temp[3]*1]);metrica=point.transform("EPSG:4326","EPSG:3857");ext+=sep+metrica.getCoordinates()[0]+sep+metrica.getCoordinates()[1]}}}if(retornaArray){return ext.split(sep)}else{return ext}},extOSM2Geo:function(ext,retornaArray){var point,temp,sep;sep=" ";if(typeof ext=="object"){return i3GEO.util.projOSM2Geo(ext)}if(i3GEO.Interface.openlayers.googleLike===true){temp=ext.split(sep);if(temp===1){sep=",";temp=ext.split(sep)}if(temp[0]*1>=180||temp[0]*1<=-180){point=new ol.geom.Point([temp[0],temp[1]]);point.transform("EPSG:3857","EPSG:4326");ext=point.getCoordinates()[0]+sep+point.getCoordinates()[1];if(temp.length>2){point=new ol.geom.Point([temp[2],temp[3]]);point.transform("EPSG:3857","EPSG:4326");ext+=sep+point.getCoordinates()[0]+sep+point.getCoordinates()[1]}}}if(retornaArray){return ext.split(sep)}else{return ext}},projOSM2Geo:function(obj){if(i3GEO.Interface.openlayers.googleLike===true){var clone=obj.clone();clone.transform("EPSG:3857","EPSG:4326");return clone}else{return obj}},projGeo2OSM:function(obj){if(i3GEO.Interface.openlayers.googleLike===true){var clone=obj.clone();clone.transform("EPSG:4326","EPSG:3857");return clone}else{return obj}},navegadorDir:function(obj,listaShp,listaImg,listaFig,retornaDir){if(!obj){listaShp=true;listaImg=true;listaFig=true;retornaDir=false}var temp=function(){i3GEOF.navegarquivos.iniciaDicionario(obj,listaShp,listaImg,listaFig,retornaDir)};i3GEO.util.dialogoFerramenta("i3GEO.util.navegadorDir()","navegarquivos","navegarquivos","index.js",temp)},base64encode:function(str){var base64EncodeChars="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";var out,i,len;var c1,c2,c3;len=str.length;i=0;out="";while(i<len){c1=str.charCodeAt(i++)&0xff;if(i==len){out+=base64EncodeChars.charAt(c1>>2);out+=base64EncodeChars.charAt((c1&0x3)<<4);out+="==";break}c2=str.charCodeAt(i++);if(i==len){out+=base64EncodeChars.charAt(c1>>2);out+=base64EncodeChars.charAt(((c1&0x3)<<4)|((c2&0xF0)>>4));out+=base64EncodeChars.charAt((c2&0xF)<<2);out+="=";break}c3=str.charCodeAt(i++);out+=base64EncodeChars.charAt(c1>>2);out+=base64EncodeChars.charAt(((c1&0x3)<<4)|((c2&0xF0)>>4));out+=base64EncodeChars.charAt(((c2&0xF)<<2)|((c3&0xC0)>>6));out+=base64EncodeChars.charAt(c3&0x3F)}return out},base64decode:function(str){var base64DecodeChars=new Array(-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,-1,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-1,-1,-1,-1,-1);var c1,c2,c3,c4;var i,len,out;len=str.length;i=0;out="";while(i<len){do{c1=base64DecodeChars[str.charCodeAt(i++)&0xff]}while(i<len&&c1==-1);if(c1==-1)break;do{c2=base64DecodeChars[str.charCodeAt(i++)&0xff]}while(i<len&&c2==-1);if(c2==-1)break;out+=String.fromCharCode((c1<<2)|((c2&0x30)>>4));do{c3=str.charCodeAt(i++)&0xff;if(c3==61)return out;c3=base64DecodeChars[c3]}while(i<len&&c3==-1);if(c3==-1)break;out+=String.fromCharCode(((c2&0XF)<<4)|((c3&0x3C)>>2));do{c4=str.charCodeAt(i++)&0xff;if(c4==61)return out;c4=base64DecodeChars[c4]}while(i<len&&c4==-1);if(c4==-1)break;out+=String.fromCharCode(((c3&0x03)<<6)|c4)}return out},cloneObj:function(obj){if(obj==null||typeof(obj)!='object')return obj;var temp=new obj.constructor();for(var key in obj)temp[key]=i3GEO.util.cloneObj(obj[key]);return temp},aplicaAquarela:function(onde){$($i(onde)).find(".i3geoFormIconeAquarela").click(function(){if(this.firstChild){i3GEO.util.abreCor("",$(this).find("input")[0].id)}else{i3GEO.util.abreCor("",this.id)}})},insereMarca:{cria:function(){alert("i3GEO.util.insereMarca foi depreciado. Veja a classe i3GEO.desenho")},limpa:function(){}},animaClique:function(obj){if(obj){if(i3GEO.Interface.ATUAL==="googlemaps"){i3GeoMap.getStreetView().setVisible(false)}obj.style.visibility="hidden";setTimeout(function(){obj.style.visibility="visible"},50)}},parseMustache:function(templateMustache,hashMustache){var re=new RegExp("&amp;","g"),m;m=Mustache.render(templateMustache,hashMustache);m=m.replace(re,'&');return m},checaHtmlVazio:function(id){var i=$i(id);if(!i){return null}if(i.innerHTML.replace(/^\s+|\s+$/,'')==""){return true}else{return false}},uid:(function(){var counter=0;return function(){counter+=1;return(new Date().getTime()).toString(36)+counter}})(),copyToClipboard:function(texto){if(window.clipboardData&&window.clipboardData.setData){return clipboardData.setData("Text",texto)}else if(document.queryCommandSupported&&document.queryCommandSupported("copy")){var textarea=document.createElement("textarea");textarea.setAttribute('readonly','');textarea.textContent=texto;textarea.value=texto;textarea.style.position="fixed";textarea.className="copyToMemory";document.body.appendChild(textarea);textarea.focus();textarea.select();try{document.execCommand("copy")}catch(ex){return false}finally{document.body.removeChild(textarea);i3GEO.janela.snackBar({content:$trad("copytomemory"),timeout:1000})}}},getFormData:function(dom_query){var out={};var s_data=$(dom_query).serializeArray();for(var i=0;i<s_data.length;i++){var record=s_data[i];out[record.name]=record.value}return out},dynamicSortString:function(property){var sortOrder=1;if(property[0]==="-"){sortOrder=-1;property=property.substr(1)}return function(a,b){var result=(a[property]<b[property])?-1:(a[property]>b[property])?1:0;return result*sortOrder}}};var $im=function(g){return i3GEO.util.$im(g)};var $inputText=function(idPai,larguraIdPai,idInput,titulo,digitos,valor,nome,onch){if(arguments.length===6){nome=""}return i3GEO.util.$inputText(idPai,larguraIdPai,idInput,titulo,digitos,valor,nome,onch)};
236 236 //
237 237 //compactados/dicionario_compacto.js
238   -g_traducao={"dec":[{pt:",",en:".",es:","}],"mil":[{pt:".",en:",",es:"."}],"p1":[{pt:"O i3Geo &eacute; software livre! Para download clique <a href='https://softwarepublico.gov.br/social/i3geo' target=blank >aqui</a>. <b><a href='http://"+window.location.host+"/i3geo/mobile/qrcode.htm' target=blank >Qrcode mobile</a></b>",en:"I3Geo is an open source software! Click <a href='https://softwarepublico.gov.br/social/i3geo' target=blank >here</a> to download. <b><a href='http://"+window.location.host+"/i3geo/mobile/qrcode.htm' target=blank >Qrcode mobile</a></b>",es:"i3Geo es software libre! Para descargar haga clic <a href='https://softwarepublico.gov.br/social/i3geo' target=blank >aqu&iacute;</a>. <b><a href='http://"+window.location.host+"/i3geo/mobile/qrcode.htm' target=blank >Qrcode mobile</a></b>"}],"p2":[{pt:"Filtro de cores",en:"Color filter",es:"Filtro de colores"}],"p3":[{pt:"Legenda",en:"Legend",es:"Leyenda"}],"p4":[{pt:"Escala",en:"Scale",es:"Escala"}],"p5":[{pt:"Tamanho",en:"Size",es:"Tama&ntilde;o"}],"p6":[{pt:"Ativa/desativa entorno",en:"Enable/disable environment",es:"Activar/desactivar entorno"}],"p7":[{pt:"Ativa/desativa logo",en:"Enable/disable logo",es:"Activar/desactivar logo"}],"p8":[{pt:"Cor da sele&ccedil;&atilde;o",en:"Selection color",es:"Color de la selecci&oacute;n"}],"p9":[{pt:"Cor do fundo",en:"Background color",es:"Color de fondo"}],"p10":[{pt:"Grade de coordenadas",en:"Coordinate grid",es:"Cuadr&iacute;cula de coordenadas"}],"p11":[{pt:"Template",en:"Template",es:"Plantilla"}],"p12":[{pt:"Temporizador",en:"Timer",es:"Temporizador"}],"p13":[{pt:"Propriedades",en:"Properties",es:"Propiedades"}],"p14":[{pt:"Aplicar",en:"Apply",es:"Aplicar"}],"p15":[{pt:"Formato da imagem do mapa",en:"Map image format",es:"Formato de la imagen del mapa"}],"p16":[{pt:"Fundo",en:"Basemap",es:"Mapa base"}],"p17":[{pt:"Imprime legenda",en:"Print legend",es:"Imprimir la leyenda"}],"p18":[{pt:"N&atilde;o imprime a legenda",en:"Do not print legend",es:"No imprimir la leyenda"}],"p19":[{pt:"Ativa ou desativa a legenda de um tema na op&ccedil;&atilde;o de impress&atilde;o do mapa",en:"Enable or disable the legend of a theme in the map print option",es:"Activa o desactiva la leyenda de un tema en la opci&oacute;n de impresi&oacute;n del mapa"}],"p20":[{pt:"Tela remota",en:"Remote screen",es:"Pantalla remota"}],"p21":[{pt:"Anima&ccedil;&atilde;o",en:"Animation",es:"Animaci&oacute;n"}],"s1":[{pt:"Ajuda",en:"Help",es:"Ayuda"}],"s2":[{pt:"An&aacute;lise",en:"Analysis",es:"An&aacute;lisis"}],"s3":[{pt:"Janelas",en:"Windows",es:"Ventanas"}],"s4":[{pt:"Arquivo",en:"File",es:"Archivo"}],"s5":[{pt:"Propriedades",en:"Properties",es:"Propiedades"}],"u1":[{pt:"Sobre o i3Geo",en:"About i3Geo",es:"Acerca de i3Geo"}],"u2":[{pt:"Doc. dos c&oacute;digos",en:"Doc. of codes",es:"Doc. de los c&oacute;digos"}],"u3":[{pt:"WikiBook",en:"WikiBook",es:"WikiBook"}],"u4":[{pt:"Tutoriais",en:"Tutorials",es:"Tutoriales"}],"u4a":[{pt:"Manual do usu&aacute;rio",en:"User manual",es:"Manual de usuario"}],"u5":[{pt:"Blog",en:"Blog",es:"Blog"}],"u5a":[{pt:"Software p&uacute;blico",en:"Public software",es:"Software p&uacute;blico"}],"u5b":[{pt:"Lista de fun&ccedil;&otilde;es",en:"Function lists",es:"Lista de funciones"}],"u5c":[{pt:"Redes sociais",en:"Social networks",es:"Redes sociales"}],"u6":[{pt:"Geometrias",en:"Geometries",es:"Geometr&iacute;as"}],"u7":[{pt:"Grade de pol&iacute;gonos",en:"Polygon grid",es:"Cuadr&iacute;cula de pol&iacute;gonos"}],"u8":[{pt:"Grade de pontos",en:"Point grid",es:"Cuadr&iacute;cula de puntos"}],"u9":[{pt:"Grade de hex&aacute;gonos",en:"Grid of Hexagons",es:"Cuadr&iacute;cula de hex&aacute;gonos"}],"u10":[{pt:"Entorno(Buffer)",en:"Buffer",es:"&Aacute;rea de influencia (Buffer)"}],"u11":[{pt:"Centr&oacute;ide",en:"Centroid",es:"Centroide"}],"u11a":[{pt:"Dist&acirc;ncia entre pontos",en:"Distance between points",es:"Distancia entre puntos"}],"u12":[{pt:"N pontos em poligono",en:"N points in polygon",es:"N puntos en pol&iacute;gono"}],"u13":[{pt:"Ponto em poligono/raster",en:"Point in polygon/raster",es:"Punto en pol&iacute;gono/raster"}],"u14":[{pt:"Distribui&ccedil;&atilde;o de pontos",en:"Point distribution",es:"Distribuci&oacute;n de puntos"}],"u15":[{pt:"Barras de ferramentas",en:"Toolbars",es:"Barras de herramientas"}],"u15a":[{pt:"Caixa de ferramentas",en:"Tool box",es:"Caja de herramientas"}],"u16":[{pt:"Janela de mensagens",en:"Message window",es:"Ventana de mensajes"}],"u17":[{pt:"Salvar mapa",en:"Save map",es:"Guardar el mapa"}],"u18":[{pt:"Carregar mapa",en:"Load map",es:"Cargar mapa"}],"u19":[{pt:"Pegar imagens",en:"Paste images",es:"Pegar im&aacute;genes"}],"u20":[{pt:"Converter em WMS e WMC",en:"Convert to WMS and WMC",es:"Convertir a WMS y WMC"}],"u20a":[{pt:"Converter em KML",en:"Convert to KML",es:"Convertir a KML"}],"u21":[{pt:"Gerador de links",en:"Link generator",es:"Generador de enlaces"}],"u22":[{pt:"Grade",en:"Grid",es:"Cuadr&iacute;cula"}],"u23":[{pt:"Ponto",en:"Point",es:"Punto"}],"u24":[{pt:"Pol&iacute;gono",en:"Polygon",es:"Pol&iacute;gono"}],"u25":[{pt:"Dissolve",en:"Dissolve",es:"Disolver"}],"u26":[{pt:"Agrupa",en:"Group",es:"Agrupar"}],"u27":[{pt:"Outros",en:"Others",es:"Otros"}],"u28":[{pt:"Centro m&eacute;dio",en:"Middle center",es:"Centro medio"}],"u29":[{pt:"Editor vetorial",en:"Vector editor",es:"Editor vectorial"}],"t1":[{pt:"Camadas",en:"Layers",es:"Capas"}],"t2":[{pt:"Arraste o tema aqui ou clique para excluir",en:"Drag the theme here or click to remove",es:"Arrastre el tema aqu&iacute; o haga clic para excluir"}],"t2a":[{pt:"Filtra a lista de camadas",en:"Filter the layer list",es:"Filtra la lista de capas"}],"t2b":[{pt:"Abre a legenda do mapa",en:"Open the map legend",es:"Despliega la leyenda del mapa"}],"t3":[{pt:"Clique para ligar ou desligar esse tema, mostrando-o ou n&atilde;o no mapa. Ap&oacute;s alterar o estado do tema, aguarde alguns instantes para o mapa ser redesenhado, ou clique no bot&atilde;o aplicar que ser&aacute; mostrado.",en:"Click to turn this theme off or on, showing it or not on the map. After changing the status of the theme, wait a few moments so that the map updates, or click the Apply button that will be displayed.",es:"Haga clic para encender o apagar este tema y mostrarlo o no en el mapa. Despu&eacute;s de cambiar el estado del tema, espere algunos instantes para que el mapa se actualice o haga clic en el bot&oacute;n aplicar que aparecer&aacute;."}],"t3a":[{pt:"Ligar todos os temas",en:"Turn on all themes",es:"Encender todos los temas"}],"t3b":[{pt:"Desligar todos os temas",en:"Turn off all themes",es:"Apagar todos los temas"}],"t4":[{pt:"Limpa sele&ccedil;&atilde;o",en:"Clear selection",es:"Limpia la selecci&oacute;n"}],"t4a":[{pt:"Zoom para a sele&ccedil;&atilde;o",en:"Zoom to selection",es:"Zoom a la selecci&oacute;n"}],"t5":[{pt:"Limpa sele&ccedil;&atilde;o existente nesse tema",en:"Clear an existing selection in this theme",es:"Limpia la selecci&oacute;n existente en este tema"}],"t6":[{pt:"Clique para fazer o download desse tema no formato shapefile",en:"Click to download this theme in shapefile format",es:"Haga clic para descargar este tema en formato shapefile"}],"t7":[{pt:"clique e arraste",en:"Click and drag",es:"Haga clic y arrastre"}],"t7a":[{pt:"Clique e arraste para mudar a ordem. Arraste e solte na lixeira para remover. Aguarde para ver a legenda.",en:"Click and drag to change the order. Drag and drop to the trash to remove. Wait to see the legend.",es:"Haga clic y arrastre para cambiar el orden. Arrastre y suelte en la papelera para remover. Aguarde para ver la leyenda."}],"t8":[{pt:"arraste para mudar a ordem",en:"drag to change the order",es:"arrastre para cambiar el orden"}],"t9":[{pt:"Compat&iacute;vel com a escala",en:"Compatible with the scale",es:"Compatible con la escala"}],"t10":[{pt:"Incompat&iacute;vel com a escala",en:"Incompatible with the scale",es:"Incompatible con la escala"}],"t11":[{pt:"Escala n&atilde;o conhecida",en:"Unknown scale",es:"Escala no conocida"}],"t12":[{pt:"Excluir",en:"Exclude",es:"Excluir"}],"t12a":[{pt:"Clique para excluir esse tema do mapa.",en:"Click to exclude this theme from the map.",es:"Haga clic para excluir este tema del mapa."}],"t13":[{pt:"Sobe",en:"Up",es:"Subir"}],"t14":[{pt:"Clique para subir esse tema na ordem de desenho",en:"Click to move up the theme in drawing order",es:"Haga clic para subir y cambiar el orden de dibujo de este tema"}],"t15":[{pt:"Desce",en:"Down",es:"Bajar"}],"t16":[{pt:"Clique para descer esse tema na ordem de desenho",en:"Click to move down the theme in drawing order",es:"Haga clic para bajar y cambiar el orden de dibujo de este tema"}],"t17":[{pt:"Zoom para o tema",en:"Zoom to theme",es:"Zoom al tema"}],"t18":[{pt:"Clique para ajustar o mapa de forma a mostrar todo o tema",en:"Click to show the whole theme by adjusting the map",es:"Haga clic para ajustar el mapa de manera de poder ver todo el tema"}],"t18a":[{pt:"Op&ccedil;&otilde;es e propriedades",en:"Options and properties",es:"Opciones y propiedades"}],"t18b":[{pt:"Legenda",en:"Legend",es:"Leyenda"}],"t19":[{pt:"Altera a transpar&ecirc;ncia do tema, possibilitando que as camadas inferiores possam ser vistas.",en:"Change layer transparency to enable visibility of bottom layers.",es:"Altera la transparencia del tema haciendo posible que las capas inferiores se puedan ver."}],"t20":[{pt:"Opacidade",en:"Opacity",es:"Opacidad"}],"t22":[{pt:"Localize elementos no tema com base em seus atributos descritivos.",en:"Search for elements on the theme based on their descriptive attributes.",es:"Ubique elementos en el tema en base a sus atributos descriptivos."}],"t23":[{pt:"Procurar",en:"Search",es:"Buscar"}],"t24":[{pt:"Crie uma nova camada no mapa para apresentar textos descritivos sobre esse tema, tendo como base a tabela de atributos.",en:"Create a new layer on the map based on the table of attributes to display descriptive texts about this theme.",es:"Crear una nueva capa en el mapa para presentar textos descriptivos sobre este tema, teniendo como base la tabla de atributos."}],"t25":[{pt:"Etiquetas baseadas em atributos",en:"Labels based on attributes",es:"Etiquetas basadas en atributos"}],"t26":[{pt:"Defina as etiquetas que ser&atilde;o mostradas quando o mouse &eacute; estacionado sobre um elemento desse tema.",en:"Define labels that will be shown when the mouse is over a feature of this theme.",es:"Defina las etiquetas que se mostrar&aacute;n cuando el rat&oacute;n se detenga sobre un elemento de este tema."}],"t27":[{pt:"Ativar etiquetas",en:"Activate labels",es:"Activar etiquetas"}],"t28":[{pt:"Insira um filtro nesse tema para mostrar apenas determinadas informa&ccedil;&otilde;es, com base na tabela de atributos.",en:"Insert a filter in this theme based on the table of attributes to show only specific information.",es:"Inserte un filtro en este tema para mostrar solo determinadas informaciones, con base en la tabla de atributos."}],"t29":[{pt:"Filtrar",en:"Filter",es:"Filtrar"}],"t30":[{pt:"Veja a tabela de atributos relacionada a esse tema.",en:"See the table of attributes related to this theme.",es:"Vea la tabla de atributos relacionada con este tema."}],"t31":[{pt:"Tabela com os dados",en:"Table with data",es:"Tabla con los datos"}],"t32":[{pt:"Abre o editor de legenda, permitindo a altera&ccedil;&atilde;o da forma de representa&ccedil;&atilde;o desse tema.",en:"Open the legend editor to change the way this theme is rendered.",es:"Abre el editor de leyenda para modificar la forma de representaci&oacute;n de este tema."}],"t33":[{pt:"Editar legenda",en:"Edit legend",es:"Editar leyenda"}],"t34":[{pt:"Mostra os dados desse tema em uma janela que acompanha o mouse.",en:"Show the data of this theme in a window that tracks the mouse.",es:"Muestra los datos de este tema en una ventana que acompa&ntilde;a el rat&oacute;n."}],"t35":[{pt:"Mostra em janela",en:"Show in window",es:"Mostrar en la ventana"}],"t36":[{pt:"tema vis&iacute;vel apenas em determinadas escalas",en:"theme visible only at certain scales",es:"el tema es visible solo en ciertas escalas"}],"t37":[{pt:"Gr&aacute;fico",en:"Chart",es:"Gr&aacute;fico"}],"t37a":[{pt:"Tema com gr&aacute;ficos",en:"Theme with charts",es:"Tema con gr&aacute;ficos"}],"t37b":[{pt:"Gr&aacute;fico interativo",en:"Interactive chart",es:"Gr&aacute;fico interactivo"}],"t38":[{pt:"Exporta a legenda para o padr&atilde;o SLD.",en:"Export the legend to SLD schema.",es:"Exporta la leyenda para el est&aacute;ndar SLD."}],"t39":[{pt:"Exportar SLD",en:"Export SLD",es:"Exportar SLD"}],"t40":[{pt:"Abre a ferramenta que permite alterar o SQL de acesso aos dados",en:"Open the tool to change the SQL to access data",es:"Abre la herramienta que permite cambiar el SQL de acceso a los datos"}],"t41":[{pt:"Editar SQL",en:"Edit SQL",es:"Editar SQL"}],"t42":[{pt:"Cortina",en:"Curtain",es:"Cortina"}],"t43":[{pt:"Aplicar SLD",en:"Apply SLD",es:"Aplicar SLD"}],"t44":[{pt:"Salvar mapfile",en:"Save mapfile",es:"Guardar mapfile"}],"t45":[{pt:"Comentar",en:"Comment",es:"Comentar"}],"t46":[{pt:"Mais populares",en:"Most popular",es:"M&aacute;s populares"}],"t48":[{pt:"Temporizador",en:"Timer",es:"Temporizador"}],"t49":[{pt:"Mapa tem&aacute;tico 3D",en:"3D tematic map",es:"Mapa tem&aacute;tico 3D"}],"a1":[{pt:"Procurar tema:",en:"Search theme:",es:"Buscar tema:"}],"a2":[{pt:"Upload de shape file",en:"Upload shapefile",es:"Subir shapefile"}],"a2b":[{pt:"Upload de DBF ou CSV",en:"Upload DBF or CSV",es:"Subir DBF o CSV"}],"a3":[{pt:"Download de dados",en:"Data downloading",es:"Descarga de datos"}],"a3a":[{pt:"Importar Web Map Context",en:"Import Web Map Context",es:"Importar Web Map Context"}],"a4":[{pt:"Conectar com servidor WMS",en:"Connect to WMS server",es:"Conectar al servidor WMS"}],"a4b":[{pt:"Conectar com servidor WMS-T",en:"Connect to WMS-T server",es:"Conectar al servidor WMS-T"}],"a5":[{pt:"Conectar com GeoRss",en:"Connect to GeoRss",es:"Conectar con GeoRss"}],"a5a":[{pt:"Nuvem de tags",en:"Tag cloud",es:"Nube de etiquetas"}],"a6":[{pt:"Acesso aos arquivos do servidor",en:"Access to server files",es:"Acceso a los archivos del servidor"}],"a7":[{pt:"Temas",en:"Theme",es:"Temas"}],"a8":[{pt:"Clique no box ao lado do tema para ligar ou desligar, mostrando-o ou n&atilde;o no mapa. Ap&oacute;s alterar o estado do tema, aguarde alguns instantes para o mapa ser redesenhado, ou clique no bot&atilde;o aplicar que ser&aacute; mostrado.",en:"Click the box next to the theme to turn it on or off, showing it or not on the map. After changing the status of the theme, wait a few moments so that the map updates, or click the Apply button that will be displayed.",es:"Haga clic en el cuadro ubicado al lado del tema para encender o apagarlo y mostralo o no en el mapa. Despu&eacute;s de cambiar el estado del tema, espere algunos instantes para que el mapa se actualice o haga clic en el bot&oacute;n aplicar que aparecer&aacute;."}],"a9":[{pt:"Fonte",en:"Font",es:"Fuente"}],"a10":[{pt:"c&oacute;digo:",en:"code",es:"c&oacute;digo"}],"a11":[{pt:"Sistemas",en:"Systems",es:"Sistemas"}],"a12":[{pt:"Abrir sistema",en:"Open system",es:"Abrir sistema"}],"a13":[{pt:"Abrir no Google Earth",en:"Open with Google Earth",es:"Abrir en Google Earth"}],"a14":[{pt:"Upload SHP, CSV...",en:"Upload SHP, CSV...",es:"Subir SHP, CSV..."}],"a15":[{pt:"Conex&otilde;es",en:"Conections",es:"Conexiones"}],"a16":[{pt:"Servi&ccedil;os",en:"Services",es:"Servicios"}],"g1":[{pt:"Temas",en:"Themes",es:"Temas"}],"g1a":[{pt:"Cat&aacute;logo",en:"Catalog",es:"Cat&aacute;logo"}],"g2":[{pt:"Adiciona",en:"Add",es:"Agregar"}],"g3":[{pt:"Legenda",en:"Legend",es:"Leyenda"}],"g4":[{pt:"Mapas",en:"Maps",es:"Mapas"}],"g4a":[{pt:"Mapa",en:"Map",es:"Mapa"}],"o1":[{pt:"Aguarde...",en:"Wait...",es:"Espere..."}],"o2":[{pt:"Busca r&aacute;pida",en:"Quick search",es:"B&uacute;squeda r&aacute;pida"}],"o3":[{pt:"Lendo imagem...",en:"Reading image...",es:"Leyendo imagen..."}],"o4":[{pt:"Aguarde...abrindo lente",en:"Wait...Opening magnifying glass",es:"Espere...abriendo lupa"}],"o5":[{pt:"Aguarde...iniciando",en:"Wait...initializing",es:"Espere...iniciando"}],"o6":[{pt:"din&acirc;mico",en:"Dynamic",es:"Din&aacute;mico"}],"d1":[{pt:"Digite as coordenadas de um ponto (X=longitude e Y=latitude) para localizar-lo no mapa. no mapa. O centro do mapa ser&aacute; deslocado para o ponto digitado.",en:"Enter the coordinates of a point (X=longitude and Y=latitude) to localize it on the map. The map center will move to this point.",es:"Digite las coordenadas de un punto (X=longitud e Y=latitud) para ubicarlas en el mapa. El centro del mapa se desplazar&aacute; al punto introducido."}],"d2":[{pt:"Altera a escala do mapa ajustando-a para mostrar a mesma abrang&ecirc;ncia geogr&aacute;fica da inicializa&ccedil;&atilde;o.",en:"Change the map scale to show the initial geographical extent.",es:"Modifica la escala del mapa ajust&aacute;ndola para mostrar la misma &aacute;rea geogr&aacute;fica inicial."}],"d2t":[{pt:"Enquadramento inicial",en:"Initial extent",es:"Extensi&oacute;n inicial"}],"d3":[{pt:"Amplia o mapa - desloca o ponto clicado para centro da tela ou amplia a regi&atilde;o indicada por um ret&acirc;ngulo. Ap&oacute;s ativada, clique e arraste o mouse sobre o mapa na &aacute;rea de zoom desejada.",en:"It enlarges the map - places the clicked point on the center of the screen or enlarge the map on a region indicated by a rectangle. Once activated, click and drag the mouse over the map into the desired area.",es:"Ampl&iacute;a el mapa - coloca el punto donde se hizo clic en el centro de la pantalla o ampl&iacute;a a la regi&oacute;n indicada con un rect&aacute;ngulo. Despu&eacute;s de activarla, haga clic y arrastre el rat&oacute;n sobre el mapa en el &aacute;rea de zoom deseada."}],"d3t":[{pt:"clique e arraste para ampliar",en:"click and drag to enlarge",es:"Haga click y arraste para ampliar"}],"d4":[{pt:"Desloca a regi&atilde;o vis&iacute;vel no mapa. Ap&oacute;s ativada, clique e arraste o mouse sobre o mapa para deslocar a regi&atilde;o vis&iacute;vel.",en:"It moves the visible region on the map. After being activated, click and drag the mouse over the map to move the visible region.",es:"Desplaza la regi&oacute;n visible en el mapa. Una vez activada, haga clic y arrastre el rat&oacute;n sobre el mapa para desplazar la zona visible."}],"d4t":[{pt:"clique e arraste para deslocar",en:"click and drag to move",es:"haga click y arraste para mover"}],"d5":[{pt:"Amplia o mapa tendo como refer&ecirc;ncia o centro atual.",en:"Enlarge the map based on the current center.",es:"Ampl&iacute;a el mapa teniendo como referencia el centro actual."}],"d5t":[{pt:"aproximar",en:"zoom in",es:"acercar"}],"d6":[{pt:"Reduz o mapa tendo como refer&ecircncia o centro atual.",en:"Reduce the map based on the current center.",es:"Reduce el mapa teniendo como referencia el centro actual"}],"d6t":[{pt:"afastar",en:"zoom out",es:"alejar",it:"afastar"}],"d7":[{pt:"Mostra informa&ccedil;&otilde;es sobre um ponto no mapa. Ap&oacute;s ativada, clique sobre o mapa.",en:"It displays information about a point on the map. After being activated, click on the map.",es:"Muestra informaci&oacute;n sobre un punto en el mapa. Despu&eacute;s de activarla haga clic sobre el mapa."}],"d7t":[{pt:"Info",en:"Info",es:"Info"}],"d7a":[{pt:"Mostra informa&ccedil;&otilde;es resumidas sobre um ponto clicado no mapa. N&atilde;o &eacute; necess&aacute;rio clicar nesse &iacute;cone para ativar, basta clicar no mapa a qualquer tempo.",en:"Display summary information about a point clicked on the map. It is not necessary to click this icon to activate it, just click on the map at any time.",es:"Muestra informaci&oacute;n resumida de un punto sobre el cual se ha hecho clic en el mapa. No es necesario hacer clic en ese icono para activarlo, simplemente haga clic en el mapa en cualquier momento."}],"d7at":[{pt:"etiqueta",en:"label",es:"etiqueta"}],"d8":[{pt:"Mostra a extens&atilde;o geogr&aacute;fica atual em coordenadas geogr&aacute;ficas",en:"Show the current extent in geographic coordinates",es:"Muestra la extensi&oacute;n geogr&aacute;fica actual en coordenadas geogr&aacute;ficas"}],"d8t":[{pt:"Extens&atilde;o atual",en:"Current extent",es:"Extensi&oacute; actual"}],"d9":[{pt:"Abre/fecha o mapa de refer&ecirc;ncia",en:"Open/close the overview map",es:"Abre/cierra el mapa de referencia"}],"d9t":[{pt:"Mapa de refer&ecirc;ncia",en:"Overview map",es:"Mapa de referencia"}],"d10":[{pt:"Digite o novo valor de escala e clique no bot&atilde;o aplicar para alterar a escala do mapa",en:"Enter a new scale value and click the apply button to change the map scale",es:"Ingrese el nuevo valor de escala y haga clic en el bot&oacute;n aplicar para modificar la escala del mapa"}],"d11":[{pt:"Busca dados na Wikipedia na abrang&ecirc;ncia atual do mapa. Fa&ccedil;a um zoom no mapa antes de abrir essa op&ccedil;&atilde;o. Regi&ocirc;es muito extensas podem tornar a busca muito demorada",en:"Search for Wikipedia data in the current extent of the map. Zoom on the map before opening this option. Large regions can slow down searching",es:"Busca datos en Wikipedia de la extensi&oacute;n actual del mapa. Haga zoom en el mapa antes de abrir esta opci&oacute;n. Regiones muy extensas pueden hacer que la b&uacute;squeda sea muy lenta"}],"d11t":[{pt:"buscar na Wikip&eacute;dia",en:"search on Wikipedia",es:"buscar en Wikipedia"}],"d12":[{pt:"Imprime o mapa",en:"Print map",es:"Imprime el mapa"}],"d13":[{pt:"Localiza o IP do usu&aacute;rio no mapa",en:"Locate the user's IP on the map",es:"Localiza la IP del usuario en el mapa"}],"d14":[{pt:"Gera arquivo para 3D",en:"Generate a 3D file",es:"Genera archivo para 3D"}],"d15":[{pt:"Abre o Google Maps, mostrando uma imagem de sat&eacute;lite da regi&atilde;o vista no mapa principal",en:"Open Google Maps displaying a satellite image of the region shown on the main map",es:"Abre Google Maps, mostrando una imagen de sat&eacute;lite de la regi&oacute;n presentada en el mapa principal"}],"d15t":[{pt:"Google Maps",en:"Google Maps",es:"Google Maps"}],"d16":[{pt:"Pesquisa documentos na base de dados Scielo (dados preliminares)",en:"Search documents in the Scielo database (preliminary data)",es:"B&uacute;squeda de documentos en la base de datos Scielo (datos preliminares)"}],"d16t":[{pt:"Scielo",en:"Scielo",es:"Scielo"}],"d17":[{pt:"Projeto Confluence. Pontos de intersec&ccedil;&atilde;o de coordenadas observadas em campo",en:"Confluence Project. Intersection points of coordinates observed in field",es:"Proyecto Confluence. Puntos de intersecci&oacute;n de coordenadas observadas en campo"}],"d17t":[{pt:"conflu&ecirc;ncias",en:"confluences",es:"confluencias"}],"d18":[{pt:"Abre lente de amplia&ccedil;&atilde;o",en:"Open magnifying glass",es:"Abrir lupa"}],"d18t":[{pt:"lente de aumento",en:"magnifying glass",es:"lupa"}],"d19":[{pt:"Coloca as guias em uma janela m&oacute;vel",en:"Put guides in a moving window",es:"Coloca las gu&iacute;as en una ventana m&oacute;vil"}],"d20":[{pt:"Redesenha o mapa com as configura&ccedil;&ocirc;es iniciais.",en:"Reload the map with the initial settings.",es:"Recarga el mapa con las configuraciones iniciales."}],"d20t":[{pt:"reinicia",en:"restart",es:"reinicia",it:"reinicia"}],"d21":[{pt:"Mede a dist&acirc;ncia entre dois ou mais pontos clicados no mapa (menor dist&acirc;ncia). O c&aacute;lculo de dist&acirc;ncia &eacute; aproximado e sua precis&atilde;o depende da escala do mapa.",en:"Measure the distance between two or more clicked points on the map (shorter distance). The calculation of this distance is rough and its accuracy depends on the map scale.",es:"Mide la distancia entre dos o m&aacute;s puntos marcados en el mapa (menor distancia). El c&aacute;lculo de la distancia es aproximado y su exactitud depende de la escala del mapa."}],"d21t":[{pt:"Dist&acirc;ncia",en:"Distance",es:"Distancia"}],"d21a":[{pt:"Mede a &aacute;rea de um pol&iacute;gono desenhado na tela. O c&aacute;lculo de &aacute;rea &eacute; aproximado e sua precis&atilde;o depende da escala do mapa.",en:"Measure the area of a polygon drawn on the screen. The calculation of this area is rough and its accuracy depends on the map scale.",es:"Mide el &aacute;rea de un pol&iacute;gono dibujado sobre la pantalla. El c&aacute;lculo del &aacute;rea es aproximado y su exactitud depende de la escala del mapa."}],"d21at":[{pt:"&Aacute;rea",en:"Area",es:"&Aacute;rea"}],"d22":[{pt:"Insere pontos no mapa em coordenadas geogr&aacute;ficas. Os pontos inclu&iacute;dos podem ser transformados em linhas ou pol&iacute;gonos. Os pontos s&atilde;o armazenados em um tema tempor&aacute;rio, podendo-se fazer o download do arquivo shapefile.",en:"Insert points on the map in geographical coordinates. The added points can be converted into lines or polygons. The points are stored in a temporary theme and can be downloaded as a shapefile.",es:"Inserte puntos en el mapa en coordenadas geogr&aacute;ficas. Los puntos incluidos pueden ser transformados en l&iacute;neas o pol&iacute;gonos. Los puntos se almacenan en un tema temporal y se pueden descargar como archivo shapefile."}],"d22t":[{pt:"inserir pontos",en:"insert points",es:"insertar puntos"}],"d23":[{pt:"Insere um gr&aacute;fico no ponto clicado conforme os atributos existentes no tema escolhido. O tema deve possuir itens com valores num&eacute;ricos na tabela de atributos.",en:"Insert a chart on the clicked point according to the attributes of the selected theme. The theme must have records with numerical values in the table of attributes.",es:"Inserte un gr&aacute;fico en el punto marcado seg&uacute;n los atributos existentes en el tema seleccionado. El tema debe tener campos con valores num&eacute;ricos en la tabla de atributos."}],"d23t":[{pt:"Clique gr&aacute;fico",en:"Click on the chart",es:"Haga clic en el gr&aacute;fico"}],"d24":[{pt:"Abre as ferramentas para sele&ccedil;&atilde;o de elementos de um tema. Os elementos selecionados podem ser utilizados em outras opera&ccedil;&ocirc;es, como buffer e sele&ccedil;&atilde;o por tema.",en:"Open the tools for selecting features of a theme. The selected features can be used for other operations like buffer or selection by theme.",es:"Abre las herramientas para seleccionar elementos de un tema. Los elementos seleccionados pueden ser utilizados en otras operaciones como &aacute;reas de influencia (buffer) y selecci&oacute;n por tema."}],"d24t":[{pt:"Selecionar",en:"Select",es:"Seleccionar"}],"d25":[{pt:"Insere texto no mapa clicando em um ponto. Utilize essa op&ccedil;&atilde;o para adicionar informa&ccedil;&ocirc;es ao mapa.",en:"Insert a text on the map by clicking on a point. Use this option to add information on the map.",es:"Inserte un texto en el mapa haciendo clic en un punto. Utilice esta opci&oacute;n para agregar informaci&oacute;n en el mapa."}],"d25t":[{pt:"Inserir texto",en:"Insert text",es:"Insertar texto"}],"d26":[{pt:"Escolha o visual para os bot&otilde;es e outras caracter&iacute;sticas visuais do mapa",en:"Choose a button appearance and other visual characteristics of the map",es:"Elija el aspecto para los botones y otras caracter&iacute;sticas visuales del mapa"}],"d27":[{pt:"Interface",en:"Interface",es:"interfaz"}],"d28":[{pt:"Aguarde...gerando os arquivos",en:"Please wait...generating files",es:"Espera...generando los archivos"}],"d29":[{pt:"Esta&ccedil;&otilde;es METAR",en:"METAR stations",es:"Estaciones METAR"}],"d30":[{pt:"Linha do tempo",en:"Timeline",es:"L&iacute;nea del tiempo"}],"d31":[{pt:"N&atilde;o existe nenhuma camada com etiquetas ativas",en:"There is no layer with active labels",es:"No existe ninguna capa con etiquetas activas"}],"d32":[{pt:"Aplicativos",en:"Applications",es:"Aplicaciones"}],"ge1":[{pt:"Navega&ccedil;&atilde;o com o mouse",en:"Navigation with the mouse",es:"Navegaci&oacute;n con el rat&oacute;n"}],"ge2":[{pt:"Barra de status",en:"Status bar",es:"Barra de estado"}],"ge3":[{pt:"Mapa de refer&ecirc;ncia",en:"Overview map",es:"Mapa de referencia"}],"ge4":[{pt:"Escala e legenda",en:"Scale and legend",es:"Escala y leyenda"}],"ge5":[{pt:"Atmosfera",en:"Atmosphere",es:"Atm&oacute;sfera"}],"ge6":[{pt:"Grade de coordenadas",en:"Coordinates grid",es:"Cuadr&iacute;culas de coordenadas"}],"ge7":[{pt:"Luz do sol",en:"Sun light",es:"Luz del sol"}],"ge8":[{pt:"Limites pol&iacute;ticos",en:"Political boundaries",es:"L&iacute;mites pol&iacute;ticos"}],"ge9":[{pt:"Constru&ccedil;&otilde;es em 3D",en:"3D buildings ",es:"Construciones en 3D"}],"ge10":[{pt:"Estradas",en:"Roads",es:"Carreteras"}],"ge11":[{pt:"Terreno",en:"Terrain",es:"Terreno"}],"x1":[{pt:"P&aacute;gina principal",en:"Main page",es:"P&aacute;gina principal"}],"x2":[{pt:"Lista de menus",en:"Menu lists",es:"Lista de men&uacute;s"}],"x3":[{pt:"Miniaturas",en:"Thumbnails",es:"Miniaturas"}],"x4":[{pt:"Pesquisa na INDE",en:"Search in INDE",es:"B&uacute;squeda en INDE"}],"x5":[{pt:"Editar subgrupos",en:"Edit subgroups",es:"Editar subgrupos"}],"x6":[{pt:"Editar temas",en:"Edit themes",es:"Editar temas"}],"x7":[{pt:"op&ccedil;&atilde;o vis&iacute;vel apenas para editores",en:"option visible to editors only",es:"opci&oacute;n visible solo para editores"}],"x8":[{pt:"Sistema de administra&ccedil;&atilde;o",en:"Management system",es:"Sistema de administraci&oacute;n"}],"x9":[{pt:"Editar &aacute;rvore",en:"Edit tree",es:"Editar &aacute;rbol"}],"x10":[{pt:"Editar menus do cat&aacute;logo",en:"Edit catalog menus",es:"Editar men&uacute;s del cat&aacute;logo"}],"x11":[{pt:"Abre em uma janela",en:"Open in a window",es:"Abre en una ventana"}],"x13":[{pt:"&Aacute;rvore de camadas n&atilde;o encontrada",en:"Tree layers not found",es:"Arboles de capas no se encuentra"}],"x14":[{pt:"sim",en:"yes",es:"s&iacute;"}],"x15":[{pt:"n&atilde;o",en:"no",es:"no"}],"x16":[{pt:"Valor n&atilde;o definido",en:"Value not defined",es:"Valor no definido"}],"x17":[{pt:"Essa op&ccedil;&atilde;o afeta apenas a impress&atilde;o do mapa",en:"This option only affects map printing",es:"Esta opci&oacute;n solo afecta a la impresi&oacute;n del mapa"}],"x18":[{pt:"Nome n&atilde;o definido",en:"Name not defined",es:"Nombre no definido"}],"x19":[{pt:"Coment&aacute;rios de",en:"Reviews of",es:"Comentarios de"}],"x20":[{pt:"Clique no mapa para desenhar o pol&iacute;gono",en:"Click on the map to draw a polygon",es:"Haga clic en el mapa para dibujar un pol&iacute;gono"}],"x21":[{pt:"Essa opera&ccedil;&atilde;o n&atilde;o funciona nessa interface",en:"This operation does not work on this interface",es:"Esta operaci&oacute;n no funciona en esta interfaz"}],"x22":[{pt:"Op&ccedil;&atilde;o n&atilde;o dispon&iacute;vel",en:"Option not available",es:"Opci&oacute;n no disponible"}],"x23":[{pt:"Dire&ccedil;&atilde;o",en:"Direction",es:"Direcci&oacute;n"}],"x25":[{pt:"M&eacute;todo para calcular dist&acirc;ncias",en:"Method to calculate distances",es:"M&eacute;todo para calcular distancias"}],"x26":[{pt:"Voce quer mesmo encerrar a sessao?",en:"Do you want to logout?",es:"&iquest;Quiere cerrar la sesi&oacute;n?"}],"x27":[{pt:"Usu&aacute;rio",en:"User",es:"Usuario"}],"x28":[{pt:"Senha",en:"Password",es:"Contrase&ntilde;a"}],"x29":[{pt:"Enviar",en:"Submit",es:"Enviar"}],"x30":[{pt:"Ativo",en:"Active",es:"Activo"}],"x31":[{pt:"Erro",en:"Error",es:"Error"}],"x32":[{pt:"Recuperar senha",en:"Recover password",es:"Recuperar contrase&ntilde;a"}],"x33":[{pt:"Escolha um tema da lista",en:"Select a theme from the list",es:"Seleccione un tema de la lista"}],"x34":[{pt:"Lugar",en:"Place",es:"Lugar"}],"x35":[{pt:"Escolha um tipo de busca nas propriedades",en:"Choose a search type in the properties",es:"Elija un tipo de b&uacute;squeda en las propiedades"}],"x36":[{pt:"Digite uma palavra para busca!",en:"Enter search terms!",es:"Introduzca una palabra clave para buscar!"}],"x37":[{pt:"Onde ser&aacute; feita a busca",en:"Where will the search be done?",es:"&iquest;D&oacute;nde se realizar&aacute; la b&uacute;squeda?"}],"x38":[{pt:"Servi&ccedil;os de busca externos",en:"External search services",es:"Servicios de b&uacute;squeda externos"}],"x39":[{pt:"Temas existentes no mapa",en:"Existing themes on the map",es:"Temas existentes en el mapa"}],"x40":[{pt:"Apenas os temas especialmente configurados pelo administrador do i3Geo podem receber opera&ccedil;&otilde;es de busca",en:"Only those themes specially configarated by the i3Geo administrator can receive search operations",es:"Solo los temas especialmente configurados por el administrador de i3Geo pueden ser objeto de operaciones de b&uacute;squeda"}],"x41":[{pt:"Nada encontrado nos temas ou nenhum tema permite busca",en:"Nothing found in the themes or no theme allows searching",es:"Nada encontrado en los temas o ning&uacute;n tema permite b&uacute;squedas"}],"x42":[{pt:"Nada encontrado em ",en:"Nothing found at ",es:"No se encontr&oacute; nada en "}],"x43":[{pt:"Erro ao acessar o servi&ccedil;o",en:"Error accessing the service",es:"Error al acceder al servicio"}],"x44":[{pt:"Nuvem Flash",en:"Cloud Flash",es:"Nube Flash"}],"x45":[{pt:"Diret&oacute;rios",en:"Directories",es:"Directorios"}],"x46":[{pt:"Conex&atilde;o WMS-T",en:"WMS-T connection",es:"Conexi&oacute;n WMS-T"}],"x47":[{pt:"Conex&atilde;o GeoRSS",en:"GeoRSS connection",es:"Conexi&oacute;n GeoRSS"}],"x48":[{pt:"Rota",en:"Route",es:"Ruta"}],"x49":[{pt:"Coordenadas aproximadas",en:"Approximate coordinates",es:"Coordenadas aproximadas"}],"x50":[{pt:"Feche para parar",en:"Close to stop",es:"Cierre para parar"}],"x51":[{pt:"Sele&ccedil;&atilde;o",en:"Selection",es:"Selecci&oacute;n"}],"x52":[{pt:"Alterar senha",en:"Change password",es:"Cambiar contrase&ntilde;a"}],"x53":[{pt:"Upload de WMC",en:"WMC upload",es:"Subir WMC"}],"x54":[{pt:"Perfil",en:"Profile",es:"Perfil"}],"x55":[{pt:"Salva o tema",en:"Save theme",es:"Guarda el tema"}],"x56":[{pt:"Topon&iacute;mia",en:"Toponymy",es:"Toponimia"}],"x57":[{pt:"Cartogramas estat&iacute;sticos",en:"Statistical cartograms",es:"Cartogramas estad&iacute;sticos"}],"x58":[{pt:"Continua",en:"Continue",es:"Seguir"}],"x59":[{pt:"Localiza",en:"Locate",es:"Localiza"}],"x60":[{pt:"Cartogramas",en:"Cartograms",es:"Cartogramas"}],"x61":[{pt:"Filtra limite",en:"Filter limit",es:"Filtra l&iacute;mite"}],"x62":[{pt:"Remover",en:"Remove",es:"Eliminar"}],"x63":[{pt:"Para salvar as configura&ccedil;&otilde;es de uma camada,<br> utilize a op&ccedil;&atilde;o existente na &aacute;rvore de camadas no n&oacute; correspondente ao tema (basta expandir o tema para visualizar as op&ccedil;&otilde;es)<br><br>",en:"To save a layer setting,<br> use the option available in the layer tree corresponding to the theme node (just expand the theme to view the options)<br><br>",es:"Para guardar la configuraci&oacute;n de una capa,<br> utilice la opci&oacute;n disponible en la &aacute;rbol de capas en el nodo correspondiente al tema (basta con expandir el tema para ver las opciones)<br><br>"}],"x64a":[{pt:"Congela a vis&atilde;o atual",en:"Freeze the current view",es:"Congela la vista actual"}],"x64":[{pt:"Item",en:"Item",es:"Item"}],"x65":[{pt:"Buscando &iacute;tens...",en:"Searching fields...",es:"Buscando campos..."}],"x66":[{pt:"Ocorreu um erro",en:"There was an error",es:"Ocurri&oacute; un error"}],"x67":[{pt:"Comunidade i3Geo",en:"i3Geo community",es:"Comunidad i3Geo"}],"x68":[{pt:"Vers&atilde;o",en:"Version",es:"Versi&oacute;"}],"zoomliShift":[{pt:"Pressione a tecla SHIFT junto com o bot&atilde;o esquerdo do mouse e arraste para definir a &aacute;rea que ser&aacute; aproximada",en:"Press the SHIFT key along with the left mouse button and drag to define the area you want to zoom",es:"Presione la tecla MAY&Uacute;S junto con el bot&oacute;n izquierdo del rat&oacute;n y arrastre para definir el &aacute;rea en la que desea hacer zoom"}],"zoomliCtrl":[{pt:"Pressione a tecla CTRL junto com o bot&atilde;o esquerdo do mouse e arraste para definir a &aacute;rea que ser&aacute; aproximada",en:"Press the CTRL key along with the left mouse button and drag to define the area you want to zoom",es:"Presione la tecla CTRL junto con el bot&oacute;n izquierdo del rat&oacute;n y arrastre para definir el &aacute;rea en la que desea hacer zoom"}],"x70":[{pt:"Utilize os dedos em um movimento de pin&ccedil;a para definir a &aacute;rea que ser&aacute; aproximada ou afastada",en:"Use the pinch-zoom gesture to define the area that will be zoomed in or out",es:"Utilice los gestos de pinzas de los dedos para definir el &aacute;rea que ser&aacute; acercada o alejada"}],"x71":[{pt:"Aplicativos estat&iacute;sticos cadastrados",en:"Registered statistical applications",es:"Aplicaciones estad&iacute;sticas registradas"}],"x72":[{pt:"Lista de mapas cadastrados",en:"List of registered maps",es:"Lista de los mapas registrados"}],"x73":[{pt:"Redirecionar para a vers&atilde;o adaptada para dispositivos m&oacute;veis?",en:"Redirect to mobile version?",es:"Redireccionar a una versi&oacute;n adaptada a dispositivos m&oacute;viles?"}],"x74":[{pt:"Fecha",en:"Close",es:"Cierra"}],"x75":[{pt:"Cancela",en:"Cancel",es:"Cancela"}],"x76":[{pt:"O tema j&aacute; existe no mapa.",en:"This theme already exists on theme map.",es:"El tema ya existe en el mapa."}],"x77":[{pt:"Nome do novo marcador",en:"New bookmark name",es:"Nombre de marcador nuevo"}],"x78":[{pt:"Copie os marcadores e cole em um editor para guard&aacute;-los",en:"Copy bookmarks and paste in an editor to save them",es:"Copiar los marcadores y pegarlos en un editor para guardarlos"}],"x79":[{pt:"Marcadores",en:"Bookmarks",es:"Marcadores"}],"x80":[{pt:"Exportar",en:"Export",es:"Exportar"}],"x81":[{pt:"Importar",en:"Import",es:"Importar"}],"x82":[{pt:"Marcar regi&atilde;o",en:"Mark region",es:"Marcar regi&oacute;n"}],"x83":[{pt:"Cole os marcadores para import&aacute;-los",en:"Paste the bookmarks to import",es:"Pegue los marcadores para importarlos"}],"x84":[{pt:"Exportar SHP",en:"Export SHP",es:"Exportar SHP"}],"x85":[{pt:"Visualizador de WMS da INDE-Br",en:"INDE-Br WMS viewer",es:"Visualizador de WMS de INDE-Br"}],"x86":[{pt:"Prefer&ecirc;ncias",en:"Preferences",es:"Preferencias"}],"x87":[{pt:"Limites e localidades",en:"Boundaries and localities",es:"L&iacute;mites y localidades"}],"x88":[{pt:"Prefer&ecirc;ncias",en:"Preferences",es:"Preferencias"}],"x89":[{pt:"Editar cadastro",en:"Edit register",es:"Editar registro"}],"x90":[{pt:"Mapas cadastrados",en:"Registered maps",es:"Mapas registrados"}],"x91":[{pt:"Feche para parar. Desligue o tema para ver o efeito",en:"Close to stop. Turn off the theme to see the effect",es:"Cierre para parar. Apague el tema para ver el efecto"}],"x92":[{pt:"Escolha uma camada",en:"Select a layer",es:"Seleccione una capa"}],"x93":[{pt:"Localiza&ccedil;&atilde;o do usu&aacute;rio",en:"User location",es:"Ubicaci&oacute;n del usuario"}],"x94":[{pt:"Remove as figuras da tela",en:"Remove pictures from the screen",es:"Quita las figuras de la pantalla"}],"x95":[{pt:"trecho",en:"stretch",es:"tramo"}],"x96":[{pt:"atual",en:"current",es:"actual"}],"x97":[{pt:"total",en:"total",es:"total"}],"x98":[{pt:"per&iacute;metro",en:"perimeter",es:"per&iacute;metro"}],"x99":[{pt:"C&aacute;lculo n&atilde;o pode ser realizado. Falta carregar a API de geometria do GM",en:"The calculation cannot be performed. It is necessary to upload the GM geometry API",es:"El c&aacute;lculo no puede ser realizado. Falta cargar la API de geometr&iacute;a de GM"}],"x101":[{pt:"C&oacute;pia",en:"Copy",es:"Copia"}],"x102":[{pt:"Mapa de calor",en:"Heatmap",es:"Mapa de calor"}],"x103":[{pt:"Links para abrir o mapa",en:"Links to open the map",es:"Links para abrir el mapa "}],"x104":[{pt:"Mapa de agrupamentos",en:"Cluster map",es:"Mapa de agrupaci&oacute;n"}],"x105":[{pt:"Navega&ccedil;&atilde;o",en:"Browsing",es:"Navegaci&oacute;n"}],"mais":[{pt:"Mais...",en:"More...",es:"M&aacute;s..."}],"uploadArquivoGeo":[{pt:"Upload de arquivo geo",en:"Geo file upload",es:"Carga del archivo geo"}],"conexaoServicoGeo":[{pt:"Conex&atilde;o com servi&ccedil;os geo",en:"Connection to geo services",es:"Conexi&oacute;n con servicios geo"}],"saikuAba":[{pt:"SAIKU - OLAP (abrir em nova aba)",en:"SAIKU - OLAP (open in a new tab)",es:"SAIKU - OLAP (abrir en una nueva pesta&ntilde;a)"}],"saikuMapa":[{pt:"SAIKU - OLAP (abrir em janela interna)",en:"SAIKU - OLAP (open in an inner window)",es:"SAIKU - OLAP (abrir en una ventana interna)"}],"refMapaAtual":[{pt:"Mapa atual",en:"Current map",es:"Mapa actual"}],"refMapaDinamico":[{pt:"Mapa fixo",en:"WMS",es:"WMS"}],"naoPermitido":[{pt:"Operacao nao autorizada para esse usuario",en:"This user does not have permission to perform this action",es:"Operaci&oacute;n no autorizada para este usuario"}],"melhorcaminho":[{pt:"Melhor caminho (raster)",en:"Best way (raster)",es:"Mejor camino (raster)"}],"tolerancia":[{pt:"Toler&acirc;ncia de busca (em pixels)",en:"Search tolerance (in pixels)",es:"Tolerancia de b&uacute;squeda (en pixeles)"}],"naoInstalado":[{pt:"Ferramenta n&atilde;o dispon&iacute;vel nessa instala&ccedil;&atilde;o do i3Geo",en:"Tool not available on this i3Geo installation",es:"Herramienta no disponible en esta instalaci&oacute;n de i3geo"}],"variaEscala":[{pt:"Depend&ecirc;ncia da escala",en:"Scale dependency",es:"Dependencia de escala"}],"mostraTodosLegenda":[{pt:"Mostra tudo",en:"Show all",es:"Muestra todo"}],"mostraSoLegenda":[{pt:"Mostra s&oacute; a legenda",en:"Show legend only",es:"Muestra solo la leyenda"}],"removerDoMapa":[{pt:"Remove a camada do mapa?",en:"Do you want to remove the layer from map?",es:"&iquest;Quiere remover la capa del mapa?"}],"dicaBuscaRapida":[{pt:"Abre uma janela flutuante com op&ccedil;&otilde;es de busca de dados em servi&ccedil;os como o Google Maps ou nas camadas exsitentes no mapa",en:"Open a floating window with data search options on services like Google Maps or on the map layers",es:"Abre una ventana flotante con opciones de b&uacute;squeda de datos en servicios como Google Maps o en las capas del mapa"}],"refresh":[{pt:"Refaz a &aacute;rvore, reconstruindo os &iacute;cones e lista de camadas",en:"Redo the tree by rebuilding the icons and the layer list",es:"Rehacer el &aacute;rbol reconstruyendo los iconos y la lista de capas"}],"lixeira":[{pt:"Clique para ver a lista de camadas em uma janela flutuante com op&ccedil;&atilde;o para remover um ou mais camadas do mapa. Arraste uma camada sobre esse &iacute;cone para remov&ecirc;-la individualmente",en:"Click to see the layer list in a floating window with the option to remove one or more layers from the map. Drag a layer to this icon to remove it individually",es:"Haga clic para ver la lista de capas en una ventana flotante con la opci&oacute;n de eliminar una o m&aacute;s capas del mapa. Arrastre una capa sobre este icono para removerla individualmente"}],"filtraCam":[{pt:"Permite filtrar a lista de camadas mostradas na &aacute;rvore conforme propriedades espec&iacute;ficas de cada uma",en:"It allows you to filter the layer lists shown in the tree according to their specific properties",es:"Permite filtrar la lista de capas mostradas en el &aacute;rbol seg&uacute;n las propiedades espec&iacute;ficas de cada una"}],"legenda":[{pt:"Abre a legenda do mapa em uma janela flutuante",en:"Open the map legend in a floating window",es:"Abre la leyenda del mapa en una ventana flotante "}],"ferramMapa":[{pt:"Mostra a lista de ferramentas que atuam sobre o mapa",en:"It shows a list of tools that perform tasks on the map",es:"Muestra la lista de herramientas que act&uacute;an sobre el mapa"}],"ferramCamadas":[{pt:"Mostra a lista de ferramentas que atuam sobre camadas",en:"It shows a list of tools that perform tasks on the layers",es:"Muestra una lista de herramientas que act&uacute;an sobre las capas"}],"ajudaEditorOlSalva":[{pt:"Para editar os atributos, utilize a ferramenta de identifica&ccedil;&atilde;o. &Eacute; necess&aacute;rio que exista uma coluna com identificadores &uacute;nicos na tabela a ser editada e que essa coluna esteja vis&iacute;vel na ferramenta de identifica&ccedil;&atilde;o.",en:"Use the identification tool to edit the attributes. There must be a column with unique identifiers in the table that will be edited. This column should be visible in the identification tool.",es:"Para editar los atributos utilice la herramienta de identificaci&oacute;n. Es necesario que exista una columna con identificadores &uacute;nicos en la tabla a ser editada y que esa columna sea visible en la herramienta de identificaci&oacute;n."}],"mascara":[{pt:"M&aacute;scara",en:"Mask",es:"M&aacute;scara"}],"result":[{pt:"Resultado",en:"Result",es:"Resultado"}],"tativo":[{pt:"Tema ativo",en:"Active theme ",es:"Tema activo"}],"geosel":[{pt:"geometria(s) selecionada(s) encontrada(s)",en:"selected geometry found",es:"geometr&iacute;a(s) seleccionada(s) encontrada(s)"}],"listar":[{pt:"Listar",en:"Make a list",es:"Hacer una lista"}],"sdados":[{pt:"Salvar dados",en:"Save data",es:"Guardar datos"}],"incorpo":[{pt:"Incorporar ao mapa",en:"Add to map",es:"Agregar al mapa"}],"selum":[{pt:"Selecione uma ou mais geometrias",en:"Select one or more geometries",es:"Seleccione una o m&aacute;s geometr&iacute;as"}],"atrib":[{pt:"Atributos",en:"Attributes",es:"Atributos"}],"reg":[{pt:"Registros",en:"Records",es:"Registros"}],"adic":[{pt:"Adicionando",en:"Adding",es:"Agregando"}],"stema":[{pt:"Salvar no tema",en:"Save the theme",es:"Salvar el tema"}],"seluma":[{pt:"Selecione apenas uma figura",en:"Select one picture only",es:"Seleccione solo una figura"}],"salva":[{pt:"Salva",en:"Save",es:"Salva"}],"canc":[{pt:"Cancela",en:"Cancel",es:"Cancela"}],"dlinha":[{pt:"digitalizar linha",en:"digitalize line",es:"digitalizar l&iacute;nea"}],"dpol":[{pt:"digitalizar poligono",en:"digitalize polygon",es:"digitalizar pol&iacute;gono"}],"dponto":[{pt:"digitalizar ponto",en:"digitalize point",es:"digitalizar punto"}],"dtexto":[{pt:"digitalizar texto",en:"digitalize text",es:"digitalizar texto"}],"cortaf":[{pt:"corta figura",en:"cut picture",es:"cortar figura"}],"modf":[{pt:"modifica figura",en:"modify picture",es:"modificar figura"}],"listag":[{pt:"lista geometrias",en:"list geometries",es:"crear lista de geometr&iacute;as"}],"frente":[{pt:"trazer para frente",en:"send forward",es:"traer al frente"}],"studo":[{pt:"selecionar tudo",en:"select all",es:"seleccionar todo"}],"ustudo":[{pt:"limpar sele&ccedil;&atilde;o",en:"clear selection",es:"limpiar la selecci&oacute;n"}],"excsel":[{pt:"Remove os elementos selecionados",en:"Remove selected features",es:"Remueve los elementos seleccionados"}],"opcoes":[{pt:"Op&ccedil;&otilde;es",en:"Options",es:"Opciones"}],"meneditor1":[{pt:"Para excluir registros do banco de dados utilize a ferramenta de identifica&ccedil;&atilde;o",en:"Use the identification tool to delete records from the database",es:"Para excluir registros de la base de datos utilice la herramienta de identificaci&oacute;n"}],"meneditor2":[{pt:"Nenhum elemento gr&aacute;fico encontrado. Utilize as op&ccedil;&otilde;es de cria&ccedil;&atilde;o de geometrias.",en:"No graphic element found. Use the options to create geometries.",es:"Ning&uacute;n elemento gr&aacute;fico encontrado. Utilice las opciones de creaci&oacute;n de geometr&iacute;a."}],"meneditor3":[{pt:"Voc&ecirc; precisa fazer login para usar a op&ccedil;&atilde;o de salvar no banco de dados",en:"You must be logged in to use the save to database option",es:"Usted debe iniciar sesi&oacute;n para utilizar la opci&oacute;n de guardar en la base de datos"}],"meneditor4":[{pt:"Valores iguais ao original",en:"Values equal to the original ones",es:"Valores iguales al original"}],"meneditor5":[{pt:"&Eacute; necess&aacute;rio ter um c&oacute;digo para poder excluir",en:"It is necessary to have a password to exclude",es:"Es necesario tener una clave para excluir"}],"meneditor6":[{pt:"Ap&oacute;s escolher a medida da vari&aacute;vel, clique no mapa para escolher o limite geogr&aacute;fico.",en:"After choosing the variable measure, click on the map to choose the geographical boundary.",es:"Despu&eacute;s de escoger la medida de la variable, haga clic en el mapa para seleccionar el l&iacute;mite geogr&aacute;fico."}],"opsel":[{pt:"Opera&ccedil;&otilde;es sobre as figuras selecionadas",en:"Operations on the selected pictures",es:"Operaciones sobre las figuras seleccionadas"}],"capturar":[{pt:"Capturar elemento de um tema",en:"Capture a theme feature",es:"Capturar elemento de un tema"}],"salvexc":[{pt:"Salvar/excluir dados",en:"Save/exclude data",es:"Guardar/excluir datos"}],"edatrib":[{pt:"Editar atributos",en:"Edit Attributes",es:"Editar atributos"}],"camedit":[{pt:"Camadas edit&aacute;veis",en:"Editable layers",es:"Capas editables"}],"nenhum":[{pt:"Nenhum",en:"None",es:"Ninguno"}],"tipo":[{pt:"Tipo",en:"Type",es:"Tipo"}],"abreMapa":[{pt:"Abrir o mapa",en:"Open the map",es:"Abrir el mapa "}],"areaAprox":[{pt:"&Aacute;rea aproximada",en:"Approximate area",es:"&Aacute;rea aproximada"}],"distAprox":[{pt:"Dist&acirc;ncia aproximada",en:"Approximate distance",es:"Distancia aproximada"}],"trocaInterface":[{pt:"Troca de interface",en:"Interface change",es:"Cambio de interfaz"}],"wkt2layer":[{pt:"Converte WKT em camada",en:"Convert WKT into layer",es:"Transformar WKT en capa"}],"salvaDadosEditor":[{pt:"Os dados s&oacute; podem ser salvos em temas que permitem edi&ccedil;&atilde;o e que possuem coluna com auto incremento",en:"Data can only be saved in themes that allow edition and have columns with auto-increment",es:"Los datos solo pueden ser guardados en los temas que permiten edici&oacute;n y que poseen columnas con auto incremento"}],"novaaba":[{pt:"Abre em nova aba",en:"Open in a new tab",es:"Abre en una pesta&ntilde;a nueva"}],"novonome":[{pt:"Novo nome",en:"New name",es:"Nombre nuevo"}],"medir":[{pt:"Medir/Calcular",en:"Measure/Calculate",es:"Medir/Calcular"}],"tabela":[{pt:"Tabela",en:"Table",es:"Tabla"}],"ligaDesliga":[{pt:"Liga/Desliga",en:"Turn on/Turn off",es:"Encender/Apagar"}],"naoPublicado":[{pt:"n&atilde;o publicado",en:"not published",es:"no publicado"}],"operacoesMapaTema":[{pt:"Opera&ccedil;&otilde;es sobre o mapa ou tema",en:"Operations on the map or theme",es:"Operaciones sobre el mapa o tema"}],"descMenuAjuda":[{pt:"Documenta&ccedil;&atilde;o, redes sociais, tutoriais...",en:"Documentation, social networks, tutorials...",es:"Documentaci&oacute;n, redes sociales, tutoriales..."}],"descMenuAnalise":[{pt:"Dist&acirc;ncia, &aacute;rea, buffer, gr&aacute;ficos...",en:"Distance, area, buffer, graphics...",es:"Distancia, &aacute;rea, buffer, gr&aacute;ficos..."}],"descArquivos":[{pt:"Salvar e carregar mapfile, lista de mapas...",en:"Save and upload mapfile, map list...",es:"Guardar y cargar mapfile, lista de mapas..."}],"descOperacoesMapaTema":[{pt:"Tabela, legenda, imprimir, upload, navega&ccedil;&atilde;o...",en:"Table, legend, print, upload, browsing...",es:"Tabla, leyenda, impresi&oacute;n, carga, navegaci&oacute;n..."}],"descOgcWms":[{pt:"Adiciona camada via servi&ccedil;o WMS",en:"Add layer via WMS service",es:"A&ntilde;ade capa a trav&eacute;s de servicio WMS"}],"descLimLoc":[{pt:"Regi&otilde;es cadastradas no sistema de metadados estat&iacute;sticos",en:"Regions registered in the statistical metadata system",es:"Regiones registradas en el sistema de metadatos estad&iacute;sticos"}],"descMeta":[{pt:"Camadas baseadas no sistema de metadados estat&iacute;sticos",en:"Layers based on the statistical metadata system",es:"Capas basadas en el sistema de metadatos estad&iacute;sticos"}],"descMapas":[{pt:"Mapas prontos para uso, com camadas j&aacute; selecionadas",en:"Ready-to-use maps with layers already selected",es:"Mapas listos para su uso con capas seleccionadas"}],"descEstrelas":[{pt:"Lista de camadas classificadas conforme o n&uacute;mero de acessos",en:"List of layers classified according to the number of accesses",es:"Lista de capas clasificadas seg&uacute;n el n&uacute;mero de accesos"}],"descSistemas":[{pt:"Sistemas com op&ccedil;&otilde;es espec&iacute;ficas e que permitem adicionar camadas ao mapa",en:"Systems with specific options that allow you to add layers to the map",es:"Sistemas con opciones espec&iacute;ficas que permiten agregar capas al mapa"}],"descDir":[{pt:"Diret&oacute;rio de arquivos shapefile",en:"Shapefile directory",es:"Directorio de archivos shapefile"}],"localiza":[{pt:"Posi&ccedil;&atilde;o",en:"Position",es:"Posici&oacute;n"}],"volta":[{pt:"volta",en:"back",es:"volver"}],"continua":[{pt:"continua",en:"continue",es:"continuar"}],"avanca":[{pt:"avan&ccedil;a",en:"go ahead",es:"avanzar"}],"tipvazio":[{pt:"N&atilde;o existe nenhuma camada no mapa que permita mostrar etiquetas",en:"There is no layer on the map that allows you to display labels",es:"No existe ninguna capa en el mapa que permita mostrar etiquetas"}],"erroTpl":[{pt:"Erro ao carregar um template",en:"Error loading template",es:"Error al cargar una plantilla"}],"remove":[{pt:"Remove",en:"Remove",es:"Eliminar"}],"iconeFerramentas":[{pt:"Caixa de ferramentas",en:"Tool box",es:"Caja de herramientas"}],"iconeMapa":[{pt:"Camadas inclu&iacute;das",en:"Layers included",es:"Capas incluidas"}],"iconeCatalogo":[{pt:"Incluir mais camadas",en:"Add more layers",es:"Incluir m&aacute;s capas"}],"iconeLegenda":[{pt:"Legenda do mapa",en:"Map Legend",es:"Leyenda del mapa"}],"iconeBalao":[{pt:"Info resumida",en:"Summary information",es:"Informaci&oacute;n resumida"}],"iconeIdentifica":[{pt:"Info completa",en:"Comprehensive information",es:"Informaci&oacute;n completa"}],"indeOk":[{pt:"Cat&aacute;logo da INDE j&aacute; est&aacute; dispon&iacute;vel",en:"INDE catalog now available",es:"Cat&aacute;logo del INDE ya est&aacute; disponible"}],"deveLigada":[{pt:"A camada deve estar vis&iacute;vel",en:"The layer must be visible",es:"La capa debe ser visible"}],"balaoVazio":[{pt:"N&atilde;o foram encontrados dados nas camadas dispon&iacute;veis. Experimente utilizar o &iacute;cone de mais informa&ccedil;&otilde;es",en:"No data was found on the available layers. Try to use the more infomation icon",es:"No se encontraron datos en las capas disponibles. Intente utilizar el icono de m&aacute;s informaci&oacute;n"}],"umaLigada":[{pt:"Pelo menos uma camada deve estar ligada no mapa",en:"At least one layer must be associated with the map",es:"Al menos una capa debe estar conectada en el mapa"}],"precisaApiGM":[{pt:"Essa op&ccedil;&atilde;o necessita de uma API do Google Maps. Consulte o administrador do sistema. O c&oacute;digo da API deve constar no arquivo de configura&ccedil;&atilde;o do i3Geo.",en:"This option requires a Google Maps API. Ask your system administrator for advice. The API code should be in the i3Geo configuration file.",es:"Esta opci&oacute;n requiere una API de Google Maps. Consulte con el administrador del sistema. El c&oacute;digo de la API debe incluirse en el archivo de configuraci&oacute;n de i3Geo."}],"graticule":[{pt:"Grade de coordenadas (ativa e desativa)",en:"Coordinate grid (turn on and turn off)",es:"Cuadr&iacute;cula de coordenadas (activa y desactiva)"}],"versaoAntiga":[{pt:"Essa op&ccedil;&atilde;o pode n&atilde;o funcionar corretamente devido a vers&atilde;o do sistema (Mapserver)",en:"This option may not work properly because of the system version (Mapserver)",es:"Esta opci&oacute;n puede que no funcione correctamente debido a la versi&oacute;n del sistema (Mapserver)"}],"camadasDeFundo":[{pt:"Camadas de fundo",en:"Basemap",es:"Mapa base"}],"funcaojstip":[{pt:"Fun&ccedil;&atilde;o JS (para as etiquetas)",en:"",es:""}],"rangeScaleMsg":[{pt:"Vis&iacute;vel apenas em determinadas escalas",en:"",es:""}],"layerDesenho":[{pt:"Camada de desenho",en:"",es:""}],"confirma":[{pt:"Confirma",en:"",es:""}],"selCorta":[{pt:"Selecione primeiro um elemento para ser cortado",en:"",es:""}],"desPol":[{pt:"Desenhe um pol&iacute;gono",en:"",es:""}],"union":[{pt:"Uni&atilde;o",en:"",es:""}],"intersect":[{pt:"Intersec&ccedil;&atilde;o",en:"",es:""}],"symdif":[{pt:"Diferen&ccedil;a sim&eacute;trica",en:"",es:""}],"dif":[{pt:"Diferen&ccedil;a",en:"",es:""}],"shiftdel":[{pt:"Para apagar um v&eacute;rtice, pressione shift e clique",en:"",es:""}],"extent":[{pt:"Extens&atilde;o",en:"",es:""}],"cola":[{pt:"Cola",en:"",es:""}],"fillring":[{pt:"Preenche as ilhas",en:"",es:""}],"naoremovewkt":[{pt:"Fecha sem remover o desenho",en:"",es:""}],"ativasnaptol":[{pt:"Ativa toler&acirc;ncia (snap)",en:"",es:""}],"freehand":[{pt:"M&atilde;o livre",en:"",es:""}],"masc":[{pt:"M&aacute;scara",en:"",es:""}],"fullscreen":[{pt:"Tela cheia",en:"",es:""}],"esquemadecores":[{pt:"Esquema de cores",en:"Color schema",es:"Esquema de colores"}],"copiaCamada":[{pt:"C&oacute;pia da camada",en:"Layer copy",es:"Copia de la capa"}],"contorno":[{pt:"Contorno",en:"Outline",es:"Contorno"}],"copytomemory":[{pt:"Copiado para a mem&oacute;ria",en:"",es:""}]};
  238 +g_traducao={"dec":[{pt:",",en:".",es:","}],"mil":[{pt:".",en:",",es:"."}],"p1":[{pt:"O i3Geo &eacute; software livre! Para download clique <a href='https://softwarepublico.gov.br/social/i3geo' target=blank >aqui</a>. <b><a href='http://"+window.location.host+"/i3geo/mobile/qrcode.htm' target=blank >Qrcode mobile</a></b>",en:"I3Geo is an open source software! Click <a href='https://softwarepublico.gov.br/social/i3geo' target=blank >here</a> to download. <b><a href='http://"+window.location.host+"/i3geo/mobile/qrcode.htm' target=blank >Qrcode mobile</a></b>",es:"i3Geo es software libre! Para descargar haga clic <a href='https://softwarepublico.gov.br/social/i3geo' target=blank >aqu&iacute;</a>. <b><a href='http://"+window.location.host+"/i3geo/mobile/qrcode.htm' target=blank >Qrcode mobile</a></b>"}],"p2":[{pt:"Filtro de cores",en:"Color filter",es:"Filtro de colores"}],"p3":[{pt:"Legenda",en:"Legend",es:"Leyenda"}],"p4":[{pt:"Escala",en:"Scale",es:"Escala"}],"p5":[{pt:"Tamanho",en:"Size",es:"Tama&ntilde;o"}],"p6":[{pt:"Ativa/desativa entorno",en:"Enable/disable environment",es:"Activar/desactivar entorno"}],"p7":[{pt:"Ativa/desativa logo",en:"Enable/disable logo",es:"Activar/desactivar logo"}],"p8":[{pt:"Cor da sele&ccedil;&atilde;o",en:"Selection color",es:"Color de la selecci&oacute;n"}],"p9":[{pt:"Cor do fundo",en:"Background color",es:"Color de fondo"}],"p10":[{pt:"Grade de coordenadas",en:"Coordinate grid",es:"Cuadr&iacute;cula de coordenadas"}],"p11":[{pt:"Template",en:"Template",es:"Plantilla"}],"p12":[{pt:"Temporizador",en:"Timer",es:"Temporizador"}],"p13":[{pt:"Propriedades",en:"Properties",es:"Propiedades"}],"p14":[{pt:"Aplicar",en:"Apply",es:"Aplicar"}],"p15":[{pt:"Formato da imagem do mapa",en:"Map image format",es:"Formato de la imagen del mapa"}],"p16":[{pt:"Fundo",en:"Basemap",es:"Mapa base"}],"p17":[{pt:"Imprime legenda",en:"Print legend",es:"Imprimir la leyenda"}],"p18":[{pt:"N&atilde;o imprime a legenda",en:"Do not print legend",es:"No imprimir la leyenda"}],"p19":[{pt:"Ativa ou desativa a legenda de um tema na op&ccedil;&atilde;o de impress&atilde;o do mapa",en:"Enable or disable the legend of a theme in the map print option",es:"Activa o desactiva la leyenda de un tema en la opci&oacute;n de impresi&oacute;n del mapa"}],"p20":[{pt:"Tela remota",en:"Remote screen",es:"Pantalla remota"}],"p21":[{pt:"Anima&ccedil;&atilde;o",en:"Animation",es:"Animaci&oacute;n"}],"s1":[{pt:"Ajuda",en:"Help",es:"Ayuda"}],"s2":[{pt:"An&aacute;lise",en:"Analysis",es:"An&aacute;lisis"}],"s3":[{pt:"Janelas",en:"Windows",es:"Ventanas"}],"s4":[{pt:"Arquivo",en:"File",es:"Archivo"}],"s5":[{pt:"Propriedades",en:"Properties",es:"Propiedades"}],"u1":[{pt:"Sobre o i3Geo",en:"About i3Geo",es:"Acerca de i3Geo"}],"u2":[{pt:"Doc. dos c&oacute;digos",en:"Doc. of codes",es:"Doc. de los c&oacute;digos"}],"u3":[{pt:"WikiBook",en:"WikiBook",es:"WikiBook"}],"u4":[{pt:"Tutoriais",en:"Tutorials",es:"Tutoriales"}],"u4a":[{pt:"Manual do usu&aacute;rio",en:"User manual",es:"Manual de usuario"}],"u5":[{pt:"Blog",en:"Blog",es:"Blog"}],"u5a":[{pt:"Software p&uacute;blico",en:"Public software",es:"Software p&uacute;blico"}],"u5b":[{pt:"Lista de fun&ccedil;&otilde;es",en:"Function lists",es:"Lista de funciones"}],"u5c":[{pt:"Redes sociais",en:"Social networks",es:"Redes sociales"}],"u6":[{pt:"Geometrias",en:"Geometries",es:"Geometr&iacute;as"}],"u7":[{pt:"Grade de pol&iacute;gonos",en:"Polygon grid",es:"Cuadr&iacute;cula de pol&iacute;gonos"}],"u8":[{pt:"Grade de pontos",en:"Point grid",es:"Cuadr&iacute;cula de puntos"}],"u9":[{pt:"Grade de hex&aacute;gonos",en:"Grid of Hexagons",es:"Cuadr&iacute;cula de hex&aacute;gonos"}],"u10":[{pt:"Entorno(Buffer)",en:"Buffer",es:"&Aacute;rea de influencia (Buffer)"}],"u11":[{pt:"Centr&oacute;ide",en:"Centroid",es:"Centroide"}],"u11a":[{pt:"Dist&acirc;ncia entre pontos",en:"Distance between points",es:"Distancia entre puntos"}],"u12":[{pt:"N pontos em poligono",en:"N points in polygon",es:"N puntos en pol&iacute;gono"}],"u13":[{pt:"Ponto em poligono/raster",en:"Point in polygon/raster",es:"Punto en pol&iacute;gono/raster"}],"u14":[{pt:"Distribui&ccedil;&atilde;o de pontos",en:"Point distribution",es:"Distribuci&oacute;n de puntos"}],"u15":[{pt:"Barras de ferramentas",en:"Toolbars",es:"Barras de herramientas"}],"u15a":[{pt:"Caixa de ferramentas",en:"Tool box",es:"Caja de herramientas"}],"u16":[{pt:"Janela de mensagens",en:"Message window",es:"Ventana de mensajes"}],"u17":[{pt:"Salvar mapa",en:"Save map",es:"Guardar el mapa"}],"u18":[{pt:"Carregar mapa",en:"Load map",es:"Cargar mapa"}],"u19":[{pt:"Pegar imagens",en:"Paste images",es:"Pegar im&aacute;genes"}],"u20":[{pt:"Converter em WMS e WMC",en:"Convert to WMS and WMC",es:"Convertir a WMS y WMC"}],"u20a":[{pt:"Converter em KML",en:"Convert to KML",es:"Convertir a KML"}],"u21":[{pt:"Gerador de links",en:"Link generator",es:"Generador de enlaces"}],"u22":[{pt:"Grade",en:"Grid",es:"Cuadr&iacute;cula"}],"u23":[{pt:"Ponto",en:"Point",es:"Punto"}],"u24":[{pt:"Pol&iacute;gono",en:"Polygon",es:"Pol&iacute;gono"}],"u25":[{pt:"Dissolve",en:"Dissolve",es:"Disolver"}],"u26":[{pt:"Agrupa",en:"Group",es:"Agrupar"}],"u27":[{pt:"Outros",en:"Others",es:"Otros"}],"u28":[{pt:"Centro m&eacute;dio",en:"Middle center",es:"Centro medio"}],"u29":[{pt:"Editor vetorial",en:"Vector editor",es:"Editor vectorial"}],"t1":[{pt:"Camadas",en:"Layers",es:"Capas"}],"t2":[{pt:"Arraste o tema aqui ou clique para excluir",en:"Drag the theme here or click to remove",es:"Arrastre el tema aqu&iacute; o haga clic para excluir"}],"t2a":[{pt:"Filtra a lista de camadas",en:"Filter the layer list",es:"Filtra la lista de capas"}],"t2b":[{pt:"Abre a legenda do mapa",en:"Open the map legend",es:"Despliega la leyenda del mapa"}],"t3":[{pt:"Clique para ligar ou desligar esse tema, mostrando-o ou n&atilde;o no mapa. Ap&oacute;s alterar o estado do tema, aguarde alguns instantes para o mapa ser redesenhado, ou clique no bot&atilde;o aplicar que ser&aacute; mostrado.",en:"Click to turn this theme off or on, showing it or not on the map. After changing the status of the theme, wait a few moments so that the map updates, or click the Apply button that will be displayed.",es:"Haga clic para encender o apagar este tema y mostrarlo o no en el mapa. Despu&eacute;s de cambiar el estado del tema, espere algunos instantes para que el mapa se actualice o haga clic en el bot&oacute;n aplicar que aparecer&aacute;."}],"t3a":[{pt:"Ligar todos os temas",en:"Turn on all themes",es:"Encender todos los temas"}],"t3b":[{pt:"Desligar todos os temas",en:"Turn off all themes",es:"Apagar todos los temas"}],"t4":[{pt:"Limpa sele&ccedil;&atilde;o",en:"Clear selection",es:"Limpia la selecci&oacute;n"}],"t4a":[{pt:"Zoom para a sele&ccedil;&atilde;o",en:"Zoom to selection",es:"Zoom a la selecci&oacute;n"}],"t5":[{pt:"Limpa sele&ccedil;&atilde;o existente nesse tema",en:"Clear an existing selection in this theme",es:"Limpia la selecci&oacute;n existente en este tema"}],"t6":[{pt:"Clique para fazer o download desse tema no formato shapefile",en:"Click to download this theme in shapefile format",es:"Haga clic para descargar este tema en formato shapefile"}],"t7":[{pt:"clique e arraste",en:"Click and drag",es:"Haga clic y arrastre"}],"t7a":[{pt:"Clique e arraste para mudar a ordem. Arraste e solte na lixeira para remover. Aguarde para ver a legenda.",en:"Click and drag to change the order. Drag and drop to the trash to remove. Wait to see the legend.",es:"Haga clic y arrastre para cambiar el orden. Arrastre y suelte en la papelera para remover. Aguarde para ver la leyenda."}],"t8":[{pt:"arraste para mudar a ordem",en:"drag to change the order",es:"arrastre para cambiar el orden"}],"t9":[{pt:"Compat&iacute;vel com a escala",en:"Compatible with the scale",es:"Compatible con la escala"}],"t10":[{pt:"Incompat&iacute;vel com a escala",en:"Incompatible with the scale",es:"Incompatible con la escala"}],"t11":[{pt:"Escala n&atilde;o conhecida",en:"Unknown scale",es:"Escala no conocida"}],"t12":[{pt:"Excluir",en:"Exclude",es:"Excluir"}],"t12a":[{pt:"Clique para excluir esse tema do mapa.",en:"Click to exclude this theme from the map.",es:"Haga clic para excluir este tema del mapa."}],"t13":[{pt:"Sobe",en:"Up",es:"Subir"}],"t14":[{pt:"Clique para subir esse tema na ordem de desenho",en:"Click to move up the theme in drawing order",es:"Haga clic para subir y cambiar el orden de dibujo de este tema"}],"t15":[{pt:"Desce",en:"Down",es:"Bajar"}],"t16":[{pt:"Clique para descer esse tema na ordem de desenho",en:"Click to move down the theme in drawing order",es:"Haga clic para bajar y cambiar el orden de dibujo de este tema"}],"t17":[{pt:"Zoom para o tema",en:"Zoom to theme",es:"Zoom al tema"}],"t18":[{pt:"Clique para ajustar o mapa de forma a mostrar todo o tema",en:"Click to show the whole theme by adjusting the map",es:"Haga clic para ajustar el mapa de manera de poder ver todo el tema"}],"t18a":[{pt:"Op&ccedil;&otilde;es e propriedades",en:"Options and properties",es:"Opciones y propiedades"}],"t18b":[{pt:"Legenda",en:"Legend",es:"Leyenda"}],"t19":[{pt:"Altera a transpar&ecirc;ncia do tema, possibilitando que as camadas inferiores possam ser vistas.",en:"Change layer transparency to enable visibility of bottom layers.",es:"Altera la transparencia del tema haciendo posible que las capas inferiores se puedan ver."}],"t20":[{pt:"Opacidade",en:"Opacity",es:"Opacidad"}],"t22":[{pt:"Localize elementos no tema com base em seus atributos descritivos.",en:"Search for elements on the theme based on their descriptive attributes.",es:"Ubique elementos en el tema en base a sus atributos descriptivos."}],"t23":[{pt:"Procurar",en:"Search",es:"Buscar"}],"t24":[{pt:"Crie uma nova camada no mapa para apresentar textos descritivos sobre esse tema, tendo como base a tabela de atributos.",en:"Create a new layer on the map based on the table of attributes to display descriptive texts about this theme.",es:"Crear una nueva capa en el mapa para presentar textos descriptivos sobre este tema, teniendo como base la tabla de atributos."}],"t25":[{pt:"Etiquetas baseadas em atributos",en:"Labels based on attributes",es:"Etiquetas basadas en atributos"}],"t26":[{pt:"Defina as etiquetas que ser&atilde;o mostradas quando o mouse &eacute; estacionado sobre um elemento desse tema.",en:"Define labels that will be shown when the mouse is over a feature of this theme.",es:"Defina las etiquetas que se mostrar&aacute;n cuando el rat&oacute;n se detenga sobre un elemento de este tema."}],"t27":[{pt:"Ativar etiquetas",en:"Activate labels",es:"Activar etiquetas"}],"t28":[{pt:"Insira um filtro nesse tema para mostrar apenas determinadas informa&ccedil;&otilde;es, com base na tabela de atributos.",en:"Insert a filter in this theme based on the table of attributes to show only specific information.",es:"Inserte un filtro en este tema para mostrar solo determinadas informaciones, con base en la tabla de atributos."}],"t29":[{pt:"Filtrar",en:"Filter",es:"Filtrar"}],"t30":[{pt:"Veja a tabela de atributos relacionada a esse tema.",en:"See the table of attributes related to this theme.",es:"Vea la tabla de atributos relacionada con este tema."}],"t31":[{pt:"Tabela com os dados",en:"Table with data",es:"Tabla con los datos"}],"t32":[{pt:"Abre o editor de legenda, permitindo a altera&ccedil;&atilde;o da forma de representa&ccedil;&atilde;o desse tema.",en:"Open the legend editor to change the way this theme is rendered.",es:"Abre el editor de leyenda para modificar la forma de representaci&oacute;n de este tema."}],"t33":[{pt:"Editar legenda",en:"Edit legend",es:"Editar leyenda"}],"t34":[{pt:"Mostra os dados desse tema em uma janela que acompanha o mouse.",en:"Show the data of this theme in a window that tracks the mouse.",es:"Muestra los datos de este tema en una ventana que acompa&ntilde;a el rat&oacute;n."}],"t35":[{pt:"Mostra em janela",en:"Show in window",es:"Mostrar en la ventana"}],"t36":[{pt:"tema vis&iacute;vel apenas em determinadas escalas",en:"theme visible only at certain scales",es:"el tema es visible solo en ciertas escalas"}],"t37":[{pt:"Gr&aacute;fico",en:"Chart",es:"Gr&aacute;fico"}],"t37a":[{pt:"Tema com gr&aacute;ficos",en:"Theme with charts",es:"Tema con gr&aacute;ficos"}],"t37b":[{pt:"Gr&aacute;fico interativo",en:"Interactive chart",es:"Gr&aacute;fico interactivo"}],"t38":[{pt:"Exporta a legenda para o padr&atilde;o SLD.",en:"Export the legend to SLD schema.",es:"Exporta la leyenda para el est&aacute;ndar SLD."}],"t39":[{pt:"Exportar SLD",en:"Export SLD",es:"Exportar SLD"}],"t40":[{pt:"Abre a ferramenta que permite alterar o SQL de acesso aos dados",en:"Open the tool to change the SQL to access data",es:"Abre la herramienta que permite cambiar el SQL de acceso a los datos"}],"t41":[{pt:"Editar SQL",en:"Edit SQL",es:"Editar SQL"}],"t42":[{pt:"Cortina",en:"Curtain",es:"Cortina"}],"t43":[{pt:"Aplicar SLD",en:"Apply SLD",es:"Aplicar SLD"}],"t44":[{pt:"Salvar mapfile",en:"Save mapfile",es:"Guardar mapfile"}],"t45":[{pt:"Comentar",en:"Comment",es:"Comentar"}],"t46":[{pt:"Mais populares",en:"Most popular",es:"M&aacute;s populares"}],"t48":[{pt:"Temporizador",en:"Timer",es:"Temporizador"}],"t49":[{pt:"Mapa tem&aacute;tico 3D",en:"3D tematic map",es:"Mapa tem&aacute;tico 3D"}],"a1":[{pt:"Procurar tema:",en:"Search theme:",es:"Buscar tema:"}],"a2":[{pt:"Upload de shape file",en:"Upload shapefile",es:"Subir shapefile"}],"a2b":[{pt:"Upload de DBF ou CSV",en:"Upload DBF or CSV",es:"Subir DBF o CSV"}],"a3":[{pt:"Download de dados",en:"Data downloading",es:"Descarga de datos"}],"a3a":[{pt:"Importar Web Map Context",en:"Import Web Map Context",es:"Importar Web Map Context"}],"a4":[{pt:"Conectar com servidor WMS",en:"Connect to WMS server",es:"Conectar al servidor WMS"}],"a4b":[{pt:"Conectar com servidor WMS-T",en:"Connect to WMS-T server",es:"Conectar al servidor WMS-T"}],"a5":[{pt:"Conectar com GeoRss",en:"Connect to GeoRss",es:"Conectar con GeoRss"}],"a5a":[{pt:"Nuvem de tags",en:"Tag cloud",es:"Nube de etiquetas"}],"a6":[{pt:"Acesso aos arquivos do servidor",en:"Access to server files",es:"Acceso a los archivos del servidor"}],"a7":[{pt:"Temas",en:"Theme",es:"Temas"}],"a8":[{pt:"Clique no box ao lado do tema para ligar ou desligar, mostrando-o ou n&atilde;o no mapa. Ap&oacute;s alterar o estado do tema, aguarde alguns instantes para o mapa ser redesenhado, ou clique no bot&atilde;o aplicar que ser&aacute; mostrado.",en:"Click the box next to the theme to turn it on or off, showing it or not on the map. After changing the status of the theme, wait a few moments so that the map updates, or click the Apply button that will be displayed.",es:"Haga clic en el cuadro ubicado al lado del tema para encender o apagarlo y mostralo o no en el mapa. Despu&eacute;s de cambiar el estado del tema, espere algunos instantes para que el mapa se actualice o haga clic en el bot&oacute;n aplicar que aparecer&aacute;."}],"a9":[{pt:"Fonte",en:"Font",es:"Fuente"}],"a10":[{pt:"c&oacute;digo:",en:"code",es:"c&oacute;digo"}],"a11":[{pt:"Sistemas",en:"Systems",es:"Sistemas"}],"a12":[{pt:"Abrir sistema",en:"Open system",es:"Abrir sistema"}],"a13":[{pt:"Abrir no Google Earth",en:"Open with Google Earth",es:"Abrir en Google Earth"}],"a14":[{pt:"Upload SHP, CSV...",en:"Upload SHP, CSV...",es:"Subir SHP, CSV..."}],"a15":[{pt:"Conex&otilde;es",en:"Conections",es:"Conexiones"}],"a16":[{pt:"Servi&ccedil;os",en:"Services",es:"Servicios"}],"g1":[{pt:"Temas",en:"Themes",es:"Temas"}],"g1a":[{pt:"Cat&aacute;logo",en:"Catalog",es:"Cat&aacute;logo"}],"g2":[{pt:"Adiciona",en:"Add",es:"Agregar"}],"g3":[{pt:"Legenda",en:"Legend",es:"Leyenda"}],"g4":[{pt:"Mapas",en:"Maps",es:"Mapas"}],"g4a":[{pt:"Mapa",en:"Map",es:"Mapa"}],"o1":[{pt:"Aguarde...",en:"Wait...",es:"Espere..."}],"o2":[{pt:"Busca r&aacute;pida",en:"Quick search",es:"B&uacute;squeda r&aacute;pida"}],"o3":[{pt:"Lendo imagem...",en:"Reading image...",es:"Leyendo imagen..."}],"o4":[{pt:"Aguarde...abrindo lente",en:"Wait...Opening magnifying glass",es:"Espere...abriendo lupa"}],"o5":[{pt:"Aguarde...iniciando",en:"Wait...initializing",es:"Espere...iniciando"}],"o6":[{pt:"din&acirc;mico",en:"Dynamic",es:"Din&aacute;mico"}],"d1":[{pt:"Digite as coordenadas de um ponto (X=longitude e Y=latitude) para localizar-lo no mapa. no mapa. O centro do mapa ser&aacute; deslocado para o ponto digitado.",en:"Enter the coordinates of a point (X=longitude and Y=latitude) to localize it on the map. The map center will move to this point.",es:"Digite las coordenadas de un punto (X=longitud e Y=latitud) para ubicarlas en el mapa. El centro del mapa se desplazar&aacute; al punto introducido."}],"d2":[{pt:"Altera a escala do mapa ajustando-a para mostrar a mesma abrang&ecirc;ncia geogr&aacute;fica da inicializa&ccedil;&atilde;o.",en:"Change the map scale to show the initial geographical extent.",es:"Modifica la escala del mapa ajust&aacute;ndola para mostrar la misma &aacute;rea geogr&aacute;fica inicial."}],"d2t":[{pt:"Enquadramento inicial",en:"Initial extent",es:"Extensi&oacute;n inicial"}],"d3":[{pt:"Amplia o mapa - desloca o ponto clicado para centro da tela ou amplia a regi&atilde;o indicada por um ret&acirc;ngulo. Ap&oacute;s ativada, clique e arraste o mouse sobre o mapa na &aacute;rea de zoom desejada.",en:"It enlarges the map - places the clicked point on the center of the screen or enlarge the map on a region indicated by a rectangle. Once activated, click and drag the mouse over the map into the desired area.",es:"Ampl&iacute;a el mapa - coloca el punto donde se hizo clic en el centro de la pantalla o ampl&iacute;a a la regi&oacute;n indicada con un rect&aacute;ngulo. Despu&eacute;s de activarla, haga clic y arrastre el rat&oacute;n sobre el mapa en el &aacute;rea de zoom deseada."}],"d3t":[{pt:"clique e arraste para ampliar",en:"click and drag to enlarge",es:"Haga click y arraste para ampliar"}],"d4":[{pt:"Desloca a regi&atilde;o vis&iacute;vel no mapa. Ap&oacute;s ativada, clique e arraste o mouse sobre o mapa para deslocar a regi&atilde;o vis&iacute;vel.",en:"It moves the visible region on the map. After being activated, click and drag the mouse over the map to move the visible region.",es:"Desplaza la regi&oacute;n visible en el mapa. Una vez activada, haga clic y arrastre el rat&oacute;n sobre el mapa para desplazar la zona visible."}],"d4t":[{pt:"clique e arraste para deslocar",en:"click and drag to move",es:"haga click y arraste para mover"}],"d5":[{pt:"Amplia o mapa tendo como refer&ecirc;ncia o centro atual.",en:"Enlarge the map based on the current center.",es:"Ampl&iacute;a el mapa teniendo como referencia el centro actual."}],"d5t":[{pt:"aproximar",en:"zoom in",es:"acercar"}],"d6":[{pt:"Reduz o mapa tendo como refer&ecircncia o centro atual.",en:"Reduce the map based on the current center.",es:"Reduce el mapa teniendo como referencia el centro actual"}],"d6t":[{pt:"afastar",en:"zoom out",es:"alejar",it:"afastar"}],"d7":[{pt:"Mostra informa&ccedil;&otilde;es sobre um ponto no mapa. Ap&oacute;s ativada, clique sobre o mapa.",en:"It displays information about a point on the map. After being activated, click on the map.",es:"Muestra informaci&oacute;n sobre un punto en el mapa. Despu&eacute;s de activarla haga clic sobre el mapa."}],"d7t":[{pt:"Info",en:"Info",es:"Info"}],"d7a":[{pt:"Mostra informa&ccedil;&otilde;es resumidas sobre um ponto clicado no mapa. N&atilde;o &eacute; necess&aacute;rio clicar nesse &iacute;cone para ativar, basta clicar no mapa a qualquer tempo.",en:"Display summary information about a point clicked on the map. It is not necessary to click this icon to activate it, just click on the map at any time.",es:"Muestra informaci&oacute;n resumida de un punto sobre el cual se ha hecho clic en el mapa. No es necesario hacer clic en ese icono para activarlo, simplemente haga clic en el mapa en cualquier momento."}],"d7at":[{pt:"etiqueta",en:"label",es:"etiqueta"}],"d8":[{pt:"Mostra a extens&atilde;o geogr&aacute;fica atual em coordenadas geogr&aacute;ficas",en:"Show the current extent in geographic coordinates",es:"Muestra la extensi&oacute;n geogr&aacute;fica actual en coordenadas geogr&aacute;ficas"}],"d8t":[{pt:"Extens&atilde;o atual",en:"Current extent",es:"Extensi&oacute; actual"}],"d9":[{pt:"Abre/fecha o mapa de refer&ecirc;ncia",en:"Open/close the overview map",es:"Abre/cierra el mapa de referencia"}],"d9t":[{pt:"Mapa de refer&ecirc;ncia",en:"Overview map",es:"Mapa de referencia"}],"d10":[{pt:"Digite o novo valor de escala e clique no bot&atilde;o aplicar para alterar a escala do mapa",en:"Enter a new scale value and click the apply button to change the map scale",es:"Ingrese el nuevo valor de escala y haga clic en el bot&oacute;n aplicar para modificar la escala del mapa"}],"d11":[{pt:"Busca dados na Wikipedia na abrang&ecirc;ncia atual do mapa. Fa&ccedil;a um zoom no mapa antes de abrir essa op&ccedil;&atilde;o. Regi&ocirc;es muito extensas podem tornar a busca muito demorada",en:"Search for Wikipedia data in the current extent of the map. Zoom on the map before opening this option. Large regions can slow down searching",es:"Busca datos en Wikipedia de la extensi&oacute;n actual del mapa. Haga zoom en el mapa antes de abrir esta opci&oacute;n. Regiones muy extensas pueden hacer que la b&uacute;squeda sea muy lenta"}],"d11t":[{pt:"buscar na Wikip&eacute;dia",en:"search on Wikipedia",es:"buscar en Wikipedia"}],"d12":[{pt:"Imprime o mapa",en:"Print map",es:"Imprime el mapa"}],"d13":[{pt:"Localiza o IP do usu&aacute;rio no mapa",en:"Locate the user's IP on the map",es:"Localiza la IP del usuario en el mapa"}],"d14":[{pt:"Gera arquivo para 3D",en:"Generate a 3D file",es:"Genera archivo para 3D"}],"d15":[{pt:"Abre o Google Maps, mostrando uma imagem de sat&eacute;lite da regi&atilde;o vista no mapa principal",en:"Open Google Maps displaying a satellite image of the region shown on the main map",es:"Abre Google Maps, mostrando una imagen de sat&eacute;lite de la regi&oacute;n presentada en el mapa principal"}],"d15t":[{pt:"Google Maps",en:"Google Maps",es:"Google Maps"}],"d16":[{pt:"Pesquisa documentos na base de dados Scielo (dados preliminares)",en:"Search documents in the Scielo database (preliminary data)",es:"B&uacute;squeda de documentos en la base de datos Scielo (datos preliminares)"}],"d16t":[{pt:"Scielo",en:"Scielo",es:"Scielo"}],"d17":[{pt:"Projeto Confluence. Pontos de intersec&ccedil;&atilde;o de coordenadas observadas em campo",en:"Confluence Project. Intersection points of coordinates observed in field",es:"Proyecto Confluence. Puntos de intersecci&oacute;n de coordenadas observadas en campo"}],"d17t":[{pt:"conflu&ecirc;ncias",en:"confluences",es:"confluencias"}],"d18":[{pt:"Abre lente de amplia&ccedil;&atilde;o",en:"Open magnifying glass",es:"Abrir lupa"}],"d18t":[{pt:"lente de aumento",en:"magnifying glass",es:"lupa"}],"d19":[{pt:"Coloca as guias em uma janela m&oacute;vel",en:"Put guides in a moving window",es:"Coloca las gu&iacute;as en una ventana m&oacute;vil"}],"d20":[{pt:"Redesenha o mapa com as configura&ccedil;&ocirc;es iniciais.",en:"Reload the map with the initial settings.",es:"Recarga el mapa con las configuraciones iniciales."}],"d20t":[{pt:"reinicia",en:"restart",es:"reinicia",it:"reinicia"}],"d21":[{pt:"Mede a dist&acirc;ncia entre dois ou mais pontos clicados no mapa (menor dist&acirc;ncia). O c&aacute;lculo de dist&acirc;ncia &eacute; aproximado e sua precis&atilde;o depende da escala do mapa.",en:"Measure the distance between two or more clicked points on the map (shorter distance). The calculation of this distance is rough and its accuracy depends on the map scale.",es:"Mide la distancia entre dos o m&aacute;s puntos marcados en el mapa (menor distancia). El c&aacute;lculo de la distancia es aproximado y su exactitud depende de la escala del mapa."}],"d21t":[{pt:"Dist&acirc;ncia",en:"Distance",es:"Distancia"}],"d21a":[{pt:"Mede a &aacute;rea de um pol&iacute;gono desenhado na tela. O c&aacute;lculo de &aacute;rea &eacute; aproximado e sua precis&atilde;o depende da escala do mapa.",en:"Measure the area of a polygon drawn on the screen. The calculation of this area is rough and its accuracy depends on the map scale.",es:"Mide el &aacute;rea de un pol&iacute;gono dibujado sobre la pantalla. El c&aacute;lculo del &aacute;rea es aproximado y su exactitud depende de la escala del mapa."}],"d21at":[{pt:"&Aacute;rea",en:"Area",es:"&Aacute;rea"}],"d22":[{pt:"Insere pontos no mapa em coordenadas geogr&aacute;ficas. Os pontos inclu&iacute;dos podem ser transformados em linhas ou pol&iacute;gonos. Os pontos s&atilde;o armazenados em um tema tempor&aacute;rio, podendo-se fazer o download do arquivo shapefile.",en:"Insert points on the map in geographical coordinates. The added points can be converted into lines or polygons. The points are stored in a temporary theme and can be downloaded as a shapefile.",es:"Inserte puntos en el mapa en coordenadas geogr&aacute;ficas. Los puntos incluidos pueden ser transformados en l&iacute;neas o pol&iacute;gonos. Los puntos se almacenan en un tema temporal y se pueden descargar como archivo shapefile."}],"d22t":[{pt:"inserir pontos",en:"insert points",es:"insertar puntos"}],"d23":[{pt:"Insere um gr&aacute;fico no ponto clicado conforme os atributos existentes no tema escolhido. O tema deve possuir itens com valores num&eacute;ricos na tabela de atributos.",en:"Insert a chart on the clicked point according to the attributes of the selected theme. The theme must have records with numerical values in the table of attributes.",es:"Inserte un gr&aacute;fico en el punto marcado seg&uacute;n los atributos existentes en el tema seleccionado. El tema debe tener campos con valores num&eacute;ricos en la tabla de atributos."}],"d23t":[{pt:"Clique gr&aacute;fico",en:"Click on the chart",es:"Haga clic en el gr&aacute;fico"}],"d24":[{pt:"Abre as ferramentas para sele&ccedil;&atilde;o de elementos de um tema. Os elementos selecionados podem ser utilizados em outras opera&ccedil;&ocirc;es, como buffer e sele&ccedil;&atilde;o por tema.",en:"Open the tools for selecting features of a theme. The selected features can be used for other operations like buffer or selection by theme.",es:"Abre las herramientas para seleccionar elementos de un tema. Los elementos seleccionados pueden ser utilizados en otras operaciones como &aacute;reas de influencia (buffer) y selecci&oacute;n por tema."}],"d24t":[{pt:"Selecionar",en:"Select",es:"Seleccionar"}],"d25":[{pt:"Insere texto no mapa clicando em um ponto. Utilize essa op&ccedil;&atilde;o para adicionar informa&ccedil;&ocirc;es ao mapa.",en:"Insert a text on the map by clicking on a point. Use this option to add information on the map.",es:"Inserte un texto en el mapa haciendo clic en un punto. Utilice esta opci&oacute;n para agregar informaci&oacute;n en el mapa."}],"d25t":[{pt:"Inserir texto",en:"Insert text",es:"Insertar texto"}],"d26":[{pt:"Escolha o visual para os bot&otilde;es e outras caracter&iacute;sticas visuais do mapa",en:"Choose a button appearance and other visual characteristics of the map",es:"Elija el aspecto para los botones y otras caracter&iacute;sticas visuales del mapa"}],"d27":[{pt:"Interface",en:"Interface",es:"interfaz"}],"d28":[{pt:"Aguarde...gerando os arquivos",en:"Please wait...generating files",es:"Espera...generando los archivos"}],"d29":[{pt:"Esta&ccedil;&otilde;es METAR",en:"METAR stations",es:"Estaciones METAR"}],"d30":[{pt:"Linha do tempo",en:"Timeline",es:"L&iacute;nea del tiempo"}],"d31":[{pt:"N&atilde;o existe nenhuma camada com etiquetas ativas",en:"There is no layer with active labels",es:"No existe ninguna capa con etiquetas activas"}],"d32":[{pt:"Aplicativos",en:"Applications",es:"Aplicaciones"}],"ge1":[{pt:"Navega&ccedil;&atilde;o com o mouse",en:"Navigation with the mouse",es:"Navegaci&oacute;n con el rat&oacute;n"}],"ge2":[{pt:"Barra de status",en:"Status bar",es:"Barra de estado"}],"ge3":[{pt:"Mapa de refer&ecirc;ncia",en:"Overview map",es:"Mapa de referencia"}],"ge4":[{pt:"Escala e legenda",en:"Scale and legend",es:"Escala y leyenda"}],"ge5":[{pt:"Atmosfera",en:"Atmosphere",es:"Atm&oacute;sfera"}],"ge6":[{pt:"Grade de coordenadas",en:"Coordinates grid",es:"Cuadr&iacute;culas de coordenadas"}],"ge7":[{pt:"Luz do sol",en:"Sun light",es:"Luz del sol"}],"ge8":[{pt:"Limites pol&iacute;ticos",en:"Political boundaries",es:"L&iacute;mites pol&iacute;ticos"}],"ge9":[{pt:"Constru&ccedil;&otilde;es em 3D",en:"3D buildings ",es:"Construciones en 3D"}],"ge10":[{pt:"Estradas",en:"Roads",es:"Carreteras"}],"ge11":[{pt:"Terreno",en:"Terrain",es:"Terreno"}],"x1":[{pt:"P&aacute;gina principal",en:"Main page",es:"P&aacute;gina principal"}],"x2":[{pt:"Lista de menus",en:"Menu lists",es:"Lista de men&uacute;s"}],"x3":[{pt:"Miniaturas",en:"Thumbnails",es:"Miniaturas"}],"x4":[{pt:"Pesquisa na INDE",en:"Search in INDE",es:"B&uacute;squeda en INDE"}],"x5":[{pt:"Editar subgrupos",en:"Edit subgroups",es:"Editar subgrupos"}],"x6":[{pt:"Editar temas",en:"Edit themes",es:"Editar temas"}],"x7":[{pt:"op&ccedil;&atilde;o vis&iacute;vel apenas para editores",en:"option visible to editors only",es:"opci&oacute;n visible solo para editores"}],"x8":[{pt:"Sistema de administra&ccedil;&atilde;o",en:"Management system",es:"Sistema de administraci&oacute;n"}],"x9":[{pt:"Editar &aacute;rvore",en:"Edit tree",es:"Editar &aacute;rbol"}],"x10":[{pt:"Editar menus do cat&aacute;logo",en:"Edit catalog menus",es:"Editar men&uacute;s del cat&aacute;logo"}],"x11":[{pt:"Abre em uma janela",en:"Open in a window",es:"Abre en una ventana"}],"x13":[{pt:"&Aacute;rvore de camadas n&atilde;o encontrada",en:"Tree layers not found",es:"Arboles de capas no se encuentra"}],"x14":[{pt:"sim",en:"yes",es:"s&iacute;"}],"x15":[{pt:"n&atilde;o",en:"no",es:"no"}],"x16":[{pt:"Valor n&atilde;o definido",en:"Value not defined",es:"Valor no definido"}],"x17":[{pt:"Essa op&ccedil;&atilde;o afeta apenas a impress&atilde;o do mapa",en:"This option only affects map printing",es:"Esta opci&oacute;n solo afecta a la impresi&oacute;n del mapa"}],"x18":[{pt:"Nome n&atilde;o definido",en:"Name not defined",es:"Nombre no definido"}],"x19":[{pt:"Coment&aacute;rios de",en:"Reviews of",es:"Comentarios de"}],"x20":[{pt:"Clique no mapa para desenhar o pol&iacute;gono",en:"Click on the map to draw a polygon",es:"Haga clic en el mapa para dibujar un pol&iacute;gono"}],"x21":[{pt:"Essa opera&ccedil;&atilde;o n&atilde;o funciona nessa interface",en:"This operation does not work on this interface",es:"Esta operaci&oacute;n no funciona en esta interfaz"}],"x22":[{pt:"Op&ccedil;&atilde;o n&atilde;o dispon&iacute;vel",en:"Option not available",es:"Opci&oacute;n no disponible"}],"x23":[{pt:"Dire&ccedil;&atilde;o",en:"Direction",es:"Direcci&oacute;n"}],"x25":[{pt:"M&eacute;todo para calcular dist&acirc;ncias",en:"Method to calculate distances",es:"M&eacute;todo para calcular distancias"}],"x26":[{pt:"Voce quer mesmo encerrar a sessao?",en:"Do you want to logout?",es:"&iquest;Quiere cerrar la sesi&oacute;n?"}],"x27":[{pt:"Usu&aacute;rio",en:"User",es:"Usuario"}],"x28":[{pt:"Senha",en:"Password",es:"Contrase&ntilde;a"}],"x29":[{pt:"Enviar",en:"Submit",es:"Enviar"}],"x30":[{pt:"Ativo",en:"Active",es:"Activo"}],"x31":[{pt:"Erro",en:"Error",es:"Error"}],"x32":[{pt:"Recuperar senha",en:"Recover password",es:"Recuperar contrase&ntilde;a"}],"x33":[{pt:"Escolha um tema da lista",en:"Select a theme from the list",es:"Seleccione un tema de la lista"}],"x34":[{pt:"Lugar",en:"Place",es:"Lugar"}],"x35":[{pt:"Escolha um tipo de busca nas propriedades",en:"Choose a search type in the properties",es:"Elija un tipo de b&uacute;squeda en las propiedades"}],"x36":[{pt:"Digite uma palavra para busca!",en:"Enter search terms!",es:"Introduzca una palabra clave para buscar!"}],"x37":[{pt:"Onde ser&aacute; feita a busca",en:"Where will the search be done?",es:"&iquest;D&oacute;nde se realizar&aacute; la b&uacute;squeda?"}],"x38":[{pt:"Servi&ccedil;os de busca externos",en:"External search services",es:"Servicios de b&uacute;squeda externos"}],"x39":[{pt:"Temas existentes no mapa",en:"Existing themes on the map",es:"Temas existentes en el mapa"}],"x40":[{pt:"Apenas os temas especialmente configurados pelo administrador do i3Geo podem receber opera&ccedil;&otilde;es de busca",en:"Only those themes specially configarated by the i3Geo administrator can receive search operations",es:"Solo los temas especialmente configurados por el administrador de i3Geo pueden ser objeto de operaciones de b&uacute;squeda"}],"x41":[{pt:"Nada encontrado nos temas ou nenhum tema permite busca",en:"Nothing found in the themes or no theme allows searching",es:"Nada encontrado en los temas o ning&uacute;n tema permite b&uacute;squedas"}],"x42":[{pt:"Nada encontrado em ",en:"Nothing found at ",es:"No se encontr&oacute; nada en "}],"x43":[{pt:"Erro ao acessar o servi&ccedil;o",en:"Error accessing the service",es:"Error al acceder al servicio"}],"x44":[{pt:"Nuvem Flash",en:"Cloud Flash",es:"Nube Flash"}],"x45":[{pt:"Diret&oacute;rios",en:"Directories",es:"Directorios"}],"x46":[{pt:"Conex&atilde;o WMS-T",en:"WMS-T connection",es:"Conexi&oacute;n WMS-T"}],"x47":[{pt:"Conex&atilde;o GeoRSS",en:"GeoRSS connection",es:"Conexi&oacute;n GeoRSS"}],"x48":[{pt:"Rota",en:"Route",es:"Ruta"}],"x49":[{pt:"Coordenadas aproximadas",en:"Approximate coordinates",es:"Coordenadas aproximadas"}],"x50":[{pt:"Feche para parar",en:"Close to stop",es:"Cierre para parar"}],"x51":[{pt:"Sele&ccedil;&atilde;o",en:"Selection",es:"Selecci&oacute;n"}],"x52":[{pt:"Alterar senha",en:"Change password",es:"Cambiar contrase&ntilde;a"}],"x53":[{pt:"Upload de WMC",en:"WMC upload",es:"Subir WMC"}],"x54":[{pt:"Perfil",en:"Profile",es:"Perfil"}],"x55":[{pt:"Salva o tema",en:"Save theme",es:"Guarda el tema"}],"x56":[{pt:"Topon&iacute;mia",en:"Toponymy",es:"Toponimia"}],"x57":[{pt:"Cartogramas estat&iacute;sticos",en:"Statistical cartograms",es:"Cartogramas estad&iacute;sticos"}],"x58":[{pt:"Continua",en:"Continue",es:"Seguir"}],"x59":[{pt:"Localiza",en:"Locate",es:"Localiza"}],"x60":[{pt:"Cartogramas",en:"Cartograms",es:"Cartogramas"}],"x61":[{pt:"Filtra limite",en:"Filter limit",es:"Filtra l&iacute;mite"}],"x62":[{pt:"Remover",en:"Remove",es:"Eliminar"}],"x63":[{pt:"Para salvar as configura&ccedil;&otilde;es de uma camada,<br> utilize a op&ccedil;&atilde;o existente na &aacute;rvore de camadas no n&oacute; correspondente ao tema (basta expandir o tema para visualizar as op&ccedil;&otilde;es)<br><br>",en:"To save a layer setting,<br> use the option available in the layer tree corresponding to the theme node (just expand the theme to view the options)<br><br>",es:"Para guardar la configuraci&oacute;n de una capa,<br> utilice la opci&oacute;n disponible en la &aacute;rbol de capas en el nodo correspondiente al tema (basta con expandir el tema para ver las opciones)<br><br>"}],"x64a":[{pt:"Congela a vis&atilde;o atual",en:"Freeze the current view",es:"Congela la vista actual"}],"x64":[{pt:"Item",en:"Item",es:"Item"}],"x65":[{pt:"Buscando &iacute;tens...",en:"Searching fields...",es:"Buscando campos..."}],"x66":[{pt:"Ocorreu um erro",en:"There was an error",es:"Ocurri&oacute; un error"}],"x67":[{pt:"Comunidade i3Geo",en:"i3Geo community",es:"Comunidad i3Geo"}],"x68":[{pt:"Vers&atilde;o",en:"Version",es:"Versi&oacute;"}],"zoomliShift":[{pt:"Pressione a tecla SHIFT junto com o bot&atilde;o esquerdo do mouse e arraste para definir a &aacute;rea que ser&aacute; aproximada",en:"Press the SHIFT key along with the left mouse button and drag to define the area you want to zoom",es:"Presione la tecla MAY&Uacute;S junto con el bot&oacute;n izquierdo del rat&oacute;n y arrastre para definir el &aacute;rea en la que desea hacer zoom"}],"zoomliCtrl":[{pt:"Pressione a tecla CTRL junto com o bot&atilde;o esquerdo do mouse e arraste para definir a &aacute;rea que ser&aacute; aproximada",en:"Press the CTRL key along with the left mouse button and drag to define the area you want to zoom",es:"Presione la tecla CTRL junto con el bot&oacute;n izquierdo del rat&oacute;n y arrastre para definir el &aacute;rea en la que desea hacer zoom"}],"x70":[{pt:"Utilize os dedos em um movimento de pin&ccedil;a para definir a &aacute;rea que ser&aacute; aproximada ou afastada",en:"Use the pinch-zoom gesture to define the area that will be zoomed in or out",es:"Utilice los gestos de pinzas de los dedos para definir el &aacute;rea que ser&aacute; acercada o alejada"}],"x71":[{pt:"Aplicativos estat&iacute;sticos cadastrados",en:"Registered statistical applications",es:"Aplicaciones estad&iacute;sticas registradas"}],"x72":[{pt:"Lista de mapas cadastrados",en:"List of registered maps",es:"Lista de los mapas registrados"}],"x73":[{pt:"Redirecionar para a vers&atilde;o adaptada para dispositivos m&oacute;veis?",en:"Redirect to mobile version?",es:"Redireccionar a una versi&oacute;n adaptada a dispositivos m&oacute;viles?"}],"x74":[{pt:"Fecha",en:"Close",es:"Cierra"}],"x75":[{pt:"Cancela",en:"Cancel",es:"Cancela"}],"x76":[{pt:"O tema j&aacute; existe no mapa.",en:"This theme already exists on theme map.",es:"El tema ya existe en el mapa."}],"x77":[{pt:"Nome do novo marcador",en:"New bookmark name",es:"Nombre de marcador nuevo"}],"x78":[{pt:"Copie os marcadores e cole em um editor para guard&aacute;-los",en:"Copy bookmarks and paste in an editor to save them",es:"Copiar los marcadores y pegarlos en un editor para guardarlos"}],"x79":[{pt:"Marcadores",en:"Bookmarks",es:"Marcadores"}],"x80":[{pt:"Exportar",en:"Export",es:"Exportar"}],"x81":[{pt:"Importar",en:"Import",es:"Importar"}],"x82":[{pt:"Marcar regi&atilde;o",en:"Mark region",es:"Marcar regi&oacute;n"}],"x83":[{pt:"Cole os marcadores para import&aacute;-los",en:"Paste the bookmarks to import",es:"Pegue los marcadores para importarlos"}],"x84":[{pt:"Exportar SHP",en:"Export SHP",es:"Exportar SHP"}],"x85":[{pt:"Visualizador de WMS da INDE-Br",en:"INDE-Br WMS viewer",es:"Visualizador de WMS de INDE-Br"}],"x86":[{pt:"Prefer&ecirc;ncias",en:"Preferences",es:"Preferencias"}],"x87":[{pt:"Limites e localidades",en:"Boundaries and localities",es:"L&iacute;mites y localidades"}],"x88":[{pt:"Prefer&ecirc;ncias",en:"Preferences",es:"Preferencias"}],"x89":[{pt:"Editar cadastro",en:"Edit register",es:"Editar registro"}],"x90":[{pt:"Mapas cadastrados",en:"Registered maps",es:"Mapas registrados"}],"x91":[{pt:"Feche para parar. Desligue o tema para ver o efeito",en:"Close to stop. Turn off the theme to see the effect",es:"Cierre para parar. Apague el tema para ver el efecto"}],"x92":[{pt:"Escolha uma camada",en:"Select a layer",es:"Seleccione una capa"}],"x93":[{pt:"Localiza&ccedil;&atilde;o do usu&aacute;rio",en:"User location",es:"Ubicaci&oacute;n del usuario"}],"x94":[{pt:"Remove as figuras da tela",en:"Remove pictures from the screen",es:"Quita las figuras de la pantalla"}],"x95":[{pt:"trecho",en:"stretch",es:"tramo"}],"x96":[{pt:"atual",en:"current",es:"actual"}],"x97":[{pt:"total",en:"total",es:"total"}],"x98":[{pt:"per&iacute;metro",en:"perimeter",es:"per&iacute;metro"}],"x99":[{pt:"C&aacute;lculo n&atilde;o pode ser realizado. Falta carregar a API de geometria do GM",en:"The calculation cannot be performed. It is necessary to upload the GM geometry API",es:"El c&aacute;lculo no puede ser realizado. Falta cargar la API de geometr&iacute;a de GM"}],"x101":[{pt:"C&oacute;pia",en:"Copy",es:"Copia"}],"x102":[{pt:"Mapa de calor",en:"Heatmap",es:"Mapa de calor"}],"x103":[{pt:"Links para abrir o mapa",en:"Links to open the map",es:"Links para abrir el mapa "}],"x104":[{pt:"Mapa de agrupamentos",en:"Cluster map",es:"Mapa de agrupaci&oacute;n"}],"x105":[{pt:"Navega&ccedil;&atilde;o",en:"Browsing",es:"Navegaci&oacute;n"}],"mais":[{pt:"Mais...",en:"More...",es:"M&aacute;s..."}],"uploadArquivoGeo":[{pt:"Upload de arquivo geo",en:"Geo file upload",es:"Carga del archivo geo"}],"conexaoServicoGeo":[{pt:"Conex&atilde;o com servi&ccedil;os geo",en:"Connection to geo services",es:"Conexi&oacute;n con servicios geo"}],"saikuAba":[{pt:"SAIKU - OLAP (abrir em nova aba)",en:"SAIKU - OLAP (open in a new tab)",es:"SAIKU - OLAP (abrir en una nueva pesta&ntilde;a)"}],"saikuMapa":[{pt:"SAIKU - OLAP (abrir em janela interna)",en:"SAIKU - OLAP (open in an inner window)",es:"SAIKU - OLAP (abrir en una ventana interna)"}],"refMapaAtual":[{pt:"Mapa atual",en:"Current map",es:"Mapa actual"}],"refMapaDinamico":[{pt:"Mapa fixo",en:"WMS",es:"WMS"}],"naoPermitido":[{pt:"Operacao nao autorizada para esse usuario",en:"This user does not have permission to perform this action",es:"Operaci&oacute;n no autorizada para este usuario"}],"melhorcaminho":[{pt:"Melhor caminho (raster)",en:"Best way (raster)",es:"Mejor camino (raster)"}],"tolerancia":[{pt:"Toler&acirc;ncia de busca (em pixels)",en:"Search tolerance (in pixels)",es:"Tolerancia de b&uacute;squeda (en pixeles)"}],"naoInstalado":[{pt:"Ferramenta n&atilde;o dispon&iacute;vel nessa instala&ccedil;&atilde;o do i3Geo",en:"Tool not available on this i3Geo installation",es:"Herramienta no disponible en esta instalaci&oacute;n de i3geo"}],"variaEscala":[{pt:"Depend&ecirc;ncia da escala",en:"Scale dependency",es:"Dependencia de escala"}],"mostraTodosLegenda":[{pt:"Mostra tudo",en:"Show all",es:"Muestra todo"}],"mostraSoLegenda":[{pt:"Mostra s&oacute; a legenda",en:"Show legend only",es:"Muestra solo la leyenda"}],"removerDoMapa":[{pt:"Remove a camada do mapa?",en:"Do you want to remove the layer from map?",es:"&iquest;Quiere remover la capa del mapa?"}],"dicaBuscaRapida":[{pt:"Abre uma janela flutuante com op&ccedil;&otilde;es de busca de dados em servi&ccedil;os como o Google Maps ou nas camadas exsitentes no mapa",en:"Open a floating window with data search options on services like Google Maps or on the map layers",es:"Abre una ventana flotante con opciones de b&uacute;squeda de datos en servicios como Google Maps o en las capas del mapa"}],"refresh":[{pt:"Refaz a &aacute;rvore, reconstruindo os &iacute;cones e lista de camadas",en:"Redo the tree by rebuilding the icons and the layer list",es:"Rehacer el &aacute;rbol reconstruyendo los iconos y la lista de capas"}],"lixeira":[{pt:"Clique para ver a lista de camadas em uma janela flutuante com op&ccedil;&atilde;o para remover um ou mais camadas do mapa. Arraste uma camada sobre esse &iacute;cone para remov&ecirc;-la individualmente",en:"Click to see the layer list in a floating window with the option to remove one or more layers from the map. Drag a layer to this icon to remove it individually",es:"Haga clic para ver la lista de capas en una ventana flotante con la opci&oacute;n de eliminar una o m&aacute;s capas del mapa. Arrastre una capa sobre este icono para removerla individualmente"}],"filtraCam":[{pt:"Permite filtrar a lista de camadas mostradas na &aacute;rvore conforme propriedades espec&iacute;ficas de cada uma",en:"It allows you to filter the layer lists shown in the tree according to their specific properties",es:"Permite filtrar la lista de capas mostradas en el &aacute;rbol seg&uacute;n las propiedades espec&iacute;ficas de cada una"}],"legenda":[{pt:"Abre a legenda do mapa em uma janela flutuante",en:"Open the map legend in a floating window",es:"Abre la leyenda del mapa en una ventana flotante "}],"ferramMapa":[{pt:"Mostra a lista de ferramentas que atuam sobre o mapa",en:"It shows a list of tools that perform tasks on the map",es:"Muestra la lista de herramientas que act&uacute;an sobre el mapa"}],"ferramCamadas":[{pt:"Mostra a lista de ferramentas que atuam sobre camadas",en:"It shows a list of tools that perform tasks on the layers",es:"Muestra una lista de herramientas que act&uacute;an sobre las capas"}],"ajudaEditorOlSalva":[{pt:"Para editar os atributos, utilize a ferramenta de identifica&ccedil;&atilde;o. &Eacute; necess&aacute;rio que exista uma coluna com identificadores &uacute;nicos na tabela a ser editada e que essa coluna esteja vis&iacute;vel na ferramenta de identifica&ccedil;&atilde;o.",en:"Use the identification tool to edit the attributes. There must be a column with unique identifiers in the table that will be edited. This column should be visible in the identification tool.",es:"Para editar los atributos utilice la herramienta de identificaci&oacute;n. Es necesario que exista una columna con identificadores &uacute;nicos en la tabla a ser editada y que esa columna sea visible en la herramienta de identificaci&oacute;n."}],"mascara":[{pt:"M&aacute;scara",en:"Mask",es:"M&aacute;scara"}],"result":[{pt:"Resultado",en:"Result",es:"Resultado"}],"tativo":[{pt:"Tema ativo",en:"Active theme ",es:"Tema activo"}],"geosel":[{pt:"geometria(s) selecionada(s) encontrada(s)",en:"selected geometry found",es:"geometr&iacute;a(s) seleccionada(s) encontrada(s)"}],"listar":[{pt:"Listar",en:"Make a list",es:"Hacer una lista"}],"sdados":[{pt:"Salvar dados",en:"Save data",es:"Guardar datos"}],"incorpo":[{pt:"Incorporar ao mapa",en:"Add to map",es:"Agregar al mapa"}],"selum":[{pt:"Selecione uma ou mais geometrias",en:"Select one or more geometries",es:"Seleccione una o m&aacute;s geometr&iacute;as"}],"atrib":[{pt:"Atributos",en:"Attributes",es:"Atributos"}],"reg":[{pt:"Registros",en:"Records",es:"Registros"}],"adic":[{pt:"Adicionando",en:"Adding",es:"Agregando"}],"stema":[{pt:"Salvar no tema",en:"Save the theme",es:"Salvar el tema"}],"seluma":[{pt:"Selecione apenas uma figura",en:"Select one picture only",es:"Seleccione solo una figura"}],"salva":[{pt:"Salva",en:"Save",es:"Salva"}],"canc":[{pt:"Cancela",en:"Cancel",es:"Cancela"}],"dlinha":[{pt:"digitalizar linha",en:"digitalize line",es:"digitalizar l&iacute;nea"}],"dpol":[{pt:"digitalizar poligono",en:"digitalize polygon",es:"digitalizar pol&iacute;gono"}],"dponto":[{pt:"digitalizar ponto",en:"digitalize point",es:"digitalizar punto"}],"dtexto":[{pt:"digitalizar texto",en:"digitalize text",es:"digitalizar texto"}],"cortaf":[{pt:"corta figura",en:"cut picture",es:"cortar figura"}],"modf":[{pt:"modifica figura",en:"modify picture",es:"modificar figura"}],"listag":[{pt:"lista geometrias",en:"list geometries",es:"crear lista de geometr&iacute;as"}],"frente":[{pt:"trazer para frente",en:"send forward",es:"traer al frente"}],"studo":[{pt:"selecionar tudo",en:"select all",es:"seleccionar todo"}],"ustudo":[{pt:"limpar sele&ccedil;&atilde;o",en:"clear selection",es:"limpiar la selecci&oacute;n"}],"excsel":[{pt:"Remove os elementos selecionados",en:"Remove selected features",es:"Remueve los elementos seleccionados"}],"opcoes":[{pt:"Op&ccedil;&otilde;es",en:"Options",es:"Opciones"}],"meneditor1":[{pt:"Para excluir registros do banco de dados utilize a ferramenta de identifica&ccedil;&atilde;o",en:"Use the identification tool to delete records from the database",es:"Para excluir registros de la base de datos utilice la herramienta de identificaci&oacute;n"}],"meneditor2":[{pt:"Nenhum elemento gr&aacute;fico encontrado. Utilize as op&ccedil;&otilde;es de cria&ccedil;&atilde;o de geometrias.",en:"No graphic element found. Use the options to create geometries.",es:"Ning&uacute;n elemento gr&aacute;fico encontrado. Utilice las opciones de creaci&oacute;n de geometr&iacute;a."}],"meneditor3":[{pt:"Voc&ecirc; precisa fazer login para usar a op&ccedil;&atilde;o de salvar no banco de dados",en:"You must be logged in to use the save to database option",es:"Usted debe iniciar sesi&oacute;n para utilizar la opci&oacute;n de guardar en la base de datos"}],"meneditor4":[{pt:"Valores iguais ao original",en:"Values equal to the original ones",es:"Valores iguales al original"}],"meneditor5":[{pt:"&Eacute; necess&aacute;rio ter um c&oacute;digo para poder excluir",en:"It is necessary to have a password to exclude",es:"Es necesario tener una clave para excluir"}],"meneditor6":[{pt:"Ap&oacute;s escolher a medida da vari&aacute;vel, clique no mapa para escolher o limite geogr&aacute;fico.",en:"After choosing the variable measure, click on the map to choose the geographical boundary.",es:"Despu&eacute;s de escoger la medida de la variable, haga clic en el mapa para seleccionar el l&iacute;mite geogr&aacute;fico."}],"opsel":[{pt:"Opera&ccedil;&otilde;es sobre as figuras selecionadas",en:"Operations on the selected pictures",es:"Operaciones sobre las figuras seleccionadas"}],"capturar":[{pt:"Capturar elemento de um tema",en:"Capture a theme feature",es:"Capturar elemento de un tema"}],"salvexc":[{pt:"Salvar/excluir dados",en:"Save/exclude data",es:"Guardar/excluir datos"}],"edatrib":[{pt:"Editar atributos",en:"Edit Attributes",es:"Editar atributos"}],"camedit":[{pt:"Camadas edit&aacute;veis",en:"Editable layers",es:"Capas editables"}],"nenhum":[{pt:"Nenhum",en:"None",es:"Ninguno"}],"tipo":[{pt:"Tipo",en:"Type",es:"Tipo"}],"abreMapa":[{pt:"Abrir o mapa",en:"Open the map",es:"Abrir el mapa "}],"areaAprox":[{pt:"&Aacute;rea aproximada",en:"Approximate area",es:"&Aacute;rea aproximada"}],"distAprox":[{pt:"Dist&acirc;ncia aproximada",en:"Approximate distance",es:"Distancia aproximada"}],"trocaInterface":[{pt:"Troca de interface",en:"Interface change",es:"Cambio de interfaz"}],"wkt2layer":[{pt:"Converte WKT em camada",en:"Convert WKT into layer",es:"Transformar WKT en capa"}],"salvaDadosEditor":[{pt:"Os dados s&oacute; podem ser salvos em temas que permitem edi&ccedil;&atilde;o e que possuem coluna com auto incremento",en:"Data can only be saved in themes that allow edition and have columns with auto-increment",es:"Los datos solo pueden ser guardados en los temas que permiten edici&oacute;n y que poseen columnas con auto incremento"}],"novaaba":[{pt:"Abre em nova aba",en:"Open in a new tab",es:"Abre en una pesta&ntilde;a nueva"}],"novonome":[{pt:"Novo nome",en:"New name",es:"Nombre nuevo"}],"medir":[{pt:"Medir/Calcular",en:"Measure/Calculate",es:"Medir/Calcular"}],"tabela":[{pt:"Tabela",en:"Table",es:"Tabla"}],"ligaDesliga":[{pt:"Liga/Desliga",en:"Turn on/Turn off",es:"Encender/Apagar"}],"naoPublicado":[{pt:"n&atilde;o publicado",en:"not published",es:"no publicado"}],"operacoesMapaTema":[{pt:"Opera&ccedil;&otilde;es sobre o mapa ou tema",en:"Operations on the map or theme",es:"Operaciones sobre el mapa o tema"}],"descMenuAjuda":[{pt:"Documenta&ccedil;&atilde;o, redes sociais, tutoriais...",en:"Documentation, social networks, tutorials...",es:"Documentaci&oacute;n, redes sociales, tutoriales..."}],"descMenuAnalise":[{pt:"Dist&acirc;ncia, &aacute;rea, buffer, gr&aacute;ficos...",en:"Distance, area, buffer, graphics...",es:"Distancia, &aacute;rea, buffer, gr&aacute;ficos..."}],"descArquivos":[{pt:"Salvar e carregar mapfile, lista de mapas...",en:"Save and upload mapfile, map list...",es:"Guardar y cargar mapfile, lista de mapas..."}],"descOperacoesMapaTema":[{pt:"Tabela, legenda, imprimir, upload, navega&ccedil;&atilde;o...",en:"Table, legend, print, upload, browsing...",es:"Tabla, leyenda, impresi&oacute;n, carga, navegaci&oacute;n..."}],"descOgcWms":[{pt:"Adiciona camada via servi&ccedil;o WMS",en:"Add layer via WMS service",es:"A&ntilde;ade capa a trav&eacute;s de servicio WMS"}],"descLimLoc":[{pt:"Regi&otilde;es cadastradas no sistema de metadados estat&iacute;sticos",en:"Regions registered in the statistical metadata system",es:"Regiones registradas en el sistema de metadatos estad&iacute;sticos"}],"descMeta":[{pt:"Camadas baseadas no sistema de metadados estat&iacute;sticos",en:"Layers based on the statistical metadata system",es:"Capas basadas en el sistema de metadatos estad&iacute;sticos"}],"descMapas":[{pt:"Mapas prontos para uso, com camadas j&aacute; selecionadas",en:"Ready-to-use maps with layers already selected",es:"Mapas listos para su uso con capas seleccionadas"}],"descEstrelas":[{pt:"Lista de camadas classificadas conforme o n&uacute;mero de acessos",en:"List of layers classified according to the number of accesses",es:"Lista de capas clasificadas seg&uacute;n el n&uacute;mero de accesos"}],"descSistemas":[{pt:"Sistemas com op&ccedil;&otilde;es espec&iacute;ficas e que permitem adicionar camadas ao mapa",en:"Systems with specific options that allow you to add layers to the map",es:"Sistemas con opciones espec&iacute;ficas que permiten agregar capas al mapa"}],"descDir":[{pt:"Diret&oacute;rio de arquivos shapefile",en:"Shapefile directory",es:"Directorio de archivos shapefile"}],"localiza":[{pt:"Posi&ccedil;&atilde;o",en:"Position",es:"Posici&oacute;n"}],"volta":[{pt:"volta",en:"back",es:"volver"}],"continua":[{pt:"continua",en:"continue",es:"continuar"}],"avanca":[{pt:"avan&ccedil;a",en:"go ahead",es:"avanzar"}],"tipvazio":[{pt:"N&atilde;o existe nenhuma camada no mapa que permita mostrar etiquetas",en:"There is no layer on the map that allows you to display labels",es:"No existe ninguna capa en el mapa que permita mostrar etiquetas"}],"erroTpl":[{pt:"Erro ao carregar um template",en:"Error loading template",es:"Error al cargar una plantilla"}],"remove":[{pt:"Remove",en:"Remove",es:"Eliminar"}],"iconeFerramentas":[{pt:"Caixa de ferramentas",en:"Tool box",es:"Caja de herramientas"}],"iconeMapa":[{pt:"Camadas inclu&iacute;das",en:"Layers included",es:"Capas incluidas"}],"iconeCatalogo":[{pt:"Incluir mais camadas",en:"Add more layers",es:"Incluir m&aacute;s capas"}],"iconeLegenda":[{pt:"Legenda do mapa",en:"Map Legend",es:"Leyenda del mapa"}],"iconeBalao":[{pt:"Info resumida",en:"Summary information",es:"Informaci&oacute;n resumida"}],"iconeIdentifica":[{pt:"Info completa",en:"Comprehensive information",es:"Informaci&oacute;n completa"}],"indeOk":[{pt:"Cat&aacute;logo da INDE j&aacute; est&aacute; dispon&iacute;vel",en:"INDE catalog now available",es:"Cat&aacute;logo del INDE ya est&aacute; disponible"}],"deveLigada":[{pt:"A camada deve estar vis&iacute;vel",en:"The layer must be visible",es:"La capa debe ser visible"}],"balaoVazio":[{pt:"N&atilde;o foram encontrados dados nas camadas dispon&iacute;veis. Experimente utilizar o &iacute;cone de mais informa&ccedil;&otilde;es",en:"No data was found on the available layers. Try to use the more infomation icon",es:"No se encontraron datos en las capas disponibles. Intente utilizar el icono de m&aacute;s informaci&oacute;n"}],"umaLigada":[{pt:"Pelo menos uma camada deve estar ligada no mapa",en:"At least one layer must be associated with the map",es:"Al menos una capa debe estar conectada en el mapa"}],"precisaApiGM":[{pt:"Essa op&ccedil;&atilde;o necessita de uma API do Google Maps. Consulte o administrador do sistema. O c&oacute;digo da API deve constar no arquivo de configura&ccedil;&atilde;o do i3Geo.",en:"This option requires a Google Maps API. Ask your system administrator for advice. The API code should be in the i3Geo configuration file.",es:"Esta opci&oacute;n requiere una API de Google Maps. Consulte con el administrador del sistema. El c&oacute;digo de la API debe incluirse en el archivo de configuraci&oacute;n de i3Geo."}],"graticule":[{pt:"Grade de coordenadas (ativa e desativa)",en:"Coordinate grid (turn on and turn off)",es:"Cuadr&iacute;cula de coordenadas (activa y desactiva)"}],"versaoAntiga":[{pt:"Essa op&ccedil;&atilde;o pode n&atilde;o funcionar corretamente devido a vers&atilde;o do sistema (Mapserver)",en:"This option may not work properly because of the system version (Mapserver)",es:"Esta opci&oacute;n puede que no funcione correctamente debido a la versi&oacute;n del sistema (Mapserver)"}],"camadasDeFundo":[{pt:"Camadas de fundo",en:"Basemap",es:"Mapa base"}],"funcaojstip":[{pt:"Fun&ccedil;&atilde;o JS (para as etiquetas)",en:"",es:""}],"rangeScaleMsg":[{pt:"Vis&iacute;vel apenas em determinadas escalas",en:"",es:""}],"layerDesenho":[{pt:"Camada de desenho",en:"",es:""}],"confirma":[{pt:"Confirma",en:"",es:""}],"selCorta":[{pt:"Selecione primeiro um elemento para ser cortado",en:"",es:""}],"desPol":[{pt:"Desenhe um pol&iacute;gono",en:"",es:""}],"union":[{pt:"Uni&atilde;o",en:"",es:""}],"intersect":[{pt:"Intersec&ccedil;&atilde;o",en:"",es:""}],"symdif":[{pt:"Diferen&ccedil;a sim&eacute;trica",en:"",es:""}],"dif":[{pt:"Diferen&ccedil;a",en:"",es:""}],"shiftdel":[{pt:"Para apagar um v&eacute;rtice, pressione shift e clique",en:"",es:""}],"extent":[{pt:"Extens&atilde;o",en:"",es:""}],"cola":[{pt:"Cola",en:"",es:""}],"fillring":[{pt:"Preenche as ilhas",en:"",es:""}],"naoremovewkt":[{pt:"Fecha sem remover o desenho",en:"",es:""}],"ativasnaptol":[{pt:"Ativa toler&acirc;ncia (snap)",en:"",es:""}],"freehand":[{pt:"M&atilde;o livre",en:"",es:""}],"masc":[{pt:"M&aacute;scara",en:"",es:""}],"fullscreen":[{pt:"Tela cheia",en:"",es:""}],"esquemadecores":[{pt:"Esquema de cores",en:"Color schema",es:"Esquema de colores"}],"copiaCamada":[{pt:"C&oacute;pia da camada",en:"Layer copy",es:"Copia de la capa"}],"contorno":[{pt:"Contorno",en:"Outline",es:"Contorno"}],"copytomemory":[{pt:"Copiado para a mem&oacute;ria",en:"",es:""}],"nenhumaSel":[{pt:"N&atilde;o existe nenhuma camada com sele&ccedil;&atilde;o",en:"",es:""}]};
239 239 //
240 240 //compactados/idioma_compacto.js
241 241 if(typeof(i3GEO)==='undefined'){var i3GEO={}}i3GEO.idioma={MOSTRASELETOR:false,IDSELETOR:"",SELETORES:["pt","en","es"],DICIONARIO:g_traducao,define:function(codigo){i3GEO.idioma.ATUAL=codigo;i3GEO.util.insereCookie("i3geolingua",codigo)},retornaAtual:function(){return(i3GEO.idioma.ATUAL)},defineDicionario:function(obj){i3GEO.idioma.DICIONARIO=obj},alteraDicionario:function(id,novo){i3GEO.idioma.DICIONARIO[id][0][i3GEO.idioma.ATUAL]=novo},traduzir:function(id,dic){if(!dic){dic=i3GEO.idioma.DICIONARIO}if(dic[id]){var r,t=dic[id][0];r=t[i3GEO.idioma.ATUAL];if(r==""){r=t["pt"]}return r}else{return}},adicionaDicionario:function(novodic){for(var k in novodic){if(novodic.hasOwnProperty(k)){i3GEO.idioma.DICIONARIO[k]=novodic[k]}}},mostraDicionario:function(){var w,k=0;w=window.open();for(k in i3GEO.idioma.DICIONARIO){if(i3GEO.idioma.DICIONARIO.hasOwnProperty(k)){w.document.write(k+" = "+i3GEO.idioma.traduzir(k)+"<br>")}}},trocaIdioma:function(codigo){i3GEO.util.insereCookie("i3geolingua",codigo);window.location.reload(true)},listaIdiomas:function(){for(var k in i3GEO.idioma.DICIONARIO){if(i3GEO.idioma.DICIONARIO.hasOwnProperty(k)){return(i3GEO.util.listaChaves(i3GEO.idioma.DICIONARIO[k][0]))}}},mostraSeletor:function(){if(!i3GEO.idioma.MOSTRASELETOR){return}var ins,n,w,i,pos,novoel,temp;ins="";n=i3GEO.idioma.SELETORES.length;if($i("i3geo")&&i3GEO.parametros.w<700){w="width:10px;"}else{w=""}for(i=0;i<n;i++){temp=i3GEO.idioma.SELETORES[i];ins+='<img style="'+w+'padding:0 0px;top:-7px;padding-right:0px;border: 1px solid white;" src="'+i3GEO.configura.locaplic+"/imagens/branco.gif"+'" onclick="i3GEO.idioma.trocaIdioma(\''+temp+'\')" ';if(temp==="en"){ins+='alt="Ingles" id="uk" />'}if(temp==="pt"){ins+='alt="Portugues" id="brasil" />'}if(temp==="es"){ins+='alt="Espanhol" id="espanhol" />'}}if(i3GEO.idioma.IDSELETOR!==""&&$i(i3GEO.idioma.IDSELETOR)){$i(i3GEO.idioma.IDSELETOR).innerHTML=ins}else{pos=i3GEO.util.pegaPosicaoObjeto($i(i3GEO.Interface.IDCORPO));if(!$i("i3geoseletoridiomas")){novoel=document.createElement("div");novoel.innerHTML=ins;novoel.id="i3geoseletoridiomas";document.body.appendChild(novoel)}else{novoel=$i("i3geoseletoridiomas")}novoel.style.position="absolute";novoel.style.top=pos[1]-17+"px";novoel.style.left=pos[0]+"px";novoel.style.zIndex=5000}},OBJETOIDIOMA:"",objetoIdioma:function(dic){if(!dic){dic=i3GEO.idioma.DICIONARIO}var novo=[],k=0;for(k in dic){if(dic.hasOwnProperty(k)){novo[k]=i3GEO.idioma.traduzir(k,dic)}}return novo}};var $trad=function(id,dic){if(!dic||dic=="g_traducao"){return i3GEO.idioma.OBJETOIDIOMA[id]}else{return(i3GEO.idioma.traduzir(id,dic))}};(function(){if(document.cookie.indexOf("i3geolingua")===-1){var exdate=new Date();exdate.setDate(exdate.getDate()+10);var l="pt";var lang=navigator.language||navigator.userLanguage;lang=lang.split("-")[0];if(lang=="en"||lang=="es"||lang=="pt"){l=lang}document.cookie="i3geolingua="+l+"; expires="+exdate.toUTCString()+";path=/"}var c=i3GEO.util.pegaCookie("i3geolingua");if(c){i3GEO.idioma.define(c)}else{i3GEO.idioma.define("pt")}if(typeof('g_traducao')!=="undefined"){i3GEO.idioma.defineDicionario(g_traducao)}i3GEO.idioma.OBJETOIDIOMA=i3GEO.idioma.objetoIdioma(i3GEO.idioma.DICIONARIO);delete g_traducao;delete i3GEO.idioma.DICIONARIO})();
... ... @@ -256,7 +256,7 @@ if(typeof(i3GEO)===&#39;undefined&#39;){var i3GEO={}}i3GEO.desenho={layergrafico:null,es
256 256 if(typeof(i3GEO)==='undefined'){var i3GEO={}}var i3GEOtouchesPosMapa="";var i3geoOL;i3GEO.Interface={RESTRICTATT:true,LAYEROPACITY:"",INFOOVERLAY:"",ATUAL:"openlayers",IDCORPO:"openlayers",IDMAPA:"",STATUS:{atualizando:[],trocando:false,pan:false},LAYERSUTFGRID:{},aposAdicNovaCamada:function(camada){i3GEO.tema.ativaFerramentas(camada)},redesenha:function(){i3GEO.Interface[i3GEO.Interface.ATUAL].redesenha()},grade:function(){i3GEO.Interface[i3GEO.Interface.ATUAL].grade()},aplicaOpacidade:function(opacidade,layer){i3GEO.Interface[i3GEO.Interface.ATUAL].aplicaOpacidade(opacidade,layer)},atualizaMapa:function(){switch(i3GEO.Interface.ATUAL){case"openlayers":i3GEO.Interface.openlayers.atualizaMapa();break;default:i3GEO.Interface[i3GEO.Interface.ATUAL].redesenha()}},atualizaTema:function(retorno,tema){i3GEO.Interface[i3GEO.Interface.ATUAL].atualizaTema(retorno,tema)},ligaDesliga:function(obj){i3GEO.Interface[i3GEO.Interface.ATUAL].ligaDesliga(obj);if(obj.checked&&obj.value!=""){i3GEO.mapa.ativaTema(obj.value)}},adicionaKml:function(){if(i3GEO.Interface.ATUAL==="googlemaps"){i3GEO.Interface.googlemaps.adicionaKml("foo")}if(i3GEO.Interface.ATUAL==="openlayers"){i3GEO.Interface.openlayers.adicionaKml("foo")}},cria:function(w,h){i3GEO.Interface[i3GEO.Interface.ATUAL].cria(w,h)},inicia:function(w,h){var temp=window.location.href.split("?")[0],gadgets=i3GEO.gadgets;if($i("i3GEOcompartilhar")){i3GEO.social.compartilhar("i3GEOcompartilhar",temp,temp,"semtotal")}if($i("mst")){$i("mst").style.display="block"}i3GEO.navega.autoRedesenho.ativa();i3GEO.util.defineValor("i3geo_escalanum","value",i3GEO.parametros.mapscale);if((i3GEO.parametros.geoip==="nao")&&($i("ondeestou"))){$i("ondeestou").style.display="none"}i3GEO.Interface[i3GEO.Interface.ATUAL].inicia();i3GEO.desenho.criaLayerGrafico();if($i(i3GEO.login.divnomelogin)&&i3GEO.util.pegaCookie("i3geousuarionome")){$i(i3GEO.login.divnomelogin).innerHTML=i3GEO.util.pegaCookie("i3geousuarionome")}},alteraParametroLayers:function(parametro,valor){i3GEO.Interface[i3GEO.Interface.ATUAL].alteraParametroLayers(parametro,valor)},ativaBotoes:function(){},zoom2ext:function(mapexten){if(!mapexten){mapexten=i3GEO.parametros.mapexten}i3GEO.Interface[i3GEO.Interface.ATUAL].zoom2ext(mapexten)},zoomli:function(){i3GEO.Interface[i3GEO.Interface.ATUAL].zoomli()},getZoom:function(){return i3GEO.Interface[i3GEO.Interface.ATUAL].getZoom()},openlayers:{parametrosMap:{target:"openlayers",layers:[],controls:[],interactions:[],loadTilesWhileAnimating:true,loadTilesWhileInteracting:true},parametrosView:{},TILES:true,LAYERSADICIONAIS:[],googleLike:false,BALAOPROP:{url:"",templateModal:"",removeAoAdicionar:true,classeCadeado:"i3GEOiconeAberto",autoPan:false,autoPanAnimation:{duration:250,easing:ol.easing.inAndOut},minWidth:'200px',modal:false,simple:true,openTipNoData:true,baloes:[]},GRADE:"",FULLSCREEN:"",fullscreen:function(){if(i3GEO.Interface.openlayers.FULLSCREEN==""){i3GEO.Interface.openlayers.FULLSCREEN=new ol.control.FullScreen();i3GEO.Interface.openlayers.FULLSCREEN.setMap(i3geoOL);return}if(i3GEO.Interface.openlayers.FULLSCREEN.getMap()==null){i3GEO.Interface.openlayers.FULLSCREEN.setMap(i3geoOL)}else{i3GEO.Interface.openlayers.FULLSCREEN.setMap(null)}},grade:function(){if(i3GEO.Interface.openlayers.GRADE==""){i3GEO.Interface.openlayers.GRADE=new ol.Graticule({strokeStyle:new ol.style.Stroke({color:'rgba(105,105,105,0.9)',width:2,lineDash:[0.5,4]}),showLabels:true,targetSize:200});i3GEO.Interface.openlayers.GRADE.setMap(i3geoOL);return}if(i3GEO.Interface.openlayers.GRADE.getMap()==null){i3GEO.Interface.openlayers.GRADE.setMap(i3geoOL)}else{i3GEO.Interface.openlayers.GRADE.setMap(null)}},zoomli:function(){if(DetectaMobile("DetectMobileLong")){i3GEO.janela.tempoMsg($trad("x70"))}else{i3GEO.janela.tempoMsg($trad("zoomliShift"))}},getZoom:function(){return i3geoOL.getZoom()},balao:function(texto,textCopy,x,y,botaoProp,nwkts){var hash={"x":x,"y":y,"xtxt":$.number(x,3,$trad("dec"),$trad("mil")),"ytxt":$.number(y,3,$trad("dec"),$trad("mil")),"resolution":i3GEO.configura.ferramentas.identifica.resolution,"tolerancia":$trad("tolerancia")};if(botaoProp===undefined){botaoProp=true}hash.texto=texto;var createinfotooltip=function(){var icone,painel,b,cabecalho,conteudo,removeBaloes,html,p=i3GEO.Interface.openlayers.BALAOPROP,removeBaloes=function(removeWkt){var nd,t,n=i3GEO.Interface.openlayers.BALAOPROP.baloes.length,i;for(i=0;i<n;i++){t=i3GEO.Interface.openlayers.BALAOPROP.baloes[i];if(t.get("origem")=="balao"){i3geoOL.removeOverlay(t)}}i3GEO.Interface.openlayers.BALAOPROP.baloes=[];if(removeWkt!==false&&i3GEO.desenho.layergrafico){i3GEO.desenho[i3GEO.Interface.ATUAL].removePins()}else if(i3GEO.desenho.layergrafico){var features,n,f,i;features=i3GEO.desenho.layergrafico.getSource().getFeatures();n=features.length;for(i=0;i<n;i++){if(features[i].get("origem")=="pin"){features[i].set("origem","identifica")}}}return false};if(p.removeAoAdicionar===true){removeBaloes(true)}if(i3GEO.eventos.cliquePerm.ativo===false){return}hash.minWidth=p.minWidth;painel=document.createElement("div");hash.lock_open="hidden";hash.lock="hidden";if(p.removeAoAdicionar===true){hash.lock_open=""}else{hash.lock=""}hash.botaoProp="hidden";if(botaoProp===true){hash.botaoProp=""}hash.wkt="hidden";if(nwkts&&nwkts>0){hash.wkt=""}painel=document.createElement("div");painel.innerHTML=Mustache.render(i3GEO.template.infotooltip,hash);$(painel).find("[data-info='close']").on("click",removeBaloes);$(painel).find("[data-info='wkt']").on("click",function(){removeBaloes(false)});$(painel).find("[data-info='info']").on("click",function(){i3GEO.mapa.dialogo.cliqueIdentificaDefault(x,y,"");return false});$(painel).find("[data-info='settings']").on("click",function(){i3GEO.janela.prompt($trad("tolerancia"),function(){i3GEO.configura.ferramentas.identifica.resolution=$i("i3GEOjanelaprompt").value},i3GEO.configura.ferramentas.identifica.resolution);return false});$(painel).find("[data-info='lockopen']").on("click",function(e){var p=i3GEO.Interface.openlayers.BALAOPROP;$(e.target).addClass("hidden");$(e.target.parentNode).find("[data-info='lock']").removeClass("hidden");p.removeAoAdicionar=false;return false});$(painel).find("[data-info='lock']").on("click",function(e){var p=i3GEO.Interface.openlayers.BALAOPROP;$(e.target).addClass("hidden");$(e.target.parentNode).find("[data-info='lockopen']").removeClass("hidden");p.removeAoAdicionar=true;return false});$(painel).find('.dropdown-toggle').dropdown();$(painel).find("[data-info='copy']").on("click",function(e){i3GEO.util.copyToClipboard(textCopy.join("\n"))});b=new ol.Overlay({element:painel,stopEvent:true,autoPan:false,autoPanAnimation:p.autoPanAnimation});b.setProperties({origem:"balao"});p.baloes.push(b);i3geoOL.addOverlay(b);b.setPosition(i3GEO.util.projGeo2OSM(new ol.geom.Point([x,y])).getCoordinates());if(p.autoPan==true){i3GEO.Interface.openlayers.pan2ponto(x,y,p.autoPanAnimation)}else{i3GEO.Interface.openlayers.pan2ponto(x,y,false)}};if(i3GEO.template.infotooltip==false){$.get(i3GEO.configura.locaplic+"/js/templates/infotooltip.html").done(function(r){i3GEO.template.infotooltip=r;createinfotooltip()})}else{createinfotooltip()}},redesenha:function(){var openlayers=i3GEO.Interface.openlayers;openlayers.criaLayers();openlayers.ordenaLayers();openlayers.recalcPar();i3GEO.janela.fechaAguarde()},fundoDefault:function(){var eng,oce,ims,wsm,tms,bra;eng=new ol.layer.Tile({title:"ESRI National Geographic",visible:true,isBaseLayer:true,name:"eng",source:new ol.source.TileArcGISRest({url:"http://server.arcgisonline.com/ArcGIS/rest/services/NatGeo_World_Map/MapServer",attributions:[new ol.Attribution({html:'Tiles &copy; <a href="http://server.arcgisonline.com/ArcGIS/rest/services/NatGeo_World_Map/MapServer">ArcGIS</a>'})]})});oce=new ol.layer.Tile({title:"ESRI Ocean Basemap",visible:false,isBaseLayer:true,name:"oce",source:new ol.source.TileArcGISRest({url:"http://server.arcgisonline.com/ArcGIS/rest/services/Ocean_Basemap/MapServer",attributions:[new ol.Attribution({html:'Tiles &copy; <a href="http://server.arcgisonline.com/ArcGIS/rest/services/Ocean_Basemap/MapServer">ArcGIS</a>'})]})});ims=new ol.layer.Tile({title:"ESRI Imagery World 2D",visible:false,isBaseLayer:true,name:"ims",source:new ol.source.TileArcGISRest({url:"http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_Imagery_World_2D/MapServer",attributions:[new ol.Attribution({html:'Tiles &copy; <a href="http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_Imagery_World_2D/MapServer">ArcGIS</a>'})]})});wsm=new ol.layer.Tile({title:"ESRI World Street Map",visible:false,isBaseLayer:true,name:"wsm",source:new ol.source.TileArcGISRest({url:"http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer",attributions:[new ol.Attribution({html:'Tiles &copy; <a href="http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer">ArcGIS</a>'})]})});bra=new ol.layer.Tile({title:"Base carto MMA",visible:false,isBaseLayer:true,name:"bra",source:new ol.source.TileWMS({url:"http://mapas.mma.gov.br/cgi-bin/mapserv?map=/opt/www/html/webservices/baseraster.map&",params:{'layers':"baseraster",'srs':"EPSG:4326",'format':"image/png"}})});tms=new ol.layer.Tile({title:"OSGEO",visible:false,isBaseLayer:true,name:"tms",source:new ol.source.TileWMS({url:"http://tilecache.osgeo.org/wms-c/Basic.py/",params:{'layers':"basic",'type':"png",'srs':"EPSG:4326",'format':"image/png",'VERSION':'1.1.1'},attributions:[new ol.Attribution({html:'&copy; <a href="http://www.tilecache.org/">2006-2010, TileCache Contributors</a>'})]})});i3GEO.Interface.openlayers.LAYERSADICIONAIS=[eng,oce,ims,wsm,tms,bra]},cria:function(w,h){var f,ins,i=$i(i3GEO.Interface.IDCORPO);if(i){if(!i.style.height){i.style.width="100vw";i.style.height="100vh"}f=$i("openlayers");if(!f){ins='<div id=openlayers style="display: block;position:relative;top: 0px; left: 0px;width:100%;height:100%;text-align:left;"></div>';i.innerHTML=ins;f=$i("openlayers")}}i3GEO.Interface.IDMAPA="openlayers";i3GEO.Interface.openlayers.parametrosMap.target="openlayers";if(i3GEO.Interface.openlayers.googleLike===false){i3GEO.Interface.openlayers.parametrosView.projection="EPSG:4326"}else{i3GEO.Interface.openlayers.parametrosView.projection="EPSG:3857"}i3GEO.Interface.openlayers.parametrosMap.view=new ol.View(i3GEO.Interface.openlayers.parametrosView);i3geoOL=new ol.Map(i3GEO.Interface.openlayers.parametrosMap);ol.layer.Layer.prototype.setVisibility=function(v){this.setVisible(v)};ol.layer.Layer.prototype.getVisibility=function(v){this.getVisible(v)};i3geoOL.panTo=function(x,y,anim){if(anim){this.getView().animate({center:[x,y],duration:anim.duration,easing:anim.easing})}else{this.getView().setCenter([x,y])}};i3geoOL.getLayersByName=function(nome){var res=[],layers=this.getLayers(),n=layers.getLength(),i;for(i=0;i<n;i++){if(layers.item(i).get("name")&&layers.item(i).get("name")===nome){res.push(layers.item(i))}}return res};i3geoOL.addLayers=function(lista){var n=lista.length,i,lan,l;for(i=0;i<n;i++){if(lista[i].get!=undefined){lan=lista[i].get("name");if(lan){l=this.getLayersByName(lan);if(l.length===0){this.addLayer(lista[i])}}}}};i3geoOL.getLayersBase=function(){return i3geoOL.getLayersBy("isBaseLayer",true)};i3geoOL.getLayerBase=function(layername){var baseLayers,n,i;baseLayers=i3geoOL.getLayersBase();n=baseLayers.length;for(i=0;i<n;i++){if(layername&&baseLayers[i].getProperties().name==layername){return baseLayers[i]}if(!layername&&baseLayers[i].getVisible()==true){return baseLayers[i]}}return false};i3geoOL.getLayersBy=function(chave,valor){var res=[],layers=this.getLayers(),n=layers.getLength(),i;for(i=0;i<n;i++){if(layers.item(i).get(chave)&&layers.item(i).get(chave)===valor){res.push(layers.item(i))}}return res};i3geoOL.getAllLayers=function(){var res=[],layers=this.getLayers(),n=layers.getLength(),i;for(i=0;i<n;i++){res.push(layers.item(i))}return res};i3geoOL.getLayersGr=function(){var layers=i3geoOL.getLayersBy("layerGr",true);if(i3GEO.desenho.layergrafico){layers.unshift(i3GEO.desenho.layergrafico)}return layers};i3geoOL.getLayersGrBy=function(chave,valor){var res=[],layers=this.getLayersGr(),n=layers.length,i;for(i=0;i<n;i++){if(layers[i].get(chave)&&layers[i].get(chave)===valor){res.push(layers[i])}}return res};i3geoOL.getControlsBy=function(chave,valor){var res=[],controles=this.getControls(),n=controles.getLength(),i;for(i=0;i<n;i++){if(controles.item(i).get(chave)&&controles.item(i).get(chave)===valor){res.push(controles.item(i))}}return res};i3geoOL.getControlByType=function(type){var a=false;i3geoOL.getControls().forEach(function(c){if(c instanceof ol.control[type]==true){a=c}});return a},i3geoOL.getCenter=function(){var c=this.getView().getCenter();return{"lon":c[0],"lat":c[1]}};i3geoOL.getZoom=function(){var c=this.getView().getZoom();return c};i3geoOL.getExtent=function(){var e=this.getView().calculateExtent(this.getSize());return{toBBOX:function(){return e.join(",")}}};i3geoOL.getScale=function(){var resolution,units,dpi,mpu,scale;resolution=this.getView().getResolution();units=this.getView().getProjection().getUnits();dpi=25.4/0.28;mpu=ol.proj.METERS_PER_UNIT[units];scale=resolution*mpu*39.37*dpi;return scale};i3geoOL.zoomToScale=function(escala){var resolution,units,dpi,mpu;units=this.getView().getProjection().getUnits();dpi=25.4/0.28;mpu=ol.proj.METERS_PER_UNIT[units];resolution=escala/(mpu*39.37*dpi);this.getView().setResolution(resolution)};i3geoOL.zoomToExtent=function(mapext){this.getView().fit(mapext,this.getSize())}},inicia:function(){if(i3GEO.Interface.openlayers.googleLike===true&&i3geoOL.getView().getProjection().getCode()!="EPSG:3857"){alert("Alerta! Projecao diferente da esperada. Veja i3geo/guia_de_migracao.txt")}var montaMapa=function(){var openlayers=i3GEO.Interface.openlayers;i3geoOL.updateSize();var temp=i3geoOL.getControlByType("ScaleLine");if(temp&&temp.element){temp.element.onclick=function(e){if(temp.getUnits()=="metric"){temp.setUnits("nautical")}else{temp.setUnits("metric")}temp.changed()}}openlayers.registraEventos();openlayers.zoom2ext(i3GEO.parametros.mapexten);$i("openlayers").getElementsByClassName("ol-overlaycontainer-stopevent")[0].style.position="unset";openlayers.criaLayers()};if(i3GEO.arvoreDeCamadas.ATIVATEMA===""){i3GEO.arvoreDeCamadas.ATIVATEMA="i3GEO.Interface.ligaDesliga(this);i3GEO.eventos.executaEventos(i3GEO.eventos.ATUALIZAARVORECAMADAS);"}montaMapa();i3GEO.coordenadas.ativaEventos();i3GEO.idioma.mostraSeletor();if(i3GEO.parametros.kmlurl!==""){i3GEO.Interface.openlayers.adicionaKml(true,i3GEO.parametros.kmlurl)}if(jQuery.isFunction(i3GEO.finalizaAPI)){i3GEO.finalizaAPI.call()}},aplicaOpacidade:function(opacidade,layer){if(opacidade>1){opacidade=opacidade/100}if(layer){i3geoOL.getLayersByName(layer)[0].setOpacity(opacidade*1);return}else{layer=""}var nlayers=i3GEO.arvoreDeCamadas.CAMADAS.length,l,i,camada;if(!layer){layer=""}for(i=nlayers-1;i>=0;i--){camada=i3GEO.arvoreDeCamadas.CAMADAS[i];l=i3geoOL.getLayersByName(camada.name)[0];if(l&&l.get("isBaseLayer")===false){if(layer==""||layer==camada.name){l.setOpacity(opacidade)}}}},adicionaListaKml:function(){var monta=function(retorno){var raiz,nraiz,i;raiz=retorno.data.canais;nraiz=raiz.length;for(i=0;i<nraiz;i++){i3GEO.Interface.openlayers.adicionaKml(false,raiz[i].link,raiz[i].title,false)}};i3GEO.php.listaRSSwsARRAY(monta,"KML")},adicionaKml:function(pan,url,titulo,ativo){var ngeoxml,i;if(!$i("arvoreCamadasKml")){i3GEO.Interface.openlayers.criaArvoreKML()}ngeoxml="geoXml_"+i3GEO.mapa.GEOXML.length;if(arguments.length===1){i=$i("i3geo_urlkml");if(i){url=i.value}else{url=""}titulo=ngeoxml;ativo=true}if(arguments.length===2){titulo=ngeoxml;ativo=true}if(url===""){return}i3GEO.mapa.GEOXML.push(ngeoxml);i3GEO.Interface.openlayers.adicionaNoArvoreKml(url,titulo,ativo,ngeoxml)},criaArvoreKML:function(){var arvore,a,root,titulo,d,node;arvore=$i("arvoreCamadasKml");if(!arvore){d=document.createElement("div");d.id="arvoreCamadasKml";d.style.top="40px";a=$i(i3GEO.arvoreDeCamadas.IDHTML);if(a){a.parentNode.appendChild(d)}else{return}}i3GEO.Interface.openlayers.ARVORE=new YAHOO.widget.TreeView("arvoreCamadasKml");root=i3GEO.Interface.openlayers.ARVORE.getRoot();titulo="<table><tr><td><b>Kml</b></td></tr></table>";d={html:titulo,idkml:"raiz"};node=new YAHOO.widget.HTMLNode(d,root,true,true);node.enableHighlight=false},adicionaNoArvoreKml:function(url,nomeOverlay,ativo,id){var node,d,nodekml;if(!$i("arvoreCamadasKml")){i3GEO.Interface.openlayers.criaArvoreKML()}if(arguments.length===2){ativo=true;id=nomeOverlay}if(arguments.length===2){id=nomeOverlay}node=i3GEO.Interface.openlayers.ARVORE.getNodeByProperty("idkml","raiz");html="<input onclick='i3GEO.Interface.openlayers.ativaDesativaCamadaKml(this,\""+url+"\")' class=inputsb style='cursor:pointer;' type='checkbox' value='"+id+"'";if(ativo===true){html+=" checked "}html+="/>";if(navm){estilo="cursor:default;vertical-align:35%;padding-top:0px;"}else{estilo="cursor:default;vertical-align:top;"}html+="&nbsp;<span style='"+estilo+"'>"+nomeOverlay+"</span>";d={html:html};nodekml=new YAHOO.widget.HTMLNode(d,node,true,true);nodekml.enableHighlight=false;nodekml.isleaf=true;i3GEO.Interface.openlayers.ARVORE.draw();i3GEO.Interface.openlayers.ARVORE.collapseAll();node.expand();if(ativo===true){i3GEO.Interface.openlayers.insereLayerKml(id,url)}},insereLayerKml:function(id,url){var l,temp;url=i3GEO.configura.locaplic+"/classesphp/proxy.php?url="+url;l=new ol.layer.Vector({title:url,name:id,isBaseLayer:false,source:new ol.source.Vector({url:url,format:new ol.format.KML({extractStyles:true}),tipoServico:"kml"})});i3geoOL.addLayer(l);temp=function(pixel){var feature,chaves,c,i=0,html="",prop,g;feature=i3geoOL.forEachFeatureAtPixel(pixel,function(feature,layer){return feature});if(feature){i3GEO.Interface.openlayers.BALAOPROP.removeAoAdicionar=false;i3GEO.Interface.openlayers.BALAOPROP.classeCadeado="i3GEOiconeFechado";chaves=feature.getKeys();prop=feature.getProperties();c=chaves.length;for(i=0;i<c;i++){if(chaves[i]!="geometry"&&chaves[i]!="styleUrl"){html+=chaves[i]+": "+prop[chaves[i]]}}g=feature.getGeometry().getCoordinates();i3GEO.Interface.openlayers.balao(html,"",g[0],g[1],"kml")}};i3geoOL.on('click',function(evt){evt.stopPropagation();evt.preventDefault();if(evt.dragging){return}temp(i3geoOL.getEventPixel(evt.originalEvent))})},ativaDesativaCamadaKml:function(obj,url){if(!obj.checked){i3geoOL.getLayersByName(obj.value)[0].setVisibility(false)}else{if(!(i3geoOL.getLayersByName(obj.value)[0])){i3GEO.Interface.openlayers.insereLayerKml(obj.value,url)}else{i3geoOL.getLayersByName(obj.value)[0].setVisibility(true)}}},criaLayers:function(){var matrixIds,resolutions,size,z,projectionExtent,source,configura=i3GEO.configura,url,nlayers=i3GEO.arvoreDeCamadas.CAMADAS.length,layer,camada,urllayer,opcoes,i,temp;temp=$i("i3GEOprogressoDiv");if(temp){i3GEO.Interface.STATUS.atualizando=[];temp.style.display="none"}if(i3GEO.Interface.openlayers.googleLike===true){url=configura.locaplic+"/classesphp/mapa_googlemaps.php?";projectionExtent=ol.proj.get('EPSG:3857').getExtent()}else{url=configura.locaplic+"/classesphp/mapa_openlayers.php?";projectionExtent=ol.proj.get('EPSG:4326').getExtent()}url+="TIPOIMAGEM="+configura.tipoimagem;size=ol.extent.getWidth(projectionExtent)/256;resolutions=new Array(40);matrixIds=new Array(40);for(z=0;z<40;++z){resolutions[z]=size/Math.pow(2,z);matrixIds[z]=z}$i("openlayers").style.backgroundColor="rgb("+i3GEO.parametros.cordefundo+")";i3geoOL.addLayers(i3GEO.Interface.openlayers.LAYERSADICIONAIS);opcoes={gutter:0,isBaseLayer:false,opacity:1,visible:false,singleTile:!(i3GEO.Interface.openlayers.TILES),tilePixelRatio:1,preload:0,projection:'EPSG:4326'};if(i3GEO.Interface.openlayers.googleLike===true){opcoes.projection='EPSG:3857'}for(i=nlayers-1;i>=0;i--){layer="";camada=i3GEO.arvoreDeCamadas.CAMADAS[i];opcoes.singleTile=!(i3GEO.Interface.openlayers.TILES);if(camada.transparency!=""){opcoes.opacity=camada.transparency/100}if(i3geoOL.getLayersByName(camada.name).length===0&&camada.name.toLowerCase()!="copyright"){if(camada.plugini3geo&&camada.plugini3geo!=""&&camada.plugini3geo.parametros!=undefined){i3GEO.pluginI3geo.inicia(camada);continue}else{try{temp=camada.transitioneffect==="nao"?opcoes.preload=0:opcoes.preload=Infinity;if(i3GEO.Interface.openlayers.googleLike===false&&camada.connectiontype===7&&camada.wmsurl!==""&&camada.usasld.toLowerCase()!="sim"){urllayer=camada.wmsurl;if(camada.wmstile==10){source=new ol.source.WMTS({url:urllayer,matrixSet:opcoes.projection,format:'image/png',projection:opcoes.projection,tileGrid:new ol.tilegrid.WMTS({origin:ol.extent.getTopLeft(projectionExtent),resolutions:resolutions,matrixIds:matrixIds}),wrapX:true});source.set("tipoServico","WMTS");opcoes.singleTile=false}else{source=new ol.source.TileWMS({url:urllayer,params:{'VERSION':'1.1.0'},projection:camada.wmssrs});source.set("tipoServico","ImageWMS");opcoes.singleTile=false}opcoes.title=camada.tema;opcoes.name=camada.name;opcoes.isBaseLayer=false;opcoes.visible=true}else{if(i3GEO.Interface.openlayers.TILES==false){opcoes.singleTile=true}else{if(camada.tiles==="nao"||camada.escondido.toLowerCase()==="sim"||camada.connectiontype===10||(camada.type===0&&camada.cache==="nao")||camada.type===8){opcoes.singleTile=true}else{temp=camada.type===3?opcoes.singleTile=false:opcoes.singleTile=!(i3GEO.Interface.openlayers.TILES)}if(camada.tiles==="nao"){opcoes.singleTile=true}if(camada.tiles==="sim"||camada.cache==="sim"||(camada.cortepixels&&camada.cortepixels>0)){opcoes.singleTile=false}}if(camada.cache){urllayer=url+"&cache="+camada.cache}else{urllayer=url+"&cache=nao"}urllayer+="&layer="+camada.name;if(camada.utfgrid=="sim"&&i3GEO.parametros.w>500){if(i3GEO.Interface.openlayers.googleLike===false){source=new ol.source.TileUTFGrid({projection:opcoes.projection,wrapX:true,tileJSON:{"tilejson":"2.1.0","scheme":"xyz","grids":[urllayer+"&FORMAT=utfgrid&tms=&TileCol={x}&TileRow={y}&TileMatrix={z}"]}})}else{source=new ol.source.TileUTFGrid({projection:opcoes.projection,wrapX:true,tileJSON:{"tilejson":"2.1.0","scheme":"xyz","grids":[urllayer+"&FORMAT=utfgrid&tms=&X={x}&Y={y}&Z={z}"]}})}source.set("tipoServico","WMTS");opcoes.singleTile=false;opcoes.title="";opcoes.name=camada.name+"_utfgrid";opcoes.source=source;opcoes.isBaseLayer=false;opcoes.visible=true;source.set("name",camada.name+"_utfgrid");var layerutfgrid=new ol.layer.Tile(opcoes);camada.status==0?layerutfgrid.setVisible(false):layerutfgrid.setVisible(true);i3GEO.Interface.LAYERSUTFGRID[camada.name+"_utfgrid"]=layerutfgrid;if(i3GEO.Interface.INFOOVERLAY==""){$("#"+i3GEO.Interface.IDMAPA).after(i3GEO.template.utfGridInfo);i3GEO.Interface.INFOOVERLAY=new ol.Overlay({element:$i("i3GEOoverlayInfo"),offset:[3,-3],stopEvent:true,positioning:'bottom-left'});i3GEO.Interface.INFOOVERLAY.setProperties({origem:"infoOverlay"});i3geoOL.addOverlay(i3GEO.Interface.INFOOVERLAY)}i3geoOL.addLayer(layerutfgrid)}if(opcoes.singleTile===true){source=new ol.source.ImageWMS({url:urllayer,params:{'LAYERS':camada.name,'VERSION':'1.1.0'},projection:opcoes.projection,ratio:1});source.set("tipoServico","ImageWMS")}else{if(i3GEO.Interface.openlayers.googleLike===false){source=new ol.source.WMTS({url:urllayer+"&WIDTH=256&HEIGHT=256",matrixSet:opcoes.projection,format:'image/png',projection:opcoes.projection,tileGrid:new ol.tilegrid.WMTS({origin:ol.extent.getTopLeft(projectionExtent),resolutions:resolutions,matrixIds:matrixIds,tileSize:[256,256]}),wrapX:true});source.set("tipoServico","WMTS")}else{source=new ol.source.XYZ({url:urllayer+"&X={x}&Y={y}&Z={z}",matrixSet:opcoes.projection,format:'image/png',projection:opcoes.projection,wrapX:true});source.set("tipoServico","WMTS")}}opcoes.title=camada.tema;opcoes.name=camada.name}if(camada.link_tema!=""&&i3GEO.Interface.RESTRICTATT==false){source.setAttributions([new ol.Attribution({html:'<li><a href="'+camada.link_tema+'">'+camada.tema+'</a></li>'})])}source.set("name",camada.name);source.set("parametrosUrl",{par:""});opcoes.source=source;opcoes.isBaseLayer=false;opcoes.visible=true;if($i("i3GEOprogressoCamadas")){source.on('tileloadstart',function(event){i3GEO.Interface.openlayers.loadStartLayer(source.get("name"))});source.on('tileloadend',function(event){i3GEO.Interface.openlayers.loadStopLayer(source.get("name"))});source.on('tileloaderror',function(event){i3GEO.Interface.openlayers.loadStopLayer(source.get("name"))})}if(opcoes.singleTile===true){layer=new ol.layer.Image(opcoes)}else{layer=new ol.layer.Tile(opcoes)}}catch(e){}}if(layer&&layer!=""){if(camada.escondido.toLowerCase()==="sim"){layer.preload=0}if(camada.type>1&&i3GEO.Interface.LAYEROPACITY!=""){layer.setOpacity(i3GEO.Interface.LAYEROPACITY)}i3geoOL.addLayer(layer);i3GEO.Interface.aposAdicNovaCamada(camada)}}else{layer=i3geoOL.getLayersByName(camada.name)[0]}if(layer&&layer!=""){temp=camada.status==0?layer.setVisible(false):layer.setVisible(true)}}if(i3GEO.parametros.copyright!=""&&!$i("i3GEOcopyright")){temp=document.createElement("div");temp.id="i3GEOcopyright";temp.innerHTML="<p class=paragrafo >"+i3GEO.parametros.copyright+"</p>";if($i(i3GEO.Interface.IDMAPA)){$i(i3GEO.Interface.IDMAPA).appendChild(temp)}}else if(i3GEO.parametros.copyright!=""&&$i("i3GEOcopyright")){$i("i3GEOcopyright").innerHTML=i3GEO.parametros.copyright}},sobeLayersGraficos:function(){},inverteModoTile:function(){if(i3GEO.Interface.openlayers.TILES===true){i3GEO.Interface.openlayers.TILES=false}else{i3GEO.Interface.openlayers.TILES=true}i3GEO.Interface.openlayers.removeTodosOsLayers();i3GEO.Interface.openlayers.criaLayers()},removeTodosOsLayers:function(){var nlayers=i3GEO.arvoreDeCamadas.CAMADAS.length,layer,i,camada;for(i=nlayers-1;i>=0;i--){camada=i3GEO.arvoreDeCamadas.CAMADAS[i];layer=i3geoOL.getLayersByName(camada.name)[0];if(layer){i3geoOL.removeLayer(layer,false);i3GEO.pluginI3geo.removeCamada(camada.name)}}},alteraParametroLayers:function(parametro,valor){var layer,layers=i3GEO.arvoreDeCamadas.CAMADAS,nlayers=layers.length,i,param,source,k,url="",n,j;for(i=0;i<nlayers;i+=1){layer=i3geoOL.getLayersByName(layers[i].name)[0];if(layer&&layer!=undefined&&layer.get("isBaseLayer")===false){url="";source=layer.getSource();param=source.getProperties().parametrosUrl;param[parametro]=valor;chaves=i3GEO.util.listaTodasChaves(param);n=chaves.length;for(j=0;j<n;j++){k=chaves[j];if(param[k]!=""&&k!="par"){url+="&"+k+"="+param[k]}}param.par=url;source.set("parametrosUrl",param)}}},loadStartLayer:function(name){var p=$i("i3GEOprogressoCamadas");var n100=i3geoOL.getLayers().getLength()-i3GEO.Interface.openlayers.LAYERSADICIONAIS.length;if(p){i3GEO.Interface.STATUS.atualizando.push(" ");var x=i3GEO.Interface.STATUS.atualizando.length;p.style.width=((x*100)/n100)+"%"}},loadStopLayer:function(name){var p=$i("i3GEOprogressoCamadas");if(p){i3GEO.Interface.STATUS.atualizando.pop();if(i3GEO.Interface.STATUS.atualizando.length==0){p.style.width="0%"}}},ordenaLayers:function(){var ordem=i3GEO.arvoreDeCamadas.CAMADAS,nordem=ordem.length,layer,layers,i;layers=i3geoOL.getLayers();for(i=nordem-1;i>=0;i--){layer=i3geoOL.getLayersByName(ordem[i].name);layer=layer[0];if(layer){layers.remove(layer);layers.push(layer)}}},ligaDesliga:function(obj){var layers=i3geoOL.getLayersByName(obj.value),desligar="",ligar="",b;if(layers.length>0){layers[0].setVisibility(obj.checked);if(obj.checked===true){i3GEO.pluginI3geo.ligaCamada(obj.value)}else{i3GEO.pluginI3geo.desligaCamada(obj.value)}}if(obj.checked){ligar=obj.value;i3GEO.arvoreDeCamadas.alteraPropCamadas("status","2",obj.value);if(i3GEO.Interface.LAYERSUTFGRID[obj.value+"_utfgrid"]){i3GEO.arvoreDeCamadas.alteraPropCamadas("status","2",obj.value+"_utfgrid");i3GEO.Interface.LAYERSUTFGRID[obj.value+"_utfgrid"].setVisibility(true)}}else{desligar=obj.value;i3GEO.arvoreDeCamadas.alteraPropCamadas("status","0",obj.value);if(i3GEO.Interface.LAYERSUTFGRID[obj.value+"_utfgrid"]){i3GEO.arvoreDeCamadas.alteraPropCamadas("status","0",obj.value+"_utfgrid");i3GEO.Interface.LAYERSUTFGRID[obj.value+"_utfgrid"].setVisibility(false)}}i3GEO.php.ligatemas(i3GEO.legenda.atualiza,desligar,ligar)},ativaFundo:function(nome,obj){var baseLayers,n,i,t,ck=true;baseLayers=i3geoOL.getLayersBase();n=baseLayers.length;if(obj){ck=obj.checked}if(obj&&obj.type!="checkbox"){for(i=0;i<n;i++){baseLayers[i].setVisible(false)}}for(i=0;i<n;i++){if(baseLayers[i].get("name")===nome){baseLayers[i].setVisible(ck)}}if(i3GEO.maparef.APIOBJ!=""){i3GEO.maparef.inicia()}},atualizaMapa:function(){var camadas=i3GEO.arvoreDeCamadas.CAMADAS,n=camadas.length,i;for(i=0;i<n;i++){i3GEO.Interface.openlayers.atualizaTema("",camadas[i].name)}},atualizaTema:function(retorno,tema){var layer=i3geoOL.getLayersByName(tema),objtemas,funcaoLoad,servico,source;if(layer.length==0){return""}else{layer=layer[0]}if(layer&&layer!=undefined){source=layer.getSource();servico=source.getProperties().tipoServico;if(servico==="WMTS"){funcaoLoad=source.getTileUrlFunction();if(funcaoLoad){layer.getSource().setTileUrlFunction(function(){var url=funcaoLoad.apply(this,arguments);url=url.replace("&cache=sim","&cache=nao");return url.split('&r=')[0]+'&r='+Math.random()+source.getProperties().parametrosUrl.par})}}if(servico==="ImageWMS"){funcaoLoad=source.getImageLoadFunction();if(funcaoLoad){layer.getSource().setImageLoadFunction(function(image,src){src=src.replace("&cache=sim","&cache=nao");src=src.split('&r=')[0]+'&r='+Math.random();image.getImage().src=src+source.getProperties().parametrosUrl.par})}}source.refresh()}if(retorno===""){return}objtemas=i3GEO.arvoreDeCamadas.converteChaveValor2normal(retorno.data.temas);i3GEO.Interface.openlayers.recalcPar();try{i3GEO.arvoreDeCamadas.atualiza(objtemas)}catch(e){i3GEO.arvoreDeCamadas.atualiza()}i3GEO.janela.fechaAguarde()},registraEventos:function(){i3GEOtouchesPosMapa="";var modoAtual="";var contadorPan=0;i3GEO.eventos.ativa(i3geoOL.getTargetElement());i3geoOL.on("pointerdrag",function(e){i3GEO.Interface.STATUS.pan=true;modoAtual="move"});i3geoOL.on("click",function(e){e.stopPropagation();e.preventDefault();var lonlat=false,d,pos="";lonlat=e.coordinate;if(i3GEO.Interface.openlayers.googleLike===true){lonlat=ol.proj.transform(lonlat,'EPSG:3857','EPSG:4326')}d=i3GEO.calculo.dd2dms(lonlat[0],lonlat[1]);objposicaocursor.ddx=lonlat[0];objposicaocursor.ddy=lonlat[1];objposicaocursor.dmsx=d[0];objposicaocursor.dmsy=d[1];objposicaocursor.imgx=e.pixel[0];objposicaocursor.imgy=e.pixel[1];objposicaocursor.telax=objposicaocursor.imgx+pos[0];objposicaocursor.telay=objposicaocursor.imgy+pos[1]});i3geoOL.on("dbclick",function(e){e.stopPropagation();e.preventDefault()});i3geoOL.on("moveend",function(e){if(e.changedTouches){return}var xy;contadorPan++;var timer=setTimeout(function(){contadorPan--;if(contadorPan==0){modoAtual="";i3GEO.navega.registraExt(i3GEO.parametros.mapexten);i3GEO.Interface.openlayers.recalcPar();i3GEO.Interface.STATUS.pan=false;i3GEO.eventos.navegaMapa();i3GEO.util.escondePin();i3GEO.eventos.cliquePerm.status=false;i3GEO.Interface.STATUS.pan=false}},350)});i3geoOL.on("pointermove",function(e){if(modoAtual==="move"||e.dragging){return}var lonlat=false,d,pos="";lonlat=e.coordinate;if(i3GEO.Interface.openlayers.googleLike===true){lonlat=ol.proj.transform(lonlat,'EPSG:3857','EPSG:4326')}d=i3GEO.calculo.dd2dms(lonlat[0],lonlat[1]);objposicaocursor.ddx=lonlat[0];objposicaocursor.ddy=lonlat[1];objposicaocursor.dmsx=d[0];objposicaocursor.dmsy=d[1];objposicaocursor.imgx=e.pixel[0];objposicaocursor.imgy=e.pixel[1];objposicaocursor.telax=objposicaocursor.imgx+pos[0];objposicaocursor.telay=objposicaocursor.imgy+pos[1];var viewResolution=(i3geoOL.getView().getResolution());if(i3GEO.Interface.INFOOVERLAY!=""){i3GEO.Interface.INFOOVERLAY.getElement().innerHTML="";i3GEO.Interface.INFOOVERLAY.getElement().style.visibility="hidden"}for(var k in i3GEO.Interface.LAYERSUTFGRID){if(!i3GEO.arvoreDeCamadas.CAMADASINDEXADAS[k.replace("_utfgrid","")]){i3GEO.Interface.LAYERSUTFGRID[k]=null}else{if(i3GEO.Interface.LAYERSUTFGRID[k]&&i3GEO.Interface.LAYERSUTFGRID[k].getVisible()){i3GEO.Interface.LAYERSUTFGRID[k].getSource().forDataAtCoordinateAndResolution(e.coordinate,viewResolution,function(data){var ei=i3GEO.Interface.INFOOVERLAY.getElement();if(data){ei.style.visibility="visible";ei.innerHTML+="<span style='display:block;'>"+data.text+"<span>";i3GEO.Interface.INFOOVERLAY.setPosition(e.coordinate);i3GEO.eventos.mouseOverData()}else if(ei.innerHTML==""){ei.style.visibility="hidden";i3GEO.Interface.INFOOVERLAY.setPosition(undefined);i3GEO.eventos.mouseOutData()}})}}}});i3geoOL.on("touchend",function(e){e.preventDefault();calcCoord(e);if(i3GEO.eventos.cliquePerm.status===true&&i3GEO.eventos.CONTATOUCH<10){i3GEO.eventos.mouseupMapa(e)}i3GEO.eventos.cliquePerm.status=true;i3GEO.eventos.CONTATOUCH=0;i3GEO.Interface.STATUS.pan=false})},ativaBotoes:function(){},recalcPar:function(){i3GEOtouchesPosMapa="";var bounds=i3geoOL.getExtent().toBBOX().split(","),escalaAtual=i3geoOL.getScale();i3GEO.parametros.mapexten=bounds[0]+" "+bounds[1]+" "+bounds[2]+" "+bounds[3];if(i3GEO.parametros.mapscale!==escalaAtual){i3GEO.arvoreDeCamadas.atualizaFarol(escalaAtual)}i3GEO.parametros.pixelsize=i3geoOL.getView().getResolution();i3GEO.navega.atualizaEscalaNumerica(parseInt(escalaAtual,10));i3GEO.parametros.mapscale=escalaAtual},zoom2ext:function(ext){var m,v;if(!ext){ext=i3GEO.parametros.extentTotal}ext=i3GEO.util.extGeo2OSM(ext);m=ext.split(" ");m=[m[0]*1,m[1]*1,m[2]*1,m[3]*1];v=i3geoOL.getView();v.fit(m,i3geoOL.getSize());i3GEO.eventos.cliquePerm.status=true},pan2ponto:function(x,y,anim){if(i3GEO.Interface.openlayers.googleLike===true){var metrica;if(x<180&&x>-180){metrica=ol.proj.transform([x,y],'EPSG:4326','EPSG:3857');x=metrica[0];y=metrica[1]}}i3geoOL.panTo(x,y,anim)}},googlemaps:{ESTILOS:{'Red':[{featureType:'all',stylers:[{hue:'#ff0000'}]}],'Countries':[{featureType:'all',stylers:[{visibility:'off'}]},{featureType:'water',stylers:[{visibility:'on'},{lightness:-100}]}],'Night':[{featureType:'all',stylers:[{invert_lightness:'true'}]}],'Blue':[{featureType:'all',elementType:'geometry',stylers:[{hue:'#0000b0'},{invert_lightness:'true'},{saturation:-30}]}],'Greyscale':[{featureType:'all',stylers:[{saturation:-100},{gamma:0.50}]}],'No roads':[{featureType:'road',stylers:[{visibility:'off'}]}],'Mixed':[{featureType:'landscape',stylers:[{hue:'#00dd00'}]},{featureType:'road',stylers:[{hue:'#dd0000'}]},{featureType:'water',stylers:[{hue:'#000040'}]},{featureType:'poi.park',stylers:[{visibility:'off'}]},{featureType:'road.arterial',stylers:[{hue:'#ffff00'}]},{featureType:'road.local',stylers:[{visibility:'off'}]}],'Chilled':[{featureType:'road',elementType:'geometry',stylers:[{'visibility':'simplified'}]},{featureType:'road.arterial',stylers:[{hue:149},{saturation:-78},{lightness:0}]},{featureType:'road.highway',stylers:[{hue:-31},{saturation:-40},{lightness:2.8}]},{featureType:'poi',elementType:'label',stylers:[{'visibility':'off'}]},{featureType:'landscape',stylers:[{hue:163},{saturation:-26},{lightness:-1.1}]},{featureType:'transit',stylers:[{'visibility':'off'}]},{featureType:'water',stylers:[{hue:3},{saturation:-24.24},{lightness:-38.57}]}]},ESTILOPADRAO:"",MAPOPTIONS:{scaleControl:true,mapTypeControlOptions:{position:1}},OPACIDADE:0.8,TIPOMAPA:"terrain",ZOOMSCALE:[591657550,295828775,147914387,73957193,36978596,18489298,9244649,4622324,2311162,1155581,577790,288895,144447,72223,36111,18055,9027,4513,2256,1128],PARAMETROSLAYER:"&TIPOIMAGEM="+i3GEO.configura.tipoimagem,posfixo:0,BALAOPROP:{url:"",templateModal:"",removeAoAdicionar:true,modal:false,simple:true,classeCadeado:"i3GEOiconeAberto",baloes:[]},grade:function(){return false},barraProgressoStart:function(){var p=$i("i3GEOprogressoCamadas");if(p){p.style.width="100%"}},barraProgressoStop:function(){var p=$i("i3GEOprogressoCamadas"),n=0,d=0;if(p){n=i3GeoMap.overlayMapTypes.length;d=parseInt(p.style.width,10);if(d<10||n==0){p.style.width="0%"}else{p.style.width=d-(100/n)+"%";if(d-(100/n)<0){p.style.width="0%"}}}},zoomli:function(){if(DetectaMobile("DetectMobileLong")){i3GEO.janela.tempoMsg($trad("x70"))}else{i3GEO.janela.tempoMsg($trad("zoomliCtrl"))}},getZoom:function(){return i3GeoMap.getZoom()},removeBaloes:function(){var p=i3GEO.Interface.googlemaps.BALAOPROP.baloes,n=p.length,i;for(i=0;i<n;i++){p[i].close()}p=[]},balao:function(texto,completo,x,y){var temp,elem,b,c,p;if(x===null||y===null){return}p=i3GEO.Interface.googlemaps.BALAOPROP;if(p.removeAoAdicionar===true){i3GEO.Interface.googlemaps.removeBaloes()}temp=document.createElement("div");temp.className="i3GEOCabecalhoInfoWindow";temp.style.top="0px";elem=document.createElement("img");elem.src=i3GEO.configura.locaplic+"/imagens/branco.gif";elem.className=p.classeCadeado;elem.onclick=function(){if(p.classeCadeado==="i3GEOiconeAberto"){p.classeCadeado="i3GEOiconeFechado"}else{p.classeCadeado="i3GEOiconeAberto"}this.className=p.classeCadeado;p.removeAoAdicionar=!p.removeAoAdicionar};temp.appendChild(elem);elem=document.createElement("img");elem.src=i3GEO.configura.locaplic+"/imagens/branco.gif";elem.className="i3GEOiconeFerramentas";elem.style.marginLeft="5px";elem.onclick=function(){i3GEO.janela.prompt($trad("tolerancia"),function(){i3GEO.configura.ferramentas.identifica.resolution=$i("i3GEOjanelaprompt").value},i3GEO.configura.ferramentas.identifica.resolution)};temp.appendChild(elem);c=document.createElement("div");c.innerHTML=texto;e=document.createElement("div");e.appendChild(temp);e.appendChild(c);b=new google.maps.InfoWindow({content:e,position:new google.maps.LatLng(y,x),pixelOffset:new google.maps.Size(0,-24)});b.open(i3GeoMap);p.baloes.push(b)},atualizaTema:function(retorno,tema){var indice=i3GEO.Interface.googlemaps.retornaIndiceLayer(tema),objtemas;i3GeoMap.overlayMapTypes.removeAt(indice);i3GEO.Interface.googlemaps.posfixo+=1;i3GEO.Interface.googlemaps.insereLayer(tema,indice);if(retorno===""){return}objtemas=i3GEO.arvoreDeCamadas.converteChaveValor2normal(retorno.data.temas);i3GEO.Interface.googlemaps.recalcPar();try{i3GEO.arvoreDeCamadas.atualiza(objtemas)}catch(e){i3GEO.arvoreDeCamadas.atualiza()}i3GEO.janela.fechaAguarde()},removeTodosLayers:function(){var nlayers=i3GEO.arvoreDeCamadas.CAMADAS.length,i,camada,indice;for(i=0;i<nlayers;i++){camada=i3GEO.arvoreDeCamadas.CAMADAS[i];indice=i3GEO.Interface.googlemaps.retornaIndiceLayer(camada.name);if(indice!==false){try{i3GeoMap.overlayMapTypes.removeAt(indice);i3GEO.pluginI3geo.removeCamada(camada.name)}catch(e){}}}},redesenha:function(){i3GEO.Interface.googlemaps.posfixo+=1;i3GEO.Interface.googlemaps.removeTodosLayers();i3GEO.Interface.googlemaps.criaLayers()},cria:function(w,h){var i,f,ins;google.maps.visualRefresh=true;posfixo="&nd=0";i=$i(i3GEO.Interface.IDCORPO);if(i){f=$i("googlemapsdiv");if(!f){ins='<div id=googlemapsdiv style="width:0px;height:0px;text-align:left;background-image:url('+i3GEO.configura.locaplic+'/imagens/i3geo1bw.jpg)"></div>';i.innerHTML=ins}f=$i("googlemapsdiv");if(w){f.style.width=w+"px";f.style.height=h+"px"}}i3GeoMap="";i3GEO.Interface.IDMAPA="googlemapsdiv"},ativaZoomBox:function(){i3GeoMap.enableKeyDragZoom({key:'ctrl'})},inicia:function(){var pol,ret,montaMapa;pol=i3GEO.parametros.mapexten;ret=pol.split(" ");if($i("i3GEOprogressoDiv")){$i("i3GEOprogressoDiv").style.display="block"}montaMapa=function(retorno){var sw,ne,estilo,dobra=$i("i3GEOdobraPagina");try{i3GeoMap=new google.maps.Map($i(i3GEO.Interface.IDMAPA),i3GEO.Interface.googlemaps.MAPOPTIONS)}catch(e){alert(e);return}if(i3GEO.Interface.googlemaps.ESTILOS&&i3GEO.Interface.googlemaps.ESTILOPADRAO!=""){estilo=i3GEO.Interface.googlemaps.ESTILOS[i3GEO.Interface.googlemaps.ESTILOPADRAO];i3GeoMap.mapTypes.set(i3GEO.Interface.googlemaps.ESTILOPADRAO,new google.maps.StyledMapType(estilo,{name:i3GEO.Interface.googlemaps.ESTILOPADRAO}))}else{i3GeoMap.setMapTypeId(i3GEO.Interface.googlemaps.TIPOMAPA)}if(dobra){$i(i3GEO.Interface.IDMAPA).appendChild(dobra)}if(!i3GEO.Interface.googlemaps.MAPOPTIONS.center&&!i3GEO.Interface.googlemaps.MAPOPTIONS.zoom){sw=new google.maps.LatLng(ret[1],ret[0]);ne=new google.maps.LatLng(ret[3],ret[2]);i3GeoMap.fitBounds(new google.maps.LatLngBounds(sw,ne))}if(!$i("keydragzoom_script")){js=i3GEO.configura.locaplic+"/pacotes/google/keydragzoom.js";i3GEO.util.scriptTag(js,"i3GEO.Interface.googlemaps.ativaZoomBox()","keydragzoom_script")}i3GeoMapOverlay=new google.maps.OverlayView();i3GeoMapOverlay.draw=function(){};i3GEO.Interface.googlemaps.criaLayers();i3GeoMapOverlay.setMap(i3GeoMap);i3GEO.Interface.googlemaps.registraEventos();i3GEO.eventos.ativa($i(i3GEO.Interface.IDMAPA));if(i3GEO.Interface.STATUS.trocando===false){i3GEO.idioma.mostraSeletor()}if(i3GEO.Interface.STATUS.trocando===true&&$i(i3GEO.arvoreDeCamadas.IDHTML)){$i(i3GEO.arvoreDeCamadas.IDHTML).innerHTML=""}if(i3GEO.arvoreDeCamadas.ATIVATEMA===""){i3GEO.arvoreDeCamadas.ATIVATEMA="i3GEO.Interface.ligaDesliga(this)"}if(i3GEO.parametros.kmlurl!==""){i3GEO.Interface.googlemaps.adicionaKml(true,i3GEO.parametros.kmlurl)}if(jQuery.isFunction(i3GEO.finalizaAPI)){i3GEO.finalizaAPI.call()}else{if(i3GEO.finalizaAPI!=""){eval(i3GEO.finalizaAPI)}}google.maps.event.addListenerOnce(i3GeoMap,'idle',function(){var z=i3GeoMap.getZoom();if(z!=undefined){i3GeoMap.setZoom(parseInt(z,10)+1)}});i3GEO.coordenadas.ativaEventos()};i3GEO.php.googlemaps(montaMapa)},criaLayers:function(){var nlayers=i3GEO.arvoreDeCamadas.CAMADAS.length,i,camada,indice;for(i=0;i<nlayers;i++){camada=i3GEO.arvoreDeCamadas.CAMADAS[i];indice=i3GEO.Interface.googlemaps.retornaIndiceLayer(camada.name);if(!indice){if(camada.status!=0){if(camada.plugini3geo&&camada.plugini3geo!=""&&camada.plugini3geo.parametros!=undefined){i3GEO.pluginI3geo.inicia(camada);continue}else{i3GEO.Interface.googlemaps.insereLayer(camada.name,0,camada.cache)}}i3GEO.Interface.aposAdicNovaCamada(camada)}}i3GEO.Interface.googlemaps.recalcPar()},criaImageMap:function(nomeLayer,cache){var i3GEOTileO="";if(cache=="undefined"||cache==undefined){cache=""}i3GEOTileO=new google.maps.ImageMapType({getTileUrl:function(coord,zoom){var url=i3GEO.configura.locaplic+"/classesphp/mapa_googlemaps.php?"+"cache="+cache+"&Z="+zoom+"&X="+coord.x+"&Y="+coord.y+"&layer="+nomeLayer+i3GEO.Interface.googlemaps.PARAMETROSLAYER+'&r='+Math.random();return url+'&nd='+i3GEO.Interface.googlemaps.posfixo},tileSize:new google.maps.Size(256,256),isPng:true,name:nomeLayer});if($i("i3GEOprogressoCamadas")){google.maps.event.addListener(i3GEOTileO,'tilesloaded',function(){i3GEO.Interface.googlemaps.barraProgressoStop()})}return i3GEOTileO},bbox2mercator:function(bbox){var c=bbox.split(" "),p1,p2;p1=i3GEO.Interface.googlemaps.geo2mercator(c[0],c[1]);p2=i3GEO.Interface.googlemaps.geo2mercator(c[2],c[3]);return p1.x+" "+p1.y+" "+p2.x+" "+p2.y},geo2mercator:function(x,y){var source="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs",dest="+title= Google Mercator EPSG:900913 +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs",p=new Proj4js.Point(parseInt(x,10),parseInt(y,10));Proj4js.defs["WGS84"]=source;Proj4js.defs["EPSG:900913"]=dest;source=new Proj4js.Proj('WGS84');dest=new Proj4js.Proj('EPSG:900913');Proj4js.transform(source,dest,p);return p},insereLayer:function(nomeLayer,indice,cache){if(i3GEO.pluginI3geo.existeObjeto(nomeLayer)===false){if($i("i3GEOprogressoCamadas")){i3GEO.Interface.googlemaps.barraProgressoStart()}var i=i3GEO.Interface.googlemaps.criaImageMap(nomeLayer,cache);i3GeoMap.overlayMapTypes.insertAt(indice,i)}},registraEventos:function(){i3GEOtouchesPosMapa="";modoAtual="";google.maps.event.addListener(i3GeoMap,"dragstart",function(){modoAtual="move";i3GEO.eventos.cliquePerm.status=false});google.maps.event.addListener(i3GeoMap,"dragend",function(){var xy;i3GEO.Interface.googlemaps.recalcPar();i3GEO.eventos.navegaMapa();i3GEO.util.escondePin();i3GEO.navega.registraExt(i3GEO.parametros.mapexten);i3GEO.Interface.googlemaps.barraProgressoStop()});google.maps.event.addListener(i3GeoMap,"tilesloaded",function(){i3GEO.Interface.googlemaps.recalcPar();i3GEO.navega.registraExt(i3GEO.parametros.mapexten);i3GEO.Interface.googlemaps.barraProgressoStop()});google.maps.event.addListener(i3GeoMap,'idle',function(){i3GEO.Interface.googlemaps.barraProgressoStop()});google.maps.event.addListener(i3GeoMap,"bounds_changed",function(){i3GEO.Interface.googlemaps.barraProgressoStart();i3GEO.Interface.googlemaps.recalcPar();i3GEO.eventos.navegaMapa()});google.maps.event.addListener(i3GeoMap,"mousemove",function(ponto){if(i3GEOtouchesPosMapa===""){i3GEOtouchesPosMapa=i3GEO.util.pegaPosicaoObjeto($i(i3GEO.Interface.IDMAPA))}var teladms,tela,pos=i3GEOtouchesPosMapa;if(modoAtual==="move"){return}ponto=ponto.latLng;teladms=i3GEO.calculo.dd2dms(ponto.lng(),ponto.lat());tela=i3GeoMapOverlay.getProjection().fromLatLngToContainerPixel(ponto);objposicaocursor={ddx:ponto.lng(),ddy:ponto.lat(),dmsx:teladms[0],dmsy:teladms[1],imgx:tela.x,imgy:tela.y,telax:tela.x+pos[0],telay:tela.y+pos[1]}})},retornaIndiceLayer:function(nomeLayer){var i=false;try{i3GeoMap.overlayMapTypes.forEach(function(elemento,number){if(elemento.name===nomeLayer){i=number}});return i}catch(e){return false}},retornaObjetoLayer:function(nomeLayer){var i=false;try{i3GeoMap.overlayMapTypes.forEach(function(elemento,number){if(elemento.name===nomeLayer){i=elemento}});return i}catch(e){return false}},retornaDivLayer:function(nomeLayer){var i,divmapa=$i("googlemapsdiv"),divimg,n;divimg=divmapa.getElementsByTagName("img");n=divimg.length;if(divimg&&n>0){for(i=0;i<n;i++){if(divimg[i].src.search("&layer="+nomeLayer+"&")>0){return divimg[i].parentNode.parentNode.parentNode}}}return false},ligaDesliga:function(obj){var plugin,indice,temp,desligar="",ligar="",n,i,lista=[],listatemp;indice=i3GEO.Interface.googlemaps.retornaIndiceLayer(obj.value);temp=function(){i3GEO.legenda.atualiza()};plugin=i3GEO.pluginI3geo.existeObjeto(obj.value);if(obj.checked&&(!indice||plugin===true)){ligar=obj.value;listatemp=i3GEO.arvoreDeCamadas.listaLigadosDesligados()[0];n=i3GEO.arvoreDeCamadas.CAMADAS.length;for(i=0;i<n;i++){if(i3GEO.util.in_array(i3GEO.arvoreDeCamadas.CAMADAS[i].name,listatemp)){lista.push(i3GEO.arvoreDeCamadas.CAMADAS[i].name)}}lista.reverse();if(plugin===false){n=lista.length;indice=0;for(i=0;i<n;i++){if(lista[i]==obj.value){indice=i}}i3GEO.Interface.googlemaps.insereLayer(obj.value,(indice))}else{i3GEO.pluginI3geo.ligaCamada(obj.value)}i3GEO.arvoreDeCamadas.alteraPropCamadas("status","2",obj.value)}else{if(plugin===true){desligar=obj.value;i3GEO.arvoreDeCamadas.alteraPropCamadas("status","0",obj.value);i3GEO.pluginI3geo.desligaCamada(obj.value)}else if(indice!==false){desligar=obj.value;i3GEO.arvoreDeCamadas.alteraPropCamadas("status","0",obj.value);i3GeoMap.overlayMapTypes.removeAt(indice)}}if(desligar!==""||ligar!==""){i3GEO.php.ligatemas(temp,desligar,ligar)}},bbox:function(){var bd,so,ne,bbox;bd=i3GeoMap.getBounds();so=bd.getSouthWest();ne=bd.getNorthEast();bbox=so.lng()+" "+so.lat()+" "+ne.lng()+" "+ne.lat();return(bbox)},ativaBotoes:function(){},aplicaOpacidade:function(opacidade,layer){var nlayers=i3GEO.arvoreDeCamadas.CAMADAS.length,i,camada,div;if(!layer){layer=""}for(i=0;i<nlayers;i++){camada=i3GEO.arvoreDeCamadas.CAMADAS[i];if(camada&&camada.name){div=i3GEO.Interface.googlemaps.retornaDivLayer(camada.name);if(div){if(layer==""||layer==camada.name){$(div).css("opacity",opacidade)}}}}},mudaOpacidade:function(valor){i3GEO.Interface.googlemaps.OPACIDADE=valor;i3GEO.Interface.googlemaps.redesenha()},recalcPar:function(){i3GEOtouchesPosMapa="";try{var sw,ne,escalaAtual=i3GEO.parametros.mapscale;sw=i3GeoMap.getBounds().getSouthWest();ne=i3GeoMap.getBounds().getNorthEast();i3GEO.parametros.mapexten=sw.lng()+" "+sw.lat()+" "+ne.lng()+" "+ne.lat();i3GEO.parametros.mapscale=i3GEO.Interface.googlemaps.calcescala();sw=i3GeoMapOverlay.getProjection().fromContainerPixelToLatLng(new google.maps.Point(0,1));ne=i3GeoMapOverlay.getProjection().fromContainerPixelToLatLng(new google.maps.Point(1,0));i3GEO.parametros.pixelsize=sw.lng()-ne.lng();if(i3GEO.parametros.pixelsize<0){i3GEO.parametros.pixelsize=i3GEO.parametros.pixelsize*-1}if(i3GEO.parametros.mapscale!==escalaAtual&&escalaAtual!==0){i3GEO.arvoreDeCamadas.atualizaFarol(i3GEO.parametros.mapscale)}}catch(e){i3GEO.parametros.mapexten="0 0 0 0";i3GEO.parametros.mapscale=0}},calcescala:function(){var zoom=i3GeoMap.getZoom();return(i3GEO.Interface.googlemaps.ZOOMSCALE[zoom])},escala2nzoom:function(escala){var n,i;n=i3GEO.Interface.googlemaps.ZOOMSCALE.length;for(i=0;i<n;i++){if(i3GEO.Interface.googlemaps.ZOOMSCALE[i]<escala){return(i)}}},zoom2extent:function(mapexten){var re=new RegExp(",","g"),pol=mapexten.replace(re," "),ret=pol.split(" "),sw=new google.maps.LatLng(ret[1],ret[0]),ne=new google.maps.LatLng(ret[3],ret[2]);i3GeoMap.fitBounds(new google.maps.LatLngBounds(sw,ne))},zoom2ext:function(mapexten){i3GEO.Interface.googlemaps.zoom2extent(mapexten)},pan2ponto:function(x,y){i3GeoMap.panTo(new google.maps.LatLng(y,x))},adicionaKml:function(pan,url,titulo,ativo){var ngeoxml,i;if(!$i("arvoreCamadasKml")){i3GEO.Interface.googlemaps.criaArvoreKML()}ngeoxml="geoXml_"+i3GEO.mapa.GEOXML.length;if(arguments.length===1){i=$i("i3geo_urlkml");if(i){url=i.value}else{url=""}titulo=ngeoxml;ativo=true}if(arguments.length===2){titulo=ngeoxml;ativo=true}if(url===""){return}i3GEO.mapa.GEOXML.push(ngeoxml);i3GEO.Interface.googlemaps.adicionaNoArvoreGoogle(url,titulo,ativo,ngeoxml)},adicionaListaKml:function(){var monta=function(retorno){var raiz,nraiz,i;raiz=retorno.data.canais;nraiz=raiz.length;for(i=0;i<nraiz;i++){i3GEO.Interface.googlemaps.adicionaKml(false,raiz[i].link,raiz[i].title,false)}};i3GEO.php.listaRSSwsARRAY(monta,"KML")},adicionaNoArvoreGoogle:function(url,nomeOverlay,ativo,id){var node,d,nodekml;if(!$i("arvoreCamadasKml")){i3GEO.Interface.googlemaps.criaArvoreKML()}if(arguments.length===2){ativo=true;id=nomeOverlay}if(arguments.length===2){id=nomeOverlay}node=i3GEO.Interface.googlemaps.ARVORE.getNodeByProperty("idkml","raiz");html="<input onclick='i3GEO.Interface.googlemaps.ativaDesativaCamadaKml(this,\""+url+"\")' class=inputsb style='cursor:pointer;' type='checkbox' value='"+id+"'";if(ativo===true){html+=" checked "}html+="/>";if(navm){estilo="cursor:default;vertical-align:35%;padding-top:0px;"}else{estilo="cursor:default;vertical-align:top;"}html+="&nbsp;<span style='"+estilo+"'>"+nomeOverlay+"</span>";d={html:html};nodekml=new YAHOO.widget.HTMLNode(d,node,true,true);nodekml.enableHighlight=false;nodekml.isleaf=true;i3GEO.Interface.googlemaps.ARVORE.draw();i3GEO.Interface.googlemaps.ARVORE.collapseAll();node.expand();if(ativo===true){eval(id+" = new google.maps.KmlLayer('"+url+"',{map:i3GeoMap,preserveViewport:true});")}},criaArvoreKML:function(){var arvore,a,root,titulo,d,node;arvore=$i("arvoreCamadasKml");if(!arvore){d=document.createElement("div");d.id="arvoreCamadasKml";d.style.top="40px";a=$i(i3GEO.arvoreDeCamadas.IDHTML);if(a){a.parentNode.appendChild(d)}else{return}}i3GEO.Interface.googlemaps.ARVORE=new YAHOO.widget.TreeView("arvoreCamadasKml");root=i3GEO.Interface.googlemaps.ARVORE.getRoot();titulo="<table><tr><td><b>Kml</b></td></tr></table>";d={html:titulo,idkml:"raiz"};node=new YAHOO.widget.HTMLNode(d,root,true,true);node.enableHighlight=false},ativaDesativaCamadaKml:function(obj,url){if(!obj.checked){eval(obj.value+".setMap(null);")}else{eval(obj.value+" = new google.maps.KmlLayer(url,{map:i3GeoMap,preserveViewport:true});")}},alteraParametroLayers:function(parametro,valor){parametro=parametro.toUpperCase();var reg=new RegExp(parametro+"([=])+([a-zA-Z0-9_]*)");i3GEO.Interface.googlemaps.PARAMETROSLAYER=i3GEO.Interface.googlemaps.PARAMETROSLAYER.replace(reg,"");i3GEO.Interface.googlemaps.PARAMETROSLAYER+="&"+parametro+"="+valor;i3GEO.Interface.googlemaps.redesenha()}}};
257 257 //
258 258 //compactados/mapa_compacto.js
259   -if(typeof(i3GEO)==='undefined'){var i3GEO={}}i3GEO.mapa={BALAOATIVO:true,OPENTIPIFEMPTY:true,TEMASINICIAISLIGADOS:"",TEMASINICIAIS:"",GEOXML:[],limpasel:function(){i3GEO.php.limpasel(function(retorno){i3GEO.atualiza();i3GEO.Interface.atualizaMapa()},"")},ativaAutoResize:function(){var ativo=true;window.onresize=function(){var Dw,Dh;Dw=window.innerWidth;Dh=window.innerHeight;i3GEO.tamanhodoc=[Dw,Dh];if(ativo===true){setTimeout(function(){i3GEO.reCalculaTamanho();i3GEO.guias.abreFecha("fecha");ativo=true},2000)}ativo=false}},ativaIdentifica:function(){i3GEO.eventos.MOUSECLIQUE=["i3GEO.mapa.dialogo.cliqueIdentificaDefault()"];i3GEO.eventos.adicionaEventos("MOUSECLIQUEPERM",["i3GEO.mapa.dialogo.cliqueIdentificaDefault()"]);i3GEO.eventos.removeEventos("MOUSECLIQUEPERM",["i3GEO.mapa.dialogo.verificaTipDefault()"]);i3GEO.eventos.cliquePerm.ativa()},ativaIdentificaBalao:function(){i3GEO.eventos.removeEventos("MOUSECLIQUEPERM",["i3GEO.mapa.dialogo.cliqueIdentificaDefault()"]);i3GEO.eventos.MOUSECLIQUE=["i3GEO.mapa.dialogo.verificaTipDefault()"];i3GEO.eventos.cliquePerm.ativa()},ativaTema:function(codigo){if(codigo){i3GEO.temaAtivo=codigo}},ativaLogo:function(){if(i3GEO.Interface.ATUAL==="googlemaps"){alert($trad("x21"));return}i3GEO.php.ativalogo(i3GEO.atualiza);var cr=$i("i3GEOcopyright");if(cr){if(cr.style.display==="block"){cr.style.display="none"}else{cr.style.display="block"}}},verifica:function(retorno){try{if(retorno.data){retorno=retorno.data}if(retorno.variaveis){retorno=retorno.variaveis}if((retorno==="erro")||(typeof(retorno)==='undefined')){i3GEO.janela.fechaAguarde();i3GEO.mapa.recupera.inicia()}i3GEO.mapa.recupera.TENTATIVA=0}catch(e){if(i3GEO.Interface.ATUAL==="openlayers"||i3GEO.Interface.ATUAL==="googlemaps"){i3GEO.janela.fechaAguarde();return}if(this.recupera.TENTATIVA===0){i3GEO.janela.tempoMsg("Erro no mapa. Sera feita uma tentativa de recuperacao.");i3GEO.mapa.recupera.inicia()}else{i3GEO.janela.tempoMsg("Recuperacao impossivel. Sera feita uma tentativa de reiniciar o mapa.");if(this.recupera.TENTATIVA===1){this.recupera.TENTATIVA=2;i3GEO.php.reiniciaMapa(i3GEO.atualiza)}}}},recupera:{TENTATIVA:0,inicia:function(){i3GEO.janela.fechaAguarde();if(this.recupera&&this.recupera.TENTATIVA===0){this.recupera.TENTATIVA++;this.recupera.restaura()}},restaura:function(){i3GEO.php.recuperamapa(i3GEO.atualiza)}},legendaIMAGEM:{obtem:function(funcao){i3GEO.php.criaLegendaImagem(funcao)}},compactaLayerGrafico:function(){var geos=false,geometrias=[],n=0,i,g;if(i3GEO.editorOL&&i3GEO.desenho.layergrafico&&i3GEO.desenho.layergrafico.features){geos=i3GEO.desenho.layergrafico.features;n=geos.length;for(i=0;i<n;i++){g={"atributos":geos[i].attributes,"geometria":geos[i].geometry.toString()};geometrias.push(g)}}g=JSON.stringify(geometrias);return i3GEO.util.base64encode(g)},desCompactaLayerGrafico:function(geometrias){geometrias=JSON.parse(geometrias);if(geometrias.length>0){var inicia=function(){if(!i3GEO.desenho.layergrafico){i3GEO.editorOL.criaLayerGrafico()}i3GEO.editor[i3GEO.Interface.ATUAL].ativaPainel();var n=geometrias.length,i;for(i=0;i<n;i++){i3GEO.editorOL.adicionaFeatureWkt(geometrias[i].geometria,geometrias[i].atributos)}i3GEO.editorOL.sobeLayersGraficos()};if(!i3GEO.editorOL){i3GEO.util.scriptTag(i3GEO.configura.locaplic+"/classesjs/compactados/classe_editorol_compacto.js",inicia,"editorol.js",true)}}},restauraGraficos:function(graficos){if(graficos.length>0){var inicia=function(){i3GEOF.graficointerativo1.restauraGraficos(graficos)};i3GEO.util.scriptTag(i3GEO.configura.locaplic+"/ferramentas/graficointerativo1/dependencias.php",inicia,"graficointerativo1",true)}},restauraTabelas:function(tabelas){if(tabelas.length>0){var inicia=function(){i3GEOF.tabela.restauraTabelas(tabelas)};i3GEO.util.scriptTag(i3GEO.configura.locaplic+"/ferramentas/tabela/dependencias.php",inicia,"tabela",true)}},aplicaPreferencias:function(cookies){var props,nprops,i,temp=[],pint;if(!cookies){cookies=i3GEO.util.pegaDadosLocal("preferenciasDoI3Geo")}if(cookies){props=cookies.split("::");nprops=props.length;for(i=0;i<nprops;i++){try{temp=props[i].split("|");pint=parseInt(temp[1],10);if(temp[1]==='true'||temp[1]==='false'){if(temp[1]==='true'){temp[1]=true}if(temp[1]==='false'){temp[1]=false}eval(temp[0]+" = "+temp[1]+";")}else if(pint+"px"==temp[1]){eval(temp[0]+" = '"+temp[1]+"';")}else if($.isNumeric(pint)){eval(temp[0]+" = "+temp[1]+";")}else{eval(temp[0]+" = '"+temp[1]+"';")}}catch(e){}}}},dialogo:{listaLayersWms:function(servico){i3GEO.janela.cria("400px","300px",i3GEO.configura.locaplic+"/ferramentas/conectarwms/listalayers.php?servico="+servico,"","","<div class='i3GeoTituloJanela'>"+$trad("a4")+"<a class=ajuda_usuario target=_blank href='"+i3GEO.configura.locaplic+"/ajuda_usuario.php?idcategoria=4&idajuda=28' ><b> </b></a></div>","i3GEO.conectarwms",false,"hd","","","",true)},wms:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.wms()","conectarwms","conectarwms","dependencias.php","i3GEOF.conectarwms.iniciaJanelaFlutuante()")},mascara:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.mascara()","mascara","mascara","dependencias.php","i3GEOF.mascara.iniciaJanelaFlutuante()")},html2canvas:function(obj){var temp=function(){i3GEOF.html2canvas.iniciaJanelaFlutuante(obj)};i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.html2canvas()","html2canvas","html2canvas","dependencias.php",temp)},wkt2layer:function(wkt,texto){var temp=function(){i3GEOF.wkt2layer.iniciaJanelaFlutuante(wkt,texto)};i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.wkt2layer()","wkt2layer","wkt2layer","dependencias.php",temp)},atalhosedicao:function(idtema){i3GEO.mapa.ativaTema(idtema);i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.atalhosedicao()","atalhosedicao","atalhosedicao","dependencias.php","i3GEOF.atalhosedicao.iniciaJanelaFlutuante()")},geolocal:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.geolocal()","geolocal","geolocal","dependencias.php","i3GEOF.geolocal.iniciaJanelaFlutuante()")},listaDeMapasBanco:function(idonde){if(idonde){i3GEO.guias.CONFIGURA["mapas"].click.call(this,idonde);return}if(i3GEO.guias.CONFIGURA["mapas"]){var temp,janela,id="listaMapa"+Math.random();janela=i3GEO.janela.cria("800px","500px",i3GEO.configura.locaplic+"/mapas/indexnomenu.php","","","<span class='i3GeoTituloJanelaBsNolink' ></span></div>",id)}else{window.open(i3GEO.configura.locaplic+"/rss/rssmapas.php","_blank")}},congelaMapa:function(){var url="",idjanela=i3GEO.util.generateId(),cabecalho=function(){},titulo,minimiza=function(){i3GEO.janela.minimiza(idjanela)};if(i3GEO.Interface.ATUAL==="openlayers"||i3GEO.Interface.ATUAL==="googlemaps"){url=i3GEO.configura.locaplic+"/ferramentas/congelamapa/openlayers3.php?g_sid="+i3GEO.configura.sid+"&ext="+i3GEO.util.extOSM2Geo(i3GEO.parametros.mapexten);titulo="<span class='i3GeoTituloJanelaBsNolink' ></span></div>";i3GEO.janela.cria("520px","370px",url,"","",titulo,idjanela,false,"hd",cabecalho,minimiza,"","","","",false,"","123")}},metaestat:function(largura,altura,topo,esquerda,Interface,conexao){var temp=function(){i3GEOF.metaestat.MULTIPARAMETROS=true;if(Interface){i3GEOF.metaestat.INTERFACE=Interface}if(conexao){i3GEOF.metaestat.CONEXAODEFAULT=conexao}i3GEOF.metaestat.INTERFACE="flutuante";i3GEOF.metaestat.principal.inicia(null,largura,altura,topo,esquerda)};i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.metaestat()","metaestat","metaestat","dependencias.php",temp)},metaestatListaMapas:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.metaestatListaMapas()","metaestat","listamapas","listamapas.js","i3GEOF.listamapas.iniciaJanelaFlutuante()")},preferencias:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.preferencias()","preferencias","preferencias")},locregiao:function(largura,altura,topo,esquerda){var temp=function(){i3GEOF.locregiao.iniciaDicionario(largura,altura,topo,esquerda)};i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.locregiao()","metaestat","locregiao","locregiao.js",temp)},filtraregiao:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.filtraregiao()","metaestat","locregiao","locregiao.js","i3GEOF.locregiao.abreComFiltro()")},filtraperiodo:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.filtraperiodo()","filtraperiodo","filtraperiodo","dependencias.php","i3GEOF.filtraperiodo.iniciaJanelaFlutuante()")},animacao:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.animacao()","animacao","animacao","dependencias.php","i3GEOF.animacao.start()")},opacidade:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.opacidademapa()","opacidademapa","opacidademapa","dependencias.php","i3GEOF.opacidademapa.start()")},t3d:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.t3d()","3d","t3d")},imprimir:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.imprimir()","imprimir","imprimir","dependencias.php","i3GEOF.imprimir.iniciaJanelaFlutuante()")},mostraExten:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.mostraExten()","mostraexten","mostraExten","dependencias.php","i3GEOF.mostraExten.iniciaJanelaFlutuante()")},outputformat:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.outputformat()","outputformat","outputformat","dependencias.php","i3GEOF.outputformat.iniciaJanelaFlutuante()")},autoredesenha:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.autoredesenha()","opcoes_autoredesenha","opcoesTempo","dependencias.php","i3GEOF.opcoesTempo.iniciaJanelaFlutuante()")},salvaMapa:function(){if(i3GEO.parametros===""){i3GEO.janela.tempoMsg("Essa opcao nao pode ser ativada. Consulte o administrador do sistema. Mapfile nao esta exposto.");return}i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.salvaMapa()","salvamapa","salvaMapa","dependencias.php","i3GEOF.salvaMapa.iniciaJanelaFlutuante()")},carregaMapa:function(){i3GEO.util.dialogoFerramenta("i3GEO.tema.dialogo.carregaMapa()","carregamapa","carregaMapa","dependencias.php","i3GEOF.carregaMapa.iniciaJanelaFlutuante()")},convertews:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.convertews()","convertews","converteMapaWS","dependencias.php","i3GEOF.converteMapaWS.iniciaJanelaFlutuante()")},convertekml:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.convertekml()","convertemapakml","converteMapaKml","dependencias.php","i3GEOF.converteMapaKml.iniciaJanelaFlutuante()")},queryMap:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.queryMap()","opcoes_querymap","opcoesQuery","dependencias.php","i3GEOF.opcoesQuery.iniciaJanelaFlutuante()")},template:function(){i3GEO.janela.cria("300px","400px",i3GEO.configura.locaplic+"/ferramentas/template/index.htm","","","<div class='i3GeoTituloJanela'>Template<a class=ajuda_usuario target=_blank href='"+i3GEO.configura.locaplic+"/ajuda_usuario.php?idcategoria=1&idajuda=8' ><b> </b></a></div>")},tamanho:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.tamanho()","opcoes_tamanho","opcoesTamanho","dependencias.php","i3GEOF.opcoesTamanho.iniciaJanelaFlutuante()")},tipoimagem:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.tipoimagem()","tipoimagem","tipoimagem","dependencias.php","i3GEOF.tipoimagem.iniciaJanelaFlutuante()")},corFundo:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.corFundo()","opcoes_fundo","opcoesFundo","dependencias.php","i3GEOF.opcoesFundo.iniciaJanelaFlutuante()")},opcoesEscala:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.opcoesEscala()","opcoes_escala","opcoesEscala","dependencias.php","i3GEOF.opcoesEscala.iniciaJanelaFlutuante()")},opcoesLegenda:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.opcoesLegenda()","opcoes_legenda","opcoesLegenda","dependencias.php","i3GEOF.opcoesLegenda.iniciaJanelaFlutuante()")},opcoesMapaRef:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.opcoesMapaRef()","opcoes_maparef","opcoesMaparef","dependencias.php","i3GEOF.opcoesMaparef.iniciaJanelaFlutuante()")},gradeCoord:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.gradeCoord()","gradecoord","gradeCoord","dependencias.php","i3GEOF.gradeCoord.iniciaJanelaFlutuante()")},cliqueTexto:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.cliqueTexto()","inseretxt","inseretxt","dependencias.php","i3GEOF.inseretxt.iniciaJanelaFlutuante()")},selecao:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.selecao()","selecao","selecao","dependencias.php","i3GEOF.selecao.iniciaJanelaFlutuante()")},cliquePonto:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.cliquePonto()","inserexy2","inserexy","dependencias.php","i3GEOF.inserexy.iniciaJanelaFlutuante()")},cliqueGrafico:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.cliqueGrafico()","inseregrafico","insereGrafico","dependencias.php","i3GEOF.insereGrafico.iniciaJanelaFlutuante()")},cliqueIdentificaDefault:function(x,y,tema){if(!x){x=objposicaocursor.ddx;y=objposicaocursor.ddy}var temp=function(){i3GEOF.identifica.start({"x":x,"y":y,"tema":tema})};if(typeof(i3GEOF.identifica)==='undefined'){var js=i3GEO.configura.locaplic+"/ferramentas/identifica/dependencias.php";i3GEO.util.scriptTag(js,temp,"i3GEOF.identifica_script")}else{temp()}},verificaTipDefault:function(x,y){if(i3GEO.mapa.BALAOATIVO==false){return}if(!x){x=objposicaocursor.ddx}if(!y){y=objposicaocursor.ddy}if(x===-1||y===-1||i3GEO.eventos.cliquePerm.ativo===false||i3GEO.eventos.cliquePerm.status===false){return}i3GEO.eventos.cliquePerm.status=false;var ntemas,etiquetas,j,temp;objposicaocursor.ddx=-1;objposicaocursor.ddy=-1;ntemas=i3GEO.arvoreDeCamadas.CAMADAS.length;etiquetas=false;for(j=0;j<ntemas;j+=1){if(i3GEO.arvoreDeCamadas.CAMADAS[j].etiquetas!==""||i3GEO.arvoreDeCamadas.CAMADAS[j].identifica=="SIM"){etiquetas=true}}if(etiquetas===false){return}if(i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.url!=""&&i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.templateModal==""){$.get(i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.url+"&xx="+x+"&yy="+y,function(data){i3GEO.janela.closeMsg(data)});return}if(i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.templateModal!=""){if(i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.url!=""){var temp=i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.url+"&xx="+x+"&yy="+y;temp=i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.templateModal.replace("{{{url}}}",temp);i3GEO.janela.closeMsg(temp)}else{i3GEO.janela.closeMsg(i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.templateModal)}return}var res=i3GEO.configura.ferramentas.identifica.resolution;var bdiv=document.createElement("div");bdiv.className="waitInfoWindow";bdiv.style.width=res+"px";bdiv.style.height=res+"px";bdiv.style.top=(res/2*-1)+"px";var b=new ol.Overlay({element:bdiv,stopEvent:true,autoPan:false,origem:"balao",autoPanAnimation:false,positioning:"center-center",position:i3GEO.util.projGeo2OSM(new ol.geom.Point([x,y])).getCoordinates()});i3geoOL.addOverlay(b);temp=function(retorno){i3geoOL.removeOverlay(b);i3GEO.mapa.montaTip(retorno,x,y)};i3GEO.php.identifica3(temp,x,y,res,"tip",i3GEO.configura.locaplic,i3GEO.configura.sid,"ligados",i3GEO.parametros.mapexten,"","sim")}},montaTip:function(retorno,xx,yy){var textCopy=[],textoSimples="",textoTempSimples="",x,y,temp,n,mostra,res,temas,ntemas,titulo,tips,j,ntips,r,ds,nds,s,configura=i3GEO.configura,wkts=[];i3GEO.eventos.cliquePerm.status=true;mostra=false;if(retorno.data){retorno=retorno.data;temp=retorno[0].xy.split(",");x=temp[0]*1;y=temp[1]*1}else{x=xx;y=yy;mostra=true;textoSimples=$trad("balaoVazio");wkt=[];if(i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.openTipNoData==false){mostra=false}}if(retorno!==""){res="";ntemas=0;temas=retorno;if(temas){ntemas=temas.length}for(j=0;j<ntemas;j+=1){titulo=temas[j].nome;textCopy.push(titulo);var temp1=[];$.each(temas[j].funcoesjs,function(key,value){if(value.tipo=="layer"){var parametros=[x,y,temas[j].tema];$.each(value.parametros,function(key1,value1){parametros.push(ds[s][value1].valor)});parametros="\""+parametros.join("\",\"")+"\"";temp1.push("<a class='toolTipBalaoFuncoes' href='javascript:void(0);' onclick='"+value.funcao+"("+parametros+")' >"+value.titulo+"</a><br>");if(value.script&&value.script!=""){i3GEO.util.scriptTag(value.script,"","funcaolayer"+value.funcao,false)}}});temp1=temp1.join(" ");var mais="<button style='margin: 2px;padding: 0px;vertical-align: middle;position: relative;top: -7px;' class='btn btn-default btn-xs' onclick=\"i3GEO.mapa.dialogo.cliqueIdentificaDefault("+x+","+y+",'"+temas[j].tema+"');return false;\" ><span style='opacity:0.5;vertical-align: middle;padding: 0px;' class='material-icons'>info</span></button>";if(ntemas==1){mais=""}titulo="<div class='toolTipBalaoTitulo'>"+mais+" <b>"+titulo+"</b><br>"+temp1+"</div>";tips=temas[j].resultado.todosItens;ntips=tips.length;ins="";textoTempSimples="";ds=temas[j].resultado.dados;if(ds!==" "&&ds[0]&&ds[0]!=" "){try{nds=ds.length;for(s=0;s<nds;s+=1){textoTempSimples+="<div class='toolTipBalaoTexto'>";for(r=0;r<ntips;r+=1){try{temp="";var alias=ds[s][tips[r]].alias;var valor=ds[s][tips[r]].valor;var link=ds[s][tips[r]].link;var img=ds[s][tips[r]].img;var estilo="tooltip-"+temas[j].tema;if(valor!==""&&link===""){temp+="<span class='"+estilo+"'><label>"+alias+": </label>"+valor+"</span><br>";textCopy.push(alias+":"+valor)}if(valor!==""&&link!==""){temp+="<span class='"+estilo+"'><label>"+alias+" : </label><a style='color:blue;cursor:pointer' target=_blanck href='"+link+"' >"+valor+"</a></span><br>";textCopy.push(alias+":"+valor)}if(img!==""){temp+=img+"<br>"}if(ds[s][tips[r]].tip.toLowerCase()==="sim"){textoTempSimples+=temp}mostra=true}catch(e){}}var temp1=[];$.each(temas[j].funcoesjs,function(key,value){if(value.tipo=="registro"){var parametros=[x,y,temas[j].tema];$.each(value.parametros,function(key1,value1){parametros.push(ds[s][value1].valor)});parametros="\""+parametros.join("\",\"")+"\"";temp1.push("<a class='toolTipBalaoFuncoes' href='javascript:void(0);' onclick='"+value.funcao+"("+parametros+")' >"+value.titulo+"</a><br>");if(value.script&&value.script!=""){i3GEO.util.scriptTag(value.script,"","funcaolayer"+value.funcao,false)}}});temp1=temp1.join(" ");textoTempSimples+=temp1+"</div>";if(ds[s].wkt&&ds[s].wkt.valor!=""){ds[s].tema=temas[j].tema;ds[s].titulo=titulo;wkts.push(ds[s])}}}catch(e){}}if(textoTempSimples!==""){textoSimples+=titulo+textoTempSimples}}if(mostra===true){if(i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.modal==true){i3GEO.janela.closeMsg(textoSimples);return}else{i3GEO.Interface[i3GEO.Interface.ATUAL].balao(textoSimples,textCopy,x,y,true,wkts.length)}}}n=wkts.length;if(n>0){if(i3GEO.Interface.ATUAL!="openlayers"){return}i3GEO.desenho.openlayers.criaLayerGrafico();var g,format,f,idunico,c=i3GEO.desenho.layergrafico.getSource();format=new ol.format.WKT();for(r=0;r<n;r+=1){f=format.readFeatures(wkts[r].wkt.valor);f=f[0];f.setProperties({origem:"pin"});g=f.getGeometry();g=i3GEO.util.projGeo2OSM(g);f.setGeometry(g);f.setId(i3GEO.util.uid());i3GEO.editor.setStyleByTypeFeature(f);i3GEO.editor.sel.setPropertiesDefault(f);wkts[r].wkt="",f.setProperties({"fat":wkts[r]});c.addFeature(f)}}}};
  259 +if(typeof(i3GEO)==='undefined'){var i3GEO={}}i3GEO.mapa={BALAOATIVO:true,OPENTIPIFEMPTY:true,TEMASINICIAISLIGADOS:"",TEMASINICIAIS:"",GEOXML:[],limpasel:function({verifica=false}={}){var sel=false;if(verifica==true){sel=i3GEO.arvoreDeCamadas.existeCamadaSel({msg:true})}else{sel=true}if(sel==true){i3GEO.php.limpasel(function(retorno){i3GEO.atualiza();i3GEO.Interface.atualizaMapa()},"")}},ativaAutoResize:function(){var ativo=true;window.onresize=function(){var Dw,Dh;Dw=window.innerWidth;Dh=window.innerHeight;i3GEO.tamanhodoc=[Dw,Dh];if(ativo===true){setTimeout(function(){i3GEO.reCalculaTamanho();i3GEO.guias.abreFecha("fecha");ativo=true},2000)}ativo=false}},ativaIdentifica:function(){i3GEO.eventos.MOUSECLIQUE=["i3GEO.mapa.dialogo.cliqueIdentificaDefault()"];i3GEO.eventos.adicionaEventos("MOUSECLIQUEPERM",["i3GEO.mapa.dialogo.cliqueIdentificaDefault()"]);i3GEO.eventos.removeEventos("MOUSECLIQUEPERM",["i3GEO.mapa.dialogo.verificaTipDefault()"]);i3GEO.eventos.cliquePerm.ativa()},ativaIdentificaBalao:function(){i3GEO.eventos.removeEventos("MOUSECLIQUEPERM",["i3GEO.mapa.dialogo.cliqueIdentificaDefault()"]);i3GEO.eventos.MOUSECLIQUE=["i3GEO.mapa.dialogo.verificaTipDefault()"];i3GEO.eventos.cliquePerm.ativa()},ativaTema:function(codigo){if(codigo){i3GEO.temaAtivo=codigo}},ativaLogo:function(){if(i3GEO.Interface.ATUAL==="googlemaps"){alert($trad("x21"));return}i3GEO.php.ativalogo(i3GEO.atualiza);var cr=$i("i3GEOcopyright");if(cr){if(cr.style.display==="block"){cr.style.display="none"}else{cr.style.display="block"}}},verifica:function(retorno){try{if(retorno.data){retorno=retorno.data}if(retorno.variaveis){retorno=retorno.variaveis}if((retorno==="erro")||(typeof(retorno)==='undefined')){i3GEO.janela.fechaAguarde();i3GEO.mapa.recupera.inicia()}i3GEO.mapa.recupera.TENTATIVA=0}catch(e){if(i3GEO.Interface.ATUAL==="openlayers"||i3GEO.Interface.ATUAL==="googlemaps"){i3GEO.janela.fechaAguarde();return}if(this.recupera.TENTATIVA===0){i3GEO.janela.tempoMsg("Erro no mapa. Sera feita uma tentativa de recuperacao.");i3GEO.mapa.recupera.inicia()}else{i3GEO.janela.tempoMsg("Recuperacao impossivel. Sera feita uma tentativa de reiniciar o mapa.");if(this.recupera.TENTATIVA===1){this.recupera.TENTATIVA=2;i3GEO.php.reiniciaMapa(i3GEO.atualiza)}}}},recupera:{TENTATIVA:0,inicia:function(){i3GEO.janela.fechaAguarde();if(this.recupera&&this.recupera.TENTATIVA===0){this.recupera.TENTATIVA++;this.recupera.restaura()}},restaura:function(){i3GEO.php.recuperamapa(i3GEO.atualiza)}},legendaIMAGEM:{obtem:function(funcao){i3GEO.php.criaLegendaImagem(funcao)}},compactaLayerGrafico:function(){var geos=false,geometrias=[],n=0,i,g;if(i3GEO.editorOL&&i3GEO.desenho.layergrafico&&i3GEO.desenho.layergrafico.features){geos=i3GEO.desenho.layergrafico.features;n=geos.length;for(i=0;i<n;i++){g={"atributos":geos[i].attributes,"geometria":geos[i].geometry.toString()};geometrias.push(g)}}g=JSON.stringify(geometrias);return i3GEO.util.base64encode(g)},desCompactaLayerGrafico:function(geometrias){geometrias=JSON.parse(geometrias);if(geometrias.length>0){var inicia=function(){if(!i3GEO.desenho.layergrafico){i3GEO.editorOL.criaLayerGrafico()}i3GEO.editor[i3GEO.Interface.ATUAL].ativaPainel();var n=geometrias.length,i;for(i=0;i<n;i++){i3GEO.editorOL.adicionaFeatureWkt(geometrias[i].geometria,geometrias[i].atributos)}i3GEO.editorOL.sobeLayersGraficos()};if(!i3GEO.editorOL){i3GEO.util.scriptTag(i3GEO.configura.locaplic+"/classesjs/compactados/classe_editorol_compacto.js",inicia,"editorol.js",true)}}},restauraGraficos:function(graficos){if(graficos.length>0){var inicia=function(){i3GEOF.graficointerativo1.restauraGraficos(graficos)};i3GEO.util.scriptTag(i3GEO.configura.locaplic+"/ferramentas/graficointerativo1/dependencias.php",inicia,"graficointerativo1",true)}},restauraTabelas:function(tabelas){if(tabelas.length>0){var inicia=function(){i3GEOF.tabela.restauraTabelas(tabelas)};i3GEO.util.scriptTag(i3GEO.configura.locaplic+"/ferramentas/tabela/dependencias.php",inicia,"tabela",true)}},aplicaPreferencias:function(cookies){var props,nprops,i,temp=[],pint;if(!cookies){cookies=i3GEO.util.pegaDadosLocal("preferenciasDoI3Geo")}if(cookies){props=cookies.split("::");nprops=props.length;for(i=0;i<nprops;i++){try{temp=props[i].split("|");pint=parseInt(temp[1],10);if(temp[1]==='true'||temp[1]==='false'){if(temp[1]==='true'){temp[1]=true}if(temp[1]==='false'){temp[1]=false}eval(temp[0]+" = "+temp[1]+";")}else if(pint+"px"==temp[1]){eval(temp[0]+" = '"+temp[1]+"';")}else if($.isNumeric(pint)){eval(temp[0]+" = "+temp[1]+";")}else{eval(temp[0]+" = '"+temp[1]+"';")}}catch(e){}}}},dialogo:{listaLayersWms:function(servico){i3GEO.janela.cria("400px","300px",i3GEO.configura.locaplic+"/ferramentas/conectarwms/listalayers.php?servico="+servico,"","","<div class='i3GeoTituloJanela'>"+$trad("a4")+"<a class=ajuda_usuario target=_blank href='"+i3GEO.configura.locaplic+"/ajuda_usuario.php?idcategoria=4&idajuda=28' ><b> </b></a></div>","i3GEO.conectarwms",false,"hd","","","",true)},wms:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.wms()","conectarwms","conectarwms","dependencias.php","i3GEOF.conectarwms.iniciaJanelaFlutuante()")},mascara:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.mascara()","mascara","mascara","dependencias.php","i3GEOF.mascara.iniciaJanelaFlutuante()")},html2canvas:function(obj){var temp=function(){i3GEOF.html2canvas.iniciaJanelaFlutuante(obj)};i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.html2canvas()","html2canvas","html2canvas","dependencias.php",temp)},wkt2layer:function(wkt,texto){var temp=function(){i3GEOF.wkt2layer.iniciaJanelaFlutuante(wkt,texto)};i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.wkt2layer()","wkt2layer","wkt2layer","dependencias.php",temp)},atalhosedicao:function(idtema){i3GEO.mapa.ativaTema(idtema);i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.atalhosedicao()","atalhosedicao","atalhosedicao","dependencias.php","i3GEOF.atalhosedicao.iniciaJanelaFlutuante()")},geolocal:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.geolocal()","geolocal","geolocal","dependencias.php","i3GEOF.geolocal.iniciaJanelaFlutuante()")},listaDeMapasBanco:function(idonde){if(idonde){i3GEO.guias.CONFIGURA["mapas"].click.call(this,idonde);return}if(i3GEO.guias.CONFIGURA["mapas"]){var temp,janela,id="listaMapa"+Math.random();janela=i3GEO.janela.cria("800px","500px",i3GEO.configura.locaplic+"/mapas/indexnomenu.php","","","<span class='i3GeoTituloJanelaBsNolink' ></span></div>",id)}else{window.open(i3GEO.configura.locaplic+"/rss/rssmapas.php","_blank")}},congelaMapa:function(){var url="",idjanela=i3GEO.util.generateId(),cabecalho=function(){},titulo,minimiza=function(){i3GEO.janela.minimiza(idjanela)};if(i3GEO.Interface.ATUAL==="openlayers"||i3GEO.Interface.ATUAL==="googlemaps"){url=i3GEO.configura.locaplic+"/ferramentas/congelamapa/openlayers3.php?g_sid="+i3GEO.configura.sid+"&ext="+i3GEO.util.extOSM2Geo(i3GEO.parametros.mapexten);titulo="<span class='i3GeoTituloJanelaBsNolink' ></span></div>";i3GEO.janela.cria("520px","370px",url,"","",titulo,idjanela,false,"hd",cabecalho,minimiza,"","","","",false,"","123")}},metaestat:function(largura,altura,topo,esquerda,Interface,conexao){var temp=function(){i3GEOF.metaestat.MULTIPARAMETROS=true;if(Interface){i3GEOF.metaestat.INTERFACE=Interface}if(conexao){i3GEOF.metaestat.CONEXAODEFAULT=conexao}i3GEOF.metaestat.INTERFACE="flutuante";i3GEOF.metaestat.principal.inicia(null,largura,altura,topo,esquerda)};i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.metaestat()","metaestat","metaestat","dependencias.php",temp)},metaestatListaMapas:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.metaestatListaMapas()","metaestat","listamapas","listamapas.js","i3GEOF.listamapas.iniciaJanelaFlutuante()")},preferencias:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.preferencias()","preferencias","preferencias")},locregiao:function(largura,altura,topo,esquerda){var temp=function(){i3GEOF.locregiao.iniciaDicionario(largura,altura,topo,esquerda)};i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.locregiao()","metaestat","locregiao","locregiao.js",temp)},filtraregiao:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.filtraregiao()","metaestat","locregiao","locregiao.js","i3GEOF.locregiao.abreComFiltro()")},filtraperiodo:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.filtraperiodo()","filtraperiodo","filtraperiodo","dependencias.php","i3GEOF.filtraperiodo.iniciaJanelaFlutuante()")},animacao:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.animacao()","animacao","animacao","dependencias.php","i3GEOF.animacao.start()")},opacidade:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.opacidademapa()","opacidademapa","opacidademapa","dependencias.php","i3GEOF.opacidademapa.start()")},t3d:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.t3d()","3d","t3d")},imprimir:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.imprimir()","imprimir","imprimir","dependencias.php","i3GEOF.imprimir.iniciaJanelaFlutuante()")},mostraExten:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.mostraExten()","mostraexten","mostraExten","dependencias.php","i3GEOF.mostraExten.iniciaJanelaFlutuante()")},outputformat:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.outputformat()","outputformat","outputformat","dependencias.php","i3GEOF.outputformat.iniciaJanelaFlutuante()")},autoredesenha:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.autoredesenha()","opcoes_autoredesenha","opcoesTempo","dependencias.php","i3GEOF.opcoesTempo.iniciaJanelaFlutuante()")},salvaMapa:function(){if(i3GEO.parametros===""){i3GEO.janela.tempoMsg("Essa opcao nao pode ser ativada. Consulte o administrador do sistema. Mapfile nao esta exposto.");return}i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.salvaMapa()","salvamapa","salvaMapa","dependencias.php","i3GEOF.salvaMapa.iniciaJanelaFlutuante()")},carregaMapa:function(){i3GEO.util.dialogoFerramenta("i3GEO.tema.dialogo.carregaMapa()","carregamapa","carregaMapa","dependencias.php","i3GEOF.carregaMapa.iniciaJanelaFlutuante()")},convertews:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.convertews()","convertews","converteMapaWS","dependencias.php","i3GEOF.converteMapaWS.iniciaJanelaFlutuante()")},convertekml:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.convertekml()","convertemapakml","converteMapaKml","dependencias.php","i3GEOF.converteMapaKml.iniciaJanelaFlutuante()")},queryMap:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.queryMap()","opcoes_querymap","opcoesQuery","dependencias.php","i3GEOF.opcoesQuery.iniciaJanelaFlutuante()")},template:function(){i3GEO.janela.cria("300px","400px",i3GEO.configura.locaplic+"/ferramentas/template/index.htm","","","<div class='i3GeoTituloJanela'>Template<a class=ajuda_usuario target=_blank href='"+i3GEO.configura.locaplic+"/ajuda_usuario.php?idcategoria=1&idajuda=8' ><b> </b></a></div>")},tamanho:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.tamanho()","opcoes_tamanho","opcoesTamanho","dependencias.php","i3GEOF.opcoesTamanho.iniciaJanelaFlutuante()")},tipoimagem:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.tipoimagem()","tipoimagem","tipoimagem","dependencias.php","i3GEOF.tipoimagem.iniciaJanelaFlutuante()")},corFundo:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.corFundo()","opcoes_fundo","opcoesFundo","dependencias.php","i3GEOF.opcoesFundo.iniciaJanelaFlutuante()")},opcoesEscala:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.opcoesEscala()","opcoes_escala","opcoesEscala","dependencias.php","i3GEOF.opcoesEscala.iniciaJanelaFlutuante()")},opcoesLegenda:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.opcoesLegenda()","opcoes_legenda","opcoesLegenda","dependencias.php","i3GEOF.opcoesLegenda.iniciaJanelaFlutuante()")},opcoesMapaRef:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.opcoesMapaRef()","opcoes_maparef","opcoesMaparef","dependencias.php","i3GEOF.opcoesMaparef.iniciaJanelaFlutuante()")},gradeCoord:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.gradeCoord()","gradecoord","gradeCoord","dependencias.php","i3GEOF.gradeCoord.iniciaJanelaFlutuante()")},cliqueTexto:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.cliqueTexto()","inseretxt","inseretxt","dependencias.php","i3GEOF.inseretxt.iniciaJanelaFlutuante()")},selecao:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.selecao()","selecao","selecao","dependencias.php","i3GEOF.selecao.iniciaJanelaFlutuante()")},cliquePonto:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.cliquePonto()","inserexy2","inserexy","dependencias.php","i3GEOF.inserexy.iniciaJanelaFlutuante()")},cliqueGrafico:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.cliqueGrafico()","inseregrafico","insereGrafico","dependencias.php","i3GEOF.insereGrafico.iniciaJanelaFlutuante()")},cliqueIdentificaDefault:function(x,y,tema){if(!x){x=objposicaocursor.ddx;y=objposicaocursor.ddy}var temp=function(){i3GEOF.identifica.start({"x":x,"y":y,"tema":tema})};if(typeof(i3GEOF.identifica)==='undefined'){var js=i3GEO.configura.locaplic+"/ferramentas/identifica/dependencias.php";i3GEO.util.scriptTag(js,temp,"i3GEOF.identifica_script")}else{temp()}},verificaTipDefault:function(x,y){if(i3GEO.mapa.BALAOATIVO==false){return}if(!x){x=objposicaocursor.ddx}if(!y){y=objposicaocursor.ddy}if(x===-1||y===-1||i3GEO.eventos.cliquePerm.ativo===false||i3GEO.eventos.cliquePerm.status===false){return}i3GEO.eventos.cliquePerm.status=false;var ntemas,etiquetas,j,temp;objposicaocursor.ddx=-1;objposicaocursor.ddy=-1;ntemas=i3GEO.arvoreDeCamadas.CAMADAS.length;etiquetas=false;for(j=0;j<ntemas;j+=1){if(i3GEO.arvoreDeCamadas.CAMADAS[j].etiquetas!==""||i3GEO.arvoreDeCamadas.CAMADAS[j].identifica=="SIM"){etiquetas=true}}if(etiquetas===false){return}if(i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.url!=""&&i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.templateModal==""){$.get(i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.url+"&xx="+x+"&yy="+y,function(data){i3GEO.janela.closeMsg(data)});return}if(i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.templateModal!=""){if(i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.url!=""){var temp=i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.url+"&xx="+x+"&yy="+y;temp=i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.templateModal.replace("{{{url}}}",temp);i3GEO.janela.closeMsg(temp)}else{i3GEO.janela.closeMsg(i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.templateModal)}return}var res=i3GEO.configura.ferramentas.identifica.resolution;var bdiv=document.createElement("div");bdiv.className="waitInfoWindow";bdiv.style.width=res+"px";bdiv.style.height=res+"px";bdiv.style.top=(res/2*-1)+"px";var b=new ol.Overlay({element:bdiv,stopEvent:true,autoPan:false,origem:"balao",autoPanAnimation:false,positioning:"center-center",position:i3GEO.util.projGeo2OSM(new ol.geom.Point([x,y])).getCoordinates()});i3geoOL.addOverlay(b);temp=function(retorno){i3geoOL.removeOverlay(b);i3GEO.mapa.montaTip(retorno,x,y)};i3GEO.php.identifica3(temp,x,y,res,"tip",i3GEO.configura.locaplic,i3GEO.configura.sid,"ligados",i3GEO.parametros.mapexten,"","sim")}},montaTip:function(retorno,xx,yy){var textCopy=[],textoSimples="",textoTempSimples="",x,y,temp,n,mostra,res,temas,ntemas,titulo,tips,j,ntips,r,ds,nds,s,configura=i3GEO.configura,wkts=[];i3GEO.eventos.cliquePerm.status=true;mostra=false;if(retorno.data){retorno=retorno.data;temp=retorno[0].xy.split(",");x=temp[0]*1;y=temp[1]*1}else{x=xx;y=yy;mostra=true;textoSimples=$trad("balaoVazio");wkt=[];if(i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.openTipNoData==false){mostra=false}}if(retorno!==""){res="";ntemas=0;temas=retorno;if(temas){ntemas=temas.length}for(j=0;j<ntemas;j+=1){titulo=temas[j].nome;textCopy.push(titulo);var temp1=[];$.each(temas[j].funcoesjs,function(key,value){if(value.tipo=="layer"){var parametros=[x,y,temas[j].tema];$.each(value.parametros,function(key1,value1){parametros.push(ds[s][value1].valor)});parametros="\""+parametros.join("\",\"")+"\"";temp1.push("<a class='toolTipBalaoFuncoes' href='javascript:void(0);' onclick='"+value.funcao+"("+parametros+")' >"+value.titulo+"</a><br>");if(value.script&&value.script!=""){i3GEO.util.scriptTag(value.script,"","funcaolayer"+value.funcao,false)}}});temp1=temp1.join(" ");var mais="<button style='margin: 2px;padding: 0px;vertical-align: middle;position: relative;top: -7px;' class='btn btn-default btn-xs' onclick=\"i3GEO.mapa.dialogo.cliqueIdentificaDefault("+x+","+y+",'"+temas[j].tema+"');return false;\" ><span style='opacity:0.5;vertical-align: middle;padding: 0px;' class='material-icons'>info</span></button>";if(ntemas==1){mais=""}titulo="<div class='toolTipBalaoTitulo'>"+mais+" <b>"+titulo+"</b><br>"+temp1+"</div>";tips=temas[j].resultado.todosItens;ntips=tips.length;ins="";textoTempSimples="";ds=temas[j].resultado.dados;if(ds!==" "&&ds[0]&&ds[0]!=" "){try{nds=ds.length;for(s=0;s<nds;s+=1){textoTempSimples+="<div class='toolTipBalaoTexto'>";for(r=0;r<ntips;r+=1){try{temp="";var alias=ds[s][tips[r]].alias;var valor=ds[s][tips[r]].valor;var link=ds[s][tips[r]].link;var img=ds[s][tips[r]].img;var estilo="tooltip-"+temas[j].tema;if(valor!==""&&link===""){temp+="<span class='"+estilo+"'><label>"+alias+": </label>"+valor+"</span><br>";textCopy.push(alias+":"+valor)}if(valor!==""&&link!==""){temp+="<span class='"+estilo+"'><label>"+alias+" : </label><a style='color:blue;cursor:pointer' target=_blanck href='"+link+"' >"+valor+"</a></span><br>";textCopy.push(alias+":"+valor)}if(img!==""){temp+=img+"<br>"}if(ds[s][tips[r]].tip.toLowerCase()==="sim"){textoTempSimples+=temp}mostra=true}catch(e){}}var temp1=[];$.each(temas[j].funcoesjs,function(key,value){if(value.tipo=="registro"){var parametros=[x,y,temas[j].tema];$.each(value.parametros,function(key1,value1){parametros.push(ds[s][value1].valor)});parametros="\""+parametros.join("\",\"")+"\"";temp1.push("<a class='toolTipBalaoFuncoes' href='javascript:void(0);' onclick='"+value.funcao+"("+parametros+")' >"+value.titulo+"</a><br>");if(value.script&&value.script!=""){i3GEO.util.scriptTag(value.script,"","funcaolayer"+value.funcao,false)}}});temp1=temp1.join(" ");textoTempSimples+=temp1+"</div>";if(ds[s].wkt&&ds[s].wkt.valor!=""){ds[s].tema=temas[j].tema;ds[s].titulo=titulo;wkts.push(ds[s])}}}catch(e){}}if(textoTempSimples!==""){textoSimples+=titulo+textoTempSimples}}if(mostra===true){if(i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.modal==true){i3GEO.janela.closeMsg(textoSimples);return}else{i3GEO.Interface[i3GEO.Interface.ATUAL].balao(textoSimples,textCopy,x,y,true,wkts.length)}}}n=wkts.length;if(n>0){if(i3GEO.Interface.ATUAL!="openlayers"){return}i3GEO.desenho.openlayers.criaLayerGrafico();var g,format,f,idunico,c=i3GEO.desenho.layergrafico.getSource();format=new ol.format.WKT();for(r=0;r<n;r+=1){f=format.readFeatures(wkts[r].wkt.valor);f=f[0];f.setProperties({origem:"pin"});g=f.getGeometry();g=i3GEO.util.projGeo2OSM(g);f.setGeometry(g);f.setId(i3GEO.util.uid());i3GEO.editor.setStyleByTypeFeature(f);i3GEO.editor.sel.setPropertiesDefault(f);wkts[r].wkt="",f.setProperties({"fat":wkts[r]});c.addFeature(f)}}}};
260 260 //
261 261 //compactados/tema_compacto.js
262 262 if(typeof(i3GEO)==='undefined'){var i3GEO={}}i3GEO.tema={TEMPORIZADORESID:{},ativaFerramentas:function(camada){if(camada.ferramentas&&camada.ferramentas!=""){var f=camada.ferramentas;if(f.tme&&f.tme.auto&&f.tme.auto.toLowerCase()==="sim"){i3GEO.tema.dialogo.tme(camada.name)}if(f.storymap&&f.storymap.auto&&f.storymap.auto.toLowerCase()==="sim"){i3GEO.tema.dialogo.storymap(camada.name)}if(f.animagif&&f.animagif.auto&&f.animagif.auto.toLowerCase()==="sim"){i3GEO.tema.dialogo.animagif(camada.name)}}},exclui:function(tema,confirma){if(confirma&&confirma===true){i3GEO.janela.confirma($trad("removerDoMapa"),300,$trad("x14"),"",function(){i3GEO.tema.exclui(tema)});return}try{i3GEO.pluginI3geo.removeCamada(tema)}catch(r){}var excluir=[tema];var camada=i3GEO.arvoreDeCamadas.CAMADASINDEXADAS[tema];$.each(i3GEO.arvoreDeCamadas.CAMADAS,function(index,v){if((camada.group!=""&&camada.group==v.group)||camada.name==v.group){excluir.push(v.name)}});i3GEO.php.excluitema(function(){i3GEO.atualiza()},excluir);i3GEO.mapa.ativaTema();i3GEO.temaAtivo=""},fonte:function(tema,popup,link){i3GEO.mapa.ativaTema(tema);if(!link){link=i3GEO.configura.locaplic+"/ferramentas/abrefontemapfile.php?tema="+tema}if(!popup){window.open(link)}else{i3GEO.janela.cria((i3GEO.parametros.w/2)+25+"px",(i3GEO.parametros.h/2)+18+"px",link,"","","<div class='i3GeoTituloJanela'>Metadata</div>","metadata"+tema)}},sobe:function(tema){i3GEO.php.sobetema(function(retorno){i3GEO.atualiza(retorno);if(i3GEO.Interface.ATUAL==="openlayers"){i3GEO.Interface.openlayers.ordenaLayers()}},tema)},desce:function(tema){i3GEO.php.descetema(function(retorno){i3GEO.atualiza(retorno);if(i3GEO.Interface.ATUAL==="openlayers"){i3GEO.Interface.openlayers.ordenaLayers()}},tema)},zoom:function(tema){i3GEO.mapa.ativaTema(tema);i3GEO.php.zoomtema(i3GEO.atualiza,tema)},zoomsel:function(tema){i3GEO.mapa.ativaTema(tema);i3GEO.php.zoomsel(i3GEO.atualiza,tema)},limpasel:function(tema){i3GEO.mapa.ativaTema(tema);i3GEO.php.limpasel(function(retorno){i3GEO.atualiza(retorno);i3GEO.Interface.atualizaTema(retorno,tema)},tema)},mudatransp:function(idtema,valor){i3GEO.mapa.ativaTema(idtema);if(!valor){if($i("tr"+idtema)){valor=$i("tr"+idtema).value}}if(valor!==""){i3GEO.php.mudatransp(function(retorno){i3GEO.atualiza(retorno);i3GEO.Interface.atualizaTema(retorno,idtema)},idtema,valor)}else{i3GEO.janela.tempoMsg($trad("x16"))}},invertestatuslegenda:function(idtema){i3GEO.mapa.ativaTema(idtema);i3GEO.php.invertestatuslegenda(function(retorno){i3GEO.atualiza(retorno);i3GEO.arvoreDeCamadas.atualiza()},idtema)},alteracorclasse:function(idtema,idclasse,rgb,objImg){var w=25,h=25,temp;if(objImg&&objImg.style&&objImg.style.width){w=parseInt(objImg.style.width,10);h=parseInt(objImg.style.height,10)}i3GEO.mapa.ativaTema(idtema);temp=function(retorno){if(objImg){objImg.src=retorno.data}else{i3GEO.legenda.CAMADAS="";i3GEO.atualiza()}i3GEO.Interface.atualizaTema("",idtema)};i3GEO.php.aplicaCorClasseTema(temp,idtema,idclasse,rgb,w,h)},mudanome:function(idtema,valor){i3GEO.mapa.ativaTema(idtema);if(!valor){return}if(valor!==""){i3GEO.php.mudanome(i3GEO.atualiza,idtema,valor)}else{i3GEO.janela.tempoMsg($trad("x18"))}},copia:function(idtema){i3GEO.php.copiatema(i3GEO.atualiza,idtema)},contorno:function(idtema){var temp=function(){i3GEO.atualiza();i3GEO.Interface.atualizaTema("",idtema);i3GEO.arvoreDeCamadas.atualizaLegenda(idtema)};i3GEO.php.contorno(temp,idtema)},temporizador:function(idtema,tempo){var t;if(!tempo){if($i("temporizador"+idtema)){tempo=$i("temporizador"+idtema).value}else{tempo=0}}if(tempo!=""&&parseInt(tempo,10)>0){t=function(){if(!$i("arrastar_"+idtema)){delete(i3GEO.tema.TEMPORIZADORESID[idtema]);return}i3GEO.Interface.atualizaTema("",idtema)};i3GEO.tema.TEMPORIZADORESID[idtema]={tempo:tempo,idtemporizador:setInterval(t,parseInt(tempo,10)*1000)}}else{try{window.clearInterval(i3GEO.tema.TEMPORIZADORESID[idtema].idtemporizador);delete(i3GEO.tema.TEMPORIZADORESID[idtema])}catch(e){}}},cortina:{_cortinaCompose:"",_slide:"",start:function(obj,tema){var layer=i3geoOL.getLayersByName(tema)[0];if(i3GEO.tema.cortina._cortinaCompose==""){var a=layer.on('precompose',function(event){var ctx=event.context;var width=ctx.canvas.width*(obj.value/100);ctx.save();ctx.beginPath();ctx.rect(width,0,ctx.canvas.width-width,ctx.canvas.height);ctx.clip()});var b=layer.on('postcompose',function(event){var ctx=event.context;ctx.restore()});i3GEO.tema.cortina._cortinaCompose=[a,b];obj.addEventListener('input',function(){i3geoOL.render()},false)}},stop:function(){ol.Observable.unByKey(i3GEO.tema.cortina._cortinaCompose);i3GEO.tema.cortina._cortinaCompose="";i3geoOL.renderSync()}},dialogo:{animagif:function(tema){if(!tema){tema=""}var temp=function(){i3GEOF.animagif.iniciaJanelaFlutuante(tema)};i3GEO.util.dialogoFerramenta("i3GEO.tema.dialogo.animagif()","animagif","animagif","dependencias.php",temp)},storymap:function(tema){if(!tema){tema=""}var temp=function(){i3GEOF.storymap.iniciaJanelaFlutuante(tema)};i3GEO.util.dialogoFerramenta("i3GEO.tema.dialogo.storymap()","storymap","storymap","dependencias.php",temp)},tme:function(tema){if(!tema){tema=""}var temp=function(){i3GEOF.tme.iniciaJanelaFlutuante(tema)};i3GEO.util.dialogoFerramenta("i3GEO.tema.dialogo.tme()","tme","tme","dependencias.php",temp)},mostraWms:function(tema){i3GEO.janela.mensagemSimples(i3GEO.configura.locaplic+"/ogc.php?tema="+tema,"WMS url")},comentario:function(tema){i3GEO.janela.cria("530px","330px",i3GEO.configura.locaplic+"/ferramentas/comentarios/index.php?tema="+tema+"&g_sid="+i3GEO.configura.sid+"&locaplic="+i3GEO.configura.locaplic,"","","<img src='"+i3GEO.configura.locaplic+"/imagens/player_volta.png' style=cursor:pointer onclick='javascript:history.go(-1)'><span style=position:relative;top:-2px; > "+$trad("x19")+" "+tema+"</span><a class=ajuda_usuario target=_blank href='"+i3GEO.configura.locaplic+"/ajuda_usuario.php?idcategoria=7&idajuda=68' ><b> </b></a>","comentario"+Math.random())},mmscale:function(tema){i3GEO.mapa.ativaTema(tema);i3GEO.util.dialogoFerramenta("i3GEO.tema.dialogo.mmscale()","mmscale","mmscale","dependencias.php","i3GEOF.mmscale.iniciaJanelaFlutuante()")},atalhoscamada:function(tema){i3GEO.mapa.ativaTema(tema);i3GEO.util.dialogoFerramenta("i3GEO.tema.dialogo.atalhoscamada()","atalhoscamada","atalhoscamada","dependencias.php","i3GEOF.atalhoscamada.iniciaJanelaFlutuante()")},abreKml:function(tema,tipo){if(arguments.lenght===1){tipo="kml"}if(typeof(i3GEOF.converteKml)==='undefined'){i3GEO.util.scriptTag(i3GEO.configura.locaplic+"/ferramentas/convertekml/index.js","i3GEOF.converteKml.criaJanelaFlutuante('"+tema+"','"+tipo+"')","i3GEOF.converteKml_script")}else{i3GEOF.converteKml.criaJanelaFlutuante(tema,tipo)}},salvaMapfile:function(idtema){i3GEO.mapa.ativaTema(idtema);i3GEO.util.dialogoFerramenta("i3GEO.tema.dialogo.salvaMapfile()","salvamapfile","salvamapfile")},graficotema:function(idtema,propriedades){if(idtema&&idtema!=""){var t=i3GEO.arvoreDeCamadas.pegaTema(idtema);if(t.status<2){i3GEO.janela.tempoMsg($trad("deveLigada"));return}}i3GEO.mapa.ativaTema(idtema);var temp=function(){i3GEOF.graficoTema.iniciaJanelaFlutuante(propriedades)};i3GEO.util.dialogoFerramenta("i3GEO.tema.dialogo.graficotema()","graficotema","graficoTema","dependencias.php",temp)},toponimia:function(idtema){if(idtema&&idtema!=""){var t=i3GEO.arvoreDeCamadas.pegaTema(idtema);if(t.status<2){i3GEO.janela.tempoMsg($trad("deveLigada"));return}}i3GEO.mapa.ativaTema(idtema);i3GEO.util.dialogoFerramenta("i3GEO.tema.dialogo.toponimia()","toponimia","toponimia","dependencias.php","i3GEOF.toponimia.iniciaJanelaFlutuante()")},filtro:function(idtema,modoCalculadora,idRetorno){if(idtema&&idtema!=""){var t=i3GEO.arvoreDeCamadas.pegaTema(idtema);if(t.status<2){i3GEO.janela.tempoMsg($trad("deveLigada"));return}}i3GEO.mapa.ativaTema(idtema);var temp=function(){i3GEOF.filtro.iniciaJanelaFlutuante(modoCalculadora,idRetorno)};i3GEO.util.dialogoFerramenta("i3GEO.tema.dialogo.filtro()","filtro","filtro","dependencias.php",temp)},procuraratrib:function(idtema){i3GEO.mapa.ativaTema(idtema);i3GEO.util.dialogoFerramenta("i3GEO.tema.dialogo.procuraratrib()","busca","busca","dependencias.php","i3GEOF.busca.iniciaJanelaFlutuante()")},tabela:function(idtema){if(idtema&&idtema!=""){var t=i3GEO.arvoreDeCamadas.pegaTema(idtema);if(t.status<2){i3GEO.janela.tempoMsg($trad("deveLigada"));return}}i3GEO.mapa.ativaTema(idtema);i3GEO.util.dialogoFerramenta("i3GEO.tema.dialogo.tabela()","tabela","tabela","dependencias.php","i3GEOF.tabela.iniciaJanelaFlutuante()")},etiquetas:function(idtema){if(idtema&&idtema!=""){var t=i3GEO.arvoreDeCamadas.pegaTema(idtema);if(t.status<2){i3GEO.janela.tempoMsg($trad("deveLigada"));return}}i3GEO.mapa.ativaTema(idtema);i3GEO.util.dialogoFerramenta("i3GEO.tema.dialogo.etiquetas()","etiqueta","etiqueta","dependencias.php","i3GEOF.etiqueta.iniciaJanelaFlutuante()")},funcaojstip:function(){i3GEO.util.dialogoFerramenta("i3GEO.tema.dialogo.funcaojstip()","funcaojstip","funcaojstip","dependencias.php","i3GEOF.funcaojstip.iniciaJanelaFlutuante()")},editaLegenda:function(idtema){if(idtema&&idtema!=""){var t=i3GEO.arvoreDeCamadas.pegaTema(idtema);if(t.status<2){i3GEO.janela.tempoMsg($trad("deveLigada"));return}}i3GEO.mapa.ativaTema(idtema);i3GEO.util.dialogoFerramenta("i3GEO.tema.dialogo.editaLegenda()","legenda","legenda","dependencias.php","i3GEOF.legenda.iniciaJanelaFlutuante()")},editaClasseLegenda:function(idtema,idclasse){var t=i3GEO.arvoreDeCamadas.pegaTema(idtema);if(t.status<2){i3GEO.janela.tempoMsg($trad("deveLigada"));return}i3GEO.mapa.ativaTema(idtema);var temp=function(){i3GEOF.legenda.aposIniciar=function(){i3GEOF.legenda.classe=0;i3GEOF.legenda.estilo=0;i3GEOF.legenda.editaSimbolo('i3GEOlegendaid_'+idtema+"-"+idclasse);i3GEOF.legenda.aposIniciar=function(){}};i3GEOF.legenda.iniciaJanelaFlutuante(idtema)};i3GEO.util.dialogoFerramenta("i3GEO.tema.dialogo.editaLegenda()","legenda","legenda","dependencias.php",temp)},download:function(idtema){i3GEO.mapa.ativaTema(idtema);i3GEO.util.dialogoFerramenta("i3GEO.tema.dialogo.download()","download","download")},ogcwindow:function(idtema){i3GEO.mapa.ativaTema(idtema);window.open(i3GEO.configura.locaplic+"/ogc.htm?temaOgc="+idtema)},sld:function(idtema){i3GEO.mapa.ativaTema(idtema);i3GEO.janela.cria("500px","350px",i3GEO.configura.locaplic+"/classesphp/mapa_controle.php?funcao=tema2sld&tema="+idtema+"&g_sid="+i3GEO.configura.sid,"","","<div class='i3GeoTituloJanela'>SLD<a class=ajuda_usuario target=_blank href='"+i3GEO.configura.locaplic+"/ajuda_usuario.php?idcategoria=5&idajuda=41' ><b> </b></a></div>")},aplicarsld:function(idtema){i3GEO.mapa.ativaTema(idtema);i3GEO.util.dialogoFerramenta("i3GEO.tema.dialogo.aplicarsld()","aplicarsld","aplicarsld","dependencias.php","i3GEOF.aplicarsld.iniciaJanelaFlutuante()")},editorsql:function(idtema){i3GEO.mapa.ativaTema(idtema);i3GEO.util.dialogoFerramenta("i3GEO.tema.dialogo.editorsql()","editorsql","editorsql","dependencias.php","i3GEOF.editorsql.iniciaJanelaFlutuante()")},mudanome:function(idtema){i3GEO.mapa.ativaTema(idtema);var temp=function(){var valor=$i("i3GEOjanelaprompt").value;i3GEO.tema.mudanome(idtema,valor)};i3GEO.janela.prompt($trad("novonome"),temp)}}};
... ... @@ -277,7 +277,7 @@ if(typeof(i3GEO)===&#39;undefined&#39;){var i3GEO={}}YAHOO.namespace(&quot;i3GEO.janela&quot;);YAH
277 277 if(typeof(i3GEO)==='undefined'){var i3GEO={}}i3GEO.guias={LARGURAGUIAMOVEL:350,CONFIGURA:{"zoomanterior":{icone:"imagens/gisicons/zoom-last.png",titulo:"",id:"guiaZoomanterior",idconteudo:"",click:function(){i3GEO.navega.extensaoAnterior()}},"zoomli":{icone:"imagens/gisicons/zoom-region.png",titulo:$trad("d3"),id:"guiaZoomli",idconteudo:"",click:function(){if(DetectaMobile("DetectMobileLong")){i3GEO.janela.tempoMsg($trad("x70"))}else{i3GEO.janela.tempoMsg($trad("x69"))}if(i3GEO.Interface.ATUAL==="googlemaps"){i3GeoMap.setOptions({draggable:true})}}},"zoomproximo":{icone:"imagens/gisicons/zoom-next.png",titulo:"",id:"guiaZoomproximo",idconteudo:"",click:function(){i3GEO.navega.extensaoProximo()}},"zoomtot":{icone:"imagens/gisicons/zoom-extent.png",titulo:$trad("d2"),id:"guiaZoomtot",idconteudo:"",click:function(){if(i3GEO.Interface.ATUAL==="openlayers"){i3GEO.Interface.openlayers.zoom2ext(i3GEO.parametros.extentTotal);return}if(i3GEO.Interface.ATUAL==="googlemaps"){i3GEO.Interface.googlemaps.zoom2extent(i3GEO.parametros.extentTotal);return}}},"identificaBalao":{icone:"imagens/gisicons/tips.png",titulo:$trad("d7a"),id:"guiaIdentificaBalao",idconteudo:"",click:function(){i3GEO.mapa.ativaIdentificaBalao()}},"identifica":{icone:"imagens/gisicons/pointer-info.png",titulo:$trad("d7"),id:"guiaIdentifica",idconteudo:"",click:function(){i3GEO.mapa.ativaIdentifica()}},"mapas":{icone:"imagens/gisicons/show-links.png",titulo:"Links",id:"guia5",idconteudo:"guia5obj",mostraLink:function(id,url){$i("i3geoMapasLink_"+id).innerHTML="<a href='"+url+"' target=_blank >"+$trad("abreMapa")+"</a>"},click:function(onde){if(!onde){onde=i3GEO.guias.CONFIGURA.mapas.idconteudo}var pegaMapas=function(retorno){var ins,mapa,ig1lt,ig1,nome,lkd,link,temp,combo,urlinterface;ins="<br><div id='banners' style='overflow:auto;text-align:center'>";ins+="<br>";mapa=retorno.data.mapas;ig1lt=mapa.length;ig1=0;urlinterface=window.location.origin+window.location.pathname;if(ig1lt>0){do{temp=mapa[ig1];nome=temp.NOME;if(temp.PUBLICADO){if(temp.PUBLICADO.toLowerCase()==="nao"){nome="<s>"+nome+"</s>"}}lkd=temp.LINK;link=i3GEO.configura.locaplic+"/ms_criamapa.php?temasa="+temp.TEMAS+"&layers="+temp.LIGADOS;if(temp.EXTENSAO!==""){link+="&mapext="+temp.EXTENSAO}if(temp.OUTROS!==""){link+="&"+temp.OUTROS}if(lkd!==""){link=lkd}ins+="<div style='cursor:pointer; height: 120px;float: left;width:45%;background-color:white;padding:5px;margin:5px;border: 1px solid #F0F0F0;border-radius: 5px;box-shadow: 1px 1px 1px 1px #D3D3D3;' >";if(temp.IMAGEM&&temp.IMAGEM!=""){ins+="<div style='float:left;margin:2px' ><a href='"+link+"' style=text-align:center;text-decoration:none; >"+"<img src='"+temp.IMAGEM+"'></a></div>"}nome+=" ("+temp.ID_MAPA+")";if(temp.CONTEMMAPFILE=="nao"){ins+="<div class=paragrafo style='text-align:left;'>"+"<a href='"+link+"' style=text-align:left;text-decoration:none; >"+nome+"</a></div>"}else{combo="<select style='width:170px;' onchange='i3GEO.guias.CONFIGURA.mapas.mostraLink("+ig1+",this.value)'>"+"<option value=''>"+$trad("x103")+":</option>"+"<option value='"+link+"'>Como foi salvo</option>"+"<option value='"+link+"&interface="+urlinterface+"'>Com a interface atual</option>"+"<option value='"+i3GEO.configura.locaplic+"/mashups/openlayers.php?numzoomlevels=18&restauramapa="+temp.ID_MAPA+"&fundo=e_wsm'>Openlayers com todos os botoes</option>"+"<option value='"+i3GEO.configura.locaplic+"/mashups/openlayers.php?numzoomlevels=18&restauramapa="+temp.ID_MAPA+"&fundo=est_wms'>Sem o fundo</option>"+"<option value='"+i3GEO.configura.locaplic+"/mashups/openlayers.php?numzoomlevels=18&restauramapa="+temp.ID_MAPA+"&fundo=e_wsm&botoes=legenda pan zoombox zoomtot zoomin zoomout distancia area identifica'>Com botoes principais</option>"+"<option value='"+i3GEO.configura.locaplic+"/mashups/osm.php?numzoomlevels=18&restauramapa="+temp.ID_MAPA+"&fundo=e_wsm&botoes=legenda pan zoombox zoomtot zoomin zoomout distancia area identifica'>Com botoes principais e OSM</option>"+"<option value='"+i3GEO.configura.locaplic+"/mashups/openlayers.php?numzoomlevels=18&restauramapa="+temp.ID_MAPA+"&botoes=legenda pan zoombox zoomtot zoomin zoomout'>Botoes de navegacao</option>"+"</select>";ins+="<div style='float:left;margin:2px'>"+"<img src='"+i3GEO.configura.locaplic+"/ferramentas/salvamapa/geraminiatura.php?w=100&h=67&restauramapa="+temp.ID_MAPA+"'></div><div class=paragrafo style='text-align:left;'><a href='"+link+"' style=text-align:center;text-decoration:none; >"+nome+"</a></div>"+combo+"<br><div style='cursor:pointer;' id='i3geoMapasLink_"+ig1+"' ></div>"}ins+="</div>";ig1++}while(ig1<ig1lt)}$i(onde).innerHTML=ins+"</div>"};if($i(i3GEO.guias.CONFIGURA.mapas.idconteudo)){$i(i3GEO.guias.CONFIGURA.mapas.idconteudo).innerHTML="Aguarde..."}i3GEO.php.pegaMapas(pegaMapas);i3GEO.navega.removeCookieExtensao()}},"dobraPagina":{icone:"imagens/googlemaps.png",titulo:$trad("trocaInterface"),id:"guia6",idconteudo:"",inicializa:function(){if(i3GEO.Interface.ATUAL==="googlemaps"){i3GEO.guias.CONFIGURA.dobraPagina.icone="imagens/openlayers.png"}else{i3GEO.guias.CONFIGURA.dobraPagina.icone="imagens/googlemaps.png"}},click:function(){i3GEO.Interface.atual2gm.insereIcone=false;i3GEO.Interface.atual2ol.insereIcone=false;if(i3GEO.Interface.ATUAL==="googlemaps"){if(typeof i3GeoMap.getStreetView!="undefined"){if(i3GeoMap.getStreetView().getVisible()===true){i3GeoMap.getStreetView().setVisible(false)}}i3GEO.Interface.atual2ol.inicia();i3GEO.guias.CONFIGURA.dobraPagina.icone="imagens/googlemaps.png"}if(i3GEO.Interface.ATUAL==="openlayers"){i3GEO.Interface.atual2gm.inicia();i3GEO.guias.CONFIGURA.dobraPagina.icone="imagens/openlayers.png"}$i("iconeTrocaInterface").src=i3GEO.configura.locaplic+"/"+i3GEO.guias.CONFIGURA.dobraPagina.icone}},"buscaRapida":{icone:"imagens/gisicons/search.png",titulo:"",id:"guia7",idconteudo:"guia7obj",idBuscaRapida:"buscaRapidaGuia",click:function(obj){var f=i3GEO.guias.CONFIGURA.buscaRapida;obj=$(obj);if(obj.attr("data-idconteudo")!=undefined){f.idconteudo=obj.attr("data-idconteudo")}}},"legenda":{icone:"imagens/legenda.png",titulo:$trad("g3"),id:"guia4",idconteudo:"guia4obj",idLegenda:"legendaHtml",click:function(obj){var f=i3GEO.guias.CONFIGURA.legenda;obj=$(obj);if(obj.attr("data-idLegenda")!=undefined){f.idLegenda=obj.attr("data-idLegenda")}if($i(f.idLegenda)){$i(f.idLegenda).style.display="block";i3GEO.legenda.CAMADAS="";i3GEO.legenda.inicia({"idLegenda":f.idLegenda,"templateLegenda":$("#"+f.idLegenda).attr("data-template"),"janela":false})}}},"temas":{icone:"imagens/layer.png",titulo:$trad("g4a"),id:"guia1",idconteudo:"guia1obj",idListaDeCamadas:"listaTemas",idListaFundo:"listaFundo",idListaLayersGr:"listaLayersGr",verificaAbrangencia:"",click:function(obj){var f=i3GEO.guias.CONFIGURA.temas;obj=$(obj);if(obj.attr("data-verificaAbrangencia")!=undefined){f.verificaAbrangencia=obj.attr("data-verificaAbrangencia")}if(obj.attr("data-idconteudo")!=undefined){f.idconteudo=obj.attr("data-idconteudo")}if(obj.attr("data-idListaDeCamadas")!=undefined){f.idListaDeCamadas=obj.attr("data-idListaDeCamadas")}if(obj.attr("data-idListaFundo")!=undefined){f.idListaFundo=obj.attr("data-idListaFundo")}if(obj.attr("data-idListaLayersGr")!=undefined){f.idListaLayersGr=obj.attr("data-idListaLayersGr")}if($("#"+obj.attr("data-idListaFundo")).attr("data-idTemplateCamada")!=undefined){f.idTemplateCamadaFundo=$("#"+obj.attr("data-idListaFundo")).attr("data-idTemplateCamada")}if($i(f.idListaDeCamadas)){i3GEO.arvoreDeCamadas.inicia({"idOnde":f.idListaDeCamadas,"templateCamada":$("#"+f.idListaDeCamadas).attr("data-template"),"idListaFundo":f.idListaFundo,"templateCamadaFundo":$("#"+f.idListaFundo).attr("data-template"),"idListaLayersGr":f.idListaLayersGr,"templateCamadaGr":$("#"+f.idListaLayersGr).attr("data-template"),"verificaAbrangencia":f.verificaAbrangencia})}}},"adiciona":{icone:"imagens/catalogo.png",titulo:$trad("g1a"),id:"guia2",idconteudo:"guia2obj",idMenus:"catalogoMenus",idCatalogo:"catalogoPrincipal",idNavegacao:"catalogoNavegacao",idMigalha:"catalogoMigalha",click:function(obj){var f=i3GEO.guias.CONFIGURA.adiciona;if($(obj).attr("data-idconteudo")!=undefined){f.idconteudo=$(obj).attr("data-idconteudo")}if($(obj).attr("data-idMenus")!=undefined){f.idMenus=$(obj).attr("data-idMenus")}if($(obj).attr("data-idCatalogo")!=undefined){f.idCatalogo=$(obj).attr("data-idCatalogo")}if($(obj).attr("data-idNavegacao")!=undefined){f.idNavegacao=$(obj).attr("data-idNavegacao")}if($(obj).attr("data-idMigalha")!=undefined){f.idMigalha=$(obj).attr("data-idMigalha")}if($(obj).attr("data-folderFirst")!=undefined){f.folderFirst=$(obj).attr("data-folderFirst")}else{f.folderFirst="false"}var ondeMenus=$("#"+f.idMenus);i3GEO.catalogoMenus.listaMenus({"templateDir":ondeMenus.attr("data-templateDir"),"templateTema":ondeMenus.attr("data-templateTema"),"idOndeMenus":f.idMenus,"idCatalogoPrincipal":f.idCatalogo,"idCatalogoNavegacao":f.idNavegacao,"idOndeMigalha":f.idMigalha,"folderFirst":f.folderFirst})}},"ferramentas":{icone:"imagens/gisicons/tools.png",titulo:$trad("u15a"),id:"guia8",idconteudo:"guia8obj",idLista:"listaFerramentas",idMigalha:"migalhaFerramentas",idLinks:"listaFerramentasLinks",status:false,click:function(obj){if($(obj).attr("data-idconteudo")!=undefined){i3GEO.guias.CONFIGURA.ferramentas.idconteudo=$(obj).attr("data-idconteudo")}if($(obj).attr("data-idLista")!=undefined){i3GEO.guias.CONFIGURA.ferramentas.idLista=$(obj).attr("data-idLista")}if($(obj).attr("data-idMigalha")!=undefined){i3GEO.guias.CONFIGURA.ferramentas.idMigalha=$(obj).attr("data-idMigalha")}if($(obj).attr("data-idLinks")!=undefined){i3GEO.guias.CONFIGURA.ferramentas.idLinks=$(obj).attr("data-idLinks")}if(i3GEO.util.checaHtmlVazio(i3GEO.guias.CONFIGURA.ferramentas.idLista)==false||i3GEO.util.checaHtmlVazio(i3GEO.guias.CONFIGURA.ferramentas.idLinks)==false){return}var f=i3GEO.guias.CONFIGURA.ferramentas;i3GEO.caixaDeFerramentas.inicia({"idOndeFolder":$("#"+f.idLista),"idOndeLinks":$("#"+f.idLinks),"idOndeMigalha":f.idMigalha,"templateFolder":$("#"+f.idLista).attr("data-template"),"templateMigalha":$("#"+f.idMigalha).attr("data-template"),"templateLinks":$("#"+f.idLinks).attr("data-template")})}}},ajustaAltura:function(){var guia,guias,nguias,temp,temps,n,i,g,altura=0;guias=i3GEO.util.listaChaves(i3GEO.guias.CONFIGURA);nguias=guias.length;for(g=0;g<nguias;g++){guia=$i(this.CONFIGURA[guias[g]].idconteudo);if(guia){guia.style.overflow="auto";if(!guia.style.height){guia.style.height=i3GEO.parametros.h+"px"}}}},escondeGuias:function(){var guias,nguias,g,temp,attributes,anim;guias=i3GEO.util.listaChaves(i3GEO.guias.CONFIGURA);nguias=guias.length;for(g=0;g<nguias;g++){temp=$i(this.CONFIGURA[guias[g]].idconteudo);if(temp){temp.style.display="none"}}$("#i3GEOguiaMovelConteudo").css("display","none")},mostra:function(guia){if(i3GEO.Interface.ATUAL==="googlemaps"){if(typeof i3GeoMap.getStreetView!="undefined"){i3GeoMap.getStreetView().setVisible(false)}}var guias,nguias,g,temp,attributes,anim;guias=i3GEO.util.listaChaves(i3GEO.guias.CONFIGURA);nguias=guias.length;if(!$i(i3GEO.guias.CONFIGURA[guia].idconteudo)){return}if(i3GEO.guias.CONFIGURA[guia]){temp=$i(i3GEO.guias.CONFIGURA[guia].idconteudo);if(temp){temp.style.display="block";$("#i3GEOguiaMovelMolde,#i3GEOguiaMovelConteudo").css("display","block")}}},inicia:function(){if($i("i3GEOguiaMovel")){i3GEO.guias.LARGURAGUIAMOVEL=parseInt($("#i3GEOguiaMovel").css("width"),10)}if(!$i("i3GEOguiaMovelMolde").style.height||$i("i3GEOguiaMovelMolde").style.height==""){$("#i3GEOguiaMovelMolde,#i3GEOguiaMovelConteudo").css("height",i3GEO.parametros.h+"px")}if(i3GEO.guias.LARGURAGUIAMOVEL>i3GEO.parametros.w){i3GEO.guias.LARGURAGUIAMOVEL=i3GEO.parametros.w}},ativa:function(chave,obj){if(i3GEO.guias.LARGURAGUIAMOVEL>i3GEO.parametros.w){i3GEO.guias.LARGURAGUIAMOVEL=i3GEO.parametros.w}var f="";if(!$i(i3GEO.guias.CONFIGURA[chave].idconteudo)){f=i3GEO.guias.CONFIGURA[chave].click.apply(f,[obj]);return}i3GEO.guias.escondeGuias();i3GEO.guias.abreFecha("abre",chave);if(i3GEO.guias.CONFIGURA[chave].click){f=i3GEO.guias.CONFIGURA[chave].click.apply(f,[obj])}},abreFecha:function(forca,chave){var molde=$("#i3GEOguiaMovelMolde");if(!forca){if(parseInt(molde.css("width"),10)<=10){forca="abre"}else{forca="fecha"}}if(forca==="fecha"){i3GEO.guias.escondeGuias();molde.animate({"width":"-10px"},400)}else{var temp=function(){i3GEO.guias.mostra(chave)};molde.animate({"width":i3GEO.guias.LARGURAGUIAMOVEL+"px"},{duration:400,always:temp})}},mostraGuiaFerramenta:function(guia,namespace){var g,Dom=YAHOO.util.Dom;if(!namespace){namespace="guia"}for(g=0;g<12;g++){Dom.setStyle(namespace+g+"obj","display","none")}if(guia!=""){Dom.setStyle(guia+"obj","display","block")}},escondeGuiasFerramenta:function(namespace){i3GEO.guias.mostraGuiaFerramenta("",namespace)},ajustaGuiaFerramenta:function(){}};
278 278 //
279 279 //compactados/arvoredecamadas_compacto.js
280   -if(typeof(i3GEO)==='undefined'){var i3GEO={}}i3GEO.arvoreDeCamadas={FUNCOES:{farolescala:true,excluir:true,sobe:true,desce:true,fonte:true,zoomtema:true,compartilhar:true,opacidade:true,mudanome:true,procurar:true,toponimia:true,etiquetas:true,filtrar:true,tabela:true,grafico:true,editorlegenda:true,destacar:true,cortina:true,sql:true,comentar:true,temporizador:true,wms:true,tme:true,copia:true,storymap:true,animagif:true},CAMADAS:"",FILTRO:"",CAMADASINDEXADAS:[],config:{"idOnde":"listaTemas","aposIniciar":"","templateCamada":"templates/camada.html","idListaFundo":"","templateCamadaFundo":"templates/camadaFundo.html","idListaLayersGr":"","templateCamadaGr":"templates/camadaGr.html","verificaAbrangencia":""},carregaTemplates:function(){var t1=i3GEO.arvoreDeCamadas.config.templateCamada,t2=i3GEO.arvoreDeCamadas.config.templateCamadaFundo,t3=i3GEO.arvoreDeCamadas.config.templateCamadaGr;$.ajax(t1).always(function(r1){i3GEO.template.camada=r1;if(r1.status){i3GEO.template.camada=""}$.ajax(t2).always(function(r2){i3GEO.template.camadaFundo=r2;if(r2.status){i3GEO.template.camadaFundo=""}$.ajax(t3).always(function(r3){i3GEO.template.camadaGr=r3;if(r3.status){i3GEO.template.camadaGr=""}i3GEO.arvoreDeCamadas.inicia()})})})},inicia:function(config){if(config){$.each(config,function(i,v){if(v!=undefined){i3GEO.arvoreDeCamadas.config[i]=v}})}if(!i3GEO.template.camada||!i3GEO.template.camadaFundo){i3GEO.arvoreDeCamadas.carregaTemplates();return}else{config=i3GEO.arvoreDeCamadas.config;var novoel,temp;i3GEO.arvoreDeCamadas.atualiza(i3GEO.arvoreDeCamadas.CAMADAS);if(!$i(config.idOnde)){return}if(config.verificaAbrangencia!=""){i3GEO.eventos.adicionaEventos("NAVEGAMAPA",["i3GEO.arvoreDeCamadas.verificaAbrangenciaTemas()"])}if(config.aposIniciar!==""){if(jQuery.isFunction(config.aposIniciar)){config.aposIniciar.call()}}}},adicionaLayersGr:function(){if(i3GEO.Interface.ATUAL!="openlayers"){return}var temp=$i(i3GEO.arvoreDeCamadas.config.idListaLayersGr),layers=i3geoOL.getLayersGr(),lista=[],camada={};if(temp){$.each(layers,function(i,layer){var p=layer.getProperties();camada={...i3GEO.idioma.OBJETOIDIOMA};camada.name=p.name;camada.tema=p.title;camada.locaplic=i3GEO.configura.locaplic;if(layer.getVisible()==true){camada.checked="checked"}else{camada.checked=""}lista.push(camada)});var t=Mustache.render("{{#data}}"+i3GEO.template.camadaGr+"{{/data}}",{"data":lista});$(temp).html(t)}},verifyFilter:function(camada){var f=i3GEO.arvoreDeCamadas.FILTRO;if(f==""){return true}var mostra=true;if(f==="desligados"&&camada.status!=0){mostra=false}if(f==="ligados"&&camada.status==0){mostra=false}if(f==="selecionados"&&camada.sel.toLowerCase()!=="sim"){mostra=false}if(f==="download"&&camada.download.toLowerCase()!=="sim"){mostra=false}if(f==="wms"&&camada.connectiontype*1!==7){mostra=false}if(f==="raster"&&camada.type*1!==3){mostra=false}if(f==="toponimia"&&camada.type*1!==4){mostra=false}return mostra},atualiza:function(temas,forca){if(i3GEO.template.camada==undefined||i3GEO.template.camada==false){return}if(arguments.length===0){temas=i3GEO.arvoreDeCamadas.CAMADAS;i3GEO.arvoreDeCamadas.CAMADAS="";forca=false}var clone=[],camada={},config=i3GEO.arvoreDeCamadas.config,temp;temp=$i(config.idOnde);if(temp){if(forca===true){temp.innerHTML=""}if(temp.innerHTML!==""){if(i3GEO.arvoreDeCamadas.comparaTemas(temas,i3GEO.arvoreDeCamadas.CAMADAS)){i3GEO.arvoreDeCamadas.CAMADAS=temas;return}}}i3GEO.arvoreDeCamadas.CAMADAS=temas;i3GEO.arvoreDeCamadas.CAMADASINDEXADAS=[];$.each(i3GEO.arvoreDeCamadas.CAMADAS,function(i,tema){var mostra=true;i3GEO.pluginI3geo.aplicaPropriedades(tema);camada={};camada.name=tema.name;camada.tema=tema.tema;if(tema.status!=0){camada.checked="checked"}else{camada.checked=""}if(tema.sel&&tema.sel.toLowerCase()==="sim"){camada.classeCss="camadaSelecionada"}else{camada.classeCss=""}if(temp&&i3GEO.arvoreDeCamadas.FILTRO!==""){mostra=i3GEO.arvoreDeCamadas.verifyFilter(tema)}if(temp&&mostra==true){i3GEO.arvoreDeCamadas.montaIconesTema(tema,camada);i3GEO.arvoreDeCamadas.montaOpcoesTema(tema,camada);if(tema.iconetema!==""){camada.iconetema="<img class='i3GEOiconeTema' src='"+tema.iconetema+"' />"}if(tema.maxscaledenom&&(tema.maxscaledenom*1>i3GEO.parametros.mapscale*1&&tema.minscaledenom*1<i3GEO.parametros.mapscale*1)){camada.rangeScale="out";camada.rangeScaleMsg=$trad("rangeScaleMsg")}else{camada.rangeScale="in"}if(tema.escondido.toLowerCase()!=="sim"){clone.push(camada)}}i3GEO.arvoreDeCamadas.CAMADASINDEXADAS[camada.name]=tema});if(temp){var t=Mustache.render("{{#data}}"+i3GEO.template.camada+"{{/data}}",{"data":clone});$("#"+config.idOnde).html(t);$("#"+config.idOnde).sortable({scroll:false,axis:"y",revert:true,update:function(event,ui){var els=i3GEO.arvoreDeCamadas.listaLigadosDesligadosArvore(config.idOnde);var lista=els[2].join(",");var temp=function(retorno){i3GEO.atualiza(retorno);if(i3GEO.Interface.ATUAL==="openlayers"){i3GEO.Interface.openlayers.ordenaLayers()}i3GEO.arvoreDeCamadas.atualiza(i3GEO.arvoreDeCamadas.CAMADAS,true)};i3GEO.php.reordenatemas(temp,lista)}})}i3GEO.arvoreDeCamadas.adicionaCamadasDeFundo(config);i3GEO.arvoreDeCamadas.adicionaLayersGr();i3GEO.eventos.executaEventos(i3GEO.eventos.ATUALIZAARVORECAMADAS)},adicionaCamadasDeFundo:function(config){if(i3GEO.Interface.ATUAL=="openlayers"){var temp=temp=$i(config.idOnde);if(temp&&$("#"+config.idListaFundo).html()==""){clone=[];$.each(i3GEO.Interface.openlayers.LAYERSADICIONAIS,function(i,layer){camada={};temp=layer.getProperties();camada.name="camadaDeFundo";if(temp.preview){camada.preview=temp.preview}else{camada.preview=""}camada.value=temp.name;camada.title=temp.title;if(temp.visible===true){camada.checked="checked"}else{camada.checked=""}clone.push(camada)});var t=Mustache.to_html("{{#data}}"+i3GEO.template.camadaFundo+"{{/data}}",{"data":clone});$("#"+config.idListaFundo).html(t);$("#"+config.idListaFundo+" label").tooltip({animation:false,trigger:"hover",placement:"auto",html:true,template:"<div class='tooltip ' ><div class='tooltip-inner'></div></div>"});$.each(clone,function(i,v){var slide=$i("slideFundo"+v.value);noUiSlider.create(slide,{connect:"lower",start:[100],range:{'min':[0],'max':[100]},name:v.value});slide.noUiSlider.on('update',function(values,handle){i3GEO.Interface.aplicaOpacidade(values[0]*1,this.options.name)})})}}},ligaDesligaTemas:function(lista,status){},atualizaLegenda:function(idtema){},montaTextoTema:function(tema){if(i3GEO.tema.TEMPORIZADORESID[tema.name]==undefined&&tema.temporizador!=""){i3GEO.tema.temporizador(tema.name,tema.temporizador)}return(html)},montaOpcoesTema:function(temaObj,camada){vetor="hidden";if((temaObj.type<3)&&(temaObj.connectiontype!==7)){vetor=""}camada.isnotvetor=vetor;camada.ferramentasTexto=$trad("u15a");camada.ferramentasTitle=$trad("ferramCamadas");camada.removerTexto=$trad("t12");camada.removerTitle=$trad("t12a");camada.sobeTexto=$trad("t13");camada.sobeTitle=$trad("t14");camada.desceTexto=$trad("t15");camada.desceTitle=$trad("t16");camada.tabelaTexto=$trad("tabela");camada.tabelaTitle=$trad("t30");camada.limpaselTexto=$trad("t4");camada.zoomSelTexto=$trad("t4a");camada.linkTexto=$trad("a9");camada.editorlegendaTexto=$trad("t33");camada.procurarTexto=$trad("t23");camada.topoTexto=$trad("t25");camada.etiquetasTexto=$trad("t27");camada.filtroTexto=$trad("t29");camada.selecaoTexto=$trad("x51");camada.graficoTexto=$trad("t37");camada.wmsTexto="WMS-OGC";camada.tmeTexto=$trad("t49");camada.topoTexto=$trad("x56");camada.nomeCamada=camada.tema;camada.opaCamada=camada.transparency;camada.editorlegendaTexto=$trad("t33");camada.coresTexto=$trad("esquemadecores");camada.copiaTexto=$trad("copiaCamada");camada.contornoTexto=$trad("contorno");camada.opacidade=$trad("t20");camada.cortina=$trad("t42");camada.opaCamada=temaObj.transparency;if(temaObj.zoomtema.toLowerCase()==="sim"){camada.zoomtemaTexto=$trad("t17");camada.zoomtemaTitle=$trad("t18")}else{camada.zoomtema="hidden"}if(temaObj.sel.toLowerCase()==="sim"){camada.selTexto=$trad("t5");camada.selTitle=$trad("t4")}else{camada.sel="hidden"}if(temaObj.sel.toLowerCase()==="sim"){camada.zoomSelTexto=$trad("t4a")}else{camada.zoomsel="hidden"}if(temaObj.link_tema!=""&&temaObj.features.toLowerCase()!=="sim"&&temaObj.name!="mundo"){camada.linkTexto=$trad("a9");camada.linkTitle=$trad("a9")}else{camada.link="hidden"}if(temaObj.download.toLowerCase()==="sim"||temaObj.download===""&&temaObj.features.toLowerCase()!=="sim"){camada.downloadTexto="Download";camada.downloadTitle=$trad("t6")}else{camada.download="hidden"}if(temaObj.permiteogc.toLowerCase()==="sim"){camada.permiteogcTexto="OGC"}else{camada.permiteogc="hidden"}return camada},montaIconesTema:function(temaObj,camada){camada.farol="hidden";if(temaObj.escala!=0){if(temaObj.escala*1<i3GEO.parametros.mapscale*1){camada.farol="green";camada.farolTitle=$trad("t9")}if(temaObj.escala*1>i3GEO.parametros.mapscale*1){camada.farol="red";camada.farolTitle=$trad("t10")}if(temaObj.escala===0){camada.farol="yellow";camada.farolTitle=$trad("t11")}}if(temaObj.contextoescala.toLowerCase()==="sim"){camada.contextoescala="";camada.contextoescalaTitle=$trad("t36")}else{camada.contextoescala="hidden"}if(temaObj.plugini3geo){var iconePlugin=i3GEO.pluginI3geo.clickArvoreDeCamadas(temaObj);if(iconePlugin!=false){camada.iconePlugin=iconePlugin}}if(temaObj.ferramentas){var html="",fer="",fers=temaObj.ferramentas;for(fer in fers){if(i3GEO.configura.ferramentasLayers[fer]){html+=i3GEO.configura.ferramentasLayers[fer].icone(temaObj.name)}}camada.iconeFerramentas=html}return camada},atualizaFarol:function(mapscale){var cor,farol,l,ltema,escala,iu=i3GEO.util,im=i3GEO.configura.locaplic+"/imagens/",camadas=i3GEO.arvoreDeCamadas.CAMADAS;farol="maisamarelo.png";cor="yellow";l=camadas.length-1;if(l>=0){do{ltema=camadas[l];escala=ltema.escala;if(escala!=0){if(escala*1<mapscale*1){farol="maisverde.png";cor="green"}if(escala*1>mapscale*1){farol="maisvermelho.png";cor="red"}if(escala*1===0){farol="maisamarelo.png";cor="yellow"}$("#farol"+ltema.name).css("color",cor)}}while(l--)}},aplicaTemas:function(tipo){if(arguments.length===0){tipo="normal"}var t="",temp;if(tipo==="normal"){t=i3GEO.arvoreDeCamadas.listaLigadosDesligados("mantem")}if(tipo==="ligartodos"){t=i3GEO.arvoreDeCamadas.listaLigadosDesligados("marca")}if(tipo==="desligartodos"){t=i3GEO.arvoreDeCamadas.listaLigadosDesligados("desmarca")}temp=function(){i3GEO.atualiza();i3GEO.janela.fechaAguarde("redesenha")};if(tipo==="normal"){i3GEO.php.ligatemas(temp,t[1].toString(),t[0].toString());return}if(tipo==="ligartodos"){i3GEO.php.ligatemas(temp,"",t[2].toString());return}if(tipo==="desligartodos"){i3GEO.php.ligatemas(temp,t[2].toString(),"")}},listaLigadosDesligados:function(){if(!i3GEO.arvoreDeCamadas.CAMADAS){return[[],[],[],[]]}var i=0,filtrados=[],ligados=[],desligados=[],todos=[],camada,camadas=i3GEO.arvoreDeCamadas.CAMADAS;i=camadas.length;while(i>0){i-=1;camada=camadas[i];todos.push(camada["name"]);if(parseInt(camada["status"],10)===2){ligados.push(camada["name"])}else{desligados.push(camada["name"])}if(i3GEO.arvoreDeCamadas.verifyFilter(camada)==true){filtrados.push(camada["name"])}}return([ligados,desligados,todos,filtrados])},listaLigadosDesligadosArvore:function(onde){if(!i3GEO.arvoreDeCamadas.CAMADAS){return[[],[],[]]}var n,i,ligados=[],desligados=[],todos=[],camada,camadas;camadas=$i(onde).getElementsByTagName("input");n=camadas.length;for(i=0;i<n;i++){camada=camadas[i];todos.push(camada.value);if(camada.checked==true){ligados.push(camada["name"])}else{desligados.push(camada["name"])}}return([ligados,desligados,todos])},capturaCheckBox:function(tema){var onde=$i(i3GEO.arvoreDeCamadas.config.idOnde),camadas,n,i;if(onde){camadas=onde.getElementsByTagName("input");n=camadas.length;for(i=0;i<n;i++){if(camadas[i].name==tema){return camadas[i]}}}return false},comparaTemas:function(novo,atual){try{var novon=novo.length,i;if(novon!==atual.length){return(false)}for(i=0;i<novon;i+=1){if(novo[i].name!==atual[i].name){return(false)}if(novo[i].tema!==atual[i].tema){return(false)}if(novo[i].sel!==atual[i].sel){return(false)}if(novo[i].status!==atual[i].status){return(false)}}return(true)}catch(e){return true}},pegaTema:function(valor,camadas,parametro){var i;if(!camadas||camadas==""){camadas=i3GEO.arvoreDeCamadas.CAMADAS}else{camadas=i3GEO.arvoreDeCamadas.converteChaveValor2normal(camadas)}if(!parametro){parametro="name"}i=camadas.length;while(i>0){i-=1;if(camadas[i][parametro]===valor){return camadas[i]}}return""},filtraCamadas:function(propriedade,valor,operador,camadas){if(!camadas){camadas=i3GEO.arvoreDeCamadas.CAMADAS}var resultado,i=0,temp,nelementos=camadas.length,ltema;resultado=[];if(nelementos>0){do{ltema=camadas[i];if(ltema.escondido.toLowerCase()!=="sim"){temp=ltema[propriedade];if(operador==="igual"){if(temp+"".toLowerCase()==valor+"".toLowerCase()){resultado.push(ltema)}}if(operador==="diferente"){if(temp+"".toLowerCase()!==valor+"".toLowerCase()){resultado.push(ltema)}}if(operador==="menor"){if(temp+"".toLowerCase()<valor+"".toLowerCase()){resultado.push(ltema)}}}i+=1}while(i<nelementos)}return resultado},alteraPropCamadas:function(propriedade,valor,camada){var i=0,nelementos=i3GEO.arvoreDeCamadas.CAMADAS.length,ltema;if(nelementos>0){do{ltema=i3GEO.arvoreDeCamadas.CAMADAS[i];if(ltema.name===camada){ltema[propriedade]=valor}i+=1}while(i<nelementos)}},verificaAbrangenciaTemas:function(){var nos=$("#"+i3GEO.arvoreDeCamadas.config.idOnde).find("input");$.each(nos,function(i,no){var ltema=i3GEO.arvoreDeCamadas.CAMADASINDEXADAS[no.value];var temp=ltema.exttema;if(temp!==""&&temp!=undefined){if(i3GEO.util.intersectaBox(temp,i3GEO.parametros.mapexten)===false){$(no).addClass(i3GEO.arvoreDeCamadas.config.verificaAbrangencia)}else{$(no).removeClass(i3GEO.arvoreDeCamadas.config.verificaAbrangencia)}}})},verificaAplicaExtensao:function(){var i=0,temp="",nelementos=i3GEO.arvoreDeCamadas.CAMADAS.length,ltema;try{if(nelementos>0){do{ltema=i3GEO.arvoreDeCamadas.CAMADAS[i];if(ltema.aplicaextensao.toLowerCase()==="sim"){temp=ltema.name}i+=1}while(i<nelementos)}}catch(e){return""}return temp},converteChaveValor2normal:function(obj){if(obj.chaves){var i,tema,j,t,chaves=obj.chaves,temas=obj.valores,ntemas=temas.length,nchaves=chaves.length,novo=[];for(i=0;i<ntemas;i++){tema=temas[i];t={};for(j=0;j<nchaves;j++){t[chaves[j]]=tema[j]}novo.push(t)}return novo}else{return obj}},registaCamadas:function(obj){var i;obj=i3GEO.arvoreDeCamadas.converteChaveValor2normal(obj);i3GEO.arvoreDeCamadas.CAMADAS=obj;i3GEO.arvoreDeCamadas.CAMADASINDEXADAS=[];$.each(i3GEO.arvoreDeCamadas.CAMADAS,function(i,tema){i3GEO.arvoreDeCamadas.CAMADASINDEXADAS[tema.name]=tema})},dialogo:{filtro:function(){i3GEO.util.dialogoFerramenta("i3GEO.arvoreDeCamadas.dialogo.filtro()","filtroarvore","filtroarvore","dependencias.php","i3GEOF.filtroarvore.start()")},excluir:function(){i3GEO.util.dialogoFerramenta("i3GEO.arvoreDeCamadas.dialogo.excluir()","excluirarvore","excluirarvore","dependencias.php","i3GEOF.excluirarvore.start()")}}};
  280 +if(typeof(i3GEO)==='undefined'){var i3GEO={}}i3GEO.arvoreDeCamadas={FUNCOES:{farolescala:true,excluir:true,sobe:true,desce:true,fonte:true,zoomtema:true,compartilhar:true,opacidade:true,mudanome:true,procurar:true,toponimia:true,etiquetas:true,filtrar:true,tabela:true,grafico:true,editorlegenda:true,destacar:true,cortina:true,sql:true,comentar:true,temporizador:true,wms:true,tme:true,copia:true,storymap:true,animagif:true},CAMADAS:"",FILTRO:"",CAMADASINDEXADAS:[],config:{"idOnde":"listaTemas","aposIniciar":"","templateCamada":"templates/camada.html","idListaFundo":"","templateCamadaFundo":"templates/camadaFundo.html","idListaLayersGr":"","templateCamadaGr":"templates/camadaGr.html","verificaAbrangencia":""},carregaTemplates:function(){var t1=i3GEO.arvoreDeCamadas.config.templateCamada,t2=i3GEO.arvoreDeCamadas.config.templateCamadaFundo,t3=i3GEO.arvoreDeCamadas.config.templateCamadaGr;$.ajax(t1).always(function(r1){i3GEO.template.camada=r1;if(r1.status){i3GEO.template.camada=""}$.ajax(t2).always(function(r2){i3GEO.template.camadaFundo=r2;if(r2.status){i3GEO.template.camadaFundo=""}$.ajax(t3).always(function(r3){i3GEO.template.camadaGr=r3;if(r3.status){i3GEO.template.camadaGr=""}i3GEO.arvoreDeCamadas.inicia()})})})},inicia:function(config){if(config){$.each(config,function(i,v){if(v!=undefined){i3GEO.arvoreDeCamadas.config[i]=v}})}if(!i3GEO.template.camada||!i3GEO.template.camadaFundo){i3GEO.arvoreDeCamadas.carregaTemplates();return}else{config=i3GEO.arvoreDeCamadas.config;var novoel,temp;i3GEO.arvoreDeCamadas.atualiza(i3GEO.arvoreDeCamadas.CAMADAS);if(!$i(config.idOnde)){return}if(config.verificaAbrangencia!=""){i3GEO.eventos.adicionaEventos("NAVEGAMAPA",["i3GEO.arvoreDeCamadas.verificaAbrangenciaTemas()"])}if(config.aposIniciar!==""){if(jQuery.isFunction(config.aposIniciar)){config.aposIniciar.call()}}}},adicionaLayersGr:function(){if(i3GEO.Interface.ATUAL!="openlayers"){return}var temp=$i(i3GEO.arvoreDeCamadas.config.idListaLayersGr),layers=i3geoOL.getLayersGr(),lista=[],camada={};if(temp){$.each(layers,function(i,layer){var p=layer.getProperties();camada={...i3GEO.idioma.OBJETOIDIOMA};camada.name=p.name;camada.tema=p.title;camada.locaplic=i3GEO.configura.locaplic;if(layer.getVisible()==true){camada.checked="checked"}else{camada.checked=""}lista.push(camada)});var t=Mustache.render("{{#data}}"+i3GEO.template.camadaGr+"{{/data}}",{"data":lista});$(temp).html(t)}},existeCamadaSel:function({msg=true}={}){var sel=false;$.each(i3GEO.arvoreDeCamadas.CAMADAS,function(i,v){sel=v.sel.toLowerCase()!=="sim"?false:true});if(msg==true&&sel==false){i3GEO.janela.snackBar({content:$trad("nenhumaSel")})}return sel},verifyFilter:function(camada,f){if(!f){f=i3GEO.arvoreDeCamadas.FILTRO}if(f==""){return true}var mostra=true;if(f==="desligados"&&camada.status!=0){mostra=false}if(f==="ligados"&&camada.status==0){mostra=false}if(f==="selecionados"&&camada.sel.toLowerCase()!=="sim"){mostra=false}if(f==="download"&&camada.download.toLowerCase()!=="sim"){mostra=false}if(f==="wms"&&camada.connectiontype*1!==7){mostra=false}if(f==="raster"&&camada.type*1!==3){mostra=false}if(f==="toponimia"&&camada.type*1!==4){mostra=false}return mostra},atualiza:function(temas,forca){if(i3GEO.template.camada==undefined||i3GEO.template.camada==false){return}if(arguments.length===0){temas=i3GEO.arvoreDeCamadas.CAMADAS;i3GEO.arvoreDeCamadas.CAMADAS="";forca=false}var clone=[],camada={},config=i3GEO.arvoreDeCamadas.config,temp;temp=$i(config.idOnde);if(temp){if(forca===true){temp.innerHTML=""}if(temp.innerHTML!==""){if(i3GEO.arvoreDeCamadas.comparaTemas(temas,i3GEO.arvoreDeCamadas.CAMADAS)){i3GEO.arvoreDeCamadas.CAMADAS=temas;return}}}i3GEO.arvoreDeCamadas.CAMADAS=temas;i3GEO.arvoreDeCamadas.CAMADASINDEXADAS=[];$.each(i3GEO.arvoreDeCamadas.CAMADAS,function(i,tema){var mostra=true;i3GEO.pluginI3geo.aplicaPropriedades(tema);camada={};camada.name=tema.name;camada.tema=tema.tema;if(tema.status!=0){camada.checked="checked"}else{camada.checked=""}if(tema.sel&&tema.sel.toLowerCase()==="sim"){camada.classeCss="camadaSelecionada"}else{camada.classeCss=""}if(temp&&i3GEO.arvoreDeCamadas.FILTRO!==""){mostra=i3GEO.arvoreDeCamadas.verifyFilter(tema)}if(temp&&mostra==true){i3GEO.arvoreDeCamadas.montaIconesTema(tema,camada);i3GEO.arvoreDeCamadas.montaOpcoesTema(tema,camada);if(tema.iconetema!==""){camada.iconetema="<img class='i3GEOiconeTema' src='"+tema.iconetema+"' />"}if(tema.maxscaledenom&&(tema.maxscaledenom*1>i3GEO.parametros.mapscale*1&&tema.minscaledenom*1<i3GEO.parametros.mapscale*1)){camada.rangeScale="out";camada.rangeScaleMsg=$trad("rangeScaleMsg")}else{camada.rangeScale="in"}if(tema.escondido.toLowerCase()!=="sim"){clone.push(camada)}}i3GEO.arvoreDeCamadas.CAMADASINDEXADAS[camada.name]=tema});if(temp){var t=Mustache.render("{{#data}}"+i3GEO.template.camada+"{{/data}}",{"data":clone});$("#"+config.idOnde).html(t);$("#"+config.idOnde).sortable({scroll:false,axis:"y",revert:true,update:function(event,ui){var els=i3GEO.arvoreDeCamadas.listaLigadosDesligadosArvore(config.idOnde);var lista=els[2].join(",");var temp=function(retorno){i3GEO.atualiza(retorno);if(i3GEO.Interface.ATUAL==="openlayers"){i3GEO.Interface.openlayers.ordenaLayers()}i3GEO.arvoreDeCamadas.atualiza(i3GEO.arvoreDeCamadas.CAMADAS,true)};i3GEO.php.reordenatemas(temp,lista)}})}i3GEO.arvoreDeCamadas.adicionaCamadasDeFundo(config);i3GEO.arvoreDeCamadas.adicionaLayersGr();i3GEO.eventos.executaEventos(i3GEO.eventos.ATUALIZAARVORECAMADAS)},adicionaCamadasDeFundo:function(config){if(i3GEO.Interface.ATUAL=="openlayers"){var temp=temp=$i(config.idOnde);if(temp&&$("#"+config.idListaFundo).html()==""){clone=[];$.each(i3GEO.Interface.openlayers.LAYERSADICIONAIS,function(i,layer){camada={};temp=layer.getProperties();camada.name="camadaDeFundo";if(temp.preview){camada.preview=temp.preview}else{camada.preview=""}camada.value=temp.name;camada.title=temp.title;if(temp.visible===true){camada.checked="checked"}else{camada.checked=""}clone.push(camada)});var t=Mustache.to_html("{{#data}}"+i3GEO.template.camadaFundo+"{{/data}}",{"data":clone});$("#"+config.idListaFundo).html(t);$("#"+config.idListaFundo+" label").tooltip({animation:false,trigger:"hover",placement:"auto",html:true,template:"<div class='tooltip ' ><div class='tooltip-inner'></div></div>"});$.each(clone,function(i,v){var slide=$i("slideFundo"+v.value);noUiSlider.create(slide,{connect:"lower",start:[100],range:{'min':[0],'max':[100]},name:v.value});slide.noUiSlider.on('update',function(values,handle){i3GEO.Interface.aplicaOpacidade(values[0]*1,this.options.name)})})}}},ligaDesligaTemas:function(lista,status){},atualizaLegenda:function(idtema){},montaTextoTema:function(tema){if(i3GEO.tema.TEMPORIZADORESID[tema.name]==undefined&&tema.temporizador!=""){i3GEO.tema.temporizador(tema.name,tema.temporizador)}return(html)},montaOpcoesTema:function(temaObj,camada){vetor="hidden";if((temaObj.type<3)&&(temaObj.connectiontype!==7)){vetor=""}camada.isnotvetor=vetor;camada.ferramentasTexto=$trad("u15a");camada.ferramentasTitle=$trad("ferramCamadas");camada.removerTexto=$trad("t12");camada.removerTitle=$trad("t12a");camada.sobeTexto=$trad("t13");camada.sobeTitle=$trad("t14");camada.desceTexto=$trad("t15");camada.desceTitle=$trad("t16");camada.tabelaTexto=$trad("tabela");camada.tabelaTitle=$trad("t30");camada.limpaselTexto=$trad("t4");camada.zoomSelTexto=$trad("t4a");camada.linkTexto=$trad("a9");camada.editorlegendaTexto=$trad("t33");camada.procurarTexto=$trad("t23");camada.topoTexto=$trad("t25");camada.etiquetasTexto=$trad("t27");camada.filtroTexto=$trad("t29");camada.selecaoTexto=$trad("x51");camada.graficoTexto=$trad("t37");camada.wmsTexto="WMS-OGC";camada.tmeTexto=$trad("t49");camada.topoTexto=$trad("x56");camada.nomeCamada=camada.tema;camada.opaCamada=camada.transparency;camada.editorlegendaTexto=$trad("t33");camada.coresTexto=$trad("esquemadecores");camada.copiaTexto=$trad("copiaCamada");camada.contornoTexto=$trad("contorno");camada.opacidade=$trad("t20");camada.cortina=$trad("t42");camada.opaCamada=temaObj.transparency;if(temaObj.zoomtema.toLowerCase()==="sim"){camada.zoomtemaTexto=$trad("t17");camada.zoomtemaTitle=$trad("t18")}else{camada.zoomtema="hidden"}if(temaObj.sel.toLowerCase()==="sim"){camada.selTexto=$trad("t5");camada.selTitle=$trad("t4")}else{camada.sel="hidden"}if(temaObj.sel.toLowerCase()==="sim"){camada.zoomSelTexto=$trad("t4a")}else{camada.zoomsel="hidden"}if(temaObj.link_tema!=""&&temaObj.features.toLowerCase()!=="sim"&&temaObj.name!="mundo"){camada.linkTexto=$trad("a9");camada.linkTitle=$trad("a9")}else{camada.link="hidden"}if(temaObj.download.toLowerCase()==="sim"||temaObj.download===""&&temaObj.features.toLowerCase()!=="sim"){camada.downloadTexto="Download";camada.downloadTitle=$trad("t6")}else{camada.download="hidden"}if(temaObj.permiteogc.toLowerCase()==="sim"){camada.permiteogcTexto="OGC"}else{camada.permiteogc="hidden"}return camada},montaIconesTema:function(temaObj,camada){camada.farol="hidden";if(temaObj.escala!=0){if(temaObj.escala*1<i3GEO.parametros.mapscale*1){camada.farol="green";camada.farolTitle=$trad("t9")}if(temaObj.escala*1>i3GEO.parametros.mapscale*1){camada.farol="red";camada.farolTitle=$trad("t10")}if(temaObj.escala===0){camada.farol="yellow";camada.farolTitle=$trad("t11")}}if(temaObj.contextoescala.toLowerCase()==="sim"){camada.contextoescala="";camada.contextoescalaTitle=$trad("t36")}else{camada.contextoescala="hidden"}if(temaObj.plugini3geo){var iconePlugin=i3GEO.pluginI3geo.clickArvoreDeCamadas(temaObj);if(iconePlugin!=false){camada.iconePlugin=iconePlugin}}if(temaObj.ferramentas){var html="",fer="",fers=temaObj.ferramentas;for(fer in fers){if(i3GEO.configura.ferramentasLayers[fer]){html+=i3GEO.configura.ferramentasLayers[fer].icone(temaObj.name)}}camada.iconeFerramentas=html}return camada},atualizaFarol:function(mapscale){var cor,farol,l,ltema,escala,iu=i3GEO.util,im=i3GEO.configura.locaplic+"/imagens/",camadas=i3GEO.arvoreDeCamadas.CAMADAS;farol="maisamarelo.png";cor="yellow";l=camadas.length-1;if(l>=0){do{ltema=camadas[l];escala=ltema.escala;if(escala!=0){if(escala*1<mapscale*1){farol="maisverde.png";cor="green"}if(escala*1>mapscale*1){farol="maisvermelho.png";cor="red"}if(escala*1===0){farol="maisamarelo.png";cor="yellow"}$("#farol"+ltema.name).css("color",cor)}}while(l--)}},aplicaTemas:function(tipo){if(arguments.length===0){tipo="normal"}var t="",temp;if(tipo==="normal"){t=i3GEO.arvoreDeCamadas.listaLigadosDesligados("mantem")}if(tipo==="ligartodos"){t=i3GEO.arvoreDeCamadas.listaLigadosDesligados("marca")}if(tipo==="desligartodos"){t=i3GEO.arvoreDeCamadas.listaLigadosDesligados("desmarca")}temp=function(){i3GEO.atualiza();i3GEO.janela.fechaAguarde("redesenha")};if(tipo==="normal"){i3GEO.php.ligatemas(temp,t[1].toString(),t[0].toString());return}if(tipo==="ligartodos"){i3GEO.php.ligatemas(temp,"",t[2].toString());return}if(tipo==="desligartodos"){i3GEO.php.ligatemas(temp,t[2].toString(),"")}},listaLigadosDesligados:function(){if(!i3GEO.arvoreDeCamadas.CAMADAS){return[[],[],[],[]]}var i=0,filtrados=[],ligados=[],desligados=[],todos=[],camada,camadas=i3GEO.arvoreDeCamadas.CAMADAS;i=camadas.length;while(i>0){i-=1;camada=camadas[i];todos.push(camada["name"]);if(parseInt(camada["status"],10)===2){ligados.push(camada["name"])}else{desligados.push(camada["name"])}if(i3GEO.arvoreDeCamadas.verifyFilter(camada)==true){filtrados.push(camada["name"])}}return([ligados,desligados,todos,filtrados])},listaLigadosDesligadosArvore:function(onde){if(!i3GEO.arvoreDeCamadas.CAMADAS){return[[],[],[]]}var n,i,ligados=[],desligados=[],todos=[],camada,camadas;camadas=$i(onde).getElementsByTagName("input");n=camadas.length;for(i=0;i<n;i++){camada=camadas[i];todos.push(camada.value);if(camada.checked==true){ligados.push(camada["name"])}else{desligados.push(camada["name"])}}return([ligados,desligados,todos])},capturaCheckBox:function(tema){var onde=$i(i3GEO.arvoreDeCamadas.config.idOnde),camadas,n,i;if(onde){camadas=onde.getElementsByTagName("input");n=camadas.length;for(i=0;i<n;i++){if(camadas[i].name==tema){return camadas[i]}}}return false},comparaTemas:function(novo,atual){try{var novon=novo.length,i;if(novon!==atual.length){return(false)}for(i=0;i<novon;i+=1){if(novo[i].name!==atual[i].name){return(false)}if(novo[i].tema!==atual[i].tema){return(false)}if(novo[i].sel!==atual[i].sel){return(false)}if(novo[i].status!==atual[i].status){return(false)}}return(true)}catch(e){return true}},pegaTema:function(valor,camadas,parametro){var i;if(!camadas||camadas==""){camadas=i3GEO.arvoreDeCamadas.CAMADAS}else{camadas=i3GEO.arvoreDeCamadas.converteChaveValor2normal(camadas)}if(!parametro){parametro="name"}i=camadas.length;while(i>0){i-=1;if(camadas[i][parametro]===valor){return camadas[i]}}return""},filtraCamadas:function(propriedade,valor,operador,camadas){if(!camadas){camadas=i3GEO.arvoreDeCamadas.CAMADAS}var resultado,i=0,temp,nelementos=camadas.length,ltema;resultado=[];if(nelementos>0){do{ltema=camadas[i];if(ltema.escondido.toLowerCase()!=="sim"){temp=ltema[propriedade];if(operador==="igual"){if(temp+"".toLowerCase()==valor+"".toLowerCase()){resultado.push(ltema)}}if(operador==="diferente"){if(temp+"".toLowerCase()!==valor+"".toLowerCase()){resultado.push(ltema)}}if(operador==="menor"){if(temp+"".toLowerCase()<valor+"".toLowerCase()){resultado.push(ltema)}}}i+=1}while(i<nelementos)}return resultado},alteraPropCamadas:function(propriedade,valor,camada){var i=0,nelementos=i3GEO.arvoreDeCamadas.CAMADAS.length,ltema;if(nelementos>0){do{ltema=i3GEO.arvoreDeCamadas.CAMADAS[i];if(ltema.name===camada){ltema[propriedade]=valor}i+=1}while(i<nelementos)}},verificaAbrangenciaTemas:function(){var nos=$("#"+i3GEO.arvoreDeCamadas.config.idOnde).find("input");$.each(nos,function(i,no){var ltema=i3GEO.arvoreDeCamadas.CAMADASINDEXADAS[no.value];var temp=ltema.exttema;if(temp!==""&&temp!=undefined){if(i3GEO.util.intersectaBox(temp,i3GEO.parametros.mapexten)===false){$(no).addClass(i3GEO.arvoreDeCamadas.config.verificaAbrangencia)}else{$(no).removeClass(i3GEO.arvoreDeCamadas.config.verificaAbrangencia)}}})},verificaAplicaExtensao:function(){var i=0,temp="",nelementos=i3GEO.arvoreDeCamadas.CAMADAS.length,ltema;try{if(nelementos>0){do{ltema=i3GEO.arvoreDeCamadas.CAMADAS[i];if(ltema.aplicaextensao.toLowerCase()==="sim"){temp=ltema.name}i+=1}while(i<nelementos)}}catch(e){return""}return temp},converteChaveValor2normal:function(obj){if(obj.chaves){var i,tema,j,t,chaves=obj.chaves,temas=obj.valores,ntemas=temas.length,nchaves=chaves.length,novo=[];for(i=0;i<ntemas;i++){tema=temas[i];t={};for(j=0;j<nchaves;j++){t[chaves[j]]=tema[j]}novo.push(t)}return novo}else{return obj}},registaCamadas:function(obj){var i;obj=i3GEO.arvoreDeCamadas.converteChaveValor2normal(obj);i3GEO.arvoreDeCamadas.CAMADAS=obj;i3GEO.arvoreDeCamadas.CAMADASINDEXADAS=[];$.each(i3GEO.arvoreDeCamadas.CAMADAS,function(i,tema){i3GEO.arvoreDeCamadas.CAMADASINDEXADAS[tema.name]=tema})},dialogo:{filtro:function(){i3GEO.util.dialogoFerramenta("i3GEO.arvoreDeCamadas.dialogo.filtro()","filtroarvore","filtroarvore","dependencias.php","i3GEOF.filtroarvore.start()")},excluir:function(){i3GEO.util.dialogoFerramenta("i3GEO.arvoreDeCamadas.dialogo.excluir()","excluirarvore","excluirarvore","dependencias.php","i3GEOF.excluirarvore.start()")}}};
281 281 //
282 282 //compactados/navega_compacto.js
283 283 if(typeof(i3GEO)==='undefined'){var i3GEO={}}i3GEO.navega={EXTENSOES:{lista:[],redo:[],posicao:0,emAcao:false},offset:function(pixelx,pixely){if(i3GEO.Interface.ATUAL=="openlayers"){var view=i3geoOL.getView(),mover=[pixelx,pixely],s=i3geoOL.getSize(),dx=s[0]/2+mover[0],dy=s[1]/2+mover[1];view.centerOn(view.getCenter(),s,[dx,dy])}},ativaPan:function(){if(i3GEO.Interface.ATUAL==="googlemaps"){i3GeoMap.setOptions({draggable:true})}if(i3GEO.Interface.ATUAL==="openlayers"){marcadorZoom="";i3GEO.Interface.openlayers.OLpanel.activateControl(i3GEO.Interface.openlayers.OLpan)}},registraExt:function(ext){if(i3GEO.navega.EXTENSOES.emAcao==false){var l=i3GEO.navega.EXTENSOES.lista,n=l.length;if(n>10){l.shift()}n=l.length;if(n>0&&l[n-1]===ext){return}l.push(ext)}else{i3GEO.navega.EXTENSOES.emAcao=false}},extensaoAnterior:function(){i3GEO.navega.EXTENSOES.emAcao=true;var l=i3GEO.navega.EXTENSOES.lista,r=i3GEO.navega.EXTENSOES.redo,a=i3GEO.parametros.mapexten,e;if(l.length>0){if(l.length>1){e=l.pop();i3GEO.navega.zoomExt("","","",e);if(r.length>10){r.shift()}if(r.length>0&&r[r.length-1]===e){return}else{r.push(a)}}}else{l.push(i3GEO.parametros.mapexten)}},extensaoProximo:function(){var l=i3GEO.navega.EXTENSOES.lista,r=i3GEO.navega.EXTENSOES.redo,a=i3GEO.parametros.mapexten,e;i3GEO.navega.EXTENSOES.emAcao=true;if(r.length>0){i3GEO.navega.zoomExt("","","",r[r.length-1]);e=r.pop();if(l.length>10){l.pop()}if(l.length>0&&l[l.length-1]===e){return}l.push(a)}},pan2ponto:function(x,y){i3GEO.Interface[i3GEO.Interface.ATUAL].pan2ponto(x,y);i3GEO.Interface[i3GEO.Interface.ATUAL].recalcPar()},centroDoMapa:function(){var xy;switch(i3GEO.Interface.ATUAL){case"openlayers":xy=i3geoOL.getCenter();if(xy){return[xy.lon,xy.lat]}else{return false}break;case"googlemaps":xy=i3GeoMap.getCenter();if(xy){return[xy.lng(),xy.lat()]}else{return false}break;default:return false}},marcaCentroDoMapa:function(xy){var t=$i("i3GeoCentroDoMapa");if(t&&t.style.display==="block"){return}if(xy!=false){xy=i3GEO.calculo.dd2tela(xy[0]*1,xy[1]*1,$i(i3GEO.Interface.IDMAPA),i3GEO.parametros.mapexten,i3GEO.parametros.pixelsize);i3GEO.util.criaPin("i3GeoCentroDoMapa",i3GEO.configura.locaplic+'/imagens/alvo.png','30px','30px');i3GEO.util.posicionaImagemNoMapa("i3GeoCentroDoMapa",xy[0],xy[1])}},removeCookieExtensao:function(){var nomecookie="i3geoOLUltimaExtensao";if(i3GEO.Interface.openlayers.googleLike===true){nomecookie="i3geoUltima_ExtensaoOSM"}i3GEO.util.insereCookie(nomecookie,"")},zoomin:function(locaplic,sid){if(i3GEO.Interface.ATUAL==="openlayers"){i3geoOL.zoomIn();return}},zoomout:function(locaplic,sid){if(i3GEO.Interface.ATUAL==="openlayers"){i3geoOL.zoomOut();return}},zoomponto:function(locaplic,sid,x,y,tamanho,simbolo,cor){if(!simbolo){simbolo="ponto"}if(!tamanho){tamanho=15}if(!cor){cor="255 0 0"}if(locaplic!==""){i3GEO.configura.locaplic=locaplic}if(sid!==""){i3GEO.configura.sid=sid}i3GEO.php.zoomponto(i3GEO.atualiza,x,y,tamanho,simbolo,cor)},zoompontoIMG:function(locaplic,sid,x,y){if(locaplic!==""){i3GEO.configura.locaplic=locaplic}if(sid!==""){i3GEO.configura.sid=sid}i3GEO.php.pan(i3GEO.atualiza,'','',x,y)},xy2xy:function(locaplic,sid,xi,yi,xf,yf,ext,tipoimagem){var disty,distx,ex,novoxi,novoxf,novoyf,nex;if(locaplic!==""){i3GEO.configura.locaplic=locaplic}if(sid!==""){i3GEO.configura.sid=sid}disty=(yi*-1)+yf;distx=(xi*-1)+xf;ex=ext.split(" ");novoxi=(ex[0]*1)-distx;novoxf=(ex[2]*1)-distx;novoyi=(ex[1]*1)-disty;novoyf=(ex[3]*1)-disty;if((distx===0)&&(disty===0)){return false}else{nex=novoxi+" "+novoyi+" "+novoxf+" "+novoyf;i3GEO.navega.zoomExt(i3GEO.configura.locaplic,i3GEO.configura.sid,tipoimagem,nex);return true}},localizaIP:function(locaplic,sid,funcao){if(locaplic!==""){i3GEO.configura.locaplic=locaplic}if(sid!==""){i3GEO.configura.sid=sid}i3GEO.php.localizaIP(funcao)},zoomIP:function(locaplic,sid){try{if(arguments.length>0){i3GEO.configura.locaplic=locaplic;i3GEO.configura.sid=sid}var mostraIP=function(retorno){if(retorno.data.latitude!==null){i3GEO.navega.zoomponto(locaplic,sid,retorno.data.longitude,retorno.data.latitude)}else{i3GEO.janela.tempoMsg("Nao foi possivel identificar a localizacao.")}};i3GEO.navega.localizaIP(locaplic,sid,mostraIP)}catch(e){}},zoomExt:function(locaplic,sid,tipoimagem,ext){var f;if(locaplic!==""){i3GEO.configura.locaplic=locaplic}if(sid!==""){i3GEO.configura.sid=sid}if(tipoimagem===""){tipoimagem="nenhum"}ext=i3GEO.util.extGeo2OSM(ext);i3GEO.php.mudaext(function(retorno){i3GEO.atualiza(retorno)},tipoimagem,ext)},aplicaEscala:function(escala){if(i3GEO.Interface.ATUAL==="googlemaps"){i3GeoMap.setZoom(i3GEO.Interface.googlemaps.escala2nzoom(escala))}if(i3GEO.Interface.ATUAL==="openlayers"){i3geoOL.zoomToScale(escala,true);i3GEO.parametros.mapscale=parseInt(i3geoOL.getScale(),10)}},atualizaEscalaNumerica:function(escala){var e=$i("i3GEOescalanum");if(!e){return}if(arguments.length===1){e.value=$.number(escala,0,$trad("dec"),$trad("mil"))}else{if(i3GEO.Interface.ATUAL==="googlemaps"){e.value=parseInt(i3GEO.parametros.mapscale,10)}if(i3GEO.Interface.ATUAL==="openlayers"){e.value=$.number(i3geoOL.getScale(),0,$trad("dec"),$trad("mil"))}}},panFixo:function(){alert("panFixo foi depreciado na versao 6.0")},mostraRosaDosVentos:function(){alert("mostraRosaDosVentos foi depreciado na versao 6.0")},autoRedesenho:{INTERVALO:0,ID:"tempoRedesenho",ativa:function(id){if(arguments.length===0){id="tempoRedesenho"}i3GEO.navega.autoRedesenho.ID=id;if(($i(id))&&i3GEO.navega.autoRedesenho.INTERVALO>0){$i(id).style.display="block"}if(i3GEO.navega.autoRedesenho.INTERVALO>0){i3GEO.navega.tempoRedesenho=setTimeout('i3GEO.navega.autoRedesenho.redesenha()',i3GEO.navega.autoRedesenho.INTERVALO)}if(($i(id))&&(i3GEO.navega.autoRedesenho.INTERVALO>0)){$i(id).innerHTML=i3GEO.navega.autoRedesenho.INTERVALO/1000;i3GEO.navega.contaTempoRedesenho=setTimeout('i3GEO.navega.autoRedesenho.contagem()',1000)}},desativa:function(){i3GEO.navega.autoRedesenho.INTERVALO=0;clearTimeout(i3GEO.navega.tempoRedesenho);clearTimeout(i3GEO.navega.contaTempoRedesenho);i3GEO.navega.tempoRedesenho="";i3GEO.navega.contaTempoRedesenho="";if($i(i3GEO.navega.autoRedesenho.ID)){$i(i3GEO.navega.autoRedesenho.ID).style.display="none"}},redesenha:function(){clearTimeout(i3GEO.navega.tempoRedesenho);clearTimeout(i3GEO.navega.contaTempoRedesenho);switch(i3GEO.Interface.ATUAL){case"openlayers":i3GEO.Interface.openlayers.atualizaMapa();break;case"googlemaps":i3GEO.Interface.googlemaps.redesenha();break;default:i3GEO.atualiza("")}i3GEO.navega.autoRedesenho.ativa(i3GEO.navega.autoRedesenho.ID)},contagem:function(){if($i(i3GEO.navega.autoRedesenho.ID)){$i(i3GEO.navega.autoRedesenho.ID).innerHTML=parseInt($i(i3GEO.navega.autoRedesenho.ID).innerHTML,10)-1}i3GEO.navega.contaTempoRedesenho=setTimeout('i3GEO.navega.autoRedesenho.contagem()',1000)}},zoomBox:{inicia:function(){alert("zoomBox depreciado na versao 6.0")}},lente:{_lenteCompose:"",eventMouseout:function(){if(i3GEO.navega.lente._lenteCompose!=""){i3GEO.navega.lente.stop(i3geoOL.getTargetElement())}},eventMouseMove:function(event){if(i3GEO.navega.lente._lenteCompose!=""){i3geoOL.renderSync()}},stop:function(container){ol.Observable.unByKey(i3GEO.navega.lente._lenteCompose);i3GEO.navega.lente._lenteCompose="";container.removeEventListener('mousemove',i3GEO.navega.lente.eventMouseMove);container.removeEventListener('mouseout',i3GEO.navega.lente.eventMouseout);i3geoOL.renderSync()},start:function(){if(i3GEO.Interface.ATUAL!="openlayers"){return}var container=i3geoOL.getTargetElement();var radius=75;container.addEventListener('mousemove',i3GEO.navega.lente.eventMouseMove);container.addEventListener('mouseout',i3GEO.navega.lente.eventMouseout);var a=i3geoOL.on('postcompose',function(event){var context=event.context;var pixelRatio=event.frameState.pixelRatio;var half=radius*pixelRatio;var centerX=objposicaocursor.imgx*pixelRatio;var centerY=objposicaocursor.imgy*pixelRatio;var originX=centerX-half;var originY=centerY-half;var size=2*half+1;var sourceData=context.getImageData(originX,originY,size,size).data;var dest=context.createImageData(size,size);var destData=dest.data;for(var j=0;j<size;++j){for(var i=0;i<size;++i){var dI=i-half;var dJ=j-half;var dist=Math.sqrt(dI*dI+dJ*dJ);var sourceI=i;var sourceJ=j;if(dist<half){sourceI=Math.round(half+dI/2);sourceJ=Math.round(half+dJ/2)}var destOffset=(j*size+i)*4;var sourceOffset=(sourceJ*size+sourceI)*4;destData[destOffset]=sourceData[sourceOffset];destData[destOffset+1]=sourceData[sourceOffset+1];destData[destOffset+2]=sourceData[sourceOffset+2];destData[destOffset+3]=sourceData[sourceOffset+3]}}context.beginPath();context.arc(centerX,centerY,half,0,2*Math.PI);context.lineWidth=3*pixelRatio;context.strokeStyle='rgba(255,255,255,0.5)';context.putImageData(dest,originX,originY);context.stroke();context.restore()});i3GEO.navega.lente._lenteCompose=[a]}},destacaTema:{inicia:function(){i3GEO.janela.tempoMsg("removido na versao 8")}},basemapSpy:{_spyCompose:"",eventMouseout:function(){if(i3GEO.navega.basemapSpy._spyCompose!=""){i3GEO.navega.basemapSpy.stop(i3geoOL.getLayerBase(),i3geoOL.getTargetElement())}},eventMouseMove:function(event){if(i3GEO.navega.basemapSpy._spyCompose!=""){i3geoOL.renderSync()}},stop:function(imagery,container){ol.Observable.unByKey(i3GEO.navega.basemapSpy._spyCompose);i3GEO.navega.basemapSpy._spyCompose="";imagery.setZIndex(imagery.get("zIndexOriginal"));container.removeEventListener('mousemove',i3GEO.navega.basemapSpy.eventMouseMove);container.removeEventListener('mouseout',i3GEO.navega.basemapSpy.eventMouseout);i3geoOL.renderSync()},start:function(){if(i3GEO.Interface.ATUAL!="openlayers"){return}var imagery=i3geoOL.getLayerBase();if(!imagery){imagery=i3geoOL.getAllLayers()[0]}var container=i3geoOL.getTargetElement();if(i3GEO.navega.basemapSpy._spyCompose!=""){i3GEO.navega.basemapSpy.stop(imagery,container);return}var radius=75;imagery.set("zIndexOriginal",imagery.getZIndex());imagery.setZIndex(1000);container.addEventListener('mousemove',i3GEO.navega.basemapSpy.eventMouseMove);container.addEventListener('mouseout',i3GEO.navega.basemapSpy.eventMouseout);var a=imagery.on('precompose',function(event){var ctx=event.context;var pixelRatio=event.frameState.pixelRatio;ctx.save();ctx.beginPath();ctx.arc(objposicaocursor.imgx*pixelRatio,objposicaocursor.imgy*pixelRatio,radius*pixelRatio,0,2*Math.PI);ctx.lineWidth=5*pixelRatio;ctx.strokeStyle='rgba(0,0,0,0.5)';ctx.stroke();ctx.clip()});var b=imagery.on('postcompose',function(event){var ctx=event.context;ctx.restore()});i3GEO.navega.basemapSpy._spyCompose=[a,b]}},dialogo:{wiki:function(){i3GEO.util.dialogoFerramenta("i3GEO.navega.dialogo.wiki()","wiki","wiki","dependencias.php","i3GEOF.wiki.iniciaJanelaFlutuante()")},metar:function(){i3GEO.util.dialogoFerramenta("i3GEO.navega.dialogo.metar()","metar","metar","dependencias.php","i3GEOF.metar.iniciaJanelaFlutuante()")},buscaFotos:function(){i3GEO.util.dialogoFerramenta("i3GEO.navega.dialogo.buscaFotos()","buscafotos","buscaFotos","dependencias.php","i3GEOF.buscaFotos.iniciaJanelaFlutuante()")},google:function(coordenadas){i3GEO.navega.dialogo.google.coordenadas=coordenadas;var temp,janela,idgoogle="googlemaps"+Math.random();janela=i3GEO.janela.cria((i3GEO.parametros.w/2.5)+25+"px",(i3GEO.parametros.h/2.5)+18+"px",i3GEO.configura.locaplic+"/ferramentas/googlemaps1/index.php","","","<span class='i3GeoTituloJanelaBsNolink' >Google maps</span></div>",idgoogle,false,"hd","","","",false,"","","","","68");temp=function(){i3GEO.desenho.removePins("boxOndeGoogle");i3GEO.desenho.removePins("googlemaps")};$(janela[0].close).click(temp)},confluence:function(){i3GEO.util.dialogoFerramenta("i3GEO.navega.dialogo.confluence()","confluence","confluence","dependencias.php","i3GEOF.confluence.iniciaJanelaFlutuante()")}},atualizaGoogle:function(idgoogle){try{parent.frames[idgoogle+"i"].panTogoogle()}catch(e){i3GEO.eventos.removeEventos("NAVEGAMAPA",["i3GEO.navega.atualizaGoogle('"+idgoogle+"')"]);i3GEO.desenho.removePins("googlemaps");i3GEO.desenho.removePins("boxOndeGoogle")}},dragZoom:function(){i3GEO.navega.dragZoom.draw=new ol.interaction.Draw({type:"Circle",freehand:false,geometryFunction:ol.interaction.Draw.createRegularPolygon(4)});i3GEO.navega.dragZoom.draw.setActive(false);i3GEO.navega.dragZoom.draw.on("drawend",function(evt){var pol=evt.feature.getGeometry();i3geoOL.getView().fit(pol);i3GEO.navega.dragZoom.draw.setActive(false)});document.body.addEventListener('keydown',function(event){if(event.keyCode==16){i3GEO.navega.dragZoom.draw.setActive(true)}});document.body.addEventListener('keyup',function(event){if(event.keyCode==16){i3GEO.navega.dragZoom.draw.setActive(false)}});return i3GEO.navega.dragZoom.draw},geolocal:{_timer:"",_delay:500,_pin:"",start:function(){if(i3GEO.navega.geolocal._timer!=""){i3GEO.navega.geolocal.stop()}else{i3GEO.navega.geolocal.firstPoint()}},firstPoint:function(){var retorno=function(position){console.log(position);i3GEO.navega.geolocal.showPoint(position);i3GEO.navega.geolocal.createTimer()};navigator.geolocation.getCurrentPosition(retorno,i3GEO.navega.geolocal.erro)},createTimer:function(){i3GEO.navega.geolocal._timer=setInterval(function(){i3GEO.navega.geolocal.movePoint()},i3GEO.navega.geolocal._delay)},stop:function(){clearInterval(i3GEO.navega.geolocal._timer);i3GEO.navega.geolocal._timer="";i3GEO.navega.geolocal.removePoint()},showPoint:function(position){var y=position.coords.latitude;var x=position.coords.longitude;i3GEO.navega.pan2ponto(x,y);i3GEO.navega.geolocal._pin=i3GEO.desenho.addPin(x,y,"","",i3GEO.configura.locaplic+'/imagens/google/confluence.png',"pingeolocal")},movePoint:function(position){var retorno=function(position){var y=position.coords.latitude;var x=position.coords.longitude;i3GEO.desenho.movePin(i3GEO.navega.geolocal._pin,x,y)};navigator.geolocation.getCurrentPosition(retorno,i3GEO.navega.geolocal.erro)},removePoint:function(){i3GEO.desenho.removePins("pingeolocal")},erro:function(error){i3GEO.navega.geolocal.stop();var erro="";switch(error.code){case error.PERMISSION_DENIED:erro="User denied the request for Geolocation.";break;case error.POSITION_UNAVAILABLE:erro="Location information is unavailable.";break;case error.TIMEOUT:erro="The request to get user location timed out.";break;case error.UNKNOWN_ERROR:erro="An unknown error occurred.";break}i3GEO.janela.tempoMsg(erro)}}};
... ...
js/i3geo_tudo_compacto8.js.php
... ... @@ -235,7 +235,7 @@ var i3GEOF=[];var i3GEOadmin=[];if(typeof YAHOO!=&quot;undefined&quot;){YAHOO.namespace(&quot;i
235 235 if(typeof(i3GEO)==='undefined'){var i3GEO={}}var navm=false;var navn=false;var chro=navigator.userAgent.toLowerCase().indexOf('chrome')>-1;var opera=navigator.userAgent.toLowerCase().indexOf('opera')>-1;if(navigator.appName.substring(0,1)==='N'){navn=true}if(navigator.appName.substring(0,1)==='M'){navm=true}if(opera===true){navn=true}var $i=function(id){if(!id||id===""){return false}return document.getElementById(id)};Array.prototype.remove=function(s){try{var n=this.length,i;for(i=0;i<n;i++){if(this[i]==s){this.splice(i,1)}}}catch(e){}};Array.prototype.getUnique=function(){var u={},a=[];for(var i=0,l=this.length;i<l;++i){if(u.hasOwnProperty(this[i])){continue}a.push(this[i]);u[this[i]]=1}return a};(function(){function decimalAdjust(type,value,exp){if(typeof exp==='undefined'||+exp===0){return Math[type](value)}value=+value;exp=+exp;if(isNaN(value)||!(typeof exp==='number'&&exp%1===0)){return NaN}value=value.toString().split('e');value=Math[type](+(value[0]+'e'+(value[1]?(+value[1]-exp):-exp)));value=value.toString().split('e');return+(value[0]+'e'+(value[1]?(+value[1]+exp):exp))}if(!Math.round10){Math.round10=function(value,exp){return decimalAdjust('round',value,exp)}}if(!Math.floor10){Math.floor10=function(value,exp){return decimalAdjust('floor',value,exp)}}if(!Math.ceil10){Math.ceil10=function(value,exp){return decimalAdjust('ceil',value,exp)}}})();i3GEO.util={PINS:[],BOXES:[],trim:function(s){return s.replace(/^\s+|\s+$/gm,'')},generateId:function(pre){if(!pre){pre="UniqId"}return pre+String(Date.now())+Math.floor(Math.random()*10000)},escapeURL:function(sUrl){var re;sUrl=escape(sUrl);re=new RegExp("%3F","g");sUrl=sUrl.replace(re,'?');re=new RegExp("%3D","g");sUrl=sUrl.replace(re,'=');re=new RegExp("%26","g");sUrl=sUrl.replace(re,'&');return sUrl},insereCookie:function(nome,valor,expira){if(!expira){expira=10}var exdate=new Date();exdate.setDate(exdate.getDate()+expira);document.cookie=nome+"="+valor+"; expires="+exdate.toUTCString()+";path=/"},pegaCookie:function(nome){var cookies,i,fim;cookies=document.cookie;i=cookies.indexOf(nome);if(i===-1){return null}fim=cookies.indexOf(";",i);if(fim===-1){fim=cookies.length}return(unescape(cookies.substring(i,fim))).split("=")[1]},listaChaves:function(obj){var keys,key="";keys=[];for(key in obj){if(obj[key]){keys.push(key)}}return keys},listaTodasChaves:function(obj){var keys,key="";keys=[];for(key in obj){keys.push(key)}return keys},removeAcentos:function(str){var defaultDiacriticsRemovalMap=[{'base':'A','letters':/[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F]/g},{'base':'C','letters':/[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E]/g},{'base':'E','letters':/[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E]/g},{'base':'I','letters':/[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197]/g},{'base':'O','letters':/[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C]/g},{'base':'U','letters':/[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244]/g},{'base':'a','letters':/[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250]/g},{'base':'c','letters':/[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184]/g},{'base':'e','letters':/[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD]/g},{'base':'i','letters':/[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131]/g},{'base':'o','letters':/[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275]/g},{'base':'u','letters':/[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289]/g}];for(var i=0;i<defaultDiacriticsRemovalMap.length;i++){str=str.replace(defaultDiacriticsRemovalMap[i].letters,defaultDiacriticsRemovalMap[i].base)}return str},protocolo:function(){var u=window.location.href;u=u.split(":");return(u[0])},pegaPosicaoObjeto:function(obj){if(obj){if(!obj.style){return[0,0]}var curleft=0,curtop=0;if(obj){if(obj.offsetParent){do{curleft+=obj.offsetLeft-obj.scrollLeft;curtop+=obj.offsetTop-obj.scrollTop;obj=obj.offsetParent}while(obj)}}return[curleft+document.body.scrollLeft,curtop+document.body.scrollTop]}else{return[0,0]}},pegaElementoPai:function(e){var targ=document;if(!e){e=window.event}if(e.target){targ=e.target}else{if(e.srcElement){targ=e.srcElement}}if(targ.nodeType===3){targ=targ.parentNode}if(targ.parentNode){tparent=targ.parentNode;return(tparent)}else{return targ}},mudaCursor:function(){},criaBox:function(id){if(arguments.length===0){id="boxg"}if(!$i(id)){var novoel=document.createElement("div");novoel.id=id;novoel.style.zIndex=1;novoel.innerHTML='<font face="Arial" size=0></font>';document.body.appendChild(novoel);novoel.onmouseover=function(){novoel.style.display='none'};novoel.onmouseout=function(){novoel.style.display='block'};i3GEO.util.BOXES.push(id)}else{$i(id).style.display="block"}},escondeBox:function(){var l,i;l=i3GEO.util.BOXES.length;for(i=0;i<l;i++){if($i(i3GEO.util.BOXES[i])){$i(i3GEO.util.BOXES[i]).style.display="none"}}},criaPin:function(id,imagem,w,h,mouseover,onde){if(!id||id===""){id="boxpin"}if(!imagem||imagem===""){imagem=i3GEO.configura.locaplic+'/imagens/marker.png'}if(!w||w===""){w=21}if(!h||h===""){h=25}if(!onde||onde===""){onde=document.body}var p=$i(id);if(!p){var novoel=document.createElement("img");novoel.style.zIndex=10000;novoel.style.position="absolute";novoel.style.width=parseInt(w,10)+"px";novoel.style.height=parseInt(h,10)+"px";novoel.style.top="0px";novoel.style.left="0px";novoel.src=imagem;novoel.id=id;novoel.style.display="block";if(id==="boxpin"){novoel.onmouseover=function(){$i("boxpin").style.display="none"}}else if(mouseover){novoel.onmouseover=mouseover}onde.appendChild(novoel);i3GEO.util.PINS.push(id);return[true,novoel]}p.style.display="block";return[false,p]},posicionaImagemNoMapa:function(id,x,y){var i,mx,my;if(!x){x=objposicaocursor.telax}if(!y){y=objposicaocursor.telay}i=$i(id);mx=parseInt(i.style.width,10)/2;my=parseInt(i.style.height,10)/2;i.style.top=y-my+"px";i.style.left=x-mx+"px";return[y-my,x-mx]},escondePin:function(){var l,i;l=i3GEO.util.PINS.length;for(i=0;i<l;i++){if($i(i3GEO.util.PINS[i])){$i(i3GEO.util.PINS[i]).style.display="none"}}},removePin:function(id){var l,i,idpin;l=i3GEO.util.PINS.length;for(i=0;i<l;i++){idpin=i3GEO.util.PINS[i];if($i(idpin)){if(!id||(id&&id===idpin)){$i(idpin).style.display="none";i3GEO.util.removeChild(idpin);i3GEO.util.PINS.remove(i)}}}},$im:function(g){return i3GEO.configura.locaplic+"/imagens/"+g},$inputText:function(idPai,larguraIdPai,idInput,titulo,digitos,valor,nome,onch){if(arguments.length===6){nome=""}if(idPai!==""){if(larguraIdPai!==""){$i(idPai).style.width=larguraIdPai+"px"}$i(idPai).style.padding="3";$i(idPai).style.textAlign="center"}if(!onch){onch=""}return"<span ><input onchange=\""+onch+"\" tabindex='0' id='"+idInput+"' title='"+titulo+"' type='text' size='"+digitos+"' value='"+valor+"' name='"+nome+"' /></span>"},$inputTextMudaCor:function(obj){var n=obj.value.split(" ");obj.style.color="rgb("+n[0]+","+n[1]+","+n[2]+")"},$top:function(id,valor){if(document.getElementById(id).style){if(document.getElementById(id).style.pixelTop){document.getElementById(id).style.pixelTop=valor}else{document.getElementById(id).style.top=valor+"px"}}},$left:function(id,valor){if(document.getElementById(id).style){if(document.getElementById(id).style.pixelLeft){document.getElementById(id).style.pixelLeft=valor}else{document.getElementById(id).style.left=valor+"px"}}},adicionaSHP:function(path){var temp=path.split(".");if((temp[1]==="SHP")||(temp[1]==="shp")){i3GEO.php.adicionaTemaSHP(i3GEO.atualiza,path)}else{i3GEO.php.adicionaTemaIMG(i3GEO.atualiza,path)}},abreCor:function(janelaid,elemento,tipo){if(!i3GEO.configura){i3GEO.configura={locaplic:"../"}}if(arguments.length===2){tipo="rgb"}var janela,ins,novoel,wdocaiframe,wsrc=i3GEO.configura.locaplic+"/ferramentas/colorpicker/index.htm?doc="+janelaid+"&elemento="+elemento+"&tipo="+tipo,texto="Cor",id="i3geo_janelaCor",classe="hd";if($i(id)){YAHOO.i3GEO.janela.manager.find(id).show();return}ins='<div id="'+id+'_cabecalho" class="hd">';ins+="<span><img id='i3geo_janelaCor_imagemCabecalho' style='visibility:hidden;' src=\'"+i3GEO.configura.locaplic+"/imagens/aguarde.gif\' /></span>";ins+=texto;ins+='</div><div id="i3geo_janelaCor_corpo" class="bd" style="padding:5px">';if(wsrc!==""){ins+='<iframe name="'+id+'i" id="i3geo_janelaCori" valign="top" style="height:230px,border:0px white solid"></iframe>'}ins+='</div>';novoel=document.createElement("div");novoel.id="i3geo_janelaCor";novoel.style.display="block";novoel.innerHTML=ins;if($i("i3geo")){$i("i3geo").appendChild(novoel)}else{document.body.appendChild(novoel)}wdocaiframe=$i("i3geo_janelaCori");if(wdocaiframe){wdocaiframe.style.display="block";wdocaiframe.src=wsrc;wdocaiframe.style.height="250px";wdocaiframe.style.width="355px";wdocaiframe.style.border="0px solid white"}janela=new YAHOO.widget.Panel(id,{height:"290px",modal:false,width:"360px",fixedcenter:true,constraintoviewport:false,visible:true,iframe:false,strings:{close:"<span class='material-icons'>cancel</span>"}});YAHOO.i3GEO.janela.manager.register(janela);janela.render();$i(id+'_cabecalho').className=classe},aparece:function(id,tempo,intervalo){var n,obj,opacidade,fadei=0,tempoFadei=null;n=parseInt(tempo/intervalo,10);obj=$i(id);if(n===1){obj.style.display="block";if(navm){obj.style.filter='alpha(opacity=100)'}else{obj.style.opacity=1}}tempo=n*intervalo;intervalo=(intervalo*100)/tempo;opacidade=0;if(navm){obj.style.filter='alpha(opacity=0)'}else{obj.style.opacity=0}obj.style.display="block";fadei=function(){opacidade+=intervalo;if(navm){obj.style.filter='alpha(opacity='+opacidade+')'}else{obj.style.opacity=opacidade/100}if(opacidade<100){tempoFadei=setTimeout(fadei,tempo)}else{if(tempoFadei){clearTimeout(tempoFadei)}if(navm){obj.style.filter='alpha(opacity=100)'}else{obj.style.opacity=1}}};tempoFadei=setTimeout(fadei,tempo)},desaparece:function(id,tempo,intervalo,removeobj){var n,obj,opacidade,fade=0,p,tempoFade=null;n=parseInt(tempo/intervalo,10);obj=$i(id);if(n===1){obj.style.display="none";if(removeobj){p=obj.parentNode;if(p){p.removeChild(obj)}}return}tempo=n*intervalo;intervalo=(intervalo*100)/tempo;opacidade=100;if(navm){obj.style.filter='alpha(opacity=100)'}else{obj.style.opacity=1}obj.style.display="block";fade=function(){opacidade-=intervalo;if(navm){obj.style.filter='alpha(opacity='+opacidade+')'}else{obj.style.opacity=opacidade/100}if(opacidade>0){tempoFade=setTimeout(fade,tempo)}else{if(tempoFade){clearTimeout(tempoFade)}obj.style.display="none";if(navm){obj.style.filter='alpha(opacity=100)'}else{obj.style.opacity=1}if(removeobj){p=obj.parentNode;if(p){p.removeChild(obj)}}}};tempoFade=setTimeout(fade,tempo)},wkt2ext:function(wkt,tipo){var re,x,y,w,xMin,xMax,yMin,yMax,temp;tipo=tipo.toLowerCase();ext=false;if(tipo==="polygon"){try{re=new RegExp("POLYGON","g");wkt=wkt.replace(re,"");wkt=wkt.split("(")[2].split(")")[0];wkt=wkt.split(",");x=[];y=[];for(w=0;w<wkt.length;w++){temp=wkt[w].split(" ");x.push(temp[0]);y.push(temp[1])}x.sort(i3GEO.util.sortNumber);xMin=x[0];xMax=x[(x.length)-1];y.sort(i3GEO.util.sortNumber);yMin=y[0];yMax=y[(y.length)-1];return xMin+" "+yMin+" "+xMax+" "+yMax}catch(e){}}if(tipo==="point"){try{re=new RegExp("POINT","g");wkt=wkt.replace(re,"");wkt=wkt.split("(")[1].split(")")[0];wkt=wkt.split(" ");return(wkt[0]*1-0.01)+" "+(wkt[1]*1-0.01)+" "+(wkt[0]*1+0.01)+" "+(wkt[1]*1+0.01)}catch(e){}}return ext},sortNumber:function(a,b){return a-b},getScrollerWidth:function(){var scr=null,inn=null,wNoScroll=0,wScroll=0;scr=document.createElement('div');scr.style.position='absolute';scr.style.top='-1000px';scr.style.left='-1000px';scr.style.width='100px';scr.style.height='50px';scr.style.overflow='hidden';inn=document.createElement('div');inn.style.width='100%';inn.style.height='200px';scr.appendChild(inn);document.body.appendChild(scr);wNoScroll=inn.offsetWidth;scr.style.overflow='auto';wScroll=inn.offsetWidth;document.body.removeChild(document.body.lastChild);return(wNoScroll-wScroll)},getScrollHeight:function(){var mx=Math.max,d=document;return mx(mx(d.body.scrollHeight,d.documentElement.scrollHeight),mx(d.body.offsetHeight,d.documentElement.offsetHeight),mx(d.body.clientHeight,d.documentElement.clientHeight))},scriptTag:function(js,ini,id,aguarde){var head,script;if(!$i(id)||id===""){head=document.getElementsByTagName('head')[0];script=document.createElement('script');script.type='text/javascript';if(ini!==""){if(navm){script.onreadystatechange=function(){if(this.readyState==='loaded'||this.readyState==='complete'){if(ini.call){ini.call()}else{eval(ini)}}}}else{script.onload=function(){if(ini.call){ini.call()}else{eval(ini)}}}}script.src=js;if(id!==""){script.id=id}head.appendChild(script)}else{if(ini!==""){if(jQuery.isFunction(ini)){ini.call()}else{eval(ini)}}}},removeScriptTag:function(id){try{old=$i("loadscriptI3GEO");if(old!==null){old.parentNode.removeChild(old);old=null;eval(id+" = null;")}old=$i(id);if(old!==null){old.parentNode.removeChild(old)}}catch(erro){}},verificaScriptTag:function(texto){var s=document.getElementsByTagName("script"),n=s.length,i,t;try{for(i=0;i<n;i++){t=s[i].id;t=t.split(".");if(t[2]&&t[2]=="dicionario_script"){return false}if(t[0]===texto){return true}}return false}catch(e){return false}},mensagemAjuda:function(onde,texto){var ins="<table class='mensagemAjuda' ><tr><th>";ins+='<div style="float:right"></div>';ins+='<div style="text-align:left;">';if(texto===""){texto=$i(onde).innerHTML}ins+=texto;ins+='</div></th></tr></table>';if(onde!==""){$i(onde).innerHTML=ins}else{return(ins)}},randomRGB:function(){var v=Math.random(),r=parseInt(255*v,10),g;v=Math.random();g=parseInt(255*v,10);v=Math.random();b=parseInt(255*v,10);return(r+","+g+","+b)},rgb2hex:function(str){var rgb=str.split(",");function hex(x){return("0"+parseInt(x).toString(16)).slice(-2)}return"#"+hex(rgb[0])+hex(rgb[1])+hex(rgb[2])},hex2rgb:function(colour){var r,g,b;if(colour.charAt(0)=='#'){colour=colour.substr(1)}if(colour.length==3){colour=colour.substr(0,1)+colour.substr(0,1)+colour.substr(1,2)+colour.substr(1,2)+colour.substr(2,3)+colour.substr(2,3)}r=colour.charAt(0)+''+colour.charAt(1);g=colour.charAt(2)+''+colour.charAt(3);b=colour.charAt(4)+''+colour.charAt(5);r=parseInt(r,16);g=parseInt(g,16);b=parseInt(b,16);return r+','+g+','+b},comboTemas:function(id,funcao,onde,nome,multiplo,tipoCombo,estilo,yui,incluiVazio,classe){if(onde&&onde!==""){}if(!nome){nome=""}if(!multiplo){multiplo=false}if(!estilo||estilo==""){estilo="font-size: 12px;width: 95%;"}if(!yui){yui=false}if(!incluiVazio){incluiVazio=false}if(!classe){classe=""}var monta,temp,temp1,temp2;monta=function(retorno){var i,comboTemas='',n,nome="",tema;if(yui===true){comboTemas='<input type="button" name='+id+'_button id="'+id+'" value="'+$trad("x33")+'&nbsp;&nbsp;">';id=id+"select";nome=id}if(retorno==undefined||retorno.length==0||(retorno.data&&retorno.data.length==0)){retorno={"data":[{"tema":"","nome":"---"}]};incluiVazio=false}if(retorno!==undefined){if(retorno.data){retorno=retorno.data}n=retorno.length;if(n>0){if(multiplo){comboTemas+="<select class='"+classe+"' style='"+estilo+"' id='"+id+"' size='4' multiple='multiple' name='"+nome+"'>"}else{comboTemas+="<select class='"+classe+"' style='"+estilo+"' id='"+id+"' name='"+nome+"'>"}if(incluiVazio===true){comboTemas+="<option value=''>"+$trad("x92")+"</option>"}for(i=0;i<n;i++){if(retorno[i].nome){nome=retorno[i].nome;tema=retorno[i].tema}else{nome=retorno[i].tema;tema=retorno[i].name}if(retorno[i].escondido!=="sim"){comboTemas+="<option value="+tema+" >"+nome+"</option>"}}comboTemas+="</select><span class='material-icons iconeComboTemas'>playlist_add_check</span>";temp={dados:comboTemas,tipo:"dados"}}else{if(tipoCombo==="poligonosSelecionados"||tipoCombo==="selecionados"||tipoCombo==="pontosSelecionados"){temp={dados:'<div class=alerta >Nenhum tema encontrado. <span style=cursor:pointer;color:blue onclick="i3GEO.mapa.dialogo.selecao()" > Selecionar...</span></div>',tipo:"mensagem"}}else{temp={dados:'<div class=alerta >Nenhum tema encontrado. </div>',tipo:"mensagem"}}}}else{temp={dados:"<p style=color:red >Ocorreu um erro<br>",tipo:"erro"}}eval("funcao(temp);")};if(tipoCombo==="ligados"){if(i3GEO.arvoreDeCamadas.CAMADAS!==""){monta(i3GEO.arvoreDeCamadas.filtraCamadas("status",2,"igual",i3GEO.arvoreDeCamadas.CAMADAS))}else{i3GEO.php.listaTemas(monta,"ligados",i3GEO.configura.locaplic,i3GEO.configura.sid)}}if(tipoCombo==="ligadosComTabela"){if(i3GEO.arvoreDeCamadas.CAMADAS!==""){temp=i3GEO.arvoreDeCamadas.filtraCamadas("status",2,"igual",i3GEO.arvoreDeCamadas.CAMADAS);temp1=i3GEO.arvoreDeCamadas.filtraCamadas("type",3,"menor",temp);temp2=i3GEO.arvoreDeCamadas.filtraCamadas("type",8,"igual",temp);monta(temp1.concat(temp2))}else{i3GEO.php.listaTemas(monta,"ligados",i3GEO.configura.locaplic,i3GEO.configura.sid)}}if(tipoCombo==="comTabela"){if(i3GEO.arvoreDeCamadas.CAMADAS!==""){temp=i3GEO.arvoreDeCamadas.filtraCamadas("status",3,"menor",i3GEO.arvoreDeCamadas.CAMADAS);temp1=i3GEO.arvoreDeCamadas.filtraCamadas("type",3,"menor",temp);temp2=i3GEO.arvoreDeCamadas.filtraCamadas("type",8,"igual",temp);monta(temp1.concat(temp2))}}if(tipoCombo==="locais"){i3GEO.php.listaTemasEditaveis(monta,i3GEO.configura.locaplic,i3GEO.configura.sid)}if(tipoCombo==="editavel"){temp=i3GEO.arvoreDeCamadas.filtraCamadas("editavel","SIM","igual",i3GEO.arvoreDeCamadas.CAMADAS);monta(temp)}if(tipoCombo==="selecionados"){if(i3GEO.arvoreDeCamadas.CAMADAS!==""){monta(i3GEO.arvoreDeCamadas.filtraCamadas("sel","sim","igual",i3GEO.arvoreDeCamadas.CAMADAS))}else{i3GEO.php.listaTemasComSel(monta,i3GEO.configura.locaplic,i3GEO.configura.sid)}}if(tipoCombo==="raster"){if(i3GEO.arvoreDeCamadas.CAMADAS!==""){monta(i3GEO.arvoreDeCamadas.filtraCamadas("type",3,"igual",i3GEO.arvoreDeCamadas.CAMADAS))}else{i3GEO.php.listatemasTipo(monta,"raster",i3GEO.configura.locaplic,i3GEO.configura.sid)}}if(tipoCombo==="pontosSelecionados"){if(i3GEO.arvoreDeCamadas.CAMADAS!==""){temp=i3GEO.arvoreDeCamadas.filtraCamadas("type",0,"igual",i3GEO.arvoreDeCamadas.CAMADAS);monta(i3GEO.arvoreDeCamadas.filtraCamadas("sel","sim","igual",temp))}else{i3GEO.janela.tempoMsg($trad("x13"))}}if(tipoCombo==="pontos"){if(i3GEO.arvoreDeCamadas.CAMADAS!==""){monta(i3GEO.arvoreDeCamadas.filtraCamadas("type",0,"igual",i3GEO.arvoreDeCamadas.CAMADAS))}else{i3GEO.janela.tempoMsg($trad("x13"))}}if(tipoCombo==="poligonos"){if(i3GEO.arvoreDeCamadas.CAMADAS!==""){monta(i3GEO.arvoreDeCamadas.filtraCamadas("type",2,"igual",i3GEO.arvoreDeCamadas.CAMADAS))}else{i3GEO.janela.tempoMsg($trad("x13"))}}if(tipoCombo==="naoraster"){if(i3GEO.arvoreDeCamadas.CAMADAS!==""){temp=i3GEO.arvoreDeCamadas.filtraCamadas("type",4,"diferente",i3GEO.arvoreDeCamadas.CAMADAS);temp=i3GEO.arvoreDeCamadas.filtraCamadas("type",5,"diferente",temp);temp=i3GEO.arvoreDeCamadas.filtraCamadas("type",6,"diferente",temp);temp=i3GEO.arvoreDeCamadas.filtraCamadas("type",7,"diferente",temp);monta(i3GEO.arvoreDeCamadas.filtraCamadas("type",8,"diferente",temp))}else{i3GEO.janela.tempoMsg($trad("x13"))}}if(tipoCombo==="poligonosSelecionados"){if(i3GEO.arvoreDeCamadas.CAMADAS!==""){temp=i3GEO.arvoreDeCamadas.filtraCamadas("type",2,"igual",i3GEO.arvoreDeCamadas.CAMADAS);monta(i3GEO.arvoreDeCamadas.filtraCamadas("sel","sim","igual",temp))}else{i3GEO.janela.tempoMsg($trad("x13"))}}if(tipoCombo==="naolinearSelecionados"){if(i3GEO.arvoreDeCamadas.CAMADAS!==""){temp=i3GEO.arvoreDeCamadas.filtraCamadas("type",1,"diferente",i3GEO.arvoreDeCamadas.CAMADAS);monta(i3GEO.arvoreDeCamadas.filtraCamadas("sel","sim","igual",temp))}else{i3GEO.janela.tempoMsg($trad("x13"))}}if(tipoCombo==="linhaDoTempo"){if(i3GEO.arvoreDeCamadas.CAMADAS!==""){monta(i3GEO.arvoreDeCamadas.filtraCamadas("linhadotempo","sim","igual",i3GEO.arvoreDeCamadas.CAMADAS))}else{i3GEO.janela.tempoMsg($trad("x13"))}}if(tipoCombo===""){if(i3GEO.arvoreDeCamadas.CAMADAS!==""){monta(i3GEO.arvoreDeCamadas.filtraCamadas("type","","diferente",i3GEO.arvoreDeCamadas.CAMADAS))}else{i3GEO.janela.tempoMsg($trad("x13"))}}},checkCombo:function(id,nomes,valores,estilo,funcaoclick,ids,idschecked){var temp,i,combo="",n=valores.length;if(!funcaoclick){funcaoclick=""}if(n>0){combo="<div id="+id+" style='"+estilo+"'>";for(i=0;i<n;i++){temp="";if(idschecked&&idschecked[i]){temp="checked"}if(!ids){combo+="<li class='checkbox text-left'>"+"<label style='width:90%'>"+" <input "+temp+"type='checkbox' value='"+valores[i]+"' onclick="+funcaoclick+" >"+" <span class='checkbox-material'><span class='check'></span></span> "+nomes[i]+"</label></li>"}else{combo+="<li class='checkbox text-left'>"+"<label style='width:90%'>"+" <input "+temp+"type='checkbox' id="+ids[i]+" value='"+valores[i]+"' onclick="+funcaoclick+" >"+" <span class='checkbox-material'><span class='check'></span></span> "+nomes[i]+"</label></li>"}}combo+="</div>"}return combo},valoresCheckCombo:function(id){var el=$i(id),res=[],n,i;if(el){el=el.getElementsByTagName("input");n=el.length;for(i=0;i<n;i++){if(el[i].checked===true){res.push(el[i].value)}}}return res},checkTemas:function(id,funcao,onde,nome,tipoLista,prefixo,size){if(arguments.length>2){$i(onde).innerHTML="buscando temas..."}if(arguments.length===3){nome=""}var monta,temp,temp1,n,i;monta=function(retorno){try{var i,comboTemas,n,nome,listaNomes=[],listaValores=[];if(retorno!==undefined){if(retorno.data){retorno=retorno.data}n=retorno.length;if(n>0){comboTemas="";for(i=0;i<n;i++){if(retorno[i].nome){nome=retorno[i].nome;tema=retorno[i].tema}else{nome=retorno[i].tema;tema=retorno[i].name}listaNomes.push(nome);listaValores.push(tema);comboTemas+="<tr><td><input size=2 style='cursor:pointer' type=checkbox name='"+tema+"' /></td>";comboTemas+="<td>&nbsp;<input style='text-align:left;width:"+size+" cursor:text;' onclick='javascript:this.select();' id='"+prefixo+tema+"' type=text value='"+nome+"' /></td></tr>"}temp={dados:comboTemas,tipo:"dados"}}else{temp={dados:'<div class=alerta >Nenhum tema encontrado.</div>',tipo:"mensagem"}}}else{temp={dados:"<p style=color:red >Ocorreu um erro<br>",tipo:"erro"}}eval("funcao(temp,listaNomes,listaValores);")}catch(e){}};if(tipoLista==="ligados"){if(i3GEO.arvoreDeCamadas.CAMADAS!==""){monta(i3GEO.arvoreDeCamadas.filtraCamadas("status",2,"igual",i3GEO.arvoreDeCamadas.CAMADAS))}else{i3GEO.php.listaTemas(monta,"ligados",i3GEO.configura.locaplic,i3GEO.configura.sid)}}if(tipoLista==="selecionados"){if(i3GEO.arvoreDeCamadas.CAMADAS!==""){monta(i3GEO.arvoreDeCamadas.filtraCamadas("sel","sim","igual",i3GEO.arvoreDeCamadas.CAMADAS))}else{i3GEO.php.listaTemasComSel(monta,i3GEO.configura.locaplic,i3GEO.configura.sid)}}if(tipoLista==="raster"){if(i3GEO.arvoreDeCamadas.CAMADAS!==""){monta(i3GEO.arvoreDeCamadas.filtraCamadas("type",3,"igual",i3GEO.arvoreDeCamadas.CAMADAS))}else{i3GEO.php.listatemasTipo(monta,"raster",i3GEO.configura.locaplic,i3GEO.configura.sid)}}if(tipoLista==="polraster"){if(i3GEO.arvoreDeCamadas.CAMADAS!==""){temp=i3GEO.arvoreDeCamadas.filtraCamadas("type",3,"igual",i3GEO.arvoreDeCamadas.CAMADAS);temp1=i3GEO.arvoreDeCamadas.filtraCamadas("type",2,"igual",i3GEO.arvoreDeCamadas.CAMADAS);n=temp1.length;for(i=0;i<n;i++){temp.push(temp1[i])}monta(temp)}else{alert($trad("x13"))}}if(tipoLista==="pontosSelecionados"){if(i3GEO.arvoreDeCamadas.CAMADAS!==""){temp=i3GEO.arvoreDeCamadas.filtraCamadas("type",0,"igual",i3GEO.arvoreDeCamadas.CAMADAS);monta(i3GEO.arvoreDeCamadas.filtraCamadas("sel","sim","igual",temp))}else{alert($trad("x13"))}}if(tipoLista==="pontos"){if(i3GEO.arvoreDeCamadas.CAMADAS!==""){monta(i3GEO.arvoreDeCamadas.filtraCamadas("type",0,"igual",i3GEO.arvoreDeCamadas.CAMADAS))}else{alert($trad("x13"))}}},comboItens:function(id,tema,funcao,onde,nome,alias,estilo,classe){if(!classe){classe=""}if(!estilo){estilo=""}else{estilo="style="+estilo}if(!alias){alias="sim"}if(arguments.length>3&&$i(onde)){$i(onde).innerHTML="<span>buscando itens...</span>"}if(arguments.length<5){nome=""}var monta=function(retorno){var ins,temp,i,nm;if(retorno.data!==undefined){ins=[];ins.push("<select class='"+classe+"' "+estilo+" id='"+id+"' name='"+nome+"'>");ins.push("<option value='' >---</option>");temp=retorno.data.valores.length;for(i=0;i<temp;i++){if(retorno.data.valores[i].tema===tema){if(alias=="sim"){nm=retorno.data.valores[i].alias;if(nm===""){nm=retorno.data.valores[i].item}}else{nm=retorno.data.valores[i].item}ins.push("<option value='"+retorno.data.valores[i].item+"' >"+nm+"</option>")}}ins.push("</select><b class='caret careti' ></b>");ins=ins.join('');temp={dados:ins,tipo:"dados"}}else{temp={dados:'<div class=erro >Ocorreu um erro</div>',tipo:"erro"}}if(jQuery.isFunction(funcao)){funcao.call(this,temp)}else{eval("funcao(temp)")}};i3GEO.php.listaItensTema(monta,tema)},comboValoresItem:function(id,tema,itemTema,funcao,onde,classe){if(arguments.length===5){$i(onde).innerHTML="<span style=color:red;font-size:10px; >buscando valores...</span>"}if(arguments.length<6){classe=""}var monta=function(retorno){var ins=[],i,pares,j,valoresSort=[];if(retorno.data!==undefined){ins.push("<select class='"+classe+"' id="+id+" >");ins.push("<option value='' >---</option>");if(retorno.data[1].registros){for(i=0;i<retorno.data[1].registros.length;i++){pares=retorno.data[1].registros[i].valores;for(j=0;j<pares.length;j++){valoresSort.push(pares[j].valor)}}}else{for(i=0;i<retorno.data.length;i++){valoresSort.push(retorno.data[i])}}valoresSort.sort();for(j=0;j<valoresSort.length;j++){ins.push('<option value="'+valoresSort[j]+'" >'+valoresSort[j]+'</option>')}ins.push("</select><b class='caret careti' ></b>");ins=ins.join('');temp={dados:ins,tipo:"dados"}}else{temp={dados:'<div class=erro >Ocorreu um erro</erro>',tipo:"erro"}}if(jQuery.isFunction(funcao)){funcao.call(this,temp)}else{eval("funcao(temp)")}};i3GEO.php.listaValoresItensTema(monta,tema,itemTema)},comboFontes:function(id,onde,classe){if(!classe){classe=""}var monta=function(retorno){var ins="",temp,i,dados;if(retorno.data!==undefined){ins+="<select class='"+classe+"' id='"+id+"'>";ins+="<option value='arial' >arial</option>";ins+="<option value='bitmap' >bitmap</option>";dados=retorno.data.split(",");temp=dados.length;for(i=0;i<temp;i++){ins+="<option value='"+dados[i]+"' >"+dados[i]+"</option>"}ins+="</select><b class='caret careti' ></b>"}$i(onde).innerHTML=ins};i3GEO.php.listaFontesTexto(monta)},comboSimNao:function(id,selecionado){var combo="<select name="+id+" id="+id+" >";combo+="<option value='' >---</option>";if(selecionado.toLowerCase()==="sim"){combo+="<option value=TRUE selected >"+$trad("x14")+"</option>"}else{combo+="<option value=TRUE >"+$trad("x14")+"</option>"}if(selecionado==="nao"){combo+="<option value=FALSE selected >"+$trad("x15")+"</option>"}else{combo+="<option value=FALSE >"+$trad("x15")+"</option>"}combo+="</select><b class='caret careti' ></b>";return(combo)},checkItensEditaveis:function(tema,funcao,onde,size,prefixo,ordenacao){if(!ordenacao||ordenacao==""){ordenacao="nao"}if(onde!==""){$i(onde).innerHTML="<span style=color:red;font-size:10px; >"+$trad("x65")+"</span>"}var monta=function(retorno){var ins=[],i,temp,n;if(retorno.data!==undefined){if(ordenacao==="sim"){ins.push("<table class=lista7 ><tr><td></td><td>"+$trad("x64")+"</td><td>Ordem</td>")}else{ins.push("<table class=lista7 ><tr><td></td><td>"+$trad("x64")+"</td><td></td>")}n=retorno.data.valores.length;for(i=0;i<n;i++){ins.push("<tr><td><div class='checkbox text-left'><label><input name='"+retorno.data.valores[i].tema+"' id='"+prefixo+retorno.data.valores[i].item+"' type='checkbox'><span class='checkbox-material noprint'><span class='check'></span></span></label></div>"+"</td>");ins.push("<td><div class='form-group condensed' ><input class='form-control' style='width:"+size+"' id='"+prefixo+retorno.data.valores[i].item+retorno.data.valores[i].tema+"' type=text value='"+retorno.data.valores[i].item+"' /></div></td>");if(ordenacao==="sim"){ins.push("<td><div class='form-group condensed' ><input class='form-control' id='ordem_"+prefixo+retorno.data.valores[i].item+retorno.data.valores[i].tema+"' type=text size='3' value='"+i+"' /></div></td>")}else{ins.push("<td></td>")}ins.push("</tr>")}ins.push("</table>");ins=ins.join('');temp={dados:ins,tipo:"dados"}}else{temp={dados:'<div class=erro >'+$trad("x66")+'</div>',tipo:"erro"}}funcao.call(this,temp)};i3GEO.php.listaItensTema(monta,tema)},radioEpsg:function(funcao,onde,prefixo,marcado){var c;if(arguments.length===2){$i(onde).innerHTML="<span style=color:red;font-size:10px; >buscando...</span>"}c="checked";if(marcado&&marcado==="nao"){c=""}var monta=function(retorno){var ins=[],i,n,temp;if(retorno.data!==undefined){ins.push("<table class=lista2 >");n=retorno.data.length;for(i=0;i<n;i++){ins.push("<tr><td><input size=2 style='border:0px solid white;cursor:pointer' "+c+" name='"+prefixo+"EPSG' type=radio value='"+retorno.data[i].codigo+"' /></td>");c="";ins.push("<td>"+retorno.data[i].nome+"</td></tr>")}ins.push("</table>");ins=ins.join('');temp={dados:ins,tipo:"dados"}}else{temp={dados:'<div class=erro >Ocorreu um erro</div>',tipo:"erro"}}funcao(temp)};i3GEO.php.listaEpsg(monta)},comboEpsg:function(idCombo,onde,funcaoOnChange,valorDefault){onde=$i(onde);onde.innerHTML="<span style=color:red;font-size:10px; >buscando...</span>";var monta=function(retorno){var ins=[],i,n;if(retorno.data!==undefined){n=retorno.data.length;ins.push("<select id='"+idCombo+"' onChange='"+funcaoOnChange+"(this)' >");for(i=0;i<n;i++){ins.push("<option value='"+retorno.data[i].codigo+"'>"+retorno.data[i].nome+"</option>")}ins.push("</select><b class='caret careti' ></b>");ins=ins.join('');onde.innerHTML=ins;$i(idCombo).value=valorDefault}else{onde.innerHTML='<div class=erro >Ocorreu um erro</div>'}};i3GEO.php.listaEpsg(monta)},proximoAnterior:function(anterior,proxima,texto,idatual,container,mantem,onde){var c,temp=$i(idatual),botoes="",ndiv=document.createElement("div"),nids,i;if(!mantem){mantem=false}c=$i(container);if(!c){return}if(temp&&mantem==false&&c){c.removeChild(temp)}if(c&&c.style){}botoes="<ul class='proximoAnterior pager condensed' style='width:95%;margin-bottom: 2px;'>";if(anterior!==""){anterior=anterior.replace("()","");botoes+="<li><a onclick='"+anterior+"()' class='pull-left withripple condensed' href='javascript:void(0)'>"+$trad("volta")+"</a></li>"}if(proxima!==""){proxima=proxima.replace("()","");botoes+="<li><a onclick='"+proxima+"()' class='pull-right withripple condensed' href='javascript:void(0)'>"+$trad("continua")+"</a></li>"}botoes+="</ul>";if(onde){$i(onde).innerHTML=botoes}else{texto=texto+"<br><br>"+botoes}if(!document.getElementById(idatual)){ndiv.id=idatual;ndiv.innerHTML=texto;c.appendChild(ndiv)}temp=c.getElementsByTagName("div");nids=temp.length;for(i=0;i<nids;i++){temp[i].style.display="none"}$i(idatual).style.display="block";temp=$i(idatual).getElementsByTagName("div");nids=temp.length;for(i=0;i<nids;i++){temp[i].style.display="block"}},dialogoFerramenta:function(mensagem,dir,nome,nomejs,nomefuncao){if(!nomejs){nomejs="index.js"}if(!nomefuncao){nomefuncao="i3GEOF."+nome+".criaJanelaFlutuante();"}var js=i3GEO.configura.locaplic+"/ferramentas/"+dir+"/"+nomejs;if(!$i("i3GEOF."+nome+"_script")){i3GEO.util.scriptTag(js,nomefuncao,"i3GEOF."+nome+"_script")}else{i3GEO.util.scriptTag(js,nomefuncao,"i3GEOF."+nome+"_script")}},intersectaBox:function(box1,box2){box1=box1.split(" ");box2=box2.split(" ");var box1i=box2,box2i=box1,coordx,coordy;coordx=box1[0]*1;coordy=box1[1]*1;if(coordx>=box2[0]*1&&coordx<=box2[2]*1&&coordy>=box2[1]*1&&coordy<=box2[3]*1){return true}if(coordx>=box2[0]*1&&coordx<=box2[2]*1&&coordy>=box2[1]*1&&coordy<=box2[3]*1){return true}coordx=box1[2]*1;coordy=box1[3]*1;if(coordx>=box2[0]*1&&coordx<=box2[2]*1&&coordy>=box2[1]*1&&coordy<=box2[3]*1){return true}coordx=box1[2]*1;coordy=box1[1]*1;if(coordx>=box2[0]*1&&coordx<=box2[2]*1&&coordy>=box2[1]*1&&coordy<=box2[3]*1){return true}box1=box1i;box2=box2i;coordx=box1[0]*1;coordy=box1[1]*1;if(coordx>=box2[0]*1&&coordx<=box2[2]*1&&coordy>=box2[1]*1&&coordy<=box2[3]*1){return true}if(coordx>=box2[0]*1&&coordx<=box2[2]*1&&coordy>=box2[1]*1&&coordy<=box2[3]*1){return true}coordx=box1[2]*1;coordy=box1[3]*1;if(coordx>=box2[0]*1&&coordx<=box2[2]*1&&coordy>=box2[1]*1&&coordy<=box2[3]*1){return true}coordx=box1[2]*1;coordy=box1[1]*1;if(coordx>=box2[0]*1&&coordx<=box2[2]*1&&coordy>=box2[1]*1&&coordy<=box2[3]*1){return true}return false},abreColourRamp:function(janelaid,elemento,ncores,temaSel,displayComboTemas){var janela,ins,novoel,wdocaiframe,temp,fix=false,wsrc=i3GEO.configura.locaplic+"/ferramentas/colourramp/index.php?ncores="+ncores+"&doc="+janelaid+"&elemento="+elemento+"&locaplic="+i3GEO.configura.locaplic,nx="",texto="",id="i3geo_janelaCorRamp",classe="hd";if(!temaSel){temaSel=""}if($i(id)){janela=YAHOO.i3GEO.janela.manager.find(id);janela.show();janela.bringToTop();return}ins='<div id="'+id+'_cabecalho" class="hd" style="left:10px;">';if(i3GEO&&i3GEO.arvoreDeCamadas){ins+="<div id='i3geo_janelaCorRampComboCabeca' class='comboTemasCabecalhoBs form-group' style='width:200px;top:0px;display:none;'> ------</div>"}ins+="&nbsp;&nbsp;&nbsp;"+texto;ins+='</div><div id="i3geo_janelaCorRamp_corpo" class="bd" style="padding:5px">';ins+='<iframe name="'+id+'i" id="i3geo_janelaCorRampi" valign="top" ></iframe>';ins+='</div>';novoel=document.createElement("div");novoel.id="i3geo_janelaCorRamp";novoel.style.display="block";novoel.innerHTML=ins;if($i("i3geo")){$i("i3geo").appendChild(novoel)}else{document.body.appendChild(novoel)}wdocaiframe=$i("i3geo_janelaCorRampi");wdocaiframe.style.display="block";wdocaiframe.src=wsrc;wdocaiframe.style.height="400px";wdocaiframe.style.width="100%";wdocaiframe.style.border="0px solid white";if(nx===""||nx==="center"){fix=true}janela=new YAHOO.widget.Panel(id,{height:"480px",modal:false,width:"295px",fixedcenter:fix,constraintoviewport:true,visible:true,iframe:false,strings:{close:"<span class='material-icons'>cancel</span>"}});YAHOO.i3GEO.janela.manager.register(janela);janela.render();$i(id+'_cabecalho').className=classe;if($i("i3geo_janelaCorRampComboCabeca")){temp=function(){var p,tema=$i("i3geo_janelaCorRampComboCabecaSel").value,funcao=function(retorno){parent.frames["i3geo_janelaCorRampi"].document.getElementById("ncores").value=retorno.data.length};if(tema!==""){i3GEO.mapa.ativaTema(tema);p=i3GEO.configura.locaplic+"/ferramentas/legenda/exec.php?g_sid="+i3GEO.configura.sid+"&funcao=editalegenda&opcao=edita&tema="+tema;i3GEO.util.ajaxGet(p,funcao);cp=new cpaint()}};i3GEO.janela.comboCabecalhoTemasBs("i3geo_janelaCorRampComboCabeca","i3geo_janelaCorRampComboCabecaSel","none","ligados",temp,temaSel)}},localizai3GEO:function(){var scriptLocation="",scripts=document.getElementsByTagName('script'),i=0,index,ns=scripts.length,src;for(i=0;i<ns;i++){src=scripts[i].getAttribute('src');if(src){index=src.lastIndexOf("/js/i3geo.js");if((index>-1)&&(index+"/js/i3geo.js".length===src.length)){scriptLocation=src.slice(0,-"/js/i3geo.js".length);break}index=src.lastIndexOf("/js/i3geonaocompacto.js");if((index>-1)&&(index+"/js/i3geonaocompacto.js".length===src.length)){scriptLocation=src.slice(0,-"/js/i3geonaocompacto.js".length);break}}}if(i3GEO.configura){i3GEO.configura.locaplic=scriptLocation}return scriptLocation},removeChild:function(id,el){var j=$i(id);if(j){if(!el){el=j.parentNode}el.removeChild(j)}},defineValor:function(id,prop,valor){var o=$i(id);if(o&&o[prop]){try{o[prop]=valor}catch(e){}}},in_array:function(x,matriz){var txt=" "+matriz.join(" ")+" ";var er=new RegExp(" "+x+" ","gim");return((txt.match(er))?true:false)},timedProcessArray:function(items,process,callback){var todo=items.concat();setTimeout(function(){var start=+new Date();do{process(todo.shift())}while(todo.length>0&&(+new date()-start<50));if(todo.length>0){setTimeout(arguments.callee,25)}else{callback(items)}},25)},multiStep:function(steps,args,callback){var tasks=steps.concat();setTimeout(function(){var task=tasks.shift(),a=args.shift();task.apply(null,a||[]);if(tasks.length>0){setTimeout(arguments.callee,25)}else{callback()}},25)},tamanhoBrowser:function(){var viewportwidth,viewportheight;if(typeof window.innerWidth!='undefined'){viewportwidth=window.innerWidth,viewportheight=window.innerHeight}else if(typeof document.documentElement!='undefined'&&typeof document.documentElement.clientWidth!='undefined'&&document.documentElement.clientWidth!=0){viewportwidth=document.documentElement.clientWidth,viewportheight=document.documentElement.clientHeight}else{viewportwidth=document.getElementsByTagName('body')[0].clientWidth,viewportheight=document.getElementsByTagName('body')[0].clientHeight}viewportwidth=viewportwidth-i3GEO.util.getScrollerWidth();return[viewportwidth,viewportheight]},detectaTablet:function(){var c=DetectaMobile("DetectTierTablet");if(c===false){return false}else{return true}},detectaMobile:function(){var c=DetectaMobile("DetectMobileLong");if(c===false){return false}else{return true}},calculaDPI:function(){var novoel=document.createElement("div"),valor=72;novoel.style.height="1in";novoel.style.left="-100%";novoel.style.position="absolute";novoel.style.top="-100%";novoel.style.width="1in";document.body.appendChild(novoel);if(novoel.offsetHeight){valor=novoel.offsetHeight}document.body.removeChild(novoel);return valor},ajustaDocType:function(){try{if(document.implementation.createDocumentType){var newDoctype=document.implementation.createDocumentType('html','-//W3C//DTD XHTML 1.0 Transitional//EN','http://www.w3.org/TR/html4/loose.dtd');if(document.doctype){document.doctype.parentNode.replaceChild(newDoctype,document.doctype)}}}catch(e){}},versaoNavegador:function(){if(navm&&navigator.userAgent.toLowerCase().indexOf('msie 8.')>-1){return"IE8"}if(navn&&navigator.userAgent.toLowerCase().indexOf('3.')>-1){return"FF3"}return""},decimalPlaces:function(f,l){var ret="",str=f.toString(),array=str.split("."),i;if(array.length==2){ret+=array[0]+".";for(i=0;i<l;i++){if(i>=array[1].length)ret+='0';else ret+=array[1][i]}}else if(array.length==1){ret+=array[0]+".";for(i=0;i<l;i++){ret+='0'}}return ret},ajaxGet:function(sUrl,funcaoRetorno){var re,falhou,callback;sUrl=escape(sUrl);re=new RegExp("%3F","g");sUrl=sUrl.replace(re,'?');re=new RegExp("%3D","g");sUrl=sUrl.replace(re,'=');re=new RegExp("%26","g");sUrl=sUrl.replace(re,'&');re=new RegExp("%3A","g");sUrl=sUrl.replace(re,':');falhou=function(e){};callback={success:function(o){try{funcaoRetorno.call("",JSON.parse(o.responseText))}catch(e){falhou(e)}},failure:falhou,argument:{foo:"foo",bar:"bar"}};YAHOO.util.Connect.asyncRequest("GET",sUrl,callback)},verifica_html5_storage:function(){if(typeof(Storage)!=="undefined"){return true}else{return false}},pegaDadosLocal:function(item){if(i3GEO.util.verifica_html5_storage()&&localStorage[item]){return window.localStorage[item]}else{return false}},limpaDadosLocal:function(item){if(i3GEO.util.verifica_html5_storage()&&localStorage[item]){window.localStorage.clear(item)}},gravaDadosLocal:function(item,valor){if(i3GEO.util.verifica_html5_storage()){window.localStorage[item]=valor;return true}else{return false}},extGeo2OSM:function(ext,retornaArray){var metrica,point,temp,sep;sep=" ";if(typeof ext=="object"){return i3GEO.util.projGeo2OSM(ext)}if(i3GEO.Interface.openlayers.googleLike===true){temp=ext.split(sep);if(temp===1){sep=",";temp=ext.split(sep)}if(temp[0]*1<=180&&temp[0]*1>=-180){point=new ol.geom.Point([temp[0]*1,temp[1]*1]);metrica=point.transform("EPSG:4326","EPSG:3857");ext=metrica.getCoordinates()[0]+sep+metrica.getCoordinates()[1];if(temp.length>2){point=new ol.geom.Point([temp[2]*1,temp[3]*1]);metrica=point.transform("EPSG:4326","EPSG:3857");ext+=sep+metrica.getCoordinates()[0]+sep+metrica.getCoordinates()[1]}}}if(retornaArray){return ext.split(sep)}else{return ext}},extOSM2Geo:function(ext,retornaArray){var point,temp,sep;sep=" ";if(typeof ext=="object"){return i3GEO.util.projOSM2Geo(ext)}if(i3GEO.Interface.openlayers.googleLike===true){temp=ext.split(sep);if(temp===1){sep=",";temp=ext.split(sep)}if(temp[0]*1>=180||temp[0]*1<=-180){point=new ol.geom.Point([temp[0],temp[1]]);point.transform("EPSG:3857","EPSG:4326");ext=point.getCoordinates()[0]+sep+point.getCoordinates()[1];if(temp.length>2){point=new ol.geom.Point([temp[2],temp[3]]);point.transform("EPSG:3857","EPSG:4326");ext+=sep+point.getCoordinates()[0]+sep+point.getCoordinates()[1]}}}if(retornaArray){return ext.split(sep)}else{return ext}},projOSM2Geo:function(obj){if(i3GEO.Interface.openlayers.googleLike===true){var clone=obj.clone();clone.transform("EPSG:3857","EPSG:4326");return clone}else{return obj}},projGeo2OSM:function(obj){if(i3GEO.Interface.openlayers.googleLike===true){var clone=obj.clone();clone.transform("EPSG:4326","EPSG:3857");return clone}else{return obj}},navegadorDir:function(obj,listaShp,listaImg,listaFig,retornaDir){if(!obj){listaShp=true;listaImg=true;listaFig=true;retornaDir=false}var temp=function(){i3GEOF.navegarquivos.iniciaDicionario(obj,listaShp,listaImg,listaFig,retornaDir)};i3GEO.util.dialogoFerramenta("i3GEO.util.navegadorDir()","navegarquivos","navegarquivos","index.js",temp)},base64encode:function(str){var base64EncodeChars="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";var out,i,len;var c1,c2,c3;len=str.length;i=0;out="";while(i<len){c1=str.charCodeAt(i++)&0xff;if(i==len){out+=base64EncodeChars.charAt(c1>>2);out+=base64EncodeChars.charAt((c1&0x3)<<4);out+="==";break}c2=str.charCodeAt(i++);if(i==len){out+=base64EncodeChars.charAt(c1>>2);out+=base64EncodeChars.charAt(((c1&0x3)<<4)|((c2&0xF0)>>4));out+=base64EncodeChars.charAt((c2&0xF)<<2);out+="=";break}c3=str.charCodeAt(i++);out+=base64EncodeChars.charAt(c1>>2);out+=base64EncodeChars.charAt(((c1&0x3)<<4)|((c2&0xF0)>>4));out+=base64EncodeChars.charAt(((c2&0xF)<<2)|((c3&0xC0)>>6));out+=base64EncodeChars.charAt(c3&0x3F)}return out},base64decode:function(str){var base64DecodeChars=new Array(-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,-1,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-1,-1,-1,-1,-1);var c1,c2,c3,c4;var i,len,out;len=str.length;i=0;out="";while(i<len){do{c1=base64DecodeChars[str.charCodeAt(i++)&0xff]}while(i<len&&c1==-1);if(c1==-1)break;do{c2=base64DecodeChars[str.charCodeAt(i++)&0xff]}while(i<len&&c2==-1);if(c2==-1)break;out+=String.fromCharCode((c1<<2)|((c2&0x30)>>4));do{c3=str.charCodeAt(i++)&0xff;if(c3==61)return out;c3=base64DecodeChars[c3]}while(i<len&&c3==-1);if(c3==-1)break;out+=String.fromCharCode(((c2&0XF)<<4)|((c3&0x3C)>>2));do{c4=str.charCodeAt(i++)&0xff;if(c4==61)return out;c4=base64DecodeChars[c4]}while(i<len&&c4==-1);if(c4==-1)break;out+=String.fromCharCode(((c3&0x03)<<6)|c4)}return out},cloneObj:function(obj){if(obj==null||typeof(obj)!='object')return obj;var temp=new obj.constructor();for(var key in obj)temp[key]=i3GEO.util.cloneObj(obj[key]);return temp},aplicaAquarela:function(onde){$($i(onde)).find(".i3geoFormIconeAquarela").click(function(){if(this.firstChild){i3GEO.util.abreCor("",$(this).find("input")[0].id)}else{i3GEO.util.abreCor("",this.id)}})},insereMarca:{cria:function(){alert("i3GEO.util.insereMarca foi depreciado. Veja a classe i3GEO.desenho")},limpa:function(){}},animaClique:function(obj){if(obj){if(i3GEO.Interface.ATUAL==="googlemaps"){i3GeoMap.getStreetView().setVisible(false)}obj.style.visibility="hidden";setTimeout(function(){obj.style.visibility="visible"},50)}},parseMustache:function(templateMustache,hashMustache){var re=new RegExp("&amp;","g"),m;m=Mustache.render(templateMustache,hashMustache);m=m.replace(re,'&');return m},checaHtmlVazio:function(id){var i=$i(id);if(!i){return null}if(i.innerHTML.replace(/^\s+|\s+$/,'')==""){return true}else{return false}},uid:(function(){var counter=0;return function(){counter+=1;return(new Date().getTime()).toString(36)+counter}})(),copyToClipboard:function(texto){if(window.clipboardData&&window.clipboardData.setData){return clipboardData.setData("Text",texto)}else if(document.queryCommandSupported&&document.queryCommandSupported("copy")){var textarea=document.createElement("textarea");textarea.setAttribute('readonly','');textarea.textContent=texto;textarea.value=texto;textarea.style.position="fixed";textarea.className="copyToMemory";document.body.appendChild(textarea);textarea.focus();textarea.select();try{document.execCommand("copy")}catch(ex){return false}finally{document.body.removeChild(textarea);i3GEO.janela.snackBar({content:$trad("copytomemory"),timeout:1000})}}},getFormData:function(dom_query){var out={};var s_data=$(dom_query).serializeArray();for(var i=0;i<s_data.length;i++){var record=s_data[i];out[record.name]=record.value}return out},dynamicSortString:function(property){var sortOrder=1;if(property[0]==="-"){sortOrder=-1;property=property.substr(1)}return function(a,b){var result=(a[property]<b[property])?-1:(a[property]>b[property])?1:0;return result*sortOrder}}};var $im=function(g){return i3GEO.util.$im(g)};var $inputText=function(idPai,larguraIdPai,idInput,titulo,digitos,valor,nome,onch){if(arguments.length===6){nome=""}return i3GEO.util.$inputText(idPai,larguraIdPai,idInput,titulo,digitos,valor,nome,onch)};
236 236 //
237 237 //compactados/dicionario_compacto.js
238   -g_traducao={"dec":[{pt:",",en:".",es:","}],"mil":[{pt:".",en:",",es:"."}],"p1":[{pt:"O i3Geo &eacute; software livre! Para download clique <a href='https://softwarepublico.gov.br/social/i3geo' target=blank >aqui</a>. <b><a href='http://"+window.location.host+"/i3geo/mobile/qrcode.htm' target=blank >Qrcode mobile</a></b>",en:"I3Geo is an open source software! Click <a href='https://softwarepublico.gov.br/social/i3geo' target=blank >here</a> to download. <b><a href='http://"+window.location.host+"/i3geo/mobile/qrcode.htm' target=blank >Qrcode mobile</a></b>",es:"i3Geo es software libre! Para descargar haga clic <a href='https://softwarepublico.gov.br/social/i3geo' target=blank >aqu&iacute;</a>. <b><a href='http://"+window.location.host+"/i3geo/mobile/qrcode.htm' target=blank >Qrcode mobile</a></b>"}],"p2":[{pt:"Filtro de cores",en:"Color filter",es:"Filtro de colores"}],"p3":[{pt:"Legenda",en:"Legend",es:"Leyenda"}],"p4":[{pt:"Escala",en:"Scale",es:"Escala"}],"p5":[{pt:"Tamanho",en:"Size",es:"Tama&ntilde;o"}],"p6":[{pt:"Ativa/desativa entorno",en:"Enable/disable environment",es:"Activar/desactivar entorno"}],"p7":[{pt:"Ativa/desativa logo",en:"Enable/disable logo",es:"Activar/desactivar logo"}],"p8":[{pt:"Cor da sele&ccedil;&atilde;o",en:"Selection color",es:"Color de la selecci&oacute;n"}],"p9":[{pt:"Cor do fundo",en:"Background color",es:"Color de fondo"}],"p10":[{pt:"Grade de coordenadas",en:"Coordinate grid",es:"Cuadr&iacute;cula de coordenadas"}],"p11":[{pt:"Template",en:"Template",es:"Plantilla"}],"p12":[{pt:"Temporizador",en:"Timer",es:"Temporizador"}],"p13":[{pt:"Propriedades",en:"Properties",es:"Propiedades"}],"p14":[{pt:"Aplicar",en:"Apply",es:"Aplicar"}],"p15":[{pt:"Formato da imagem do mapa",en:"Map image format",es:"Formato de la imagen del mapa"}],"p16":[{pt:"Fundo",en:"Basemap",es:"Mapa base"}],"p17":[{pt:"Imprime legenda",en:"Print legend",es:"Imprimir la leyenda"}],"p18":[{pt:"N&atilde;o imprime a legenda",en:"Do not print legend",es:"No imprimir la leyenda"}],"p19":[{pt:"Ativa ou desativa a legenda de um tema na op&ccedil;&atilde;o de impress&atilde;o do mapa",en:"Enable or disable the legend of a theme in the map print option",es:"Activa o desactiva la leyenda de un tema en la opci&oacute;n de impresi&oacute;n del mapa"}],"p20":[{pt:"Tela remota",en:"Remote screen",es:"Pantalla remota"}],"p21":[{pt:"Anima&ccedil;&atilde;o",en:"Animation",es:"Animaci&oacute;n"}],"s1":[{pt:"Ajuda",en:"Help",es:"Ayuda"}],"s2":[{pt:"An&aacute;lise",en:"Analysis",es:"An&aacute;lisis"}],"s3":[{pt:"Janelas",en:"Windows",es:"Ventanas"}],"s4":[{pt:"Arquivo",en:"File",es:"Archivo"}],"s5":[{pt:"Propriedades",en:"Properties",es:"Propiedades"}],"u1":[{pt:"Sobre o i3Geo",en:"About i3Geo",es:"Acerca de i3Geo"}],"u2":[{pt:"Doc. dos c&oacute;digos",en:"Doc. of codes",es:"Doc. de los c&oacute;digos"}],"u3":[{pt:"WikiBook",en:"WikiBook",es:"WikiBook"}],"u4":[{pt:"Tutoriais",en:"Tutorials",es:"Tutoriales"}],"u4a":[{pt:"Manual do usu&aacute;rio",en:"User manual",es:"Manual de usuario"}],"u5":[{pt:"Blog",en:"Blog",es:"Blog"}],"u5a":[{pt:"Software p&uacute;blico",en:"Public software",es:"Software p&uacute;blico"}],"u5b":[{pt:"Lista de fun&ccedil;&otilde;es",en:"Function lists",es:"Lista de funciones"}],"u5c":[{pt:"Redes sociais",en:"Social networks",es:"Redes sociales"}],"u6":[{pt:"Geometrias",en:"Geometries",es:"Geometr&iacute;as"}],"u7":[{pt:"Grade de pol&iacute;gonos",en:"Polygon grid",es:"Cuadr&iacute;cula de pol&iacute;gonos"}],"u8":[{pt:"Grade de pontos",en:"Point grid",es:"Cuadr&iacute;cula de puntos"}],"u9":[{pt:"Grade de hex&aacute;gonos",en:"Grid of Hexagons",es:"Cuadr&iacute;cula de hex&aacute;gonos"}],"u10":[{pt:"Entorno(Buffer)",en:"Buffer",es:"&Aacute;rea de influencia (Buffer)"}],"u11":[{pt:"Centr&oacute;ide",en:"Centroid",es:"Centroide"}],"u11a":[{pt:"Dist&acirc;ncia entre pontos",en:"Distance between points",es:"Distancia entre puntos"}],"u12":[{pt:"N pontos em poligono",en:"N points in polygon",es:"N puntos en pol&iacute;gono"}],"u13":[{pt:"Ponto em poligono/raster",en:"Point in polygon/raster",es:"Punto en pol&iacute;gono/raster"}],"u14":[{pt:"Distribui&ccedil;&atilde;o de pontos",en:"Point distribution",es:"Distribuci&oacute;n de puntos"}],"u15":[{pt:"Barras de ferramentas",en:"Toolbars",es:"Barras de herramientas"}],"u15a":[{pt:"Caixa de ferramentas",en:"Tool box",es:"Caja de herramientas"}],"u16":[{pt:"Janela de mensagens",en:"Message window",es:"Ventana de mensajes"}],"u17":[{pt:"Salvar mapa",en:"Save map",es:"Guardar el mapa"}],"u18":[{pt:"Carregar mapa",en:"Load map",es:"Cargar mapa"}],"u19":[{pt:"Pegar imagens",en:"Paste images",es:"Pegar im&aacute;genes"}],"u20":[{pt:"Converter em WMS e WMC",en:"Convert to WMS and WMC",es:"Convertir a WMS y WMC"}],"u20a":[{pt:"Converter em KML",en:"Convert to KML",es:"Convertir a KML"}],"u21":[{pt:"Gerador de links",en:"Link generator",es:"Generador de enlaces"}],"u22":[{pt:"Grade",en:"Grid",es:"Cuadr&iacute;cula"}],"u23":[{pt:"Ponto",en:"Point",es:"Punto"}],"u24":[{pt:"Pol&iacute;gono",en:"Polygon",es:"Pol&iacute;gono"}],"u25":[{pt:"Dissolve",en:"Dissolve",es:"Disolver"}],"u26":[{pt:"Agrupa",en:"Group",es:"Agrupar"}],"u27":[{pt:"Outros",en:"Others",es:"Otros"}],"u28":[{pt:"Centro m&eacute;dio",en:"Middle center",es:"Centro medio"}],"u29":[{pt:"Editor vetorial",en:"Vector editor",es:"Editor vectorial"}],"t1":[{pt:"Camadas",en:"Layers",es:"Capas"}],"t2":[{pt:"Arraste o tema aqui ou clique para excluir",en:"Drag the theme here or click to remove",es:"Arrastre el tema aqu&iacute; o haga clic para excluir"}],"t2a":[{pt:"Filtra a lista de camadas",en:"Filter the layer list",es:"Filtra la lista de capas"}],"t2b":[{pt:"Abre a legenda do mapa",en:"Open the map legend",es:"Despliega la leyenda del mapa"}],"t3":[{pt:"Clique para ligar ou desligar esse tema, mostrando-o ou n&atilde;o no mapa. Ap&oacute;s alterar o estado do tema, aguarde alguns instantes para o mapa ser redesenhado, ou clique no bot&atilde;o aplicar que ser&aacute; mostrado.",en:"Click to turn this theme off or on, showing it or not on the map. After changing the status of the theme, wait a few moments so that the map updates, or click the Apply button that will be displayed.",es:"Haga clic para encender o apagar este tema y mostrarlo o no en el mapa. Despu&eacute;s de cambiar el estado del tema, espere algunos instantes para que el mapa se actualice o haga clic en el bot&oacute;n aplicar que aparecer&aacute;."}],"t3a":[{pt:"Ligar todos os temas",en:"Turn on all themes",es:"Encender todos los temas"}],"t3b":[{pt:"Desligar todos os temas",en:"Turn off all themes",es:"Apagar todos los temas"}],"t4":[{pt:"Limpa sele&ccedil;&atilde;o",en:"Clear selection",es:"Limpia la selecci&oacute;n"}],"t4a":[{pt:"Zoom para a sele&ccedil;&atilde;o",en:"Zoom to selection",es:"Zoom a la selecci&oacute;n"}],"t5":[{pt:"Limpa sele&ccedil;&atilde;o existente nesse tema",en:"Clear an existing selection in this theme",es:"Limpia la selecci&oacute;n existente en este tema"}],"t6":[{pt:"Clique para fazer o download desse tema no formato shapefile",en:"Click to download this theme in shapefile format",es:"Haga clic para descargar este tema en formato shapefile"}],"t7":[{pt:"clique e arraste",en:"Click and drag",es:"Haga clic y arrastre"}],"t7a":[{pt:"Clique e arraste para mudar a ordem. Arraste e solte na lixeira para remover. Aguarde para ver a legenda.",en:"Click and drag to change the order. Drag and drop to the trash to remove. Wait to see the legend.",es:"Haga clic y arrastre para cambiar el orden. Arrastre y suelte en la papelera para remover. Aguarde para ver la leyenda."}],"t8":[{pt:"arraste para mudar a ordem",en:"drag to change the order",es:"arrastre para cambiar el orden"}],"t9":[{pt:"Compat&iacute;vel com a escala",en:"Compatible with the scale",es:"Compatible con la escala"}],"t10":[{pt:"Incompat&iacute;vel com a escala",en:"Incompatible with the scale",es:"Incompatible con la escala"}],"t11":[{pt:"Escala n&atilde;o conhecida",en:"Unknown scale",es:"Escala no conocida"}],"t12":[{pt:"Excluir",en:"Exclude",es:"Excluir"}],"t12a":[{pt:"Clique para excluir esse tema do mapa.",en:"Click to exclude this theme from the map.",es:"Haga clic para excluir este tema del mapa."}],"t13":[{pt:"Sobe",en:"Up",es:"Subir"}],"t14":[{pt:"Clique para subir esse tema na ordem de desenho",en:"Click to move up the theme in drawing order",es:"Haga clic para subir y cambiar el orden de dibujo de este tema"}],"t15":[{pt:"Desce",en:"Down",es:"Bajar"}],"t16":[{pt:"Clique para descer esse tema na ordem de desenho",en:"Click to move down the theme in drawing order",es:"Haga clic para bajar y cambiar el orden de dibujo de este tema"}],"t17":[{pt:"Zoom para o tema",en:"Zoom to theme",es:"Zoom al tema"}],"t18":[{pt:"Clique para ajustar o mapa de forma a mostrar todo o tema",en:"Click to show the whole theme by adjusting the map",es:"Haga clic para ajustar el mapa de manera de poder ver todo el tema"}],"t18a":[{pt:"Op&ccedil;&otilde;es e propriedades",en:"Options and properties",es:"Opciones y propiedades"}],"t18b":[{pt:"Legenda",en:"Legend",es:"Leyenda"}],"t19":[{pt:"Altera a transpar&ecirc;ncia do tema, possibilitando que as camadas inferiores possam ser vistas.",en:"Change layer transparency to enable visibility of bottom layers.",es:"Altera la transparencia del tema haciendo posible que las capas inferiores se puedan ver."}],"t20":[{pt:"Opacidade",en:"Opacity",es:"Opacidad"}],"t22":[{pt:"Localize elementos no tema com base em seus atributos descritivos.",en:"Search for elements on the theme based on their descriptive attributes.",es:"Ubique elementos en el tema en base a sus atributos descriptivos."}],"t23":[{pt:"Procurar",en:"Search",es:"Buscar"}],"t24":[{pt:"Crie uma nova camada no mapa para apresentar textos descritivos sobre esse tema, tendo como base a tabela de atributos.",en:"Create a new layer on the map based on the table of attributes to display descriptive texts about this theme.",es:"Crear una nueva capa en el mapa para presentar textos descriptivos sobre este tema, teniendo como base la tabla de atributos."}],"t25":[{pt:"Etiquetas baseadas em atributos",en:"Labels based on attributes",es:"Etiquetas basadas en atributos"}],"t26":[{pt:"Defina as etiquetas que ser&atilde;o mostradas quando o mouse &eacute; estacionado sobre um elemento desse tema.",en:"Define labels that will be shown when the mouse is over a feature of this theme.",es:"Defina las etiquetas que se mostrar&aacute;n cuando el rat&oacute;n se detenga sobre un elemento de este tema."}],"t27":[{pt:"Ativar etiquetas",en:"Activate labels",es:"Activar etiquetas"}],"t28":[{pt:"Insira um filtro nesse tema para mostrar apenas determinadas informa&ccedil;&otilde;es, com base na tabela de atributos.",en:"Insert a filter in this theme based on the table of attributes to show only specific information.",es:"Inserte un filtro en este tema para mostrar solo determinadas informaciones, con base en la tabla de atributos."}],"t29":[{pt:"Filtrar",en:"Filter",es:"Filtrar"}],"t30":[{pt:"Veja a tabela de atributos relacionada a esse tema.",en:"See the table of attributes related to this theme.",es:"Vea la tabla de atributos relacionada con este tema."}],"t31":[{pt:"Tabela com os dados",en:"Table with data",es:"Tabla con los datos"}],"t32":[{pt:"Abre o editor de legenda, permitindo a altera&ccedil;&atilde;o da forma de representa&ccedil;&atilde;o desse tema.",en:"Open the legend editor to change the way this theme is rendered.",es:"Abre el editor de leyenda para modificar la forma de representaci&oacute;n de este tema."}],"t33":[{pt:"Editar legenda",en:"Edit legend",es:"Editar leyenda"}],"t34":[{pt:"Mostra os dados desse tema em uma janela que acompanha o mouse.",en:"Show the data of this theme in a window that tracks the mouse.",es:"Muestra los datos de este tema en una ventana que acompa&ntilde;a el rat&oacute;n."}],"t35":[{pt:"Mostra em janela",en:"Show in window",es:"Mostrar en la ventana"}],"t36":[{pt:"tema vis&iacute;vel apenas em determinadas escalas",en:"theme visible only at certain scales",es:"el tema es visible solo en ciertas escalas"}],"t37":[{pt:"Gr&aacute;fico",en:"Chart",es:"Gr&aacute;fico"}],"t37a":[{pt:"Tema com gr&aacute;ficos",en:"Theme with charts",es:"Tema con gr&aacute;ficos"}],"t37b":[{pt:"Gr&aacute;fico interativo",en:"Interactive chart",es:"Gr&aacute;fico interactivo"}],"t38":[{pt:"Exporta a legenda para o padr&atilde;o SLD.",en:"Export the legend to SLD schema.",es:"Exporta la leyenda para el est&aacute;ndar SLD."}],"t39":[{pt:"Exportar SLD",en:"Export SLD",es:"Exportar SLD"}],"t40":[{pt:"Abre a ferramenta que permite alterar o SQL de acesso aos dados",en:"Open the tool to change the SQL to access data",es:"Abre la herramienta que permite cambiar el SQL de acceso a los datos"}],"t41":[{pt:"Editar SQL",en:"Edit SQL",es:"Editar SQL"}],"t42":[{pt:"Cortina",en:"Curtain",es:"Cortina"}],"t43":[{pt:"Aplicar SLD",en:"Apply SLD",es:"Aplicar SLD"}],"t44":[{pt:"Salvar mapfile",en:"Save mapfile",es:"Guardar mapfile"}],"t45":[{pt:"Comentar",en:"Comment",es:"Comentar"}],"t46":[{pt:"Mais populares",en:"Most popular",es:"M&aacute;s populares"}],"t48":[{pt:"Temporizador",en:"Timer",es:"Temporizador"}],"t49":[{pt:"Mapa tem&aacute;tico 3D",en:"3D tematic map",es:"Mapa tem&aacute;tico 3D"}],"a1":[{pt:"Procurar tema:",en:"Search theme:",es:"Buscar tema:"}],"a2":[{pt:"Upload de shape file",en:"Upload shapefile",es:"Subir shapefile"}],"a2b":[{pt:"Upload de DBF ou CSV",en:"Upload DBF or CSV",es:"Subir DBF o CSV"}],"a3":[{pt:"Download de dados",en:"Data downloading",es:"Descarga de datos"}],"a3a":[{pt:"Importar Web Map Context",en:"Import Web Map Context",es:"Importar Web Map Context"}],"a4":[{pt:"Conectar com servidor WMS",en:"Connect to WMS server",es:"Conectar al servidor WMS"}],"a4b":[{pt:"Conectar com servidor WMS-T",en:"Connect to WMS-T server",es:"Conectar al servidor WMS-T"}],"a5":[{pt:"Conectar com GeoRss",en:"Connect to GeoRss",es:"Conectar con GeoRss"}],"a5a":[{pt:"Nuvem de tags",en:"Tag cloud",es:"Nube de etiquetas"}],"a6":[{pt:"Acesso aos arquivos do servidor",en:"Access to server files",es:"Acceso a los archivos del servidor"}],"a7":[{pt:"Temas",en:"Theme",es:"Temas"}],"a8":[{pt:"Clique no box ao lado do tema para ligar ou desligar, mostrando-o ou n&atilde;o no mapa. Ap&oacute;s alterar o estado do tema, aguarde alguns instantes para o mapa ser redesenhado, ou clique no bot&atilde;o aplicar que ser&aacute; mostrado.",en:"Click the box next to the theme to turn it on or off, showing it or not on the map. After changing the status of the theme, wait a few moments so that the map updates, or click the Apply button that will be displayed.",es:"Haga clic en el cuadro ubicado al lado del tema para encender o apagarlo y mostralo o no en el mapa. Despu&eacute;s de cambiar el estado del tema, espere algunos instantes para que el mapa se actualice o haga clic en el bot&oacute;n aplicar que aparecer&aacute;."}],"a9":[{pt:"Fonte",en:"Font",es:"Fuente"}],"a10":[{pt:"c&oacute;digo:",en:"code",es:"c&oacute;digo"}],"a11":[{pt:"Sistemas",en:"Systems",es:"Sistemas"}],"a12":[{pt:"Abrir sistema",en:"Open system",es:"Abrir sistema"}],"a13":[{pt:"Abrir no Google Earth",en:"Open with Google Earth",es:"Abrir en Google Earth"}],"a14":[{pt:"Upload SHP, CSV...",en:"Upload SHP, CSV...",es:"Subir SHP, CSV..."}],"a15":[{pt:"Conex&otilde;es",en:"Conections",es:"Conexiones"}],"a16":[{pt:"Servi&ccedil;os",en:"Services",es:"Servicios"}],"g1":[{pt:"Temas",en:"Themes",es:"Temas"}],"g1a":[{pt:"Cat&aacute;logo",en:"Catalog",es:"Cat&aacute;logo"}],"g2":[{pt:"Adiciona",en:"Add",es:"Agregar"}],"g3":[{pt:"Legenda",en:"Legend",es:"Leyenda"}],"g4":[{pt:"Mapas",en:"Maps",es:"Mapas"}],"g4a":[{pt:"Mapa",en:"Map",es:"Mapa"}],"o1":[{pt:"Aguarde...",en:"Wait...",es:"Espere..."}],"o2":[{pt:"Busca r&aacute;pida",en:"Quick search",es:"B&uacute;squeda r&aacute;pida"}],"o3":[{pt:"Lendo imagem...",en:"Reading image...",es:"Leyendo imagen..."}],"o4":[{pt:"Aguarde...abrindo lente",en:"Wait...Opening magnifying glass",es:"Espere...abriendo lupa"}],"o5":[{pt:"Aguarde...iniciando",en:"Wait...initializing",es:"Espere...iniciando"}],"o6":[{pt:"din&acirc;mico",en:"Dynamic",es:"Din&aacute;mico"}],"d1":[{pt:"Digite as coordenadas de um ponto (X=longitude e Y=latitude) para localizar-lo no mapa. no mapa. O centro do mapa ser&aacute; deslocado para o ponto digitado.",en:"Enter the coordinates of a point (X=longitude and Y=latitude) to localize it on the map. The map center will move to this point.",es:"Digite las coordenadas de un punto (X=longitud e Y=latitud) para ubicarlas en el mapa. El centro del mapa se desplazar&aacute; al punto introducido."}],"d2":[{pt:"Altera a escala do mapa ajustando-a para mostrar a mesma abrang&ecirc;ncia geogr&aacute;fica da inicializa&ccedil;&atilde;o.",en:"Change the map scale to show the initial geographical extent.",es:"Modifica la escala del mapa ajust&aacute;ndola para mostrar la misma &aacute;rea geogr&aacute;fica inicial."}],"d2t":[{pt:"Enquadramento inicial",en:"Initial extent",es:"Extensi&oacute;n inicial"}],"d3":[{pt:"Amplia o mapa - desloca o ponto clicado para centro da tela ou amplia a regi&atilde;o indicada por um ret&acirc;ngulo. Ap&oacute;s ativada, clique e arraste o mouse sobre o mapa na &aacute;rea de zoom desejada.",en:"It enlarges the map - places the clicked point on the center of the screen or enlarge the map on a region indicated by a rectangle. Once activated, click and drag the mouse over the map into the desired area.",es:"Ampl&iacute;a el mapa - coloca el punto donde se hizo clic en el centro de la pantalla o ampl&iacute;a a la regi&oacute;n indicada con un rect&aacute;ngulo. Despu&eacute;s de activarla, haga clic y arrastre el rat&oacute;n sobre el mapa en el &aacute;rea de zoom deseada."}],"d3t":[{pt:"clique e arraste para ampliar",en:"click and drag to enlarge",es:"Haga click y arraste para ampliar"}],"d4":[{pt:"Desloca a regi&atilde;o vis&iacute;vel no mapa. Ap&oacute;s ativada, clique e arraste o mouse sobre o mapa para deslocar a regi&atilde;o vis&iacute;vel.",en:"It moves the visible region on the map. After being activated, click and drag the mouse over the map to move the visible region.",es:"Desplaza la regi&oacute;n visible en el mapa. Una vez activada, haga clic y arrastre el rat&oacute;n sobre el mapa para desplazar la zona visible."}],"d4t":[{pt:"clique e arraste para deslocar",en:"click and drag to move",es:"haga click y arraste para mover"}],"d5":[{pt:"Amplia o mapa tendo como refer&ecirc;ncia o centro atual.",en:"Enlarge the map based on the current center.",es:"Ampl&iacute;a el mapa teniendo como referencia el centro actual."}],"d5t":[{pt:"aproximar",en:"zoom in",es:"acercar"}],"d6":[{pt:"Reduz o mapa tendo como refer&ecircncia o centro atual.",en:"Reduce the map based on the current center.",es:"Reduce el mapa teniendo como referencia el centro actual"}],"d6t":[{pt:"afastar",en:"zoom out",es:"alejar",it:"afastar"}],"d7":[{pt:"Mostra informa&ccedil;&otilde;es sobre um ponto no mapa. Ap&oacute;s ativada, clique sobre o mapa.",en:"It displays information about a point on the map. After being activated, click on the map.",es:"Muestra informaci&oacute;n sobre un punto en el mapa. Despu&eacute;s de activarla haga clic sobre el mapa."}],"d7t":[{pt:"Info",en:"Info",es:"Info"}],"d7a":[{pt:"Mostra informa&ccedil;&otilde;es resumidas sobre um ponto clicado no mapa. N&atilde;o &eacute; necess&aacute;rio clicar nesse &iacute;cone para ativar, basta clicar no mapa a qualquer tempo.",en:"Display summary information about a point clicked on the map. It is not necessary to click this icon to activate it, just click on the map at any time.",es:"Muestra informaci&oacute;n resumida de un punto sobre el cual se ha hecho clic en el mapa. No es necesario hacer clic en ese icono para activarlo, simplemente haga clic en el mapa en cualquier momento."}],"d7at":[{pt:"etiqueta",en:"label",es:"etiqueta"}],"d8":[{pt:"Mostra a extens&atilde;o geogr&aacute;fica atual em coordenadas geogr&aacute;ficas",en:"Show the current extent in geographic coordinates",es:"Muestra la extensi&oacute;n geogr&aacute;fica actual en coordenadas geogr&aacute;ficas"}],"d8t":[{pt:"Extens&atilde;o atual",en:"Current extent",es:"Extensi&oacute; actual"}],"d9":[{pt:"Abre/fecha o mapa de refer&ecirc;ncia",en:"Open/close the overview map",es:"Abre/cierra el mapa de referencia"}],"d9t":[{pt:"Mapa de refer&ecirc;ncia",en:"Overview map",es:"Mapa de referencia"}],"d10":[{pt:"Digite o novo valor de escala e clique no bot&atilde;o aplicar para alterar a escala do mapa",en:"Enter a new scale value and click the apply button to change the map scale",es:"Ingrese el nuevo valor de escala y haga clic en el bot&oacute;n aplicar para modificar la escala del mapa"}],"d11":[{pt:"Busca dados na Wikipedia na abrang&ecirc;ncia atual do mapa. Fa&ccedil;a um zoom no mapa antes de abrir essa op&ccedil;&atilde;o. Regi&ocirc;es muito extensas podem tornar a busca muito demorada",en:"Search for Wikipedia data in the current extent of the map. Zoom on the map before opening this option. Large regions can slow down searching",es:"Busca datos en Wikipedia de la extensi&oacute;n actual del mapa. Haga zoom en el mapa antes de abrir esta opci&oacute;n. Regiones muy extensas pueden hacer que la b&uacute;squeda sea muy lenta"}],"d11t":[{pt:"buscar na Wikip&eacute;dia",en:"search on Wikipedia",es:"buscar en Wikipedia"}],"d12":[{pt:"Imprime o mapa",en:"Print map",es:"Imprime el mapa"}],"d13":[{pt:"Localiza o IP do usu&aacute;rio no mapa",en:"Locate the user's IP on the map",es:"Localiza la IP del usuario en el mapa"}],"d14":[{pt:"Gera arquivo para 3D",en:"Generate a 3D file",es:"Genera archivo para 3D"}],"d15":[{pt:"Abre o Google Maps, mostrando uma imagem de sat&eacute;lite da regi&atilde;o vista no mapa principal",en:"Open Google Maps displaying a satellite image of the region shown on the main map",es:"Abre Google Maps, mostrando una imagen de sat&eacute;lite de la regi&oacute;n presentada en el mapa principal"}],"d15t":[{pt:"Google Maps",en:"Google Maps",es:"Google Maps"}],"d16":[{pt:"Pesquisa documentos na base de dados Scielo (dados preliminares)",en:"Search documents in the Scielo database (preliminary data)",es:"B&uacute;squeda de documentos en la base de datos Scielo (datos preliminares)"}],"d16t":[{pt:"Scielo",en:"Scielo",es:"Scielo"}],"d17":[{pt:"Projeto Confluence. Pontos de intersec&ccedil;&atilde;o de coordenadas observadas em campo",en:"Confluence Project. Intersection points of coordinates observed in field",es:"Proyecto Confluence. Puntos de intersecci&oacute;n de coordenadas observadas en campo"}],"d17t":[{pt:"conflu&ecirc;ncias",en:"confluences",es:"confluencias"}],"d18":[{pt:"Abre lente de amplia&ccedil;&atilde;o",en:"Open magnifying glass",es:"Abrir lupa"}],"d18t":[{pt:"lente de aumento",en:"magnifying glass",es:"lupa"}],"d19":[{pt:"Coloca as guias em uma janela m&oacute;vel",en:"Put guides in a moving window",es:"Coloca las gu&iacute;as en una ventana m&oacute;vil"}],"d20":[{pt:"Redesenha o mapa com as configura&ccedil;&ocirc;es iniciais.",en:"Reload the map with the initial settings.",es:"Recarga el mapa con las configuraciones iniciales."}],"d20t":[{pt:"reinicia",en:"restart",es:"reinicia",it:"reinicia"}],"d21":[{pt:"Mede a dist&acirc;ncia entre dois ou mais pontos clicados no mapa (menor dist&acirc;ncia). O c&aacute;lculo de dist&acirc;ncia &eacute; aproximado e sua precis&atilde;o depende da escala do mapa.",en:"Measure the distance between two or more clicked points on the map (shorter distance). The calculation of this distance is rough and its accuracy depends on the map scale.",es:"Mide la distancia entre dos o m&aacute;s puntos marcados en el mapa (menor distancia). El c&aacute;lculo de la distancia es aproximado y su exactitud depende de la escala del mapa."}],"d21t":[{pt:"Dist&acirc;ncia",en:"Distance",es:"Distancia"}],"d21a":[{pt:"Mede a &aacute;rea de um pol&iacute;gono desenhado na tela. O c&aacute;lculo de &aacute;rea &eacute; aproximado e sua precis&atilde;o depende da escala do mapa.",en:"Measure the area of a polygon drawn on the screen. The calculation of this area is rough and its accuracy depends on the map scale.",es:"Mide el &aacute;rea de un pol&iacute;gono dibujado sobre la pantalla. El c&aacute;lculo del &aacute;rea es aproximado y su exactitud depende de la escala del mapa."}],"d21at":[{pt:"&Aacute;rea",en:"Area",es:"&Aacute;rea"}],"d22":[{pt:"Insere pontos no mapa em coordenadas geogr&aacute;ficas. Os pontos inclu&iacute;dos podem ser transformados em linhas ou pol&iacute;gonos. Os pontos s&atilde;o armazenados em um tema tempor&aacute;rio, podendo-se fazer o download do arquivo shapefile.",en:"Insert points on the map in geographical coordinates. The added points can be converted into lines or polygons. The points are stored in a temporary theme and can be downloaded as a shapefile.",es:"Inserte puntos en el mapa en coordenadas geogr&aacute;ficas. Los puntos incluidos pueden ser transformados en l&iacute;neas o pol&iacute;gonos. Los puntos se almacenan en un tema temporal y se pueden descargar como archivo shapefile."}],"d22t":[{pt:"inserir pontos",en:"insert points",es:"insertar puntos"}],"d23":[{pt:"Insere um gr&aacute;fico no ponto clicado conforme os atributos existentes no tema escolhido. O tema deve possuir itens com valores num&eacute;ricos na tabela de atributos.",en:"Insert a chart on the clicked point according to the attributes of the selected theme. The theme must have records with numerical values in the table of attributes.",es:"Inserte un gr&aacute;fico en el punto marcado seg&uacute;n los atributos existentes en el tema seleccionado. El tema debe tener campos con valores num&eacute;ricos en la tabla de atributos."}],"d23t":[{pt:"Clique gr&aacute;fico",en:"Click on the chart",es:"Haga clic en el gr&aacute;fico"}],"d24":[{pt:"Abre as ferramentas para sele&ccedil;&atilde;o de elementos de um tema. Os elementos selecionados podem ser utilizados em outras opera&ccedil;&ocirc;es, como buffer e sele&ccedil;&atilde;o por tema.",en:"Open the tools for selecting features of a theme. The selected features can be used for other operations like buffer or selection by theme.",es:"Abre las herramientas para seleccionar elementos de un tema. Los elementos seleccionados pueden ser utilizados en otras operaciones como &aacute;reas de influencia (buffer) y selecci&oacute;n por tema."}],"d24t":[{pt:"Selecionar",en:"Select",es:"Seleccionar"}],"d25":[{pt:"Insere texto no mapa clicando em um ponto. Utilize essa op&ccedil;&atilde;o para adicionar informa&ccedil;&ocirc;es ao mapa.",en:"Insert a text on the map by clicking on a point. Use this option to add information on the map.",es:"Inserte un texto en el mapa haciendo clic en un punto. Utilice esta opci&oacute;n para agregar informaci&oacute;n en el mapa."}],"d25t":[{pt:"Inserir texto",en:"Insert text",es:"Insertar texto"}],"d26":[{pt:"Escolha o visual para os bot&otilde;es e outras caracter&iacute;sticas visuais do mapa",en:"Choose a button appearance and other visual characteristics of the map",es:"Elija el aspecto para los botones y otras caracter&iacute;sticas visuales del mapa"}],"d27":[{pt:"Interface",en:"Interface",es:"interfaz"}],"d28":[{pt:"Aguarde...gerando os arquivos",en:"Please wait...generating files",es:"Espera...generando los archivos"}],"d29":[{pt:"Esta&ccedil;&otilde;es METAR",en:"METAR stations",es:"Estaciones METAR"}],"d30":[{pt:"Linha do tempo",en:"Timeline",es:"L&iacute;nea del tiempo"}],"d31":[{pt:"N&atilde;o existe nenhuma camada com etiquetas ativas",en:"There is no layer with active labels",es:"No existe ninguna capa con etiquetas activas"}],"d32":[{pt:"Aplicativos",en:"Applications",es:"Aplicaciones"}],"ge1":[{pt:"Navega&ccedil;&atilde;o com o mouse",en:"Navigation with the mouse",es:"Navegaci&oacute;n con el rat&oacute;n"}],"ge2":[{pt:"Barra de status",en:"Status bar",es:"Barra de estado"}],"ge3":[{pt:"Mapa de refer&ecirc;ncia",en:"Overview map",es:"Mapa de referencia"}],"ge4":[{pt:"Escala e legenda",en:"Scale and legend",es:"Escala y leyenda"}],"ge5":[{pt:"Atmosfera",en:"Atmosphere",es:"Atm&oacute;sfera"}],"ge6":[{pt:"Grade de coordenadas",en:"Coordinates grid",es:"Cuadr&iacute;culas de coordenadas"}],"ge7":[{pt:"Luz do sol",en:"Sun light",es:"Luz del sol"}],"ge8":[{pt:"Limites pol&iacute;ticos",en:"Political boundaries",es:"L&iacute;mites pol&iacute;ticos"}],"ge9":[{pt:"Constru&ccedil;&otilde;es em 3D",en:"3D buildings ",es:"Construciones en 3D"}],"ge10":[{pt:"Estradas",en:"Roads",es:"Carreteras"}],"ge11":[{pt:"Terreno",en:"Terrain",es:"Terreno"}],"x1":[{pt:"P&aacute;gina principal",en:"Main page",es:"P&aacute;gina principal"}],"x2":[{pt:"Lista de menus",en:"Menu lists",es:"Lista de men&uacute;s"}],"x3":[{pt:"Miniaturas",en:"Thumbnails",es:"Miniaturas"}],"x4":[{pt:"Pesquisa na INDE",en:"Search in INDE",es:"B&uacute;squeda en INDE"}],"x5":[{pt:"Editar subgrupos",en:"Edit subgroups",es:"Editar subgrupos"}],"x6":[{pt:"Editar temas",en:"Edit themes",es:"Editar temas"}],"x7":[{pt:"op&ccedil;&atilde;o vis&iacute;vel apenas para editores",en:"option visible to editors only",es:"opci&oacute;n visible solo para editores"}],"x8":[{pt:"Sistema de administra&ccedil;&atilde;o",en:"Management system",es:"Sistema de administraci&oacute;n"}],"x9":[{pt:"Editar &aacute;rvore",en:"Edit tree",es:"Editar &aacute;rbol"}],"x10":[{pt:"Editar menus do cat&aacute;logo",en:"Edit catalog menus",es:"Editar men&uacute;s del cat&aacute;logo"}],"x11":[{pt:"Abre em uma janela",en:"Open in a window",es:"Abre en una ventana"}],"x13":[{pt:"&Aacute;rvore de camadas n&atilde;o encontrada",en:"Tree layers not found",es:"Arboles de capas no se encuentra"}],"x14":[{pt:"sim",en:"yes",es:"s&iacute;"}],"x15":[{pt:"n&atilde;o",en:"no",es:"no"}],"x16":[{pt:"Valor n&atilde;o definido",en:"Value not defined",es:"Valor no definido"}],"x17":[{pt:"Essa op&ccedil;&atilde;o afeta apenas a impress&atilde;o do mapa",en:"This option only affects map printing",es:"Esta opci&oacute;n solo afecta a la impresi&oacute;n del mapa"}],"x18":[{pt:"Nome n&atilde;o definido",en:"Name not defined",es:"Nombre no definido"}],"x19":[{pt:"Coment&aacute;rios de",en:"Reviews of",es:"Comentarios de"}],"x20":[{pt:"Clique no mapa para desenhar o pol&iacute;gono",en:"Click on the map to draw a polygon",es:"Haga clic en el mapa para dibujar un pol&iacute;gono"}],"x21":[{pt:"Essa opera&ccedil;&atilde;o n&atilde;o funciona nessa interface",en:"This operation does not work on this interface",es:"Esta operaci&oacute;n no funciona en esta interfaz"}],"x22":[{pt:"Op&ccedil;&atilde;o n&atilde;o dispon&iacute;vel",en:"Option not available",es:"Opci&oacute;n no disponible"}],"x23":[{pt:"Dire&ccedil;&atilde;o",en:"Direction",es:"Direcci&oacute;n"}],"x25":[{pt:"M&eacute;todo para calcular dist&acirc;ncias",en:"Method to calculate distances",es:"M&eacute;todo para calcular distancias"}],"x26":[{pt:"Voce quer mesmo encerrar a sessao?",en:"Do you want to logout?",es:"&iquest;Quiere cerrar la sesi&oacute;n?"}],"x27":[{pt:"Usu&aacute;rio",en:"User",es:"Usuario"}],"x28":[{pt:"Senha",en:"Password",es:"Contrase&ntilde;a"}],"x29":[{pt:"Enviar",en:"Submit",es:"Enviar"}],"x30":[{pt:"Ativo",en:"Active",es:"Activo"}],"x31":[{pt:"Erro",en:"Error",es:"Error"}],"x32":[{pt:"Recuperar senha",en:"Recover password",es:"Recuperar contrase&ntilde;a"}],"x33":[{pt:"Escolha um tema da lista",en:"Select a theme from the list",es:"Seleccione un tema de la lista"}],"x34":[{pt:"Lugar",en:"Place",es:"Lugar"}],"x35":[{pt:"Escolha um tipo de busca nas propriedades",en:"Choose a search type in the properties",es:"Elija un tipo de b&uacute;squeda en las propiedades"}],"x36":[{pt:"Digite uma palavra para busca!",en:"Enter search terms!",es:"Introduzca una palabra clave para buscar!"}],"x37":[{pt:"Onde ser&aacute; feita a busca",en:"Where will the search be done?",es:"&iquest;D&oacute;nde se realizar&aacute; la b&uacute;squeda?"}],"x38":[{pt:"Servi&ccedil;os de busca externos",en:"External search services",es:"Servicios de b&uacute;squeda externos"}],"x39":[{pt:"Temas existentes no mapa",en:"Existing themes on the map",es:"Temas existentes en el mapa"}],"x40":[{pt:"Apenas os temas especialmente configurados pelo administrador do i3Geo podem receber opera&ccedil;&otilde;es de busca",en:"Only those themes specially configarated by the i3Geo administrator can receive search operations",es:"Solo los temas especialmente configurados por el administrador de i3Geo pueden ser objeto de operaciones de b&uacute;squeda"}],"x41":[{pt:"Nada encontrado nos temas ou nenhum tema permite busca",en:"Nothing found in the themes or no theme allows searching",es:"Nada encontrado en los temas o ning&uacute;n tema permite b&uacute;squedas"}],"x42":[{pt:"Nada encontrado em ",en:"Nothing found at ",es:"No se encontr&oacute; nada en "}],"x43":[{pt:"Erro ao acessar o servi&ccedil;o",en:"Error accessing the service",es:"Error al acceder al servicio"}],"x44":[{pt:"Nuvem Flash",en:"Cloud Flash",es:"Nube Flash"}],"x45":[{pt:"Diret&oacute;rios",en:"Directories",es:"Directorios"}],"x46":[{pt:"Conex&atilde;o WMS-T",en:"WMS-T connection",es:"Conexi&oacute;n WMS-T"}],"x47":[{pt:"Conex&atilde;o GeoRSS",en:"GeoRSS connection",es:"Conexi&oacute;n GeoRSS"}],"x48":[{pt:"Rota",en:"Route",es:"Ruta"}],"x49":[{pt:"Coordenadas aproximadas",en:"Approximate coordinates",es:"Coordenadas aproximadas"}],"x50":[{pt:"Feche para parar",en:"Close to stop",es:"Cierre para parar"}],"x51":[{pt:"Sele&ccedil;&atilde;o",en:"Selection",es:"Selecci&oacute;n"}],"x52":[{pt:"Alterar senha",en:"Change password",es:"Cambiar contrase&ntilde;a"}],"x53":[{pt:"Upload de WMC",en:"WMC upload",es:"Subir WMC"}],"x54":[{pt:"Perfil",en:"Profile",es:"Perfil"}],"x55":[{pt:"Salva o tema",en:"Save theme",es:"Guarda el tema"}],"x56":[{pt:"Topon&iacute;mia",en:"Toponymy",es:"Toponimia"}],"x57":[{pt:"Cartogramas estat&iacute;sticos",en:"Statistical cartograms",es:"Cartogramas estad&iacute;sticos"}],"x58":[{pt:"Continua",en:"Continue",es:"Seguir"}],"x59":[{pt:"Localiza",en:"Locate",es:"Localiza"}],"x60":[{pt:"Cartogramas",en:"Cartograms",es:"Cartogramas"}],"x61":[{pt:"Filtra limite",en:"Filter limit",es:"Filtra l&iacute;mite"}],"x62":[{pt:"Remover",en:"Remove",es:"Eliminar"}],"x63":[{pt:"Para salvar as configura&ccedil;&otilde;es de uma camada,<br> utilize a op&ccedil;&atilde;o existente na &aacute;rvore de camadas no n&oacute; correspondente ao tema (basta expandir o tema para visualizar as op&ccedil;&otilde;es)<br><br>",en:"To save a layer setting,<br> use the option available in the layer tree corresponding to the theme node (just expand the theme to view the options)<br><br>",es:"Para guardar la configuraci&oacute;n de una capa,<br> utilice la opci&oacute;n disponible en la &aacute;rbol de capas en el nodo correspondiente al tema (basta con expandir el tema para ver las opciones)<br><br>"}],"x64a":[{pt:"Congela a vis&atilde;o atual",en:"Freeze the current view",es:"Congela la vista actual"}],"x64":[{pt:"Item",en:"Item",es:"Item"}],"x65":[{pt:"Buscando &iacute;tens...",en:"Searching fields...",es:"Buscando campos..."}],"x66":[{pt:"Ocorreu um erro",en:"There was an error",es:"Ocurri&oacute; un error"}],"x67":[{pt:"Comunidade i3Geo",en:"i3Geo community",es:"Comunidad i3Geo"}],"x68":[{pt:"Vers&atilde;o",en:"Version",es:"Versi&oacute;"}],"zoomliShift":[{pt:"Pressione a tecla SHIFT junto com o bot&atilde;o esquerdo do mouse e arraste para definir a &aacute;rea que ser&aacute; aproximada",en:"Press the SHIFT key along with the left mouse button and drag to define the area you want to zoom",es:"Presione la tecla MAY&Uacute;S junto con el bot&oacute;n izquierdo del rat&oacute;n y arrastre para definir el &aacute;rea en la que desea hacer zoom"}],"zoomliCtrl":[{pt:"Pressione a tecla CTRL junto com o bot&atilde;o esquerdo do mouse e arraste para definir a &aacute;rea que ser&aacute; aproximada",en:"Press the CTRL key along with the left mouse button and drag to define the area you want to zoom",es:"Presione la tecla CTRL junto con el bot&oacute;n izquierdo del rat&oacute;n y arrastre para definir el &aacute;rea en la que desea hacer zoom"}],"x70":[{pt:"Utilize os dedos em um movimento de pin&ccedil;a para definir a &aacute;rea que ser&aacute; aproximada ou afastada",en:"Use the pinch-zoom gesture to define the area that will be zoomed in or out",es:"Utilice los gestos de pinzas de los dedos para definir el &aacute;rea que ser&aacute; acercada o alejada"}],"x71":[{pt:"Aplicativos estat&iacute;sticos cadastrados",en:"Registered statistical applications",es:"Aplicaciones estad&iacute;sticas registradas"}],"x72":[{pt:"Lista de mapas cadastrados",en:"List of registered maps",es:"Lista de los mapas registrados"}],"x73":[{pt:"Redirecionar para a vers&atilde;o adaptada para dispositivos m&oacute;veis?",en:"Redirect to mobile version?",es:"Redireccionar a una versi&oacute;n adaptada a dispositivos m&oacute;viles?"}],"x74":[{pt:"Fecha",en:"Close",es:"Cierra"}],"x75":[{pt:"Cancela",en:"Cancel",es:"Cancela"}],"x76":[{pt:"O tema j&aacute; existe no mapa.",en:"This theme already exists on theme map.",es:"El tema ya existe en el mapa."}],"x77":[{pt:"Nome do novo marcador",en:"New bookmark name",es:"Nombre de marcador nuevo"}],"x78":[{pt:"Copie os marcadores e cole em um editor para guard&aacute;-los",en:"Copy bookmarks and paste in an editor to save them",es:"Copiar los marcadores y pegarlos en un editor para guardarlos"}],"x79":[{pt:"Marcadores",en:"Bookmarks",es:"Marcadores"}],"x80":[{pt:"Exportar",en:"Export",es:"Exportar"}],"x81":[{pt:"Importar",en:"Import",es:"Importar"}],"x82":[{pt:"Marcar regi&atilde;o",en:"Mark region",es:"Marcar regi&oacute;n"}],"x83":[{pt:"Cole os marcadores para import&aacute;-los",en:"Paste the bookmarks to import",es:"Pegue los marcadores para importarlos"}],"x84":[{pt:"Exportar SHP",en:"Export SHP",es:"Exportar SHP"}],"x85":[{pt:"Visualizador de WMS da INDE-Br",en:"INDE-Br WMS viewer",es:"Visualizador de WMS de INDE-Br"}],"x86":[{pt:"Prefer&ecirc;ncias",en:"Preferences",es:"Preferencias"}],"x87":[{pt:"Limites e localidades",en:"Boundaries and localities",es:"L&iacute;mites y localidades"}],"x88":[{pt:"Prefer&ecirc;ncias",en:"Preferences",es:"Preferencias"}],"x89":[{pt:"Editar cadastro",en:"Edit register",es:"Editar registro"}],"x90":[{pt:"Mapas cadastrados",en:"Registered maps",es:"Mapas registrados"}],"x91":[{pt:"Feche para parar. Desligue o tema para ver o efeito",en:"Close to stop. Turn off the theme to see the effect",es:"Cierre para parar. Apague el tema para ver el efecto"}],"x92":[{pt:"Escolha uma camada",en:"Select a layer",es:"Seleccione una capa"}],"x93":[{pt:"Localiza&ccedil;&atilde;o do usu&aacute;rio",en:"User location",es:"Ubicaci&oacute;n del usuario"}],"x94":[{pt:"Remove as figuras da tela",en:"Remove pictures from the screen",es:"Quita las figuras de la pantalla"}],"x95":[{pt:"trecho",en:"stretch",es:"tramo"}],"x96":[{pt:"atual",en:"current",es:"actual"}],"x97":[{pt:"total",en:"total",es:"total"}],"x98":[{pt:"per&iacute;metro",en:"perimeter",es:"per&iacute;metro"}],"x99":[{pt:"C&aacute;lculo n&atilde;o pode ser realizado. Falta carregar a API de geometria do GM",en:"The calculation cannot be performed. It is necessary to upload the GM geometry API",es:"El c&aacute;lculo no puede ser realizado. Falta cargar la API de geometr&iacute;a de GM"}],"x101":[{pt:"C&oacute;pia",en:"Copy",es:"Copia"}],"x102":[{pt:"Mapa de calor",en:"Heatmap",es:"Mapa de calor"}],"x103":[{pt:"Links para abrir o mapa",en:"Links to open the map",es:"Links para abrir el mapa "}],"x104":[{pt:"Mapa de agrupamentos",en:"Cluster map",es:"Mapa de agrupaci&oacute;n"}],"x105":[{pt:"Navega&ccedil;&atilde;o",en:"Browsing",es:"Navegaci&oacute;n"}],"mais":[{pt:"Mais...",en:"More...",es:"M&aacute;s..."}],"uploadArquivoGeo":[{pt:"Upload de arquivo geo",en:"Geo file upload",es:"Carga del archivo geo"}],"conexaoServicoGeo":[{pt:"Conex&atilde;o com servi&ccedil;os geo",en:"Connection to geo services",es:"Conexi&oacute;n con servicios geo"}],"saikuAba":[{pt:"SAIKU - OLAP (abrir em nova aba)",en:"SAIKU - OLAP (open in a new tab)",es:"SAIKU - OLAP (abrir en una nueva pesta&ntilde;a)"}],"saikuMapa":[{pt:"SAIKU - OLAP (abrir em janela interna)",en:"SAIKU - OLAP (open in an inner window)",es:"SAIKU - OLAP (abrir en una ventana interna)"}],"refMapaAtual":[{pt:"Mapa atual",en:"Current map",es:"Mapa actual"}],"refMapaDinamico":[{pt:"Mapa fixo",en:"WMS",es:"WMS"}],"naoPermitido":[{pt:"Operacao nao autorizada para esse usuario",en:"This user does not have permission to perform this action",es:"Operaci&oacute;n no autorizada para este usuario"}],"melhorcaminho":[{pt:"Melhor caminho (raster)",en:"Best way (raster)",es:"Mejor camino (raster)"}],"tolerancia":[{pt:"Toler&acirc;ncia de busca (em pixels)",en:"Search tolerance (in pixels)",es:"Tolerancia de b&uacute;squeda (en pixeles)"}],"naoInstalado":[{pt:"Ferramenta n&atilde;o dispon&iacute;vel nessa instala&ccedil;&atilde;o do i3Geo",en:"Tool not available on this i3Geo installation",es:"Herramienta no disponible en esta instalaci&oacute;n de i3geo"}],"variaEscala":[{pt:"Depend&ecirc;ncia da escala",en:"Scale dependency",es:"Dependencia de escala"}],"mostraTodosLegenda":[{pt:"Mostra tudo",en:"Show all",es:"Muestra todo"}],"mostraSoLegenda":[{pt:"Mostra s&oacute; a legenda",en:"Show legend only",es:"Muestra solo la leyenda"}],"removerDoMapa":[{pt:"Remove a camada do mapa?",en:"Do you want to remove the layer from map?",es:"&iquest;Quiere remover la capa del mapa?"}],"dicaBuscaRapida":[{pt:"Abre uma janela flutuante com op&ccedil;&otilde;es de busca de dados em servi&ccedil;os como o Google Maps ou nas camadas exsitentes no mapa",en:"Open a floating window with data search options on services like Google Maps or on the map layers",es:"Abre una ventana flotante con opciones de b&uacute;squeda de datos en servicios como Google Maps o en las capas del mapa"}],"refresh":[{pt:"Refaz a &aacute;rvore, reconstruindo os &iacute;cones e lista de camadas",en:"Redo the tree by rebuilding the icons and the layer list",es:"Rehacer el &aacute;rbol reconstruyendo los iconos y la lista de capas"}],"lixeira":[{pt:"Clique para ver a lista de camadas em uma janela flutuante com op&ccedil;&atilde;o para remover um ou mais camadas do mapa. Arraste uma camada sobre esse &iacute;cone para remov&ecirc;-la individualmente",en:"Click to see the layer list in a floating window with the option to remove one or more layers from the map. Drag a layer to this icon to remove it individually",es:"Haga clic para ver la lista de capas en una ventana flotante con la opci&oacute;n de eliminar una o m&aacute;s capas del mapa. Arrastre una capa sobre este icono para removerla individualmente"}],"filtraCam":[{pt:"Permite filtrar a lista de camadas mostradas na &aacute;rvore conforme propriedades espec&iacute;ficas de cada uma",en:"It allows you to filter the layer lists shown in the tree according to their specific properties",es:"Permite filtrar la lista de capas mostradas en el &aacute;rbol seg&uacute;n las propiedades espec&iacute;ficas de cada una"}],"legenda":[{pt:"Abre a legenda do mapa em uma janela flutuante",en:"Open the map legend in a floating window",es:"Abre la leyenda del mapa en una ventana flotante "}],"ferramMapa":[{pt:"Mostra a lista de ferramentas que atuam sobre o mapa",en:"It shows a list of tools that perform tasks on the map",es:"Muestra la lista de herramientas que act&uacute;an sobre el mapa"}],"ferramCamadas":[{pt:"Mostra a lista de ferramentas que atuam sobre camadas",en:"It shows a list of tools that perform tasks on the layers",es:"Muestra una lista de herramientas que act&uacute;an sobre las capas"}],"ajudaEditorOlSalva":[{pt:"Para editar os atributos, utilize a ferramenta de identifica&ccedil;&atilde;o. &Eacute; necess&aacute;rio que exista uma coluna com identificadores &uacute;nicos na tabela a ser editada e que essa coluna esteja vis&iacute;vel na ferramenta de identifica&ccedil;&atilde;o.",en:"Use the identification tool to edit the attributes. There must be a column with unique identifiers in the table that will be edited. This column should be visible in the identification tool.",es:"Para editar los atributos utilice la herramienta de identificaci&oacute;n. Es necesario que exista una columna con identificadores &uacute;nicos en la tabla a ser editada y que esa columna sea visible en la herramienta de identificaci&oacute;n."}],"mascara":[{pt:"M&aacute;scara",en:"Mask",es:"M&aacute;scara"}],"result":[{pt:"Resultado",en:"Result",es:"Resultado"}],"tativo":[{pt:"Tema ativo",en:"Active theme ",es:"Tema activo"}],"geosel":[{pt:"geometria(s) selecionada(s) encontrada(s)",en:"selected geometry found",es:"geometr&iacute;a(s) seleccionada(s) encontrada(s)"}],"listar":[{pt:"Listar",en:"Make a list",es:"Hacer una lista"}],"sdados":[{pt:"Salvar dados",en:"Save data",es:"Guardar datos"}],"incorpo":[{pt:"Incorporar ao mapa",en:"Add to map",es:"Agregar al mapa"}],"selum":[{pt:"Selecione uma ou mais geometrias",en:"Select one or more geometries",es:"Seleccione una o m&aacute;s geometr&iacute;as"}],"atrib":[{pt:"Atributos",en:"Attributes",es:"Atributos"}],"reg":[{pt:"Registros",en:"Records",es:"Registros"}],"adic":[{pt:"Adicionando",en:"Adding",es:"Agregando"}],"stema":[{pt:"Salvar no tema",en:"Save the theme",es:"Salvar el tema"}],"seluma":[{pt:"Selecione apenas uma figura",en:"Select one picture only",es:"Seleccione solo una figura"}],"salva":[{pt:"Salva",en:"Save",es:"Salva"}],"canc":[{pt:"Cancela",en:"Cancel",es:"Cancela"}],"dlinha":[{pt:"digitalizar linha",en:"digitalize line",es:"digitalizar l&iacute;nea"}],"dpol":[{pt:"digitalizar poligono",en:"digitalize polygon",es:"digitalizar pol&iacute;gono"}],"dponto":[{pt:"digitalizar ponto",en:"digitalize point",es:"digitalizar punto"}],"dtexto":[{pt:"digitalizar texto",en:"digitalize text",es:"digitalizar texto"}],"cortaf":[{pt:"corta figura",en:"cut picture",es:"cortar figura"}],"modf":[{pt:"modifica figura",en:"modify picture",es:"modificar figura"}],"listag":[{pt:"lista geometrias",en:"list geometries",es:"crear lista de geometr&iacute;as"}],"frente":[{pt:"trazer para frente",en:"send forward",es:"traer al frente"}],"studo":[{pt:"selecionar tudo",en:"select all",es:"seleccionar todo"}],"ustudo":[{pt:"limpar sele&ccedil;&atilde;o",en:"clear selection",es:"limpiar la selecci&oacute;n"}],"excsel":[{pt:"Remove os elementos selecionados",en:"Remove selected features",es:"Remueve los elementos seleccionados"}],"opcoes":[{pt:"Op&ccedil;&otilde;es",en:"Options",es:"Opciones"}],"meneditor1":[{pt:"Para excluir registros do banco de dados utilize a ferramenta de identifica&ccedil;&atilde;o",en:"Use the identification tool to delete records from the database",es:"Para excluir registros de la base de datos utilice la herramienta de identificaci&oacute;n"}],"meneditor2":[{pt:"Nenhum elemento gr&aacute;fico encontrado. Utilize as op&ccedil;&otilde;es de cria&ccedil;&atilde;o de geometrias.",en:"No graphic element found. Use the options to create geometries.",es:"Ning&uacute;n elemento gr&aacute;fico encontrado. Utilice las opciones de creaci&oacute;n de geometr&iacute;a."}],"meneditor3":[{pt:"Voc&ecirc; precisa fazer login para usar a op&ccedil;&atilde;o de salvar no banco de dados",en:"You must be logged in to use the save to database option",es:"Usted debe iniciar sesi&oacute;n para utilizar la opci&oacute;n de guardar en la base de datos"}],"meneditor4":[{pt:"Valores iguais ao original",en:"Values equal to the original ones",es:"Valores iguales al original"}],"meneditor5":[{pt:"&Eacute; necess&aacute;rio ter um c&oacute;digo para poder excluir",en:"It is necessary to have a password to exclude",es:"Es necesario tener una clave para excluir"}],"meneditor6":[{pt:"Ap&oacute;s escolher a medida da vari&aacute;vel, clique no mapa para escolher o limite geogr&aacute;fico.",en:"After choosing the variable measure, click on the map to choose the geographical boundary.",es:"Despu&eacute;s de escoger la medida de la variable, haga clic en el mapa para seleccionar el l&iacute;mite geogr&aacute;fico."}],"opsel":[{pt:"Opera&ccedil;&otilde;es sobre as figuras selecionadas",en:"Operations on the selected pictures",es:"Operaciones sobre las figuras seleccionadas"}],"capturar":[{pt:"Capturar elemento de um tema",en:"Capture a theme feature",es:"Capturar elemento de un tema"}],"salvexc":[{pt:"Salvar/excluir dados",en:"Save/exclude data",es:"Guardar/excluir datos"}],"edatrib":[{pt:"Editar atributos",en:"Edit Attributes",es:"Editar atributos"}],"camedit":[{pt:"Camadas edit&aacute;veis",en:"Editable layers",es:"Capas editables"}],"nenhum":[{pt:"Nenhum",en:"None",es:"Ninguno"}],"tipo":[{pt:"Tipo",en:"Type",es:"Tipo"}],"abreMapa":[{pt:"Abrir o mapa",en:"Open the map",es:"Abrir el mapa "}],"areaAprox":[{pt:"&Aacute;rea aproximada",en:"Approximate area",es:"&Aacute;rea aproximada"}],"distAprox":[{pt:"Dist&acirc;ncia aproximada",en:"Approximate distance",es:"Distancia aproximada"}],"trocaInterface":[{pt:"Troca de interface",en:"Interface change",es:"Cambio de interfaz"}],"wkt2layer":[{pt:"Converte WKT em camada",en:"Convert WKT into layer",es:"Transformar WKT en capa"}],"salvaDadosEditor":[{pt:"Os dados s&oacute; podem ser salvos em temas que permitem edi&ccedil;&atilde;o e que possuem coluna com auto incremento",en:"Data can only be saved in themes that allow edition and have columns with auto-increment",es:"Los datos solo pueden ser guardados en los temas que permiten edici&oacute;n y que poseen columnas con auto incremento"}],"novaaba":[{pt:"Abre em nova aba",en:"Open in a new tab",es:"Abre en una pesta&ntilde;a nueva"}],"novonome":[{pt:"Novo nome",en:"New name",es:"Nombre nuevo"}],"medir":[{pt:"Medir/Calcular",en:"Measure/Calculate",es:"Medir/Calcular"}],"tabela":[{pt:"Tabela",en:"Table",es:"Tabla"}],"ligaDesliga":[{pt:"Liga/Desliga",en:"Turn on/Turn off",es:"Encender/Apagar"}],"naoPublicado":[{pt:"n&atilde;o publicado",en:"not published",es:"no publicado"}],"operacoesMapaTema":[{pt:"Opera&ccedil;&otilde;es sobre o mapa ou tema",en:"Operations on the map or theme",es:"Operaciones sobre el mapa o tema"}],"descMenuAjuda":[{pt:"Documenta&ccedil;&atilde;o, redes sociais, tutoriais...",en:"Documentation, social networks, tutorials...",es:"Documentaci&oacute;n, redes sociales, tutoriales..."}],"descMenuAnalise":[{pt:"Dist&acirc;ncia, &aacute;rea, buffer, gr&aacute;ficos...",en:"Distance, area, buffer, graphics...",es:"Distancia, &aacute;rea, buffer, gr&aacute;ficos..."}],"descArquivos":[{pt:"Salvar e carregar mapfile, lista de mapas...",en:"Save and upload mapfile, map list...",es:"Guardar y cargar mapfile, lista de mapas..."}],"descOperacoesMapaTema":[{pt:"Tabela, legenda, imprimir, upload, navega&ccedil;&atilde;o...",en:"Table, legend, print, upload, browsing...",es:"Tabla, leyenda, impresi&oacute;n, carga, navegaci&oacute;n..."}],"descOgcWms":[{pt:"Adiciona camada via servi&ccedil;o WMS",en:"Add layer via WMS service",es:"A&ntilde;ade capa a trav&eacute;s de servicio WMS"}],"descLimLoc":[{pt:"Regi&otilde;es cadastradas no sistema de metadados estat&iacute;sticos",en:"Regions registered in the statistical metadata system",es:"Regiones registradas en el sistema de metadatos estad&iacute;sticos"}],"descMeta":[{pt:"Camadas baseadas no sistema de metadados estat&iacute;sticos",en:"Layers based on the statistical metadata system",es:"Capas basadas en el sistema de metadatos estad&iacute;sticos"}],"descMapas":[{pt:"Mapas prontos para uso, com camadas j&aacute; selecionadas",en:"Ready-to-use maps with layers already selected",es:"Mapas listos para su uso con capas seleccionadas"}],"descEstrelas":[{pt:"Lista de camadas classificadas conforme o n&uacute;mero de acessos",en:"List of layers classified according to the number of accesses",es:"Lista de capas clasificadas seg&uacute;n el n&uacute;mero de accesos"}],"descSistemas":[{pt:"Sistemas com op&ccedil;&otilde;es espec&iacute;ficas e que permitem adicionar camadas ao mapa",en:"Systems with specific options that allow you to add layers to the map",es:"Sistemas con opciones espec&iacute;ficas que permiten agregar capas al mapa"}],"descDir":[{pt:"Diret&oacute;rio de arquivos shapefile",en:"Shapefile directory",es:"Directorio de archivos shapefile"}],"localiza":[{pt:"Posi&ccedil;&atilde;o",en:"Position",es:"Posici&oacute;n"}],"volta":[{pt:"volta",en:"back",es:"volver"}],"continua":[{pt:"continua",en:"continue",es:"continuar"}],"avanca":[{pt:"avan&ccedil;a",en:"go ahead",es:"avanzar"}],"tipvazio":[{pt:"N&atilde;o existe nenhuma camada no mapa que permita mostrar etiquetas",en:"There is no layer on the map that allows you to display labels",es:"No existe ninguna capa en el mapa que permita mostrar etiquetas"}],"erroTpl":[{pt:"Erro ao carregar um template",en:"Error loading template",es:"Error al cargar una plantilla"}],"remove":[{pt:"Remove",en:"Remove",es:"Eliminar"}],"iconeFerramentas":[{pt:"Caixa de ferramentas",en:"Tool box",es:"Caja de herramientas"}],"iconeMapa":[{pt:"Camadas inclu&iacute;das",en:"Layers included",es:"Capas incluidas"}],"iconeCatalogo":[{pt:"Incluir mais camadas",en:"Add more layers",es:"Incluir m&aacute;s capas"}],"iconeLegenda":[{pt:"Legenda do mapa",en:"Map Legend",es:"Leyenda del mapa"}],"iconeBalao":[{pt:"Info resumida",en:"Summary information",es:"Informaci&oacute;n resumida"}],"iconeIdentifica":[{pt:"Info completa",en:"Comprehensive information",es:"Informaci&oacute;n completa"}],"indeOk":[{pt:"Cat&aacute;logo da INDE j&aacute; est&aacute; dispon&iacute;vel",en:"INDE catalog now available",es:"Cat&aacute;logo del INDE ya est&aacute; disponible"}],"deveLigada":[{pt:"A camada deve estar vis&iacute;vel",en:"The layer must be visible",es:"La capa debe ser visible"}],"balaoVazio":[{pt:"N&atilde;o foram encontrados dados nas camadas dispon&iacute;veis. Experimente utilizar o &iacute;cone de mais informa&ccedil;&otilde;es",en:"No data was found on the available layers. Try to use the more infomation icon",es:"No se encontraron datos en las capas disponibles. Intente utilizar el icono de m&aacute;s informaci&oacute;n"}],"umaLigada":[{pt:"Pelo menos uma camada deve estar ligada no mapa",en:"At least one layer must be associated with the map",es:"Al menos una capa debe estar conectada en el mapa"}],"precisaApiGM":[{pt:"Essa op&ccedil;&atilde;o necessita de uma API do Google Maps. Consulte o administrador do sistema. O c&oacute;digo da API deve constar no arquivo de configura&ccedil;&atilde;o do i3Geo.",en:"This option requires a Google Maps API. Ask your system administrator for advice. The API code should be in the i3Geo configuration file.",es:"Esta opci&oacute;n requiere una API de Google Maps. Consulte con el administrador del sistema. El c&oacute;digo de la API debe incluirse en el archivo de configuraci&oacute;n de i3Geo."}],"graticule":[{pt:"Grade de coordenadas (ativa e desativa)",en:"Coordinate grid (turn on and turn off)",es:"Cuadr&iacute;cula de coordenadas (activa y desactiva)"}],"versaoAntiga":[{pt:"Essa op&ccedil;&atilde;o pode n&atilde;o funcionar corretamente devido a vers&atilde;o do sistema (Mapserver)",en:"This option may not work properly because of the system version (Mapserver)",es:"Esta opci&oacute;n puede que no funcione correctamente debido a la versi&oacute;n del sistema (Mapserver)"}],"camadasDeFundo":[{pt:"Camadas de fundo",en:"Basemap",es:"Mapa base"}],"funcaojstip":[{pt:"Fun&ccedil;&atilde;o JS (para as etiquetas)",en:"",es:""}],"rangeScaleMsg":[{pt:"Vis&iacute;vel apenas em determinadas escalas",en:"",es:""}],"layerDesenho":[{pt:"Camada de desenho",en:"",es:""}],"confirma":[{pt:"Confirma",en:"",es:""}],"selCorta":[{pt:"Selecione primeiro um elemento para ser cortado",en:"",es:""}],"desPol":[{pt:"Desenhe um pol&iacute;gono",en:"",es:""}],"union":[{pt:"Uni&atilde;o",en:"",es:""}],"intersect":[{pt:"Intersec&ccedil;&atilde;o",en:"",es:""}],"symdif":[{pt:"Diferen&ccedil;a sim&eacute;trica",en:"",es:""}],"dif":[{pt:"Diferen&ccedil;a",en:"",es:""}],"shiftdel":[{pt:"Para apagar um v&eacute;rtice, pressione shift e clique",en:"",es:""}],"extent":[{pt:"Extens&atilde;o",en:"",es:""}],"cola":[{pt:"Cola",en:"",es:""}],"fillring":[{pt:"Preenche as ilhas",en:"",es:""}],"naoremovewkt":[{pt:"Fecha sem remover o desenho",en:"",es:""}],"ativasnaptol":[{pt:"Ativa toler&acirc;ncia (snap)",en:"",es:""}],"freehand":[{pt:"M&atilde;o livre",en:"",es:""}],"masc":[{pt:"M&aacute;scara",en:"",es:""}],"fullscreen":[{pt:"Tela cheia",en:"",es:""}],"esquemadecores":[{pt:"Esquema de cores",en:"Color schema",es:"Esquema de colores"}],"copiaCamada":[{pt:"C&oacute;pia da camada",en:"Layer copy",es:"Copia de la capa"}],"contorno":[{pt:"Contorno",en:"Outline",es:"Contorno"}],"copytomemory":[{pt:"Copiado para a mem&oacute;ria",en:"",es:""}]};
  238 +g_traducao={"dec":[{pt:",",en:".",es:","}],"mil":[{pt:".",en:",",es:"."}],"p1":[{pt:"O i3Geo &eacute; software livre! Para download clique <a href='https://softwarepublico.gov.br/social/i3geo' target=blank >aqui</a>. <b><a href='http://"+window.location.host+"/i3geo/mobile/qrcode.htm' target=blank >Qrcode mobile</a></b>",en:"I3Geo is an open source software! Click <a href='https://softwarepublico.gov.br/social/i3geo' target=blank >here</a> to download. <b><a href='http://"+window.location.host+"/i3geo/mobile/qrcode.htm' target=blank >Qrcode mobile</a></b>",es:"i3Geo es software libre! Para descargar haga clic <a href='https://softwarepublico.gov.br/social/i3geo' target=blank >aqu&iacute;</a>. <b><a href='http://"+window.location.host+"/i3geo/mobile/qrcode.htm' target=blank >Qrcode mobile</a></b>"}],"p2":[{pt:"Filtro de cores",en:"Color filter",es:"Filtro de colores"}],"p3":[{pt:"Legenda",en:"Legend",es:"Leyenda"}],"p4":[{pt:"Escala",en:"Scale",es:"Escala"}],"p5":[{pt:"Tamanho",en:"Size",es:"Tama&ntilde;o"}],"p6":[{pt:"Ativa/desativa entorno",en:"Enable/disable environment",es:"Activar/desactivar entorno"}],"p7":[{pt:"Ativa/desativa logo",en:"Enable/disable logo",es:"Activar/desactivar logo"}],"p8":[{pt:"Cor da sele&ccedil;&atilde;o",en:"Selection color",es:"Color de la selecci&oacute;n"}],"p9":[{pt:"Cor do fundo",en:"Background color",es:"Color de fondo"}],"p10":[{pt:"Grade de coordenadas",en:"Coordinate grid",es:"Cuadr&iacute;cula de coordenadas"}],"p11":[{pt:"Template",en:"Template",es:"Plantilla"}],"p12":[{pt:"Temporizador",en:"Timer",es:"Temporizador"}],"p13":[{pt:"Propriedades",en:"Properties",es:"Propiedades"}],"p14":[{pt:"Aplicar",en:"Apply",es:"Aplicar"}],"p15":[{pt:"Formato da imagem do mapa",en:"Map image format",es:"Formato de la imagen del mapa"}],"p16":[{pt:"Fundo",en:"Basemap",es:"Mapa base"}],"p17":[{pt:"Imprime legenda",en:"Print legend",es:"Imprimir la leyenda"}],"p18":[{pt:"N&atilde;o imprime a legenda",en:"Do not print legend",es:"No imprimir la leyenda"}],"p19":[{pt:"Ativa ou desativa a legenda de um tema na op&ccedil;&atilde;o de impress&atilde;o do mapa",en:"Enable or disable the legend of a theme in the map print option",es:"Activa o desactiva la leyenda de un tema en la opci&oacute;n de impresi&oacute;n del mapa"}],"p20":[{pt:"Tela remota",en:"Remote screen",es:"Pantalla remota"}],"p21":[{pt:"Anima&ccedil;&atilde;o",en:"Animation",es:"Animaci&oacute;n"}],"s1":[{pt:"Ajuda",en:"Help",es:"Ayuda"}],"s2":[{pt:"An&aacute;lise",en:"Analysis",es:"An&aacute;lisis"}],"s3":[{pt:"Janelas",en:"Windows",es:"Ventanas"}],"s4":[{pt:"Arquivo",en:"File",es:"Archivo"}],"s5":[{pt:"Propriedades",en:"Properties",es:"Propiedades"}],"u1":[{pt:"Sobre o i3Geo",en:"About i3Geo",es:"Acerca de i3Geo"}],"u2":[{pt:"Doc. dos c&oacute;digos",en:"Doc. of codes",es:"Doc. de los c&oacute;digos"}],"u3":[{pt:"WikiBook",en:"WikiBook",es:"WikiBook"}],"u4":[{pt:"Tutoriais",en:"Tutorials",es:"Tutoriales"}],"u4a":[{pt:"Manual do usu&aacute;rio",en:"User manual",es:"Manual de usuario"}],"u5":[{pt:"Blog",en:"Blog",es:"Blog"}],"u5a":[{pt:"Software p&uacute;blico",en:"Public software",es:"Software p&uacute;blico"}],"u5b":[{pt:"Lista de fun&ccedil;&otilde;es",en:"Function lists",es:"Lista de funciones"}],"u5c":[{pt:"Redes sociais",en:"Social networks",es:"Redes sociales"}],"u6":[{pt:"Geometrias",en:"Geometries",es:"Geometr&iacute;as"}],"u7":[{pt:"Grade de pol&iacute;gonos",en:"Polygon grid",es:"Cuadr&iacute;cula de pol&iacute;gonos"}],"u8":[{pt:"Grade de pontos",en:"Point grid",es:"Cuadr&iacute;cula de puntos"}],"u9":[{pt:"Grade de hex&aacute;gonos",en:"Grid of Hexagons",es:"Cuadr&iacute;cula de hex&aacute;gonos"}],"u10":[{pt:"Entorno(Buffer)",en:"Buffer",es:"&Aacute;rea de influencia (Buffer)"}],"u11":[{pt:"Centr&oacute;ide",en:"Centroid",es:"Centroide"}],"u11a":[{pt:"Dist&acirc;ncia entre pontos",en:"Distance between points",es:"Distancia entre puntos"}],"u12":[{pt:"N pontos em poligono",en:"N points in polygon",es:"N puntos en pol&iacute;gono"}],"u13":[{pt:"Ponto em poligono/raster",en:"Point in polygon/raster",es:"Punto en pol&iacute;gono/raster"}],"u14":[{pt:"Distribui&ccedil;&atilde;o de pontos",en:"Point distribution",es:"Distribuci&oacute;n de puntos"}],"u15":[{pt:"Barras de ferramentas",en:"Toolbars",es:"Barras de herramientas"}],"u15a":[{pt:"Caixa de ferramentas",en:"Tool box",es:"Caja de herramientas"}],"u16":[{pt:"Janela de mensagens",en:"Message window",es:"Ventana de mensajes"}],"u17":[{pt:"Salvar mapa",en:"Save map",es:"Guardar el mapa"}],"u18":[{pt:"Carregar mapa",en:"Load map",es:"Cargar mapa"}],"u19":[{pt:"Pegar imagens",en:"Paste images",es:"Pegar im&aacute;genes"}],"u20":[{pt:"Converter em WMS e WMC",en:"Convert to WMS and WMC",es:"Convertir a WMS y WMC"}],"u20a":[{pt:"Converter em KML",en:"Convert to KML",es:"Convertir a KML"}],"u21":[{pt:"Gerador de links",en:"Link generator",es:"Generador de enlaces"}],"u22":[{pt:"Grade",en:"Grid",es:"Cuadr&iacute;cula"}],"u23":[{pt:"Ponto",en:"Point",es:"Punto"}],"u24":[{pt:"Pol&iacute;gono",en:"Polygon",es:"Pol&iacute;gono"}],"u25":[{pt:"Dissolve",en:"Dissolve",es:"Disolver"}],"u26":[{pt:"Agrupa",en:"Group",es:"Agrupar"}],"u27":[{pt:"Outros",en:"Others",es:"Otros"}],"u28":[{pt:"Centro m&eacute;dio",en:"Middle center",es:"Centro medio"}],"u29":[{pt:"Editor vetorial",en:"Vector editor",es:"Editor vectorial"}],"t1":[{pt:"Camadas",en:"Layers",es:"Capas"}],"t2":[{pt:"Arraste o tema aqui ou clique para excluir",en:"Drag the theme here or click to remove",es:"Arrastre el tema aqu&iacute; o haga clic para excluir"}],"t2a":[{pt:"Filtra a lista de camadas",en:"Filter the layer list",es:"Filtra la lista de capas"}],"t2b":[{pt:"Abre a legenda do mapa",en:"Open the map legend",es:"Despliega la leyenda del mapa"}],"t3":[{pt:"Clique para ligar ou desligar esse tema, mostrando-o ou n&atilde;o no mapa. Ap&oacute;s alterar o estado do tema, aguarde alguns instantes para o mapa ser redesenhado, ou clique no bot&atilde;o aplicar que ser&aacute; mostrado.",en:"Click to turn this theme off or on, showing it or not on the map. After changing the status of the theme, wait a few moments so that the map updates, or click the Apply button that will be displayed.",es:"Haga clic para encender o apagar este tema y mostrarlo o no en el mapa. Despu&eacute;s de cambiar el estado del tema, espere algunos instantes para que el mapa se actualice o haga clic en el bot&oacute;n aplicar que aparecer&aacute;."}],"t3a":[{pt:"Ligar todos os temas",en:"Turn on all themes",es:"Encender todos los temas"}],"t3b":[{pt:"Desligar todos os temas",en:"Turn off all themes",es:"Apagar todos los temas"}],"t4":[{pt:"Limpa sele&ccedil;&atilde;o",en:"Clear selection",es:"Limpia la selecci&oacute;n"}],"t4a":[{pt:"Zoom para a sele&ccedil;&atilde;o",en:"Zoom to selection",es:"Zoom a la selecci&oacute;n"}],"t5":[{pt:"Limpa sele&ccedil;&atilde;o existente nesse tema",en:"Clear an existing selection in this theme",es:"Limpia la selecci&oacute;n existente en este tema"}],"t6":[{pt:"Clique para fazer o download desse tema no formato shapefile",en:"Click to download this theme in shapefile format",es:"Haga clic para descargar este tema en formato shapefile"}],"t7":[{pt:"clique e arraste",en:"Click and drag",es:"Haga clic y arrastre"}],"t7a":[{pt:"Clique e arraste para mudar a ordem. Arraste e solte na lixeira para remover. Aguarde para ver a legenda.",en:"Click and drag to change the order. Drag and drop to the trash to remove. Wait to see the legend.",es:"Haga clic y arrastre para cambiar el orden. Arrastre y suelte en la papelera para remover. Aguarde para ver la leyenda."}],"t8":[{pt:"arraste para mudar a ordem",en:"drag to change the order",es:"arrastre para cambiar el orden"}],"t9":[{pt:"Compat&iacute;vel com a escala",en:"Compatible with the scale",es:"Compatible con la escala"}],"t10":[{pt:"Incompat&iacute;vel com a escala",en:"Incompatible with the scale",es:"Incompatible con la escala"}],"t11":[{pt:"Escala n&atilde;o conhecida",en:"Unknown scale",es:"Escala no conocida"}],"t12":[{pt:"Excluir",en:"Exclude",es:"Excluir"}],"t12a":[{pt:"Clique para excluir esse tema do mapa.",en:"Click to exclude this theme from the map.",es:"Haga clic para excluir este tema del mapa."}],"t13":[{pt:"Sobe",en:"Up",es:"Subir"}],"t14":[{pt:"Clique para subir esse tema na ordem de desenho",en:"Click to move up the theme in drawing order",es:"Haga clic para subir y cambiar el orden de dibujo de este tema"}],"t15":[{pt:"Desce",en:"Down",es:"Bajar"}],"t16":[{pt:"Clique para descer esse tema na ordem de desenho",en:"Click to move down the theme in drawing order",es:"Haga clic para bajar y cambiar el orden de dibujo de este tema"}],"t17":[{pt:"Zoom para o tema",en:"Zoom to theme",es:"Zoom al tema"}],"t18":[{pt:"Clique para ajustar o mapa de forma a mostrar todo o tema",en:"Click to show the whole theme by adjusting the map",es:"Haga clic para ajustar el mapa de manera de poder ver todo el tema"}],"t18a":[{pt:"Op&ccedil;&otilde;es e propriedades",en:"Options and properties",es:"Opciones y propiedades"}],"t18b":[{pt:"Legenda",en:"Legend",es:"Leyenda"}],"t19":[{pt:"Altera a transpar&ecirc;ncia do tema, possibilitando que as camadas inferiores possam ser vistas.",en:"Change layer transparency to enable visibility of bottom layers.",es:"Altera la transparencia del tema haciendo posible que las capas inferiores se puedan ver."}],"t20":[{pt:"Opacidade",en:"Opacity",es:"Opacidad"}],"t22":[{pt:"Localize elementos no tema com base em seus atributos descritivos.",en:"Search for elements on the theme based on their descriptive attributes.",es:"Ubique elementos en el tema en base a sus atributos descriptivos."}],"t23":[{pt:"Procurar",en:"Search",es:"Buscar"}],"t24":[{pt:"Crie uma nova camada no mapa para apresentar textos descritivos sobre esse tema, tendo como base a tabela de atributos.",en:"Create a new layer on the map based on the table of attributes to display descriptive texts about this theme.",es:"Crear una nueva capa en el mapa para presentar textos descriptivos sobre este tema, teniendo como base la tabla de atributos."}],"t25":[{pt:"Etiquetas baseadas em atributos",en:"Labels based on attributes",es:"Etiquetas basadas en atributos"}],"t26":[{pt:"Defina as etiquetas que ser&atilde;o mostradas quando o mouse &eacute; estacionado sobre um elemento desse tema.",en:"Define labels that will be shown when the mouse is over a feature of this theme.",es:"Defina las etiquetas que se mostrar&aacute;n cuando el rat&oacute;n se detenga sobre un elemento de este tema."}],"t27":[{pt:"Ativar etiquetas",en:"Activate labels",es:"Activar etiquetas"}],"t28":[{pt:"Insira um filtro nesse tema para mostrar apenas determinadas informa&ccedil;&otilde;es, com base na tabela de atributos.",en:"Insert a filter in this theme based on the table of attributes to show only specific information.",es:"Inserte un filtro en este tema para mostrar solo determinadas informaciones, con base en la tabla de atributos."}],"t29":[{pt:"Filtrar",en:"Filter",es:"Filtrar"}],"t30":[{pt:"Veja a tabela de atributos relacionada a esse tema.",en:"See the table of attributes related to this theme.",es:"Vea la tabla de atributos relacionada con este tema."}],"t31":[{pt:"Tabela com os dados",en:"Table with data",es:"Tabla con los datos"}],"t32":[{pt:"Abre o editor de legenda, permitindo a altera&ccedil;&atilde;o da forma de representa&ccedil;&atilde;o desse tema.",en:"Open the legend editor to change the way this theme is rendered.",es:"Abre el editor de leyenda para modificar la forma de representaci&oacute;n de este tema."}],"t33":[{pt:"Editar legenda",en:"Edit legend",es:"Editar leyenda"}],"t34":[{pt:"Mostra os dados desse tema em uma janela que acompanha o mouse.",en:"Show the data of this theme in a window that tracks the mouse.",es:"Muestra los datos de este tema en una ventana que acompa&ntilde;a el rat&oacute;n."}],"t35":[{pt:"Mostra em janela",en:"Show in window",es:"Mostrar en la ventana"}],"t36":[{pt:"tema vis&iacute;vel apenas em determinadas escalas",en:"theme visible only at certain scales",es:"el tema es visible solo en ciertas escalas"}],"t37":[{pt:"Gr&aacute;fico",en:"Chart",es:"Gr&aacute;fico"}],"t37a":[{pt:"Tema com gr&aacute;ficos",en:"Theme with charts",es:"Tema con gr&aacute;ficos"}],"t37b":[{pt:"Gr&aacute;fico interativo",en:"Interactive chart",es:"Gr&aacute;fico interactivo"}],"t38":[{pt:"Exporta a legenda para o padr&atilde;o SLD.",en:"Export the legend to SLD schema.",es:"Exporta la leyenda para el est&aacute;ndar SLD."}],"t39":[{pt:"Exportar SLD",en:"Export SLD",es:"Exportar SLD"}],"t40":[{pt:"Abre a ferramenta que permite alterar o SQL de acesso aos dados",en:"Open the tool to change the SQL to access data",es:"Abre la herramienta que permite cambiar el SQL de acceso a los datos"}],"t41":[{pt:"Editar SQL",en:"Edit SQL",es:"Editar SQL"}],"t42":[{pt:"Cortina",en:"Curtain",es:"Cortina"}],"t43":[{pt:"Aplicar SLD",en:"Apply SLD",es:"Aplicar SLD"}],"t44":[{pt:"Salvar mapfile",en:"Save mapfile",es:"Guardar mapfile"}],"t45":[{pt:"Comentar",en:"Comment",es:"Comentar"}],"t46":[{pt:"Mais populares",en:"Most popular",es:"M&aacute;s populares"}],"t48":[{pt:"Temporizador",en:"Timer",es:"Temporizador"}],"t49":[{pt:"Mapa tem&aacute;tico 3D",en:"3D tematic map",es:"Mapa tem&aacute;tico 3D"}],"a1":[{pt:"Procurar tema:",en:"Search theme:",es:"Buscar tema:"}],"a2":[{pt:"Upload de shape file",en:"Upload shapefile",es:"Subir shapefile"}],"a2b":[{pt:"Upload de DBF ou CSV",en:"Upload DBF or CSV",es:"Subir DBF o CSV"}],"a3":[{pt:"Download de dados",en:"Data downloading",es:"Descarga de datos"}],"a3a":[{pt:"Importar Web Map Context",en:"Import Web Map Context",es:"Importar Web Map Context"}],"a4":[{pt:"Conectar com servidor WMS",en:"Connect to WMS server",es:"Conectar al servidor WMS"}],"a4b":[{pt:"Conectar com servidor WMS-T",en:"Connect to WMS-T server",es:"Conectar al servidor WMS-T"}],"a5":[{pt:"Conectar com GeoRss",en:"Connect to GeoRss",es:"Conectar con GeoRss"}],"a5a":[{pt:"Nuvem de tags",en:"Tag cloud",es:"Nube de etiquetas"}],"a6":[{pt:"Acesso aos arquivos do servidor",en:"Access to server files",es:"Acceso a los archivos del servidor"}],"a7":[{pt:"Temas",en:"Theme",es:"Temas"}],"a8":[{pt:"Clique no box ao lado do tema para ligar ou desligar, mostrando-o ou n&atilde;o no mapa. Ap&oacute;s alterar o estado do tema, aguarde alguns instantes para o mapa ser redesenhado, ou clique no bot&atilde;o aplicar que ser&aacute; mostrado.",en:"Click the box next to the theme to turn it on or off, showing it or not on the map. After changing the status of the theme, wait a few moments so that the map updates, or click the Apply button that will be displayed.",es:"Haga clic en el cuadro ubicado al lado del tema para encender o apagarlo y mostralo o no en el mapa. Despu&eacute;s de cambiar el estado del tema, espere algunos instantes para que el mapa se actualice o haga clic en el bot&oacute;n aplicar que aparecer&aacute;."}],"a9":[{pt:"Fonte",en:"Font",es:"Fuente"}],"a10":[{pt:"c&oacute;digo:",en:"code",es:"c&oacute;digo"}],"a11":[{pt:"Sistemas",en:"Systems",es:"Sistemas"}],"a12":[{pt:"Abrir sistema",en:"Open system",es:"Abrir sistema"}],"a13":[{pt:"Abrir no Google Earth",en:"Open with Google Earth",es:"Abrir en Google Earth"}],"a14":[{pt:"Upload SHP, CSV...",en:"Upload SHP, CSV...",es:"Subir SHP, CSV..."}],"a15":[{pt:"Conex&otilde;es",en:"Conections",es:"Conexiones"}],"a16":[{pt:"Servi&ccedil;os",en:"Services",es:"Servicios"}],"g1":[{pt:"Temas",en:"Themes",es:"Temas"}],"g1a":[{pt:"Cat&aacute;logo",en:"Catalog",es:"Cat&aacute;logo"}],"g2":[{pt:"Adiciona",en:"Add",es:"Agregar"}],"g3":[{pt:"Legenda",en:"Legend",es:"Leyenda"}],"g4":[{pt:"Mapas",en:"Maps",es:"Mapas"}],"g4a":[{pt:"Mapa",en:"Map",es:"Mapa"}],"o1":[{pt:"Aguarde...",en:"Wait...",es:"Espere..."}],"o2":[{pt:"Busca r&aacute;pida",en:"Quick search",es:"B&uacute;squeda r&aacute;pida"}],"o3":[{pt:"Lendo imagem...",en:"Reading image...",es:"Leyendo imagen..."}],"o4":[{pt:"Aguarde...abrindo lente",en:"Wait...Opening magnifying glass",es:"Espere...abriendo lupa"}],"o5":[{pt:"Aguarde...iniciando",en:"Wait...initializing",es:"Espere...iniciando"}],"o6":[{pt:"din&acirc;mico",en:"Dynamic",es:"Din&aacute;mico"}],"d1":[{pt:"Digite as coordenadas de um ponto (X=longitude e Y=latitude) para localizar-lo no mapa. no mapa. O centro do mapa ser&aacute; deslocado para o ponto digitado.",en:"Enter the coordinates of a point (X=longitude and Y=latitude) to localize it on the map. The map center will move to this point.",es:"Digite las coordenadas de un punto (X=longitud e Y=latitud) para ubicarlas en el mapa. El centro del mapa se desplazar&aacute; al punto introducido."}],"d2":[{pt:"Altera a escala do mapa ajustando-a para mostrar a mesma abrang&ecirc;ncia geogr&aacute;fica da inicializa&ccedil;&atilde;o.",en:"Change the map scale to show the initial geographical extent.",es:"Modifica la escala del mapa ajust&aacute;ndola para mostrar la misma &aacute;rea geogr&aacute;fica inicial."}],"d2t":[{pt:"Enquadramento inicial",en:"Initial extent",es:"Extensi&oacute;n inicial"}],"d3":[{pt:"Amplia o mapa - desloca o ponto clicado para centro da tela ou amplia a regi&atilde;o indicada por um ret&acirc;ngulo. Ap&oacute;s ativada, clique e arraste o mouse sobre o mapa na &aacute;rea de zoom desejada.",en:"It enlarges the map - places the clicked point on the center of the screen or enlarge the map on a region indicated by a rectangle. Once activated, click and drag the mouse over the map into the desired area.",es:"Ampl&iacute;a el mapa - coloca el punto donde se hizo clic en el centro de la pantalla o ampl&iacute;a a la regi&oacute;n indicada con un rect&aacute;ngulo. Despu&eacute;s de activarla, haga clic y arrastre el rat&oacute;n sobre el mapa en el &aacute;rea de zoom deseada."}],"d3t":[{pt:"clique e arraste para ampliar",en:"click and drag to enlarge",es:"Haga click y arraste para ampliar"}],"d4":[{pt:"Desloca a regi&atilde;o vis&iacute;vel no mapa. Ap&oacute;s ativada, clique e arraste o mouse sobre o mapa para deslocar a regi&atilde;o vis&iacute;vel.",en:"It moves the visible region on the map. After being activated, click and drag the mouse over the map to move the visible region.",es:"Desplaza la regi&oacute;n visible en el mapa. Una vez activada, haga clic y arrastre el rat&oacute;n sobre el mapa para desplazar la zona visible."}],"d4t":[{pt:"clique e arraste para deslocar",en:"click and drag to move",es:"haga click y arraste para mover"}],"d5":[{pt:"Amplia o mapa tendo como refer&ecirc;ncia o centro atual.",en:"Enlarge the map based on the current center.",es:"Ampl&iacute;a el mapa teniendo como referencia el centro actual."}],"d5t":[{pt:"aproximar",en:"zoom in",es:"acercar"}],"d6":[{pt:"Reduz o mapa tendo como refer&ecircncia o centro atual.",en:"Reduce the map based on the current center.",es:"Reduce el mapa teniendo como referencia el centro actual"}],"d6t":[{pt:"afastar",en:"zoom out",es:"alejar",it:"afastar"}],"d7":[{pt:"Mostra informa&ccedil;&otilde;es sobre um ponto no mapa. Ap&oacute;s ativada, clique sobre o mapa.",en:"It displays information about a point on the map. After being activated, click on the map.",es:"Muestra informaci&oacute;n sobre un punto en el mapa. Despu&eacute;s de activarla haga clic sobre el mapa."}],"d7t":[{pt:"Info",en:"Info",es:"Info"}],"d7a":[{pt:"Mostra informa&ccedil;&otilde;es resumidas sobre um ponto clicado no mapa. N&atilde;o &eacute; necess&aacute;rio clicar nesse &iacute;cone para ativar, basta clicar no mapa a qualquer tempo.",en:"Display summary information about a point clicked on the map. It is not necessary to click this icon to activate it, just click on the map at any time.",es:"Muestra informaci&oacute;n resumida de un punto sobre el cual se ha hecho clic en el mapa. No es necesario hacer clic en ese icono para activarlo, simplemente haga clic en el mapa en cualquier momento."}],"d7at":[{pt:"etiqueta",en:"label",es:"etiqueta"}],"d8":[{pt:"Mostra a extens&atilde;o geogr&aacute;fica atual em coordenadas geogr&aacute;ficas",en:"Show the current extent in geographic coordinates",es:"Muestra la extensi&oacute;n geogr&aacute;fica actual en coordenadas geogr&aacute;ficas"}],"d8t":[{pt:"Extens&atilde;o atual",en:"Current extent",es:"Extensi&oacute; actual"}],"d9":[{pt:"Abre/fecha o mapa de refer&ecirc;ncia",en:"Open/close the overview map",es:"Abre/cierra el mapa de referencia"}],"d9t":[{pt:"Mapa de refer&ecirc;ncia",en:"Overview map",es:"Mapa de referencia"}],"d10":[{pt:"Digite o novo valor de escala e clique no bot&atilde;o aplicar para alterar a escala do mapa",en:"Enter a new scale value and click the apply button to change the map scale",es:"Ingrese el nuevo valor de escala y haga clic en el bot&oacute;n aplicar para modificar la escala del mapa"}],"d11":[{pt:"Busca dados na Wikipedia na abrang&ecirc;ncia atual do mapa. Fa&ccedil;a um zoom no mapa antes de abrir essa op&ccedil;&atilde;o. Regi&ocirc;es muito extensas podem tornar a busca muito demorada",en:"Search for Wikipedia data in the current extent of the map. Zoom on the map before opening this option. Large regions can slow down searching",es:"Busca datos en Wikipedia de la extensi&oacute;n actual del mapa. Haga zoom en el mapa antes de abrir esta opci&oacute;n. Regiones muy extensas pueden hacer que la b&uacute;squeda sea muy lenta"}],"d11t":[{pt:"buscar na Wikip&eacute;dia",en:"search on Wikipedia",es:"buscar en Wikipedia"}],"d12":[{pt:"Imprime o mapa",en:"Print map",es:"Imprime el mapa"}],"d13":[{pt:"Localiza o IP do usu&aacute;rio no mapa",en:"Locate the user's IP on the map",es:"Localiza la IP del usuario en el mapa"}],"d14":[{pt:"Gera arquivo para 3D",en:"Generate a 3D file",es:"Genera archivo para 3D"}],"d15":[{pt:"Abre o Google Maps, mostrando uma imagem de sat&eacute;lite da regi&atilde;o vista no mapa principal",en:"Open Google Maps displaying a satellite image of the region shown on the main map",es:"Abre Google Maps, mostrando una imagen de sat&eacute;lite de la regi&oacute;n presentada en el mapa principal"}],"d15t":[{pt:"Google Maps",en:"Google Maps",es:"Google Maps"}],"d16":[{pt:"Pesquisa documentos na base de dados Scielo (dados preliminares)",en:"Search documents in the Scielo database (preliminary data)",es:"B&uacute;squeda de documentos en la base de datos Scielo (datos preliminares)"}],"d16t":[{pt:"Scielo",en:"Scielo",es:"Scielo"}],"d17":[{pt:"Projeto Confluence. Pontos de intersec&ccedil;&atilde;o de coordenadas observadas em campo",en:"Confluence Project. Intersection points of coordinates observed in field",es:"Proyecto Confluence. Puntos de intersecci&oacute;n de coordenadas observadas en campo"}],"d17t":[{pt:"conflu&ecirc;ncias",en:"confluences",es:"confluencias"}],"d18":[{pt:"Abre lente de amplia&ccedil;&atilde;o",en:"Open magnifying glass",es:"Abrir lupa"}],"d18t":[{pt:"lente de aumento",en:"magnifying glass",es:"lupa"}],"d19":[{pt:"Coloca as guias em uma janela m&oacute;vel",en:"Put guides in a moving window",es:"Coloca las gu&iacute;as en una ventana m&oacute;vil"}],"d20":[{pt:"Redesenha o mapa com as configura&ccedil;&ocirc;es iniciais.",en:"Reload the map with the initial settings.",es:"Recarga el mapa con las configuraciones iniciales."}],"d20t":[{pt:"reinicia",en:"restart",es:"reinicia",it:"reinicia"}],"d21":[{pt:"Mede a dist&acirc;ncia entre dois ou mais pontos clicados no mapa (menor dist&acirc;ncia). O c&aacute;lculo de dist&acirc;ncia &eacute; aproximado e sua precis&atilde;o depende da escala do mapa.",en:"Measure the distance between two or more clicked points on the map (shorter distance). The calculation of this distance is rough and its accuracy depends on the map scale.",es:"Mide la distancia entre dos o m&aacute;s puntos marcados en el mapa (menor distancia). El c&aacute;lculo de la distancia es aproximado y su exactitud depende de la escala del mapa."}],"d21t":[{pt:"Dist&acirc;ncia",en:"Distance",es:"Distancia"}],"d21a":[{pt:"Mede a &aacute;rea de um pol&iacute;gono desenhado na tela. O c&aacute;lculo de &aacute;rea &eacute; aproximado e sua precis&atilde;o depende da escala do mapa.",en:"Measure the area of a polygon drawn on the screen. The calculation of this area is rough and its accuracy depends on the map scale.",es:"Mide el &aacute;rea de un pol&iacute;gono dibujado sobre la pantalla. El c&aacute;lculo del &aacute;rea es aproximado y su exactitud depende de la escala del mapa."}],"d21at":[{pt:"&Aacute;rea",en:"Area",es:"&Aacute;rea"}],"d22":[{pt:"Insere pontos no mapa em coordenadas geogr&aacute;ficas. Os pontos inclu&iacute;dos podem ser transformados em linhas ou pol&iacute;gonos. Os pontos s&atilde;o armazenados em um tema tempor&aacute;rio, podendo-se fazer o download do arquivo shapefile.",en:"Insert points on the map in geographical coordinates. The added points can be converted into lines or polygons. The points are stored in a temporary theme and can be downloaded as a shapefile.",es:"Inserte puntos en el mapa en coordenadas geogr&aacute;ficas. Los puntos incluidos pueden ser transformados en l&iacute;neas o pol&iacute;gonos. Los puntos se almacenan en un tema temporal y se pueden descargar como archivo shapefile."}],"d22t":[{pt:"inserir pontos",en:"insert points",es:"insertar puntos"}],"d23":[{pt:"Insere um gr&aacute;fico no ponto clicado conforme os atributos existentes no tema escolhido. O tema deve possuir itens com valores num&eacute;ricos na tabela de atributos.",en:"Insert a chart on the clicked point according to the attributes of the selected theme. The theme must have records with numerical values in the table of attributes.",es:"Inserte un gr&aacute;fico en el punto marcado seg&uacute;n los atributos existentes en el tema seleccionado. El tema debe tener campos con valores num&eacute;ricos en la tabla de atributos."}],"d23t":[{pt:"Clique gr&aacute;fico",en:"Click on the chart",es:"Haga clic en el gr&aacute;fico"}],"d24":[{pt:"Abre as ferramentas para sele&ccedil;&atilde;o de elementos de um tema. Os elementos selecionados podem ser utilizados em outras opera&ccedil;&ocirc;es, como buffer e sele&ccedil;&atilde;o por tema.",en:"Open the tools for selecting features of a theme. The selected features can be used for other operations like buffer or selection by theme.",es:"Abre las herramientas para seleccionar elementos de un tema. Los elementos seleccionados pueden ser utilizados en otras operaciones como &aacute;reas de influencia (buffer) y selecci&oacute;n por tema."}],"d24t":[{pt:"Selecionar",en:"Select",es:"Seleccionar"}],"d25":[{pt:"Insere texto no mapa clicando em um ponto. Utilize essa op&ccedil;&atilde;o para adicionar informa&ccedil;&ocirc;es ao mapa.",en:"Insert a text on the map by clicking on a point. Use this option to add information on the map.",es:"Inserte un texto en el mapa haciendo clic en un punto. Utilice esta opci&oacute;n para agregar informaci&oacute;n en el mapa."}],"d25t":[{pt:"Inserir texto",en:"Insert text",es:"Insertar texto"}],"d26":[{pt:"Escolha o visual para os bot&otilde;es e outras caracter&iacute;sticas visuais do mapa",en:"Choose a button appearance and other visual characteristics of the map",es:"Elija el aspecto para los botones y otras caracter&iacute;sticas visuales del mapa"}],"d27":[{pt:"Interface",en:"Interface",es:"interfaz"}],"d28":[{pt:"Aguarde...gerando os arquivos",en:"Please wait...generating files",es:"Espera...generando los archivos"}],"d29":[{pt:"Esta&ccedil;&otilde;es METAR",en:"METAR stations",es:"Estaciones METAR"}],"d30":[{pt:"Linha do tempo",en:"Timeline",es:"L&iacute;nea del tiempo"}],"d31":[{pt:"N&atilde;o existe nenhuma camada com etiquetas ativas",en:"There is no layer with active labels",es:"No existe ninguna capa con etiquetas activas"}],"d32":[{pt:"Aplicativos",en:"Applications",es:"Aplicaciones"}],"ge1":[{pt:"Navega&ccedil;&atilde;o com o mouse",en:"Navigation with the mouse",es:"Navegaci&oacute;n con el rat&oacute;n"}],"ge2":[{pt:"Barra de status",en:"Status bar",es:"Barra de estado"}],"ge3":[{pt:"Mapa de refer&ecirc;ncia",en:"Overview map",es:"Mapa de referencia"}],"ge4":[{pt:"Escala e legenda",en:"Scale and legend",es:"Escala y leyenda"}],"ge5":[{pt:"Atmosfera",en:"Atmosphere",es:"Atm&oacute;sfera"}],"ge6":[{pt:"Grade de coordenadas",en:"Coordinates grid",es:"Cuadr&iacute;culas de coordenadas"}],"ge7":[{pt:"Luz do sol",en:"Sun light",es:"Luz del sol"}],"ge8":[{pt:"Limites pol&iacute;ticos",en:"Political boundaries",es:"L&iacute;mites pol&iacute;ticos"}],"ge9":[{pt:"Constru&ccedil;&otilde;es em 3D",en:"3D buildings ",es:"Construciones en 3D"}],"ge10":[{pt:"Estradas",en:"Roads",es:"Carreteras"}],"ge11":[{pt:"Terreno",en:"Terrain",es:"Terreno"}],"x1":[{pt:"P&aacute;gina principal",en:"Main page",es:"P&aacute;gina principal"}],"x2":[{pt:"Lista de menus",en:"Menu lists",es:"Lista de men&uacute;s"}],"x3":[{pt:"Miniaturas",en:"Thumbnails",es:"Miniaturas"}],"x4":[{pt:"Pesquisa na INDE",en:"Search in INDE",es:"B&uacute;squeda en INDE"}],"x5":[{pt:"Editar subgrupos",en:"Edit subgroups",es:"Editar subgrupos"}],"x6":[{pt:"Editar temas",en:"Edit themes",es:"Editar temas"}],"x7":[{pt:"op&ccedil;&atilde;o vis&iacute;vel apenas para editores",en:"option visible to editors only",es:"opci&oacute;n visible solo para editores"}],"x8":[{pt:"Sistema de administra&ccedil;&atilde;o",en:"Management system",es:"Sistema de administraci&oacute;n"}],"x9":[{pt:"Editar &aacute;rvore",en:"Edit tree",es:"Editar &aacute;rbol"}],"x10":[{pt:"Editar menus do cat&aacute;logo",en:"Edit catalog menus",es:"Editar men&uacute;s del cat&aacute;logo"}],"x11":[{pt:"Abre em uma janela",en:"Open in a window",es:"Abre en una ventana"}],"x13":[{pt:"&Aacute;rvore de camadas n&atilde;o encontrada",en:"Tree layers not found",es:"Arboles de capas no se encuentra"}],"x14":[{pt:"sim",en:"yes",es:"s&iacute;"}],"x15":[{pt:"n&atilde;o",en:"no",es:"no"}],"x16":[{pt:"Valor n&atilde;o definido",en:"Value not defined",es:"Valor no definido"}],"x17":[{pt:"Essa op&ccedil;&atilde;o afeta apenas a impress&atilde;o do mapa",en:"This option only affects map printing",es:"Esta opci&oacute;n solo afecta a la impresi&oacute;n del mapa"}],"x18":[{pt:"Nome n&atilde;o definido",en:"Name not defined",es:"Nombre no definido"}],"x19":[{pt:"Coment&aacute;rios de",en:"Reviews of",es:"Comentarios de"}],"x20":[{pt:"Clique no mapa para desenhar o pol&iacute;gono",en:"Click on the map to draw a polygon",es:"Haga clic en el mapa para dibujar un pol&iacute;gono"}],"x21":[{pt:"Essa opera&ccedil;&atilde;o n&atilde;o funciona nessa interface",en:"This operation does not work on this interface",es:"Esta operaci&oacute;n no funciona en esta interfaz"}],"x22":[{pt:"Op&ccedil;&atilde;o n&atilde;o dispon&iacute;vel",en:"Option not available",es:"Opci&oacute;n no disponible"}],"x23":[{pt:"Dire&ccedil;&atilde;o",en:"Direction",es:"Direcci&oacute;n"}],"x25":[{pt:"M&eacute;todo para calcular dist&acirc;ncias",en:"Method to calculate distances",es:"M&eacute;todo para calcular distancias"}],"x26":[{pt:"Voce quer mesmo encerrar a sessao?",en:"Do you want to logout?",es:"&iquest;Quiere cerrar la sesi&oacute;n?"}],"x27":[{pt:"Usu&aacute;rio",en:"User",es:"Usuario"}],"x28":[{pt:"Senha",en:"Password",es:"Contrase&ntilde;a"}],"x29":[{pt:"Enviar",en:"Submit",es:"Enviar"}],"x30":[{pt:"Ativo",en:"Active",es:"Activo"}],"x31":[{pt:"Erro",en:"Error",es:"Error"}],"x32":[{pt:"Recuperar senha",en:"Recover password",es:"Recuperar contrase&ntilde;a"}],"x33":[{pt:"Escolha um tema da lista",en:"Select a theme from the list",es:"Seleccione un tema de la lista"}],"x34":[{pt:"Lugar",en:"Place",es:"Lugar"}],"x35":[{pt:"Escolha um tipo de busca nas propriedades",en:"Choose a search type in the properties",es:"Elija un tipo de b&uacute;squeda en las propiedades"}],"x36":[{pt:"Digite uma palavra para busca!",en:"Enter search terms!",es:"Introduzca una palabra clave para buscar!"}],"x37":[{pt:"Onde ser&aacute; feita a busca",en:"Where will the search be done?",es:"&iquest;D&oacute;nde se realizar&aacute; la b&uacute;squeda?"}],"x38":[{pt:"Servi&ccedil;os de busca externos",en:"External search services",es:"Servicios de b&uacute;squeda externos"}],"x39":[{pt:"Temas existentes no mapa",en:"Existing themes on the map",es:"Temas existentes en el mapa"}],"x40":[{pt:"Apenas os temas especialmente configurados pelo administrador do i3Geo podem receber opera&ccedil;&otilde;es de busca",en:"Only those themes specially configarated by the i3Geo administrator can receive search operations",es:"Solo los temas especialmente configurados por el administrador de i3Geo pueden ser objeto de operaciones de b&uacute;squeda"}],"x41":[{pt:"Nada encontrado nos temas ou nenhum tema permite busca",en:"Nothing found in the themes or no theme allows searching",es:"Nada encontrado en los temas o ning&uacute;n tema permite b&uacute;squedas"}],"x42":[{pt:"Nada encontrado em ",en:"Nothing found at ",es:"No se encontr&oacute; nada en "}],"x43":[{pt:"Erro ao acessar o servi&ccedil;o",en:"Error accessing the service",es:"Error al acceder al servicio"}],"x44":[{pt:"Nuvem Flash",en:"Cloud Flash",es:"Nube Flash"}],"x45":[{pt:"Diret&oacute;rios",en:"Directories",es:"Directorios"}],"x46":[{pt:"Conex&atilde;o WMS-T",en:"WMS-T connection",es:"Conexi&oacute;n WMS-T"}],"x47":[{pt:"Conex&atilde;o GeoRSS",en:"GeoRSS connection",es:"Conexi&oacute;n GeoRSS"}],"x48":[{pt:"Rota",en:"Route",es:"Ruta"}],"x49":[{pt:"Coordenadas aproximadas",en:"Approximate coordinates",es:"Coordenadas aproximadas"}],"x50":[{pt:"Feche para parar",en:"Close to stop",es:"Cierre para parar"}],"x51":[{pt:"Sele&ccedil;&atilde;o",en:"Selection",es:"Selecci&oacute;n"}],"x52":[{pt:"Alterar senha",en:"Change password",es:"Cambiar contrase&ntilde;a"}],"x53":[{pt:"Upload de WMC",en:"WMC upload",es:"Subir WMC"}],"x54":[{pt:"Perfil",en:"Profile",es:"Perfil"}],"x55":[{pt:"Salva o tema",en:"Save theme",es:"Guarda el tema"}],"x56":[{pt:"Topon&iacute;mia",en:"Toponymy",es:"Toponimia"}],"x57":[{pt:"Cartogramas estat&iacute;sticos",en:"Statistical cartograms",es:"Cartogramas estad&iacute;sticos"}],"x58":[{pt:"Continua",en:"Continue",es:"Seguir"}],"x59":[{pt:"Localiza",en:"Locate",es:"Localiza"}],"x60":[{pt:"Cartogramas",en:"Cartograms",es:"Cartogramas"}],"x61":[{pt:"Filtra limite",en:"Filter limit",es:"Filtra l&iacute;mite"}],"x62":[{pt:"Remover",en:"Remove",es:"Eliminar"}],"x63":[{pt:"Para salvar as configura&ccedil;&otilde;es de uma camada,<br> utilize a op&ccedil;&atilde;o existente na &aacute;rvore de camadas no n&oacute; correspondente ao tema (basta expandir o tema para visualizar as op&ccedil;&otilde;es)<br><br>",en:"To save a layer setting,<br> use the option available in the layer tree corresponding to the theme node (just expand the theme to view the options)<br><br>",es:"Para guardar la configuraci&oacute;n de una capa,<br> utilice la opci&oacute;n disponible en la &aacute;rbol de capas en el nodo correspondiente al tema (basta con expandir el tema para ver las opciones)<br><br>"}],"x64a":[{pt:"Congela a vis&atilde;o atual",en:"Freeze the current view",es:"Congela la vista actual"}],"x64":[{pt:"Item",en:"Item",es:"Item"}],"x65":[{pt:"Buscando &iacute;tens...",en:"Searching fields...",es:"Buscando campos..."}],"x66":[{pt:"Ocorreu um erro",en:"There was an error",es:"Ocurri&oacute; un error"}],"x67":[{pt:"Comunidade i3Geo",en:"i3Geo community",es:"Comunidad i3Geo"}],"x68":[{pt:"Vers&atilde;o",en:"Version",es:"Versi&oacute;"}],"zoomliShift":[{pt:"Pressione a tecla SHIFT junto com o bot&atilde;o esquerdo do mouse e arraste para definir a &aacute;rea que ser&aacute; aproximada",en:"Press the SHIFT key along with the left mouse button and drag to define the area you want to zoom",es:"Presione la tecla MAY&Uacute;S junto con el bot&oacute;n izquierdo del rat&oacute;n y arrastre para definir el &aacute;rea en la que desea hacer zoom"}],"zoomliCtrl":[{pt:"Pressione a tecla CTRL junto com o bot&atilde;o esquerdo do mouse e arraste para definir a &aacute;rea que ser&aacute; aproximada",en:"Press the CTRL key along with the left mouse button and drag to define the area you want to zoom",es:"Presione la tecla CTRL junto con el bot&oacute;n izquierdo del rat&oacute;n y arrastre para definir el &aacute;rea en la que desea hacer zoom"}],"x70":[{pt:"Utilize os dedos em um movimento de pin&ccedil;a para definir a &aacute;rea que ser&aacute; aproximada ou afastada",en:"Use the pinch-zoom gesture to define the area that will be zoomed in or out",es:"Utilice los gestos de pinzas de los dedos para definir el &aacute;rea que ser&aacute; acercada o alejada"}],"x71":[{pt:"Aplicativos estat&iacute;sticos cadastrados",en:"Registered statistical applications",es:"Aplicaciones estad&iacute;sticas registradas"}],"x72":[{pt:"Lista de mapas cadastrados",en:"List of registered maps",es:"Lista de los mapas registrados"}],"x73":[{pt:"Redirecionar para a vers&atilde;o adaptada para dispositivos m&oacute;veis?",en:"Redirect to mobile version?",es:"Redireccionar a una versi&oacute;n adaptada a dispositivos m&oacute;viles?"}],"x74":[{pt:"Fecha",en:"Close",es:"Cierra"}],"x75":[{pt:"Cancela",en:"Cancel",es:"Cancela"}],"x76":[{pt:"O tema j&aacute; existe no mapa.",en:"This theme already exists on theme map.",es:"El tema ya existe en el mapa."}],"x77":[{pt:"Nome do novo marcador",en:"New bookmark name",es:"Nombre de marcador nuevo"}],"x78":[{pt:"Copie os marcadores e cole em um editor para guard&aacute;-los",en:"Copy bookmarks and paste in an editor to save them",es:"Copiar los marcadores y pegarlos en un editor para guardarlos"}],"x79":[{pt:"Marcadores",en:"Bookmarks",es:"Marcadores"}],"x80":[{pt:"Exportar",en:"Export",es:"Exportar"}],"x81":[{pt:"Importar",en:"Import",es:"Importar"}],"x82":[{pt:"Marcar regi&atilde;o",en:"Mark region",es:"Marcar regi&oacute;n"}],"x83":[{pt:"Cole os marcadores para import&aacute;-los",en:"Paste the bookmarks to import",es:"Pegue los marcadores para importarlos"}],"x84":[{pt:"Exportar SHP",en:"Export SHP",es:"Exportar SHP"}],"x85":[{pt:"Visualizador de WMS da INDE-Br",en:"INDE-Br WMS viewer",es:"Visualizador de WMS de INDE-Br"}],"x86":[{pt:"Prefer&ecirc;ncias",en:"Preferences",es:"Preferencias"}],"x87":[{pt:"Limites e localidades",en:"Boundaries and localities",es:"L&iacute;mites y localidades"}],"x88":[{pt:"Prefer&ecirc;ncias",en:"Preferences",es:"Preferencias"}],"x89":[{pt:"Editar cadastro",en:"Edit register",es:"Editar registro"}],"x90":[{pt:"Mapas cadastrados",en:"Registered maps",es:"Mapas registrados"}],"x91":[{pt:"Feche para parar. Desligue o tema para ver o efeito",en:"Close to stop. Turn off the theme to see the effect",es:"Cierre para parar. Apague el tema para ver el efecto"}],"x92":[{pt:"Escolha uma camada",en:"Select a layer",es:"Seleccione una capa"}],"x93":[{pt:"Localiza&ccedil;&atilde;o do usu&aacute;rio",en:"User location",es:"Ubicaci&oacute;n del usuario"}],"x94":[{pt:"Remove as figuras da tela",en:"Remove pictures from the screen",es:"Quita las figuras de la pantalla"}],"x95":[{pt:"trecho",en:"stretch",es:"tramo"}],"x96":[{pt:"atual",en:"current",es:"actual"}],"x97":[{pt:"total",en:"total",es:"total"}],"x98":[{pt:"per&iacute;metro",en:"perimeter",es:"per&iacute;metro"}],"x99":[{pt:"C&aacute;lculo n&atilde;o pode ser realizado. Falta carregar a API de geometria do GM",en:"The calculation cannot be performed. It is necessary to upload the GM geometry API",es:"El c&aacute;lculo no puede ser realizado. Falta cargar la API de geometr&iacute;a de GM"}],"x101":[{pt:"C&oacute;pia",en:"Copy",es:"Copia"}],"x102":[{pt:"Mapa de calor",en:"Heatmap",es:"Mapa de calor"}],"x103":[{pt:"Links para abrir o mapa",en:"Links to open the map",es:"Links para abrir el mapa "}],"x104":[{pt:"Mapa de agrupamentos",en:"Cluster map",es:"Mapa de agrupaci&oacute;n"}],"x105":[{pt:"Navega&ccedil;&atilde;o",en:"Browsing",es:"Navegaci&oacute;n"}],"mais":[{pt:"Mais...",en:"More...",es:"M&aacute;s..."}],"uploadArquivoGeo":[{pt:"Upload de arquivo geo",en:"Geo file upload",es:"Carga del archivo geo"}],"conexaoServicoGeo":[{pt:"Conex&atilde;o com servi&ccedil;os geo",en:"Connection to geo services",es:"Conexi&oacute;n con servicios geo"}],"saikuAba":[{pt:"SAIKU - OLAP (abrir em nova aba)",en:"SAIKU - OLAP (open in a new tab)",es:"SAIKU - OLAP (abrir en una nueva pesta&ntilde;a)"}],"saikuMapa":[{pt:"SAIKU - OLAP (abrir em janela interna)",en:"SAIKU - OLAP (open in an inner window)",es:"SAIKU - OLAP (abrir en una ventana interna)"}],"refMapaAtual":[{pt:"Mapa atual",en:"Current map",es:"Mapa actual"}],"refMapaDinamico":[{pt:"Mapa fixo",en:"WMS",es:"WMS"}],"naoPermitido":[{pt:"Operacao nao autorizada para esse usuario",en:"This user does not have permission to perform this action",es:"Operaci&oacute;n no autorizada para este usuario"}],"melhorcaminho":[{pt:"Melhor caminho (raster)",en:"Best way (raster)",es:"Mejor camino (raster)"}],"tolerancia":[{pt:"Toler&acirc;ncia de busca (em pixels)",en:"Search tolerance (in pixels)",es:"Tolerancia de b&uacute;squeda (en pixeles)"}],"naoInstalado":[{pt:"Ferramenta n&atilde;o dispon&iacute;vel nessa instala&ccedil;&atilde;o do i3Geo",en:"Tool not available on this i3Geo installation",es:"Herramienta no disponible en esta instalaci&oacute;n de i3geo"}],"variaEscala":[{pt:"Depend&ecirc;ncia da escala",en:"Scale dependency",es:"Dependencia de escala"}],"mostraTodosLegenda":[{pt:"Mostra tudo",en:"Show all",es:"Muestra todo"}],"mostraSoLegenda":[{pt:"Mostra s&oacute; a legenda",en:"Show legend only",es:"Muestra solo la leyenda"}],"removerDoMapa":[{pt:"Remove a camada do mapa?",en:"Do you want to remove the layer from map?",es:"&iquest;Quiere remover la capa del mapa?"}],"dicaBuscaRapida":[{pt:"Abre uma janela flutuante com op&ccedil;&otilde;es de busca de dados em servi&ccedil;os como o Google Maps ou nas camadas exsitentes no mapa",en:"Open a floating window with data search options on services like Google Maps or on the map layers",es:"Abre una ventana flotante con opciones de b&uacute;squeda de datos en servicios como Google Maps o en las capas del mapa"}],"refresh":[{pt:"Refaz a &aacute;rvore, reconstruindo os &iacute;cones e lista de camadas",en:"Redo the tree by rebuilding the icons and the layer list",es:"Rehacer el &aacute;rbol reconstruyendo los iconos y la lista de capas"}],"lixeira":[{pt:"Clique para ver a lista de camadas em uma janela flutuante com op&ccedil;&atilde;o para remover um ou mais camadas do mapa. Arraste uma camada sobre esse &iacute;cone para remov&ecirc;-la individualmente",en:"Click to see the layer list in a floating window with the option to remove one or more layers from the map. Drag a layer to this icon to remove it individually",es:"Haga clic para ver la lista de capas en una ventana flotante con la opci&oacute;n de eliminar una o m&aacute;s capas del mapa. Arrastre una capa sobre este icono para removerla individualmente"}],"filtraCam":[{pt:"Permite filtrar a lista de camadas mostradas na &aacute;rvore conforme propriedades espec&iacute;ficas de cada uma",en:"It allows you to filter the layer lists shown in the tree according to their specific properties",es:"Permite filtrar la lista de capas mostradas en el &aacute;rbol seg&uacute;n las propiedades espec&iacute;ficas de cada una"}],"legenda":[{pt:"Abre a legenda do mapa em uma janela flutuante",en:"Open the map legend in a floating window",es:"Abre la leyenda del mapa en una ventana flotante "}],"ferramMapa":[{pt:"Mostra a lista de ferramentas que atuam sobre o mapa",en:"It shows a list of tools that perform tasks on the map",es:"Muestra la lista de herramientas que act&uacute;an sobre el mapa"}],"ferramCamadas":[{pt:"Mostra a lista de ferramentas que atuam sobre camadas",en:"It shows a list of tools that perform tasks on the layers",es:"Muestra una lista de herramientas que act&uacute;an sobre las capas"}],"ajudaEditorOlSalva":[{pt:"Para editar os atributos, utilize a ferramenta de identifica&ccedil;&atilde;o. &Eacute; necess&aacute;rio que exista uma coluna com identificadores &uacute;nicos na tabela a ser editada e que essa coluna esteja vis&iacute;vel na ferramenta de identifica&ccedil;&atilde;o.",en:"Use the identification tool to edit the attributes. There must be a column with unique identifiers in the table that will be edited. This column should be visible in the identification tool.",es:"Para editar los atributos utilice la herramienta de identificaci&oacute;n. Es necesario que exista una columna con identificadores &uacute;nicos en la tabla a ser editada y que esa columna sea visible en la herramienta de identificaci&oacute;n."}],"mascara":[{pt:"M&aacute;scara",en:"Mask",es:"M&aacute;scara"}],"result":[{pt:"Resultado",en:"Result",es:"Resultado"}],"tativo":[{pt:"Tema ativo",en:"Active theme ",es:"Tema activo"}],"geosel":[{pt:"geometria(s) selecionada(s) encontrada(s)",en:"selected geometry found",es:"geometr&iacute;a(s) seleccionada(s) encontrada(s)"}],"listar":[{pt:"Listar",en:"Make a list",es:"Hacer una lista"}],"sdados":[{pt:"Salvar dados",en:"Save data",es:"Guardar datos"}],"incorpo":[{pt:"Incorporar ao mapa",en:"Add to map",es:"Agregar al mapa"}],"selum":[{pt:"Selecione uma ou mais geometrias",en:"Select one or more geometries",es:"Seleccione una o m&aacute;s geometr&iacute;as"}],"atrib":[{pt:"Atributos",en:"Attributes",es:"Atributos"}],"reg":[{pt:"Registros",en:"Records",es:"Registros"}],"adic":[{pt:"Adicionando",en:"Adding",es:"Agregando"}],"stema":[{pt:"Salvar no tema",en:"Save the theme",es:"Salvar el tema"}],"seluma":[{pt:"Selecione apenas uma figura",en:"Select one picture only",es:"Seleccione solo una figura"}],"salva":[{pt:"Salva",en:"Save",es:"Salva"}],"canc":[{pt:"Cancela",en:"Cancel",es:"Cancela"}],"dlinha":[{pt:"digitalizar linha",en:"digitalize line",es:"digitalizar l&iacute;nea"}],"dpol":[{pt:"digitalizar poligono",en:"digitalize polygon",es:"digitalizar pol&iacute;gono"}],"dponto":[{pt:"digitalizar ponto",en:"digitalize point",es:"digitalizar punto"}],"dtexto":[{pt:"digitalizar texto",en:"digitalize text",es:"digitalizar texto"}],"cortaf":[{pt:"corta figura",en:"cut picture",es:"cortar figura"}],"modf":[{pt:"modifica figura",en:"modify picture",es:"modificar figura"}],"listag":[{pt:"lista geometrias",en:"list geometries",es:"crear lista de geometr&iacute;as"}],"frente":[{pt:"trazer para frente",en:"send forward",es:"traer al frente"}],"studo":[{pt:"selecionar tudo",en:"select all",es:"seleccionar todo"}],"ustudo":[{pt:"limpar sele&ccedil;&atilde;o",en:"clear selection",es:"limpiar la selecci&oacute;n"}],"excsel":[{pt:"Remove os elementos selecionados",en:"Remove selected features",es:"Remueve los elementos seleccionados"}],"opcoes":[{pt:"Op&ccedil;&otilde;es",en:"Options",es:"Opciones"}],"meneditor1":[{pt:"Para excluir registros do banco de dados utilize a ferramenta de identifica&ccedil;&atilde;o",en:"Use the identification tool to delete records from the database",es:"Para excluir registros de la base de datos utilice la herramienta de identificaci&oacute;n"}],"meneditor2":[{pt:"Nenhum elemento gr&aacute;fico encontrado. Utilize as op&ccedil;&otilde;es de cria&ccedil;&atilde;o de geometrias.",en:"No graphic element found. Use the options to create geometries.",es:"Ning&uacute;n elemento gr&aacute;fico encontrado. Utilice las opciones de creaci&oacute;n de geometr&iacute;a."}],"meneditor3":[{pt:"Voc&ecirc; precisa fazer login para usar a op&ccedil;&atilde;o de salvar no banco de dados",en:"You must be logged in to use the save to database option",es:"Usted debe iniciar sesi&oacute;n para utilizar la opci&oacute;n de guardar en la base de datos"}],"meneditor4":[{pt:"Valores iguais ao original",en:"Values equal to the original ones",es:"Valores iguales al original"}],"meneditor5":[{pt:"&Eacute; necess&aacute;rio ter um c&oacute;digo para poder excluir",en:"It is necessary to have a password to exclude",es:"Es necesario tener una clave para excluir"}],"meneditor6":[{pt:"Ap&oacute;s escolher a medida da vari&aacute;vel, clique no mapa para escolher o limite geogr&aacute;fico.",en:"After choosing the variable measure, click on the map to choose the geographical boundary.",es:"Despu&eacute;s de escoger la medida de la variable, haga clic en el mapa para seleccionar el l&iacute;mite geogr&aacute;fico."}],"opsel":[{pt:"Opera&ccedil;&otilde;es sobre as figuras selecionadas",en:"Operations on the selected pictures",es:"Operaciones sobre las figuras seleccionadas"}],"capturar":[{pt:"Capturar elemento de um tema",en:"Capture a theme feature",es:"Capturar elemento de un tema"}],"salvexc":[{pt:"Salvar/excluir dados",en:"Save/exclude data",es:"Guardar/excluir datos"}],"edatrib":[{pt:"Editar atributos",en:"Edit Attributes",es:"Editar atributos"}],"camedit":[{pt:"Camadas edit&aacute;veis",en:"Editable layers",es:"Capas editables"}],"nenhum":[{pt:"Nenhum",en:"None",es:"Ninguno"}],"tipo":[{pt:"Tipo",en:"Type",es:"Tipo"}],"abreMapa":[{pt:"Abrir o mapa",en:"Open the map",es:"Abrir el mapa "}],"areaAprox":[{pt:"&Aacute;rea aproximada",en:"Approximate area",es:"&Aacute;rea aproximada"}],"distAprox":[{pt:"Dist&acirc;ncia aproximada",en:"Approximate distance",es:"Distancia aproximada"}],"trocaInterface":[{pt:"Troca de interface",en:"Interface change",es:"Cambio de interfaz"}],"wkt2layer":[{pt:"Converte WKT em camada",en:"Convert WKT into layer",es:"Transformar WKT en capa"}],"salvaDadosEditor":[{pt:"Os dados s&oacute; podem ser salvos em temas que permitem edi&ccedil;&atilde;o e que possuem coluna com auto incremento",en:"Data can only be saved in themes that allow edition and have columns with auto-increment",es:"Los datos solo pueden ser guardados en los temas que permiten edici&oacute;n y que poseen columnas con auto incremento"}],"novaaba":[{pt:"Abre em nova aba",en:"Open in a new tab",es:"Abre en una pesta&ntilde;a nueva"}],"novonome":[{pt:"Novo nome",en:"New name",es:"Nombre nuevo"}],"medir":[{pt:"Medir/Calcular",en:"Measure/Calculate",es:"Medir/Calcular"}],"tabela":[{pt:"Tabela",en:"Table",es:"Tabla"}],"ligaDesliga":[{pt:"Liga/Desliga",en:"Turn on/Turn off",es:"Encender/Apagar"}],"naoPublicado":[{pt:"n&atilde;o publicado",en:"not published",es:"no publicado"}],"operacoesMapaTema":[{pt:"Opera&ccedil;&otilde;es sobre o mapa ou tema",en:"Operations on the map or theme",es:"Operaciones sobre el mapa o tema"}],"descMenuAjuda":[{pt:"Documenta&ccedil;&atilde;o, redes sociais, tutoriais...",en:"Documentation, social networks, tutorials...",es:"Documentaci&oacute;n, redes sociales, tutoriales..."}],"descMenuAnalise":[{pt:"Dist&acirc;ncia, &aacute;rea, buffer, gr&aacute;ficos...",en:"Distance, area, buffer, graphics...",es:"Distancia, &aacute;rea, buffer, gr&aacute;ficos..."}],"descArquivos":[{pt:"Salvar e carregar mapfile, lista de mapas...",en:"Save and upload mapfile, map list...",es:"Guardar y cargar mapfile, lista de mapas..."}],"descOperacoesMapaTema":[{pt:"Tabela, legenda, imprimir, upload, navega&ccedil;&atilde;o...",en:"Table, legend, print, upload, browsing...",es:"Tabla, leyenda, impresi&oacute;n, carga, navegaci&oacute;n..."}],"descOgcWms":[{pt:"Adiciona camada via servi&ccedil;o WMS",en:"Add layer via WMS service",es:"A&ntilde;ade capa a trav&eacute;s de servicio WMS"}],"descLimLoc":[{pt:"Regi&otilde;es cadastradas no sistema de metadados estat&iacute;sticos",en:"Regions registered in the statistical metadata system",es:"Regiones registradas en el sistema de metadatos estad&iacute;sticos"}],"descMeta":[{pt:"Camadas baseadas no sistema de metadados estat&iacute;sticos",en:"Layers based on the statistical metadata system",es:"Capas basadas en el sistema de metadatos estad&iacute;sticos"}],"descMapas":[{pt:"Mapas prontos para uso, com camadas j&aacute; selecionadas",en:"Ready-to-use maps with layers already selected",es:"Mapas listos para su uso con capas seleccionadas"}],"descEstrelas":[{pt:"Lista de camadas classificadas conforme o n&uacute;mero de acessos",en:"List of layers classified according to the number of accesses",es:"Lista de capas clasificadas seg&uacute;n el n&uacute;mero de accesos"}],"descSistemas":[{pt:"Sistemas com op&ccedil;&otilde;es espec&iacute;ficas e que permitem adicionar camadas ao mapa",en:"Systems with specific options that allow you to add layers to the map",es:"Sistemas con opciones espec&iacute;ficas que permiten agregar capas al mapa"}],"descDir":[{pt:"Diret&oacute;rio de arquivos shapefile",en:"Shapefile directory",es:"Directorio de archivos shapefile"}],"localiza":[{pt:"Posi&ccedil;&atilde;o",en:"Position",es:"Posici&oacute;n"}],"volta":[{pt:"volta",en:"back",es:"volver"}],"continua":[{pt:"continua",en:"continue",es:"continuar"}],"avanca":[{pt:"avan&ccedil;a",en:"go ahead",es:"avanzar"}],"tipvazio":[{pt:"N&atilde;o existe nenhuma camada no mapa que permita mostrar etiquetas",en:"There is no layer on the map that allows you to display labels",es:"No existe ninguna capa en el mapa que permita mostrar etiquetas"}],"erroTpl":[{pt:"Erro ao carregar um template",en:"Error loading template",es:"Error al cargar una plantilla"}],"remove":[{pt:"Remove",en:"Remove",es:"Eliminar"}],"iconeFerramentas":[{pt:"Caixa de ferramentas",en:"Tool box",es:"Caja de herramientas"}],"iconeMapa":[{pt:"Camadas inclu&iacute;das",en:"Layers included",es:"Capas incluidas"}],"iconeCatalogo":[{pt:"Incluir mais camadas",en:"Add more layers",es:"Incluir m&aacute;s capas"}],"iconeLegenda":[{pt:"Legenda do mapa",en:"Map Legend",es:"Leyenda del mapa"}],"iconeBalao":[{pt:"Info resumida",en:"Summary information",es:"Informaci&oacute;n resumida"}],"iconeIdentifica":[{pt:"Info completa",en:"Comprehensive information",es:"Informaci&oacute;n completa"}],"indeOk":[{pt:"Cat&aacute;logo da INDE j&aacute; est&aacute; dispon&iacute;vel",en:"INDE catalog now available",es:"Cat&aacute;logo del INDE ya est&aacute; disponible"}],"deveLigada":[{pt:"A camada deve estar vis&iacute;vel",en:"The layer must be visible",es:"La capa debe ser visible"}],"balaoVazio":[{pt:"N&atilde;o foram encontrados dados nas camadas dispon&iacute;veis. Experimente utilizar o &iacute;cone de mais informa&ccedil;&otilde;es",en:"No data was found on the available layers. Try to use the more infomation icon",es:"No se encontraron datos en las capas disponibles. Intente utilizar el icono de m&aacute;s informaci&oacute;n"}],"umaLigada":[{pt:"Pelo menos uma camada deve estar ligada no mapa",en:"At least one layer must be associated with the map",es:"Al menos una capa debe estar conectada en el mapa"}],"precisaApiGM":[{pt:"Essa op&ccedil;&atilde;o necessita de uma API do Google Maps. Consulte o administrador do sistema. O c&oacute;digo da API deve constar no arquivo de configura&ccedil;&atilde;o do i3Geo.",en:"This option requires a Google Maps API. Ask your system administrator for advice. The API code should be in the i3Geo configuration file.",es:"Esta opci&oacute;n requiere una API de Google Maps. Consulte con el administrador del sistema. El c&oacute;digo de la API debe incluirse en el archivo de configuraci&oacute;n de i3Geo."}],"graticule":[{pt:"Grade de coordenadas (ativa e desativa)",en:"Coordinate grid (turn on and turn off)",es:"Cuadr&iacute;cula de coordenadas (activa y desactiva)"}],"versaoAntiga":[{pt:"Essa op&ccedil;&atilde;o pode n&atilde;o funcionar corretamente devido a vers&atilde;o do sistema (Mapserver)",en:"This option may not work properly because of the system version (Mapserver)",es:"Esta opci&oacute;n puede que no funcione correctamente debido a la versi&oacute;n del sistema (Mapserver)"}],"camadasDeFundo":[{pt:"Camadas de fundo",en:"Basemap",es:"Mapa base"}],"funcaojstip":[{pt:"Fun&ccedil;&atilde;o JS (para as etiquetas)",en:"",es:""}],"rangeScaleMsg":[{pt:"Vis&iacute;vel apenas em determinadas escalas",en:"",es:""}],"layerDesenho":[{pt:"Camada de desenho",en:"",es:""}],"confirma":[{pt:"Confirma",en:"",es:""}],"selCorta":[{pt:"Selecione primeiro um elemento para ser cortado",en:"",es:""}],"desPol":[{pt:"Desenhe um pol&iacute;gono",en:"",es:""}],"union":[{pt:"Uni&atilde;o",en:"",es:""}],"intersect":[{pt:"Intersec&ccedil;&atilde;o",en:"",es:""}],"symdif":[{pt:"Diferen&ccedil;a sim&eacute;trica",en:"",es:""}],"dif":[{pt:"Diferen&ccedil;a",en:"",es:""}],"shiftdel":[{pt:"Para apagar um v&eacute;rtice, pressione shift e clique",en:"",es:""}],"extent":[{pt:"Extens&atilde;o",en:"",es:""}],"cola":[{pt:"Cola",en:"",es:""}],"fillring":[{pt:"Preenche as ilhas",en:"",es:""}],"naoremovewkt":[{pt:"Fecha sem remover o desenho",en:"",es:""}],"ativasnaptol":[{pt:"Ativa toler&acirc;ncia (snap)",en:"",es:""}],"freehand":[{pt:"M&atilde;o livre",en:"",es:""}],"masc":[{pt:"M&aacute;scara",en:"",es:""}],"fullscreen":[{pt:"Tela cheia",en:"",es:""}],"esquemadecores":[{pt:"Esquema de cores",en:"Color schema",es:"Esquema de colores"}],"copiaCamada":[{pt:"C&oacute;pia da camada",en:"Layer copy",es:"Copia de la capa"}],"contorno":[{pt:"Contorno",en:"Outline",es:"Contorno"}],"copytomemory":[{pt:"Copiado para a mem&oacute;ria",en:"",es:""}],"nenhumaSel":[{pt:"N&atilde;o existe nenhuma camada com sele&ccedil;&atilde;o",en:"",es:""}]};
239 239 //
240 240 //compactados/idioma_compacto.js
241 241 if(typeof(i3GEO)==='undefined'){var i3GEO={}}i3GEO.idioma={MOSTRASELETOR:false,IDSELETOR:"",SELETORES:["pt","en","es"],DICIONARIO:g_traducao,define:function(codigo){i3GEO.idioma.ATUAL=codigo;i3GEO.util.insereCookie("i3geolingua",codigo)},retornaAtual:function(){return(i3GEO.idioma.ATUAL)},defineDicionario:function(obj){i3GEO.idioma.DICIONARIO=obj},alteraDicionario:function(id,novo){i3GEO.idioma.DICIONARIO[id][0][i3GEO.idioma.ATUAL]=novo},traduzir:function(id,dic){if(!dic){dic=i3GEO.idioma.DICIONARIO}if(dic[id]){var r,t=dic[id][0];r=t[i3GEO.idioma.ATUAL];if(r==""){r=t["pt"]}return r}else{return}},adicionaDicionario:function(novodic){for(var k in novodic){if(novodic.hasOwnProperty(k)){i3GEO.idioma.DICIONARIO[k]=novodic[k]}}},mostraDicionario:function(){var w,k=0;w=window.open();for(k in i3GEO.idioma.DICIONARIO){if(i3GEO.idioma.DICIONARIO.hasOwnProperty(k)){w.document.write(k+" = "+i3GEO.idioma.traduzir(k)+"<br>")}}},trocaIdioma:function(codigo){i3GEO.util.insereCookie("i3geolingua",codigo);window.location.reload(true)},listaIdiomas:function(){for(var k in i3GEO.idioma.DICIONARIO){if(i3GEO.idioma.DICIONARIO.hasOwnProperty(k)){return(i3GEO.util.listaChaves(i3GEO.idioma.DICIONARIO[k][0]))}}},mostraSeletor:function(){if(!i3GEO.idioma.MOSTRASELETOR){return}var ins,n,w,i,pos,novoel,temp;ins="";n=i3GEO.idioma.SELETORES.length;if($i("i3geo")&&i3GEO.parametros.w<700){w="width:10px;"}else{w=""}for(i=0;i<n;i++){temp=i3GEO.idioma.SELETORES[i];ins+='<img style="'+w+'padding:0 0px;top:-7px;padding-right:0px;border: 1px solid white;" src="'+i3GEO.configura.locaplic+"/imagens/branco.gif"+'" onclick="i3GEO.idioma.trocaIdioma(\''+temp+'\')" ';if(temp==="en"){ins+='alt="Ingles" id="uk" />'}if(temp==="pt"){ins+='alt="Portugues" id="brasil" />'}if(temp==="es"){ins+='alt="Espanhol" id="espanhol" />'}}if(i3GEO.idioma.IDSELETOR!==""&&$i(i3GEO.idioma.IDSELETOR)){$i(i3GEO.idioma.IDSELETOR).innerHTML=ins}else{pos=i3GEO.util.pegaPosicaoObjeto($i(i3GEO.Interface.IDCORPO));if(!$i("i3geoseletoridiomas")){novoel=document.createElement("div");novoel.innerHTML=ins;novoel.id="i3geoseletoridiomas";document.body.appendChild(novoel)}else{novoel=$i("i3geoseletoridiomas")}novoel.style.position="absolute";novoel.style.top=pos[1]-17+"px";novoel.style.left=pos[0]+"px";novoel.style.zIndex=5000}},OBJETOIDIOMA:"",objetoIdioma:function(dic){if(!dic){dic=i3GEO.idioma.DICIONARIO}var novo=[],k=0;for(k in dic){if(dic.hasOwnProperty(k)){novo[k]=i3GEO.idioma.traduzir(k,dic)}}return novo}};var $trad=function(id,dic){if(!dic||dic=="g_traducao"){return i3GEO.idioma.OBJETOIDIOMA[id]}else{return(i3GEO.idioma.traduzir(id,dic))}};(function(){if(document.cookie.indexOf("i3geolingua")===-1){var exdate=new Date();exdate.setDate(exdate.getDate()+10);var l="pt";var lang=navigator.language||navigator.userLanguage;lang=lang.split("-")[0];if(lang=="en"||lang=="es"||lang=="pt"){l=lang}document.cookie="i3geolingua="+l+"; expires="+exdate.toUTCString()+";path=/"}var c=i3GEO.util.pegaCookie("i3geolingua");if(c){i3GEO.idioma.define(c)}else{i3GEO.idioma.define("pt")}if(typeof('g_traducao')!=="undefined"){i3GEO.idioma.defineDicionario(g_traducao)}i3GEO.idioma.OBJETOIDIOMA=i3GEO.idioma.objetoIdioma(i3GEO.idioma.DICIONARIO);delete g_traducao;delete i3GEO.idioma.DICIONARIO})();
... ... @@ -256,7 +256,7 @@ if(typeof(i3GEO)===&#39;undefined&#39;){var i3GEO={}}i3GEO.desenho={layergrafico:null,es
256 256 if(typeof(i3GEO)==='undefined'){var i3GEO={}}var i3GEOtouchesPosMapa="";var i3geoOL;i3GEO.Interface={RESTRICTATT:true,LAYEROPACITY:"",INFOOVERLAY:"",ATUAL:"openlayers",IDCORPO:"openlayers",IDMAPA:"",STATUS:{atualizando:[],trocando:false,pan:false},LAYERSUTFGRID:{},aposAdicNovaCamada:function(camada){i3GEO.tema.ativaFerramentas(camada)},redesenha:function(){i3GEO.Interface[i3GEO.Interface.ATUAL].redesenha()},grade:function(){i3GEO.Interface[i3GEO.Interface.ATUAL].grade()},aplicaOpacidade:function(opacidade,layer){i3GEO.Interface[i3GEO.Interface.ATUAL].aplicaOpacidade(opacidade,layer)},atualizaMapa:function(){switch(i3GEO.Interface.ATUAL){case"openlayers":i3GEO.Interface.openlayers.atualizaMapa();break;default:i3GEO.Interface[i3GEO.Interface.ATUAL].redesenha()}},atualizaTema:function(retorno,tema){i3GEO.Interface[i3GEO.Interface.ATUAL].atualizaTema(retorno,tema)},ligaDesliga:function(obj){i3GEO.Interface[i3GEO.Interface.ATUAL].ligaDesliga(obj);if(obj.checked&&obj.value!=""){i3GEO.mapa.ativaTema(obj.value)}},adicionaKml:function(){if(i3GEO.Interface.ATUAL==="googlemaps"){i3GEO.Interface.googlemaps.adicionaKml("foo")}if(i3GEO.Interface.ATUAL==="openlayers"){i3GEO.Interface.openlayers.adicionaKml("foo")}},cria:function(w,h){i3GEO.Interface[i3GEO.Interface.ATUAL].cria(w,h)},inicia:function(w,h){var temp=window.location.href.split("?")[0],gadgets=i3GEO.gadgets;if($i("i3GEOcompartilhar")){i3GEO.social.compartilhar("i3GEOcompartilhar",temp,temp,"semtotal")}if($i("mst")){$i("mst").style.display="block"}i3GEO.navega.autoRedesenho.ativa();i3GEO.util.defineValor("i3geo_escalanum","value",i3GEO.parametros.mapscale);if((i3GEO.parametros.geoip==="nao")&&($i("ondeestou"))){$i("ondeestou").style.display="none"}i3GEO.Interface[i3GEO.Interface.ATUAL].inicia();i3GEO.desenho.criaLayerGrafico();if($i(i3GEO.login.divnomelogin)&&i3GEO.util.pegaCookie("i3geousuarionome")){$i(i3GEO.login.divnomelogin).innerHTML=i3GEO.util.pegaCookie("i3geousuarionome")}},alteraParametroLayers:function(parametro,valor){i3GEO.Interface[i3GEO.Interface.ATUAL].alteraParametroLayers(parametro,valor)},ativaBotoes:function(){},zoom2ext:function(mapexten){if(!mapexten){mapexten=i3GEO.parametros.mapexten}i3GEO.Interface[i3GEO.Interface.ATUAL].zoom2ext(mapexten)},zoomli:function(){i3GEO.Interface[i3GEO.Interface.ATUAL].zoomli()},getZoom:function(){return i3GEO.Interface[i3GEO.Interface.ATUAL].getZoom()},openlayers:{parametrosMap:{target:"openlayers",layers:[],controls:[],interactions:[],loadTilesWhileAnimating:true,loadTilesWhileInteracting:true},parametrosView:{},TILES:true,LAYERSADICIONAIS:[],googleLike:false,BALAOPROP:{url:"",templateModal:"",removeAoAdicionar:true,classeCadeado:"i3GEOiconeAberto",autoPan:false,autoPanAnimation:{duration:250,easing:ol.easing.inAndOut},minWidth:'200px',modal:false,simple:true,openTipNoData:true,baloes:[]},GRADE:"",FULLSCREEN:"",fullscreen:function(){if(i3GEO.Interface.openlayers.FULLSCREEN==""){i3GEO.Interface.openlayers.FULLSCREEN=new ol.control.FullScreen();i3GEO.Interface.openlayers.FULLSCREEN.setMap(i3geoOL);return}if(i3GEO.Interface.openlayers.FULLSCREEN.getMap()==null){i3GEO.Interface.openlayers.FULLSCREEN.setMap(i3geoOL)}else{i3GEO.Interface.openlayers.FULLSCREEN.setMap(null)}},grade:function(){if(i3GEO.Interface.openlayers.GRADE==""){i3GEO.Interface.openlayers.GRADE=new ol.Graticule({strokeStyle:new ol.style.Stroke({color:'rgba(105,105,105,0.9)',width:2,lineDash:[0.5,4]}),showLabels:true,targetSize:200});i3GEO.Interface.openlayers.GRADE.setMap(i3geoOL);return}if(i3GEO.Interface.openlayers.GRADE.getMap()==null){i3GEO.Interface.openlayers.GRADE.setMap(i3geoOL)}else{i3GEO.Interface.openlayers.GRADE.setMap(null)}},zoomli:function(){if(DetectaMobile("DetectMobileLong")){i3GEO.janela.tempoMsg($trad("x70"))}else{i3GEO.janela.tempoMsg($trad("zoomliShift"))}},getZoom:function(){return i3geoOL.getZoom()},balao:function(texto,textCopy,x,y,botaoProp,nwkts){var hash={"x":x,"y":y,"xtxt":$.number(x,3,$trad("dec"),$trad("mil")),"ytxt":$.number(y,3,$trad("dec"),$trad("mil")),"resolution":i3GEO.configura.ferramentas.identifica.resolution,"tolerancia":$trad("tolerancia")};if(botaoProp===undefined){botaoProp=true}hash.texto=texto;var createinfotooltip=function(){var icone,painel,b,cabecalho,conteudo,removeBaloes,html,p=i3GEO.Interface.openlayers.BALAOPROP,removeBaloes=function(removeWkt){var nd,t,n=i3GEO.Interface.openlayers.BALAOPROP.baloes.length,i;for(i=0;i<n;i++){t=i3GEO.Interface.openlayers.BALAOPROP.baloes[i];if(t.get("origem")=="balao"){i3geoOL.removeOverlay(t)}}i3GEO.Interface.openlayers.BALAOPROP.baloes=[];if(removeWkt!==false&&i3GEO.desenho.layergrafico){i3GEO.desenho[i3GEO.Interface.ATUAL].removePins()}else if(i3GEO.desenho.layergrafico){var features,n,f,i;features=i3GEO.desenho.layergrafico.getSource().getFeatures();n=features.length;for(i=0;i<n;i++){if(features[i].get("origem")=="pin"){features[i].set("origem","identifica")}}}return false};if(p.removeAoAdicionar===true){removeBaloes(true)}if(i3GEO.eventos.cliquePerm.ativo===false){return}hash.minWidth=p.minWidth;painel=document.createElement("div");hash.lock_open="hidden";hash.lock="hidden";if(p.removeAoAdicionar===true){hash.lock_open=""}else{hash.lock=""}hash.botaoProp="hidden";if(botaoProp===true){hash.botaoProp=""}hash.wkt="hidden";if(nwkts&&nwkts>0){hash.wkt=""}painel=document.createElement("div");painel.innerHTML=Mustache.render(i3GEO.template.infotooltip,hash);$(painel).find("[data-info='close']").on("click",removeBaloes);$(painel).find("[data-info='wkt']").on("click",function(){removeBaloes(false)});$(painel).find("[data-info='info']").on("click",function(){i3GEO.mapa.dialogo.cliqueIdentificaDefault(x,y,"");return false});$(painel).find("[data-info='settings']").on("click",function(){i3GEO.janela.prompt($trad("tolerancia"),function(){i3GEO.configura.ferramentas.identifica.resolution=$i("i3GEOjanelaprompt").value},i3GEO.configura.ferramentas.identifica.resolution);return false});$(painel).find("[data-info='lockopen']").on("click",function(e){var p=i3GEO.Interface.openlayers.BALAOPROP;$(e.target).addClass("hidden");$(e.target.parentNode).find("[data-info='lock']").removeClass("hidden");p.removeAoAdicionar=false;return false});$(painel).find("[data-info='lock']").on("click",function(e){var p=i3GEO.Interface.openlayers.BALAOPROP;$(e.target).addClass("hidden");$(e.target.parentNode).find("[data-info='lockopen']").removeClass("hidden");p.removeAoAdicionar=true;return false});$(painel).find('.dropdown-toggle').dropdown();$(painel).find("[data-info='copy']").on("click",function(e){i3GEO.util.copyToClipboard(textCopy.join("\n"))});b=new ol.Overlay({element:painel,stopEvent:true,autoPan:false,autoPanAnimation:p.autoPanAnimation});b.setProperties({origem:"balao"});p.baloes.push(b);i3geoOL.addOverlay(b);b.setPosition(i3GEO.util.projGeo2OSM(new ol.geom.Point([x,y])).getCoordinates());if(p.autoPan==true){i3GEO.Interface.openlayers.pan2ponto(x,y,p.autoPanAnimation)}else{i3GEO.Interface.openlayers.pan2ponto(x,y,false)}};if(i3GEO.template.infotooltip==false){$.get(i3GEO.configura.locaplic+"/js/templates/infotooltip.html").done(function(r){i3GEO.template.infotooltip=r;createinfotooltip()})}else{createinfotooltip()}},redesenha:function(){var openlayers=i3GEO.Interface.openlayers;openlayers.criaLayers();openlayers.ordenaLayers();openlayers.recalcPar();i3GEO.janela.fechaAguarde()},fundoDefault:function(){var eng,oce,ims,wsm,tms,bra;eng=new ol.layer.Tile({title:"ESRI National Geographic",visible:true,isBaseLayer:true,name:"eng",source:new ol.source.TileArcGISRest({url:"http://server.arcgisonline.com/ArcGIS/rest/services/NatGeo_World_Map/MapServer",attributions:[new ol.Attribution({html:'Tiles &copy; <a href="http://server.arcgisonline.com/ArcGIS/rest/services/NatGeo_World_Map/MapServer">ArcGIS</a>'})]})});oce=new ol.layer.Tile({title:"ESRI Ocean Basemap",visible:false,isBaseLayer:true,name:"oce",source:new ol.source.TileArcGISRest({url:"http://server.arcgisonline.com/ArcGIS/rest/services/Ocean_Basemap/MapServer",attributions:[new ol.Attribution({html:'Tiles &copy; <a href="http://server.arcgisonline.com/ArcGIS/rest/services/Ocean_Basemap/MapServer">ArcGIS</a>'})]})});ims=new ol.layer.Tile({title:"ESRI Imagery World 2D",visible:false,isBaseLayer:true,name:"ims",source:new ol.source.TileArcGISRest({url:"http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_Imagery_World_2D/MapServer",attributions:[new ol.Attribution({html:'Tiles &copy; <a href="http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_Imagery_World_2D/MapServer">ArcGIS</a>'})]})});wsm=new ol.layer.Tile({title:"ESRI World Street Map",visible:false,isBaseLayer:true,name:"wsm",source:new ol.source.TileArcGISRest({url:"http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer",attributions:[new ol.Attribution({html:'Tiles &copy; <a href="http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer">ArcGIS</a>'})]})});bra=new ol.layer.Tile({title:"Base carto MMA",visible:false,isBaseLayer:true,name:"bra",source:new ol.source.TileWMS({url:"http://mapas.mma.gov.br/cgi-bin/mapserv?map=/opt/www/html/webservices/baseraster.map&",params:{'layers':"baseraster",'srs':"EPSG:4326",'format':"image/png"}})});tms=new ol.layer.Tile({title:"OSGEO",visible:false,isBaseLayer:true,name:"tms",source:new ol.source.TileWMS({url:"http://tilecache.osgeo.org/wms-c/Basic.py/",params:{'layers':"basic",'type':"png",'srs':"EPSG:4326",'format':"image/png",'VERSION':'1.1.1'},attributions:[new ol.Attribution({html:'&copy; <a href="http://www.tilecache.org/">2006-2010, TileCache Contributors</a>'})]})});i3GEO.Interface.openlayers.LAYERSADICIONAIS=[eng,oce,ims,wsm,tms,bra]},cria:function(w,h){var f,ins,i=$i(i3GEO.Interface.IDCORPO);if(i){if(!i.style.height){i.style.width="100vw";i.style.height="100vh"}f=$i("openlayers");if(!f){ins='<div id=openlayers style="display: block;position:relative;top: 0px; left: 0px;width:100%;height:100%;text-align:left;"></div>';i.innerHTML=ins;f=$i("openlayers")}}i3GEO.Interface.IDMAPA="openlayers";i3GEO.Interface.openlayers.parametrosMap.target="openlayers";if(i3GEO.Interface.openlayers.googleLike===false){i3GEO.Interface.openlayers.parametrosView.projection="EPSG:4326"}else{i3GEO.Interface.openlayers.parametrosView.projection="EPSG:3857"}i3GEO.Interface.openlayers.parametrosMap.view=new ol.View(i3GEO.Interface.openlayers.parametrosView);i3geoOL=new ol.Map(i3GEO.Interface.openlayers.parametrosMap);ol.layer.Layer.prototype.setVisibility=function(v){this.setVisible(v)};ol.layer.Layer.prototype.getVisibility=function(v){this.getVisible(v)};i3geoOL.panTo=function(x,y,anim){if(anim){this.getView().animate({center:[x,y],duration:anim.duration,easing:anim.easing})}else{this.getView().setCenter([x,y])}};i3geoOL.getLayersByName=function(nome){var res=[],layers=this.getLayers(),n=layers.getLength(),i;for(i=0;i<n;i++){if(layers.item(i).get("name")&&layers.item(i).get("name")===nome){res.push(layers.item(i))}}return res};i3geoOL.addLayers=function(lista){var n=lista.length,i,lan,l;for(i=0;i<n;i++){if(lista[i].get!=undefined){lan=lista[i].get("name");if(lan){l=this.getLayersByName(lan);if(l.length===0){this.addLayer(lista[i])}}}}};i3geoOL.getLayersBase=function(){return i3geoOL.getLayersBy("isBaseLayer",true)};i3geoOL.getLayerBase=function(layername){var baseLayers,n,i;baseLayers=i3geoOL.getLayersBase();n=baseLayers.length;for(i=0;i<n;i++){if(layername&&baseLayers[i].getProperties().name==layername){return baseLayers[i]}if(!layername&&baseLayers[i].getVisible()==true){return baseLayers[i]}}return false};i3geoOL.getLayersBy=function(chave,valor){var res=[],layers=this.getLayers(),n=layers.getLength(),i;for(i=0;i<n;i++){if(layers.item(i).get(chave)&&layers.item(i).get(chave)===valor){res.push(layers.item(i))}}return res};i3geoOL.getAllLayers=function(){var res=[],layers=this.getLayers(),n=layers.getLength(),i;for(i=0;i<n;i++){res.push(layers.item(i))}return res};i3geoOL.getLayersGr=function(){var layers=i3geoOL.getLayersBy("layerGr",true);if(i3GEO.desenho.layergrafico){layers.unshift(i3GEO.desenho.layergrafico)}return layers};i3geoOL.getLayersGrBy=function(chave,valor){var res=[],layers=this.getLayersGr(),n=layers.length,i;for(i=0;i<n;i++){if(layers[i].get(chave)&&layers[i].get(chave)===valor){res.push(layers[i])}}return res};i3geoOL.getControlsBy=function(chave,valor){var res=[],controles=this.getControls(),n=controles.getLength(),i;for(i=0;i<n;i++){if(controles.item(i).get(chave)&&controles.item(i).get(chave)===valor){res.push(controles.item(i))}}return res};i3geoOL.getControlByType=function(type){var a=false;i3geoOL.getControls().forEach(function(c){if(c instanceof ol.control[type]==true){a=c}});return a},i3geoOL.getCenter=function(){var c=this.getView().getCenter();return{"lon":c[0],"lat":c[1]}};i3geoOL.getZoom=function(){var c=this.getView().getZoom();return c};i3geoOL.getExtent=function(){var e=this.getView().calculateExtent(this.getSize());return{toBBOX:function(){return e.join(",")}}};i3geoOL.getScale=function(){var resolution,units,dpi,mpu,scale;resolution=this.getView().getResolution();units=this.getView().getProjection().getUnits();dpi=25.4/0.28;mpu=ol.proj.METERS_PER_UNIT[units];scale=resolution*mpu*39.37*dpi;return scale};i3geoOL.zoomToScale=function(escala){var resolution,units,dpi,mpu;units=this.getView().getProjection().getUnits();dpi=25.4/0.28;mpu=ol.proj.METERS_PER_UNIT[units];resolution=escala/(mpu*39.37*dpi);this.getView().setResolution(resolution)};i3geoOL.zoomToExtent=function(mapext){this.getView().fit(mapext,this.getSize())}},inicia:function(){if(i3GEO.Interface.openlayers.googleLike===true&&i3geoOL.getView().getProjection().getCode()!="EPSG:3857"){alert("Alerta! Projecao diferente da esperada. Veja i3geo/guia_de_migracao.txt")}var montaMapa=function(){var openlayers=i3GEO.Interface.openlayers;i3geoOL.updateSize();var temp=i3geoOL.getControlByType("ScaleLine");if(temp&&temp.element){temp.element.onclick=function(e){if(temp.getUnits()=="metric"){temp.setUnits("nautical")}else{temp.setUnits("metric")}temp.changed()}}openlayers.registraEventos();openlayers.zoom2ext(i3GEO.parametros.mapexten);$i("openlayers").getElementsByClassName("ol-overlaycontainer-stopevent")[0].style.position="unset";openlayers.criaLayers()};if(i3GEO.arvoreDeCamadas.ATIVATEMA===""){i3GEO.arvoreDeCamadas.ATIVATEMA="i3GEO.Interface.ligaDesliga(this);i3GEO.eventos.executaEventos(i3GEO.eventos.ATUALIZAARVORECAMADAS);"}montaMapa();i3GEO.coordenadas.ativaEventos();i3GEO.idioma.mostraSeletor();if(i3GEO.parametros.kmlurl!==""){i3GEO.Interface.openlayers.adicionaKml(true,i3GEO.parametros.kmlurl)}if(jQuery.isFunction(i3GEO.finalizaAPI)){i3GEO.finalizaAPI.call()}},aplicaOpacidade:function(opacidade,layer){if(opacidade>1){opacidade=opacidade/100}if(layer){i3geoOL.getLayersByName(layer)[0].setOpacity(opacidade*1);return}else{layer=""}var nlayers=i3GEO.arvoreDeCamadas.CAMADAS.length,l,i,camada;if(!layer){layer=""}for(i=nlayers-1;i>=0;i--){camada=i3GEO.arvoreDeCamadas.CAMADAS[i];l=i3geoOL.getLayersByName(camada.name)[0];if(l&&l.get("isBaseLayer")===false){if(layer==""||layer==camada.name){l.setOpacity(opacidade)}}}},adicionaListaKml:function(){var monta=function(retorno){var raiz,nraiz,i;raiz=retorno.data.canais;nraiz=raiz.length;for(i=0;i<nraiz;i++){i3GEO.Interface.openlayers.adicionaKml(false,raiz[i].link,raiz[i].title,false)}};i3GEO.php.listaRSSwsARRAY(monta,"KML")},adicionaKml:function(pan,url,titulo,ativo){var ngeoxml,i;if(!$i("arvoreCamadasKml")){i3GEO.Interface.openlayers.criaArvoreKML()}ngeoxml="geoXml_"+i3GEO.mapa.GEOXML.length;if(arguments.length===1){i=$i("i3geo_urlkml");if(i){url=i.value}else{url=""}titulo=ngeoxml;ativo=true}if(arguments.length===2){titulo=ngeoxml;ativo=true}if(url===""){return}i3GEO.mapa.GEOXML.push(ngeoxml);i3GEO.Interface.openlayers.adicionaNoArvoreKml(url,titulo,ativo,ngeoxml)},criaArvoreKML:function(){var arvore,a,root,titulo,d,node;arvore=$i("arvoreCamadasKml");if(!arvore){d=document.createElement("div");d.id="arvoreCamadasKml";d.style.top="40px";a=$i(i3GEO.arvoreDeCamadas.IDHTML);if(a){a.parentNode.appendChild(d)}else{return}}i3GEO.Interface.openlayers.ARVORE=new YAHOO.widget.TreeView("arvoreCamadasKml");root=i3GEO.Interface.openlayers.ARVORE.getRoot();titulo="<table><tr><td><b>Kml</b></td></tr></table>";d={html:titulo,idkml:"raiz"};node=new YAHOO.widget.HTMLNode(d,root,true,true);node.enableHighlight=false},adicionaNoArvoreKml:function(url,nomeOverlay,ativo,id){var node,d,nodekml;if(!$i("arvoreCamadasKml")){i3GEO.Interface.openlayers.criaArvoreKML()}if(arguments.length===2){ativo=true;id=nomeOverlay}if(arguments.length===2){id=nomeOverlay}node=i3GEO.Interface.openlayers.ARVORE.getNodeByProperty("idkml","raiz");html="<input onclick='i3GEO.Interface.openlayers.ativaDesativaCamadaKml(this,\""+url+"\")' class=inputsb style='cursor:pointer;' type='checkbox' value='"+id+"'";if(ativo===true){html+=" checked "}html+="/>";if(navm){estilo="cursor:default;vertical-align:35%;padding-top:0px;"}else{estilo="cursor:default;vertical-align:top;"}html+="&nbsp;<span style='"+estilo+"'>"+nomeOverlay+"</span>";d={html:html};nodekml=new YAHOO.widget.HTMLNode(d,node,true,true);nodekml.enableHighlight=false;nodekml.isleaf=true;i3GEO.Interface.openlayers.ARVORE.draw();i3GEO.Interface.openlayers.ARVORE.collapseAll();node.expand();if(ativo===true){i3GEO.Interface.openlayers.insereLayerKml(id,url)}},insereLayerKml:function(id,url){var l,temp;url=i3GEO.configura.locaplic+"/classesphp/proxy.php?url="+url;l=new ol.layer.Vector({title:url,name:id,isBaseLayer:false,source:new ol.source.Vector({url:url,format:new ol.format.KML({extractStyles:true}),tipoServico:"kml"})});i3geoOL.addLayer(l);temp=function(pixel){var feature,chaves,c,i=0,html="",prop,g;feature=i3geoOL.forEachFeatureAtPixel(pixel,function(feature,layer){return feature});if(feature){i3GEO.Interface.openlayers.BALAOPROP.removeAoAdicionar=false;i3GEO.Interface.openlayers.BALAOPROP.classeCadeado="i3GEOiconeFechado";chaves=feature.getKeys();prop=feature.getProperties();c=chaves.length;for(i=0;i<c;i++){if(chaves[i]!="geometry"&&chaves[i]!="styleUrl"){html+=chaves[i]+": "+prop[chaves[i]]}}g=feature.getGeometry().getCoordinates();i3GEO.Interface.openlayers.balao(html,"",g[0],g[1],"kml")}};i3geoOL.on('click',function(evt){evt.stopPropagation();evt.preventDefault();if(evt.dragging){return}temp(i3geoOL.getEventPixel(evt.originalEvent))})},ativaDesativaCamadaKml:function(obj,url){if(!obj.checked){i3geoOL.getLayersByName(obj.value)[0].setVisibility(false)}else{if(!(i3geoOL.getLayersByName(obj.value)[0])){i3GEO.Interface.openlayers.insereLayerKml(obj.value,url)}else{i3geoOL.getLayersByName(obj.value)[0].setVisibility(true)}}},criaLayers:function(){var matrixIds,resolutions,size,z,projectionExtent,source,configura=i3GEO.configura,url,nlayers=i3GEO.arvoreDeCamadas.CAMADAS.length,layer,camada,urllayer,opcoes,i,temp;temp=$i("i3GEOprogressoDiv");if(temp){i3GEO.Interface.STATUS.atualizando=[];temp.style.display="none"}if(i3GEO.Interface.openlayers.googleLike===true){url=configura.locaplic+"/classesphp/mapa_googlemaps.php?";projectionExtent=ol.proj.get('EPSG:3857').getExtent()}else{url=configura.locaplic+"/classesphp/mapa_openlayers.php?";projectionExtent=ol.proj.get('EPSG:4326').getExtent()}url+="TIPOIMAGEM="+configura.tipoimagem;size=ol.extent.getWidth(projectionExtent)/256;resolutions=new Array(40);matrixIds=new Array(40);for(z=0;z<40;++z){resolutions[z]=size/Math.pow(2,z);matrixIds[z]=z}$i("openlayers").style.backgroundColor="rgb("+i3GEO.parametros.cordefundo+")";i3geoOL.addLayers(i3GEO.Interface.openlayers.LAYERSADICIONAIS);opcoes={gutter:0,isBaseLayer:false,opacity:1,visible:false,singleTile:!(i3GEO.Interface.openlayers.TILES),tilePixelRatio:1,preload:0,projection:'EPSG:4326'};if(i3GEO.Interface.openlayers.googleLike===true){opcoes.projection='EPSG:3857'}for(i=nlayers-1;i>=0;i--){layer="";camada=i3GEO.arvoreDeCamadas.CAMADAS[i];opcoes.singleTile=!(i3GEO.Interface.openlayers.TILES);if(camada.transparency!=""){opcoes.opacity=camada.transparency/100}if(i3geoOL.getLayersByName(camada.name).length===0&&camada.name.toLowerCase()!="copyright"){if(camada.plugini3geo&&camada.plugini3geo!=""&&camada.plugini3geo.parametros!=undefined){i3GEO.pluginI3geo.inicia(camada);continue}else{try{temp=camada.transitioneffect==="nao"?opcoes.preload=0:opcoes.preload=Infinity;if(i3GEO.Interface.openlayers.googleLike===false&&camada.connectiontype===7&&camada.wmsurl!==""&&camada.usasld.toLowerCase()!="sim"){urllayer=camada.wmsurl;if(camada.wmstile==10){source=new ol.source.WMTS({url:urllayer,matrixSet:opcoes.projection,format:'image/png',projection:opcoes.projection,tileGrid:new ol.tilegrid.WMTS({origin:ol.extent.getTopLeft(projectionExtent),resolutions:resolutions,matrixIds:matrixIds}),wrapX:true});source.set("tipoServico","WMTS");opcoes.singleTile=false}else{source=new ol.source.TileWMS({url:urllayer,params:{'VERSION':'1.1.0'},projection:camada.wmssrs});source.set("tipoServico","ImageWMS");opcoes.singleTile=false}opcoes.title=camada.tema;opcoes.name=camada.name;opcoes.isBaseLayer=false;opcoes.visible=true}else{if(i3GEO.Interface.openlayers.TILES==false){opcoes.singleTile=true}else{if(camada.tiles==="nao"||camada.escondido.toLowerCase()==="sim"||camada.connectiontype===10||(camada.type===0&&camada.cache==="nao")||camada.type===8){opcoes.singleTile=true}else{temp=camada.type===3?opcoes.singleTile=false:opcoes.singleTile=!(i3GEO.Interface.openlayers.TILES)}if(camada.tiles==="nao"){opcoes.singleTile=true}if(camada.tiles==="sim"||camada.cache==="sim"||(camada.cortepixels&&camada.cortepixels>0)){opcoes.singleTile=false}}if(camada.cache){urllayer=url+"&cache="+camada.cache}else{urllayer=url+"&cache=nao"}urllayer+="&layer="+camada.name;if(camada.utfgrid=="sim"&&i3GEO.parametros.w>500){if(i3GEO.Interface.openlayers.googleLike===false){source=new ol.source.TileUTFGrid({projection:opcoes.projection,wrapX:true,tileJSON:{"tilejson":"2.1.0","scheme":"xyz","grids":[urllayer+"&FORMAT=utfgrid&tms=&TileCol={x}&TileRow={y}&TileMatrix={z}"]}})}else{source=new ol.source.TileUTFGrid({projection:opcoes.projection,wrapX:true,tileJSON:{"tilejson":"2.1.0","scheme":"xyz","grids":[urllayer+"&FORMAT=utfgrid&tms=&X={x}&Y={y}&Z={z}"]}})}source.set("tipoServico","WMTS");opcoes.singleTile=false;opcoes.title="";opcoes.name=camada.name+"_utfgrid";opcoes.source=source;opcoes.isBaseLayer=false;opcoes.visible=true;source.set("name",camada.name+"_utfgrid");var layerutfgrid=new ol.layer.Tile(opcoes);camada.status==0?layerutfgrid.setVisible(false):layerutfgrid.setVisible(true);i3GEO.Interface.LAYERSUTFGRID[camada.name+"_utfgrid"]=layerutfgrid;if(i3GEO.Interface.INFOOVERLAY==""){$("#"+i3GEO.Interface.IDMAPA).after(i3GEO.template.utfGridInfo);i3GEO.Interface.INFOOVERLAY=new ol.Overlay({element:$i("i3GEOoverlayInfo"),offset:[3,-3],stopEvent:true,positioning:'bottom-left'});i3GEO.Interface.INFOOVERLAY.setProperties({origem:"infoOverlay"});i3geoOL.addOverlay(i3GEO.Interface.INFOOVERLAY)}i3geoOL.addLayer(layerutfgrid)}if(opcoes.singleTile===true){source=new ol.source.ImageWMS({url:urllayer,params:{'LAYERS':camada.name,'VERSION':'1.1.0'},projection:opcoes.projection,ratio:1});source.set("tipoServico","ImageWMS")}else{if(i3GEO.Interface.openlayers.googleLike===false){source=new ol.source.WMTS({url:urllayer+"&WIDTH=256&HEIGHT=256",matrixSet:opcoes.projection,format:'image/png',projection:opcoes.projection,tileGrid:new ol.tilegrid.WMTS({origin:ol.extent.getTopLeft(projectionExtent),resolutions:resolutions,matrixIds:matrixIds,tileSize:[256,256]}),wrapX:true});source.set("tipoServico","WMTS")}else{source=new ol.source.XYZ({url:urllayer+"&X={x}&Y={y}&Z={z}",matrixSet:opcoes.projection,format:'image/png',projection:opcoes.projection,wrapX:true});source.set("tipoServico","WMTS")}}opcoes.title=camada.tema;opcoes.name=camada.name}if(camada.link_tema!=""&&i3GEO.Interface.RESTRICTATT==false){source.setAttributions([new ol.Attribution({html:'<li><a href="'+camada.link_tema+'">'+camada.tema+'</a></li>'})])}source.set("name",camada.name);source.set("parametrosUrl",{par:""});opcoes.source=source;opcoes.isBaseLayer=false;opcoes.visible=true;if($i("i3GEOprogressoCamadas")){source.on('tileloadstart',function(event){i3GEO.Interface.openlayers.loadStartLayer(source.get("name"))});source.on('tileloadend',function(event){i3GEO.Interface.openlayers.loadStopLayer(source.get("name"))});source.on('tileloaderror',function(event){i3GEO.Interface.openlayers.loadStopLayer(source.get("name"))})}if(opcoes.singleTile===true){layer=new ol.layer.Image(opcoes)}else{layer=new ol.layer.Tile(opcoes)}}catch(e){}}if(layer&&layer!=""){if(camada.escondido.toLowerCase()==="sim"){layer.preload=0}if(camada.type>1&&i3GEO.Interface.LAYEROPACITY!=""){layer.setOpacity(i3GEO.Interface.LAYEROPACITY)}i3geoOL.addLayer(layer);i3GEO.Interface.aposAdicNovaCamada(camada)}}else{layer=i3geoOL.getLayersByName(camada.name)[0]}if(layer&&layer!=""){temp=camada.status==0?layer.setVisible(false):layer.setVisible(true)}}if(i3GEO.parametros.copyright!=""&&!$i("i3GEOcopyright")){temp=document.createElement("div");temp.id="i3GEOcopyright";temp.innerHTML="<p class=paragrafo >"+i3GEO.parametros.copyright+"</p>";if($i(i3GEO.Interface.IDMAPA)){$i(i3GEO.Interface.IDMAPA).appendChild(temp)}}else if(i3GEO.parametros.copyright!=""&&$i("i3GEOcopyright")){$i("i3GEOcopyright").innerHTML=i3GEO.parametros.copyright}},sobeLayersGraficos:function(){},inverteModoTile:function(){if(i3GEO.Interface.openlayers.TILES===true){i3GEO.Interface.openlayers.TILES=false}else{i3GEO.Interface.openlayers.TILES=true}i3GEO.Interface.openlayers.removeTodosOsLayers();i3GEO.Interface.openlayers.criaLayers()},removeTodosOsLayers:function(){var nlayers=i3GEO.arvoreDeCamadas.CAMADAS.length,layer,i,camada;for(i=nlayers-1;i>=0;i--){camada=i3GEO.arvoreDeCamadas.CAMADAS[i];layer=i3geoOL.getLayersByName(camada.name)[0];if(layer){i3geoOL.removeLayer(layer,false);i3GEO.pluginI3geo.removeCamada(camada.name)}}},alteraParametroLayers:function(parametro,valor){var layer,layers=i3GEO.arvoreDeCamadas.CAMADAS,nlayers=layers.length,i,param,source,k,url="",n,j;for(i=0;i<nlayers;i+=1){layer=i3geoOL.getLayersByName(layers[i].name)[0];if(layer&&layer!=undefined&&layer.get("isBaseLayer")===false){url="";source=layer.getSource();param=source.getProperties().parametrosUrl;param[parametro]=valor;chaves=i3GEO.util.listaTodasChaves(param);n=chaves.length;for(j=0;j<n;j++){k=chaves[j];if(param[k]!=""&&k!="par"){url+="&"+k+"="+param[k]}}param.par=url;source.set("parametrosUrl",param)}}},loadStartLayer:function(name){var p=$i("i3GEOprogressoCamadas");var n100=i3geoOL.getLayers().getLength()-i3GEO.Interface.openlayers.LAYERSADICIONAIS.length;if(p){i3GEO.Interface.STATUS.atualizando.push(" ");var x=i3GEO.Interface.STATUS.atualizando.length;p.style.width=((x*100)/n100)+"%"}},loadStopLayer:function(name){var p=$i("i3GEOprogressoCamadas");if(p){i3GEO.Interface.STATUS.atualizando.pop();if(i3GEO.Interface.STATUS.atualizando.length==0){p.style.width="0%"}}},ordenaLayers:function(){var ordem=i3GEO.arvoreDeCamadas.CAMADAS,nordem=ordem.length,layer,layers,i;layers=i3geoOL.getLayers();for(i=nordem-1;i>=0;i--){layer=i3geoOL.getLayersByName(ordem[i].name);layer=layer[0];if(layer){layers.remove(layer);layers.push(layer)}}},ligaDesliga:function(obj){var layers=i3geoOL.getLayersByName(obj.value),desligar="",ligar="",b;if(layers.length>0){layers[0].setVisibility(obj.checked);if(obj.checked===true){i3GEO.pluginI3geo.ligaCamada(obj.value)}else{i3GEO.pluginI3geo.desligaCamada(obj.value)}}if(obj.checked){ligar=obj.value;i3GEO.arvoreDeCamadas.alteraPropCamadas("status","2",obj.value);if(i3GEO.Interface.LAYERSUTFGRID[obj.value+"_utfgrid"]){i3GEO.arvoreDeCamadas.alteraPropCamadas("status","2",obj.value+"_utfgrid");i3GEO.Interface.LAYERSUTFGRID[obj.value+"_utfgrid"].setVisibility(true)}}else{desligar=obj.value;i3GEO.arvoreDeCamadas.alteraPropCamadas("status","0",obj.value);if(i3GEO.Interface.LAYERSUTFGRID[obj.value+"_utfgrid"]){i3GEO.arvoreDeCamadas.alteraPropCamadas("status","0",obj.value+"_utfgrid");i3GEO.Interface.LAYERSUTFGRID[obj.value+"_utfgrid"].setVisibility(false)}}i3GEO.php.ligatemas(i3GEO.legenda.atualiza,desligar,ligar)},ativaFundo:function(nome,obj){var baseLayers,n,i,t,ck=true;baseLayers=i3geoOL.getLayersBase();n=baseLayers.length;if(obj){ck=obj.checked}if(obj&&obj.type!="checkbox"){for(i=0;i<n;i++){baseLayers[i].setVisible(false)}}for(i=0;i<n;i++){if(baseLayers[i].get("name")===nome){baseLayers[i].setVisible(ck)}}if(i3GEO.maparef.APIOBJ!=""){i3GEO.maparef.inicia()}},atualizaMapa:function(){var camadas=i3GEO.arvoreDeCamadas.CAMADAS,n=camadas.length,i;for(i=0;i<n;i++){i3GEO.Interface.openlayers.atualizaTema("",camadas[i].name)}},atualizaTema:function(retorno,tema){var layer=i3geoOL.getLayersByName(tema),objtemas,funcaoLoad,servico,source;if(layer.length==0){return""}else{layer=layer[0]}if(layer&&layer!=undefined){source=layer.getSource();servico=source.getProperties().tipoServico;if(servico==="WMTS"){funcaoLoad=source.getTileUrlFunction();if(funcaoLoad){layer.getSource().setTileUrlFunction(function(){var url=funcaoLoad.apply(this,arguments);url=url.replace("&cache=sim","&cache=nao");return url.split('&r=')[0]+'&r='+Math.random()+source.getProperties().parametrosUrl.par})}}if(servico==="ImageWMS"){funcaoLoad=source.getImageLoadFunction();if(funcaoLoad){layer.getSource().setImageLoadFunction(function(image,src){src=src.replace("&cache=sim","&cache=nao");src=src.split('&r=')[0]+'&r='+Math.random();image.getImage().src=src+source.getProperties().parametrosUrl.par})}}source.refresh()}if(retorno===""){return}objtemas=i3GEO.arvoreDeCamadas.converteChaveValor2normal(retorno.data.temas);i3GEO.Interface.openlayers.recalcPar();try{i3GEO.arvoreDeCamadas.atualiza(objtemas)}catch(e){i3GEO.arvoreDeCamadas.atualiza()}i3GEO.janela.fechaAguarde()},registraEventos:function(){i3GEOtouchesPosMapa="";var modoAtual="";var contadorPan=0;i3GEO.eventos.ativa(i3geoOL.getTargetElement());i3geoOL.on("pointerdrag",function(e){i3GEO.Interface.STATUS.pan=true;modoAtual="move"});i3geoOL.on("click",function(e){e.stopPropagation();e.preventDefault();var lonlat=false,d,pos="";lonlat=e.coordinate;if(i3GEO.Interface.openlayers.googleLike===true){lonlat=ol.proj.transform(lonlat,'EPSG:3857','EPSG:4326')}d=i3GEO.calculo.dd2dms(lonlat[0],lonlat[1]);objposicaocursor.ddx=lonlat[0];objposicaocursor.ddy=lonlat[1];objposicaocursor.dmsx=d[0];objposicaocursor.dmsy=d[1];objposicaocursor.imgx=e.pixel[0];objposicaocursor.imgy=e.pixel[1];objposicaocursor.telax=objposicaocursor.imgx+pos[0];objposicaocursor.telay=objposicaocursor.imgy+pos[1]});i3geoOL.on("dbclick",function(e){e.stopPropagation();e.preventDefault()});i3geoOL.on("moveend",function(e){if(e.changedTouches){return}var xy;contadorPan++;var timer=setTimeout(function(){contadorPan--;if(contadorPan==0){modoAtual="";i3GEO.navega.registraExt(i3GEO.parametros.mapexten);i3GEO.Interface.openlayers.recalcPar();i3GEO.Interface.STATUS.pan=false;i3GEO.eventos.navegaMapa();i3GEO.util.escondePin();i3GEO.eventos.cliquePerm.status=false;i3GEO.Interface.STATUS.pan=false}},350)});i3geoOL.on("pointermove",function(e){if(modoAtual==="move"||e.dragging){return}var lonlat=false,d,pos="";lonlat=e.coordinate;if(i3GEO.Interface.openlayers.googleLike===true){lonlat=ol.proj.transform(lonlat,'EPSG:3857','EPSG:4326')}d=i3GEO.calculo.dd2dms(lonlat[0],lonlat[1]);objposicaocursor.ddx=lonlat[0];objposicaocursor.ddy=lonlat[1];objposicaocursor.dmsx=d[0];objposicaocursor.dmsy=d[1];objposicaocursor.imgx=e.pixel[0];objposicaocursor.imgy=e.pixel[1];objposicaocursor.telax=objposicaocursor.imgx+pos[0];objposicaocursor.telay=objposicaocursor.imgy+pos[1];var viewResolution=(i3geoOL.getView().getResolution());if(i3GEO.Interface.INFOOVERLAY!=""){i3GEO.Interface.INFOOVERLAY.getElement().innerHTML="";i3GEO.Interface.INFOOVERLAY.getElement().style.visibility="hidden"}for(var k in i3GEO.Interface.LAYERSUTFGRID){if(!i3GEO.arvoreDeCamadas.CAMADASINDEXADAS[k.replace("_utfgrid","")]){i3GEO.Interface.LAYERSUTFGRID[k]=null}else{if(i3GEO.Interface.LAYERSUTFGRID[k]&&i3GEO.Interface.LAYERSUTFGRID[k].getVisible()){i3GEO.Interface.LAYERSUTFGRID[k].getSource().forDataAtCoordinateAndResolution(e.coordinate,viewResolution,function(data){var ei=i3GEO.Interface.INFOOVERLAY.getElement();if(data){ei.style.visibility="visible";ei.innerHTML+="<span style='display:block;'>"+data.text+"<span>";i3GEO.Interface.INFOOVERLAY.setPosition(e.coordinate);i3GEO.eventos.mouseOverData()}else if(ei.innerHTML==""){ei.style.visibility="hidden";i3GEO.Interface.INFOOVERLAY.setPosition(undefined);i3GEO.eventos.mouseOutData()}})}}}});i3geoOL.on("touchend",function(e){e.preventDefault();calcCoord(e);if(i3GEO.eventos.cliquePerm.status===true&&i3GEO.eventos.CONTATOUCH<10){i3GEO.eventos.mouseupMapa(e)}i3GEO.eventos.cliquePerm.status=true;i3GEO.eventos.CONTATOUCH=0;i3GEO.Interface.STATUS.pan=false})},ativaBotoes:function(){},recalcPar:function(){i3GEOtouchesPosMapa="";var bounds=i3geoOL.getExtent().toBBOX().split(","),escalaAtual=i3geoOL.getScale();i3GEO.parametros.mapexten=bounds[0]+" "+bounds[1]+" "+bounds[2]+" "+bounds[3];if(i3GEO.parametros.mapscale!==escalaAtual){i3GEO.arvoreDeCamadas.atualizaFarol(escalaAtual)}i3GEO.parametros.pixelsize=i3geoOL.getView().getResolution();i3GEO.navega.atualizaEscalaNumerica(parseInt(escalaAtual,10));i3GEO.parametros.mapscale=escalaAtual},zoom2ext:function(ext){var m,v;if(!ext){ext=i3GEO.parametros.extentTotal}ext=i3GEO.util.extGeo2OSM(ext);m=ext.split(" ");m=[m[0]*1,m[1]*1,m[2]*1,m[3]*1];v=i3geoOL.getView();v.fit(m,i3geoOL.getSize());i3GEO.eventos.cliquePerm.status=true},pan2ponto:function(x,y,anim){if(i3GEO.Interface.openlayers.googleLike===true){var metrica;if(x<180&&x>-180){metrica=ol.proj.transform([x,y],'EPSG:4326','EPSG:3857');x=metrica[0];y=metrica[1]}}i3geoOL.panTo(x,y,anim)}},googlemaps:{ESTILOS:{'Red':[{featureType:'all',stylers:[{hue:'#ff0000'}]}],'Countries':[{featureType:'all',stylers:[{visibility:'off'}]},{featureType:'water',stylers:[{visibility:'on'},{lightness:-100}]}],'Night':[{featureType:'all',stylers:[{invert_lightness:'true'}]}],'Blue':[{featureType:'all',elementType:'geometry',stylers:[{hue:'#0000b0'},{invert_lightness:'true'},{saturation:-30}]}],'Greyscale':[{featureType:'all',stylers:[{saturation:-100},{gamma:0.50}]}],'No roads':[{featureType:'road',stylers:[{visibility:'off'}]}],'Mixed':[{featureType:'landscape',stylers:[{hue:'#00dd00'}]},{featureType:'road',stylers:[{hue:'#dd0000'}]},{featureType:'water',stylers:[{hue:'#000040'}]},{featureType:'poi.park',stylers:[{visibility:'off'}]},{featureType:'road.arterial',stylers:[{hue:'#ffff00'}]},{featureType:'road.local',stylers:[{visibility:'off'}]}],'Chilled':[{featureType:'road',elementType:'geometry',stylers:[{'visibility':'simplified'}]},{featureType:'road.arterial',stylers:[{hue:149},{saturation:-78},{lightness:0}]},{featureType:'road.highway',stylers:[{hue:-31},{saturation:-40},{lightness:2.8}]},{featureType:'poi',elementType:'label',stylers:[{'visibility':'off'}]},{featureType:'landscape',stylers:[{hue:163},{saturation:-26},{lightness:-1.1}]},{featureType:'transit',stylers:[{'visibility':'off'}]},{featureType:'water',stylers:[{hue:3},{saturation:-24.24},{lightness:-38.57}]}]},ESTILOPADRAO:"",MAPOPTIONS:{scaleControl:true,mapTypeControlOptions:{position:1}},OPACIDADE:0.8,TIPOMAPA:"terrain",ZOOMSCALE:[591657550,295828775,147914387,73957193,36978596,18489298,9244649,4622324,2311162,1155581,577790,288895,144447,72223,36111,18055,9027,4513,2256,1128],PARAMETROSLAYER:"&TIPOIMAGEM="+i3GEO.configura.tipoimagem,posfixo:0,BALAOPROP:{url:"",templateModal:"",removeAoAdicionar:true,modal:false,simple:true,classeCadeado:"i3GEOiconeAberto",baloes:[]},grade:function(){return false},barraProgressoStart:function(){var p=$i("i3GEOprogressoCamadas");if(p){p.style.width="100%"}},barraProgressoStop:function(){var p=$i("i3GEOprogressoCamadas"),n=0,d=0;if(p){n=i3GeoMap.overlayMapTypes.length;d=parseInt(p.style.width,10);if(d<10||n==0){p.style.width="0%"}else{p.style.width=d-(100/n)+"%";if(d-(100/n)<0){p.style.width="0%"}}}},zoomli:function(){if(DetectaMobile("DetectMobileLong")){i3GEO.janela.tempoMsg($trad("x70"))}else{i3GEO.janela.tempoMsg($trad("zoomliCtrl"))}},getZoom:function(){return i3GeoMap.getZoom()},removeBaloes:function(){var p=i3GEO.Interface.googlemaps.BALAOPROP.baloes,n=p.length,i;for(i=0;i<n;i++){p[i].close()}p=[]},balao:function(texto,completo,x,y){var temp,elem,b,c,p;if(x===null||y===null){return}p=i3GEO.Interface.googlemaps.BALAOPROP;if(p.removeAoAdicionar===true){i3GEO.Interface.googlemaps.removeBaloes()}temp=document.createElement("div");temp.className="i3GEOCabecalhoInfoWindow";temp.style.top="0px";elem=document.createElement("img");elem.src=i3GEO.configura.locaplic+"/imagens/branco.gif";elem.className=p.classeCadeado;elem.onclick=function(){if(p.classeCadeado==="i3GEOiconeAberto"){p.classeCadeado="i3GEOiconeFechado"}else{p.classeCadeado="i3GEOiconeAberto"}this.className=p.classeCadeado;p.removeAoAdicionar=!p.removeAoAdicionar};temp.appendChild(elem);elem=document.createElement("img");elem.src=i3GEO.configura.locaplic+"/imagens/branco.gif";elem.className="i3GEOiconeFerramentas";elem.style.marginLeft="5px";elem.onclick=function(){i3GEO.janela.prompt($trad("tolerancia"),function(){i3GEO.configura.ferramentas.identifica.resolution=$i("i3GEOjanelaprompt").value},i3GEO.configura.ferramentas.identifica.resolution)};temp.appendChild(elem);c=document.createElement("div");c.innerHTML=texto;e=document.createElement("div");e.appendChild(temp);e.appendChild(c);b=new google.maps.InfoWindow({content:e,position:new google.maps.LatLng(y,x),pixelOffset:new google.maps.Size(0,-24)});b.open(i3GeoMap);p.baloes.push(b)},atualizaTema:function(retorno,tema){var indice=i3GEO.Interface.googlemaps.retornaIndiceLayer(tema),objtemas;i3GeoMap.overlayMapTypes.removeAt(indice);i3GEO.Interface.googlemaps.posfixo+=1;i3GEO.Interface.googlemaps.insereLayer(tema,indice);if(retorno===""){return}objtemas=i3GEO.arvoreDeCamadas.converteChaveValor2normal(retorno.data.temas);i3GEO.Interface.googlemaps.recalcPar();try{i3GEO.arvoreDeCamadas.atualiza(objtemas)}catch(e){i3GEO.arvoreDeCamadas.atualiza()}i3GEO.janela.fechaAguarde()},removeTodosLayers:function(){var nlayers=i3GEO.arvoreDeCamadas.CAMADAS.length,i,camada,indice;for(i=0;i<nlayers;i++){camada=i3GEO.arvoreDeCamadas.CAMADAS[i];indice=i3GEO.Interface.googlemaps.retornaIndiceLayer(camada.name);if(indice!==false){try{i3GeoMap.overlayMapTypes.removeAt(indice);i3GEO.pluginI3geo.removeCamada(camada.name)}catch(e){}}}},redesenha:function(){i3GEO.Interface.googlemaps.posfixo+=1;i3GEO.Interface.googlemaps.removeTodosLayers();i3GEO.Interface.googlemaps.criaLayers()},cria:function(w,h){var i,f,ins;google.maps.visualRefresh=true;posfixo="&nd=0";i=$i(i3GEO.Interface.IDCORPO);if(i){f=$i("googlemapsdiv");if(!f){ins='<div id=googlemapsdiv style="width:0px;height:0px;text-align:left;background-image:url('+i3GEO.configura.locaplic+'/imagens/i3geo1bw.jpg)"></div>';i.innerHTML=ins}f=$i("googlemapsdiv");if(w){f.style.width=w+"px";f.style.height=h+"px"}}i3GeoMap="";i3GEO.Interface.IDMAPA="googlemapsdiv"},ativaZoomBox:function(){i3GeoMap.enableKeyDragZoom({key:'ctrl'})},inicia:function(){var pol,ret,montaMapa;pol=i3GEO.parametros.mapexten;ret=pol.split(" ");if($i("i3GEOprogressoDiv")){$i("i3GEOprogressoDiv").style.display="block"}montaMapa=function(retorno){var sw,ne,estilo,dobra=$i("i3GEOdobraPagina");try{i3GeoMap=new google.maps.Map($i(i3GEO.Interface.IDMAPA),i3GEO.Interface.googlemaps.MAPOPTIONS)}catch(e){alert(e);return}if(i3GEO.Interface.googlemaps.ESTILOS&&i3GEO.Interface.googlemaps.ESTILOPADRAO!=""){estilo=i3GEO.Interface.googlemaps.ESTILOS[i3GEO.Interface.googlemaps.ESTILOPADRAO];i3GeoMap.mapTypes.set(i3GEO.Interface.googlemaps.ESTILOPADRAO,new google.maps.StyledMapType(estilo,{name:i3GEO.Interface.googlemaps.ESTILOPADRAO}))}else{i3GeoMap.setMapTypeId(i3GEO.Interface.googlemaps.TIPOMAPA)}if(dobra){$i(i3GEO.Interface.IDMAPA).appendChild(dobra)}if(!i3GEO.Interface.googlemaps.MAPOPTIONS.center&&!i3GEO.Interface.googlemaps.MAPOPTIONS.zoom){sw=new google.maps.LatLng(ret[1],ret[0]);ne=new google.maps.LatLng(ret[3],ret[2]);i3GeoMap.fitBounds(new google.maps.LatLngBounds(sw,ne))}if(!$i("keydragzoom_script")){js=i3GEO.configura.locaplic+"/pacotes/google/keydragzoom.js";i3GEO.util.scriptTag(js,"i3GEO.Interface.googlemaps.ativaZoomBox()","keydragzoom_script")}i3GeoMapOverlay=new google.maps.OverlayView();i3GeoMapOverlay.draw=function(){};i3GEO.Interface.googlemaps.criaLayers();i3GeoMapOverlay.setMap(i3GeoMap);i3GEO.Interface.googlemaps.registraEventos();i3GEO.eventos.ativa($i(i3GEO.Interface.IDMAPA));if(i3GEO.Interface.STATUS.trocando===false){i3GEO.idioma.mostraSeletor()}if(i3GEO.Interface.STATUS.trocando===true&&$i(i3GEO.arvoreDeCamadas.IDHTML)){$i(i3GEO.arvoreDeCamadas.IDHTML).innerHTML=""}if(i3GEO.arvoreDeCamadas.ATIVATEMA===""){i3GEO.arvoreDeCamadas.ATIVATEMA="i3GEO.Interface.ligaDesliga(this)"}if(i3GEO.parametros.kmlurl!==""){i3GEO.Interface.googlemaps.adicionaKml(true,i3GEO.parametros.kmlurl)}if(jQuery.isFunction(i3GEO.finalizaAPI)){i3GEO.finalizaAPI.call()}else{if(i3GEO.finalizaAPI!=""){eval(i3GEO.finalizaAPI)}}google.maps.event.addListenerOnce(i3GeoMap,'idle',function(){var z=i3GeoMap.getZoom();if(z!=undefined){i3GeoMap.setZoom(parseInt(z,10)+1)}});i3GEO.coordenadas.ativaEventos()};i3GEO.php.googlemaps(montaMapa)},criaLayers:function(){var nlayers=i3GEO.arvoreDeCamadas.CAMADAS.length,i,camada,indice;for(i=0;i<nlayers;i++){camada=i3GEO.arvoreDeCamadas.CAMADAS[i];indice=i3GEO.Interface.googlemaps.retornaIndiceLayer(camada.name);if(!indice){if(camada.status!=0){if(camada.plugini3geo&&camada.plugini3geo!=""&&camada.plugini3geo.parametros!=undefined){i3GEO.pluginI3geo.inicia(camada);continue}else{i3GEO.Interface.googlemaps.insereLayer(camada.name,0,camada.cache)}}i3GEO.Interface.aposAdicNovaCamada(camada)}}i3GEO.Interface.googlemaps.recalcPar()},criaImageMap:function(nomeLayer,cache){var i3GEOTileO="";if(cache=="undefined"||cache==undefined){cache=""}i3GEOTileO=new google.maps.ImageMapType({getTileUrl:function(coord,zoom){var url=i3GEO.configura.locaplic+"/classesphp/mapa_googlemaps.php?"+"cache="+cache+"&Z="+zoom+"&X="+coord.x+"&Y="+coord.y+"&layer="+nomeLayer+i3GEO.Interface.googlemaps.PARAMETROSLAYER+'&r='+Math.random();return url+'&nd='+i3GEO.Interface.googlemaps.posfixo},tileSize:new google.maps.Size(256,256),isPng:true,name:nomeLayer});if($i("i3GEOprogressoCamadas")){google.maps.event.addListener(i3GEOTileO,'tilesloaded',function(){i3GEO.Interface.googlemaps.barraProgressoStop()})}return i3GEOTileO},bbox2mercator:function(bbox){var c=bbox.split(" "),p1,p2;p1=i3GEO.Interface.googlemaps.geo2mercator(c[0],c[1]);p2=i3GEO.Interface.googlemaps.geo2mercator(c[2],c[3]);return p1.x+" "+p1.y+" "+p2.x+" "+p2.y},geo2mercator:function(x,y){var source="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs",dest="+title= Google Mercator EPSG:900913 +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs",p=new Proj4js.Point(parseInt(x,10),parseInt(y,10));Proj4js.defs["WGS84"]=source;Proj4js.defs["EPSG:900913"]=dest;source=new Proj4js.Proj('WGS84');dest=new Proj4js.Proj('EPSG:900913');Proj4js.transform(source,dest,p);return p},insereLayer:function(nomeLayer,indice,cache){if(i3GEO.pluginI3geo.existeObjeto(nomeLayer)===false){if($i("i3GEOprogressoCamadas")){i3GEO.Interface.googlemaps.barraProgressoStart()}var i=i3GEO.Interface.googlemaps.criaImageMap(nomeLayer,cache);i3GeoMap.overlayMapTypes.insertAt(indice,i)}},registraEventos:function(){i3GEOtouchesPosMapa="";modoAtual="";google.maps.event.addListener(i3GeoMap,"dragstart",function(){modoAtual="move";i3GEO.eventos.cliquePerm.status=false});google.maps.event.addListener(i3GeoMap,"dragend",function(){var xy;i3GEO.Interface.googlemaps.recalcPar();i3GEO.eventos.navegaMapa();i3GEO.util.escondePin();i3GEO.navega.registraExt(i3GEO.parametros.mapexten);i3GEO.Interface.googlemaps.barraProgressoStop()});google.maps.event.addListener(i3GeoMap,"tilesloaded",function(){i3GEO.Interface.googlemaps.recalcPar();i3GEO.navega.registraExt(i3GEO.parametros.mapexten);i3GEO.Interface.googlemaps.barraProgressoStop()});google.maps.event.addListener(i3GeoMap,'idle',function(){i3GEO.Interface.googlemaps.barraProgressoStop()});google.maps.event.addListener(i3GeoMap,"bounds_changed",function(){i3GEO.Interface.googlemaps.barraProgressoStart();i3GEO.Interface.googlemaps.recalcPar();i3GEO.eventos.navegaMapa()});google.maps.event.addListener(i3GeoMap,"mousemove",function(ponto){if(i3GEOtouchesPosMapa===""){i3GEOtouchesPosMapa=i3GEO.util.pegaPosicaoObjeto($i(i3GEO.Interface.IDMAPA))}var teladms,tela,pos=i3GEOtouchesPosMapa;if(modoAtual==="move"){return}ponto=ponto.latLng;teladms=i3GEO.calculo.dd2dms(ponto.lng(),ponto.lat());tela=i3GeoMapOverlay.getProjection().fromLatLngToContainerPixel(ponto);objposicaocursor={ddx:ponto.lng(),ddy:ponto.lat(),dmsx:teladms[0],dmsy:teladms[1],imgx:tela.x,imgy:tela.y,telax:tela.x+pos[0],telay:tela.y+pos[1]}})},retornaIndiceLayer:function(nomeLayer){var i=false;try{i3GeoMap.overlayMapTypes.forEach(function(elemento,number){if(elemento.name===nomeLayer){i=number}});return i}catch(e){return false}},retornaObjetoLayer:function(nomeLayer){var i=false;try{i3GeoMap.overlayMapTypes.forEach(function(elemento,number){if(elemento.name===nomeLayer){i=elemento}});return i}catch(e){return false}},retornaDivLayer:function(nomeLayer){var i,divmapa=$i("googlemapsdiv"),divimg,n;divimg=divmapa.getElementsByTagName("img");n=divimg.length;if(divimg&&n>0){for(i=0;i<n;i++){if(divimg[i].src.search("&layer="+nomeLayer+"&")>0){return divimg[i].parentNode.parentNode.parentNode}}}return false},ligaDesliga:function(obj){var plugin,indice,temp,desligar="",ligar="",n,i,lista=[],listatemp;indice=i3GEO.Interface.googlemaps.retornaIndiceLayer(obj.value);temp=function(){i3GEO.legenda.atualiza()};plugin=i3GEO.pluginI3geo.existeObjeto(obj.value);if(obj.checked&&(!indice||plugin===true)){ligar=obj.value;listatemp=i3GEO.arvoreDeCamadas.listaLigadosDesligados()[0];n=i3GEO.arvoreDeCamadas.CAMADAS.length;for(i=0;i<n;i++){if(i3GEO.util.in_array(i3GEO.arvoreDeCamadas.CAMADAS[i].name,listatemp)){lista.push(i3GEO.arvoreDeCamadas.CAMADAS[i].name)}}lista.reverse();if(plugin===false){n=lista.length;indice=0;for(i=0;i<n;i++){if(lista[i]==obj.value){indice=i}}i3GEO.Interface.googlemaps.insereLayer(obj.value,(indice))}else{i3GEO.pluginI3geo.ligaCamada(obj.value)}i3GEO.arvoreDeCamadas.alteraPropCamadas("status","2",obj.value)}else{if(plugin===true){desligar=obj.value;i3GEO.arvoreDeCamadas.alteraPropCamadas("status","0",obj.value);i3GEO.pluginI3geo.desligaCamada(obj.value)}else if(indice!==false){desligar=obj.value;i3GEO.arvoreDeCamadas.alteraPropCamadas("status","0",obj.value);i3GeoMap.overlayMapTypes.removeAt(indice)}}if(desligar!==""||ligar!==""){i3GEO.php.ligatemas(temp,desligar,ligar)}},bbox:function(){var bd,so,ne,bbox;bd=i3GeoMap.getBounds();so=bd.getSouthWest();ne=bd.getNorthEast();bbox=so.lng()+" "+so.lat()+" "+ne.lng()+" "+ne.lat();return(bbox)},ativaBotoes:function(){},aplicaOpacidade:function(opacidade,layer){var nlayers=i3GEO.arvoreDeCamadas.CAMADAS.length,i,camada,div;if(!layer){layer=""}for(i=0;i<nlayers;i++){camada=i3GEO.arvoreDeCamadas.CAMADAS[i];if(camada&&camada.name){div=i3GEO.Interface.googlemaps.retornaDivLayer(camada.name);if(div){if(layer==""||layer==camada.name){$(div).css("opacity",opacidade)}}}}},mudaOpacidade:function(valor){i3GEO.Interface.googlemaps.OPACIDADE=valor;i3GEO.Interface.googlemaps.redesenha()},recalcPar:function(){i3GEOtouchesPosMapa="";try{var sw,ne,escalaAtual=i3GEO.parametros.mapscale;sw=i3GeoMap.getBounds().getSouthWest();ne=i3GeoMap.getBounds().getNorthEast();i3GEO.parametros.mapexten=sw.lng()+" "+sw.lat()+" "+ne.lng()+" "+ne.lat();i3GEO.parametros.mapscale=i3GEO.Interface.googlemaps.calcescala();sw=i3GeoMapOverlay.getProjection().fromContainerPixelToLatLng(new google.maps.Point(0,1));ne=i3GeoMapOverlay.getProjection().fromContainerPixelToLatLng(new google.maps.Point(1,0));i3GEO.parametros.pixelsize=sw.lng()-ne.lng();if(i3GEO.parametros.pixelsize<0){i3GEO.parametros.pixelsize=i3GEO.parametros.pixelsize*-1}if(i3GEO.parametros.mapscale!==escalaAtual&&escalaAtual!==0){i3GEO.arvoreDeCamadas.atualizaFarol(i3GEO.parametros.mapscale)}}catch(e){i3GEO.parametros.mapexten="0 0 0 0";i3GEO.parametros.mapscale=0}},calcescala:function(){var zoom=i3GeoMap.getZoom();return(i3GEO.Interface.googlemaps.ZOOMSCALE[zoom])},escala2nzoom:function(escala){var n,i;n=i3GEO.Interface.googlemaps.ZOOMSCALE.length;for(i=0;i<n;i++){if(i3GEO.Interface.googlemaps.ZOOMSCALE[i]<escala){return(i)}}},zoom2extent:function(mapexten){var re=new RegExp(",","g"),pol=mapexten.replace(re," "),ret=pol.split(" "),sw=new google.maps.LatLng(ret[1],ret[0]),ne=new google.maps.LatLng(ret[3],ret[2]);i3GeoMap.fitBounds(new google.maps.LatLngBounds(sw,ne))},zoom2ext:function(mapexten){i3GEO.Interface.googlemaps.zoom2extent(mapexten)},pan2ponto:function(x,y){i3GeoMap.panTo(new google.maps.LatLng(y,x))},adicionaKml:function(pan,url,titulo,ativo){var ngeoxml,i;if(!$i("arvoreCamadasKml")){i3GEO.Interface.googlemaps.criaArvoreKML()}ngeoxml="geoXml_"+i3GEO.mapa.GEOXML.length;if(arguments.length===1){i=$i("i3geo_urlkml");if(i){url=i.value}else{url=""}titulo=ngeoxml;ativo=true}if(arguments.length===2){titulo=ngeoxml;ativo=true}if(url===""){return}i3GEO.mapa.GEOXML.push(ngeoxml);i3GEO.Interface.googlemaps.adicionaNoArvoreGoogle(url,titulo,ativo,ngeoxml)},adicionaListaKml:function(){var monta=function(retorno){var raiz,nraiz,i;raiz=retorno.data.canais;nraiz=raiz.length;for(i=0;i<nraiz;i++){i3GEO.Interface.googlemaps.adicionaKml(false,raiz[i].link,raiz[i].title,false)}};i3GEO.php.listaRSSwsARRAY(monta,"KML")},adicionaNoArvoreGoogle:function(url,nomeOverlay,ativo,id){var node,d,nodekml;if(!$i("arvoreCamadasKml")){i3GEO.Interface.googlemaps.criaArvoreKML()}if(arguments.length===2){ativo=true;id=nomeOverlay}if(arguments.length===2){id=nomeOverlay}node=i3GEO.Interface.googlemaps.ARVORE.getNodeByProperty("idkml","raiz");html="<input onclick='i3GEO.Interface.googlemaps.ativaDesativaCamadaKml(this,\""+url+"\")' class=inputsb style='cursor:pointer;' type='checkbox' value='"+id+"'";if(ativo===true){html+=" checked "}html+="/>";if(navm){estilo="cursor:default;vertical-align:35%;padding-top:0px;"}else{estilo="cursor:default;vertical-align:top;"}html+="&nbsp;<span style='"+estilo+"'>"+nomeOverlay+"</span>";d={html:html};nodekml=new YAHOO.widget.HTMLNode(d,node,true,true);nodekml.enableHighlight=false;nodekml.isleaf=true;i3GEO.Interface.googlemaps.ARVORE.draw();i3GEO.Interface.googlemaps.ARVORE.collapseAll();node.expand();if(ativo===true){eval(id+" = new google.maps.KmlLayer('"+url+"',{map:i3GeoMap,preserveViewport:true});")}},criaArvoreKML:function(){var arvore,a,root,titulo,d,node;arvore=$i("arvoreCamadasKml");if(!arvore){d=document.createElement("div");d.id="arvoreCamadasKml";d.style.top="40px";a=$i(i3GEO.arvoreDeCamadas.IDHTML);if(a){a.parentNode.appendChild(d)}else{return}}i3GEO.Interface.googlemaps.ARVORE=new YAHOO.widget.TreeView("arvoreCamadasKml");root=i3GEO.Interface.googlemaps.ARVORE.getRoot();titulo="<table><tr><td><b>Kml</b></td></tr></table>";d={html:titulo,idkml:"raiz"};node=new YAHOO.widget.HTMLNode(d,root,true,true);node.enableHighlight=false},ativaDesativaCamadaKml:function(obj,url){if(!obj.checked){eval(obj.value+".setMap(null);")}else{eval(obj.value+" = new google.maps.KmlLayer(url,{map:i3GeoMap,preserveViewport:true});")}},alteraParametroLayers:function(parametro,valor){parametro=parametro.toUpperCase();var reg=new RegExp(parametro+"([=])+([a-zA-Z0-9_]*)");i3GEO.Interface.googlemaps.PARAMETROSLAYER=i3GEO.Interface.googlemaps.PARAMETROSLAYER.replace(reg,"");i3GEO.Interface.googlemaps.PARAMETROSLAYER+="&"+parametro+"="+valor;i3GEO.Interface.googlemaps.redesenha()}}};
257 257 //
258 258 //compactados/mapa_compacto.js
259   -if(typeof(i3GEO)==='undefined'){var i3GEO={}}i3GEO.mapa={BALAOATIVO:true,OPENTIPIFEMPTY:true,TEMASINICIAISLIGADOS:"",TEMASINICIAIS:"",GEOXML:[],limpasel:function(){i3GEO.php.limpasel(function(retorno){i3GEO.atualiza();i3GEO.Interface.atualizaMapa()},"")},ativaAutoResize:function(){var ativo=true;window.onresize=function(){var Dw,Dh;Dw=window.innerWidth;Dh=window.innerHeight;i3GEO.tamanhodoc=[Dw,Dh];if(ativo===true){setTimeout(function(){i3GEO.reCalculaTamanho();i3GEO.guias.abreFecha("fecha");ativo=true},2000)}ativo=false}},ativaIdentifica:function(){i3GEO.eventos.MOUSECLIQUE=["i3GEO.mapa.dialogo.cliqueIdentificaDefault()"];i3GEO.eventos.adicionaEventos("MOUSECLIQUEPERM",["i3GEO.mapa.dialogo.cliqueIdentificaDefault()"]);i3GEO.eventos.removeEventos("MOUSECLIQUEPERM",["i3GEO.mapa.dialogo.verificaTipDefault()"]);i3GEO.eventos.cliquePerm.ativa()},ativaIdentificaBalao:function(){i3GEO.eventos.removeEventos("MOUSECLIQUEPERM",["i3GEO.mapa.dialogo.cliqueIdentificaDefault()"]);i3GEO.eventos.MOUSECLIQUE=["i3GEO.mapa.dialogo.verificaTipDefault()"];i3GEO.eventos.cliquePerm.ativa()},ativaTema:function(codigo){if(codigo){i3GEO.temaAtivo=codigo}},ativaLogo:function(){if(i3GEO.Interface.ATUAL==="googlemaps"){alert($trad("x21"));return}i3GEO.php.ativalogo(i3GEO.atualiza);var cr=$i("i3GEOcopyright");if(cr){if(cr.style.display==="block"){cr.style.display="none"}else{cr.style.display="block"}}},verifica:function(retorno){try{if(retorno.data){retorno=retorno.data}if(retorno.variaveis){retorno=retorno.variaveis}if((retorno==="erro")||(typeof(retorno)==='undefined')){i3GEO.janela.fechaAguarde();i3GEO.mapa.recupera.inicia()}i3GEO.mapa.recupera.TENTATIVA=0}catch(e){if(i3GEO.Interface.ATUAL==="openlayers"||i3GEO.Interface.ATUAL==="googlemaps"){i3GEO.janela.fechaAguarde();return}if(this.recupera.TENTATIVA===0){i3GEO.janela.tempoMsg("Erro no mapa. Sera feita uma tentativa de recuperacao.");i3GEO.mapa.recupera.inicia()}else{i3GEO.janela.tempoMsg("Recuperacao impossivel. Sera feita uma tentativa de reiniciar o mapa.");if(this.recupera.TENTATIVA===1){this.recupera.TENTATIVA=2;i3GEO.php.reiniciaMapa(i3GEO.atualiza)}}}},recupera:{TENTATIVA:0,inicia:function(){i3GEO.janela.fechaAguarde();if(this.recupera&&this.recupera.TENTATIVA===0){this.recupera.TENTATIVA++;this.recupera.restaura()}},restaura:function(){i3GEO.php.recuperamapa(i3GEO.atualiza)}},legendaIMAGEM:{obtem:function(funcao){i3GEO.php.criaLegendaImagem(funcao)}},compactaLayerGrafico:function(){var geos=false,geometrias=[],n=0,i,g;if(i3GEO.editorOL&&i3GEO.desenho.layergrafico&&i3GEO.desenho.layergrafico.features){geos=i3GEO.desenho.layergrafico.features;n=geos.length;for(i=0;i<n;i++){g={"atributos":geos[i].attributes,"geometria":geos[i].geometry.toString()};geometrias.push(g)}}g=JSON.stringify(geometrias);return i3GEO.util.base64encode(g)},desCompactaLayerGrafico:function(geometrias){geometrias=JSON.parse(geometrias);if(geometrias.length>0){var inicia=function(){if(!i3GEO.desenho.layergrafico){i3GEO.editorOL.criaLayerGrafico()}i3GEO.editor[i3GEO.Interface.ATUAL].ativaPainel();var n=geometrias.length,i;for(i=0;i<n;i++){i3GEO.editorOL.adicionaFeatureWkt(geometrias[i].geometria,geometrias[i].atributos)}i3GEO.editorOL.sobeLayersGraficos()};if(!i3GEO.editorOL){i3GEO.util.scriptTag(i3GEO.configura.locaplic+"/classesjs/compactados/classe_editorol_compacto.js",inicia,"editorol.js",true)}}},restauraGraficos:function(graficos){if(graficos.length>0){var inicia=function(){i3GEOF.graficointerativo1.restauraGraficos(graficos)};i3GEO.util.scriptTag(i3GEO.configura.locaplic+"/ferramentas/graficointerativo1/dependencias.php",inicia,"graficointerativo1",true)}},restauraTabelas:function(tabelas){if(tabelas.length>0){var inicia=function(){i3GEOF.tabela.restauraTabelas(tabelas)};i3GEO.util.scriptTag(i3GEO.configura.locaplic+"/ferramentas/tabela/dependencias.php",inicia,"tabela",true)}},aplicaPreferencias:function(cookies){var props,nprops,i,temp=[],pint;if(!cookies){cookies=i3GEO.util.pegaDadosLocal("preferenciasDoI3Geo")}if(cookies){props=cookies.split("::");nprops=props.length;for(i=0;i<nprops;i++){try{temp=props[i].split("|");pint=parseInt(temp[1],10);if(temp[1]==='true'||temp[1]==='false'){if(temp[1]==='true'){temp[1]=true}if(temp[1]==='false'){temp[1]=false}eval(temp[0]+" = "+temp[1]+";")}else if(pint+"px"==temp[1]){eval(temp[0]+" = '"+temp[1]+"';")}else if($.isNumeric(pint)){eval(temp[0]+" = "+temp[1]+";")}else{eval(temp[0]+" = '"+temp[1]+"';")}}catch(e){}}}},dialogo:{listaLayersWms:function(servico){i3GEO.janela.cria("400px","300px",i3GEO.configura.locaplic+"/ferramentas/conectarwms/listalayers.php?servico="+servico,"","","<div class='i3GeoTituloJanela'>"+$trad("a4")+"<a class=ajuda_usuario target=_blank href='"+i3GEO.configura.locaplic+"/ajuda_usuario.php?idcategoria=4&idajuda=28' ><b> </b></a></div>","i3GEO.conectarwms",false,"hd","","","",true)},wms:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.wms()","conectarwms","conectarwms","dependencias.php","i3GEOF.conectarwms.iniciaJanelaFlutuante()")},mascara:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.mascara()","mascara","mascara","dependencias.php","i3GEOF.mascara.iniciaJanelaFlutuante()")},html2canvas:function(obj){var temp=function(){i3GEOF.html2canvas.iniciaJanelaFlutuante(obj)};i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.html2canvas()","html2canvas","html2canvas","dependencias.php",temp)},wkt2layer:function(wkt,texto){var temp=function(){i3GEOF.wkt2layer.iniciaJanelaFlutuante(wkt,texto)};i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.wkt2layer()","wkt2layer","wkt2layer","dependencias.php",temp)},atalhosedicao:function(idtema){i3GEO.mapa.ativaTema(idtema);i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.atalhosedicao()","atalhosedicao","atalhosedicao","dependencias.php","i3GEOF.atalhosedicao.iniciaJanelaFlutuante()")},geolocal:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.geolocal()","geolocal","geolocal","dependencias.php","i3GEOF.geolocal.iniciaJanelaFlutuante()")},listaDeMapasBanco:function(idonde){if(idonde){i3GEO.guias.CONFIGURA["mapas"].click.call(this,idonde);return}if(i3GEO.guias.CONFIGURA["mapas"]){var temp,janela,id="listaMapa"+Math.random();janela=i3GEO.janela.cria("800px","500px",i3GEO.configura.locaplic+"/mapas/indexnomenu.php","","","<span class='i3GeoTituloJanelaBsNolink' ></span></div>",id)}else{window.open(i3GEO.configura.locaplic+"/rss/rssmapas.php","_blank")}},congelaMapa:function(){var url="",idjanela=i3GEO.util.generateId(),cabecalho=function(){},titulo,minimiza=function(){i3GEO.janela.minimiza(idjanela)};if(i3GEO.Interface.ATUAL==="openlayers"||i3GEO.Interface.ATUAL==="googlemaps"){url=i3GEO.configura.locaplic+"/ferramentas/congelamapa/openlayers3.php?g_sid="+i3GEO.configura.sid+"&ext="+i3GEO.util.extOSM2Geo(i3GEO.parametros.mapexten);titulo="<span class='i3GeoTituloJanelaBsNolink' ></span></div>";i3GEO.janela.cria("520px","370px",url,"","",titulo,idjanela,false,"hd",cabecalho,minimiza,"","","","",false,"","123")}},metaestat:function(largura,altura,topo,esquerda,Interface,conexao){var temp=function(){i3GEOF.metaestat.MULTIPARAMETROS=true;if(Interface){i3GEOF.metaestat.INTERFACE=Interface}if(conexao){i3GEOF.metaestat.CONEXAODEFAULT=conexao}i3GEOF.metaestat.INTERFACE="flutuante";i3GEOF.metaestat.principal.inicia(null,largura,altura,topo,esquerda)};i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.metaestat()","metaestat","metaestat","dependencias.php",temp)},metaestatListaMapas:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.metaestatListaMapas()","metaestat","listamapas","listamapas.js","i3GEOF.listamapas.iniciaJanelaFlutuante()")},preferencias:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.preferencias()","preferencias","preferencias")},locregiao:function(largura,altura,topo,esquerda){var temp=function(){i3GEOF.locregiao.iniciaDicionario(largura,altura,topo,esquerda)};i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.locregiao()","metaestat","locregiao","locregiao.js",temp)},filtraregiao:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.filtraregiao()","metaestat","locregiao","locregiao.js","i3GEOF.locregiao.abreComFiltro()")},filtraperiodo:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.filtraperiodo()","filtraperiodo","filtraperiodo","dependencias.php","i3GEOF.filtraperiodo.iniciaJanelaFlutuante()")},animacao:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.animacao()","animacao","animacao","dependencias.php","i3GEOF.animacao.start()")},opacidade:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.opacidademapa()","opacidademapa","opacidademapa","dependencias.php","i3GEOF.opacidademapa.start()")},t3d:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.t3d()","3d","t3d")},imprimir:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.imprimir()","imprimir","imprimir","dependencias.php","i3GEOF.imprimir.iniciaJanelaFlutuante()")},mostraExten:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.mostraExten()","mostraexten","mostraExten","dependencias.php","i3GEOF.mostraExten.iniciaJanelaFlutuante()")},outputformat:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.outputformat()","outputformat","outputformat","dependencias.php","i3GEOF.outputformat.iniciaJanelaFlutuante()")},autoredesenha:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.autoredesenha()","opcoes_autoredesenha","opcoesTempo","dependencias.php","i3GEOF.opcoesTempo.iniciaJanelaFlutuante()")},salvaMapa:function(){if(i3GEO.parametros===""){i3GEO.janela.tempoMsg("Essa opcao nao pode ser ativada. Consulte o administrador do sistema. Mapfile nao esta exposto.");return}i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.salvaMapa()","salvamapa","salvaMapa","dependencias.php","i3GEOF.salvaMapa.iniciaJanelaFlutuante()")},carregaMapa:function(){i3GEO.util.dialogoFerramenta("i3GEO.tema.dialogo.carregaMapa()","carregamapa","carregaMapa","dependencias.php","i3GEOF.carregaMapa.iniciaJanelaFlutuante()")},convertews:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.convertews()","convertews","converteMapaWS","dependencias.php","i3GEOF.converteMapaWS.iniciaJanelaFlutuante()")},convertekml:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.convertekml()","convertemapakml","converteMapaKml","dependencias.php","i3GEOF.converteMapaKml.iniciaJanelaFlutuante()")},queryMap:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.queryMap()","opcoes_querymap","opcoesQuery","dependencias.php","i3GEOF.opcoesQuery.iniciaJanelaFlutuante()")},template:function(){i3GEO.janela.cria("300px","400px",i3GEO.configura.locaplic+"/ferramentas/template/index.htm","","","<div class='i3GeoTituloJanela'>Template<a class=ajuda_usuario target=_blank href='"+i3GEO.configura.locaplic+"/ajuda_usuario.php?idcategoria=1&idajuda=8' ><b> </b></a></div>")},tamanho:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.tamanho()","opcoes_tamanho","opcoesTamanho","dependencias.php","i3GEOF.opcoesTamanho.iniciaJanelaFlutuante()")},tipoimagem:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.tipoimagem()","tipoimagem","tipoimagem","dependencias.php","i3GEOF.tipoimagem.iniciaJanelaFlutuante()")},corFundo:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.corFundo()","opcoes_fundo","opcoesFundo","dependencias.php","i3GEOF.opcoesFundo.iniciaJanelaFlutuante()")},opcoesEscala:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.opcoesEscala()","opcoes_escala","opcoesEscala","dependencias.php","i3GEOF.opcoesEscala.iniciaJanelaFlutuante()")},opcoesLegenda:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.opcoesLegenda()","opcoes_legenda","opcoesLegenda","dependencias.php","i3GEOF.opcoesLegenda.iniciaJanelaFlutuante()")},opcoesMapaRef:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.opcoesMapaRef()","opcoes_maparef","opcoesMaparef","dependencias.php","i3GEOF.opcoesMaparef.iniciaJanelaFlutuante()")},gradeCoord:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.gradeCoord()","gradecoord","gradeCoord","dependencias.php","i3GEOF.gradeCoord.iniciaJanelaFlutuante()")},cliqueTexto:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.cliqueTexto()","inseretxt","inseretxt","dependencias.php","i3GEOF.inseretxt.iniciaJanelaFlutuante()")},selecao:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.selecao()","selecao","selecao","dependencias.php","i3GEOF.selecao.iniciaJanelaFlutuante()")},cliquePonto:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.cliquePonto()","inserexy2","inserexy","dependencias.php","i3GEOF.inserexy.iniciaJanelaFlutuante()")},cliqueGrafico:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.cliqueGrafico()","inseregrafico","insereGrafico","dependencias.php","i3GEOF.insereGrafico.iniciaJanelaFlutuante()")},cliqueIdentificaDefault:function(x,y,tema){if(!x){x=objposicaocursor.ddx;y=objposicaocursor.ddy}var temp=function(){i3GEOF.identifica.start({"x":x,"y":y,"tema":tema})};if(typeof(i3GEOF.identifica)==='undefined'){var js=i3GEO.configura.locaplic+"/ferramentas/identifica/dependencias.php";i3GEO.util.scriptTag(js,temp,"i3GEOF.identifica_script")}else{temp()}},verificaTipDefault:function(x,y){if(i3GEO.mapa.BALAOATIVO==false){return}if(!x){x=objposicaocursor.ddx}if(!y){y=objposicaocursor.ddy}if(x===-1||y===-1||i3GEO.eventos.cliquePerm.ativo===false||i3GEO.eventos.cliquePerm.status===false){return}i3GEO.eventos.cliquePerm.status=false;var ntemas,etiquetas,j,temp;objposicaocursor.ddx=-1;objposicaocursor.ddy=-1;ntemas=i3GEO.arvoreDeCamadas.CAMADAS.length;etiquetas=false;for(j=0;j<ntemas;j+=1){if(i3GEO.arvoreDeCamadas.CAMADAS[j].etiquetas!==""||i3GEO.arvoreDeCamadas.CAMADAS[j].identifica=="SIM"){etiquetas=true}}if(etiquetas===false){return}if(i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.url!=""&&i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.templateModal==""){$.get(i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.url+"&xx="+x+"&yy="+y,function(data){i3GEO.janela.closeMsg(data)});return}if(i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.templateModal!=""){if(i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.url!=""){var temp=i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.url+"&xx="+x+"&yy="+y;temp=i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.templateModal.replace("{{{url}}}",temp);i3GEO.janela.closeMsg(temp)}else{i3GEO.janela.closeMsg(i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.templateModal)}return}var res=i3GEO.configura.ferramentas.identifica.resolution;var bdiv=document.createElement("div");bdiv.className="waitInfoWindow";bdiv.style.width=res+"px";bdiv.style.height=res+"px";bdiv.style.top=(res/2*-1)+"px";var b=new ol.Overlay({element:bdiv,stopEvent:true,autoPan:false,origem:"balao",autoPanAnimation:false,positioning:"center-center",position:i3GEO.util.projGeo2OSM(new ol.geom.Point([x,y])).getCoordinates()});i3geoOL.addOverlay(b);temp=function(retorno){i3geoOL.removeOverlay(b);i3GEO.mapa.montaTip(retorno,x,y)};i3GEO.php.identifica3(temp,x,y,res,"tip",i3GEO.configura.locaplic,i3GEO.configura.sid,"ligados",i3GEO.parametros.mapexten,"","sim")}},montaTip:function(retorno,xx,yy){var textCopy=[],textoSimples="",textoTempSimples="",x,y,temp,n,mostra,res,temas,ntemas,titulo,tips,j,ntips,r,ds,nds,s,configura=i3GEO.configura,wkts=[];i3GEO.eventos.cliquePerm.status=true;mostra=false;if(retorno.data){retorno=retorno.data;temp=retorno[0].xy.split(",");x=temp[0]*1;y=temp[1]*1}else{x=xx;y=yy;mostra=true;textoSimples=$trad("balaoVazio");wkt=[];if(i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.openTipNoData==false){mostra=false}}if(retorno!==""){res="";ntemas=0;temas=retorno;if(temas){ntemas=temas.length}for(j=0;j<ntemas;j+=1){titulo=temas[j].nome;textCopy.push(titulo);var temp1=[];$.each(temas[j].funcoesjs,function(key,value){if(value.tipo=="layer"){var parametros=[x,y,temas[j].tema];$.each(value.parametros,function(key1,value1){parametros.push(ds[s][value1].valor)});parametros="\""+parametros.join("\",\"")+"\"";temp1.push("<a class='toolTipBalaoFuncoes' href='javascript:void(0);' onclick='"+value.funcao+"("+parametros+")' >"+value.titulo+"</a><br>");if(value.script&&value.script!=""){i3GEO.util.scriptTag(value.script,"","funcaolayer"+value.funcao,false)}}});temp1=temp1.join(" ");var mais="<button style='margin: 2px;padding: 0px;vertical-align: middle;position: relative;top: -7px;' class='btn btn-default btn-xs' onclick=\"i3GEO.mapa.dialogo.cliqueIdentificaDefault("+x+","+y+",'"+temas[j].tema+"');return false;\" ><span style='opacity:0.5;vertical-align: middle;padding: 0px;' class='material-icons'>info</span></button>";if(ntemas==1){mais=""}titulo="<div class='toolTipBalaoTitulo'>"+mais+" <b>"+titulo+"</b><br>"+temp1+"</div>";tips=temas[j].resultado.todosItens;ntips=tips.length;ins="";textoTempSimples="";ds=temas[j].resultado.dados;if(ds!==" "&&ds[0]&&ds[0]!=" "){try{nds=ds.length;for(s=0;s<nds;s+=1){textoTempSimples+="<div class='toolTipBalaoTexto'>";for(r=0;r<ntips;r+=1){try{temp="";var alias=ds[s][tips[r]].alias;var valor=ds[s][tips[r]].valor;var link=ds[s][tips[r]].link;var img=ds[s][tips[r]].img;var estilo="tooltip-"+temas[j].tema;if(valor!==""&&link===""){temp+="<span class='"+estilo+"'><label>"+alias+": </label>"+valor+"</span><br>";textCopy.push(alias+":"+valor)}if(valor!==""&&link!==""){temp+="<span class='"+estilo+"'><label>"+alias+" : </label><a style='color:blue;cursor:pointer' target=_blanck href='"+link+"' >"+valor+"</a></span><br>";textCopy.push(alias+":"+valor)}if(img!==""){temp+=img+"<br>"}if(ds[s][tips[r]].tip.toLowerCase()==="sim"){textoTempSimples+=temp}mostra=true}catch(e){}}var temp1=[];$.each(temas[j].funcoesjs,function(key,value){if(value.tipo=="registro"){var parametros=[x,y,temas[j].tema];$.each(value.parametros,function(key1,value1){parametros.push(ds[s][value1].valor)});parametros="\""+parametros.join("\",\"")+"\"";temp1.push("<a class='toolTipBalaoFuncoes' href='javascript:void(0);' onclick='"+value.funcao+"("+parametros+")' >"+value.titulo+"</a><br>");if(value.script&&value.script!=""){i3GEO.util.scriptTag(value.script,"","funcaolayer"+value.funcao,false)}}});temp1=temp1.join(" ");textoTempSimples+=temp1+"</div>";if(ds[s].wkt&&ds[s].wkt.valor!=""){ds[s].tema=temas[j].tema;ds[s].titulo=titulo;wkts.push(ds[s])}}}catch(e){}}if(textoTempSimples!==""){textoSimples+=titulo+textoTempSimples}}if(mostra===true){if(i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.modal==true){i3GEO.janela.closeMsg(textoSimples);return}else{i3GEO.Interface[i3GEO.Interface.ATUAL].balao(textoSimples,textCopy,x,y,true,wkts.length)}}}n=wkts.length;if(n>0){if(i3GEO.Interface.ATUAL!="openlayers"){return}i3GEO.desenho.openlayers.criaLayerGrafico();var g,format,f,idunico,c=i3GEO.desenho.layergrafico.getSource();format=new ol.format.WKT();for(r=0;r<n;r+=1){f=format.readFeatures(wkts[r].wkt.valor);f=f[0];f.setProperties({origem:"pin"});g=f.getGeometry();g=i3GEO.util.projGeo2OSM(g);f.setGeometry(g);f.setId(i3GEO.util.uid());i3GEO.editor.setStyleByTypeFeature(f);i3GEO.editor.sel.setPropertiesDefault(f);wkts[r].wkt="",f.setProperties({"fat":wkts[r]});c.addFeature(f)}}}};
  259 +if(typeof(i3GEO)==='undefined'){var i3GEO={}}i3GEO.mapa={BALAOATIVO:true,OPENTIPIFEMPTY:true,TEMASINICIAISLIGADOS:"",TEMASINICIAIS:"",GEOXML:[],limpasel:function({verifica=false}={}){var sel=false;if(verifica==true){sel=i3GEO.arvoreDeCamadas.existeCamadaSel({msg:true})}else{sel=true}if(sel==true){i3GEO.php.limpasel(function(retorno){i3GEO.atualiza();i3GEO.Interface.atualizaMapa()},"")}},ativaAutoResize:function(){var ativo=true;window.onresize=function(){var Dw,Dh;Dw=window.innerWidth;Dh=window.innerHeight;i3GEO.tamanhodoc=[Dw,Dh];if(ativo===true){setTimeout(function(){i3GEO.reCalculaTamanho();i3GEO.guias.abreFecha("fecha");ativo=true},2000)}ativo=false}},ativaIdentifica:function(){i3GEO.eventos.MOUSECLIQUE=["i3GEO.mapa.dialogo.cliqueIdentificaDefault()"];i3GEO.eventos.adicionaEventos("MOUSECLIQUEPERM",["i3GEO.mapa.dialogo.cliqueIdentificaDefault()"]);i3GEO.eventos.removeEventos("MOUSECLIQUEPERM",["i3GEO.mapa.dialogo.verificaTipDefault()"]);i3GEO.eventos.cliquePerm.ativa()},ativaIdentificaBalao:function(){i3GEO.eventos.removeEventos("MOUSECLIQUEPERM",["i3GEO.mapa.dialogo.cliqueIdentificaDefault()"]);i3GEO.eventos.MOUSECLIQUE=["i3GEO.mapa.dialogo.verificaTipDefault()"];i3GEO.eventos.cliquePerm.ativa()},ativaTema:function(codigo){if(codigo){i3GEO.temaAtivo=codigo}},ativaLogo:function(){if(i3GEO.Interface.ATUAL==="googlemaps"){alert($trad("x21"));return}i3GEO.php.ativalogo(i3GEO.atualiza);var cr=$i("i3GEOcopyright");if(cr){if(cr.style.display==="block"){cr.style.display="none"}else{cr.style.display="block"}}},verifica:function(retorno){try{if(retorno.data){retorno=retorno.data}if(retorno.variaveis){retorno=retorno.variaveis}if((retorno==="erro")||(typeof(retorno)==='undefined')){i3GEO.janela.fechaAguarde();i3GEO.mapa.recupera.inicia()}i3GEO.mapa.recupera.TENTATIVA=0}catch(e){if(i3GEO.Interface.ATUAL==="openlayers"||i3GEO.Interface.ATUAL==="googlemaps"){i3GEO.janela.fechaAguarde();return}if(this.recupera.TENTATIVA===0){i3GEO.janela.tempoMsg("Erro no mapa. Sera feita uma tentativa de recuperacao.");i3GEO.mapa.recupera.inicia()}else{i3GEO.janela.tempoMsg("Recuperacao impossivel. Sera feita uma tentativa de reiniciar o mapa.");if(this.recupera.TENTATIVA===1){this.recupera.TENTATIVA=2;i3GEO.php.reiniciaMapa(i3GEO.atualiza)}}}},recupera:{TENTATIVA:0,inicia:function(){i3GEO.janela.fechaAguarde();if(this.recupera&&this.recupera.TENTATIVA===0){this.recupera.TENTATIVA++;this.recupera.restaura()}},restaura:function(){i3GEO.php.recuperamapa(i3GEO.atualiza)}},legendaIMAGEM:{obtem:function(funcao){i3GEO.php.criaLegendaImagem(funcao)}},compactaLayerGrafico:function(){var geos=false,geometrias=[],n=0,i,g;if(i3GEO.editorOL&&i3GEO.desenho.layergrafico&&i3GEO.desenho.layergrafico.features){geos=i3GEO.desenho.layergrafico.features;n=geos.length;for(i=0;i<n;i++){g={"atributos":geos[i].attributes,"geometria":geos[i].geometry.toString()};geometrias.push(g)}}g=JSON.stringify(geometrias);return i3GEO.util.base64encode(g)},desCompactaLayerGrafico:function(geometrias){geometrias=JSON.parse(geometrias);if(geometrias.length>0){var inicia=function(){if(!i3GEO.desenho.layergrafico){i3GEO.editorOL.criaLayerGrafico()}i3GEO.editor[i3GEO.Interface.ATUAL].ativaPainel();var n=geometrias.length,i;for(i=0;i<n;i++){i3GEO.editorOL.adicionaFeatureWkt(geometrias[i].geometria,geometrias[i].atributos)}i3GEO.editorOL.sobeLayersGraficos()};if(!i3GEO.editorOL){i3GEO.util.scriptTag(i3GEO.configura.locaplic+"/classesjs/compactados/classe_editorol_compacto.js",inicia,"editorol.js",true)}}},restauraGraficos:function(graficos){if(graficos.length>0){var inicia=function(){i3GEOF.graficointerativo1.restauraGraficos(graficos)};i3GEO.util.scriptTag(i3GEO.configura.locaplic+"/ferramentas/graficointerativo1/dependencias.php",inicia,"graficointerativo1",true)}},restauraTabelas:function(tabelas){if(tabelas.length>0){var inicia=function(){i3GEOF.tabela.restauraTabelas(tabelas)};i3GEO.util.scriptTag(i3GEO.configura.locaplic+"/ferramentas/tabela/dependencias.php",inicia,"tabela",true)}},aplicaPreferencias:function(cookies){var props,nprops,i,temp=[],pint;if(!cookies){cookies=i3GEO.util.pegaDadosLocal("preferenciasDoI3Geo")}if(cookies){props=cookies.split("::");nprops=props.length;for(i=0;i<nprops;i++){try{temp=props[i].split("|");pint=parseInt(temp[1],10);if(temp[1]==='true'||temp[1]==='false'){if(temp[1]==='true'){temp[1]=true}if(temp[1]==='false'){temp[1]=false}eval(temp[0]+" = "+temp[1]+";")}else if(pint+"px"==temp[1]){eval(temp[0]+" = '"+temp[1]+"';")}else if($.isNumeric(pint)){eval(temp[0]+" = "+temp[1]+";")}else{eval(temp[0]+" = '"+temp[1]+"';")}}catch(e){}}}},dialogo:{listaLayersWms:function(servico){i3GEO.janela.cria("400px","300px",i3GEO.configura.locaplic+"/ferramentas/conectarwms/listalayers.php?servico="+servico,"","","<div class='i3GeoTituloJanela'>"+$trad("a4")+"<a class=ajuda_usuario target=_blank href='"+i3GEO.configura.locaplic+"/ajuda_usuario.php?idcategoria=4&idajuda=28' ><b> </b></a></div>","i3GEO.conectarwms",false,"hd","","","",true)},wms:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.wms()","conectarwms","conectarwms","dependencias.php","i3GEOF.conectarwms.iniciaJanelaFlutuante()")},mascara:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.mascara()","mascara","mascara","dependencias.php","i3GEOF.mascara.iniciaJanelaFlutuante()")},html2canvas:function(obj){var temp=function(){i3GEOF.html2canvas.iniciaJanelaFlutuante(obj)};i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.html2canvas()","html2canvas","html2canvas","dependencias.php",temp)},wkt2layer:function(wkt,texto){var temp=function(){i3GEOF.wkt2layer.iniciaJanelaFlutuante(wkt,texto)};i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.wkt2layer()","wkt2layer","wkt2layer","dependencias.php",temp)},atalhosedicao:function(idtema){i3GEO.mapa.ativaTema(idtema);i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.atalhosedicao()","atalhosedicao","atalhosedicao","dependencias.php","i3GEOF.atalhosedicao.iniciaJanelaFlutuante()")},geolocal:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.geolocal()","geolocal","geolocal","dependencias.php","i3GEOF.geolocal.iniciaJanelaFlutuante()")},listaDeMapasBanco:function(idonde){if(idonde){i3GEO.guias.CONFIGURA["mapas"].click.call(this,idonde);return}if(i3GEO.guias.CONFIGURA["mapas"]){var temp,janela,id="listaMapa"+Math.random();janela=i3GEO.janela.cria("800px","500px",i3GEO.configura.locaplic+"/mapas/indexnomenu.php","","","<span class='i3GeoTituloJanelaBsNolink' ></span></div>",id)}else{window.open(i3GEO.configura.locaplic+"/rss/rssmapas.php","_blank")}},congelaMapa:function(){var url="",idjanela=i3GEO.util.generateId(),cabecalho=function(){},titulo,minimiza=function(){i3GEO.janela.minimiza(idjanela)};if(i3GEO.Interface.ATUAL==="openlayers"||i3GEO.Interface.ATUAL==="googlemaps"){url=i3GEO.configura.locaplic+"/ferramentas/congelamapa/openlayers3.php?g_sid="+i3GEO.configura.sid+"&ext="+i3GEO.util.extOSM2Geo(i3GEO.parametros.mapexten);titulo="<span class='i3GeoTituloJanelaBsNolink' ></span></div>";i3GEO.janela.cria("520px","370px",url,"","",titulo,idjanela,false,"hd",cabecalho,minimiza,"","","","",false,"","123")}},metaestat:function(largura,altura,topo,esquerda,Interface,conexao){var temp=function(){i3GEOF.metaestat.MULTIPARAMETROS=true;if(Interface){i3GEOF.metaestat.INTERFACE=Interface}if(conexao){i3GEOF.metaestat.CONEXAODEFAULT=conexao}i3GEOF.metaestat.INTERFACE="flutuante";i3GEOF.metaestat.principal.inicia(null,largura,altura,topo,esquerda)};i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.metaestat()","metaestat","metaestat","dependencias.php",temp)},metaestatListaMapas:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.metaestatListaMapas()","metaestat","listamapas","listamapas.js","i3GEOF.listamapas.iniciaJanelaFlutuante()")},preferencias:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.preferencias()","preferencias","preferencias")},locregiao:function(largura,altura,topo,esquerda){var temp=function(){i3GEOF.locregiao.iniciaDicionario(largura,altura,topo,esquerda)};i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.locregiao()","metaestat","locregiao","locregiao.js",temp)},filtraregiao:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.filtraregiao()","metaestat","locregiao","locregiao.js","i3GEOF.locregiao.abreComFiltro()")},filtraperiodo:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.filtraperiodo()","filtraperiodo","filtraperiodo","dependencias.php","i3GEOF.filtraperiodo.iniciaJanelaFlutuante()")},animacao:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.animacao()","animacao","animacao","dependencias.php","i3GEOF.animacao.start()")},opacidade:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.opacidademapa()","opacidademapa","opacidademapa","dependencias.php","i3GEOF.opacidademapa.start()")},t3d:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.t3d()","3d","t3d")},imprimir:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.imprimir()","imprimir","imprimir","dependencias.php","i3GEOF.imprimir.iniciaJanelaFlutuante()")},mostraExten:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.mostraExten()","mostraexten","mostraExten","dependencias.php","i3GEOF.mostraExten.iniciaJanelaFlutuante()")},outputformat:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.outputformat()","outputformat","outputformat","dependencias.php","i3GEOF.outputformat.iniciaJanelaFlutuante()")},autoredesenha:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.autoredesenha()","opcoes_autoredesenha","opcoesTempo","dependencias.php","i3GEOF.opcoesTempo.iniciaJanelaFlutuante()")},salvaMapa:function(){if(i3GEO.parametros===""){i3GEO.janela.tempoMsg("Essa opcao nao pode ser ativada. Consulte o administrador do sistema. Mapfile nao esta exposto.");return}i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.salvaMapa()","salvamapa","salvaMapa","dependencias.php","i3GEOF.salvaMapa.iniciaJanelaFlutuante()")},carregaMapa:function(){i3GEO.util.dialogoFerramenta("i3GEO.tema.dialogo.carregaMapa()","carregamapa","carregaMapa","dependencias.php","i3GEOF.carregaMapa.iniciaJanelaFlutuante()")},convertews:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.convertews()","convertews","converteMapaWS","dependencias.php","i3GEOF.converteMapaWS.iniciaJanelaFlutuante()")},convertekml:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.convertekml()","convertemapakml","converteMapaKml","dependencias.php","i3GEOF.converteMapaKml.iniciaJanelaFlutuante()")},queryMap:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.queryMap()","opcoes_querymap","opcoesQuery","dependencias.php","i3GEOF.opcoesQuery.iniciaJanelaFlutuante()")},template:function(){i3GEO.janela.cria("300px","400px",i3GEO.configura.locaplic+"/ferramentas/template/index.htm","","","<div class='i3GeoTituloJanela'>Template<a class=ajuda_usuario target=_blank href='"+i3GEO.configura.locaplic+"/ajuda_usuario.php?idcategoria=1&idajuda=8' ><b> </b></a></div>")},tamanho:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.tamanho()","opcoes_tamanho","opcoesTamanho","dependencias.php","i3GEOF.opcoesTamanho.iniciaJanelaFlutuante()")},tipoimagem:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.tipoimagem()","tipoimagem","tipoimagem","dependencias.php","i3GEOF.tipoimagem.iniciaJanelaFlutuante()")},corFundo:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.corFundo()","opcoes_fundo","opcoesFundo","dependencias.php","i3GEOF.opcoesFundo.iniciaJanelaFlutuante()")},opcoesEscala:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.opcoesEscala()","opcoes_escala","opcoesEscala","dependencias.php","i3GEOF.opcoesEscala.iniciaJanelaFlutuante()")},opcoesLegenda:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.opcoesLegenda()","opcoes_legenda","opcoesLegenda","dependencias.php","i3GEOF.opcoesLegenda.iniciaJanelaFlutuante()")},opcoesMapaRef:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.opcoesMapaRef()","opcoes_maparef","opcoesMaparef","dependencias.php","i3GEOF.opcoesMaparef.iniciaJanelaFlutuante()")},gradeCoord:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.gradeCoord()","gradecoord","gradeCoord","dependencias.php","i3GEOF.gradeCoord.iniciaJanelaFlutuante()")},cliqueTexto:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.cliqueTexto()","inseretxt","inseretxt","dependencias.php","i3GEOF.inseretxt.iniciaJanelaFlutuante()")},selecao:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.selecao()","selecao","selecao","dependencias.php","i3GEOF.selecao.iniciaJanelaFlutuante()")},cliquePonto:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.cliquePonto()","inserexy2","inserexy","dependencias.php","i3GEOF.inserexy.iniciaJanelaFlutuante()")},cliqueGrafico:function(){i3GEO.util.dialogoFerramenta("i3GEO.mapa.dialogo.cliqueGrafico()","inseregrafico","insereGrafico","dependencias.php","i3GEOF.insereGrafico.iniciaJanelaFlutuante()")},cliqueIdentificaDefault:function(x,y,tema){if(!x){x=objposicaocursor.ddx;y=objposicaocursor.ddy}var temp=function(){i3GEOF.identifica.start({"x":x,"y":y,"tema":tema})};if(typeof(i3GEOF.identifica)==='undefined'){var js=i3GEO.configura.locaplic+"/ferramentas/identifica/dependencias.php";i3GEO.util.scriptTag(js,temp,"i3GEOF.identifica_script")}else{temp()}},verificaTipDefault:function(x,y){if(i3GEO.mapa.BALAOATIVO==false){return}if(!x){x=objposicaocursor.ddx}if(!y){y=objposicaocursor.ddy}if(x===-1||y===-1||i3GEO.eventos.cliquePerm.ativo===false||i3GEO.eventos.cliquePerm.status===false){return}i3GEO.eventos.cliquePerm.status=false;var ntemas,etiquetas,j,temp;objposicaocursor.ddx=-1;objposicaocursor.ddy=-1;ntemas=i3GEO.arvoreDeCamadas.CAMADAS.length;etiquetas=false;for(j=0;j<ntemas;j+=1){if(i3GEO.arvoreDeCamadas.CAMADAS[j].etiquetas!==""||i3GEO.arvoreDeCamadas.CAMADAS[j].identifica=="SIM"){etiquetas=true}}if(etiquetas===false){return}if(i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.url!=""&&i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.templateModal==""){$.get(i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.url+"&xx="+x+"&yy="+y,function(data){i3GEO.janela.closeMsg(data)});return}if(i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.templateModal!=""){if(i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.url!=""){var temp=i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.url+"&xx="+x+"&yy="+y;temp=i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.templateModal.replace("{{{url}}}",temp);i3GEO.janela.closeMsg(temp)}else{i3GEO.janela.closeMsg(i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.templateModal)}return}var res=i3GEO.configura.ferramentas.identifica.resolution;var bdiv=document.createElement("div");bdiv.className="waitInfoWindow";bdiv.style.width=res+"px";bdiv.style.height=res+"px";bdiv.style.top=(res/2*-1)+"px";var b=new ol.Overlay({element:bdiv,stopEvent:true,autoPan:false,origem:"balao",autoPanAnimation:false,positioning:"center-center",position:i3GEO.util.projGeo2OSM(new ol.geom.Point([x,y])).getCoordinates()});i3geoOL.addOverlay(b);temp=function(retorno){i3geoOL.removeOverlay(b);i3GEO.mapa.montaTip(retorno,x,y)};i3GEO.php.identifica3(temp,x,y,res,"tip",i3GEO.configura.locaplic,i3GEO.configura.sid,"ligados",i3GEO.parametros.mapexten,"","sim")}},montaTip:function(retorno,xx,yy){var textCopy=[],textoSimples="",textoTempSimples="",x,y,temp,n,mostra,res,temas,ntemas,titulo,tips,j,ntips,r,ds,nds,s,configura=i3GEO.configura,wkts=[];i3GEO.eventos.cliquePerm.status=true;mostra=false;if(retorno.data){retorno=retorno.data;temp=retorno[0].xy.split(",");x=temp[0]*1;y=temp[1]*1}else{x=xx;y=yy;mostra=true;textoSimples=$trad("balaoVazio");wkt=[];if(i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.openTipNoData==false){mostra=false}}if(retorno!==""){res="";ntemas=0;temas=retorno;if(temas){ntemas=temas.length}for(j=0;j<ntemas;j+=1){titulo=temas[j].nome;textCopy.push(titulo);var temp1=[];$.each(temas[j].funcoesjs,function(key,value){if(value.tipo=="layer"){var parametros=[x,y,temas[j].tema];$.each(value.parametros,function(key1,value1){parametros.push(ds[s][value1].valor)});parametros="\""+parametros.join("\",\"")+"\"";temp1.push("<a class='toolTipBalaoFuncoes' href='javascript:void(0);' onclick='"+value.funcao+"("+parametros+")' >"+value.titulo+"</a><br>");if(value.script&&value.script!=""){i3GEO.util.scriptTag(value.script,"","funcaolayer"+value.funcao,false)}}});temp1=temp1.join(" ");var mais="<button style='margin: 2px;padding: 0px;vertical-align: middle;position: relative;top: -7px;' class='btn btn-default btn-xs' onclick=\"i3GEO.mapa.dialogo.cliqueIdentificaDefault("+x+","+y+",'"+temas[j].tema+"');return false;\" ><span style='opacity:0.5;vertical-align: middle;padding: 0px;' class='material-icons'>info</span></button>";if(ntemas==1){mais=""}titulo="<div class='toolTipBalaoTitulo'>"+mais+" <b>"+titulo+"</b><br>"+temp1+"</div>";tips=temas[j].resultado.todosItens;ntips=tips.length;ins="";textoTempSimples="";ds=temas[j].resultado.dados;if(ds!==" "&&ds[0]&&ds[0]!=" "){try{nds=ds.length;for(s=0;s<nds;s+=1){textoTempSimples+="<div class='toolTipBalaoTexto'>";for(r=0;r<ntips;r+=1){try{temp="";var alias=ds[s][tips[r]].alias;var valor=ds[s][tips[r]].valor;var link=ds[s][tips[r]].link;var img=ds[s][tips[r]].img;var estilo="tooltip-"+temas[j].tema;if(valor!==""&&link===""){temp+="<span class='"+estilo+"'><label>"+alias+": </label>"+valor+"</span><br>";textCopy.push(alias+":"+valor)}if(valor!==""&&link!==""){temp+="<span class='"+estilo+"'><label>"+alias+" : </label><a style='color:blue;cursor:pointer' target=_blanck href='"+link+"' >"+valor+"</a></span><br>";textCopy.push(alias+":"+valor)}if(img!==""){temp+=img+"<br>"}if(ds[s][tips[r]].tip.toLowerCase()==="sim"){textoTempSimples+=temp}mostra=true}catch(e){}}var temp1=[];$.each(temas[j].funcoesjs,function(key,value){if(value.tipo=="registro"){var parametros=[x,y,temas[j].tema];$.each(value.parametros,function(key1,value1){parametros.push(ds[s][value1].valor)});parametros="\""+parametros.join("\",\"")+"\"";temp1.push("<a class='toolTipBalaoFuncoes' href='javascript:void(0);' onclick='"+value.funcao+"("+parametros+")' >"+value.titulo+"</a><br>");if(value.script&&value.script!=""){i3GEO.util.scriptTag(value.script,"","funcaolayer"+value.funcao,false)}}});temp1=temp1.join(" ");textoTempSimples+=temp1+"</div>";if(ds[s].wkt&&ds[s].wkt.valor!=""){ds[s].tema=temas[j].tema;ds[s].titulo=titulo;wkts.push(ds[s])}}}catch(e){}}if(textoTempSimples!==""){textoSimples+=titulo+textoTempSimples}}if(mostra===true){if(i3GEO.Interface[i3GEO.Interface.ATUAL].BALAOPROP.modal==true){i3GEO.janela.closeMsg(textoSimples);return}else{i3GEO.Interface[i3GEO.Interface.ATUAL].balao(textoSimples,textCopy,x,y,true,wkts.length)}}}n=wkts.length;if(n>0){if(i3GEO.Interface.ATUAL!="openlayers"){return}i3GEO.desenho.openlayers.criaLayerGrafico();var g,format,f,idunico,c=i3GEO.desenho.layergrafico.getSource();format=new ol.format.WKT();for(r=0;r<n;r+=1){f=format.readFeatures(wkts[r].wkt.valor);f=f[0];f.setProperties({origem:"pin"});g=f.getGeometry();g=i3GEO.util.projGeo2OSM(g);f.setGeometry(g);f.setId(i3GEO.util.uid());i3GEO.editor.setStyleByTypeFeature(f);i3GEO.editor.sel.setPropertiesDefault(f);wkts[r].wkt="",f.setProperties({"fat":wkts[r]});c.addFeature(f)}}}};
260 260 //
261 261 //compactados/tema_compacto.js
262 262 if(typeof(i3GEO)==='undefined'){var i3GEO={}}i3GEO.tema={TEMPORIZADORESID:{},ativaFerramentas:function(camada){if(camada.ferramentas&&camada.ferramentas!=""){var f=camada.ferramentas;if(f.tme&&f.tme.auto&&f.tme.auto.toLowerCase()==="sim"){i3GEO.tema.dialogo.tme(camada.name)}if(f.storymap&&f.storymap.auto&&f.storymap.auto.toLowerCase()==="sim"){i3GEO.tema.dialogo.storymap(camada.name)}if(f.animagif&&f.animagif.auto&&f.animagif.auto.toLowerCase()==="sim"){i3GEO.tema.dialogo.animagif(camada.name)}}},exclui:function(tema,confirma){if(confirma&&confirma===true){i3GEO.janela.confirma($trad("removerDoMapa"),300,$trad("x14"),"",function(){i3GEO.tema.exclui(tema)});return}try{i3GEO.pluginI3geo.removeCamada(tema)}catch(r){}var excluir=[tema];var camada=i3GEO.arvoreDeCamadas.CAMADASINDEXADAS[tema];$.each(i3GEO.arvoreDeCamadas.CAMADAS,function(index,v){if((camada.group!=""&&camada.group==v.group)||camada.name==v.group){excluir.push(v.name)}});i3GEO.php.excluitema(function(){i3GEO.atualiza()},excluir);i3GEO.mapa.ativaTema();i3GEO.temaAtivo=""},fonte:function(tema,popup,link){i3GEO.mapa.ativaTema(tema);if(!link){link=i3GEO.configura.locaplic+"/ferramentas/abrefontemapfile.php?tema="+tema}if(!popup){window.open(link)}else{i3GEO.janela.cria((i3GEO.parametros.w/2)+25+"px",(i3GEO.parametros.h/2)+18+"px",link,"","","<div class='i3GeoTituloJanela'>Metadata</div>","metadata"+tema)}},sobe:function(tema){i3GEO.php.sobetema(function(retorno){i3GEO.atualiza(retorno);if(i3GEO.Interface.ATUAL==="openlayers"){i3GEO.Interface.openlayers.ordenaLayers()}},tema)},desce:function(tema){i3GEO.php.descetema(function(retorno){i3GEO.atualiza(retorno);if(i3GEO.Interface.ATUAL==="openlayers"){i3GEO.Interface.openlayers.ordenaLayers()}},tema)},zoom:function(tema){i3GEO.mapa.ativaTema(tema);i3GEO.php.zoomtema(i3GEO.atualiza,tema)},zoomsel:function(tema){i3GEO.mapa.ativaTema(tema);i3GEO.php.zoomsel(i3GEO.atualiza,tema)},limpasel:function(tema){i3GEO.mapa.ativaTema(tema);i3GEO.php.limpasel(function(retorno){i3GEO.atualiza(retorno);i3GEO.Interface.atualizaTema(retorno,tema)},tema)},mudatransp:function(idtema,valor){i3GEO.mapa.ativaTema(idtema);if(!valor){if($i("tr"+idtema)){valor=$i("tr"+idtema).value}}if(valor!==""){i3GEO.php.mudatransp(function(retorno){i3GEO.atualiza(retorno);i3GEO.Interface.atualizaTema(retorno,idtema)},idtema,valor)}else{i3GEO.janela.tempoMsg($trad("x16"))}},invertestatuslegenda:function(idtema){i3GEO.mapa.ativaTema(idtema);i3GEO.php.invertestatuslegenda(function(retorno){i3GEO.atualiza(retorno);i3GEO.arvoreDeCamadas.atualiza()},idtema)},alteracorclasse:function(idtema,idclasse,rgb,objImg){var w=25,h=25,temp;if(objImg&&objImg.style&&objImg.style.width){w=parseInt(objImg.style.width,10);h=parseInt(objImg.style.height,10)}i3GEO.mapa.ativaTema(idtema);temp=function(retorno){if(objImg){objImg.src=retorno.data}else{i3GEO.legenda.CAMADAS="";i3GEO.atualiza()}i3GEO.Interface.atualizaTema("",idtema)};i3GEO.php.aplicaCorClasseTema(temp,idtema,idclasse,rgb,w,h)},mudanome:function(idtema,valor){i3GEO.mapa.ativaTema(idtema);if(!valor){return}if(valor!==""){i3GEO.php.mudanome(i3GEO.atualiza,idtema,valor)}else{i3GEO.janela.tempoMsg($trad("x18"))}},copia:function(idtema){i3GEO.php.copiatema(i3GEO.atualiza,idtema)},contorno:function(idtema){var temp=function(){i3GEO.atualiza();i3GEO.Interface.atualizaTema("",idtema);i3GEO.arvoreDeCamadas.atualizaLegenda(idtema)};i3GEO.php.contorno(temp,idtema)},temporizador:function(idtema,tempo){var t;if(!tempo){if($i("temporizador"+idtema)){tempo=$i("temporizador"+idtema).value}else{tempo=0}}if(tempo!=""&&parseInt(tempo,10)>0){t=function(){if(!$i("arrastar_"+idtema)){delete(i3GEO.tema.TEMPORIZADORESID[idtema]);return}i3GEO.Interface.atualizaTema("",idtema)};i3GEO.tema.TEMPORIZADORESID[idtema]={tempo:tempo,idtemporizador:setInterval(t,parseInt(tempo,10)*1000)}}else{try{window.clearInterval(i3GEO.tema.TEMPORIZADORESID[idtema].idtemporizador);delete(i3GEO.tema.TEMPORIZADORESID[idtema])}catch(e){}}},cortina:{_cortinaCompose:"",_slide:"",start:function(obj,tema){var layer=i3geoOL.getLayersByName(tema)[0];if(i3GEO.tema.cortina._cortinaCompose==""){var a=layer.on('precompose',function(event){var ctx=event.context;var width=ctx.canvas.width*(obj.value/100);ctx.save();ctx.beginPath();ctx.rect(width,0,ctx.canvas.width-width,ctx.canvas.height);ctx.clip()});var b=layer.on('postcompose',function(event){var ctx=event.context;ctx.restore()});i3GEO.tema.cortina._cortinaCompose=[a,b];obj.addEventListener('input',function(){i3geoOL.render()},false)}},stop:function(){ol.Observable.unByKey(i3GEO.tema.cortina._cortinaCompose);i3GEO.tema.cortina._cortinaCompose="";i3geoOL.renderSync()}},dialogo:{animagif:function(tema){if(!tema){tema=""}var temp=function(){i3GEOF.animagif.iniciaJanelaFlutuante(tema)};i3GEO.util.dialogoFerramenta("i3GEO.tema.dialogo.animagif()","animagif","animagif","dependencias.php",temp)},storymap:function(tema){if(!tema){tema=""}var temp=function(){i3GEOF.storymap.iniciaJanelaFlutuante(tema)};i3GEO.util.dialogoFerramenta("i3GEO.tema.dialogo.storymap()","storymap","storymap","dependencias.php",temp)},tme:function(tema){if(!tema){tema=""}var temp=function(){i3GEOF.tme.iniciaJanelaFlutuante(tema)};i3GEO.util.dialogoFerramenta("i3GEO.tema.dialogo.tme()","tme","tme","dependencias.php",temp)},mostraWms:function(tema){i3GEO.janela.mensagemSimples(i3GEO.configura.locaplic+"/ogc.php?tema="+tema,"WMS url")},comentario:function(tema){i3GEO.janela.cria("530px","330px",i3GEO.configura.locaplic+"/ferramentas/comentarios/index.php?tema="+tema+"&g_sid="+i3GEO.configura.sid+"&locaplic="+i3GEO.configura.locaplic,"","","<img src='"+i3GEO.configura.locaplic+"/imagens/player_volta.png' style=cursor:pointer onclick='javascript:history.go(-1)'><span style=position:relative;top:-2px; > "+$trad("x19")+" "+tema+"</span><a class=ajuda_usuario target=_blank href='"+i3GEO.configura.locaplic+"/ajuda_usuario.php?idcategoria=7&idajuda=68' ><b> </b></a>","comentario"+Math.random())},mmscale:function(tema){i3GEO.mapa.ativaTema(tema);i3GEO.util.dialogoFerramenta("i3GEO.tema.dialogo.mmscale()","mmscale","mmscale","dependencias.php","i3GEOF.mmscale.iniciaJanelaFlutuante()")},atalhoscamada:function(tema){i3GEO.mapa.ativaTema(tema);i3GEO.util.dialogoFerramenta("i3GEO.tema.dialogo.atalhoscamada()","atalhoscamada","atalhoscamada","dependencias.php","i3GEOF.atalhoscamada.iniciaJanelaFlutuante()")},abreKml:function(tema,tipo){if(arguments.lenght===1){tipo="kml"}if(typeof(i3GEOF.converteKml)==='undefined'){i3GEO.util.scriptTag(i3GEO.configura.locaplic+"/ferramentas/convertekml/index.js","i3GEOF.converteKml.criaJanelaFlutuante('"+tema+"','"+tipo+"')","i3GEOF.converteKml_script")}else{i3GEOF.converteKml.criaJanelaFlutuante(tema,tipo)}},salvaMapfile:function(idtema){i3GEO.mapa.ativaTema(idtema);i3GEO.util.dialogoFerramenta("i3GEO.tema.dialogo.salvaMapfile()","salvamapfile","salvamapfile")},graficotema:function(idtema,propriedades){if(idtema&&idtema!=""){var t=i3GEO.arvoreDeCamadas.pegaTema(idtema);if(t.status<2){i3GEO.janela.tempoMsg($trad("deveLigada"));return}}i3GEO.mapa.ativaTema(idtema);var temp=function(){i3GEOF.graficoTema.iniciaJanelaFlutuante(propriedades)};i3GEO.util.dialogoFerramenta("i3GEO.tema.dialogo.graficotema()","graficotema","graficoTema","dependencias.php",temp)},toponimia:function(idtema){if(idtema&&idtema!=""){var t=i3GEO.arvoreDeCamadas.pegaTema(idtema);if(t.status<2){i3GEO.janela.tempoMsg($trad("deveLigada"));return}}i3GEO.mapa.ativaTema(idtema);i3GEO.util.dialogoFerramenta("i3GEO.tema.dialogo.toponimia()","toponimia","toponimia","dependencias.php","i3GEOF.toponimia.iniciaJanelaFlutuante()")},filtro:function(idtema,modoCalculadora,idRetorno){if(idtema&&idtema!=""){var t=i3GEO.arvoreDeCamadas.pegaTema(idtema);if(t.status<2){i3GEO.janela.tempoMsg($trad("deveLigada"));return}}i3GEO.mapa.ativaTema(idtema);var temp=function(){i3GEOF.filtro.iniciaJanelaFlutuante(modoCalculadora,idRetorno)};i3GEO.util.dialogoFerramenta("i3GEO.tema.dialogo.filtro()","filtro","filtro","dependencias.php",temp)},procuraratrib:function(idtema){i3GEO.mapa.ativaTema(idtema);i3GEO.util.dialogoFerramenta("i3GEO.tema.dialogo.procuraratrib()","busca","busca","dependencias.php","i3GEOF.busca.iniciaJanelaFlutuante()")},tabela:function(idtema){if(idtema&&idtema!=""){var t=i3GEO.arvoreDeCamadas.pegaTema(idtema);if(t.status<2){i3GEO.janela.tempoMsg($trad("deveLigada"));return}}i3GEO.mapa.ativaTema(idtema);i3GEO.util.dialogoFerramenta("i3GEO.tema.dialogo.tabela()","tabela","tabela","dependencias.php","i3GEOF.tabela.iniciaJanelaFlutuante()")},etiquetas:function(idtema){if(idtema&&idtema!=""){var t=i3GEO.arvoreDeCamadas.pegaTema(idtema);if(t.status<2){i3GEO.janela.tempoMsg($trad("deveLigada"));return}}i3GEO.mapa.ativaTema(idtema);i3GEO.util.dialogoFerramenta("i3GEO.tema.dialogo.etiquetas()","etiqueta","etiqueta","dependencias.php","i3GEOF.etiqueta.iniciaJanelaFlutuante()")},funcaojstip:function(){i3GEO.util.dialogoFerramenta("i3GEO.tema.dialogo.funcaojstip()","funcaojstip","funcaojstip","dependencias.php","i3GEOF.funcaojstip.iniciaJanelaFlutuante()")},editaLegenda:function(idtema){if(idtema&&idtema!=""){var t=i3GEO.arvoreDeCamadas.pegaTema(idtema);if(t.status<2){i3GEO.janela.tempoMsg($trad("deveLigada"));return}}i3GEO.mapa.ativaTema(idtema);i3GEO.util.dialogoFerramenta("i3GEO.tema.dialogo.editaLegenda()","legenda","legenda","dependencias.php","i3GEOF.legenda.iniciaJanelaFlutuante()")},editaClasseLegenda:function(idtema,idclasse){var t=i3GEO.arvoreDeCamadas.pegaTema(idtema);if(t.status<2){i3GEO.janela.tempoMsg($trad("deveLigada"));return}i3GEO.mapa.ativaTema(idtema);var temp=function(){i3GEOF.legenda.aposIniciar=function(){i3GEOF.legenda.classe=0;i3GEOF.legenda.estilo=0;i3GEOF.legenda.editaSimbolo('i3GEOlegendaid_'+idtema+"-"+idclasse);i3GEOF.legenda.aposIniciar=function(){}};i3GEOF.legenda.iniciaJanelaFlutuante(idtema)};i3GEO.util.dialogoFerramenta("i3GEO.tema.dialogo.editaLegenda()","legenda","legenda","dependencias.php",temp)},download:function(idtema){i3GEO.mapa.ativaTema(idtema);i3GEO.util.dialogoFerramenta("i3GEO.tema.dialogo.download()","download","download")},ogcwindow:function(idtema){i3GEO.mapa.ativaTema(idtema);window.open(i3GEO.configura.locaplic+"/ogc.htm?temaOgc="+idtema)},sld:function(idtema){i3GEO.mapa.ativaTema(idtema);i3GEO.janela.cria("500px","350px",i3GEO.configura.locaplic+"/classesphp/mapa_controle.php?funcao=tema2sld&tema="+idtema+"&g_sid="+i3GEO.configura.sid,"","","<div class='i3GeoTituloJanela'>SLD<a class=ajuda_usuario target=_blank href='"+i3GEO.configura.locaplic+"/ajuda_usuario.php?idcategoria=5&idajuda=41' ><b> </b></a></div>")},aplicarsld:function(idtema){i3GEO.mapa.ativaTema(idtema);i3GEO.util.dialogoFerramenta("i3GEO.tema.dialogo.aplicarsld()","aplicarsld","aplicarsld","dependencias.php","i3GEOF.aplicarsld.iniciaJanelaFlutuante()")},editorsql:function(idtema){i3GEO.mapa.ativaTema(idtema);i3GEO.util.dialogoFerramenta("i3GEO.tema.dialogo.editorsql()","editorsql","editorsql","dependencias.php","i3GEOF.editorsql.iniciaJanelaFlutuante()")},mudanome:function(idtema){i3GEO.mapa.ativaTema(idtema);var temp=function(){var valor=$i("i3GEOjanelaprompt").value;i3GEO.tema.mudanome(idtema,valor)};i3GEO.janela.prompt($trad("novonome"),temp)}}};
... ... @@ -277,7 +277,7 @@ if(typeof(i3GEO)===&#39;undefined&#39;){var i3GEO={}}YAHOO.namespace(&quot;i3GEO.janela&quot;);YAH
277 277 if(typeof(i3GEO)==='undefined'){var i3GEO={}}i3GEO.guias={LARGURAGUIAMOVEL:350,CONFIGURA:{"zoomanterior":{icone:"imagens/gisicons/zoom-last.png",titulo:"",id:"guiaZoomanterior",idconteudo:"",click:function(){i3GEO.navega.extensaoAnterior()}},"zoomli":{icone:"imagens/gisicons/zoom-region.png",titulo:$trad("d3"),id:"guiaZoomli",idconteudo:"",click:function(){if(DetectaMobile("DetectMobileLong")){i3GEO.janela.tempoMsg($trad("x70"))}else{i3GEO.janela.tempoMsg($trad("x69"))}if(i3GEO.Interface.ATUAL==="googlemaps"){i3GeoMap.setOptions({draggable:true})}}},"zoomproximo":{icone:"imagens/gisicons/zoom-next.png",titulo:"",id:"guiaZoomproximo",idconteudo:"",click:function(){i3GEO.navega.extensaoProximo()}},"zoomtot":{icone:"imagens/gisicons/zoom-extent.png",titulo:$trad("d2"),id:"guiaZoomtot",idconteudo:"",click:function(){if(i3GEO.Interface.ATUAL==="openlayers"){i3GEO.Interface.openlayers.zoom2ext(i3GEO.parametros.extentTotal);return}if(i3GEO.Interface.ATUAL==="googlemaps"){i3GEO.Interface.googlemaps.zoom2extent(i3GEO.parametros.extentTotal);return}}},"identificaBalao":{icone:"imagens/gisicons/tips.png",titulo:$trad("d7a"),id:"guiaIdentificaBalao",idconteudo:"",click:function(){i3GEO.mapa.ativaIdentificaBalao()}},"identifica":{icone:"imagens/gisicons/pointer-info.png",titulo:$trad("d7"),id:"guiaIdentifica",idconteudo:"",click:function(){i3GEO.mapa.ativaIdentifica()}},"mapas":{icone:"imagens/gisicons/show-links.png",titulo:"Links",id:"guia5",idconteudo:"guia5obj",mostraLink:function(id,url){$i("i3geoMapasLink_"+id).innerHTML="<a href='"+url+"' target=_blank >"+$trad("abreMapa")+"</a>"},click:function(onde){if(!onde){onde=i3GEO.guias.CONFIGURA.mapas.idconteudo}var pegaMapas=function(retorno){var ins,mapa,ig1lt,ig1,nome,lkd,link,temp,combo,urlinterface;ins="<br><div id='banners' style='overflow:auto;text-align:center'>";ins+="<br>";mapa=retorno.data.mapas;ig1lt=mapa.length;ig1=0;urlinterface=window.location.origin+window.location.pathname;if(ig1lt>0){do{temp=mapa[ig1];nome=temp.NOME;if(temp.PUBLICADO){if(temp.PUBLICADO.toLowerCase()==="nao"){nome="<s>"+nome+"</s>"}}lkd=temp.LINK;link=i3GEO.configura.locaplic+"/ms_criamapa.php?temasa="+temp.TEMAS+"&layers="+temp.LIGADOS;if(temp.EXTENSAO!==""){link+="&mapext="+temp.EXTENSAO}if(temp.OUTROS!==""){link+="&"+temp.OUTROS}if(lkd!==""){link=lkd}ins+="<div style='cursor:pointer; height: 120px;float: left;width:45%;background-color:white;padding:5px;margin:5px;border: 1px solid #F0F0F0;border-radius: 5px;box-shadow: 1px 1px 1px 1px #D3D3D3;' >";if(temp.IMAGEM&&temp.IMAGEM!=""){ins+="<div style='float:left;margin:2px' ><a href='"+link+"' style=text-align:center;text-decoration:none; >"+"<img src='"+temp.IMAGEM+"'></a></div>"}nome+=" ("+temp.ID_MAPA+")";if(temp.CONTEMMAPFILE=="nao"){ins+="<div class=paragrafo style='text-align:left;'>"+"<a href='"+link+"' style=text-align:left;text-decoration:none; >"+nome+"</a></div>"}else{combo="<select style='width:170px;' onchange='i3GEO.guias.CONFIGURA.mapas.mostraLink("+ig1+",this.value)'>"+"<option value=''>"+$trad("x103")+":</option>"+"<option value='"+link+"'>Como foi salvo</option>"+"<option value='"+link+"&interface="+urlinterface+"'>Com a interface atual</option>"+"<option value='"+i3GEO.configura.locaplic+"/mashups/openlayers.php?numzoomlevels=18&restauramapa="+temp.ID_MAPA+"&fundo=e_wsm'>Openlayers com todos os botoes</option>"+"<option value='"+i3GEO.configura.locaplic+"/mashups/openlayers.php?numzoomlevels=18&restauramapa="+temp.ID_MAPA+"&fundo=est_wms'>Sem o fundo</option>"+"<option value='"+i3GEO.configura.locaplic+"/mashups/openlayers.php?numzoomlevels=18&restauramapa="+temp.ID_MAPA+"&fundo=e_wsm&botoes=legenda pan zoombox zoomtot zoomin zoomout distancia area identifica'>Com botoes principais</option>"+"<option value='"+i3GEO.configura.locaplic+"/mashups/osm.php?numzoomlevels=18&restauramapa="+temp.ID_MAPA+"&fundo=e_wsm&botoes=legenda pan zoombox zoomtot zoomin zoomout distancia area identifica'>Com botoes principais e OSM</option>"+"<option value='"+i3GEO.configura.locaplic+"/mashups/openlayers.php?numzoomlevels=18&restauramapa="+temp.ID_MAPA+"&botoes=legenda pan zoombox zoomtot zoomin zoomout'>Botoes de navegacao</option>"+"</select>";ins+="<div style='float:left;margin:2px'>"+"<img src='"+i3GEO.configura.locaplic+"/ferramentas/salvamapa/geraminiatura.php?w=100&h=67&restauramapa="+temp.ID_MAPA+"'></div><div class=paragrafo style='text-align:left;'><a href='"+link+"' style=text-align:center;text-decoration:none; >"+nome+"</a></div>"+combo+"<br><div style='cursor:pointer;' id='i3geoMapasLink_"+ig1+"' ></div>"}ins+="</div>";ig1++}while(ig1<ig1lt)}$i(onde).innerHTML=ins+"</div>"};if($i(i3GEO.guias.CONFIGURA.mapas.idconteudo)){$i(i3GEO.guias.CONFIGURA.mapas.idconteudo).innerHTML="Aguarde..."}i3GEO.php.pegaMapas(pegaMapas);i3GEO.navega.removeCookieExtensao()}},"dobraPagina":{icone:"imagens/googlemaps.png",titulo:$trad("trocaInterface"),id:"guia6",idconteudo:"",inicializa:function(){if(i3GEO.Interface.ATUAL==="googlemaps"){i3GEO.guias.CONFIGURA.dobraPagina.icone="imagens/openlayers.png"}else{i3GEO.guias.CONFIGURA.dobraPagina.icone="imagens/googlemaps.png"}},click:function(){i3GEO.Interface.atual2gm.insereIcone=false;i3GEO.Interface.atual2ol.insereIcone=false;if(i3GEO.Interface.ATUAL==="googlemaps"){if(typeof i3GeoMap.getStreetView!="undefined"){if(i3GeoMap.getStreetView().getVisible()===true){i3GeoMap.getStreetView().setVisible(false)}}i3GEO.Interface.atual2ol.inicia();i3GEO.guias.CONFIGURA.dobraPagina.icone="imagens/googlemaps.png"}if(i3GEO.Interface.ATUAL==="openlayers"){i3GEO.Interface.atual2gm.inicia();i3GEO.guias.CONFIGURA.dobraPagina.icone="imagens/openlayers.png"}$i("iconeTrocaInterface").src=i3GEO.configura.locaplic+"/"+i3GEO.guias.CONFIGURA.dobraPagina.icone}},"buscaRapida":{icone:"imagens/gisicons/search.png",titulo:"",id:"guia7",idconteudo:"guia7obj",idBuscaRapida:"buscaRapidaGuia",click:function(obj){var f=i3GEO.guias.CONFIGURA.buscaRapida;obj=$(obj);if(obj.attr("data-idconteudo")!=undefined){f.idconteudo=obj.attr("data-idconteudo")}}},"legenda":{icone:"imagens/legenda.png",titulo:$trad("g3"),id:"guia4",idconteudo:"guia4obj",idLegenda:"legendaHtml",click:function(obj){var f=i3GEO.guias.CONFIGURA.legenda;obj=$(obj);if(obj.attr("data-idLegenda")!=undefined){f.idLegenda=obj.attr("data-idLegenda")}if($i(f.idLegenda)){$i(f.idLegenda).style.display="block";i3GEO.legenda.CAMADAS="";i3GEO.legenda.inicia({"idLegenda":f.idLegenda,"templateLegenda":$("#"+f.idLegenda).attr("data-template"),"janela":false})}}},"temas":{icone:"imagens/layer.png",titulo:$trad("g4a"),id:"guia1",idconteudo:"guia1obj",idListaDeCamadas:"listaTemas",idListaFundo:"listaFundo",idListaLayersGr:"listaLayersGr",verificaAbrangencia:"",click:function(obj){var f=i3GEO.guias.CONFIGURA.temas;obj=$(obj);if(obj.attr("data-verificaAbrangencia")!=undefined){f.verificaAbrangencia=obj.attr("data-verificaAbrangencia")}if(obj.attr("data-idconteudo")!=undefined){f.idconteudo=obj.attr("data-idconteudo")}if(obj.attr("data-idListaDeCamadas")!=undefined){f.idListaDeCamadas=obj.attr("data-idListaDeCamadas")}if(obj.attr("data-idListaFundo")!=undefined){f.idListaFundo=obj.attr("data-idListaFundo")}if(obj.attr("data-idListaLayersGr")!=undefined){f.idListaLayersGr=obj.attr("data-idListaLayersGr")}if($("#"+obj.attr("data-idListaFundo")).attr("data-idTemplateCamada")!=undefined){f.idTemplateCamadaFundo=$("#"+obj.attr("data-idListaFundo")).attr("data-idTemplateCamada")}if($i(f.idListaDeCamadas)){i3GEO.arvoreDeCamadas.inicia({"idOnde":f.idListaDeCamadas,"templateCamada":$("#"+f.idListaDeCamadas).attr("data-template"),"idListaFundo":f.idListaFundo,"templateCamadaFundo":$("#"+f.idListaFundo).attr("data-template"),"idListaLayersGr":f.idListaLayersGr,"templateCamadaGr":$("#"+f.idListaLayersGr).attr("data-template"),"verificaAbrangencia":f.verificaAbrangencia})}}},"adiciona":{icone:"imagens/catalogo.png",titulo:$trad("g1a"),id:"guia2",idconteudo:"guia2obj",idMenus:"catalogoMenus",idCatalogo:"catalogoPrincipal",idNavegacao:"catalogoNavegacao",idMigalha:"catalogoMigalha",click:function(obj){var f=i3GEO.guias.CONFIGURA.adiciona;if($(obj).attr("data-idconteudo")!=undefined){f.idconteudo=$(obj).attr("data-idconteudo")}if($(obj).attr("data-idMenus")!=undefined){f.idMenus=$(obj).attr("data-idMenus")}if($(obj).attr("data-idCatalogo")!=undefined){f.idCatalogo=$(obj).attr("data-idCatalogo")}if($(obj).attr("data-idNavegacao")!=undefined){f.idNavegacao=$(obj).attr("data-idNavegacao")}if($(obj).attr("data-idMigalha")!=undefined){f.idMigalha=$(obj).attr("data-idMigalha")}if($(obj).attr("data-folderFirst")!=undefined){f.folderFirst=$(obj).attr("data-folderFirst")}else{f.folderFirst="false"}var ondeMenus=$("#"+f.idMenus);i3GEO.catalogoMenus.listaMenus({"templateDir":ondeMenus.attr("data-templateDir"),"templateTema":ondeMenus.attr("data-templateTema"),"idOndeMenus":f.idMenus,"idCatalogoPrincipal":f.idCatalogo,"idCatalogoNavegacao":f.idNavegacao,"idOndeMigalha":f.idMigalha,"folderFirst":f.folderFirst})}},"ferramentas":{icone:"imagens/gisicons/tools.png",titulo:$trad("u15a"),id:"guia8",idconteudo:"guia8obj",idLista:"listaFerramentas",idMigalha:"migalhaFerramentas",idLinks:"listaFerramentasLinks",status:false,click:function(obj){if($(obj).attr("data-idconteudo")!=undefined){i3GEO.guias.CONFIGURA.ferramentas.idconteudo=$(obj).attr("data-idconteudo")}if($(obj).attr("data-idLista")!=undefined){i3GEO.guias.CONFIGURA.ferramentas.idLista=$(obj).attr("data-idLista")}if($(obj).attr("data-idMigalha")!=undefined){i3GEO.guias.CONFIGURA.ferramentas.idMigalha=$(obj).attr("data-idMigalha")}if($(obj).attr("data-idLinks")!=undefined){i3GEO.guias.CONFIGURA.ferramentas.idLinks=$(obj).attr("data-idLinks")}if(i3GEO.util.checaHtmlVazio(i3GEO.guias.CONFIGURA.ferramentas.idLista)==false||i3GEO.util.checaHtmlVazio(i3GEO.guias.CONFIGURA.ferramentas.idLinks)==false){return}var f=i3GEO.guias.CONFIGURA.ferramentas;i3GEO.caixaDeFerramentas.inicia({"idOndeFolder":$("#"+f.idLista),"idOndeLinks":$("#"+f.idLinks),"idOndeMigalha":f.idMigalha,"templateFolder":$("#"+f.idLista).attr("data-template"),"templateMigalha":$("#"+f.idMigalha).attr("data-template"),"templateLinks":$("#"+f.idLinks).attr("data-template")})}}},ajustaAltura:function(){var guia,guias,nguias,temp,temps,n,i,g,altura=0;guias=i3GEO.util.listaChaves(i3GEO.guias.CONFIGURA);nguias=guias.length;for(g=0;g<nguias;g++){guia=$i(this.CONFIGURA[guias[g]].idconteudo);if(guia){guia.style.overflow="auto";if(!guia.style.height){guia.style.height=i3GEO.parametros.h+"px"}}}},escondeGuias:function(){var guias,nguias,g,temp,attributes,anim;guias=i3GEO.util.listaChaves(i3GEO.guias.CONFIGURA);nguias=guias.length;for(g=0;g<nguias;g++){temp=$i(this.CONFIGURA[guias[g]].idconteudo);if(temp){temp.style.display="none"}}$("#i3GEOguiaMovelConteudo").css("display","none")},mostra:function(guia){if(i3GEO.Interface.ATUAL==="googlemaps"){if(typeof i3GeoMap.getStreetView!="undefined"){i3GeoMap.getStreetView().setVisible(false)}}var guias,nguias,g,temp,attributes,anim;guias=i3GEO.util.listaChaves(i3GEO.guias.CONFIGURA);nguias=guias.length;if(!$i(i3GEO.guias.CONFIGURA[guia].idconteudo)){return}if(i3GEO.guias.CONFIGURA[guia]){temp=$i(i3GEO.guias.CONFIGURA[guia].idconteudo);if(temp){temp.style.display="block";$("#i3GEOguiaMovelMolde,#i3GEOguiaMovelConteudo").css("display","block")}}},inicia:function(){if($i("i3GEOguiaMovel")){i3GEO.guias.LARGURAGUIAMOVEL=parseInt($("#i3GEOguiaMovel").css("width"),10)}if(!$i("i3GEOguiaMovelMolde").style.height||$i("i3GEOguiaMovelMolde").style.height==""){$("#i3GEOguiaMovelMolde,#i3GEOguiaMovelConteudo").css("height",i3GEO.parametros.h+"px")}if(i3GEO.guias.LARGURAGUIAMOVEL>i3GEO.parametros.w){i3GEO.guias.LARGURAGUIAMOVEL=i3GEO.parametros.w}},ativa:function(chave,obj){if(i3GEO.guias.LARGURAGUIAMOVEL>i3GEO.parametros.w){i3GEO.guias.LARGURAGUIAMOVEL=i3GEO.parametros.w}var f="";if(!$i(i3GEO.guias.CONFIGURA[chave].idconteudo)){f=i3GEO.guias.CONFIGURA[chave].click.apply(f,[obj]);return}i3GEO.guias.escondeGuias();i3GEO.guias.abreFecha("abre",chave);if(i3GEO.guias.CONFIGURA[chave].click){f=i3GEO.guias.CONFIGURA[chave].click.apply(f,[obj])}},abreFecha:function(forca,chave){var molde=$("#i3GEOguiaMovelMolde");if(!forca){if(parseInt(molde.css("width"),10)<=10){forca="abre"}else{forca="fecha"}}if(forca==="fecha"){i3GEO.guias.escondeGuias();molde.animate({"width":"-10px"},400)}else{var temp=function(){i3GEO.guias.mostra(chave)};molde.animate({"width":i3GEO.guias.LARGURAGUIAMOVEL+"px"},{duration:400,always:temp})}},mostraGuiaFerramenta:function(guia,namespace){var g,Dom=YAHOO.util.Dom;if(!namespace){namespace="guia"}for(g=0;g<12;g++){Dom.setStyle(namespace+g+"obj","display","none")}if(guia!=""){Dom.setStyle(guia+"obj","display","block")}},escondeGuiasFerramenta:function(namespace){i3GEO.guias.mostraGuiaFerramenta("",namespace)},ajustaGuiaFerramenta:function(){}};
278 278 //
279 279 //compactados/arvoredecamadas_compacto.js
280   -if(typeof(i3GEO)==='undefined'){var i3GEO={}}i3GEO.arvoreDeCamadas={FUNCOES:{farolescala:true,excluir:true,sobe:true,desce:true,fonte:true,zoomtema:true,compartilhar:true,opacidade:true,mudanome:true,procurar:true,toponimia:true,etiquetas:true,filtrar:true,tabela:true,grafico:true,editorlegenda:true,destacar:true,cortina:true,sql:true,comentar:true,temporizador:true,wms:true,tme:true,copia:true,storymap:true,animagif:true},CAMADAS:"",FILTRO:"",CAMADASINDEXADAS:[],config:{"idOnde":"listaTemas","aposIniciar":"","templateCamada":"templates/camada.html","idListaFundo":"","templateCamadaFundo":"templates/camadaFundo.html","idListaLayersGr":"","templateCamadaGr":"templates/camadaGr.html","verificaAbrangencia":""},carregaTemplates:function(){var t1=i3GEO.arvoreDeCamadas.config.templateCamada,t2=i3GEO.arvoreDeCamadas.config.templateCamadaFundo,t3=i3GEO.arvoreDeCamadas.config.templateCamadaGr;$.ajax(t1).always(function(r1){i3GEO.template.camada=r1;if(r1.status){i3GEO.template.camada=""}$.ajax(t2).always(function(r2){i3GEO.template.camadaFundo=r2;if(r2.status){i3GEO.template.camadaFundo=""}$.ajax(t3).always(function(r3){i3GEO.template.camadaGr=r3;if(r3.status){i3GEO.template.camadaGr=""}i3GEO.arvoreDeCamadas.inicia()})})})},inicia:function(config){if(config){$.each(config,function(i,v){if(v!=undefined){i3GEO.arvoreDeCamadas.config[i]=v}})}if(!i3GEO.template.camada||!i3GEO.template.camadaFundo){i3GEO.arvoreDeCamadas.carregaTemplates();return}else{config=i3GEO.arvoreDeCamadas.config;var novoel,temp;i3GEO.arvoreDeCamadas.atualiza(i3GEO.arvoreDeCamadas.CAMADAS);if(!$i(config.idOnde)){return}if(config.verificaAbrangencia!=""){i3GEO.eventos.adicionaEventos("NAVEGAMAPA",["i3GEO.arvoreDeCamadas.verificaAbrangenciaTemas()"])}if(config.aposIniciar!==""){if(jQuery.isFunction(config.aposIniciar)){config.aposIniciar.call()}}}},adicionaLayersGr:function(){if(i3GEO.Interface.ATUAL!="openlayers"){return}var temp=$i(i3GEO.arvoreDeCamadas.config.idListaLayersGr),layers=i3geoOL.getLayersGr(),lista=[],camada={};if(temp){$.each(layers,function(i,layer){var p=layer.getProperties();camada={...i3GEO.idioma.OBJETOIDIOMA};camada.name=p.name;camada.tema=p.title;camada.locaplic=i3GEO.configura.locaplic;if(layer.getVisible()==true){camada.checked="checked"}else{camada.checked=""}lista.push(camada)});var t=Mustache.render("{{#data}}"+i3GEO.template.camadaGr+"{{/data}}",{"data":lista});$(temp).html(t)}},verifyFilter:function(camada){var f=i3GEO.arvoreDeCamadas.FILTRO;if(f==""){return true}var mostra=true;if(f==="desligados"&&camada.status!=0){mostra=false}if(f==="ligados"&&camada.status==0){mostra=false}if(f==="selecionados"&&camada.sel.toLowerCase()!=="sim"){mostra=false}if(f==="download"&&camada.download.toLowerCase()!=="sim"){mostra=false}if(f==="wms"&&camada.connectiontype*1!==7){mostra=false}if(f==="raster"&&camada.type*1!==3){mostra=false}if(f==="toponimia"&&camada.type*1!==4){mostra=false}return mostra},atualiza:function(temas,forca){if(i3GEO.template.camada==undefined||i3GEO.template.camada==false){return}if(arguments.length===0){temas=i3GEO.arvoreDeCamadas.CAMADAS;i3GEO.arvoreDeCamadas.CAMADAS="";forca=false}var clone=[],camada={},config=i3GEO.arvoreDeCamadas.config,temp;temp=$i(config.idOnde);if(temp){if(forca===true){temp.innerHTML=""}if(temp.innerHTML!==""){if(i3GEO.arvoreDeCamadas.comparaTemas(temas,i3GEO.arvoreDeCamadas.CAMADAS)){i3GEO.arvoreDeCamadas.CAMADAS=temas;return}}}i3GEO.arvoreDeCamadas.CAMADAS=temas;i3GEO.arvoreDeCamadas.CAMADASINDEXADAS=[];$.each(i3GEO.arvoreDeCamadas.CAMADAS,function(i,tema){var mostra=true;i3GEO.pluginI3geo.aplicaPropriedades(tema);camada={};camada.name=tema.name;camada.tema=tema.tema;if(tema.status!=0){camada.checked="checked"}else{camada.checked=""}if(tema.sel&&tema.sel.toLowerCase()==="sim"){camada.classeCss="camadaSelecionada"}else{camada.classeCss=""}if(temp&&i3GEO.arvoreDeCamadas.FILTRO!==""){mostra=i3GEO.arvoreDeCamadas.verifyFilter(tema)}if(temp&&mostra==true){i3GEO.arvoreDeCamadas.montaIconesTema(tema,camada);i3GEO.arvoreDeCamadas.montaOpcoesTema(tema,camada);if(tema.iconetema!==""){camada.iconetema="<img class='i3GEOiconeTema' src='"+tema.iconetema+"' />"}if(tema.maxscaledenom&&(tema.maxscaledenom*1>i3GEO.parametros.mapscale*1&&tema.minscaledenom*1<i3GEO.parametros.mapscale*1)){camada.rangeScale="out";camada.rangeScaleMsg=$trad("rangeScaleMsg")}else{camada.rangeScale="in"}if(tema.escondido.toLowerCase()!=="sim"){clone.push(camada)}}i3GEO.arvoreDeCamadas.CAMADASINDEXADAS[camada.name]=tema});if(temp){var t=Mustache.render("{{#data}}"+i3GEO.template.camada+"{{/data}}",{"data":clone});$("#"+config.idOnde).html(t);$("#"+config.idOnde).sortable({scroll:false,axis:"y",revert:true,update:function(event,ui){var els=i3GEO.arvoreDeCamadas.listaLigadosDesligadosArvore(config.idOnde);var lista=els[2].join(",");var temp=function(retorno){i3GEO.atualiza(retorno);if(i3GEO.Interface.ATUAL==="openlayers"){i3GEO.Interface.openlayers.ordenaLayers()}i3GEO.arvoreDeCamadas.atualiza(i3GEO.arvoreDeCamadas.CAMADAS,true)};i3GEO.php.reordenatemas(temp,lista)}})}i3GEO.arvoreDeCamadas.adicionaCamadasDeFundo(config);i3GEO.arvoreDeCamadas.adicionaLayersGr();i3GEO.eventos.executaEventos(i3GEO.eventos.ATUALIZAARVORECAMADAS)},adicionaCamadasDeFundo:function(config){if(i3GEO.Interface.ATUAL=="openlayers"){var temp=temp=$i(config.idOnde);if(temp&&$("#"+config.idListaFundo).html()==""){clone=[];$.each(i3GEO.Interface.openlayers.LAYERSADICIONAIS,function(i,layer){camada={};temp=layer.getProperties();camada.name="camadaDeFundo";if(temp.preview){camada.preview=temp.preview}else{camada.preview=""}camada.value=temp.name;camada.title=temp.title;if(temp.visible===true){camada.checked="checked"}else{camada.checked=""}clone.push(camada)});var t=Mustache.to_html("{{#data}}"+i3GEO.template.camadaFundo+"{{/data}}",{"data":clone});$("#"+config.idListaFundo).html(t);$("#"+config.idListaFundo+" label").tooltip({animation:false,trigger:"hover",placement:"auto",html:true,template:"<div class='tooltip ' ><div class='tooltip-inner'></div></div>"});$.each(clone,function(i,v){var slide=$i("slideFundo"+v.value);noUiSlider.create(slide,{connect:"lower",start:[100],range:{'min':[0],'max':[100]},name:v.value});slide.noUiSlider.on('update',function(values,handle){i3GEO.Interface.aplicaOpacidade(values[0]*1,this.options.name)})})}}},ligaDesligaTemas:function(lista,status){},atualizaLegenda:function(idtema){},montaTextoTema:function(tema){if(i3GEO.tema.TEMPORIZADORESID[tema.name]==undefined&&tema.temporizador!=""){i3GEO.tema.temporizador(tema.name,tema.temporizador)}return(html)},montaOpcoesTema:function(temaObj,camada){vetor="hidden";if((temaObj.type<3)&&(temaObj.connectiontype!==7)){vetor=""}camada.isnotvetor=vetor;camada.ferramentasTexto=$trad("u15a");camada.ferramentasTitle=$trad("ferramCamadas");camada.removerTexto=$trad("t12");camada.removerTitle=$trad("t12a");camada.sobeTexto=$trad("t13");camada.sobeTitle=$trad("t14");camada.desceTexto=$trad("t15");camada.desceTitle=$trad("t16");camada.tabelaTexto=$trad("tabela");camada.tabelaTitle=$trad("t30");camada.limpaselTexto=$trad("t4");camada.zoomSelTexto=$trad("t4a");camada.linkTexto=$trad("a9");camada.editorlegendaTexto=$trad("t33");camada.procurarTexto=$trad("t23");camada.topoTexto=$trad("t25");camada.etiquetasTexto=$trad("t27");camada.filtroTexto=$trad("t29");camada.selecaoTexto=$trad("x51");camada.graficoTexto=$trad("t37");camada.wmsTexto="WMS-OGC";camada.tmeTexto=$trad("t49");camada.topoTexto=$trad("x56");camada.nomeCamada=camada.tema;camada.opaCamada=camada.transparency;camada.editorlegendaTexto=$trad("t33");camada.coresTexto=$trad("esquemadecores");camada.copiaTexto=$trad("copiaCamada");camada.contornoTexto=$trad("contorno");camada.opacidade=$trad("t20");camada.cortina=$trad("t42");camada.opaCamada=temaObj.transparency;if(temaObj.zoomtema.toLowerCase()==="sim"){camada.zoomtemaTexto=$trad("t17");camada.zoomtemaTitle=$trad("t18")}else{camada.zoomtema="hidden"}if(temaObj.sel.toLowerCase()==="sim"){camada.selTexto=$trad("t5");camada.selTitle=$trad("t4")}else{camada.sel="hidden"}if(temaObj.sel.toLowerCase()==="sim"){camada.zoomSelTexto=$trad("t4a")}else{camada.zoomsel="hidden"}if(temaObj.link_tema!=""&&temaObj.features.toLowerCase()!=="sim"&&temaObj.name!="mundo"){camada.linkTexto=$trad("a9");camada.linkTitle=$trad("a9")}else{camada.link="hidden"}if(temaObj.download.toLowerCase()==="sim"||temaObj.download===""&&temaObj.features.toLowerCase()!=="sim"){camada.downloadTexto="Download";camada.downloadTitle=$trad("t6")}else{camada.download="hidden"}if(temaObj.permiteogc.toLowerCase()==="sim"){camada.permiteogcTexto="OGC"}else{camada.permiteogc="hidden"}return camada},montaIconesTema:function(temaObj,camada){camada.farol="hidden";if(temaObj.escala!=0){if(temaObj.escala*1<i3GEO.parametros.mapscale*1){camada.farol="green";camada.farolTitle=$trad("t9")}if(temaObj.escala*1>i3GEO.parametros.mapscale*1){camada.farol="red";camada.farolTitle=$trad("t10")}if(temaObj.escala===0){camada.farol="yellow";camada.farolTitle=$trad("t11")}}if(temaObj.contextoescala.toLowerCase()==="sim"){camada.contextoescala="";camada.contextoescalaTitle=$trad("t36")}else{camada.contextoescala="hidden"}if(temaObj.plugini3geo){var iconePlugin=i3GEO.pluginI3geo.clickArvoreDeCamadas(temaObj);if(iconePlugin!=false){camada.iconePlugin=iconePlugin}}if(temaObj.ferramentas){var html="",fer="",fers=temaObj.ferramentas;for(fer in fers){if(i3GEO.configura.ferramentasLayers[fer]){html+=i3GEO.configura.ferramentasLayers[fer].icone(temaObj.name)}}camada.iconeFerramentas=html}return camada},atualizaFarol:function(mapscale){var cor,farol,l,ltema,escala,iu=i3GEO.util,im=i3GEO.configura.locaplic+"/imagens/",camadas=i3GEO.arvoreDeCamadas.CAMADAS;farol="maisamarelo.png";cor="yellow";l=camadas.length-1;if(l>=0){do{ltema=camadas[l];escala=ltema.escala;if(escala!=0){if(escala*1<mapscale*1){farol="maisverde.png";cor="green"}if(escala*1>mapscale*1){farol="maisvermelho.png";cor="red"}if(escala*1===0){farol="maisamarelo.png";cor="yellow"}$("#farol"+ltema.name).css("color",cor)}}while(l--)}},aplicaTemas:function(tipo){if(arguments.length===0){tipo="normal"}var t="",temp;if(tipo==="normal"){t=i3GEO.arvoreDeCamadas.listaLigadosDesligados("mantem")}if(tipo==="ligartodos"){t=i3GEO.arvoreDeCamadas.listaLigadosDesligados("marca")}if(tipo==="desligartodos"){t=i3GEO.arvoreDeCamadas.listaLigadosDesligados("desmarca")}temp=function(){i3GEO.atualiza();i3GEO.janela.fechaAguarde("redesenha")};if(tipo==="normal"){i3GEO.php.ligatemas(temp,t[1].toString(),t[0].toString());return}if(tipo==="ligartodos"){i3GEO.php.ligatemas(temp,"",t[2].toString());return}if(tipo==="desligartodos"){i3GEO.php.ligatemas(temp,t[2].toString(),"")}},listaLigadosDesligados:function(){if(!i3GEO.arvoreDeCamadas.CAMADAS){return[[],[],[],[]]}var i=0,filtrados=[],ligados=[],desligados=[],todos=[],camada,camadas=i3GEO.arvoreDeCamadas.CAMADAS;i=camadas.length;while(i>0){i-=1;camada=camadas[i];todos.push(camada["name"]);if(parseInt(camada["status"],10)===2){ligados.push(camada["name"])}else{desligados.push(camada["name"])}if(i3GEO.arvoreDeCamadas.verifyFilter(camada)==true){filtrados.push(camada["name"])}}return([ligados,desligados,todos,filtrados])},listaLigadosDesligadosArvore:function(onde){if(!i3GEO.arvoreDeCamadas.CAMADAS){return[[],[],[]]}var n,i,ligados=[],desligados=[],todos=[],camada,camadas;camadas=$i(onde).getElementsByTagName("input");n=camadas.length;for(i=0;i<n;i++){camada=camadas[i];todos.push(camada.value);if(camada.checked==true){ligados.push(camada["name"])}else{desligados.push(camada["name"])}}return([ligados,desligados,todos])},capturaCheckBox:function(tema){var onde=$i(i3GEO.arvoreDeCamadas.config.idOnde),camadas,n,i;if(onde){camadas=onde.getElementsByTagName("input");n=camadas.length;for(i=0;i<n;i++){if(camadas[i].name==tema){return camadas[i]}}}return false},comparaTemas:function(novo,atual){try{var novon=novo.length,i;if(novon!==atual.length){return(false)}for(i=0;i<novon;i+=1){if(novo[i].name!==atual[i].name){return(false)}if(novo[i].tema!==atual[i].tema){return(false)}if(novo[i].sel!==atual[i].sel){return(false)}if(novo[i].status!==atual[i].status){return(false)}}return(true)}catch(e){return true}},pegaTema:function(valor,camadas,parametro){var i;if(!camadas||camadas==""){camadas=i3GEO.arvoreDeCamadas.CAMADAS}else{camadas=i3GEO.arvoreDeCamadas.converteChaveValor2normal(camadas)}if(!parametro){parametro="name"}i=camadas.length;while(i>0){i-=1;if(camadas[i][parametro]===valor){return camadas[i]}}return""},filtraCamadas:function(propriedade,valor,operador,camadas){if(!camadas){camadas=i3GEO.arvoreDeCamadas.CAMADAS}var resultado,i=0,temp,nelementos=camadas.length,ltema;resultado=[];if(nelementos>0){do{ltema=camadas[i];if(ltema.escondido.toLowerCase()!=="sim"){temp=ltema[propriedade];if(operador==="igual"){if(temp+"".toLowerCase()==valor+"".toLowerCase()){resultado.push(ltema)}}if(operador==="diferente"){if(temp+"".toLowerCase()!==valor+"".toLowerCase()){resultado.push(ltema)}}if(operador==="menor"){if(temp+"".toLowerCase()<valor+"".toLowerCase()){resultado.push(ltema)}}}i+=1}while(i<nelementos)}return resultado},alteraPropCamadas:function(propriedade,valor,camada){var i=0,nelementos=i3GEO.arvoreDeCamadas.CAMADAS.length,ltema;if(nelementos>0){do{ltema=i3GEO.arvoreDeCamadas.CAMADAS[i];if(ltema.name===camada){ltema[propriedade]=valor}i+=1}while(i<nelementos)}},verificaAbrangenciaTemas:function(){var nos=$("#"+i3GEO.arvoreDeCamadas.config.idOnde).find("input");$.each(nos,function(i,no){var ltema=i3GEO.arvoreDeCamadas.CAMADASINDEXADAS[no.value];var temp=ltema.exttema;if(temp!==""&&temp!=undefined){if(i3GEO.util.intersectaBox(temp,i3GEO.parametros.mapexten)===false){$(no).addClass(i3GEO.arvoreDeCamadas.config.verificaAbrangencia)}else{$(no).removeClass(i3GEO.arvoreDeCamadas.config.verificaAbrangencia)}}})},verificaAplicaExtensao:function(){var i=0,temp="",nelementos=i3GEO.arvoreDeCamadas.CAMADAS.length,ltema;try{if(nelementos>0){do{ltema=i3GEO.arvoreDeCamadas.CAMADAS[i];if(ltema.aplicaextensao.toLowerCase()==="sim"){temp=ltema.name}i+=1}while(i<nelementos)}}catch(e){return""}return temp},converteChaveValor2normal:function(obj){if(obj.chaves){var i,tema,j,t,chaves=obj.chaves,temas=obj.valores,ntemas=temas.length,nchaves=chaves.length,novo=[];for(i=0;i<ntemas;i++){tema=temas[i];t={};for(j=0;j<nchaves;j++){t[chaves[j]]=tema[j]}novo.push(t)}return novo}else{return obj}},registaCamadas:function(obj){var i;obj=i3GEO.arvoreDeCamadas.converteChaveValor2normal(obj);i3GEO.arvoreDeCamadas.CAMADAS=obj;i3GEO.arvoreDeCamadas.CAMADASINDEXADAS=[];$.each(i3GEO.arvoreDeCamadas.CAMADAS,function(i,tema){i3GEO.arvoreDeCamadas.CAMADASINDEXADAS[tema.name]=tema})},dialogo:{filtro:function(){i3GEO.util.dialogoFerramenta("i3GEO.arvoreDeCamadas.dialogo.filtro()","filtroarvore","filtroarvore","dependencias.php","i3GEOF.filtroarvore.start()")},excluir:function(){i3GEO.util.dialogoFerramenta("i3GEO.arvoreDeCamadas.dialogo.excluir()","excluirarvore","excluirarvore","dependencias.php","i3GEOF.excluirarvore.start()")}}};
  280 +if(typeof(i3GEO)==='undefined'){var i3GEO={}}i3GEO.arvoreDeCamadas={FUNCOES:{farolescala:true,excluir:true,sobe:true,desce:true,fonte:true,zoomtema:true,compartilhar:true,opacidade:true,mudanome:true,procurar:true,toponimia:true,etiquetas:true,filtrar:true,tabela:true,grafico:true,editorlegenda:true,destacar:true,cortina:true,sql:true,comentar:true,temporizador:true,wms:true,tme:true,copia:true,storymap:true,animagif:true},CAMADAS:"",FILTRO:"",CAMADASINDEXADAS:[],config:{"idOnde":"listaTemas","aposIniciar":"","templateCamada":"templates/camada.html","idListaFundo":"","templateCamadaFundo":"templates/camadaFundo.html","idListaLayersGr":"","templateCamadaGr":"templates/camadaGr.html","verificaAbrangencia":""},carregaTemplates:function(){var t1=i3GEO.arvoreDeCamadas.config.templateCamada,t2=i3GEO.arvoreDeCamadas.config.templateCamadaFundo,t3=i3GEO.arvoreDeCamadas.config.templateCamadaGr;$.ajax(t1).always(function(r1){i3GEO.template.camada=r1;if(r1.status){i3GEO.template.camada=""}$.ajax(t2).always(function(r2){i3GEO.template.camadaFundo=r2;if(r2.status){i3GEO.template.camadaFundo=""}$.ajax(t3).always(function(r3){i3GEO.template.camadaGr=r3;if(r3.status){i3GEO.template.camadaGr=""}i3GEO.arvoreDeCamadas.inicia()})})})},inicia:function(config){if(config){$.each(config,function(i,v){if(v!=undefined){i3GEO.arvoreDeCamadas.config[i]=v}})}if(!i3GEO.template.camada||!i3GEO.template.camadaFundo){i3GEO.arvoreDeCamadas.carregaTemplates();return}else{config=i3GEO.arvoreDeCamadas.config;var novoel,temp;i3GEO.arvoreDeCamadas.atualiza(i3GEO.arvoreDeCamadas.CAMADAS);if(!$i(config.idOnde)){return}if(config.verificaAbrangencia!=""){i3GEO.eventos.adicionaEventos("NAVEGAMAPA",["i3GEO.arvoreDeCamadas.verificaAbrangenciaTemas()"])}if(config.aposIniciar!==""){if(jQuery.isFunction(config.aposIniciar)){config.aposIniciar.call()}}}},adicionaLayersGr:function(){if(i3GEO.Interface.ATUAL!="openlayers"){return}var temp=$i(i3GEO.arvoreDeCamadas.config.idListaLayersGr),layers=i3geoOL.getLayersGr(),lista=[],camada={};if(temp){$.each(layers,function(i,layer){var p=layer.getProperties();camada={...i3GEO.idioma.OBJETOIDIOMA};camada.name=p.name;camada.tema=p.title;camada.locaplic=i3GEO.configura.locaplic;if(layer.getVisible()==true){camada.checked="checked"}else{camada.checked=""}lista.push(camada)});var t=Mustache.render("{{#data}}"+i3GEO.template.camadaGr+"{{/data}}",{"data":lista});$(temp).html(t)}},existeCamadaSel:function({msg=true}={}){var sel=false;$.each(i3GEO.arvoreDeCamadas.CAMADAS,function(i,v){sel=v.sel.toLowerCase()!=="sim"?false:true});if(msg==true&&sel==false){i3GEO.janela.snackBar({content:$trad("nenhumaSel")})}return sel},verifyFilter:function(camada,f){if(!f){f=i3GEO.arvoreDeCamadas.FILTRO}if(f==""){return true}var mostra=true;if(f==="desligados"&&camada.status!=0){mostra=false}if(f==="ligados"&&camada.status==0){mostra=false}if(f==="selecionados"&&camada.sel.toLowerCase()!=="sim"){mostra=false}if(f==="download"&&camada.download.toLowerCase()!=="sim"){mostra=false}if(f==="wms"&&camada.connectiontype*1!==7){mostra=false}if(f==="raster"&&camada.type*1!==3){mostra=false}if(f==="toponimia"&&camada.type*1!==4){mostra=false}return mostra},atualiza:function(temas,forca){if(i3GEO.template.camada==undefined||i3GEO.template.camada==false){return}if(arguments.length===0){temas=i3GEO.arvoreDeCamadas.CAMADAS;i3GEO.arvoreDeCamadas.CAMADAS="";forca=false}var clone=[],camada={},config=i3GEO.arvoreDeCamadas.config,temp;temp=$i(config.idOnde);if(temp){if(forca===true){temp.innerHTML=""}if(temp.innerHTML!==""){if(i3GEO.arvoreDeCamadas.comparaTemas(temas,i3GEO.arvoreDeCamadas.CAMADAS)){i3GEO.arvoreDeCamadas.CAMADAS=temas;return}}}i3GEO.arvoreDeCamadas.CAMADAS=temas;i3GEO.arvoreDeCamadas.CAMADASINDEXADAS=[];$.each(i3GEO.arvoreDeCamadas.CAMADAS,function(i,tema){var mostra=true;i3GEO.pluginI3geo.aplicaPropriedades(tema);camada={};camada.name=tema.name;camada.tema=tema.tema;if(tema.status!=0){camada.checked="checked"}else{camada.checked=""}if(tema.sel&&tema.sel.toLowerCase()==="sim"){camada.classeCss="camadaSelecionada"}else{camada.classeCss=""}if(temp&&i3GEO.arvoreDeCamadas.FILTRO!==""){mostra=i3GEO.arvoreDeCamadas.verifyFilter(tema)}if(temp&&mostra==true){i3GEO.arvoreDeCamadas.montaIconesTema(tema,camada);i3GEO.arvoreDeCamadas.montaOpcoesTema(tema,camada);if(tema.iconetema!==""){camada.iconetema="<img class='i3GEOiconeTema' src='"+tema.iconetema+"' />"}if(tema.maxscaledenom&&(tema.maxscaledenom*1>i3GEO.parametros.mapscale*1&&tema.minscaledenom*1<i3GEO.parametros.mapscale*1)){camada.rangeScale="out";camada.rangeScaleMsg=$trad("rangeScaleMsg")}else{camada.rangeScale="in"}if(tema.escondido.toLowerCase()!=="sim"){clone.push(camada)}}i3GEO.arvoreDeCamadas.CAMADASINDEXADAS[camada.name]=tema});if(temp){var t=Mustache.render("{{#data}}"+i3GEO.template.camada+"{{/data}}",{"data":clone});$("#"+config.idOnde).html(t);$("#"+config.idOnde).sortable({scroll:false,axis:"y",revert:true,update:function(event,ui){var els=i3GEO.arvoreDeCamadas.listaLigadosDesligadosArvore(config.idOnde);var lista=els[2].join(",");var temp=function(retorno){i3GEO.atualiza(retorno);if(i3GEO.Interface.ATUAL==="openlayers"){i3GEO.Interface.openlayers.ordenaLayers()}i3GEO.arvoreDeCamadas.atualiza(i3GEO.arvoreDeCamadas.CAMADAS,true)};i3GEO.php.reordenatemas(temp,lista)}})}i3GEO.arvoreDeCamadas.adicionaCamadasDeFundo(config);i3GEO.arvoreDeCamadas.adicionaLayersGr();i3GEO.eventos.executaEventos(i3GEO.eventos.ATUALIZAARVORECAMADAS)},adicionaCamadasDeFundo:function(config){if(i3GEO.Interface.ATUAL=="openlayers"){var temp=temp=$i(config.idOnde);if(temp&&$("#"+config.idListaFundo).html()==""){clone=[];$.each(i3GEO.Interface.openlayers.LAYERSADICIONAIS,function(i,layer){camada={};temp=layer.getProperties();camada.name="camadaDeFundo";if(temp.preview){camada.preview=temp.preview}else{camada.preview=""}camada.value=temp.name;camada.title=temp.title;if(temp.visible===true){camada.checked="checked"}else{camada.checked=""}clone.push(camada)});var t=Mustache.to_html("{{#data}}"+i3GEO.template.camadaFundo+"{{/data}}",{"data":clone});$("#"+config.idListaFundo).html(t);$("#"+config.idListaFundo+" label").tooltip({animation:false,trigger:"hover",placement:"auto",html:true,template:"<div class='tooltip ' ><div class='tooltip-inner'></div></div>"});$.each(clone,function(i,v){var slide=$i("slideFundo"+v.value);noUiSlider.create(slide,{connect:"lower",start:[100],range:{'min':[0],'max':[100]},name:v.value});slide.noUiSlider.on('update',function(values,handle){i3GEO.Interface.aplicaOpacidade(values[0]*1,this.options.name)})})}}},ligaDesligaTemas:function(lista,status){},atualizaLegenda:function(idtema){},montaTextoTema:function(tema){if(i3GEO.tema.TEMPORIZADORESID[tema.name]==undefined&&tema.temporizador!=""){i3GEO.tema.temporizador(tema.name,tema.temporizador)}return(html)},montaOpcoesTema:function(temaObj,camada){vetor="hidden";if((temaObj.type<3)&&(temaObj.connectiontype!==7)){vetor=""}camada.isnotvetor=vetor;camada.ferramentasTexto=$trad("u15a");camada.ferramentasTitle=$trad("ferramCamadas");camada.removerTexto=$trad("t12");camada.removerTitle=$trad("t12a");camada.sobeTexto=$trad("t13");camada.sobeTitle=$trad("t14");camada.desceTexto=$trad("t15");camada.desceTitle=$trad("t16");camada.tabelaTexto=$trad("tabela");camada.tabelaTitle=$trad("t30");camada.limpaselTexto=$trad("t4");camada.zoomSelTexto=$trad("t4a");camada.linkTexto=$trad("a9");camada.editorlegendaTexto=$trad("t33");camada.procurarTexto=$trad("t23");camada.topoTexto=$trad("t25");camada.etiquetasTexto=$trad("t27");camada.filtroTexto=$trad("t29");camada.selecaoTexto=$trad("x51");camada.graficoTexto=$trad("t37");camada.wmsTexto="WMS-OGC";camada.tmeTexto=$trad("t49");camada.topoTexto=$trad("x56");camada.nomeCamada=camada.tema;camada.opaCamada=camada.transparency;camada.editorlegendaTexto=$trad("t33");camada.coresTexto=$trad("esquemadecores");camada.copiaTexto=$trad("copiaCamada");camada.contornoTexto=$trad("contorno");camada.opacidade=$trad("t20");camada.cortina=$trad("t42");camada.opaCamada=temaObj.transparency;if(temaObj.zoomtema.toLowerCase()==="sim"){camada.zoomtemaTexto=$trad("t17");camada.zoomtemaTitle=$trad("t18")}else{camada.zoomtema="hidden"}if(temaObj.sel.toLowerCase()==="sim"){camada.selTexto=$trad("t5");camada.selTitle=$trad("t4")}else{camada.sel="hidden"}if(temaObj.sel.toLowerCase()==="sim"){camada.zoomSelTexto=$trad("t4a")}else{camada.zoomsel="hidden"}if(temaObj.link_tema!=""&&temaObj.features.toLowerCase()!=="sim"&&temaObj.name!="mundo"){camada.linkTexto=$trad("a9");camada.linkTitle=$trad("a9")}else{camada.link="hidden"}if(temaObj.download.toLowerCase()==="sim"||temaObj.download===""&&temaObj.features.toLowerCase()!=="sim"){camada.downloadTexto="Download";camada.downloadTitle=$trad("t6")}else{camada.download="hidden"}if(temaObj.permiteogc.toLowerCase()==="sim"){camada.permiteogcTexto="OGC"}else{camada.permiteogc="hidden"}return camada},montaIconesTema:function(temaObj,camada){camada.farol="hidden";if(temaObj.escala!=0){if(temaObj.escala*1<i3GEO.parametros.mapscale*1){camada.farol="green";camada.farolTitle=$trad("t9")}if(temaObj.escala*1>i3GEO.parametros.mapscale*1){camada.farol="red";camada.farolTitle=$trad("t10")}if(temaObj.escala===0){camada.farol="yellow";camada.farolTitle=$trad("t11")}}if(temaObj.contextoescala.toLowerCase()==="sim"){camada.contextoescala="";camada.contextoescalaTitle=$trad("t36")}else{camada.contextoescala="hidden"}if(temaObj.plugini3geo){var iconePlugin=i3GEO.pluginI3geo.clickArvoreDeCamadas(temaObj);if(iconePlugin!=false){camada.iconePlugin=iconePlugin}}if(temaObj.ferramentas){var html="",fer="",fers=temaObj.ferramentas;for(fer in fers){if(i3GEO.configura.ferramentasLayers[fer]){html+=i3GEO.configura.ferramentasLayers[fer].icone(temaObj.name)}}camada.iconeFerramentas=html}return camada},atualizaFarol:function(mapscale){var cor,farol,l,ltema,escala,iu=i3GEO.util,im=i3GEO.configura.locaplic+"/imagens/",camadas=i3GEO.arvoreDeCamadas.CAMADAS;farol="maisamarelo.png";cor="yellow";l=camadas.length-1;if(l>=0){do{ltema=camadas[l];escala=ltema.escala;if(escala!=0){if(escala*1<mapscale*1){farol="maisverde.png";cor="green"}if(escala*1>mapscale*1){farol="maisvermelho.png";cor="red"}if(escala*1===0){farol="maisamarelo.png";cor="yellow"}$("#farol"+ltema.name).css("color",cor)}}while(l--)}},aplicaTemas:function(tipo){if(arguments.length===0){tipo="normal"}var t="",temp;if(tipo==="normal"){t=i3GEO.arvoreDeCamadas.listaLigadosDesligados("mantem")}if(tipo==="ligartodos"){t=i3GEO.arvoreDeCamadas.listaLigadosDesligados("marca")}if(tipo==="desligartodos"){t=i3GEO.arvoreDeCamadas.listaLigadosDesligados("desmarca")}temp=function(){i3GEO.atualiza();i3GEO.janela.fechaAguarde("redesenha")};if(tipo==="normal"){i3GEO.php.ligatemas(temp,t[1].toString(),t[0].toString());return}if(tipo==="ligartodos"){i3GEO.php.ligatemas(temp,"",t[2].toString());return}if(tipo==="desligartodos"){i3GEO.php.ligatemas(temp,t[2].toString(),"")}},listaLigadosDesligados:function(){if(!i3GEO.arvoreDeCamadas.CAMADAS){return[[],[],[],[]]}var i=0,filtrados=[],ligados=[],desligados=[],todos=[],camada,camadas=i3GEO.arvoreDeCamadas.CAMADAS;i=camadas.length;while(i>0){i-=1;camada=camadas[i];todos.push(camada["name"]);if(parseInt(camada["status"],10)===2){ligados.push(camada["name"])}else{desligados.push(camada["name"])}if(i3GEO.arvoreDeCamadas.verifyFilter(camada)==true){filtrados.push(camada["name"])}}return([ligados,desligados,todos,filtrados])},listaLigadosDesligadosArvore:function(onde){if(!i3GEO.arvoreDeCamadas.CAMADAS){return[[],[],[]]}var n,i,ligados=[],desligados=[],todos=[],camada,camadas;camadas=$i(onde).getElementsByTagName("input");n=camadas.length;for(i=0;i<n;i++){camada=camadas[i];todos.push(camada.value);if(camada.checked==true){ligados.push(camada["name"])}else{desligados.push(camada["name"])}}return([ligados,desligados,todos])},capturaCheckBox:function(tema){var onde=$i(i3GEO.arvoreDeCamadas.config.idOnde),camadas,n,i;if(onde){camadas=onde.getElementsByTagName("input");n=camadas.length;for(i=0;i<n;i++){if(camadas[i].name==tema){return camadas[i]}}}return false},comparaTemas:function(novo,atual){try{var novon=novo.length,i;if(novon!==atual.length){return(false)}for(i=0;i<novon;i+=1){if(novo[i].name!==atual[i].name){return(false)}if(novo[i].tema!==atual[i].tema){return(false)}if(novo[i].sel!==atual[i].sel){return(false)}if(novo[i].status!==atual[i].status){return(false)}}return(true)}catch(e){return true}},pegaTema:function(valor,camadas,parametro){var i;if(!camadas||camadas==""){camadas=i3GEO.arvoreDeCamadas.CAMADAS}else{camadas=i3GEO.arvoreDeCamadas.converteChaveValor2normal(camadas)}if(!parametro){parametro="name"}i=camadas.length;while(i>0){i-=1;if(camadas[i][parametro]===valor){return camadas[i]}}return""},filtraCamadas:function(propriedade,valor,operador,camadas){if(!camadas){camadas=i3GEO.arvoreDeCamadas.CAMADAS}var resultado,i=0,temp,nelementos=camadas.length,ltema;resultado=[];if(nelementos>0){do{ltema=camadas[i];if(ltema.escondido.toLowerCase()!=="sim"){temp=ltema[propriedade];if(operador==="igual"){if(temp+"".toLowerCase()==valor+"".toLowerCase()){resultado.push(ltema)}}if(operador==="diferente"){if(temp+"".toLowerCase()!==valor+"".toLowerCase()){resultado.push(ltema)}}if(operador==="menor"){if(temp+"".toLowerCase()<valor+"".toLowerCase()){resultado.push(ltema)}}}i+=1}while(i<nelementos)}return resultado},alteraPropCamadas:function(propriedade,valor,camada){var i=0,nelementos=i3GEO.arvoreDeCamadas.CAMADAS.length,ltema;if(nelementos>0){do{ltema=i3GEO.arvoreDeCamadas.CAMADAS[i];if(ltema.name===camada){ltema[propriedade]=valor}i+=1}while(i<nelementos)}},verificaAbrangenciaTemas:function(){var nos=$("#"+i3GEO.arvoreDeCamadas.config.idOnde).find("input");$.each(nos,function(i,no){var ltema=i3GEO.arvoreDeCamadas.CAMADASINDEXADAS[no.value];var temp=ltema.exttema;if(temp!==""&&temp!=undefined){if(i3GEO.util.intersectaBox(temp,i3GEO.parametros.mapexten)===false){$(no).addClass(i3GEO.arvoreDeCamadas.config.verificaAbrangencia)}else{$(no).removeClass(i3GEO.arvoreDeCamadas.config.verificaAbrangencia)}}})},verificaAplicaExtensao:function(){var i=0,temp="",nelementos=i3GEO.arvoreDeCamadas.CAMADAS.length,ltema;try{if(nelementos>0){do{ltema=i3GEO.arvoreDeCamadas.CAMADAS[i];if(ltema.aplicaextensao.toLowerCase()==="sim"){temp=ltema.name}i+=1}while(i<nelementos)}}catch(e){return""}return temp},converteChaveValor2normal:function(obj){if(obj.chaves){var i,tema,j,t,chaves=obj.chaves,temas=obj.valores,ntemas=temas.length,nchaves=chaves.length,novo=[];for(i=0;i<ntemas;i++){tema=temas[i];t={};for(j=0;j<nchaves;j++){t[chaves[j]]=tema[j]}novo.push(t)}return novo}else{return obj}},registaCamadas:function(obj){var i;obj=i3GEO.arvoreDeCamadas.converteChaveValor2normal(obj);i3GEO.arvoreDeCamadas.CAMADAS=obj;i3GEO.arvoreDeCamadas.CAMADASINDEXADAS=[];$.each(i3GEO.arvoreDeCamadas.CAMADAS,function(i,tema){i3GEO.arvoreDeCamadas.CAMADASINDEXADAS[tema.name]=tema})},dialogo:{filtro:function(){i3GEO.util.dialogoFerramenta("i3GEO.arvoreDeCamadas.dialogo.filtro()","filtroarvore","filtroarvore","dependencias.php","i3GEOF.filtroarvore.start()")},excluir:function(){i3GEO.util.dialogoFerramenta("i3GEO.arvoreDeCamadas.dialogo.excluir()","excluirarvore","excluirarvore","dependencias.php","i3GEOF.excluirarvore.start()")}}};
281 281 //
282 282 //compactados/navega_compacto.js
283 283 if(typeof(i3GEO)==='undefined'){var i3GEO={}}i3GEO.navega={EXTENSOES:{lista:[],redo:[],posicao:0,emAcao:false},offset:function(pixelx,pixely){if(i3GEO.Interface.ATUAL=="openlayers"){var view=i3geoOL.getView(),mover=[pixelx,pixely],s=i3geoOL.getSize(),dx=s[0]/2+mover[0],dy=s[1]/2+mover[1];view.centerOn(view.getCenter(),s,[dx,dy])}},ativaPan:function(){if(i3GEO.Interface.ATUAL==="googlemaps"){i3GeoMap.setOptions({draggable:true})}if(i3GEO.Interface.ATUAL==="openlayers"){marcadorZoom="";i3GEO.Interface.openlayers.OLpanel.activateControl(i3GEO.Interface.openlayers.OLpan)}},registraExt:function(ext){if(i3GEO.navega.EXTENSOES.emAcao==false){var l=i3GEO.navega.EXTENSOES.lista,n=l.length;if(n>10){l.shift()}n=l.length;if(n>0&&l[n-1]===ext){return}l.push(ext)}else{i3GEO.navega.EXTENSOES.emAcao=false}},extensaoAnterior:function(){i3GEO.navega.EXTENSOES.emAcao=true;var l=i3GEO.navega.EXTENSOES.lista,r=i3GEO.navega.EXTENSOES.redo,a=i3GEO.parametros.mapexten,e;if(l.length>0){if(l.length>1){e=l.pop();i3GEO.navega.zoomExt("","","",e);if(r.length>10){r.shift()}if(r.length>0&&r[r.length-1]===e){return}else{r.push(a)}}}else{l.push(i3GEO.parametros.mapexten)}},extensaoProximo:function(){var l=i3GEO.navega.EXTENSOES.lista,r=i3GEO.navega.EXTENSOES.redo,a=i3GEO.parametros.mapexten,e;i3GEO.navega.EXTENSOES.emAcao=true;if(r.length>0){i3GEO.navega.zoomExt("","","",r[r.length-1]);e=r.pop();if(l.length>10){l.pop()}if(l.length>0&&l[l.length-1]===e){return}l.push(a)}},pan2ponto:function(x,y){i3GEO.Interface[i3GEO.Interface.ATUAL].pan2ponto(x,y);i3GEO.Interface[i3GEO.Interface.ATUAL].recalcPar()},centroDoMapa:function(){var xy;switch(i3GEO.Interface.ATUAL){case"openlayers":xy=i3geoOL.getCenter();if(xy){return[xy.lon,xy.lat]}else{return false}break;case"googlemaps":xy=i3GeoMap.getCenter();if(xy){return[xy.lng(),xy.lat()]}else{return false}break;default:return false}},marcaCentroDoMapa:function(xy){var t=$i("i3GeoCentroDoMapa");if(t&&t.style.display==="block"){return}if(xy!=false){xy=i3GEO.calculo.dd2tela(xy[0]*1,xy[1]*1,$i(i3GEO.Interface.IDMAPA),i3GEO.parametros.mapexten,i3GEO.parametros.pixelsize);i3GEO.util.criaPin("i3GeoCentroDoMapa",i3GEO.configura.locaplic+'/imagens/alvo.png','30px','30px');i3GEO.util.posicionaImagemNoMapa("i3GeoCentroDoMapa",xy[0],xy[1])}},removeCookieExtensao:function(){var nomecookie="i3geoOLUltimaExtensao";if(i3GEO.Interface.openlayers.googleLike===true){nomecookie="i3geoUltima_ExtensaoOSM"}i3GEO.util.insereCookie(nomecookie,"")},zoomin:function(locaplic,sid){if(i3GEO.Interface.ATUAL==="openlayers"){i3geoOL.zoomIn();return}},zoomout:function(locaplic,sid){if(i3GEO.Interface.ATUAL==="openlayers"){i3geoOL.zoomOut();return}},zoomponto:function(locaplic,sid,x,y,tamanho,simbolo,cor){if(!simbolo){simbolo="ponto"}if(!tamanho){tamanho=15}if(!cor){cor="255 0 0"}if(locaplic!==""){i3GEO.configura.locaplic=locaplic}if(sid!==""){i3GEO.configura.sid=sid}i3GEO.php.zoomponto(i3GEO.atualiza,x,y,tamanho,simbolo,cor)},zoompontoIMG:function(locaplic,sid,x,y){if(locaplic!==""){i3GEO.configura.locaplic=locaplic}if(sid!==""){i3GEO.configura.sid=sid}i3GEO.php.pan(i3GEO.atualiza,'','',x,y)},xy2xy:function(locaplic,sid,xi,yi,xf,yf,ext,tipoimagem){var disty,distx,ex,novoxi,novoxf,novoyf,nex;if(locaplic!==""){i3GEO.configura.locaplic=locaplic}if(sid!==""){i3GEO.configura.sid=sid}disty=(yi*-1)+yf;distx=(xi*-1)+xf;ex=ext.split(" ");novoxi=(ex[0]*1)-distx;novoxf=(ex[2]*1)-distx;novoyi=(ex[1]*1)-disty;novoyf=(ex[3]*1)-disty;if((distx===0)&&(disty===0)){return false}else{nex=novoxi+" "+novoyi+" "+novoxf+" "+novoyf;i3GEO.navega.zoomExt(i3GEO.configura.locaplic,i3GEO.configura.sid,tipoimagem,nex);return true}},localizaIP:function(locaplic,sid,funcao){if(locaplic!==""){i3GEO.configura.locaplic=locaplic}if(sid!==""){i3GEO.configura.sid=sid}i3GEO.php.localizaIP(funcao)},zoomIP:function(locaplic,sid){try{if(arguments.length>0){i3GEO.configura.locaplic=locaplic;i3GEO.configura.sid=sid}var mostraIP=function(retorno){if(retorno.data.latitude!==null){i3GEO.navega.zoomponto(locaplic,sid,retorno.data.longitude,retorno.data.latitude)}else{i3GEO.janela.tempoMsg("Nao foi possivel identificar a localizacao.")}};i3GEO.navega.localizaIP(locaplic,sid,mostraIP)}catch(e){}},zoomExt:function(locaplic,sid,tipoimagem,ext){var f;if(locaplic!==""){i3GEO.configura.locaplic=locaplic}if(sid!==""){i3GEO.configura.sid=sid}if(tipoimagem===""){tipoimagem="nenhum"}ext=i3GEO.util.extGeo2OSM(ext);i3GEO.php.mudaext(function(retorno){i3GEO.atualiza(retorno)},tipoimagem,ext)},aplicaEscala:function(escala){if(i3GEO.Interface.ATUAL==="googlemaps"){i3GeoMap.setZoom(i3GEO.Interface.googlemaps.escala2nzoom(escala))}if(i3GEO.Interface.ATUAL==="openlayers"){i3geoOL.zoomToScale(escala,true);i3GEO.parametros.mapscale=parseInt(i3geoOL.getScale(),10)}},atualizaEscalaNumerica:function(escala){var e=$i("i3GEOescalanum");if(!e){return}if(arguments.length===1){e.value=$.number(escala,0,$trad("dec"),$trad("mil"))}else{if(i3GEO.Interface.ATUAL==="googlemaps"){e.value=parseInt(i3GEO.parametros.mapscale,10)}if(i3GEO.Interface.ATUAL==="openlayers"){e.value=$.number(i3geoOL.getScale(),0,$trad("dec"),$trad("mil"))}}},panFixo:function(){alert("panFixo foi depreciado na versao 6.0")},mostraRosaDosVentos:function(){alert("mostraRosaDosVentos foi depreciado na versao 6.0")},autoRedesenho:{INTERVALO:0,ID:"tempoRedesenho",ativa:function(id){if(arguments.length===0){id="tempoRedesenho"}i3GEO.navega.autoRedesenho.ID=id;if(($i(id))&&i3GEO.navega.autoRedesenho.INTERVALO>0){$i(id).style.display="block"}if(i3GEO.navega.autoRedesenho.INTERVALO>0){i3GEO.navega.tempoRedesenho=setTimeout('i3GEO.navega.autoRedesenho.redesenha()',i3GEO.navega.autoRedesenho.INTERVALO)}if(($i(id))&&(i3GEO.navega.autoRedesenho.INTERVALO>0)){$i(id).innerHTML=i3GEO.navega.autoRedesenho.INTERVALO/1000;i3GEO.navega.contaTempoRedesenho=setTimeout('i3GEO.navega.autoRedesenho.contagem()',1000)}},desativa:function(){i3GEO.navega.autoRedesenho.INTERVALO=0;clearTimeout(i3GEO.navega.tempoRedesenho);clearTimeout(i3GEO.navega.contaTempoRedesenho);i3GEO.navega.tempoRedesenho="";i3GEO.navega.contaTempoRedesenho="";if($i(i3GEO.navega.autoRedesenho.ID)){$i(i3GEO.navega.autoRedesenho.ID).style.display="none"}},redesenha:function(){clearTimeout(i3GEO.navega.tempoRedesenho);clearTimeout(i3GEO.navega.contaTempoRedesenho);switch(i3GEO.Interface.ATUAL){case"openlayers":i3GEO.Interface.openlayers.atualizaMapa();break;case"googlemaps":i3GEO.Interface.googlemaps.redesenha();break;default:i3GEO.atualiza("")}i3GEO.navega.autoRedesenho.ativa(i3GEO.navega.autoRedesenho.ID)},contagem:function(){if($i(i3GEO.navega.autoRedesenho.ID)){$i(i3GEO.navega.autoRedesenho.ID).innerHTML=parseInt($i(i3GEO.navega.autoRedesenho.ID).innerHTML,10)-1}i3GEO.navega.contaTempoRedesenho=setTimeout('i3GEO.navega.autoRedesenho.contagem()',1000)}},zoomBox:{inicia:function(){alert("zoomBox depreciado na versao 6.0")}},lente:{_lenteCompose:"",eventMouseout:function(){if(i3GEO.navega.lente._lenteCompose!=""){i3GEO.navega.lente.stop(i3geoOL.getTargetElement())}},eventMouseMove:function(event){if(i3GEO.navega.lente._lenteCompose!=""){i3geoOL.renderSync()}},stop:function(container){ol.Observable.unByKey(i3GEO.navega.lente._lenteCompose);i3GEO.navega.lente._lenteCompose="";container.removeEventListener('mousemove',i3GEO.navega.lente.eventMouseMove);container.removeEventListener('mouseout',i3GEO.navega.lente.eventMouseout);i3geoOL.renderSync()},start:function(){if(i3GEO.Interface.ATUAL!="openlayers"){return}var container=i3geoOL.getTargetElement();var radius=75;container.addEventListener('mousemove',i3GEO.navega.lente.eventMouseMove);container.addEventListener('mouseout',i3GEO.navega.lente.eventMouseout);var a=i3geoOL.on('postcompose',function(event){var context=event.context;var pixelRatio=event.frameState.pixelRatio;var half=radius*pixelRatio;var centerX=objposicaocursor.imgx*pixelRatio;var centerY=objposicaocursor.imgy*pixelRatio;var originX=centerX-half;var originY=centerY-half;var size=2*half+1;var sourceData=context.getImageData(originX,originY,size,size).data;var dest=context.createImageData(size,size);var destData=dest.data;for(var j=0;j<size;++j){for(var i=0;i<size;++i){var dI=i-half;var dJ=j-half;var dist=Math.sqrt(dI*dI+dJ*dJ);var sourceI=i;var sourceJ=j;if(dist<half){sourceI=Math.round(half+dI/2);sourceJ=Math.round(half+dJ/2)}var destOffset=(j*size+i)*4;var sourceOffset=(sourceJ*size+sourceI)*4;destData[destOffset]=sourceData[sourceOffset];destData[destOffset+1]=sourceData[sourceOffset+1];destData[destOffset+2]=sourceData[sourceOffset+2];destData[destOffset+3]=sourceData[sourceOffset+3]}}context.beginPath();context.arc(centerX,centerY,half,0,2*Math.PI);context.lineWidth=3*pixelRatio;context.strokeStyle='rgba(255,255,255,0.5)';context.putImageData(dest,originX,originY);context.stroke();context.restore()});i3GEO.navega.lente._lenteCompose=[a]}},destacaTema:{inicia:function(){i3GEO.janela.tempoMsg("removido na versao 8")}},basemapSpy:{_spyCompose:"",eventMouseout:function(){if(i3GEO.navega.basemapSpy._spyCompose!=""){i3GEO.navega.basemapSpy.stop(i3geoOL.getLayerBase(),i3geoOL.getTargetElement())}},eventMouseMove:function(event){if(i3GEO.navega.basemapSpy._spyCompose!=""){i3geoOL.renderSync()}},stop:function(imagery,container){ol.Observable.unByKey(i3GEO.navega.basemapSpy._spyCompose);i3GEO.navega.basemapSpy._spyCompose="";imagery.setZIndex(imagery.get("zIndexOriginal"));container.removeEventListener('mousemove',i3GEO.navega.basemapSpy.eventMouseMove);container.removeEventListener('mouseout',i3GEO.navega.basemapSpy.eventMouseout);i3geoOL.renderSync()},start:function(){if(i3GEO.Interface.ATUAL!="openlayers"){return}var imagery=i3geoOL.getLayerBase();if(!imagery){imagery=i3geoOL.getAllLayers()[0]}var container=i3geoOL.getTargetElement();if(i3GEO.navega.basemapSpy._spyCompose!=""){i3GEO.navega.basemapSpy.stop(imagery,container);return}var radius=75;imagery.set("zIndexOriginal",imagery.getZIndex());imagery.setZIndex(1000);container.addEventListener('mousemove',i3GEO.navega.basemapSpy.eventMouseMove);container.addEventListener('mouseout',i3GEO.navega.basemapSpy.eventMouseout);var a=imagery.on('precompose',function(event){var ctx=event.context;var pixelRatio=event.frameState.pixelRatio;ctx.save();ctx.beginPath();ctx.arc(objposicaocursor.imgx*pixelRatio,objposicaocursor.imgy*pixelRatio,radius*pixelRatio,0,2*Math.PI);ctx.lineWidth=5*pixelRatio;ctx.strokeStyle='rgba(0,0,0,0.5)';ctx.stroke();ctx.clip()});var b=imagery.on('postcompose',function(event){var ctx=event.context;ctx.restore()});i3GEO.navega.basemapSpy._spyCompose=[a,b]}},dialogo:{wiki:function(){i3GEO.util.dialogoFerramenta("i3GEO.navega.dialogo.wiki()","wiki","wiki","dependencias.php","i3GEOF.wiki.iniciaJanelaFlutuante()")},metar:function(){i3GEO.util.dialogoFerramenta("i3GEO.navega.dialogo.metar()","metar","metar","dependencias.php","i3GEOF.metar.iniciaJanelaFlutuante()")},buscaFotos:function(){i3GEO.util.dialogoFerramenta("i3GEO.navega.dialogo.buscaFotos()","buscafotos","buscaFotos","dependencias.php","i3GEOF.buscaFotos.iniciaJanelaFlutuante()")},google:function(coordenadas){i3GEO.navega.dialogo.google.coordenadas=coordenadas;var temp,janela,idgoogle="googlemaps"+Math.random();janela=i3GEO.janela.cria((i3GEO.parametros.w/2.5)+25+"px",(i3GEO.parametros.h/2.5)+18+"px",i3GEO.configura.locaplic+"/ferramentas/googlemaps1/index.php","","","<span class='i3GeoTituloJanelaBsNolink' >Google maps</span></div>",idgoogle,false,"hd","","","",false,"","","","","68");temp=function(){i3GEO.desenho.removePins("boxOndeGoogle");i3GEO.desenho.removePins("googlemaps")};$(janela[0].close).click(temp)},confluence:function(){i3GEO.util.dialogoFerramenta("i3GEO.navega.dialogo.confluence()","confluence","confluence","dependencias.php","i3GEOF.confluence.iniciaJanelaFlutuante()")}},atualizaGoogle:function(idgoogle){try{parent.frames[idgoogle+"i"].panTogoogle()}catch(e){i3GEO.eventos.removeEventos("NAVEGAMAPA",["i3GEO.navega.atualizaGoogle('"+idgoogle+"')"]);i3GEO.desenho.removePins("googlemaps");i3GEO.desenho.removePins("boxOndeGoogle")}},dragZoom:function(){i3GEO.navega.dragZoom.draw=new ol.interaction.Draw({type:"Circle",freehand:false,geometryFunction:ol.interaction.Draw.createRegularPolygon(4)});i3GEO.navega.dragZoom.draw.setActive(false);i3GEO.navega.dragZoom.draw.on("drawend",function(evt){var pol=evt.feature.getGeometry();i3geoOL.getView().fit(pol);i3GEO.navega.dragZoom.draw.setActive(false)});document.body.addEventListener('keydown',function(event){if(event.keyCode==16){i3GEO.navega.dragZoom.draw.setActive(true)}});document.body.addEventListener('keyup',function(event){if(event.keyCode==16){i3GEO.navega.dragZoom.draw.setActive(false)}});return i3GEO.navega.dragZoom.draw},geolocal:{_timer:"",_delay:500,_pin:"",start:function(){if(i3GEO.navega.geolocal._timer!=""){i3GEO.navega.geolocal.stop()}else{i3GEO.navega.geolocal.firstPoint()}},firstPoint:function(){var retorno=function(position){console.log(position);i3GEO.navega.geolocal.showPoint(position);i3GEO.navega.geolocal.createTimer()};navigator.geolocation.getCurrentPosition(retorno,i3GEO.navega.geolocal.erro)},createTimer:function(){i3GEO.navega.geolocal._timer=setInterval(function(){i3GEO.navega.geolocal.movePoint()},i3GEO.navega.geolocal._delay)},stop:function(){clearInterval(i3GEO.navega.geolocal._timer);i3GEO.navega.geolocal._timer="";i3GEO.navega.geolocal.removePoint()},showPoint:function(position){var y=position.coords.latitude;var x=position.coords.longitude;i3GEO.navega.pan2ponto(x,y);i3GEO.navega.geolocal._pin=i3GEO.desenho.addPin(x,y,"","",i3GEO.configura.locaplic+'/imagens/google/confluence.png',"pingeolocal")},movePoint:function(position){var retorno=function(position){var y=position.coords.latitude;var x=position.coords.longitude;i3GEO.desenho.movePin(i3GEO.navega.geolocal._pin,x,y)};navigator.geolocation.getCurrentPosition(retorno,i3GEO.navega.geolocal.erro)},removePoint:function(){i3GEO.desenho.removePins("pingeolocal")},erro:function(error){i3GEO.navega.geolocal.stop();var erro="";switch(error.code){case error.PERMISSION_DENIED:erro="User denied the request for Geolocation.";break;case error.POSITION_UNAVAILABLE:erro="Location information is unavailable.";break;case error.TIMEOUT:erro="The request to get user location timed out.";break;case error.UNKNOWN_ERROR:erro="An unknown error occurred.";break}i3GEO.janela.tempoMsg(erro)}}};
... ...
js/interface.js
... ... @@ -627,100 +627,6 @@ i3GEO.Interface =
627 627 * Usado na troca de interfaces entre googlemaps e openlayers
628 628 */
629 629 fundoDefault : function(){
630   - var eng, oce, ims, wsm, tms, bra;
631   - eng = new ol.layer.Tile({
632   - title : "ESRI National Geographic",
633   - visible : true,
634   - isBaseLayer : true,
635   - name : "eng",
636   - source : new ol.source.TileArcGISRest({
637   - url : "http://server.arcgisonline.com/ArcGIS/rest/services/NatGeo_World_Map/MapServer",
638   - attributions: [
639   - new ol.Attribution({
640   - html: 'Tiles &copy; <a href="http://server.arcgisonline.com/ArcGIS/rest/services/NatGeo_World_Map/MapServer">ArcGIS</a>'
641   - })
642   - ]
643   - })
644   - });
645   - oce = new ol.layer.Tile({
646   - title : "ESRI Ocean Basemap",
647   - visible : false,
648   - isBaseLayer : true,
649   - name : "oce",
650   - source : new ol.source.TileArcGISRest({
651   - url : "http://server.arcgisonline.com/ArcGIS/rest/services/Ocean_Basemap/MapServer",
652   - attributions: [
653   - new ol.Attribution({
654   - html: 'Tiles &copy; <a href="http://server.arcgisonline.com/ArcGIS/rest/services/Ocean_Basemap/MapServer">ArcGIS</a>'
655   - })
656   - ]
657   - })
658   - });
659   - ims = new ol.layer.Tile({
660   - title : "ESRI Imagery World 2D",
661   - visible : false,
662   - isBaseLayer : true,
663   - name : "ims",
664   - source : new ol.source.TileArcGISRest({
665   - url : "http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_Imagery_World_2D/MapServer",
666   - attributions: [
667   - new ol.Attribution({
668   - html: 'Tiles &copy; <a href="http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_Imagery_World_2D/MapServer">ArcGIS</a>'
669   - })
670   - ]
671   - })
672   - });
673   - wsm = new ol.layer.Tile({
674   - title : "ESRI World Street Map",
675   - visible : false,
676   - isBaseLayer : true,
677   - name : "wsm",
678   - source : new ol.source.TileArcGISRest({
679   - url : "http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer",
680   - attributions: [
681   - new ol.Attribution({
682   - html: 'Tiles &copy; <a href="http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer">ArcGIS</a>'
683   - })
684   - ]
685   - })
686   - });
687   - bra = new ol.layer.Tile({
688   - title : "Base carto MMA",
689   - visible : false,
690   - isBaseLayer : true,
691   - name : "bra",
692   - source : new ol.source.TileWMS({
693   - url : "http://mapas.mma.gov.br/cgi-bin/mapserv?map=/opt/www/html/webservices/baseraster.map&",
694   - params : {
695   - 'layers' : "baseraster",
696   - 'srs' : "EPSG:4326",
697   - 'format' : "image/png"
698   - }
699   - })
700   - });
701   - tms = new ol.layer.Tile({
702   - title : "OSGEO",
703   - visible : false,
704   - isBaseLayer : true,
705   - name : "tms",
706   - source : new ol.source.TileWMS({
707   - url : "http://tilecache.osgeo.org/wms-c/Basic.py/",
708   - params : {
709   - 'layers' : "basic",
710   - 'type' : "png",
711   - 'srs' : "EPSG:4326",
712   - 'format' : "image/png",
713   - 'VERSION' : '1.1.1'
714   - },
715   - attributions: [
716   - new ol.Attribution({
717   - html: '&copy; <a href="http://www.tilecache.org/">2006-2010, TileCache Contributors</a>'
718   - })
719   - ]
720   - })
721   - });
722   - i3GEO.Interface.openlayers.LAYERSADICIONAIS = [ eng, oce, ims, wsm, tms,
723   - bra ];
724 630 },
725 631 /**
726 632 * Cria o mapa do lado do cliente (navegador) Define o que for necessario para a criacao de
... ... @@ -1271,6 +1177,7 @@ i3GEO.Interface =
1271 1177 if (camada.wmstile == 10) {
1272 1178 // TODO testar isso
1273 1179 source = new ol.source.WMTS({
  1180 + crossOrigin : "anonymous",
1274 1181 url : urllayer,
1275 1182 matrixSet : opcoes.projection,
1276 1183 format : 'image/png',
... ... @@ -1286,6 +1193,7 @@ i3GEO.Interface =
1286 1193 opcoes.singleTile = false;
1287 1194 } else {
1288 1195 source = new ol.source.TileWMS({
  1196 + crossOrigin : "anonymous",
1289 1197 url : urllayer,
1290 1198 params : {
1291 1199 // 'LAYERS' : camada.wmsname,
... ... @@ -1394,6 +1302,7 @@ i3GEO.Interface =
1394 1302 if (opcoes.singleTile === true) {
1395 1303 source = new ol.source.ImageWMS({
1396 1304 url : urllayer,
  1305 + crossOrigin : "anonymous",
1397 1306 params : {
1398 1307 'LAYERS' : camada.name,
1399 1308 'VERSION' : '1.1.0'
... ... @@ -1406,6 +1315,7 @@ i3GEO.Interface =
1406 1315 if(i3GEO.Interface.openlayers.googleLike === false){
1407 1316 source = new ol.source.WMTS({
1408 1317 url : urllayer + "&WIDTH=256&HEIGHT=256",
  1318 + crossOrigin : "anonymous",
1409 1319 matrixSet : opcoes.projection,
1410 1320 format : 'image/png',
1411 1321 projection : opcoes.projection,
... ... @@ -1420,6 +1330,7 @@ i3GEO.Interface =
1420 1330 source.set("tipoServico", "WMTS");
1421 1331 }else{
1422 1332 source = new ol.source.XYZ({
  1333 + crossOrigin : "anonymous",
1423 1334 url : urllayer+"&X={x}&Y={y}&Z={z}",
1424 1335 matrixSet : opcoes.projection,
1425 1336 format : 'image/png',
... ...
js/janela.js
... ... @@ -613,8 +613,6 @@ i3GEO.janela =
613 613 },
614 614 //http://fezvrasta.github.io/snackbarjs/
615 615 snackBar: function({content = "", style = "snackbar", timeout = 4000, htmlAllowed = true, onClose = function(){}}){
616   - if (typeof (console) !== 'undefined')
617   - console.info("i3GEO.janela.snackbar()" + content);
618 616 $("#snackbar-container").find("div").filter(function(){
619 617 if($(this).css('opacity') < 1){
620 618 $(this).remove();
... ...
js/mapa.js
... ... @@ -84,14 +84,22 @@ i3GEO.mapa =
84 84 * Limpa a selecao de todos os temas do mapa
85 85 *
86 86 */
87   - limpasel : function() {
88   - i3GEO.php.limpasel(
89   - function(retorno) {
90   - i3GEO.atualiza();
91   - i3GEO.Interface.atualizaMapa();
92   - },
93   - ""
94   - );
  87 + limpasel : function({verifica = false}={}) {
  88 + var sel = false;
  89 + if(verifica == true){
  90 + sel = i3GEO.arvoreDeCamadas.existeCamadaSel({msg: true});
  91 + } else {
  92 + sel = true;
  93 + }
  94 + if(sel == true){
  95 + i3GEO.php.limpasel(
  96 + function(retorno) {
  97 + i3GEO.atualiza();
  98 + i3GEO.Interface.atualizaMapa();
  99 + },
  100 + ""
  101 + );
  102 + }
95 103 },
96 104 /**
97 105 * Ativa o redimensionamento automatico do mapa sempre que o navegador for redimensionado
... ...
js/navega.js
... ... @@ -695,6 +695,7 @@ i3GEO.navega =
695 695 var originX = centerX - half;
696 696 var originY = centerY - half;
697 697 var size = 2 * half + 1;
  698 + console.log(originX +", "+originY+", "+ size+", "+ size)
698 699 var sourceData = context.getImageData(originX, originY, size, size).data;
699 700 var dest = context.createImageData(size, size);
700 701 var destData = dest.data;
... ...
pacotes/filesaver/.babelrc 0 → 100644
... ... @@ -0,0 +1,19 @@
  1 +{
  2 + "presets": [
  3 + ["env", {
  4 + "targets": {
  5 + "browsers": [
  6 + "ie > 9"
  7 + ]
  8 + }
  9 + }]
  10 + ],
  11 + "plugins": [
  12 + "transform-es2015-modules-umd"
  13 + ],
  14 + "env": {
  15 + "production": {
  16 + "presets": ["minify"]
  17 + }
  18 + }
  19 +}
... ...
pacotes/filesaver/.gitignore 0 → 100644
... ... @@ -0,0 +1,6 @@
  1 +node_modules/
  2 +.DS_Store
  3 +.idea/
  4 +
  5 +# Generated files
  6 +/dist/
... ...
pacotes/filesaver/FileSaver.js 0 → 100644
... ... @@ -0,0 +1,188 @@
  1 +/* FileSaver.js
  2 + * A saveAs() FileSaver implementation.
  3 + * 1.3.2
  4 + * 2016-06-16 18:25:19
  5 + *
  6 + * By Eli Grey, http://eligrey.com
  7 + * License: MIT
  8 + * See https://github.com/eligrey/FileSaver.js/blob/master/LICENSE.md
  9 + */
  10 +
  11 +/*global self */
  12 +/*jslint bitwise: true, indent: 4, laxbreak: true, laxcomma: true, smarttabs: true, plusplus: true */
  13 +
  14 +/*! @source http://purl.eligrey.com/github/FileSaver.js/blob/master/FileSaver.js */
  15 +
  16 +var saveAs = saveAs || (function(view) {
  17 + "use strict";
  18 + // IE <10 is explicitly unsupported
  19 + if (typeof view === "undefined" || typeof navigator !== "undefined" && /MSIE [1-9]\./.test(navigator.userAgent)) {
  20 + return;
  21 + }
  22 + var
  23 + doc = view.document
  24 + // only get URL when necessary in case Blob.js hasn't overridden it yet
  25 + , get_URL = function() {
  26 + return view.URL || view.webkitURL || view;
  27 + }
  28 + , save_link = doc.createElementNS("http://www.w3.org/1999/xhtml", "a")
  29 + , can_use_save_link = "download" in save_link
  30 + , click = function(node) {
  31 + var event = new MouseEvent("click");
  32 + node.dispatchEvent(event);
  33 + }
  34 + , is_safari = /constructor/i.test(view.HTMLElement) || view.safari
  35 + , is_chrome_ios =/CriOS\/[\d]+/.test(navigator.userAgent)
  36 + , throw_outside = function(ex) {
  37 + (view.setImmediate || view.setTimeout)(function() {
  38 + throw ex;
  39 + }, 0);
  40 + }
  41 + , force_saveable_type = "application/octet-stream"
  42 + // the Blob API is fundamentally broken as there is no "downloadfinished" event to subscribe to
  43 + , arbitrary_revoke_timeout = 1000 * 40 // in ms
  44 + , revoke = function(file) {
  45 + var revoker = function() {
  46 + if (typeof file === "string") { // file is an object URL
  47 + get_URL().revokeObjectURL(file);
  48 + } else { // file is a File
  49 + file.remove();
  50 + }
  51 + };
  52 + setTimeout(revoker, arbitrary_revoke_timeout);
  53 + }
  54 + , dispatch = function(filesaver, event_types, event) {
  55 + event_types = [].concat(event_types);
  56 + var i = event_types.length;
  57 + while (i--) {
  58 + var listener = filesaver["on" + event_types[i]];
  59 + if (typeof listener === "function") {
  60 + try {
  61 + listener.call(filesaver, event || filesaver);
  62 + } catch (ex) {
  63 + throw_outside(ex);
  64 + }
  65 + }
  66 + }
  67 + }
  68 + , auto_bom = function(blob) {
  69 + // prepend BOM for UTF-8 XML and text/* types (including HTML)
  70 + // note: your browser will automatically convert UTF-16 U+FEFF to EF BB BF
  71 + if (/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(blob.type)) {
  72 + return new Blob([String.fromCharCode(0xFEFF), blob], {type: blob.type});
  73 + }
  74 + return blob;
  75 + }
  76 + , FileSaver = function(blob, name, no_auto_bom) {
  77 + if (!no_auto_bom) {
  78 + blob = auto_bom(blob);
  79 + }
  80 + // First try a.download, then web filesystem, then object URLs
  81 + var
  82 + filesaver = this
  83 + , type = blob.type
  84 + , force = type === force_saveable_type
  85 + , object_url
  86 + , dispatch_all = function() {
  87 + dispatch(filesaver, "writestart progress write writeend".split(" "));
  88 + }
  89 + // on any filesys errors revert to saving with object URLs
  90 + , fs_error = function() {
  91 + if ((is_chrome_ios || (force && is_safari)) && view.FileReader) {
  92 + // Safari doesn't allow downloading of blob urls
  93 + var reader = new FileReader();
  94 + reader.onloadend = function() {
  95 + var url = is_chrome_ios ? reader.result : reader.result.replace(/^data:[^;]*;/, 'data:attachment/file;');
  96 + var popup = view.open(url, '_blank');
  97 + if(!popup) view.location.href = url;
  98 + url=undefined; // release reference before dispatching
  99 + filesaver.readyState = filesaver.DONE;
  100 + dispatch_all();
  101 + };
  102 + reader.readAsDataURL(blob);
  103 + filesaver.readyState = filesaver.INIT;
  104 + return;
  105 + }
  106 + // don't create more object URLs than needed
  107 + if (!object_url) {
  108 + object_url = get_URL().createObjectURL(blob);
  109 + }
  110 + if (force) {
  111 + view.location.href = object_url;
  112 + } else {
  113 + var opened = view.open(object_url, "_blank");
  114 + if (!opened) {
  115 + // Apple does not allow window.open, see https://developer.apple.com/library/safari/documentation/Tools/Conceptual/SafariExtensionGuide/WorkingwithWindowsandTabs/WorkingwithWindowsandTabs.html
  116 + view.location.href = object_url;
  117 + }
  118 + }
  119 + filesaver.readyState = filesaver.DONE;
  120 + dispatch_all();
  121 + revoke(object_url);
  122 + }
  123 + ;
  124 + filesaver.readyState = filesaver.INIT;
  125 +
  126 + if (can_use_save_link) {
  127 + object_url = get_URL().createObjectURL(blob);
  128 + setTimeout(function() {
  129 + save_link.href = object_url;
  130 + save_link.download = name;
  131 + click(save_link);
  132 + dispatch_all();
  133 + revoke(object_url);
  134 + filesaver.readyState = filesaver.DONE;
  135 + });
  136 + return;
  137 + }
  138 +
  139 + fs_error();
  140 + }
  141 + , FS_proto = FileSaver.prototype
  142 + , saveAs = function(blob, name, no_auto_bom) {
  143 + return new FileSaver(blob, name || blob.name || "download", no_auto_bom);
  144 + }
  145 + ;
  146 + // IE 10+ (native saveAs)
  147 + if (typeof navigator !== "undefined" && navigator.msSaveOrOpenBlob) {
  148 + return function(blob, name, no_auto_bom) {
  149 + name = name || blob.name || "download";
  150 +
  151 + if (!no_auto_bom) {
  152 + blob = auto_bom(blob);
  153 + }
  154 + return navigator.msSaveOrOpenBlob(blob, name);
  155 + };
  156 + }
  157 +
  158 + FS_proto.abort = function(){};
  159 + FS_proto.readyState = FS_proto.INIT = 0;
  160 + FS_proto.WRITING = 1;
  161 + FS_proto.DONE = 2;
  162 +
  163 + FS_proto.error =
  164 + FS_proto.onwritestart =
  165 + FS_proto.onprogress =
  166 + FS_proto.onwrite =
  167 + FS_proto.onabort =
  168 + FS_proto.onerror =
  169 + FS_proto.onwriteend =
  170 + null;
  171 +
  172 + return saveAs;
  173 +}(
  174 + typeof self !== "undefined" && self
  175 + || typeof window !== "undefined" && window
  176 + || this.content
  177 +));
  178 +// `self` is undefined in Firefox for Android content script context
  179 +// while `this` is nsIContentFrameMessageManager
  180 +// with an attribute `content` that corresponds to the window
  181 +
  182 +if (typeof module !== "undefined" && module.exports) {
  183 + module.exports.saveAs = saveAs;
  184 +} else if ((typeof define !== "undefined" && define !== null) && (define.amd !== null)) {
  185 + define("FileSaver.js", function() {
  186 + return saveAs;
  187 + });
  188 +}
... ...
pacotes/filesaver/LICENSE.md 0 → 100644
... ... @@ -0,0 +1,11 @@
  1 +The MIT License
  2 +
  3 +Copyright © 2016 [Eli Grey][1].
  4 +
  5 +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
  6 +
  7 +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
  8 +
  9 +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  10 +
  11 + [1]: http://eligrey.com
... ...
pacotes/filesaver/README.md 0 → 100644
... ... @@ -0,0 +1,136 @@
  1 +If you need to save really large files bigger then the blob's size limitation or don't have
  2 +enough RAM, then have a look at the more advanced [StreamSaver.js](https://github.com/jimmywarting/StreamSaver.js)
  3 +that can save data directly to the hard drive asynchronously with the power of the new streams API. That will have
  4 +support for progress, cancelation and knowing when it's done writing
  5 +
  6 +FileSaver.js
  7 +============
  8 +
  9 +FileSaver.js implements the `saveAs()` FileSaver interface in browsers that do
  10 +not natively support it. There is a [FileSaver.js demo][1] that demonstrates saving
  11 +various media types.
  12 +
  13 +FileSaver.js is the solution to saving files on the client-side, and is perfect for
  14 +webapps that need to generate files, or for saving sensitive information that shouldn't be
  15 +sent to an external server.
  16 +
  17 +Looking for `canvas.toBlob()` for saving canvases? Check out
  18 +[canvas-toBlob.js][2] for a cross-browser implementation.
  19 +
  20 +Supported browsers
  21 +------------------
  22 +
  23 +| Browser | Constructs as | Filenames | Max Blob Size | Dependencies |
  24 +| -------------- | ------------- | ------------ | ------------- | ------------ |
  25 +| Firefox 20+ | Blob | Yes | 800 MiB | None |
  26 +| Firefox < 20 | data: URI | No | n/a | [Blob.js](https://github.com/eligrey/Blob.js) |
  27 +| Chrome | Blob | Yes | [500 MiB][3] | None |
  28 +| Chrome for Android | Blob | Yes | [500 MiB][3] | None |
  29 +| Edge | Blob | Yes | ? | None |
  30 +| IE 10+ | Blob | Yes | 600 MiB | None |
  31 +| Opera 15+ | Blob | Yes | 500 MiB | None |
  32 +| Opera < 15 | data: URI | No | n/a | [Blob.js](https://github.com/eligrey/Blob.js) |
  33 +| Safari 6.1+* | Blob | No | ? | None |
  34 +| Safari < 6 | data: URI | No | n/a | [Blob.js](https://github.com/eligrey/Blob.js) |
  35 +| Safari 10.1+   | Blob         | Yes         | n/a           | None |
  36 +
  37 +Feature detection is possible:
  38 +
  39 +```js
  40 +try {
  41 + var isFileSaverSupported = !!new Blob;
  42 +} catch (e) {}
  43 +```
  44 +
  45 +### IE < 10
  46 +
  47 +It is possible to save text files in IE < 10 without Flash-based polyfills.
  48 +See [ChenWenBrian and koffsyrup's `saveTextAs()`](https://github.com/koffsyrup/FileSaver.js#examples) for more details.
  49 +
  50 +### Safari 6.1+
  51 +
  52 +Blobs may be opened instead of saved sometimes—you may have to direct your Safari users to manually
  53 +press <kbd>⌘</kbd>+<kbd>S</kbd> to save the file after it is opened. Using the `application/octet-stream` MIME type to force downloads [can cause issues in Safari](https://github.com/eligrey/FileSaver.js/issues/12#issuecomment-47247096).
  54 +
  55 +### iOS
  56 +
  57 +saveAs must be run within a user interaction event such as onTouchDown or onClick; setTimeout will prevent saveAs from triggering. Due to restrictions in iOS saveAs opens in a new window instead of downloading, if you want this fixed please [tell Apple](https://bugs.webkit.org/show_bug.cgi?id=102914) how this bug is affecting you.
  58 +
  59 +Syntax
  60 +------
  61 +
  62 +```js
  63 +FileSaver saveAs(Blob/File data, optional DOMString filename, optional Boolean disableAutoBOM)
  64 +```
  65 +
  66 +Pass `true` for `disableAutoBOM` if you don't want FileSaver.js to automatically provide Unicode text encoding hints (see: [byte order mark](https://en.wikipedia.org/wiki/Byte_order_mark)).
  67 +
  68 +Examples
  69 +--------
  70 +
  71 +### Saving text using require
  72 +```js
  73 +var FileSaver = require('file-saver');
  74 +var blob = new Blob(["Hello, world!"], {type: "text/plain;charset=utf-8"});
  75 +FileSaver.saveAs(blob, "hello world.txt");
  76 +```
  77 +
  78 +### Saving text
  79 +
  80 +```js
  81 +var blob = new Blob(["Hello, world!"], {type: "text/plain;charset=utf-8"});
  82 +FileSaver.saveAs(blob, "hello world.txt");
  83 +```
  84 +
  85 +The standard W3C File API [`Blob`][4] interface is not available in all browsers.
  86 +[Blob.js][5] is a cross-browser `Blob` implementation that solves this.
  87 +
  88 +### Saving a canvas
  89 +
  90 +```js
  91 +var canvas = document.getElementById("my-canvas"), ctx = canvas.getContext("2d");
  92 +// draw to canvas...
  93 +canvas.toBlob(function(blob) {
  94 + saveAs(blob, "pretty image.png");
  95 +});
  96 +```
  97 +
  98 +Note: The standard HTML5 `canvas.toBlob()` method is not available in all browsers.
  99 +[canvas-toBlob.js][6] is a cross-browser `canvas.toBlob()` that polyfills this.
  100 +
  101 +### Saving File
  102 +
  103 +You can save a File constructor without specifying a filename. The
  104 +File itself already contains a name, There is a hand full of ways to get a file
  105 +instance (from storage, file input, new constructor)
  106 +But if you still want to change the name, then you can change it in the 2nd argument
  107 +
  108 +```js
  109 +var file = new File(["Hello, world!"], "hello world.txt", {type: "text/plain;charset=utf-8"});
  110 +FileSaver.saveAs(file);
  111 +```
  112 +
  113 +
  114 +
  115 +![Tracking image](https://in.getclicky.com/212712ns.gif)
  116 +
  117 + [1]: http://eligrey.com/demos/FileSaver.js/
  118 + [2]: https://github.com/eligrey/canvas-toBlob.js
  119 + [3]: https://code.google.com/p/chromium/issues/detail?id=375297
  120 + [4]: https://developer.mozilla.org/en-US/docs/DOM/Blob
  121 + [5]: https://github.com/eligrey/Blob.js
  122 + [6]: https://github.com/eligrey/canvas-toBlob.js
  123 +
  124 +Installation
  125 +------------------
  126 +
  127 +```bash
  128 +npm install file-saver --save
  129 +bower install file-saver
  130 +```
  131 +
  132 +Additionally, TypeScript definitions can be installed via:
  133 +
  134 +```bash
  135 +npm install @types/file-saver --save-dev
  136 +```
... ...