SearchAddressResultItem interface
搜索 API 响应的结果对象。
属性
| address | 结果的地址 |
| address |
描述街道两侧的地址范围,以获取搜索结果。 |
| data |
引用用于 “获取搜索多边形” API 的几何图形 ID。 |
| detour |
绕行时间(以秒为单位)。 仅返回对沿路由 API 搜索的调用。 |
| distance |
结果与地理位置之间的直线距离(以米为单位)。 |
| entity |
搜索结果的实体类型。 仅当类型 == Geography 时才存在。 |
| entry |
EntryPoints 数组。 这些描述地点可用的入口类型。 |
| id | Id 属性 |
| info | 有关结果的原始数据源的信息。 用于支持请求。 |
| match |
有关匹配类型的信息。 |
| point |
返回的 POI 的详细信息,包括名称、电话、URL 地址和分类等信息。 |
| position | 用短名称“lat”&“lon”表示为纬度和经度的位置。 |
| score | 结果集中的值,用于指示结果之间的相对匹配分数。 |
| type | 结果类型 |
| viewport | 覆盖视区左上角和右下坐标表示的结果的视区。 |
属性详细信息
address
addressRanges
dataSources
detourTimeInSeconds
绕行时间(以秒为单位)。 仅返回对沿路由 API 搜索的调用。
detourTimeInSeconds?: number
属性值
number
distanceInMeters
结果与地理位置之间的直线距离(以米为单位)。
distanceInMeters?: number
属性值
number
entityType
搜索结果的实体类型。 仅当类型 == Geography 时才存在。
entityType?: string
属性值
string
entryPoints
id
Id 属性
id: string
属性值
string
info
有关结果的原始数据源的信息。 用于支持请求。
info?: string
属性值
string
matchType
有关匹配类型的信息。
matchType?: string
属性值
string
pointOfInterest
position
score
结果集中的值,用于指示结果之间的相对匹配分数。
score: number
属性值
number
type
结果类型
type: string
属性值
string