Commit 34ec7c9117f55dfde1d2c2967e5315ee43204b86

Authored by Edmar Moretti
1 parent b1c91378

Inclusão do endereço do serviço OGC na tela de download do datadownload.htm

Showing 1 changed file with 3 additions and 1 deletions   Show diff stats
classesjs/datadownload.js
... ... @@ -303,9 +303,11 @@ function mostraDownload(retorno)
303 303 {ins = "<p style=color:red >Ocorreu um erro. O tema n&atilde;o foi encontrado. Pode ser que o c&oacute;digo do tema n&atilde;o existe na defini&ccedil;&atilde;o do mapfile. Informe o administrador do sistema.<br>";}
304 304 else
305 305 {
306   - ins = "<b>Clique nos links para pegar os arquivos.</b><br><br>";
  306 + ins = "<b>Links de acesso:</b><br><br>";
307 307 ins += "<a href='"+window.location.protocol+"//"+window.location.host+"/"+retorno.mapfileurl+"' target=blank >Arquivo de configura&ccedil;&atilde;o Mapfile</a><br>";
308 308 ins += "<a href='"+g_locaplic+"/classesphp/mapa_controle.php?funcao=TEMA2SLD&tema="+retorno.tema+"&map_file="+retorno.mapfile+"' target=blank >Arquivo de legenda SLD</a><br><br>";
  309 + ins += "Servi&ccedil;o OGC: "+g_locaplic+"/ogc.php?tema="+retorno.tema+"<br><br>";
  310 + ins += "<a href='"+g_locaplic+"/ogc.php?tema="+retorno.tema+"&SERVICE=WMS&VERSION=1.1.0&REQUEST=GetCapabilities' target=blank >OGC GetCapabilities</a><br><br>";
309 311  
310 312 for (var arq=0;arq<n;arq++)
311 313 {
... ...