diff --git a/classesphp/classe_mapa.php b/classesphp/classe_mapa.php index f38518f..44893b4 100644 --- a/classesphp/classe_mapa.php +++ b/classesphp/classe_mapa.php @@ -2057,7 +2057,8 @@ class Mapa else {$shape = $s->getshape(0);} */ - $shape = $s->getshape(0); + //$shape = $s->getshape(0); + $shape = $s->getshape(new resultObj(0)); $t = $shape->type; $tipo = MS_LAYER_POLYGON; if ($t == 0) -- libgit2 0.21.2