You are here

class KMLFile in Geocoder 8.3

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

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

Hierarchy

Expanded class hierarchy of KMLFile

File

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

Namespace

Drupal\geocoder_geofield\Geocoder\Provider
View source
class KMLFile extends AbstractGeometryProvider {

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

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

}

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
KMLFile::$geophpType protected property Geophp Type. Overrides AbstractGeometryProvider::$geophpType
KMLFile::getName public function Returns the Geometry provider's name. Overrides AbstractGeometryProvider::getName