Commit 9261800e9b5c5dd6bde72a5d28a869dc659cefc8
1 parent
83af777f
Exists in
master
and in
7 other branches
corrigido erro na verificação da existência do arquivo shapefile em camadas que …
…utilizam esse tipo de arquivo. Layers com arquivos shapefile, definidos na inicialização, estavam sempre aparecendo desligados no mapa.
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
ms_criamapa.php
@@ -446,7 +446,7 @@ ms_ResetErrorList(); | @@ -446,7 +446,7 @@ ms_ResetErrorList(); | ||
446 | //verifica os dados de cada layer | 446 | //verifica os dados de cada layer |
447 | // | 447 | // |
448 | $mapa = ms_newMapObj($tmpfname); | 448 | $mapa = ms_newMapObj($tmpfname); |
449 | -$path = $mapa->shappath; | 449 | +$path = $mapa->shapepath; |
450 | for($i=0;$i<($mapa->numlayers);$i++) | 450 | for($i=0;$i<($mapa->numlayers);$i++) |
451 | { | 451 | { |
452 | $layer = $mapa->getLayer($i); | 452 | $layer = $mapa->getLayer($i); |