You are here

public function Entry::getGeoPoint in Feeds 8.3

Returns the entry point.

Parameters

int $index: The index of the point.

Return value

string|null A geo point.

File

src/Zend/Extension/Georss/Entry.php, line 21

Class

Entry
Parses GeoRss data.

Namespace

Drupal\feeds\Zend\Extension\Georss

Code

public function getGeoPoint($index = 0) {
  $points = $this
    ->getGeoPoints();
  return isset($points[$index]) ? $points[$index] : NULL;
}