/// interface RegeocodRes { originalData: { result: { addressComponent: { city: string; }; }; }; } export declare const initBmap: (ak: string) => any; /** * 获取带有城市名的位置信息 * @returns { latitude: xxx, longitude: xxx, city: xxx } */ export declare const getLocationCity: () => Promise; export declare function regeocoding(latitude: number, longitude: number): Promise; export declare function getCity(latitude: number, longitude: number): Promise; /** * location的改版,配合百度地图regeocoding 返回具体的地址 省市级等 * @param params WechatMiniprogram.GetLocationOption * @returns */ export declare function getLocation(params?: WechatMiniprogram.GetLocationOption): Promise; export {};