Commit ef374e57e3f23c683ab82ad3e63a5a247e6c2952
1 parent
c9e21bda
Exists in
master
and in
7 other branches
--no commit message
Showing
3 changed files
with
4 additions
and
3 deletions
Show diff stats
classesphp/classe_atributos.php
... | ... | @@ -975,7 +975,7 @@ $wkt - (opcional) {boolean} inclui ou não o valor do wkt da geometria |
975 | 975 | $numlayers = $this->mapa->numlayers; |
976 | 976 | for ($i=0;$i < $numlayers;$i++) |
977 | 977 | { |
978 | - $tl = $mapa->getlayer($i); | |
978 | + $tl = $this->mapa->getlayer($i); | |
979 | 979 | $tema = $tl->name; |
980 | 980 | $itemtip = $tl->getmetadata("TIP"); |
981 | 981 | if ($itemtip != "") | ... | ... |
classesphp/classe_legenda.php
... | ... | @@ -269,10 +269,10 @@ string de variaveis no formato javascript que permitem montar a legenda. |
269 | 269 | */ |
270 | 270 | function legendaGrafica() |
271 | 271 | { |
272 | - $numlayers = $mapa->numlayers; | |
272 | + $numlayers = $this->$mapa->numlayers; | |
273 | 273 | for ($i=0;$i < $numlayers;$i++) |
274 | 274 | { |
275 | - $layer = $mapa->getlayer($i); | |
275 | + $layer = $this->$mapa->getlayer($i); | |
276 | 276 | if (($layer->data != "") && (strtoupper($layer->getmetadata("escondido")) != "SIM") && (strtoupper($layer->getmetadata("tema")) != "NAO")) |
277 | 277 | { |
278 | 278 | if ($layer->numclasses > 0) | ... | ... |
classesphp/classe_vermultilayer.php