diff --git a/css/default.css b/css/default.css
index eecc4b5..f9db0a4 100755
--- a/css/default.css
+++ b/css/default.css
@@ -1,3 +1,8 @@
+.ol-zoom {
+ position: unset !Important;
+ display: flex !Important;
+}
+
.ol-FullScreen.ol-unselectable.ol-control {
position: unset !Important;
display: unset !Important;
@@ -347,7 +352,7 @@ hr {
z-index: 1;
left: auto;
right: 2px;
- top: 5px;
+ top: 1rem;
width: 380px;
}
#i3GEOguiaMovelMolde {
@@ -570,14 +575,9 @@ no caso do OL3
top: 10px;
}
-.ol-zoom {
- top: 2.8em;
- font-size: 1.8rem;
-}
-
.ol-i3GEOcontrols {
- top: 2.8em;
- left: 3.5em;
+ top: 2.5rem;
+ left: 1rem;
width: auto;
font-size: 1.8rem;
}
diff --git a/interface/ol.htm b/interface/ol.htm
index c9af055..321f91f 100755
--- a/interface/ol.htm
+++ b/interface/ol.htm
@@ -115,6 +115,7 @@
+
@@ -841,6 +842,9 @@
source: "i3geo"
}).setMap(i3geoOL);
+ new ol.control.Zoom({
+ target: $i("i3GEOzoomInOut")
+ }).setMap(i3geoOL);
tutorial.init();
//i3GEO.eventos.adicionaEventos("RESIZE", $(".guiaOverflow").css("height",i3GEO.parametros.h - 140));
@@ -970,8 +974,9 @@
//opcoes de inicializacao do mapa conforme definido na API do OpenLayers
MapOptions : {
layers : [],
- controls : [ new ol.control.Zoom(),
- new ol.control.ZoomSlider(),
+ controls : [
+ //new ol.control.Zoom(),
+ //new ol.control.ZoomSlider(),
new ol.control.ScaleLine(),
new ol.control.Attribution({
collapsible : true
diff --git a/interface/openlayersdebug.htm b/interface/openlayersdebug.htm
index 9c2a71c..f6afe12 100755
--- a/interface/openlayersdebug.htm
+++ b/interface/openlayersdebug.htm
@@ -114,6 +114,7 @@
+
@@ -839,6 +840,10 @@
source: "i3geo"
}).setMap(i3geoOL);
+ new ol.control.Zoom({
+ target: $i("i3GEOzoomInOut")
+ }).setMap(i3geoOL);
+
//i3GEO.eventos.adicionaEventos("RESIZE", $(".guiaOverflow").css("height",i3GEO.parametros.h - 140));
//setTimeout(function() {
@@ -972,8 +977,8 @@
MapOptions : {
layers : [],
controls : [
- new ol.control.Zoom(),
- new ol.control.ZoomSlider(),
+ //new ol.control.Zoom(),
+ //new ol.control.ZoomSlider(),
new ol.control.ScaleLine(),
new ol.control.Attribution({
collapsible : true
diff --git a/interface/osm.htm b/interface/osm.htm
index 39c8f64..ce312ac 100755
--- a/interface/osm.htm
+++ b/interface/osm.htm
@@ -115,6 +115,7 @@
+
@@ -841,6 +842,9 @@
source: "i3geo"
}).setMap(i3geoOL);
+ new ol.control.Zoom({
+ target: $i("i3GEOzoomInOut")
+ }).setMap(i3geoOL);
tutorial.init();
//i3GEO.eventos.adicionaEventos("RESIZE", $(".guiaOverflow").css("height",i3GEO.parametros.h - 140));
@@ -970,8 +974,9 @@
//opcoes de inicializacao do mapa conforme definido na API do OpenLayers
MapOptions : {
layers : [],
- controls : [ new ol.control.Zoom(),
- new ol.control.ZoomSlider(),
+ controls : [
+ //new ol.control.Zoom(),
+ //new ol.control.ZoomSlider(),
new ol.control.ScaleLine(),
new ol.control.Attribution({
collapsible : true
diff --git a/interface/osmdebug.htm b/interface/osmdebug.htm
index 80bad27..8d9669e 100755
--- a/interface/osmdebug.htm
+++ b/interface/osmdebug.htm
@@ -115,6 +115,7 @@
+
@@ -970,8 +971,9 @@
//opcoes de inicializacao do mapa conforme definido na API do OpenLayers
MapOptions : {
layers : [],
- controls : [ new ol.control.Zoom(),
- new ol.control.ZoomSlider(),
+ controls : [
+ //new ol.control.Zoom(),
+ //new ol.control.ZoomSlider(),
new ol.control.ScaleLine(),
new ol.control.Attribution({
collapsible : true
diff --git a/interface/templates/camadaGr.html b/interface/templates/camadaGr.html
index 3117651..3f12c8e 100644
--- a/interface/templates/camadaGr.html
+++ b/interface/templates/camadaGr.html
@@ -5,9 +5,8 @@
{{{checked}}} onclick="i3geoOL.getLayersGrBy('name','{{{name}}}')[0].setVisibility(this.checked);i3geoOL.getLayersGrBy('name','{{{name}}}')[0].changed()">
{{{tema}}}
-
+
-