Commit 77f09ebdf8fe37c5768612e4b07001802ad87c34
1 parent
1c6c0495
Exists in
master
and in
7 other branches
--no commit message
Showing
13 changed files
with
154 additions
and
102 deletions
Show diff stats
admin/admin.db
No preview for this file type
admin/php/xml.php
| ... | ... | @@ -444,7 +444,10 @@ function geraXmlRSS($locaplic,$sql,$descricao) |
| 444 | 444 | $xml .= "<category/>\n"; |
| 445 | 445 | $xml .= "<title>".entity_decode($row["nome_ws"])."</title>\n"; |
| 446 | 446 | $xml .= "<description>".xmlTexto_prepara(entity_decode($row["desc_ws"]))."</description>\n"; |
| 447 | - $xml .= "<link>http://".$_SERVER["HTTP_HOST"].dirname($_SERVER["REQUEST_URI"])."/".xmlTexto_prepara($row["link_ws"])."</link>\n"; | |
| 447 | + $link = xmlTexto_prepara($row["link_ws"]); | |
| 448 | + if(stristr($link, 'http') === FALSE) | |
| 449 | + {$link = "http://".$_SERVER["HTTP_HOST"].dirname($_SERVER["REQUEST_URI"])."/".$link;} | |
| 450 | + $xml .= "<link>".$link."</link>\n"; | |
| 448 | 451 | $xml .= "<pubDate/>\n"; |
| 449 | 452 | $xml .= "<author>".xmlTexto_prepara($row["autor_ws"])."</author>\n"; |
| 450 | 453 | $xml .= "<nacessos></nacessos>\n"; | ... | ... |
atlas/geral.htm
| ... | ... | @@ -22,12 +22,9 @@ |
| 22 | 22 | <td> |
| 23 | 23 | <table width=100% cellspacing=0 cellpadding=0 > |
| 24 | 24 | <tr> |
| 25 | - <td title="libera guias" class=tdclaro id=encolheFerramentas style="vertical-align:top;width:5px;text-align:left;"></td> | |
| 26 | - <td> | |
| 27 | 25 | <!-- |
| 28 | 26 | Guias principais, não mude o ID, apenas o nome se for desejado |
| 29 | 27 | --> |
| 30 | - | |
| 31 | 28 | <div class=verdeescuro style="top:0px;cursor:pointer;"> |
| 32 | 29 | <div id=guia1 class=guia ></div> |
| 33 | 30 | <div id=guia2 class=guia ></div> |
| ... | ... | @@ -35,7 +32,6 @@ |
| 35 | 32 | <div id=guia5 class=guia ></div> |
| 36 | 33 | </div> |
| 37 | 34 | </td> |
| 38 | - | |
| 39 | 35 | </tr> |
| 40 | 36 | </table> |
| 41 | 37 | </td> |
| ... | ... | @@ -45,7 +41,7 @@ |
| 45 | 41 | </td> |
| 46 | 42 | </tr> |
| 47 | 43 | <tr> |
| 48 | - <td class=tdbranca id=contemFerramentas style="vertical-align:top;width:268px;text-align:left;"> | |
| 44 | + <td class=tdbranca id=contemFerramentas style="vertical-align:top;width:300px;text-align:left;"> | |
| 49 | 45 | <div id='guia1obj' > |
| 50 | 46 | <div style='left:5px;top:10px;' id=buscaRapida ></div> |
| 51 | 47 | <div id=listaPropriedades style='top:15px;' ></div> |
| ... | ... | @@ -84,23 +80,22 @@ |
| 84 | 80 | </td> |
| 85 | 81 | </tr> |
| 86 | 82 | <tr style="border:0px"><td colspan=3 id="barraInferior" style="background-image:url('../imagens/visual/default/rodape.png');height:10px"></td></tr> |
| 87 | -<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> | |
| 88 | -<tr style="border:0px"><td colspan=3 style=background-color:black;color:white >geoprocessamento@mma.gov.br</td></tr> | |
| 89 | - | |
| 90 | 83 | </table> |
| 91 | 84 | <center> |
| 92 | -<br><br> | |
| 93 | -<table> | |
| 94 | -<tr> | |
| 95 | - <td><center><h1><div id=versaoi3geo ></div><h2>i3Geo - Software livre para criação de mapas interativos e geoprocessamento<h3>Baseado no Mapserver, é licenciado sob GPL e integra o Portal do Software Público Brasileiro</h3></h2></h1></td> | |
| 96 | -</tr> | |
| 97 | -<tr> | |
| 98 | - <td style="padding:10px;"><center><img alt="logomarca" src='../imagens/logo_inicio.png'></td> | |
| 99 | -</tr> | |
| 100 | -<tr> | |
| 101 | - <td><center> | |
| 102 | - </td> | |
| 103 | -</tr> | |
| 85 | +<table id="i3GEOlogoMarca" style='box-shadow:0 1px 13px gray;border-radius:5px;'> | |
| 86 | + <tr> | |
| 87 | + <td><center><h1 style="font-size:10px;font-family: Verdana, Arial, Helvetica, sans-serif;"><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<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></h2></h1></td> | |
| 88 | + </tr> | |
| 89 | + <tr> | |
| 90 | + <td style="padding:10px;"><center><img alt="" src='../imagens/logo_inicio.png' ></td> | |
| 91 | + </tr> | |
| 92 | + <tr> | |
| 93 | + <td><center> | |
| 94 | + <!-- | |
| 95 | + <script id="ohloh" type="text/javascript" src="http://www.ohloh.net/p/150688/widgets/project_users.js?style=red"></script> | |
| 96 | + --> | |
| 97 | + </td> | |
| 98 | + </tr> | |
| 104 | 99 | </table> |
| 105 | 100 | <script type="text/javascript"> |
| 106 | 101 | /* |
| ... | ... | @@ -111,16 +106,10 @@ Define o layout do mapa quando um atlas é aberto por http://localhost/i3geo/atla |
| 111 | 106 | File: i3geo/atlas/geral.htm |
| 112 | 107 | |
| 113 | 108 | */ |
| 114 | -/* | |
| 115 | - Indica a localização correta do i3geo. | |
| 116 | - | |
| 117 | - É utilizada para identificar o local correto onde estão os programas em php que são utilizados. | |
| 118 | -*/ | |
| 119 | 109 | i3GEO.configura.locaplic = i3GEO.util.protocolo()+"://"+window.location.host+"/i3geo"; |
| 120 | - | |
| 110 | +i3GEO.configura.autotamanho = false; | |
| 121 | 111 | i3GEO.Interface.ATUAL = "openlayers"; |
| 122 | 112 | i3GEO.Interface.IDCORPO = "contemImg"; |
| 123 | -i3GEO.configura.diminuixN = 20 | |
| 124 | 113 | |
| 125 | 114 | i3GEO.Interface.openlayers.GADGETS = { |
| 126 | 115 | PanZoomBar:true, |
| ... | ... | @@ -129,68 +118,108 @@ i3GEO.Interface.openlayers.GADGETS = { |
| 129 | 118 | ScaleLine:true, |
| 130 | 119 | OverviewMap:false |
| 131 | 120 | }; |
| 132 | -i3GEO.Interface.openlayers.TILES = false; | |
| 121 | +i3GEO.Interface.openlayers.TILES = true; | |
| 122 | +// | |
| 123 | +//controla o tamanho da barra de zoom | |
| 124 | +// | |
| 125 | +//i3GEO.Interface.openlayers.MINEXTENT = [-0.001, -0.001, 0.001, 0.001] | |
| 126 | +// | |
| 127 | +// | |
| 128 | +//desabilita o item que abre a interface "default" do menu suspenso | |
| 129 | +// | |
| 130 | +i3GEO.gadgets.PARAMETROS.mostraMenuSuspenso.finaliza = 'if($i("omenudataInterface1")){i3GEOoMenuBar.getMenuItem("omenudataInterface1").cfg.setProperty("text", " ");}' | |
| 131 | + | |
| 133 | 132 | /* |
| 134 | 133 | Após a criação, é criado o objeto i3geoOL que corresponde ao objeto map da API do OpenLayers. |
| 135 | 134 | Vc pode usar i3geoOL para aplicar os métodos e verificar as propriedades da API do OpenLayers |
| 136 | 135 | */ |
| 136 | + | |
| 137 | 137 | i3GEO.cria(); |
| 138 | -i3GEO.finaliza = "iniciaAtlas()"; | |
| 139 | 138 | /* |
| 140 | 139 | Inicializa o mapa |
| 141 | 140 | */ |
| 142 | -i3GEO.barraDeBotoes.AUTOALTURA = false; | |
| 143 | -i3GEO.barraDeBotoes.ATIVAMENUCONTEXTO = false; | |
| 144 | -i3GEO.barraDeBotoes.PERMITEFECHAR = true; | |
| 145 | -i3GEO.barraDeBotoes.PERMITEDESLOCAR = true; | |
| 146 | -i3GEO.barraDeBotoes.AUTO = true; | |
| 147 | -i3GEO.barraDeBotoes.COMPORTAMENTO = "laranja"; | |
| 148 | - | |
| 149 | -i3GEO.Interface.BARRABOTOESLEFT = 50; | |
| 150 | -i3GEO.Interface.BARRABOTOESTOP = 10; | |
| 151 | - | |
| 141 | +//não mostra o mapa de referência | |
| 142 | +i3GEO.configura.mapaRefDisplay = "none"; | |
| 143 | +//tipo de barra de botões | |
| 144 | +i3GEO.barraDeBotoes.TIPO = "olhodepeixe"; | |
| 145 | +//ajusta o deslocamento da barra de botões | |
| 146 | +i3GEO.barraDeBotoes.OFFSET = -3; | |
| 147 | +i3GEO.configura.oMenuData["submenus"]["janelas"] = []; | |
| 148 | +i3GEO.ajuda.ATIVAJANELA = false; | |
| 152 | 149 | i3GEO.idioma.IDSELETOR = "seletorIdiomas"; |
| 153 | 150 | i3GEO.Interface.ATIVAMENUCONTEXTO = false; |
| 154 | 151 | i3GEO.arvoreDeTemas.TIPOBOTAO = "radio"; |
| 155 | 152 | i3GEO.arvoreDeTemas.ATIVATEMAIMEDIATO = true; |
| 153 | +i3GEO.arvoreDeTemas.OPCOESADICIONAIS.comentarios = true; | |
| 154 | +i3GEO.arvoreDeCamadas.VERIFICAABRANGENCIATEMAS = true; | |
| 155 | +i3GEO.arvoreDeCamadas.MOSTRALISTAKML = false; | |
| 156 | +i3GEO.mapa.AUTORESIZE = true; | |
| 157 | +// | |
| 158 | +//define quanto tempo é aguardado para considerar que o mouse está parado sobre um lugar. | |
| 159 | +//utilizado pela função de identificação do tipo balão | |
| 160 | +// | |
| 161 | +//i3GEO.configura.tempoMouseParado = 1000 | |
| 156 | 162 | // |
| 157 | 163 | //esta é uma variável interna do OpenLayers que define o endereço do diretório onde estão as imagens usadas nos ícones |
| 158 | 164 | // |
| 159 | -OpenLayers.ImgPath = "../pacotes/openlayers/img/" | |
| 165 | +OpenLayers.ImgPath = "../pacotes/openlayers/img/"; | |
| 160 | 166 | // |
| 161 | 167 | //adiciona camadas que podem ser ativadas como fundo do mapa |
| 162 | 168 | // |
| 163 | -var ims = new OpenLayers.Layer.ArcGIS93Rest( | |
| 164 | - "ESRI Imagery World 2D", | |
| 165 | - "http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_Imagery_World_2D/MapServer/export", | |
| 166 | - {}, | |
| 167 | - {isBaseLayer:true,visibility:false} | |
| 168 | -); | |
| 169 | -var wsm = new OpenLayers.Layer.ArcGIS93Rest( | |
| 170 | - "ESRI World Street Map", | |
| 171 | - "http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer/export", | |
| 172 | - {}, | |
| 173 | - {isBaseLayer:true,visibility:false} | |
| 174 | -); | |
| 175 | -var bra = new OpenLayers.Layer.WMS( | |
| 176 | - "Base carto MMA", | |
| 177 | - "http://mapas.mma.gov.br/cgi-bin/mapserv?map=/opt/www/html/webservices/baseraster.map", | |
| 178 | - {layers:"baseraster",srs:"EPSG:4291",format:"image/png",isBaseLayer:false}, | |
| 179 | - {isBaseLayer:true,visibility:false} | |
| 180 | -); | |
| 181 | -var osm = new OpenLayers.Layer.WMS( | |
| 182 | - "Open Street Map", | |
| 183 | - "http://full.wms.geofabrik.de/std/demo_key", | |
| 184 | - {layers:""}, | |
| 185 | - {isBaseLayer:true,visibility:false} | |
| 186 | -); | |
| 187 | - | |
| 188 | -i3GEO.Interface.openlayers.LAYERSADICIONAIS = [ims,wsm,bra,osm]; | |
| 189 | - | |
| 169 | +(function(){ | |
| 170 | + var oce = new OpenLayers.Layer.ArcGIS93Rest( | |
| 171 | + "ESRI Ocean Basemap", | |
| 172 | + "http://server.arcgisonline.com/ArcGIS/rest/services/Ocean_Basemap/MapServer/export", | |
| 173 | + {format:"jpg"}, | |
| 174 | + {isBaseLayer:true,visibility:false} | |
| 175 | + ); | |
| 176 | + var ims = new OpenLayers.Layer.ArcGIS93Rest( | |
| 177 | + "ESRI Imagery World 2D", | |
| 178 | + "http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_Imagery_World_2D/MapServer/export", | |
| 179 | + {}, | |
| 180 | + {isBaseLayer:true,visibility:false} | |
| 181 | + ); | |
| 182 | + var wsm = new OpenLayers.Layer.ArcGIS93Rest( | |
| 183 | + "ESRI World Street Map", | |
| 184 | + "http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer/export", | |
| 185 | + {}, | |
| 186 | + {isBaseLayer:true,visibility:false} | |
| 187 | + ); | |
| 188 | + var bra = new OpenLayers.Layer.WMS( | |
| 189 | + "Base carto MMA", | |
| 190 | + "http://mapas.mma.gov.br/cgi-bin/mapserv?map=/opt/www/html/webservices/baseraster.map", | |
| 191 | + {layers:"baseraster",srs:"EPSG:4291",format:"image/png",isBaseLayer:false}, | |
| 192 | + {isBaseLayer:true,visibility:false} | |
| 193 | + ); | |
| 194 | + /* | |
| 195 | + var osm = new OpenLayers.Layer.WMS( | |
| 196 | + "Open Street Map", | |
| 197 | + "http://full.wms.geofabrik.de/std/demo_key", | |
| 198 | + {layers:""}, | |
| 199 | + {isBaseLayer:true,visibility:false} | |
| 200 | + ); | |
| 201 | + */ | |
| 202 | + i3GEO.Interface.openlayers.LAYERSADICIONAIS = [oce,ims,wsm,bra]; | |
| 203 | +})(); | |
| 204 | +// | |
| 205 | +//substitui a janela de alerta normal do navegador por uma janela estilizada. Pode ser comentado sem problemas. No Safari apresentou problemas. | |
| 206 | +// | |
| 207 | +//i3GEO.janela.ativaAlerta(); | |
| 190 | 208 | // |
| 191 | 209 | //inicia o mapa |
| 192 | 210 | // |
| 211 | +//esconde a logomarca ao finalizar o mapa | |
| 212 | +i3GEO.finaliza = function(){ | |
| 213 | + if($i("i3GEOlogoMarca")) | |
| 214 | + {$i("i3GEOlogoMarca").style.display = "none";} | |
| 215 | + i3GEO.mapa.insereDobraPagina("googlemaps","../imagens/dobragooglemaps.png"); | |
| 216 | + iniciaAtlas(); | |
| 217 | +} | |
| 218 | +i3GEO.arvoreDeTemas.OPCOESADICIONAIS.navegacaoDir = true; | |
| 219 | +//OpenLayers.DOTS_PER_INCH = 96 | |
| 220 | +//i3GEO.configura.sid = ""; | |
| 193 | 221 | i3GEO.inicia(); |
| 222 | + | |
| 194 | 223 | </script> |
| 195 | 224 | </body> |
| 196 | 225 | </html> | ... | ... |
css/botoes.css
| ... | ... | @@ -2,7 +2,16 @@ |
| 2 | 2 | utiliza botões antigos até a versão 4.4 do i3geo |
| 3 | 3 | */ |
| 4 | 4 | #importarwmc,#soltaLeg,#uploadgpx,#metar,#carouselTemas,#identificaBalao,#rota,#buscafotos,#area,#confluence,#scielo,#wiki,#inseregrafico,#realca,#reinicia,#google,#zoomtot,#pan,#zoomli,#zoomlo,#zoomiauto,#zoomoauto,#identifica,#lentei,#reinicia,#exten,#selecao,#inserexy,#textofid,#mede,#cruza,#tamanho,#imprimir,#salva,#carrega,#referencia,#pegaimagens,#v3d |
| 5 | -{cursor:pointer;border: 0px solid rgb(50,50,50);border-bottom:1px solid rgb(50,50,50);border-left:1px solid rgb(50,50,50);width:22;height:22;z-index:1000;position:relative;} | |
| 5 | +{ | |
| 6 | + cursor:pointer; | |
| 7 | + border: 0px solid rgb(50,50,50); | |
| 8 | + border-bottom:1px solid rgb(50,50,50); | |
| 9 | + border-left:1px solid rgb(50,50,50); | |
| 10 | + width:22px; | |
| 11 | + height:22px; | |
| 12 | + z-index:1000; | |
| 13 | + position:relative; | |
| 14 | +} | |
| 6 | 15 | #box1 |
| 7 | 16 | {font-size:0px;cursor:crosshair;opacity:.25;background-color: gray;position: absolute;visibility: hidden;width: 0px;height: 0px;border: 2px solid #ff0000;} |
| 8 | 17 | #boxg | ... | ... |
css/botoes2.css
| 1 | 1 | #localizar,#barraedicao,#abregoogleearth,#uploadgpx,#metar,#carouselTemas,#identificaBalao,#rota,#buscafotos,#area,#confluence,#scielo,#wiki,#inseregrafico,#realca,#reinicia,#google,#zoomtot,#pan,#zoomli,#zoomlo,#zoomiauto,#zoomoauto,#identifica,#lentei,#reinicia,#exten,#selecao,#inserexy,#textofid,#mede,#perfil,#cruza,#tamanho,#imprimir,#salva,#carrega,#referencia,#pegaimagens,#v3d |
| 2 | -{margin:2px;cursor:pointer;border: 0px solid rgb(50,50,50);border-bottom:1px solid rgb(50,50,50);border-left:1px solid rgb(50,50,50);width:24;height:24;z-index:1000;position:relative;} | |
| 2 | +{ | |
| 3 | + margin:2px; | |
| 4 | + cursor:pointer; | |
| 5 | + border: 0px solid rgb(50,50,50); | |
| 6 | + border-bottom:1px solid rgb(50,50,50); | |
| 7 | + border-left:1px solid rgb(50,50,50); | |
| 8 | + width:24px; | |
| 9 | + height:24px; | |
| 10 | + z-index:1000; | |
| 11 | + position:relative; | |
| 12 | +} | |
| 3 | 13 | #box1 |
| 4 | 14 | {font-size:0px;cursor:crosshair;opacity:.25;background-color: gray;position: absolute;visibility: hidden;width: 0px;height: 0px;border: 2px solid #ff0000;} |
| 5 | 15 | #boxg | ... | ... |
css/i3geo46.css
| ... | ... | @@ -201,7 +201,17 @@ cursor: se-resize; |
| 201 | 201 | #localizarxy {display:none !important;} |
| 202 | 202 | } |
| 203 | 203 | #localizar,#barraedicao,#abregoogleearth,#uploadgpx,#metar,#carouselTemas,#identificaBalao,#rota,#buscafotos,#area,#confluence,#scielo,#wiki,#inseregrafico,#realca,#reinicia,#google,#zoomtot,#pan,#zoomli,#zoomlo,#zoomiauto,#zoomoauto,#identifica,#lentei,#reinicia,#exten,#selecao,#inserexy,#textofid,#mede,#perfil,#cruza,#tamanho,#imprimir,#salva,#carrega,#referencia,#pegaimagens,#v3d |
| 204 | -{margin:2px;cursor:pointer;border: 0px solid rgb(50,50,50);border-bottom:1px solid rgb(50,50,50);border-left:1px solid rgb(50,50,50);width:24;height:24;z-index:1000;position:relative;} | |
| 204 | +{ | |
| 205 | +margin:2px; | |
| 206 | +cursor:pointer; | |
| 207 | +border: 0px solid rgb(50,50,50); | |
| 208 | +border-bottom:1px solid rgb(50,50,50); | |
| 209 | +border-left:1px solid rgb(50,50,50); | |
| 210 | +width:24px; | |
| 211 | +height:24px; | |
| 212 | +z-index:1000; | |
| 213 | +position:relative; | |
| 214 | +} | |
| 205 | 215 | #box1 |
| 206 | 216 | {font-size:0px;cursor:crosshair;opacity:.25;background-color: gray;position: absolute;visibility: hidden;width: 0px;height: 0px;border: 2px solid #ff0000;} |
| 207 | 217 | #boxg | ... | ... |
css/i3geo46.css.php
| ... | ... | @@ -201,7 +201,17 @@ cursor: se-resize; |
| 201 | 201 | #localizarxy {display:none !important;} |
| 202 | 202 | } |
| 203 | 203 | #localizar,#barraedicao,#abregoogleearth,#uploadgpx,#metar,#carouselTemas,#identificaBalao,#rota,#buscafotos,#area,#confluence,#scielo,#wiki,#inseregrafico,#realca,#reinicia,#google,#zoomtot,#pan,#zoomli,#zoomlo,#zoomiauto,#zoomoauto,#identifica,#lentei,#reinicia,#exten,#selecao,#inserexy,#textofid,#mede,#perfil,#cruza,#tamanho,#imprimir,#salva,#carrega,#referencia,#pegaimagens,#v3d |
| 204 | -{margin:2px;cursor:pointer;border: 0px solid rgb(50,50,50);border-bottom:1px solid rgb(50,50,50);border-left:1px solid rgb(50,50,50);width:24;height:24;z-index:1000;position:relative;} | |
| 204 | +{ | |
| 205 | +margin:2px; | |
| 206 | +cursor:pointer; | |
| 207 | +border: 0px solid rgb(50,50,50); | |
| 208 | +border-bottom:1px solid rgb(50,50,50); | |
| 209 | +border-left:1px solid rgb(50,50,50); | |
| 210 | +width:24px; | |
| 211 | +height:24px; | |
| 212 | +z-index:1000; | |
| 213 | +position:relative; | |
| 214 | +} | |
| 205 | 215 | #box1 |
| 206 | 216 | {font-size:0px;cursor:crosshair;opacity:.25;background-color: gray;position: absolute;visibility: hidden;width: 0px;height: 0px;border: 2px solid #ff0000;} |
| 207 | 217 | #boxg | ... | ... |
documentacao/manual_de_usuário_do_i3geo.odt
No preview for this file type
mashups/index.html
| ... | ... | @@ -26,8 +26,8 @@ body,td |
| 26 | 26 | conter um grande número de funcionalidades.</p> |
| 27 | 27 | <p>Para ver todos os parâmetros: <a href='openlayers.php'>i3geo/mashups/openlayers.php</a></p> |
| 28 | 28 | <p>O gerador de Web Services do i3GEO pode ser utilizado para abrir o mashup. Exemplo: <a href='http://localhost/i3geo/ogc.php?temas=biomashp&format=application/openlayers&bbox=-54,-14,-50,-10' >ogc.php?temas=biomashp&format=application/openlayers&bbox=-54,-14,-50,-10</a></p> |
| 29 | -<p>Exemplo: todas as opções e um tema adicionado <a href='openlayers.php?temas=biomashp&largura=800'>openlayers.php?temas=biomashp&largura=800</a></p> | |
| 30 | -<p>Exemplo: duas camadas mas com apenas uma visível na inicialização do mapa <a href='openlayers.php?temas=biomashp,locali&largura=800&visiveis=biomashp'>openlayers.php?temas=biomashp,locali&largura=800&visiveis=biomashp</a></p> | |
| 29 | +<p>Exemplo: todas as opções e um tema adicionado <a href='openlayers.php?temas=biomashp&largura=800&altura=500'>openlayers.php?temas=biomashp&largura=800&altura=500</a></p> | |
| 30 | +<p>Exemplo: duas camadas mas com apenas uma visível na inicialização do mapa <a href='openlayers.php?temas=biomashp,locali&largura=800&altura=500&visiveis=biomashp'>openlayers.php?temas=biomashp,locali&largura=800&altura=500&visiveis=biomashp</a></p> | |
| 31 | 31 | <p>Exemplo: zoom para uma região <a href='openlayers.php?temas=biomashp&largura=800&mapext=-68.39967 -12.16172 -62.67402 -5.366808'>openlayers.php?temas=biomashp&largura=800&mapext=-68.39967 -12.16172 -62.67402 -5.366808</a></p> |
| 32 | 32 | <p>Exemplo: Botões principais e barra de zoom maior <a href='openlayers.php?temas=biomashp&largura=800&botoes=pan,zoombox,zoomtot,distancia,area,identifica&numzoomlevels=10'>openlayers.php?temas=biomashp&largura=800&botoes=pan,zoombox,zoomtot,distancia,area,identifica&numzoomlevels=10</a> |
| 33 | 33 | <p>Exemplo: Inclusão de pontos <a href='openlayers.php?temas=biomashp&largura=800&pontos=-54 -12 -56 -15'>openlayers.php?temas=biomashp&largura=800&pontos=-54 -12 -56 -15</a> | ... | ... |
mashups/openlayers.js.php
| ... | ... | @@ -35,14 +35,8 @@ i3GEO.editorOL = { |
| 35 | 35 | ), |
| 36 | 36 | jpl_wms: new OpenLayers.Layer.WMS( |
| 37 | 37 | "NASA Global Mosaic", |
| 38 | - "http://wms.jpl.nasa.gov/wms.cgi", | |
| 39 | - {layers: "modis,global_mosaic"}, | |
| 40 | - {singleTile:true} | |
| 41 | - ), | |
| 42 | - osm_wms: new OpenLayers.Layer.WMS( | |
| 43 | - "Open Street Map", | |
| 44 | - "http://full.wms.geofabrik.de/std/demo_key?", | |
| 45 | - {layers: ""} | |
| 38 | + "http://wms.jpl.nasa.gov/wms.cgi?", | |
| 39 | + {layers: "global_mosaic"} | |
| 46 | 40 | ), |
| 47 | 41 | top_wms: new OpenLayers.Layer.WMS( |
| 48 | 42 | "Toponímia MMA", |
| ... | ... | @@ -54,7 +48,7 @@ i3GEO.editorOL = { |
| 54 | 48 | "http://mapas.mma.gov.br/i3geo/ogc.php?tema=estadosl&", |
| 55 | 49 | {layers: "estadosl",FORMAT:'image/png'} |
| 56 | 50 | ), |
| 57 | - fundo: "ol_mma,ol_wms,jpl_wms,osm_wms,top_wms,est_wms", | |
| 51 | + fundo: "ol_mma,ol_wms,jpl_wms,top_wms,est_wms", | |
| 58 | 52 | kml: [], |
| 59 | 53 | layersIniciais: [], |
| 60 | 54 | botoes: { | ... | ... |
mashups/openlayers.php
| ... | ... | @@ -183,7 +183,6 @@ Parâmetros: |
| 183 | 183 | ol_mma - base cartográfica do Brasil |
| 184 | 184 | ol_wms - base mundial da Meta Carta |
| 185 | 185 | jpl_wms - mosaico de imagens de satélite |
| 186 | - osm_wms - base do open Street Map | |
| 187 | 186 | top_wms - toponímia do servidor do MMA usado no mapa de referência |
| 188 | 187 | est_wms - estados do Brasil |
| 189 | 188 | ... | ... |
mashups/openlayers_compacto.js
| ... | ... | @@ -3047,14 +3047,8 @@ ol_wms: new OpenLayers.Layer.WMS.Untiled( |
| 3047 | 3047 | ), |
| 3048 | 3048 | jpl_wms: new OpenLayers.Layer.WMS( |
| 3049 | 3049 | "NASA Global Mosaic", |
| 3050 | -"http://wms.jpl.nasa.gov/wms.cgi", | |
| 3051 | -{layers: "modis,global_mosaic"}, | |
| 3052 | -{singleTile:true} | |
| 3053 | -), | |
| 3054 | -osm_wms: new OpenLayers.Layer.WMS( | |
| 3055 | -"Open Street Map", | |
| 3056 | -"http://full.wms.geofabrik.de/std/demo_key?", | |
| 3057 | -{layers: ""} | |
| 3050 | +"http://wms.jpl.nasa.gov/wms.cgi?", | |
| 3051 | +{layers: "global_mosaic"} | |
| 3058 | 3052 | ), |
| 3059 | 3053 | top_wms: new OpenLayers.Layer.WMS( |
| 3060 | 3054 | "Toponímia MMA", |
| ... | ... | @@ -3066,7 +3060,7 @@ est_wms: new OpenLayers.Layer.WMS( |
| 3066 | 3060 | "http://mapas.mma.gov.br/i3geo/ogc.php?tema=estadosl&", |
| 3067 | 3061 | {layers: "estadosl",FORMAT:'image/png'} |
| 3068 | 3062 | ), |
| 3069 | -fundo: "ol_mma,ol_wms,jpl_wms,osm_wms,top_wms,est_wms", | |
| 3063 | +fundo: "ol_mma,ol_wms,jpl_wms,top_wms,est_wms", | |
| 3070 | 3064 | kml: [], |
| 3071 | 3065 | layersIniciais: [], |
| 3072 | 3066 | botoes: { | ... | ... |
mashups/openlayers_compacto.js.php
| ... | ... | @@ -3047,14 +3047,8 @@ ol_wms: new OpenLayers.Layer.WMS.Untiled( |
| 3047 | 3047 | ), |
| 3048 | 3048 | jpl_wms: new OpenLayers.Layer.WMS( |
| 3049 | 3049 | "NASA Global Mosaic", |
| 3050 | -"http://wms.jpl.nasa.gov/wms.cgi", | |
| 3051 | -{layers: "modis,global_mosaic"}, | |
| 3052 | -{singleTile:true} | |
| 3053 | -), | |
| 3054 | -osm_wms: new OpenLayers.Layer.WMS( | |
| 3055 | -"Open Street Map", | |
| 3056 | -"http://full.wms.geofabrik.de/std/demo_key?", | |
| 3057 | -{layers: ""} | |
| 3050 | +"http://wms.jpl.nasa.gov/wms.cgi?", | |
| 3051 | +{layers: "global_mosaic"} | |
| 3058 | 3052 | ), |
| 3059 | 3053 | top_wms: new OpenLayers.Layer.WMS( |
| 3060 | 3054 | "Toponímia MMA", |
| ... | ... | @@ -3066,7 +3060,7 @@ est_wms: new OpenLayers.Layer.WMS( |
| 3066 | 3060 | "http://mapas.mma.gov.br/i3geo/ogc.php?tema=estadosl&", |
| 3067 | 3061 | {layers: "estadosl",FORMAT:'image/png'} |
| 3068 | 3062 | ), |
| 3069 | -fundo: "ol_mma,ol_wms,jpl_wms,osm_wms,top_wms,est_wms", | |
| 3063 | +fundo: "ol_mma,ol_wms,jpl_wms,top_wms,est_wms", | |
| 3070 | 3064 | kml: [], |
| 3071 | 3065 | layersIniciais: [], |
| 3072 | 3066 | botoes: { | ... | ... |