Commit e11445831a8175fc533557134389899eebf18773
1 parent
e94f0737
Exists in
master
and in
7 other branches
alteracao do metadata EXTENT para EXTENCAO
Showing
3 changed files
with
3 additions
and
3 deletions
Show diff stats
classesphp/classe_mapa.php
... | ... | @@ -139,7 +139,7 @@ string - javascript com os parametros |
139 | 139 | //verifica se o tema pode receber a operação de zoom para o tema |
140 | 140 | // |
141 | 141 | $zoomtema = "sim"; |
142 | - if (($ct != 1) && ($oLayer->getmetadata("extent") == "")) | |
142 | + if (($ct != 1) && ($oLayer->getmetadata("extencao") == "")) | |
143 | 143 | {$zoomtema = "nao";} |
144 | 144 | // |
145 | 145 | //verifica se existe restrição de escala | ... | ... |
classesphp/classe_temas.php
... | ... | @@ -343,7 +343,7 @@ Calcula a extensão geográfica de um tema e ajusta o mapa para essa extensão. |
343 | 343 | $prjMapa = $this->mapa->getProjection(); |
344 | 344 | $prjTema = $this->layer->getProjection(); |
345 | 345 | $extatual = $this->mapa->extent; |
346 | - $ret = $this->layer->getmetadata("extent"); | |
346 | + $ret = $this->layer->getmetadata("extencao"); | |
347 | 347 | if ($ret == "") |
348 | 348 | { |
349 | 349 | $ret = $this->layer->getextent(); | ... | ... |
classesphp/mapa_inicia.php
... | ... | @@ -161,7 +161,7 @@ function iniciaMapa() |
161 | 161 | //verifica se o tema pode receber a operação de zoom para o tema |
162 | 162 | // |
163 | 163 | $zoomtema = "sim"; |
164 | - if (($ct != 1) && ($oLayer->getmetadata("extent") == "")) | |
164 | + if (($ct != 1) && ($oLayer->getmetadata("extecao") == "")) | |
165 | 165 | {$zoomtema = "nao";} |
166 | 166 | // |
167 | 167 | //verifica se existe restrição de escala | ... | ... |