1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
| import { ICommonAPIParams } from '../../constant/types';
| /**
| * 地图定位 请求参数定义
| * @apiName locateInMap
| */
| export interface IUnionLocateInMapParams extends ICommonAPIParams {
| scope: number;
| latitude?: number;
| longitude?: number;
| }
| /**
| * 地图定位 返回结果定义
| * @apiName locateInMap
| */
| export interface IUnionLocateInMapResult {
| city: string;
| title: string;
| adCode: string;
| adName: string;
| snippet: string;
| cityCode: string;
| distance: string;
| latitude: number;
| postCode: string;
| province: string;
| longitude: string;
| provinceCode: string;
| }
| /**
| * 地图定位
| * @apiName locateInMap
| */
| export declare function locateInMap$(params: IUnionLocateInMapParams): Promise<IUnionLocateInMapResult>;
| export default locateInMap$;
|
|