ymx-baidu-location
    正在准备搜索索引...

    接口 LocationResult

    定位结果

    interface LocationResult {
        adCode?: string;
        address?: string;
        city?: string;
        coorType: string;
        country?: string;
        district?: string;
        latitude: number;
        locationDescribe?: string;
        locType: number;
        locTypeDesc?: string;
        longitude: number;
        poiList?: PoiInfo[];
        poiRegion?: PoiRegionInfo;
        province?: string;
        radius: number;
        street?: string;
        town?: string;
    }
    索引

    属性

    adCode?: string

    区域编码

    address?: string

    详细地址

    city?: string

    城市

    coorType: string

    坐标类型

    country?: string

    国家

    district?: string

    区县

    latitude: number

    纬度

    locationDescribe?: string

    位置语义化描述

    locType: number

    定位类型/错误码

    locTypeDesc?: string

    定位类型描述

    longitude: number

    经度

    poiList?: PoiInfo[]

    周边POI列表

    poiRegion?: PoiRegionInfo

    POI区域信息

    province?: string

    省份

    radius: number

    定位精度(米)

    street?: string

    街道

    town?: string

    乡镇信息