Commit e4613ed9a0fa2c65143a8eb837a4cadda9621f54

Authored by Edmar Moretti
1 parent b4445c92

--no commit message

admin/admin.db
No preview for this file type
admin/js/editormapfile.js
@@ -710,7 +710,6 @@ function salvarDadosEditor(tipo,codigoMap,codigoLayer,indiceClasse,indiceEstilo, @@ -710,7 +710,6 @@ function salvarDadosEditor(tipo,codigoMap,codigoLayer,indiceClasse,indiceEstilo,
710 return; 710 return;
711 } 711 }
712 } 712 }
713 -  
714 campos = new Array("name","tema","iconetema","mensagem","escala","extensao","group"); 713 campos = new Array("name","tema","iconetema","mensagem","escala","extensao","group");
715 par = "&codigoMap="+codigoMap+"&codigoLayer="+codigoLayer; 714 par = "&codigoMap="+codigoMap+"&codigoLayer="+codigoLayer;
716 prog = "../php/editormapfile.php?funcao=alterarTitulo"; 715 prog = "../php/editormapfile.php?funcao=alterarTitulo";
@@ -792,7 +791,7 @@ function salvarDadosEditor(tipo,codigoMap,codigoLayer,indiceClasse,indiceEstilo, @@ -792,7 +791,7 @@ function salvarDadosEditor(tipo,codigoMap,codigoLayer,indiceClasse,indiceEstilo,
792 {montaEditorEditavel(YAHOO.lang.JSON.parse(o.responseText));} 791 {montaEditorEditavel(YAHOO.lang.JSON.parse(o.responseText));}
793 if(tipo=="titulo"){ 792 if(tipo=="titulo"){
794 //o codigo do layer pode ter sido alterado 793 //o codigo do layer pode ter sido alterado
795 - var no = getNodeByProperty("id",codigoMap+"_"+codigoLayer); 794 + var no = tree.getNodeByProperty("id",codigoMap+"_"+codigoLayer);
796 tree.removeChildren(no) ; 795 tree.removeChildren(no) ;
797 no.expand(); 796 no.expand();
798 montaEditorTitulo(YAHOO.lang.JSON.parse(o.responseText)); 797 montaEditorTitulo(YAHOO.lang.JSON.parse(o.responseText));
admin/js/editormapfile_titulo.js
@@ -38,6 +38,6 @@ function montaEditorTitulo(dados) @@ -38,6 +38,6 @@ function montaEditorTitulo(dados)
38 $i("editor_bd").innerHTML = ins; 38 $i("editor_bd").innerHTML = ins;
39 39
40 var temp = function() 40 var temp = function()
41 - {salvarDadosEditor('titulo',dados.codigoMap,dados.codigoLayer,false);}; 41 + {salvarDadosEditor('titulo',dados.codigoMap,dados.codigoLayer);};
42 new YAHOO.widget.Button("salvarEditor",{ onclick: { fn: temp }}); 42 new YAHOO.widget.Button("salvarEditor",{ onclick: { fn: temp }});
43 } 43 }
classesjs/classe_plugini3geo.js
@@ -162,15 +162,15 @@ i3GEO.pluginI3geo = { @@ -162,15 +162,15 @@ i3GEO.pluginI3geo = {
162 * Exemplo: 162 * Exemplo:
163 * 163 *
164 * "PLUGINI3GEO" 164 * "PLUGINI3GEO"
165 - * '{"plugin":"heatmap","parametros":{"coluna":"teste","max":"10","radius":"15"}}' 165 + * '{"plugin":"heatmap","parametros":{"tipoGradiente": "default","coluna":"teste","max":"10","radius":"15"}}'
166 * 166 *
167 * Coluna é a que contém os dados numéricos que definem 167 * Coluna é a que contém os dados numéricos que definem
168 * a quantidade de uma medida em cada ponto e é usada para gerar a 168 * a quantidade de uma medida em cada ponto e é usada para gerar a
169 * representação. Se for vazia, considera-se o valor como 1 169 * representação. Se for vazia, considera-se o valor como 1
170 * 170 *
171 * As cores das classes existentes no LAYER serão utilizadas para 171 * As cores das classes existentes no LAYER serão utilizadas para
172 - * calcular as cores do mapa de calor. Se não existirem classes,  
173 - * será usado o default. 172 + * calcular as cores do mapa de calor. Se tipoGradiente for igual a "default" será utilizado
  173 + * o gradiente padrão.
174 * 174 *
175 */ 175 */
176 heatmap : { 176 heatmap : {
@@ -484,32 +484,38 @@ i3GEO.pluginI3geo = { @@ -484,32 +484,38 @@ i3GEO.pluginI3geo = {
484 + "/ferramentas/markercluster/googlemaps_js.php", carregaJs = "nao", criaLayer; 484 + "/ferramentas/markercluster/googlemaps_js.php", carregaJs = "nao", criaLayer;
485 criaLayer = function() { 485 criaLayer = function() {
486 var markercluster, marcas, latLng, marker, n, i; 486 var markercluster, marcas, latLng, marker, n, i;
487 - n = markercluster_dados.lenght(); 487 + n = markercluster_dados.length;
488 marcas = []; 488 marcas = [];
489 for (i = 0; i < n; i++) { 489 for (i = 0; i < n; i++) {
490 - latLng = new google.maps.LatLng(markercluster_dados[i].lat, markercluster_dados[i].long); 490 + latLng = new google.maps.LatLng(markercluster_dados[i].lat, markercluster_dados[i].lng);
491 marker = new google.maps.Marker({ 491 marker = new google.maps.Marker({
492 'position' : latLng 492 'position' : latLng
493 }); 493 });
494 marcas.push(marker); 494 marcas.push(marker);
495 } 495 }
496 markercluster = new MarkerClusterer(i3GeoMap, marcas, { 496 markercluster = new MarkerClusterer(i3GeoMap, marcas, {
497 - "gridSize" : camada.plugini3geo.parametros.gridSize, 497 + "gridSize" : parseInt(camada.plugini3geo.parametros.gridSize,10),
498 "visible" : true, 498 "visible" : true,
499 - "opacity" : camada.transparency 499 + "opacity" : camada.transparency,
  500 + "name" : camada.name
500 }); 501 });
501 i3GEO.janela.fechaAguarde("aguardePlugin"); 502 i3GEO.janela.fechaAguarde("aguardePlugin");
  503 +
502 markercluster.ligaCamada = function() { 504 markercluster.ligaCamada = function() {
503 - this.liga(); 505 + i3GEO.pluginI3geo.OBJETOS[camada.name].ready_ = true;
  506 + i3GEO.pluginI3geo.OBJETOS[camada.name].redraw();
504 }; 507 };
505 markercluster.desLigaCamada = function() { 508 markercluster.desLigaCamada = function() {
506 - this.desliga(); 509 + i3GEO.pluginI3geo.OBJETOS[camada.name].resetViewport(true);
  510 + i3GEO.pluginI3geo.OBJETOS[camada.name].ready_ = false;
507 }; 511 };
508 markercluster.removeCamada = function() { 512 markercluster.removeCamada = function() {
509 - this.destroy(); 513 + i3GEO.pluginI3geo.OBJETOS[camada.name].clearMarkers();
  514 +
510 }; 515 };
511 markercluster.atualizaCamada = function() { 516 markercluster.atualizaCamada = function() {
512 - this.draw(); 517 + i3GEO.pluginI3geo.OBJETOS[camada.name].ready_ = true;
  518 + i3GEO.pluginI3geo.OBJETOS[camada.name].redraw();
513 }; 519 };
514 i3GEO.pluginI3geo.OBJETOS[camada.name] = markercluster; 520 i3GEO.pluginI3geo.OBJETOS[camada.name] = markercluster;
515 markercluster_dados = null; 521 markercluster_dados = null;
ferramentas/markercluster/funcoes.php
1 <?php 1 <?php
2 -function heatmapDados($map_file){ 2 +function markerclusterDados($map_file){
3 global $dir,$layer,$coluna; 3 global $dir,$layer,$coluna;
4 //pega os dados e formata como uma string no formato 4 //pega os dados e formata como uma string no formato
5 // [{"lat":"-21.7079984","lng":"-47.4913629","count":"1"}] 5 // [{"lat":"-21.7079984","lng":"-47.4913629","count":"1"}]
@@ -26,15 +26,17 @@ function heatmapDados($map_file){ @@ -26,15 +26,17 @@ function heatmapDados($map_file){
26 } 26 }
27 return $resultado; 27 return $resultado;
28 } 28 }
29 -function heatmapMapfile(){  
30 - global $map_file,$layer,$base,$locaplic,$dir_tmp,$postgis_mapa; 29 +function markerclusterMapfile(){
  30 + global $dir,$map_file,$layer,$base,$locaplic,$dir_tmp,$postgis_mapa;
31 if(empty($map_file) && file_exists($dir."/../../temas/{$layer}.map")){ 31 if(empty($map_file) && file_exists($dir."/../../temas/{$layer}.map")){
32 $versao = versao(); 32 $versao = versao();
33 $versao = $versao["principal"]; 33 $versao = $versao["principal"];
34 if(!isset($base) || $base == "") 34 if(!isset($base) || $base == "")
35 { 35 {
36 if (strtoupper(substr(PHP_OS, 0, 3) == 'WIN')) 36 if (strtoupper(substr(PHP_OS, 0, 3) == 'WIN'))
37 - {$base = $locaplic."/aplicmap/geral1windowsv".$versao.".map";} 37 + {
  38 + $base = $locaplic."/aplicmap/geral1windowsv".$versao.".map";
  39 + }
38 else 40 else
39 { 41 {
40 if($base == "" && file_exists('/var/www/i3geo/aplicmap/geral1debianv'.$versao.'.map')){ 42 if($base == "" && file_exists('/var/www/i3geo/aplicmap/geral1debianv'.$versao.'.map')){
@@ -47,7 +49,9 @@ function heatmapMapfile(){ @@ -47,7 +49,9 @@ function heatmapMapfile(){
47 $base = "/opt/www/html/i3geo/aplicmap/geral1v".$versao.".map"; 49 $base = "/opt/www/html/i3geo/aplicmap/geral1v".$versao.".map";
48 } 50 }
49 if($base == "") 51 if($base == "")
50 - {$base = $locaplic."/aplicmap/geral1v".$versao.".map";} 52 + {
  53 + $base = $locaplic."/aplicmap/geral1v".$versao.".map";
  54 + }
51 } 55 }
52 } 56 }
53 $map_file = $dir_tmp."/".nomeRandomico().".map"; 57 $map_file = $dir_tmp."/".nomeRandomico().".map";
ferramentas/markercluster/googlemaps_js.php
@@ -21,12 +21,11 @@ include_once($dir.&quot;/../inicia.php&quot;); @@ -21,12 +21,11 @@ include_once($dir.&quot;/../inicia.php&quot;);
21 21
22 include_once($dir."/funcoes.php"); 22 include_once($dir."/funcoes.php");
23 23
24 -$map_file = heatmapMapfile();  
25 -$resultado = heatmapDados($map_file); 24 +$map_file = markerclusterMapfile();
  25 +$resultado = markerclusterDados($map_file);
26 26
27 echo $nomevariavel.' = ['.implode(",",$resultado).'];'; 27 echo $nomevariavel.' = ['.implode(",",$resultado).'];';
28 if($carregajs === "sim"){ 28 if($carregajs === "sim"){
29 - include_once($dir."/../../pacotes/markercluster/google/markerclusterer_compiled.js");  
30 -}  
31 - 29 + include_once($dir."/../../pacotes/markercluster/google/markerclusterer.js");
  30 +}
32 ?> 31 ?>
ferramentas/markercluster/openlayers_js.php
1 <?php 1 <?php
2 /** 2 /**
3 -Obtem os dados para geracao de mapa de markercluster. Envia o codigo javascript necessario se for solicitado. 3 +Obtem os dados para geracao de mapa de cluster. Envia o codigo javascript necessario se for solicitado.
4 4
5 Parametros: 5 Parametros:
6 6
@@ -16,33 +16,42 @@ nomevariavel nome da variavel javascript que sera retornada com os valores @@ -16,33 +16,42 @@ nomevariavel nome da variavel javascript que sera retornada com os valores
16 16
17 */ 17 */
18 $dir = dirname(__FILE__); 18 $dir = dirname(__FILE__);
  19 +
19 //inicializa o programa verificando seguranca e pegando os parametros enviados pela URL e pela secao 20 //inicializa o programa verificando seguranca e pegando os parametros enviados pela URL e pela secao
20 include_once($dir."/../inicia.php"); 21 include_once($dir."/../inicia.php");
  22 +include_once($dir."/funcoes.php");
21 23
22 -//pega os dados e formata como uma string no formato  
23 -// [{"lat":"-21.7079984","lng":"-47.4913629","count":"1"}]  
24 -//os dados sao devolvidos como uma variavel javascript  
25 -//obtem os registros  
26 -include_once($dir."/../../classesphp/classe_atributos.php");  
27 //o plugin pode ser chamado sem um mapfile criado 24 //o plugin pode ser chamado sem um mapfile criado
28 //usando apenas o mapfile existente em i3geo/temas 25 //usando apenas o mapfile existente em i3geo/temas
29 //nesse caso e necessario cirar um mapfile temporario 26 //nesse caso e necessario cirar um mapfile temporario
30 - 27 +if($g_sid != ""){
  28 + session_name("i3GeoPHP");
  29 + session_id($g_sid);
  30 + session_start();
  31 + if(!empty($_SESSION["map_file"])){
  32 + $mapateste = ms_newMapObj($_SESSION["map_file"]);
  33 + if($mapateste->getlayerbyname($layer) != ""){
  34 + $map_file = $_SESSION["map_file"];
  35 + }
  36 + }
  37 +}
  38 +$map_file = markerclusterMapfile();
31 //no caso do SAIKU, o nome do mapfile pode estar na sessao 39 //no caso do SAIKU, o nome do mapfile pode estar na sessao
32 -session_name("i3GeoPHP");  
33 -session_start();  
34 -if(!empty($_SESSION["map_file"])){  
35 - $mapateste = ms_newMapObj($_SESSION["map_file"]);  
36 - if($mapateste->getlayerbyname($layer) != ""){  
37 - $map_file = $_SESSION["map_file"]; 40 +if($map_file == ""){
  41 + session_name("i3GeoPHP");
  42 + session_start();
  43 + if(!empty($_SESSION["map_file"])){
  44 + $mapateste = ms_newMapObj($_SESSION["map_file"]);
  45 + if($mapateste->getlayerbyname($layer) != ""){
  46 + $map_file = $_SESSION["map_file"];
  47 + }
38 } 48 }
39 } 49 }
40 -  
41 -$map_file = heatmapMapfile();  
42 -$resultado = heatmapDados($map_file); 50 +$resultado = markerclusterDados($map_file);
43 51
44 echo $nomevariavel.' = ['.implode(",",$resultado).'];'; 52 echo $nomevariavel.' = ['.implode(",",$resultado).'];';
45 -if($carregajs === "sim"){ 53 +
  54 +if($carregajs === "sim"){
46 include_once($dir."/../../pacotes/markercluster/openlayers/AnimatedCluster.js"); 55 include_once($dir."/../../pacotes/markercluster/openlayers/AnimatedCluster.js");
47 -} 56 +}
48 ?> 57 ?>
49 \ No newline at end of file 58 \ No newline at end of file
interface/black_carto_ol.htm
@@ -58,7 +58,8 @@ @@ -58,7 +58,8 @@
58 </td> 58 </td>
59 <td class=fundoRodape style="width: 20%"> 59 <td class=fundoRodape style="width: 20%">
60 <!-- bot&atilde;o de compartilhamento em redes sociais--> 60 <!-- bot&atilde;o de compartilhamento em redes sociais-->
61 - <div id=i3GEOcompartilhar style="width: 170px; margin: auto; text-align: left; padding-top: 1px"></div> <!-- aqui ser&aacute; inclu&iacute;do o contador de tempo quando o temporizador de redesenho do mapa estiver ativo --> 61 + <!--<div id=i3GEOcompartilhar style="width: 170px; margin: auto; text-align: left; padding-top: 1px"></div> -->
  62 + <!-- aqui ser&aacute; inclu&iacute;do o contador de tempo quando o temporizador de redesenho do mapa estiver ativo -->
62 <div id=tempoRedesenho style="z-index: 100; position: absolute; top: 0px; color: green; background-color: black; width: 50px; display: none"></div> 63 <div id=tempoRedesenho style="z-index: 100; position: absolute; top: 0px; color: green; background-color: black; width: 50px; display: none"></div>
63 </td> 64 </td>
64 <!-- aqui ser&atilde;o inclu&iacute;das as bandeiras que permitem a troca de idioma --> 65 <!-- aqui ser&atilde;o inclu&iacute;das as bandeiras que permitem a troca de idioma -->
interface/black_gm.phtml
@@ -47,7 +47,8 @@ include_once(&quot;../ms_configura.php&quot;); @@ -47,7 +47,8 @@ include_once(&quot;../ms_configura.php&quot;);
47 </td> 47 </td>
48 <td class=fundoRodape style="width: 20%"> 48 <td class=fundoRodape style="width: 20%">
49 <!-- bot&atilde;o de compartilhamento em redes sociais--> 49 <!-- bot&atilde;o de compartilhamento em redes sociais-->
50 - <div id=i3GEOcompartilhar style="width: 170px; margin: auto; text-align: left; padding-top: 1px"></div> <!-- aqui ser&aacute; inclu&iacute;do o contador de tempo quando o temporizador de redesenho do mapa estiver ativo --> 50 + <!--<div id=i3GEOcompartilhar style="width: 170px; margin: auto; text-align: left; padding-top: 1px"></div> -->
  51 + <!-- aqui ser&aacute; inclu&iacute;do o contador de tempo quando o temporizador de redesenho do mapa estiver ativo -->
51 <div id=tempoRedesenho style="z-index: 100; position: absolute; top: 0px; color: green; background-color: black; width: 50px; display: none"></div> 52 <div id=tempoRedesenho style="z-index: 100; position: absolute; top: 0px; color: green; background-color: black; width: 50px; display: none"></div>
52 </td> 53 </td>
53 <!-- aqui ser&atilde;o inclu&iacute;das as bandeiras que permitem a troca de idioma --> 54 <!-- aqui ser&atilde;o inclu&iacute;das as bandeiras que permitem a troca de idioma -->
interface/black_ol.htm
@@ -57,7 +57,8 @@ @@ -57,7 +57,8 @@
57 </td> 57 </td>
58 <td class=fundoRodape style="width: 20%"> 58 <td class=fundoRodape style="width: 20%">
59 <!-- bot&atilde;o de compartilhamento em redes sociais--> 59 <!-- bot&atilde;o de compartilhamento em redes sociais-->
60 - <div id=i3GEOcompartilhar style="width: 170px; margin: auto; text-align: left; padding-top: 1px"></div> <!-- aqui ser&aacute; inclu&iacute;do o contador de tempo quando o temporizador de redesenho do mapa estiver ativo --> 60 + <!--<div id=i3GEOcompartilhar style="width: 170px; margin: auto; text-align: left; padding-top: 1px"></div> -->
  61 + <!-- aqui ser&aacute; inclu&iacute;do o contador de tempo quando o temporizador de redesenho do mapa estiver ativo -->
61 <div id=tempoRedesenho style="z-index: 100; position: absolute; top: 0px; color: green; background-color: black; width: 50px; display: none"></div> 62 <div id=tempoRedesenho style="z-index: 100; position: absolute; top: 0px; color: green; background-color: black; width: 50px; display: none"></div>
62 </td> 63 </td>
63 <!-- aqui ser&atilde;o inclu&iacute;das as bandeiras que permitem a troca de idioma --> 64 <!-- aqui ser&atilde;o inclu&iacute;das as bandeiras que permitem a troca de idioma -->
interface/black_osm.htm
@@ -44,7 +44,8 @@ @@ -44,7 +44,8 @@
44 </td> 44 </td>
45 <td class=fundoRodape style="width: 20%"> 45 <td class=fundoRodape style="width: 20%">
46 <!-- bot&atilde;o de compartilhamento em redes sociais--> 46 <!-- bot&atilde;o de compartilhamento em redes sociais-->
47 - <div id=i3GEOcompartilhar style="width: 170px; margin: auto; text-align: left; padding-top: 1px"></div> <!-- aqui ser&aacute; inclu&iacute;do o contador de tempo quando o temporizador de redesenho do mapa estiver ativo --> 47 + <!--<div id=i3GEOcompartilhar style="width: 170px; margin: auto; text-align: left; padding-top: 1px"></div> -->
  48 + <!-- aqui ser&aacute; inclu&iacute;do o contador de tempo quando o temporizador de redesenho do mapa estiver ativo -->
48 <div id=tempoRedesenho style="z-index: 100; position: absolute; top: 0px; color: green; background-color: black; width: 50px; display: none"></div> 49 <div id=tempoRedesenho style="z-index: 100; position: absolute; top: 0px; color: green; background-color: black; width: 50px; display: none"></div>
49 </td> 50 </td>
50 <!-- aqui ser&atilde;o inclu&iacute;das as bandeiras que permitem a troca de idioma --> 51 <!-- aqui ser&atilde;o inclu&iacute;das as bandeiras que permitem a troca de idioma -->
interface/carto_ol.htm
@@ -45,7 +45,7 @@ @@ -45,7 +45,7 @@
45 <table width=100% > 45 <table width=100% >
46 <tr> 46 <tr>
47 <td class=tdbranca > 47 <td class=tdbranca >
48 - <div id=i3GEOcompartilhar style="width:170px;margin:auto;text-align:left;border-top:1px solid rgb(250,250,250);padding-top:1px" ></div> 48 + <!--<div id=i3GEOcompartilhar style="width: 170px; margin: auto; text-align: left; padding-top: 1px"></div> -->
49 <div id=tempoRedesenho style=z-index:100;position:absolute;top:0px;color:green;background-color:black;width:50px;display:none ></div> 49 <div id=tempoRedesenho style=z-index:100;position:absolute;top:0px;color:green;background-color:black;width:50px;display:none ></div>
50 </td> 50 </td>
51 <td class=tdbranca > 51 <td class=tdbranca >
interface/googlemaps_noite.phtml
@@ -47,7 +47,9 @@ include_once(&quot;../ms_configura.php&quot;); @@ -47,7 +47,9 @@ include_once(&quot;../ms_configura.php&quot;);
47 </td> 47 </td>
48 <td class=fundoRodape style="width: 20%"> 48 <td class=fundoRodape style="width: 20%">
49 <!-- bot&atilde;o de compartilhamento em redes sociais--> 49 <!-- bot&atilde;o de compartilhamento em redes sociais-->
50 - <div id=i3GEOcompartilhar style="width: 170px; margin: auto; text-align: left; padding-top: 1px"></div> <!-- aqui ser&aacute; inclu&iacute;do o contador de tempo quando o temporizador de redesenho do mapa estiver ativo --> 50 + <!-- <div id=i3GEOcompartilhar style="width: 170px; margin: auto; text-align: left; padding-top: 1px"></div> -->
  51 +
  52 + <!-- aqui ser&aacute; inclu&iacute;do o contador de tempo quando o temporizador de redesenho do mapa estiver ativo -->
51 <div id=tempoRedesenho style="z-index: 100; position: absolute; top: 0px; color: green; background-color: black; width: 50px; display: none"></div> 53 <div id=tempoRedesenho style="z-index: 100; position: absolute; top: 0px; color: green; background-color: black; width: 50px; display: none"></div>
52 </td> 54 </td>
53 <!-- aqui ser&atilde;o inclu&iacute;das as bandeiras que permitem a troca de idioma --> 55 <!-- aqui ser&atilde;o inclu&iacute;das as bandeiras que permitem a troca de idioma -->
interface/googlemapsdebug.phtml
@@ -47,7 +47,9 @@ include_once(&quot;../ms_configura.php&quot;); @@ -47,7 +47,9 @@ include_once(&quot;../ms_configura.php&quot;);
47 </td> 47 </td>
48 <td class=fundoRodape style="width: 20%"> 48 <td class=fundoRodape style="width: 20%">
49 <!-- bot&atilde;o de compartilhamento em redes sociais--> 49 <!-- bot&atilde;o de compartilhamento em redes sociais-->
50 - <div id=i3GEOcompartilhar style="width: 170px; margin: auto; text-align: left; padding-top: 1px"></div> <!-- aqui ser&aacute; inclu&iacute;do o contador de tempo quando o temporizador de redesenho do mapa estiver ativo --> 50 + <!--<div id=i3GEOcompartilhar style="width: 170px; margin: auto; text-align: left; padding-top: 1px"></div> -->
  51 +
  52 + <!-- aqui ser&aacute; inclu&iacute;do o contador de tempo quando o temporizador de redesenho do mapa estiver ativo -->
51 <div id=tempoRedesenho style="z-index: 100; position: absolute; top: 0px; color: green; background-color: black; width: 50px; display: none"></div> 53 <div id=tempoRedesenho style="z-index: 100; position: absolute; top: 0px; color: green; background-color: black; width: 50px; display: none"></div>
52 </td> 54 </td>
53 <!-- aqui ser&atilde;o inclu&iacute;das as bandeiras que permitem a troca de idioma --> 55 <!-- aqui ser&atilde;o inclu&iacute;das as bandeiras que permitem a troca de idioma -->
interface/ol_parametros.php
@@ -58,7 +58,8 @@ @@ -58,7 +58,8 @@
58 <div id=visual ></div> 58 <div id=visual ></div>
59 --> 59 -->
60 <!-- bot&atilde;o de compartilhamento em redes sociais --> 60 <!-- bot&atilde;o de compartilhamento em redes sociais -->
61 - <div id=i3GEOcompartilhar style="text-align:left;border-top:1px solid rgb(250,250,250);padding-top:1px" ></div> 61 + <!--<div id=i3GEOcompartilhar style="width: 170px; margin: auto; text-align: left; padding-top: 1px"></div> -->
  62 +
62 <!-- aqui ser&aacute; inclu&iacute;do o contador de tempo quando o temporizador de redesenho do mapa estiver ativo --> 63 <!-- aqui ser&aacute; inclu&iacute;do o contador de tempo quando o temporizador de redesenho do mapa estiver ativo -->
63 <div id=tempoRedesenho style=z-index:100;position:absolute;top:0px;color:green;background-color:black;width:50px;display:none ></div> 64 <div id=tempoRedesenho style=z-index:100;position:absolute;top:0px;color:green;background-color:black;width:50px;display:none ></div>
64 </td> 65 </td>
interface/osmdebug.htm
@@ -44,7 +44,7 @@ @@ -44,7 +44,7 @@
44 </td> 44 </td>
45 <td class=fundoRodape style="width: 20%"> 45 <td class=fundoRodape style="width: 20%">
46 <!-- bot&atilde;o de compartilhamento em redes sociais--> 46 <!-- bot&atilde;o de compartilhamento em redes sociais-->
47 - <div id=i3GEOcompartilhar style="width: 170px; margin: auto; text-align: left; padding-top: 1px"></div> <!-- aqui ser&aacute; inclu&iacute;do o contador de tempo quando o temporizador de redesenho do mapa estiver ativo --> 47 + <!--<div id=i3GEOcompartilhar style="width: 170px; margin: auto; text-align: left; padding-top: 1px"></div> -->
48 <div id=tempoRedesenho style="z-index: 100; position: absolute; top: 0px; color: green; background-color: black; width: 50px; display: none"></div> 48 <div id=tempoRedesenho style="z-index: 100; position: absolute; top: 0px; color: green; background-color: black; width: 50px; display: none"></div>
49 </td> 49 </td>
50 <!-- aqui ser&atilde;o inclu&iacute;das as bandeiras que permitem a troca de idioma --> 50 <!-- aqui ser&atilde;o inclu&iacute;das as bandeiras que permitem a troca de idioma -->
temas/_lmapadecluster.map 0 → 100644
@@ -0,0 +1,83 @@ @@ -0,0 +1,83 @@
  1 +MAP
  2 + FONTSET "../symbols/fontes.txt"
  3 + SYMBOLSET "../symbols/simbolosv6.sym"
  4 + LAYER
  5 + CONNECTION ""
  6 + DATA "/var/www/i3geo/aplicmap/dados/locali.shp"
  7 + METADATA
  8 + "METAESTAT_ID_MEDIDA_VARIAVEL" ""
  9 + "cache" ""
  10 + "TIP" "TIPO,ANOCRIA,NOMELOC"
  11 + "ltempoitemimagem" ""
  12 + "CLASSE" "SIM"
  13 + "ltempoitemdescricao" ""
  14 + "palletestep" ""
  15 + "ltempoiteminicio" ""
  16 + "permitekmz" "nao"
  17 + "ltempoitemtip" ""
  18 + "temporizador" ""
  19 + "iconetema" ""
  20 + "description_template" ""
  21 + "ltempoitemtitulo" ""
  22 + "ltempoitemlink" ""
  23 + "METAESTAT_CODIGO_TIPO_REGIAO" ""
  24 + "palletefile" ""
  25 + "permitedownload" "sim"
  26 + "ltempoformatodata" ""
  27 + "ltempoitemicone" ""
  28 + "permitecomentario" ""
  29 + "metaestat" ""
  30 + "PLUGINI3GEO" '{"plugin":"markercluster","parametros":{"gridSize":"50"}}'
  31 + "itembuscarapida" ""
  32 + "arquivokmz" ""
  33 + "arquivodownload" ""
  34 + "permitekml" "sim"
  35 + "permiteogc" "sim"
  36 + "convcaracter" ""
  37 + "TEMA" "Localidades (usar com mapa de cluster)"
  38 + "cortepixels" "0"
  39 + "editorsql" ""
  40 + "ltempoconvencode" ""
  41 + "ltempoitemfim" ""
  42 + "legendaimg" ""
  43 + END # METADATA
  44 + NAME "_lmapadecluster"
  45 + STATUS OFF
  46 + TEMPLATE "none.htm"
  47 + TILEITEM "location"
  48 + TYPE POINT
  49 + UNITS METERS
  50 + CLASS
  51 + NAME "0.45"
  52 + STYLE
  53 + COLOR 0 0 255
  54 + END # STYLE
  55 + END # CLASS
  56 + CLASS
  57 + NAME "0.55"
  58 + STYLE
  59 + COLOR 0 255 255
  60 + END # STYLE
  61 + END # CLASS
  62 + CLASS
  63 + NAME "0.65"
  64 + STYLE
  65 + COLOR 0 255 0
  66 + END # STYLE
  67 + END # CLASS
  68 + CLASS
  69 + NAME "0.95"
  70 + STYLE
  71 + COLOR 255 255 0
  72 + END # STYLE
  73 + END # CLASS
  74 + CLASS
  75 + NAME "1"
  76 + STYLE
  77 + COLOR 255 0 0
  78 + END # STYLE
  79 + END # CLASS
  80 + END # LAYER
  81 +
  82 +END # MAP
  83 +