You are here

class GeoJsonFile in Geocoder 8.2

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

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

Hierarchy

Expanded class hierarchy of GeoJsonFile

File

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

Namespace

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

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

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

}

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