Commit 143b20d127a5a414e58fa169e8ef0ad69a733dc8

Authored by Edmar Moretti
1 parent e558c229

Correção em ogc.php para abertura do openlayers

Showing 2 changed files with 2 additions and 2 deletions   Show diff stats
mashups/index.html
... ... @@ -25,7 +25,7 @@ body,td
25 25 <p>O <a href='http://openlayers.org' >OpenLayers</a> é uma biblioteca em javascript bastante popular. Possuí uma interface simples mas que pode
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   -<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>
  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 29 <p>Exemplo: todas as opções e um tema adicionado <a href='openlayers.php?temas=biomashp&largura=600'>openlayers.php?temas=biomashp&largura=600</a></p>
30 30 <p>Exemplo: zoom para uma região <a href='openlayers.php?temas=biomashp&largura=600&mapext=-68.39967 -12.16172 -62.67402 -5.366808'>openlayers.php?temas=biomashp&largura=600&mapext=-68.39967 -12.16172 -62.67402 -5.366808</a></p>
31 31 <p>Exemplo: Botões principais e barra de zoom maior <a href='openlayers.php?temas=biomashp&largura=600&botoes=pan,zoombox,zoomtot,distancia,area,identifica&numzoomlevels=10'>openlayers.php?temas=biomashp&largura=600&botoes=pan,zoombox,zoomtot,distancia,area,identifica&numzoomlevels=10</a>
... ...
ogc.php
... ... @@ -79,7 +79,7 @@ if(!isset($temas) &amp;&amp; isset($tema))
79 79 //
80 80 if(isset($format) && strtolower($format) == "application/openlayers"){
81 81 if(!isset($layers))
82   - {$layers = $tema;}
  82 + {$layers = $temas;}
83 83 $urln = "mashups/openlayers.php?temas=".$layers."&layers=".$layers."&mapext=".$bbox."&botoes=pan,zoombox,zoomtot,identifica";
84 84 if(!headers_sent())
85 85 {header("Location:".$urln);}
... ...