You are here

public function OpenStreetMap::init in Geocoder 7.2

@inheritdoc

Overrides GeocoderPlugin::init

File

src/Plugin/Geocoder/Provider/OpenStreetMap.php, line 32
The OpenStreetMap plugin.

Class

OpenStreetMap
Class OpenStreetMap.

Namespace

Drupal\geocoder\Plugin\Geocoder\Provider

Code

public function init() {
  $this
    ->setHandler(new \Geocoder\Provider\OpenStreetMap($this
    ->getAdapter()));
  return parent::init();
}