From c5cf1190c84429694087a3c2f6f9b4d66506b4a2 Mon Sep 17 00:00:00 2001 From: Edmar Moretti Date: Thu, 14 May 2015 14:58:56 +0000 Subject: [PATCH] Inclusao de um novo layer no fundo do mapa --- interface/black_ol.htm | 14 +++++++++++++- interface/openlayersdebug.htm | 22 +++++++++++++++++----- pacotes/cesium/teste.html | 5 +++-- 3 files changed, 33 insertions(+), 8 deletions(-) diff --git a/interface/black_ol.htm b/interface/black_ol.htm index 3c5f4f4..8108b8c 100755 --- a/interface/black_ol.htm +++ b/interface/black_ol.htm @@ -162,7 +162,19 @@ i3GEO.janela.TRANSICAOSUAVE = true; OpenLayers.ImgPath = "../pacotes/openlayers/img/"; + //desliga a camada com o mapa mundi + i3GEO.configura.mashuppar = "&desligar=mundo"; + //se vc nao quer o fundo, mude visibility true para false (function() { + var eng = new OpenLayers.Layer.ArcGIS93Rest( + "ESRI National Geographic", + "http://server.arcgisonline.com/ArcGIS/rest/services/NatGeo_World_Map/MapServer/export", + { + format : "jpeg" + }, { + isBaseLayer : true, + visibility : true + }); var oce = new OpenLayers.Layer.ArcGIS93Rest( "ESRI Ocean Basemap", "http://server.arcgisonline.com/ArcGIS/rest/services/Ocean_Basemap/MapServer/export", @@ -213,7 +225,7 @@ visibility : false }); - i3GEO.Interface.openlayers.LAYERSADICIONAIS = [ oce, ims, wsm, tms, + i3GEO.Interface.openlayers.LAYERSADICIONAIS = [ eng, oce, ims, wsm, tms, bra ]; })(); i3GEO.inicia(); diff --git a/interface/openlayersdebug.htm b/interface/openlayersdebug.htm index 514e447..4c3f745 100644 --- a/interface/openlayersdebug.htm +++ b/interface/openlayersdebug.htm @@ -15,8 +15,9 @@ padding-right: 4px; top: 2em; } + .ol-zoomslider { - top : 6em; + top: 6em; } @@ -111,7 +112,7 @@