atlasdefault.htm
10.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="pt-br">
<head>
<meta http-equiv="Category" content="i3Geo Mapa interativo MMA geoprocessamento sig mobile">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<title>i3GEO - OpenLayers</title>
<script src="../classesjs/i3geo.js"></script>
<script type="text/javascript" src="../classesjs/atlas.js"></script>
<script src="../pacotes/openlayers/OpenLayers2131.js.php"></script>
<link rel="stylesheet" type="text/css" href="../css/black.css">
<style>
.olControlEditingToolbar1 div {
background-image: url(../mashups/openlayers.png);
background-repeat: no-repeat;
float: right;
right: 50px;
height: 29px;
margin: 2px;
width: 29px;
cursor: pointer;
top: 10px;
}
</style>
</head>
<body id="i3geo" style='margin-left: 7px; background: white;'>
<!-- inclui o nome do usuario logado -->
<div id="i3GEONomeLogin"
style="position: absolute; left: 10px; top: 12px; font-size: 11px; z-index: 50000"></div>
<table id='mst' summary="" style='display: none;' width=100% cellspacing='0'>
<tr>
<td id="contemMenu">
<!--menu suspenso-->
<div id="menus"></div>
</td>
</tr>
<tr>
<td style="vertical-align: top; border-width: 0px;">
<table width="100%" style="vertical-align: top; border-width: 0px">
<tr>
<td class=verdeclaro id=contemImg>
<div id=corpoMapa
style="position: relative; background-image: url('../imagens/i3geo1bw.jpg');"></div>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table style="width: 100%; height: 28px">
<tr>
<td class=fundoRodape style="width: 25%">
<!-- aqui será incluída a escala numérica -->
<div id=escala style="margin: auto; text-align: right; left: 15px;"></div>
</td>
<td class=fundoRodape style="width: 5%"></td>
<td class=fundoRodape style="width: 40%">
<!-- aqui será incluído o gadget que mostra a coordenada geográfica da posição do mouse -->
<div id=localizarxy
style="margin: auto; text-align: left; font-size: 10px; display: inline-table"></div>
</td>
<td class=fundoRodape style="width: 20%">
<!-- botão de compartilhamento em redes sociais-->
<div id=i3GEOcompartilhar
style="width: 170px; margin: auto; text-align: left; padding-top: 1px"></div> <!-- aqui será incluído o contador de tempo quando o temporizador de redesenho do mapa estiver ativo -->
<div id=tempoRedesenho
style="z-index: 100; position: absolute; top: 0px; color: green; background-color: black; width: 50px; display: none"></div>
</td>
<!-- aqui serão incluídas as bandeiras que permitem a troca de idioma -->
<td class=fundoRodape style="width: 10%;">
<div id=seletorIdiomas style="right: 15px;"></div>
</td>
</tr>
</table>
</td>
</tr>
</table>
<div id="i3GEOlogoMarca">
<table>
<tr>
<td>
<h1 class="i3GEOlogoMarca">i3Geo - Software livre para criação de mapas
interativos e geoprocessamento</h1>
<h1 class="i3GEOlogoMarca">Baseado no Mapserver, é licenciado sob GPL e integra o
Portal do Software Público Brasileiro</h1>
</td>
</tr>
</table>
<img src='../imagens/logo_inicio.png'>
</div>
<div id="i3GEOguiaMovel">
<div style="right:0px;border-radius:4px; padding:2px;cursor: pointer; position: absolute; top: 10px; width: auto; z-index: 5000; background-color: rgba(255,255,255,.4);">
<div id="iconeGuia_temas"></div>
<div id="iconeGuia_adiciona" style="margin-top: 3px;"></div>
<div id="iconeGuia_legenda" style="margin-top: 3px;"></div>
<div id="iconeGuia_dobraPagina" style="margin-top: 3px;"></div>
<div id="iconeGuia_buscaRapida" style="margin-top: 3px;"></div>
<div id="iconeGuia_identificaBalao" style="margin-top: 3px;"></div>
<div id="iconeGuia_identifica" style="margin-top: 3px;"></div>
</div>
<!-- veja i3GEO.guias.CONFIGURA -->
<div id="i3GEOguiaMovelMolde">
<div id="i3GEOguiaMovelConteudo" >
<div id='guia1obj' style='display: none;'>
<div class="i3GEOfechaGuia" onclick="i3GEO.guias.guiaMovel.abreFecha('fecha');">X</div>
<!-- opcoes como um botao -->
<div id="arvoreCamOpcoes" style="text-align:left;"></div>
<!-- Esta div acrescenta a lista de de camadas disponíveis no mapa atual -->
<div id=listaTemas style='top: 15px;'></div>
</div>
<div id='guia2obj' style='display: none;'>
<div class="i3GEOfechaGuia" onclick="i3GEO.guias.guiaMovel.abreFecha('fecha');">X</div>
<!-- opcoes como um botao -->
<div id="arvoreCatOpcoes" style="text-align:left;margin-bottom: 20px;"></div>
<div id="arvoreAdicionaTema">Aguarde...</div>
</div>
<div id='guia4obj' style='display: none; text-align: left'>
<div class="i3GEOfechaGuia" onclick="i3GEO.guias.guiaMovel.abreFecha('fecha');">X</div>
<div id="arvoreLegenda" style='display: block; text-align: left'>Aguarde...</div><br><br>
</div>
<div id='guia7obj' style='display: none; text-align: left'>
<div class="i3GEOfechaGuia" onclick="i3GEO.guias.guiaMovel.abreFecha('fecha');">X</div>
<div id="buscaRapidaGuia" style='display: block; text-align: left'></div>
</div>
</div>
</div>
</div>
<div id="guiasAtlas"
style="background: none; color: white; cursor: pointer; height: 25px; left: 100px; position: absolute; text-align: left; top: 6px; width: 350px;"></div>
<div id=tituloAtlas
style="background: none; color: white; cursor: pointer; height: 25px; left: 450px; position: absolute; text-align: left; top: 9px; z-index: 10000; font-size: 14px"></div>
<script>
i3GEO.configura.locaplic = i3GEO.util.protocolo() + "://"
+ window.location.host + "/i3geo";
i3GEO.Interface.ATUAL = "openlayers";
i3GEO.Interface.IDCORPO = "contemImg";
i3GEO.Interface.openlayers.TILES = true;
i3GEO.configura.oMenuData.submenus["interface"] = [
{
id : "omenudataInterface0a",
text : '<span style=color:gray;text-decoration:underline; ><b>'
+ $trad("d27") + '</b></span>',
url : "#"
},
{
id : "omenudataInterface2",
text : "OpenLayers",
url : "javascript:window.location = i3GEO.configura.locaplic+'/interface/black_ol.htm?'+i3GEO.configura.sid"
},
{
id : "omenudataInterface2a",
text : "OpenLayers OSM",
url : "javascript:window.location = i3GEO.configura.locaplic+'/interface/black_osm.htm?'+i3GEO.configura.sid"
},
{
id : "omenudataInterface4",
text : "Google Maps",
url : "javascript:window.location = i3GEO.configura.locaplic+'/interface/black_gm.phtml?'+i3GEO.configura.sid"
},
{
id : "omenudataInterface5",
text : "Google Earth",
url : "javascript:window.location = i3GEO.configura.locaplic+'/interface/googleearth.phtml?'+i3GEO.configura.sid"
},
{
id : "omenudataInterface0b",
text : '<span style=color:gray;text-decoration:underline; ><b>'
+ $trad("u27") + '</b></span>',
url : "#"
},
{
id : "omenudataInterface6",
text : $trad("u21"),
url : "javascript:var w = window.open(i3GEO.configura.locaplic+'/geradordelinks.htm')"
},
{
id : "omenudataInterface7",
text : "Serviços WMS",
url : "javascript:var w = window.open(i3GEO.configura.locaplic+'/ogc.htm')"
},
{
id : "omenudataInterface9",
text : "Download de dados",
url : "javascript:var w = window.open(i3GEO.configura.locaplic+'/datadownload.htm')"
}, {
id : "omenudataInterface11",
text : $trad("p20"),
url : "javascript:i3GEO.mapa.dialogo.telaRemota()"
}];
i3GEO.gadgets.PARAMETROS.mostraMenuSuspenso.finaliza = 'if($i("omenudataInterface1")){i3GEOoMenuBar.getMenuItem("omenudataInterface1").cfg.setProperty("text", " ");}';
i3GEO.cria();
//ajusta o deslocamento da barra de botoes
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;
}
i3GEO.configura.oMenuData["submenus"]["janelas"] = [];
i3GEO.idioma.IDSELETOR = "seletorIdiomas";
//i3GEO.arvoreDeTemas.TIPOBOTAO = "radio";
i3GEO.arvoreDeTemas.OPCOESADICIONAIS.comentarios = true;
i3GEO.arvoreDeCamadas.VERIFICAABRANGENCIATEMAS = true;
i3GEO.arvoreDeCamadas.MOSTRALISTAKML = false;
i3GEO.mapa.AUTORESIZE = true;
i3GEO.guias.TIPO = "movel";
i3GEO.guias.guiaMovel.config.topGuiaMovel = 36;
i3GEO.janela.ativaAlerta();
i3GEO.finaliza = function() {
if ($i("i3GEOlogoMarca")) {
$i("i3GEOlogoMarca").style.display = "none";
}
i3GEO.mapa.insereDobraPagina("googlemaps",
"../imagens/dobragooglemaps.png");
iniciaAtlas(200);
};
i3GEO.arvoreDeTemas.OPCOESADICIONAIS.navegacaoDir = true;
i3GEO.janela.TRANSICAOSUAVE = true;
OpenLayers.ImgPath = "../pacotes/openlayers/img/";
(function() {
var oce = new OpenLayers.Layer.ArcGIS93Rest(
"ESRI Ocean Basemap",
"http://server.arcgisonline.com/ArcGIS/rest/services/Ocean_Basemap/MapServer/export",
{
format : "jpeg"
}, {
isBaseLayer : true,
visibility : false
});
var ims = new OpenLayers.Layer.ArcGIS93Rest(
"ESRI Imagery World 2D",
"http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_Imagery_World_2D/MapServer/export",
{
format : "jpeg"
}, {
isBaseLayer : true,
visibility : false
});
var wsm = new OpenLayers.Layer.ArcGIS93Rest(
"ESRI World Street Map",
"http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer/export",
{
format : "jpeg"
}, {
isBaseLayer : true,
visibility : false
});
var bra = new OpenLayers.Layer.WMS(
"Base carto MMA",
"http://mapas.mma.gov.br/cgi-bin/mapserv?map=/opt/www/html/webservices/baseraster.map",
{
layers : "baseraster",
srs : "EPSG:4618",
format : "image/png",
isBaseLayer : false
}, {
isBaseLayer : true,
visibility : false
});
var tms = new OpenLayers.Layer.TMS("OSGEO",
"http://tilecache.osgeo.org/wms-c/Basic.py/", {
layername : "basic",
type : "png",
// set if different than the bottom left of map.maxExtent
tileOrigin : new OpenLayers.LonLat(-180, -90),
isBaseLayer : true,
visibility : false
});
i3GEO.Interface.openlayers.LAYERSADICIONAIS = [oce, ims, wsm, tms,
bra];
})();
i3GEO.inicia();
</script>
</body>
</html>