Commit 68a68ac9993cc9f28467eebb03a5bade018f7c62
1 parent
0fe7bf8e
Exists in
master
and in
7 other branches
--no commit message
Showing
2 changed files
with
7 additions
and
4 deletions
Show diff stats
classesjs/classe_i3geo.js
@@ -576,7 +576,8 @@ i3GEO = { | @@ -576,7 +576,8 @@ i3GEO = { | ||
576 | {array} - [w,h] | 576 | {array} - [w,h] |
577 | */ | 577 | */ |
578 | reCalculaTamanho: function(){ | 578 | reCalculaTamanho: function(){ |
579 | - var diminuix,diminuiy,menos,novow,novoh,w,h,temp; | 579 | + var diminuix,diminuiy,menos,novow,novoh,w,h,temp, |
580 | + antigoh = i3GEO.parametros.h; | ||
580 | diminuix = (navm) ? i3GEO.configura.diminuixM : i3GEO.configura.diminuixN; | 581 | diminuix = (navm) ? i3GEO.configura.diminuixM : i3GEO.configura.diminuixN; |
581 | diminuiy = (navm) ? i3GEO.configura.diminuiyM : i3GEO.configura.diminuiyN; | 582 | diminuiy = (navm) ? i3GEO.configura.diminuiyM : i3GEO.configura.diminuiyN; |
582 | menos = 0; | 583 | menos = 0; |
@@ -590,9 +591,11 @@ i3GEO = { | @@ -590,9 +591,11 @@ i3GEO = { | ||
590 | temp = i3GEO.util.tamanhoBrowser(); | 591 | temp = i3GEO.util.tamanhoBrowser(); |
591 | novow = temp[0]; | 592 | novow = temp[0]; |
592 | novoh = temp[1]; | 593 | novoh = temp[1]; |
594 | + temp = antigoh - (novoh - diminuiy); | ||
595 | + if(temp > -100 && temp < 100) | ||
596 | + {return} | ||
593 | 597 | ||
594 | document.body.style.height = novoh; | 598 | document.body.style.height = novoh; |
595 | - | ||
596 | w = novow - menos - diminuix; | 599 | w = novow - menos - diminuix; |
597 | h = novoh - diminuiy; | 600 | h = novoh - diminuiy; |
598 | 601 |
interface/openlayers_t.htm
@@ -176,6 +176,7 @@ i3GEO.barraDeBotoes.INCLUIBOTAO = { | @@ -176,6 +176,7 @@ i3GEO.barraDeBotoes.INCLUIBOTAO = { | ||
176 | v3d: false | 176 | v3d: false |
177 | }; | 177 | }; |
178 | i3GEO.Interface.TABLET = true; | 178 | i3GEO.Interface.TABLET = true; |
179 | +i3GEO.configura.diminuiyN = 0; | ||
179 | /* | 180 | /* |
180 | Após a criação, é criado o objeto i3geoOL que corresponde ao objeto map da API do OpenLayers. | 181 | Após a criação, é criado o objeto i3geoOL que corresponde ao objeto map da API do OpenLayers. |
181 | Vc pode usar i3geoOL para aplicar os métodos e verificar as propriedades da API do OpenLayers | 182 | Vc pode usar i3geoOL para aplicar os métodos e verificar as propriedades da API do OpenLayers |
@@ -192,13 +193,12 @@ i3GEO.barraDeBotoes.AUTO = true; | @@ -192,13 +193,12 @@ i3GEO.barraDeBotoes.AUTO = true; | ||
192 | i3GEO.barraDeBotoes.COMPORTAMENTO = "laranja"; | 193 | i3GEO.barraDeBotoes.COMPORTAMENTO = "laranja"; |
193 | i3GEO.barraDeBotoes.ORIENTACAO = "horizontal"; | 194 | i3GEO.barraDeBotoes.ORIENTACAO = "horizontal"; |
194 | i3GEO.barraDeBotoes.AJUDA = false; | 195 | i3GEO.barraDeBotoes.AJUDA = false; |
195 | - | 196 | +i3GEO.barraDeBotoes.HORIZONTALW = 360; |
196 | 197 | ||
197 | i3GEO.Interface.BARRABOTOESLEFT = 5; | 198 | i3GEO.Interface.BARRABOTOESLEFT = 5; |
198 | i3GEO.Interface.BARRABOTOESTOP = 0; | 199 | i3GEO.Interface.BARRABOTOESTOP = 0; |
199 | i3GEO.Interface.BARRADEZOOMTOP = 2; | 200 | i3GEO.Interface.BARRADEZOOMTOP = 2; |
200 | i3GEO.Interface.BARRADEZOOMLEFT = 5; | 201 | i3GEO.Interface.BARRADEZOOMLEFT = 5; |
201 | -i3GEO.barraDeBotoes.HORIZONTALW = 360; | ||
202 | i3GEO.Interface.ATIVAMENUCONTEXTO = false; | 202 | i3GEO.Interface.ATIVAMENUCONTEXTO = false; |
203 | 203 | ||
204 | i3GEO.arvoreDeTemas.TIPOBOTAO = "radio"; | 204 | i3GEO.arvoreDeTemas.TIPOBOTAO = "radio"; |