utils.d.ts 665 B

1234567891011121314151617
  1. import { AMapTipsResponse } from "./types";
  2. /**
  3. * 修改高德地图 js-key
  4. * @param key JS-API key
  5. * @param serviceHost 安全密钥地址
  6. */
  7. export declare const setAmapJSKey: (key: string, serviceHost?: string) => void;
  8. /**
  9. * 提供根据用户输入的关键词查询返回建议列表
  10. * @link https://lbs.amap.com/api/webservice/guide/api/inputtips
  11. * @param value
  12. * @param city 搜索城市
  13. * @param citylimit 是否限制城市搜索 默认-true
  14. * @returns
  15. */
  16. export declare const getAmapInputTips: (path: string, value: string, city?: string | number, citylimit?: "true" | "false") => Promise<AMapTipsResponse>;
  17. //# sourceMappingURL=utils.d.ts.map