"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.RequestBase = void 0;
const serverhost = 'https://restapi.amap.com/v3';
class RequestBase {
  constructor(options) {
    if (!options.key) {
      throw new Error("options.key can't be undefined or null");
    }
    this.serverHost = options.serverHost || serverhost;
    this.key = options.key;
  }
}
exports.RequestBase = RequestBase;
//# sourceMappingURL=base.js.map