Skip to content

Commit

Permalink
https://github.com/funiq/geoPHP/issues/11
Browse files Browse the repository at this point in the history
  • Loading branch information
nono303 committed Oct 4, 2024
1 parent f1c088a commit a40b805
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Adapter/KML.php
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ public function polygonToKML(Polygon $geometry): string
. '</' . $this->nss . 'outerBoundaryIs>';
foreach (array_slice($components, 1) as $comp) {
$str .= '<' . $this->nss . 'innerBoundaryIs>'
. $this->linestringToKML($comp)
. $this->linestringToKML($comp, 'LinearRing')
. '</' . $this->nss . 'innerBoundaryIs>';
}
}
Expand Down

0 comments on commit a40b805

Please sign in to comment.