googlemaps1.phtml
7.07 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
<?php
include_once("../ms_configura.php");
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Category" content="I3Geo Mapa interativo MMA">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<style type="text/css">
.olControlEditingToolbar {
float:left;
right: 0px;
height:30px;
width: 150px;
}
</style>
<title>i3GEO - GoogleMaps</title>
</head>
<body id="i3geo" >
<!-- inclui o nome do usuario logado -->
<div id="i3GEONomeLogin" style="position:absolute;left:10px;top:12px;font-size:11px;z-index:50000"></div>
<center>
<table id='mst' summary="" style='display:none' width=100% cellspacing='0'>
<tr style="border:0px">
<td colspan=2 id="barraSuperior" style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td>
</tr>
<tr>
<td>
<table width=100% cellspacing=0 cellpadding=0 >
<tr>
<td title="libera guias" class=tdclaro id=encolheFerramentas style="vertical-align:top;width:5px;text-align:left;"></td>
<td>
<div class=verdeescuro style="top:0px;cursor:pointer;">
<div id=guia1 class=guia ></div>
<div id=guia2 class=guia ></div>
<div id=guia4 class=guia ></div>
<div id=guia5 class=guia ></div>
</div>
</td>
</tr>
</table>
</td>
<td id="contemMenu" style="text-align:right;height:0px;border-width:0pt 0pt 1px;border-color:rgb(240,240,240)">
<div id="menus" ></div>
</td>
</tr>
<tr>
<td class=tdbranca id=contemFerramentas style="vertical-align:top;width:300px;text-align:left;">
<div id='guia1obj' >
<div style='left:5px;top:10px;' id=buscaRapida ></div>
<div id=listaPropriedades style='top:15px;' ></div>
<div id=listaTemas style='top:15px;'></div>
</div>
<div id='guia2obj' style='display:none;'>Aguarde...<img alt="" src="../imagens/branco.gif" width=248 /></div>
<div id='guia4obj' style='display:none;text-align:left'><div id='legenda' style='text-align:left'></div></div>
<div id='guia5obj' style='display:none;text-align:left'><div id='banners' style='overflow:auto;text-align:left'>Aguarde...</div></div>
</td>
<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=googlemapsdiv style="background-image:url('../imagens/i3geo1bw.jpg');"></div>
</td></tr>
</table>
</td>
</tr>
<tr>
<td class=tdbranca >
<div id="seletorIdiomas" ></div>
<div id=tempoRedesenho style=color:green;background-color:black;width:50px;display:none ></div>
</td>
<td class=tdbranca >
<table width=100% ><tr>
<td class=tdbranca >
</td>
<td class=tdbranca style=text-align:center >
<div id=escala ></div>
</td>
<td class=tdbranca >
<div id=inserirKml ></div>
</td>
<td class=tdbranca >
<div id=localizarxy ></div>
</td>
</tr>
<tr><td></td><td class="tdbranca"><div style="text-align:left;font-size:10px;background-color:white;display:none;" id=mostraUTM ></div></td><td></td></tr>
</table>
</td>
</tr>
<tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td></tr>
<tr style="border:0px"><td colspan=3 style=background-color:black ><input style="border:0px none; background-color:black;color:white;font-size:12pt;" type="text" size="1" id="i3geo_letreiro" ></td></tr>
<tr style="border:0px"><td colspan=3 style=background-color:black;color:white id="emailInstituicao">geoprocessamento@mma.gov.br</td></tr>
</table>
</center>
<table id="i3GEOlogoMarcaX" style='margin: 0px auto;box-shadow:0 1px 13px gray;border-radius:5px;'>
<tr>
<td><div id=versaoi3geo ></div><h2 style="font-size:10px;font-family: Verdana, Arial, Helvetica, sans-serif;">i3Geo - Software livre para criação de mapas interativos e geoprocessamento</h2><h3 style="font-size:10px;font-family: Verdana, Arial, Helvetica, sans-serif;">Baseado no Mapserver, é licenciado sob GPL e integra o Portal do Software Público Brasileiro</h3></td>
</tr>
<tr>
<td style="padding:10px;"><img style="width:560px;height:81px" alt="" src='../imagens/logo_inicio.png' ></td>
</tr>
<tr>
<td>
<!--
<script id="ohloh" type="text/javascript" src="http://www.ohloh.net/p/150688/widgets/project_users.js?style=red"></script>
-->
</td>
</tr>
</table>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false&libraries=drawing "></script>
<script type="text/javascript" src="../classesjs/i3geo5.js"></script>
<script type="text/javascript">
/*
Google Maps versão com guias à esquerda
Abre o i3geo com a navegação controlada pelo Google Maps.
Arquivo: i3geo/interface/googlemaps.phtml
Exemplo:
http://localhost/i3geo/interface/googlemaps.phtml
*/
/*
Indica a localização correta do i3geo.
É utilizada para identificar o local correto onde estão os programas em php que são utilizados.
Se não for definida, o i3Geo tentará encontrar o local automaticamente
*/
//i3GEO.configura.locaplic = i3GEO.util.protocolo()+"://"+window.location.host+"/i3geo";
i3GEO.configura.locaplic = i3GEO.util.protocolo()+"://"+window.location.host+"/i3geo";
i3GEO.Interface.ATUAL = "googlemaps";
i3GEO.Interface.IDCORPO = "contemImg";
i3GEO.configura.diminuixN = 20;
//ativa ou desativa o balao de info ao clicar no mapa
i3GEO.eventos.cliquePerm.ativo = true;
//
i3GEO.cria();
i3GEO.barraDeBotoes.TIPO = "olhodepeixe";
i3GEO.barraDeBotoes.OFFSET = -210;
//i3GEO.barraDeBotoes.INCLUIBOTAO.barraedicao = false;
//i3GEO.barraDeBotoes.MAXBOTOES = 10;
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 = false;
i3GEO.barraDeBotoes.ATIVAMENUCONTEXTO = false;
i3GEO.barraDeBotoes.PERMITEFECHAR = true;
i3GEO.barraDeBotoes.PERMITEDESLOCAR = true;
i3GEO.barraDeBotoes.AUTO = true;
i3GEO.barraDeBotoes.COMPORTAMENTO = "laranja";
i3GEO.Interface.BARRABOTOESLEFT = 80;
i3GEO.Interface.BARRABOTOESTOP = 20;
*/
i3GEO.idioma.IDSELETOR = "seletorIdiomas";
i3GEO.Interface.ATIVAMENUCONTEXTO = true;
i3GEO.arvoreDeTemas.TIPOBOTAO = "radio";
//para evitar a entrada de comentários na árvore de camadas, modifique a opção de cada tema individualmente no sistema de administração
i3GEO.arvoreDeTemas.OPCOESADICIONAIS.comentario = true;
i3GEO.mapa.AUTORESIZE = true;
i3GEO.arvoreDeCamadas.MOSTRALISTAKML = false;
//
//define a funcao que sera executada ao clicar no mapa
//default (balao do tipo etiqueta)
i3GEO.eventos.MOUSECLIQUEPERM = [i3GEO.configura.funcaoTip];
//alternativo (janela de identificacao
//i3GEO.eventos.MOUSECLIQUEPERM = [i3GEO.configura.funcaoIdentifica];
//
//
//substitui a janela de alerta normal do navegador por uma janela estilizada. Pode ser comentado sem problemas.
//
i3GEO.janela.ativaAlerta();
i3GEO.inicia();
</script>
</body>
</html>