cursodsv20.htm
4.12 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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<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 src="../pacotes/openlayers/OpenLayers2131.js"></script>
<link rel="stylesheet" type="text/css" href="../css/black.css">
</head>
<body style='background:white;' class=yui-skin-sam >
<div style="left:150px;top:100px">
<div id="menuSuspenso" style="width:750px;left:50px;">
</div>
<div id=i3geo >
<div id=corpoMapa style="width:750px;height:400px;background-image:url('../imagens/i3geo1bw.jpg');">
</div>
</div>
</div>
<style>
#menuSuspenso .bd{
background: black;
}
</style>
<script>
/************
A barra de botoes e controlada por diversos parametros.
A lista de botoes e definido no objeto:
i3GEO.barraDeBotoes.INCLUIBOTAO
Determinados parametros atuam sobre tipos diferentes de barras.
Mais detalhes em:
http://localhost/i3geo/documentacao/files/classesjs/classe_barradebotoes-js.html
Nesse exemplo um novo botao e adicionado a barra
************/
i3GEO.idioma.MOSTRASELETOR = false; //para nao mostrar as bandeiras de escolha do idioma
i3GEO.configura.mapaRefDisplay = "none";//nao mostra o mapa de referencia
i3GEO.mapa.TEMASINICIAISLIGADOS = "mundo";
//parametros da interface OpenLayers
i3GEO.Interface.openlayers.GADGETS = {
PanZoomBar : false,
PanZoom : false,
LayerSwitcher : false,
ScaleLine : true,
OverviewMap : false
};
//parametros para o menu
i3GEO.gadgets.PARAMETROS.mostraMenuSuspenso = {
permiteLogin: true,
marcadores: true,
idhtml:"menuSuspenso",
deslocaEsquerda:0,
parametrosYUI: {iframe:false,autosubmenudisplay: false, showdelay: 200, hidedelay: 500, lazyload: false}
};
i3GEO.configura.oMenuData = {
menu:[
{nome:$trad("s1"),id:"ajudaMenu"}
],
submenus:{
"ajudaMenu": [
{ id:"omenudataAjudamenu9",text: $trad("x68"), url: "javascript:i3GEO.janela.tempoMsg(i3GEO.parametros.mensageminicia)" },
{ id:"omenudataAjudamenu2",text: $trad("u2"), url: "javascript:i3GEO.ajuda.abreDoc()" },
{ id:"omenudataAjudamenu3",text: $trad("u4a"), url: "javascript:i3GEO.ajuda.abreDoc('/documentacao/manual-i3geo-6_0-pt.pdf')" },
{ id:"omenudataAjudamenu4",text: $trad("u4"), url: "http://www.softwarepublico.gov.br/dotlrn/clubs/i3geo/file-storage/index?folder%5fid=22667525", target:"_blank" },
{ id:"omenudataAjudamenu5",text: $trad("u5a"), url: "http://www.softwarepublico.gov.br", target:"_blank" },
{ id:"omenudataAjudamenu1",text: $trad("x67"), url: "http://www.softwarepublico.gov.br/spb/ver-comunidade?community_id=1444332", target:"_blank" },
{ id:"omenudataAjudamenu7",text: $trad("u5b"), url: "javascript:i3GEO.ajuda.abreDoc('/ajuda_usuario.php')"},
{ id:"omenudataAjudamenu8",text: $trad("u5c"), url: "javascript:i3GEO.ajuda.redesSociais()" }
]
}
};
i3GEO.cria();
//
//parametros da barra de botoes
//
i3GEO.barraDeBotoes.TIPO = "olhodepeixe1";
//altera um dos icones de botoes ja existentes
i3GEO.barraDeBotoes.ICONEBOTAO.abreJanelaLegenda = "/imagens/gisicons/legend-add.png";
//adiciona um botao novo com suas funcoes especificas
i3GEO.barraDeBotoes.adicionaBotao(
{
iddiv:"meubotao",
tipo:"",
dica:"Meu Botão",
titulo: "Meu Botão",
icone: "/imagens/oxygen/22x22/user-online.png",
funcaoonclick:function(){
alert("Meu novo botao com ID = meubotao");
}
}
);
//define quais os botoes serao mostrados
i3GEO.barraDeBotoes.INCLUIBOTAO = {
meubotao : true, //botao novo
abreJanelaLegenda: true,
localizar: true,
zoomanterior: true,
zoomli: true,
zoomproximo: true,
zoomiauto: false,
zoomoauto: false,
pan: false,
zoomtot: false,
identifica: false,
identificaBalao: false,
mede: false,
area: false,
selecao: false,
barraedicao: false,
imprimir: false,
google: false,
referencia: false,
exten: false,
inserexy: false,
textofid: false,
reinicia: false,
buscafotos: false,
wiki: false,
metar: false,
lentei: false,
confluence: false,
inseregrafico: false,
v3d: false
};
i3GEO.inicia();
</script>
</body>
</html>