"{$config['lat']},{$config['long']}", 'size' => $size, 'zoom' => 14, 'format' => 'png', 'key' => $this->get_api_key(), ), self::HOST ); } /** * @inheritDoc */ public function is_available() { return (bool) $this->get_api_key(); } /** * Get the API key to use. * * @return string */ private function get_api_key() { return ITSEC_Modules::get_setting( 'fingerprinting', 'mapquest_api_key' ); } }