From f73e1f31267d22402e28f1393531d9ae4ea59929 Mon Sep 17 00:00:00 2001 From: Edmar Moretti Date: Thu, 15 Jan 2015 03:02:18 +0000 Subject: [PATCH] Correção na definição do cache nos atalhos de edição de mapfiles --- admin/admin.db | Bin 278528 -> 0 bytes classesjs/classe_interface.js | 1 + classesphp/classe_selecao.php | 1 + ferramentas/atalhosedicao/index.js | 5 +++++ ferramentas/legenda/exec.php | 1 + ferramentas/selecao/index.js | 2 ++ temas/_llocali.map | 46 +++++++++++++++++++++++----------------------- 7 files changed, 33 insertions(+), 23 deletions(-) diff --git a/admin/admin.db b/admin/admin.db index 4891f4a..42d1754 100644 Binary files a/admin/admin.db and b/admin/admin.db differ diff --git a/classesjs/classe_interface.js b/classesjs/classe_interface.js index 8c4ac1e..0aacf19 100644 --- a/classesjs/classe_interface.js +++ b/classesjs/classe_interface.js @@ -2464,6 +2464,7 @@ i3GEO.Interface = { i3GeoMap ); p.baloes.push(b); + //TODO resolver icone do cadeado /* google.maps.event.addListenerOnce(b,'domready',function(){ var p,c,a = $i(e); diff --git a/classesphp/classe_selecao.php b/classesphp/classe_selecao.php index 2111e6d..c3364fd 100644 --- a/classesphp/classe_selecao.php +++ b/classesphp/classe_selecao.php @@ -494,6 +494,7 @@ $valor - Valor. */ function selecaoAtributos2($filtro,$tipo) { + //TODO nao funciona com LATIN1 na string de conexao $items = pegaItens($this->layer); if ($tipo == "novo") { diff --git a/ferramentas/atalhosedicao/index.js b/ferramentas/atalhosedicao/index.js index 47b6e05..0a2bfa2 100755 --- a/ferramentas/atalhosedicao/index.js +++ b/ferramentas/atalhosedicao/index.js @@ -61,6 +61,8 @@ i3GEOF.atalhosedicao = new YAHOO.widget.Button("i3GEOFatalhosedicaoSalva", { onclick : { fn : function() { + //obtem os parametros que devem ficar no objeto camada + i3GEOF.atalhosedicao.metadata($i("i3GEOFatalhosedicaoCache"),true); i3GEO.tema.dialogo.salvaMapfile(i3GEOF.atalhosedicao.tema); } } @@ -180,7 +182,10 @@ i3GEOF.atalhosedicao = * Aplica ao objeto CAMADAS o parametro definido * Esse parametro e usado na hora de salvar o mapa * Para isso, a funcao salvarmapfile deve ser preparada para obter o parametro + * e enviar para a funcao php * veja em i3GEOF.salvamapfile.salva + * + * conv indica se deve ser feita a conversao de checked para sim/nao */ metadata: function(obj,conv){ var valor,tema; diff --git a/ferramentas/legenda/exec.php b/ferramentas/legenda/exec.php index e6242bd..d893259 100644 --- a/ferramentas/legenda/exec.php +++ b/ferramentas/legenda/exec.php @@ -77,6 +77,7 @@ Acrescenta a contagem de elementos em cada classe. tabelaLegenda> */ case "CONTAGEMCLASSE": + //TODO apresenta erro com palavras acentuadas include_once(dirname(__FILE__)."/../../classesphp/classe_legenda.php"); $m = new Legenda($map_file,$locaplic,$tema); $r = $m->tabelaLegenda("sim"); diff --git a/ferramentas/selecao/index.js b/ferramentas/selecao/index.js index e450328..00f7ab6 100644 --- a/ferramentas/selecao/index.js +++ b/ferramentas/selecao/index.js @@ -1013,6 +1013,8 @@ i3GEOF.selecao = { interrogacao.onclick = function(){ var obj = (this.parentNode.parentNode.getElementsByTagName("input"))[0], itemTema = (this.parentNode.parentNode.getElementsByTagName("select"))[0].value; + //TODO ordenar a lista de valores e remover apostrofe + //TODO limpar lista ao selecionar um novo campo i3GEO.util.comboValoresItem( "i3GEOselecaocbitens", i3GEO.temaAtivo, diff --git a/temas/_llocali.map b/temas/_llocali.map index ab696ec..139f585 100644 --- a/temas/_llocali.map +++ b/temas/_llocali.map @@ -6,50 +6,50 @@ MAP DATA "/var/www/i3geo/aplicmap/dados/locali.shp" METADATA "METAESTAT_ID_MEDIDA_VARIAVEL" "" - "cache" "" - "LTEMPOITEMIMAGEM" "" "TIP" "TIPO,NOMELOC,ANOCRIA" - "olopacity" "" - "LTEMPOITEMDESCRICAO" "TIPO" + "LTEMPOITEMIMAGEM" "" + "cache" "sim" "CLASSE" "SIM" - "palletestep" "" + "LTEMPOITEMDESCRICAO" "TIPO" + "olopacity" "" "LTEMPOITEMINICIO" "ANOCRIA" - "temporizador" "" - "LTEMPOITEMTIP" "ANOCRIA" + "palletestep" "" "permitekmz" "sim" + "LTEMPOITEMTIP" "ANOCRIA" + "temporizador" "" "gmopacity" "" "gmstatus" "" - "description_template" "" - "LTEMPOITEMTITULO" "NOMELOC" - "iconetema" "" "ITENSDESC" "Município,TIPO,Localidade,ANOCRIA" - "LTEMPOITEMLINK" "" + "iconetema" "" + "LTEMPOITEMTITULO" "NOMELOC" + "description_template" "" "ITENSLINK" ",,," + "LTEMPOITEMLINK" "" "METAESTAT_CODIGO_TIPO_REGIAO" "" "arquivotemaoriginal" "" "palletefile" "" - "olstatus" "" "nomeoriginal" "" - "LTEMPOFORMATODATA" "iso8601" + "olstatus" "" "permitedownload" "sim" - "LTEMPOITEMICONE" "" + "LTEMPOFORMATODATA" "iso8601" "permitecomentario" "SIM" + "LTEMPOITEMICONE" "" "metaestat" "" "download" "SIM" "itembuscarapida" "NOMELOC" - "arquivokmz" "" - "arquivodownload" "" "ITENS" "NOMEMUN,TIPO,NOMELOC,ANOCRIA" - "transitioneffect" "NAO" - "permiteogc" "sim" + "arquivodownload" "" + "arquivokmz" "" "permitekml" "sim" - "convcaracter" "" + "permiteogc" "sim" + "transitioneffect" "NAO" "TEMA" "Localidades (usar com timeline) para teste" + "convcaracter" "" "cortepixels" "40" - "LTEMPOCONVENCODE" "SIM" "editorsql" "" - "legendaimg" "" + "LTEMPOCONVENCODE" "SIM" "LTEMPOITEMFIM" "" + "legendaimg" "" END # METADATA NAME "_llocali" PROCESSING "LABEL_NO_CLIP=True" @@ -58,7 +58,7 @@ MAP PROCESSING "POLYLINE_NO_CLIP=True" PROCESSING "LABEL_NO_CLIP=True" PROCESSING "POLYLINE_NO_CLIP=True" - STATUS OFF + STATUS DEFAULT TEMPLATE "none.htm" TILEITEM "location" TYPE POINT @@ -89,7 +89,7 @@ MAP EXPRESSION ('[TIPO]'eq'Capital') STYLE COLOR 112 203 244 - SIZE 6 + SIZE 9 SYMBOL "vila" END # STYLE TITLE "" -- libgit2 0.21.2