protected function KML::parsePoint in geoPHP 8
Same name and namespace in other branches
- 7 geoPHP/lib/adapters/KML.class.php \KML::parsePoint()
File
- geoPHP/
lib/ adapters/ KML.class.php, line 116
Class
- KML
- PHP Geometry/KML encoder/decoder
Code
protected function parsePoint($xml) {
$coordinates = $this
->_extractCoordinates($xml);
return new Point($coordinates[0][0], $coordinates[0][1]);
}