diff --git a/admin/admin.db b/admin/admin.db index 3842b13..0735ec1 100755 Binary files a/admin/admin.db and b/admin/admin.db differ diff --git a/css/default.css b/css/default.css index 0f9ba67..70d78db 100755 --- a/css/default.css +++ b/css/default.css @@ -172,6 +172,11 @@ hr { width: 265px; vertical-align: middle; } +.nomeTemaLegenda { + width: 265px; + vertical-align: middle; + color: black; +} .nomeTemaCurto { width: 230px; vertical-align: middle; diff --git a/css/i3geo7.css.php b/css/i3geo7.css.php old mode 100755 new mode 100644 index 7321a98..7321a98 --- a/css/i3geo7.css.php +++ b/css/i3geo7.css.php diff --git a/interface/openlayersdebug.htm b/interface/openlayersdebug.htm index e18d51e..f3e44b0 100755 --- a/interface/openlayersdebug.htm +++ b/interface/openlayersdebug.htm @@ -656,8 +656,11 @@ //i3GEO.mapa.dialogo.locregiao(215, "", 150, 150); //i3GEO.mapa.dialogo.metaestat(215, "", 150, 150); + //abre a legenda do mapa em uma janela flutuante //i3GEO.legenda.inicia({ - // "janela": true + //"idLegenda": "legendaHtml", + //"templateLegenda": "templates/legenda.html", + //"janela": true //}); }, //parametros de configuracao de diferentes componentes do mapa, como o catalogo de temas, balao de info, etc diff --git a/interface/templates/legenda.html b/interface/templates/legenda.html index 6f37591..45211a6 100755 --- a/interface/templates/legenda.html +++ b/interface/templates/legenda.html @@ -1,6 +1,6 @@
-
"; - janela = i3GEO.janela.cria(largura + "px", altura + "px", "", "", "", titulo, "wlegenda", false, "hd", cabecalho, minimiza,"","","","","nao"); + janela = i3GEO.janela.cria( + largura + "px", + altura + "px", + "", + "", + "", + titulo, + "wlegenda", + false, + "hd", + cabecalho, + minimiza, + "", + "", + "", + "", + "nao", + "" + ); temp = function() { i3GEO.legenda.IDS.remove("wlegenda_corpo"); @@ -255,5 +273,8 @@ i3GEO.legenda = janela.moveTo(esquerda, topo); } i3GEO.legenda.CAMADAS = ""; + if(atualiza == true){ + i3GEO.legenda.atualiza(); + } } }; -- libgit2 0.21.2