class Nominatim in Geocoder 7.2
Same name and namespace in other branches
- 8.3 src/Plugin/Geocoder/Provider/Nominatim.php \Drupal\geocoder\Plugin\Geocoder\Provider\Nominatim
- 8.2 src/Plugin/Geocoder/Provider/Nominatim.php \Drupal\geocoder\Plugin\Geocoder\Provider\Nominatim
Class Nominatim.
Plugin annotation
@GeocoderPlugin(
id = "nominatim",
name = "Nominatim",
type = "Provider",
arguments = {
"@geocoder.http_adapter",
"@logger.channel.default",
"@messenger"
}
)
Hierarchy
- class \Drupal\geocoder\Plugin\GeocoderPlugin extends \Drupal\Component\Plugin\PluginBase implements GeocoderPluginInterface
- class \Drupal\geocoder\Plugin\Geocoder\Provider implements ProviderInterface
- class \Drupal\geocoder\Plugin\Geocoder\Provider\Nominatim implements ProviderInterface
- class \Drupal\geocoder\Plugin\Geocoder\Provider implements ProviderInterface
Expanded class hierarchy of Nominatim
File
- src/
Plugin/ Geocoder/ Provider/ Nominatim.php, line 28 - The Nominatim plugin.
Namespace
Drupal\geocoder\Plugin\Geocoder\ProviderView source
class Nominatim extends Provider implements ProviderInterface {
/**
* @inheritdoc
*/
public function init() {
$configuration = $this
->getConfiguration();
$this
->setHandler(new \Geocoder\Provider\Nominatim($this
->getAdapter(), $configuration['rootUrl']));
return parent::init();
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
GeocoderPlugin:: |
public | function |
Get a cache object based on the cache ID. Overrides GeocoderPluginInterface:: |
|
GeocoderPlugin:: |
public | function |
Stores data in the persistent cache. Overrides GeocoderPluginInterface:: |
|
GeocoderPlugin:: |
public | function |
Generates a cache ID based on the arguments. Overrides GeocoderPluginInterface:: |
|
GeocoderPlugin:: |
public | function |
Get the object's configuration. Overrides GeocoderPluginInterface:: |
|
GeocoderPlugin:: |
public | function |
Set the object's configuration. Overrides GeocoderPluginInterface:: |
|
Nominatim:: |
public | function |
@inheritdoc Overrides GeocoderPlugin:: |
|
Provider:: |
private | property | ||
Provider:: |
private | property | ||
Provider:: |
protected | property | The loggerChannel service. | |
Provider:: |
protected | property | The messenger service. | |
Provider:: |
public | function |
Geocode data Overrides ProviderInterface:: |
1 |
Provider:: |
public | function |
Returns the HTTP adapter. Overrides ProviderInterface:: |
|
Provider:: |
public | function |
Get the Geocoder handler. Overrides ProviderInterface:: |
|
Provider:: |
public | function |
Reverse geocode latitude and longitude. Overrides ProviderInterface:: |
1 |
Provider:: |
public | function |
The Geocoder Provider. Overrides ProviderInterface:: |
|
Provider:: |
public | function |
GeocoderPlugin constructor. Overrides GeocoderPlugin:: |