public final class LatestPointRequest extends BaseRequest
serviceId, tag
构造器和说明 |
---|
LatestPointRequest() |
LatestPointRequest(int tag,
long serviceId) |
LatestPointRequest(int tag,
long serviceId,
java.lang.String entityName) |
LatestPointRequest(int tag,
long serviceId,
java.lang.String entityName,
ProcessOption processOption,
CoordType coordTypeOutput) |
限定符和类型 | 方法和说明 |
---|---|
CoordType |
getCoordTypeOutput() |
java.lang.String |
getEntityName() |
ProcessOption |
getProcessOption() |
void |
setCoordTypeOutput(CoordType coordTypeOutput)
设置返回结果的坐标类型,默认为百度经纬度
该字段用于控制返回结果中坐标的类型。
|
void |
setEntityName(java.lang.String entityName)
设置entity标识
|
void |
setProcessOption(ProcessOption processOption)
设置纠偏选项,可选项为:
needDenoise:去噪(false:不需要,true:需要)
needMapMatch:绑路(false:不需要,true:需要)
radiusThreshold:精度过滤(0:不需要,>0:radius过滤值)
transportMode:交通方式(driving, riding, walking)
|
java.lang.String |
toString() |
cancel, getServiceId, getTag, isCanceled, setServiceId, setTag
public LatestPointRequest()
public LatestPointRequest(int tag, long serviceId)
tag
- 请求标识serviceId
- 轨迹服务IDpublic LatestPointRequest(int tag, long serviceId, java.lang.String entityName)
tag
- 请求标识serviceId
- 轨迹服务IDentityName
- entity标识public LatestPointRequest(int tag, long serviceId, java.lang.String entityName, ProcessOption processOption, CoordType coordTypeOutput)
tag
- 请求标识serviceId
- 轨迹服务IDentityName
- entity标识processOption
- 纠偏选项coordTypeOutput
- 返回结果的坐标类型public java.lang.String getEntityName()
public void setEntityName(java.lang.String entityName)
entityName
- public ProcessOption getProcessOption()
public void setProcessOption(ProcessOption processOption)
needDenoise:去噪(false:不需要,true:需要) needMapMatch:绑路(false:不需要,true:需要) radiusThreshold:精度过滤(0:不需要,>0:radius过滤值) transportMode:交通方式(driving, riding, walking)
processOption
- public CoordType getCoordTypeOutput()
public void setCoordTypeOutput(CoordType coordTypeOutput)
该字段用于控制返回结果中坐标的类型。可选值为: bd09ll:百度经纬度坐标; gcj02:国测局加密坐标; 注:该字段在国外无效,国外均返回wgs84坐标
coordTypeOutput
- public java.lang.String toString()
toString
在类中 java.lang.Object