Commit b6b9e3b12e74132230169ce1fc696fe79f55dea1

Authored by Edmar Moretti
1 parent a550d32a

--no commit message

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
classesphp/funcoes_gerais.php
... ... @@ -721,10 +721,10 @@ function retornaReferenciaDinamica()
721 721 //adiciona o tema com o web service com o mapa mundi
722 722 //
723 723 $objMapa = ms_newMapObj($map_file);
724   - $numlayers = $objMap->numlayers;
  724 + $numlayers = $objMapa->numlayers;
725 725 for ($i=0;$i < $numlayers;$i++)
726 726 {
727   - $layer = $objMap->getlayer($i);
  727 + $layer = $objMapa->getlayer($i);
728 728 $layer->set("status",MS_OFF);
729 729 }
730 730 $maptemp = ms_newMapObj($locaplic."/aplicmap/referenciadinamica.map");
... ...