Commit 789cd359ca2aa81885ec09cc81b256b1cd0dad9f
1 parent
ef9f8cda
Exists in
master
and in
7 other branches
--no commit message
Showing
1 changed file
with
219 additions
and
0 deletions
Show diff stats
| ... | ... | @@ -0,0 +1,219 @@ |
| 1 | +<?php | |
| 2 | + $parurl = array_merge($_POST, $_GET); | |
| 3 | +?> | |
| 4 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/strict.dtd"> | |
| 5 | +<html> | |
| 6 | +<head> | |
| 7 | +<meta http-equiv="Category" content="i3Geo Mapa interativo MMA geoprocessamento sig mobile"> | |
| 8 | +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> | |
| 9 | + | |
| 10 | +<title>i3GEO - OpenLayers</title> | |
| 11 | + | |
| 12 | +</head> | |
| 13 | +<body id="i3geo" style="background-color:white"> | |
| 14 | +<table id='mst' summary="" style='display:none;' width=100% cellspacing='0'> | |
| 15 | + <tr style="border:0px"> | |
| 16 | + <td id="barraSuperior" style="background-image:url('../imagens/visual/default/cabeca.png');height:10px"></td> | |
| 17 | + </tr> | |
| 18 | + <tr> | |
| 19 | + <td id="contemMenu" style="text-align:right;border-width:0pt 0pt 1px;border-color:rgb(240,240,240)"> | |
| 20 | + <!--menu suspenso--> | |
| 21 | + <div id="menus" ></div> | |
| 22 | + </td> | |
| 23 | + </tr> | |
| 24 | + <tr> | |
| 25 | + <td style="vertical-align:top;border-width:0px;"> | |
| 26 | + <table width="100%" style="vertical-align:top;border-width:0px"> | |
| 27 | + <tr> | |
| 28 | + <td class=verdeclaro id=contemImg > | |
| 29 | + <div id=corpoMapa style="position:relative;background-image:url('../imagens/i3geo1bw.jpg');"></div> | |
| 30 | + </td> | |
| 31 | + </tr> | |
| 32 | + </table> | |
| 33 | + </td> | |
| 34 | + </tr> | |
| 35 | + <tr> | |
| 36 | + <td> | |
| 37 | + <table width=100% > | |
| 38 | + <tr> | |
| 39 | + <td class=tdbranca > | |
| 40 | + <!-- | |
| 41 | + Nesse div são incluídos os ícones que permitem ao usuário modificar o visual de cores dos ícones | |
| 42 | + <div id=visual ></div> | |
| 43 | + --> | |
| 44 | + <!-- botão de compartilhamento em redes sociais --> | |
| 45 | + <div id=i3GEOcompartilhar style="text-align:left;border-top:1px solid rgb(250,250,250);padding-top:1px" ></div> | |
| 46 | + <!-- aqui será incluído o contador de tempo quando o temporizador de redesenho do mapa estiver ativo --> | |
| 47 | + <div id=tempoRedesenho style=color:green;background-color:black;width:50px;display:none ></div> | |
| 48 | + </td> | |
| 49 | + <td class=tdbranca > | |
| 50 | + <!-- aqui será incluída a escala numérica --> | |
| 51 | + <div id=escala style="text-align:right;" ></div> | |
| 52 | + </td> | |
| 53 | + <td class=tdbranca > | |
| 54 | + <!-- aqui será incluído o gadget que mostra a coordenada geográfica da posição do mouse --> | |
| 55 | + <div id=localizarxy style="text-align:left;font-size:10px;display:inline-table"></div> | |
| 56 | + </td> | |
| 57 | + <!-- aqui serão incluídas as bandeiras que permitem a troca de idioma --> | |
| 58 | + <td class=tdbranca > | |
| 59 | + <div id=seletorIdiomas ></div> | |
| 60 | + </td> | |
| 61 | + </tr> | |
| 62 | + </table> | |
| 63 | + </td> | |
| 64 | + </tr> | |
| 65 | + <tr style="border:0px"> | |
| 66 | + <td id="barraInferior" style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td> | |
| 67 | + </tr> | |
| 68 | +</table> | |
| 69 | +<center> | |
| 70 | +<table id="i3GEOlogoMarca" style='box-shadow:0 1px 13px gray;border-radius:5px;'> | |
| 71 | + <tr> | |
| 72 | + <td><center><h1 style="font-weight:normal;font-size:10px;font-family: Verdana, Arial, Helvetica, sans-serif;"><div id=versaoi3geo ></div><h2 style="font-weight:normal;font-size:10px;font-family: Verdana, Arial, Helvetica, sans-serif;">i3Geo - Software livre para criação de mapas interativos e geoprocessamento<h3 style="font-weight:normal;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></h2></h1></td> | |
| 73 | + </tr> | |
| 74 | + <tr> | |
| 75 | + <td style="padding:10px;"><center><img alt="" style="width:560px;height:81px" src='../imagens/logo_inicio.png' ></td> | |
| 76 | + </tr> | |
| 77 | + <tr> | |
| 78 | + <td><center> | |
| 79 | + <!-- | |
| 80 | + <script id="ohloh" type="text/javascript" src="http://www.ohloh.net/p/150688/widgets/project_users.js?style=red"></script> | |
| 81 | + --> | |
| 82 | + </td> | |
| 83 | + </tr> | |
| 84 | +</table> | |
| 85 | + | |
| 86 | +<div id="i3GEOguiaMovel" style="position:absolute;display:block;border:0px solid white;text-align:left;z-index:2000;background-color:none"> | |
| 87 | + <img id="i3GEOguiaMovelPuxador" onclick='i3GEO.guias.guiaMovel.abreFecha()' style='z-index:2;border:solid 0px white;left:0px;position:absolute;top:0px' width='0px' src='../imagens/openbars.png' > | |
| 88 | + <div id="i3GEOguiaMovelMolde" style="box-shadow:-2px 0 2px gray;border-radius:5px 0px 0px 5px;position:absolute;display:none;border:0px solid white;text-align:left;z-index:1000;background-color:gray"> | |
| 89 | + <div id="i3GEOguiaMovelIcones" style='overflow:none;left:0px;display:none;position:absolute;top:0px;text-align:center;height:0px;width:0px;border:solid 0px white;background-color:white' ></div> | |
| 90 | + <div id="i3GEOguiaMovelConteudo" style='overflow:auto;display:none;position:absolute;border-color:gray;border-width:0px 0 0px 0px;left:0px;height:0px;background-color:white'> | |
| 91 | + <div id='guia1obj' style='display:none;' > | |
| 92 | + <!-- Esta div acrescenta a opção de busca rápida, caso vc queira colocá-la em um lugar específico --> | |
| 93 | + <div style='left:5px;top:10px;' id=buscaRapida ></div> | |
| 94 | + <!-- Esta div acrescenta a lista de propriedades do mapa --> | |
| 95 | + <div id=listaPropriedades style='top:15px;' ></div> | |
| 96 | + <!-- Esta div acrescenta a lista de de camadas do tipo 'baselayers' específicas da interface Openlayers. Veja também a opção i3GEO.Interface.openlayers.GADGETS.LayerSwitcher --> | |
| 97 | + <div id=listaLayersBase style='top:15px;'></div> | |
| 98 | + <!-- Esta div acrescenta a lista de de camadas disponíveis no mapa atual --> | |
| 99 | + <div id=listaTemas style='top:15px;'></div> | |
| 100 | + </div> | |
| 101 | + <div id='guia2obj' style='display:none;'>Aguarde...<img alt="" src="../imagens/branco.gif" width=248 /></div> | |
| 102 | + <div id='guia4obj' style='display:none;text-align:left'><div id='legenda' style='text-align:left'></div></div> | |
| 103 | + <div id='guia5obj' style='display:none;text-align:left'><div id='banners' style='overflow:auto;text-align:left'>Aguarde...</div></div> | |
| 104 | + </div> | |
| 105 | + </div> | |
| 106 | +</div> | |
| 107 | + | |
| 108 | +<script src="../classesjs/i3geo.js"></script> | |
| 109 | +<script src="../pacotes/openlayers/OpenLayers211.js.php"></script> | |
| 110 | +<!-- estilo necessário para a ferramenta de edição --> | |
| 111 | +<style> | |
| 112 | +.olControlEditingToolbar1 div { | |
| 113 | + background-image:url(../mashups/openlayers.png); | |
| 114 | + background-repeat:no-repeat; | |
| 115 | + float:right; | |
| 116 | + right: 0px; | |
| 117 | + height:29px; | |
| 118 | + margin:2px; | |
| 119 | + width:29px; | |
| 120 | + cursor:pointer; | |
| 121 | +} | |
| 122 | +</style> | |
| 123 | +<script> | |
| 124 | +/* | |
| 125 | +Title: Interface Openlayers parametrizada | |
| 126 | + | |
| 127 | +Abre a interface openlayers com passagem de parâmetros | |
| 128 | + | |
| 129 | +File: i3geo/interface/ol_parametros.htm | |
| 130 | +*/ | |
| 131 | + | |
| 132 | +// | |
| 133 | +//parametros URL | |
| 134 | +// | |
| 135 | +var parametrosURL = { | |
| 136 | + editorvetorial: <?php | |
| 137 | + if(!empty($parurl["editorvetorial"])) | |
| 138 | + {echo $parurl["editorvetorial"];} | |
| 139 | + else | |
| 140 | + {echo "false";} | |
| 141 | + ?> | |
| 142 | +}; | |
| 143 | + | |
| 144 | +i3GEO.configura.locaplic = i3GEO.util.protocolo()+"://"+window.location.host+"/i3geo"; | |
| 145 | +i3GEO.configura.autotamanho = false; | |
| 146 | +i3GEO.Interface.ATUAL = "openlayers"; | |
| 147 | +i3GEO.Interface.IDCORPO = "contemImg"; | |
| 148 | +i3GEO.Interface.openlayers.GADGETS = { | |
| 149 | + PanZoomBar:true, | |
| 150 | + PanZoom:false, | |
| 151 | + LayerSwitcher:true, | |
| 152 | + ScaleLine:true, | |
| 153 | + OverviewMap:false | |
| 154 | + }; | |
| 155 | +i3GEO.Interface.openlayers.TILES = true; | |
| 156 | +i3GEO.gadgets.PARAMETROS.mostraMenuSuspenso.finaliza = 'if($i("omenudataInterface1")){i3GEOoMenuBar.getMenuItem("omenudataInterface1").cfg.setProperty("text", " ");}' | |
| 157 | +i3GEO.cria(); | |
| 158 | +i3GEO.configura.mapaRefDisplay = "none"; | |
| 159 | +i3GEO.barraDeBotoes.TIPO = "olhodepeixe"; | |
| 160 | +i3GEO.barraDeBotoes.OFFSET = -3; | |
| 161 | +i3GEO.configura.oMenuData["submenus"]["janelas"] = []; | |
| 162 | +i3GEO.ajuda.ATIVAJANELA = false; | |
| 163 | +i3GEO.idioma.IDSELETOR = "seletorIdiomas"; | |
| 164 | +i3GEO.Interface.ATIVAMENUCONTEXTO = false; | |
| 165 | +i3GEO.arvoreDeTemas.TIPOBOTAO = "radio"; | |
| 166 | +i3GEO.arvoreDeTemas.ATIVATEMAIMEDIATO = true; | |
| 167 | +i3GEO.arvoreDeTemas.OPCOESADICIONAIS.comentarios = true; | |
| 168 | +i3GEO.arvoreDeCamadas.VERIFICAABRANGENCIATEMAS = true; | |
| 169 | +i3GEO.arvoreDeCamadas.MOSTRALISTAKML = false; | |
| 170 | +i3GEO.mapa.AUTORESIZE = true; | |
| 171 | +i3GEO.guias.TIPO = "movel"; | |
| 172 | +//i3GEO.guias.guiaMovel.ABERTA = true; | |
| 173 | +i3GEO.guias.guiaMovel.config.topGuiaMovel = 0; | |
| 174 | +OpenLayers.ImgPath = "../pacotes/openlayers/img/"; | |
| 175 | +// | |
| 176 | +//adiciona camadas que podem ser ativadas como fundo do mapa | |
| 177 | +// | |
| 178 | +(function(){ | |
| 179 | + var oce = new OpenLayers.Layer.ArcGIS93Rest( | |
| 180 | + "ESRI Ocean Basemap", | |
| 181 | + "http://server.arcgisonline.com/ArcGIS/rest/services/Ocean_Basemap/MapServer/export", | |
| 182 | + {format:"jpeg"}, | |
| 183 | + {isBaseLayer:true,visibility:false} | |
| 184 | + ); | |
| 185 | + var ims = new OpenLayers.Layer.ArcGIS93Rest( | |
| 186 | + "ESRI Imagery World 2D", | |
| 187 | + "http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_Imagery_World_2D/MapServer/export", | |
| 188 | + {format:"jpeg"}, | |
| 189 | + {isBaseLayer:true,visibility:false} | |
| 190 | + ); | |
| 191 | + var wsm = new OpenLayers.Layer.ArcGIS93Rest( | |
| 192 | + "ESRI World Street Map", | |
| 193 | + "http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer/export", | |
| 194 | + {format:"jpeg"}, | |
| 195 | + {isBaseLayer:true,visibility:false} | |
| 196 | + ); | |
| 197 | + var bra = new OpenLayers.Layer.WMS( | |
| 198 | + "Base carto MMA", | |
| 199 | + "http://mapas.mma.gov.br/cgi-bin/mapserv?map=/opt/www/html/webservices/baseraster.map", | |
| 200 | + {layers:"baseraster",srs:"EPSG:4618",format:"image/png",isBaseLayer:false}, | |
| 201 | + {isBaseLayer:true,visibility:false} | |
| 202 | + ); | |
| 203 | + i3GEO.Interface.openlayers.LAYERSADICIONAIS = [oce,ims,wsm,bra]; | |
| 204 | +})(); | |
| 205 | +i3GEO.finaliza = function(){ | |
| 206 | + if($i("i3GEOlogoMarca")) | |
| 207 | + {$i("i3GEOlogoMarca").style.display = "none";} | |
| 208 | + i3GEO.mapa.insereDobraPagina("googlemaps","../imagens/dobragooglemaps.png"); | |
| 209 | + if(parametrosURL.editorvetorial === true){ | |
| 210 | + i3GEO.barraDeBotoes.editor.inicia(); | |
| 211 | + } | |
| 212 | +} | |
| 213 | +i3GEO.arvoreDeTemas.OPCOESADICIONAIS.navegacaoDir = true; | |
| 214 | +i3GEO.configura.sid = ""; | |
| 215 | +i3GEO.inicia(); | |
| 216 | + | |
| 217 | +</script> | |
| 218 | +</body> | |
| 219 | +</html> | ... | ... |