From 558382806eaf79d8cc7d0e7e428a92980777a19c Mon Sep 17 00:00:00 2001 From: Edmar Moretti Date: Thu, 25 Sep 2014 13:32:58 +0000 Subject: [PATCH] Inclusão de exemplo de customização da barra de botoes --- exemplos/cursodsv20.htm | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------ exemplos/index.html | 2 ++ interface/openlayersdebug.htm | 29 +++++++---------------------- 3 files changed, 75 insertions(+), 34 deletions(-) diff --git a/exemplos/cursodsv20.htm b/exemplos/cursodsv20.htm index 1bebb3c..3215ece 100644 --- a/exemplos/cursodsv20.htm +++ b/exemplos/cursodsv20.htm @@ -9,16 +9,16 @@ +
+ - - -
-
+
+ diff --git a/exemplos/index.html b/exemplos/index.html index 1007a78..d77ca29 100644 --- a/exemplos/index.html +++ b/exemplos/index.html @@ -97,6 +97,8 @@ body,td { [18]    [19] +    + [20]

diff --git a/interface/openlayersdebug.htm b/interface/openlayersdebug.htm index 4a35ff6..946dfb8 100644 --- a/interface/openlayersdebug.htm +++ b/interface/openlayersdebug.htm @@ -213,36 +213,21 @@ i3GEO.configura.mapaRefDisplay = "none"; //tipo de barra de botões i3GEO.barraDeBotoes.TIPO = "olhodepeixe1"; //ajusta o deslocamento da barra de botoes -i3GEO.barraDeBotoes.OFFSET = 11; +//i3GEO.barraDeBotoes.OFFSET = 11; //ajusta a posicao da barra de botoes no IE -if(navm){ - i3GEO.barraDeBotoes.OFFSET = 5; -} -if(chro){ - i3GEO.barraDeBotoes.OFFSET = 15; -} +//if(navm){ +// i3GEO.barraDeBotoes.OFFSET = 5; +//} +//if(chro){ +// i3GEO.barraDeBotoes.OFFSET = 15; +//} //número máximo de botões na barra de botões inicial //i3GEO.barraDeBotoes.MAXBOTOES = 10; //remove itens dos menus que não são necessários, já que estão como ícones na barra de botões i3GEO.configura.oMenuData["submenus"]["janelas"] = []; i3GEO.gadgets.PARAMETROS.mostraMenuSuspenso.permiteLogin = true; -// -//barra de botoes normal. descomente para usar -/* -i3GEO.barraDeBotoes.TIPO = "yui"; -i3GEO.barraDeBotoes.AUTOALTURA = true; -i3GEO.barraDeBotoes.ATIVAMENUCONTEXTO = false; -i3GEO.barraDeBotoes.PERMITEFECHAR = false; -i3GEO.barraDeBotoes.PERMITEDESLOCAR = false; -i3GEO.barraDeBotoes.AUTO = true; -i3GEO.barraDeBotoes.COMPORTAMENTO = "laranja"; -i3GEO.Interface.BARRABOTOESLEFT = 0; -i3GEO.Interface.BARRABOTOESTOP = 2; -i3GEO.Interface.BARRADEZOOMTOP = 10; -i3GEO.Interface.BARRADEZOOMLEFT = 40; -*/ i3GEO.ajuda.ATIVAJANELA = false; i3GEO.idioma.IDSELETOR = "seletorIdiomas"; i3GEO.Interface.ATIVAMENUCONTEXTO = false; -- libgit2 0.21.2