public class AMapServiceAreaInfo
extends java.lang.Object
| 构造器和说明 |
|---|
AMapServiceAreaInfo(NaviFacility serviceAreaInfo) |
| 限定符和类型 | 方法和说明 |
|---|---|
NaviLatLng |
getCoordinate()
获取服务区位置
Get service area location |
int |
getDetail()
服务区详细信息:按位标识(0-没有,1-有),第0~5位分别表示加油站,餐饮,卫生间,汽修,购物,住宿
Service area details: bit identification (0-none, 1-exists), bits 0-5 represent gas station, dining, restroom, auto repair, shopping, accommodation respectively |
java.lang.String |
getName()
获取服务区的名称
Get the name of service area |
java.lang.String |
getPoiId()
服务区poiId 用于计算该服务区是否是服务区列表中订阅的服务区
|
int |
getRemainDist()
获取当前位置到服务区的距离
Get the distance from current position to service area. |
int |
getRemainTime()
到服务区域的预估剩余时间 单位:秒
|
int |
getType()
获取服务区的类型
Get the type of service area. |
public int getRemainDist()
public int getType()
public java.lang.String getName()
public NaviLatLng getCoordinate()
public int getDetail()
public int getRemainTime()
public java.lang.String getPoiId()