code: function OpenCageGeocoder(httpAdapter, apiKey, options) {
    this.options = ['language'];
  
    OpenCageGeocoder.super_.call(this, httpAdapter, options);
  
    if (!apiKey || apiKey == 'undefined') {
      throw new Error(this.constructor.name + ' needs an apiKey');
    }
  
    this.apiKey = apiKey;
    this._endpoint = 'http://api.opencagedata.com/geocode/v1/json';
    this._ConfidenceInKM = ConfidenceInKM; // In case we need to support v1/v2 and this changes
  }
docs: Constructor