diff --git a/classesphp/classe_temas.php b/classesphp/classe_temas.php index 6a5f924..b41c065 100755 --- a/classesphp/classe_temas.php +++ b/classesphp/classe_temas.php @@ -788,9 +788,10 @@ $nome - nome que será dado a geometria $sb = $this->mapa->scalebar; $sb->set("status",MS_OFF); $items = pegaItens($this->layer); - $final["layer"] = pegaNome($this->layer); + $final["layer"] = pegaNome($this->layer,"UTF-8"); $shapes = retornaShapesSelecionados($this->layer,$this->arquivo,$this->mapa); $registros = array(); + $i = 0; foreach($shapes as $shape) { $valitem = array(); @@ -817,6 +818,7 @@ $nome - nome que será dado a geometria $abriu = $this->layer->open(); } else{return "erro";} + $i++; } $fechou = $this->layer->close(); if (count($registros) > 0) -- libgit2 0.21.2