Commit 6039307d9d78a1c4b885685a031ec213a17fe993
1 parent
b37461c1
Exists in
master
and in
7 other branches
--no commit message
Showing
1 changed file
with
6 additions
and
0 deletions
Show diff stats
ogc.php
| ... | ... | @@ -116,6 +116,9 @@ if(isset($id_medida_variavel)){ |
| 116 | 116 | if(!isset($temas) && isset($tema)){ |
| 117 | 117 | $temas = $tema; |
| 118 | 118 | } |
| 119 | +if(!isset($temas) && isset($typename)){ | |
| 120 | + $temas = $typename; | |
| 121 | +} | |
| 119 | 122 | // |
| 120 | 123 | //recupera um mapa salvo no banco de administracao |
| 121 | 124 | // |
| ... | ... | @@ -821,6 +824,9 @@ if((isset($legenda)) && (strtolower($legenda) == "sim")){ |
| 821 | 824 | // |
| 822 | 825 | //altera o outputformat |
| 823 | 826 | // |
| 827 | +if(isset($outputFormat)){ | |
| 828 | + $OUTPUTFORMAT = $outputFormat; | |
| 829 | +} | |
| 824 | 830 | if(isset($OUTPUTFORMAT)){ |
| 825 | 831 | if(strtolower($OUTPUTFORMAT) == "shape-zip"){ |
| 826 | 832 | $l = $oMap->getlayer(0); | ... | ... |