Commit 87bd33412ee9f1aa032cbd1a4a14d444b6c95602
1 parent
ce52c406
Exists in
master
and in
7 other branches
--no commit message
Showing
4 changed files
with
13 additions
and
4 deletions
Show diff stats
classesphp/classe_legenda.php
... | ... | @@ -482,6 +482,7 @@ String no formato HTML com as imagens dos símbolos |
482 | 482 | {$dir = $dir_tmp;} |
483 | 483 | else |
484 | 484 | {$dir = $dir_tmp."/".$imgdir;} |
485 | + | |
485 | 486 | if (!file_exists($dir."/simbolos".$tipo.".inc")) |
486 | 487 | { |
487 | 488 | $f = fopen($dir."/simbolos".$tipo.".inc","w"); |
... | ... | @@ -568,6 +569,7 @@ function: aplicaParametro |
568 | 569 | Aplica um parâmetro em um estilo de uma classe. |
569 | 570 | |
570 | 571 | parameters: |
572 | + | |
571 | 573 | $classe - Índice da classe. |
572 | 574 | |
573 | 575 | $estilo - Índice do estilo que será alterado. | ... | ... |
ferramentas/legenda/index.js.php
... | ... | @@ -1123,9 +1123,9 @@ i3GEOF.legenda = { |
1123 | 1123 | {valido = "sim";} |
1124 | 1124 | } |
1125 | 1125 | if(valido === "nao"){ |
1126 | - alert("Nome do simbolo nao encontrado"); | |
1127 | - i3GEOF.legenda.aguarde.visibility = "hidden"; | |
1128 | - return; | |
1126 | + //alert("Nome do simbolo nao encontrado"); | |
1127 | + //i3GEOF.legenda.aguarde.visibility = "hidden"; | |
1128 | + //return; | |
1129 | 1129 | } |
1130 | 1130 | p = i3GEO.configura.locaplic+"/classesphp/mapa_controle.php?g_sid="+i3GEO.configura.sid+"&funcao=editasimbolo&opcao=aplica&tema="+i3GEOF.legenda.tema+"&classe="+i3GEOF.legenda.classe+"&estilo="+i3GEOF.legenda.estilo+"&outlinecolor="+outlinecolor+"&backgroundcolor="+backgroundcolor+"&color="+color+"&symbolname="+symbolname+"&size="+size+"&opacidade="+opacidade; |
1131 | 1131 | cp = new cpaint(); | ... | ... |
interface/openlayers.htm
... | ... | @@ -251,6 +251,12 @@ OpenLayers.ImgPath = "../pacotes/openlayers/img/"; |
251 | 251 | //adiciona camadas que podem ser ativadas como fundo do mapa |
252 | 252 | // |
253 | 253 | (function(){ |
254 | + var oce = new OpenLayers.Layer.ArcGIS93Rest( | |
255 | + "ESRI Ocean Basemap", | |
256 | + "http://server.arcgisonline.com/ArcGIS/rest/services/Ocean_Basemap/MapServer/export", | |
257 | + {format:"jpg"}, | |
258 | + {isBaseLayer:true,visibility:false} | |
259 | + ); | |
254 | 260 | var ims = new OpenLayers.Layer.ArcGIS93Rest( |
255 | 261 | "ESRI Imagery World 2D", |
256 | 262 | "http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_Imagery_World_2D/MapServer/export", |
... | ... | @@ -276,7 +282,7 @@ OpenLayers.ImgPath = "../pacotes/openlayers/img/"; |
276 | 282 | {isBaseLayer:true,visibility:false} |
277 | 283 | ); |
278 | 284 | |
279 | - i3GEO.Interface.openlayers.LAYERSADICIONAIS = [ims,wsm,bra,osm]; | |
285 | + i3GEO.Interface.openlayers.LAYERSADICIONAIS = [oce,ims,wsm,bra,osm]; | |
280 | 286 | })(); |
281 | 287 | // |
282 | 288 | //substitui a janela de alerta normal do navegador por uma janela estilizada. Pode ser comentado sem problemas. No Safari apresentou problemas. | ... | ... |
symbols/simboloslin.sym