You are here

class GPXFile in Geocoder 8.3

Same name in this branch
  1. 8.3 modules/geocoder_geofield/src/Geocoder/Provider/GPXFile.php \Drupal\geocoder_geofield\Geocoder\Provider\GPXFile
  2. 8.3 modules/geocoder_geofield/src/Plugin/Geocoder/Provider/GPXFile.php \Drupal\geocoder_geofield\Plugin\Geocoder\Provider\GPXFile
Same name and namespace in other branches
  1. 8.2 modules/geocoder_geofield/src/Geocoder/Provider/GPXFile.php \Drupal\geocoder_geofield\Geocoder\Provider\GPXFile

Provides a file handler to be used by 'gpxfile' plugin.

Hierarchy

Expanded class hierarchy of GPXFile

File

modules/geocoder_geofield/src/Geocoder/Provider/GPXFile.php, line 8

Namespace

Drupal\geocoder_geofield\Geocoder\Provider
View source
class GPXFile extends AbstractGeometryProvider implements GeometryProviderInterface {

  /**
   * Geophp Type.
   *
   * @var string
   */
  protected $geophpType = 'gpx';

  /**
   * {@inheritdoc}
   */
  public function getName() : string {
    return 'gpxfile';
  }

}

Members

Namesort descending Modifiers Type Description Overrides
AbstractGeometryProvider::$geophp protected property Geophp interface.
AbstractGeometryProvider::geocode public function Geocode a source string. Overrides GeometryProviderInterface::geocode
AbstractGeometryProvider::reverse public function Reverse ReverseGeocode. Overrides GeometryProviderInterface::reverse
AbstractGeometryProvider::__construct public function
GPXFile::$geophpType protected property Geophp Type. Overrides AbstractGeometryProvider::$geophpType
GPXFile::getName public function Returns the Geometry provider's name. Overrides AbstractGeometryProvider::getName