Commit bed4749b1ff68a6906a3ea4004f149453c74c211
1 parent
169de75c
Exists in
master
and in
7 other branches
Correção no teste de arquivos raster
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
testamapfile.php
... | ... | @@ -128,7 +128,6 @@ function verifica($map) |
128 | 128 | $dados = $layern->connection; |
129 | 129 | else |
130 | 130 | $dados = $layern->data; |
131 | - | |
132 | 131 | $pegarext = $teman; |
133 | 132 | } |
134 | 133 | if (isset($postgis_mapa)) |
... | ... | @@ -204,6 +203,8 @@ function verifica($map) |
204 | 203 | function zoomTema($nomelayer,&$mapa) |
205 | 204 | { |
206 | 205 | $layer = $mapa->getlayerbyname($nomelayer); |
206 | + if($layer->type > 2) | |
207 | + {return;} | |
207 | 208 | $prjMapa = $mapa->getProjection(); |
208 | 209 | $prjTema = $layer->getProjection(); |
209 | 210 | $extatual = $mapa->extent; | ... | ... |