/** * @inheritdoc */ public function init() { $configuration = $this->getConfiguration(); $this->setHandler(new \Geocoder\Provider\MaxMind($this->getAdapter(), $configuration['apiKey'])); return parent::init(); }
/** * @inheritdoc */ public function init() { $this->setHandler(new \Drupal\geocoder\Geocoder\Provider\File()); return parent::init(); }
/** * @inheritdoc */ public function init() { $this->setHandler(new \Geocoder\Provider\FreeGeoIp($this->getAdapter())); return parent::init(); }
/** * @inheritdoc */ public function init() { $configuration = $this->getConfiguration(); $this->setHandler(new \Geocoder\Provider\Nominatim($this->getAdapter(), $configuration['rootUrl'])); return parent::init(); }
/** * @inheritdoc */ public function init() { $this->setHandler(new \Geocoder\Provider\Geoip()); return parent::init(); }
/** * @inheritdoc */ public function init() { $configuration = $this->getConfiguration(); $this->setHandler(new \Geocoder\Provider\Geonames($this->getAdapter(), $configuration['username'])); return parent::init(); }
/** * @inheritdoc */ public function init() { $configuration = $this->getConfiguration(); $this->setHandler(new \Geocoder\Provider\ArcGISOnline($this->getAdapter(), $configuration['sourceCountry'])); return parent::init(); }