BMFDrivingRoutePlanOption class

驾车查询基础信息类

Inheritance

Constructors

BMFDrivingRoutePlanOption({required BMFPlanNode from, required BMFPlanNode to, List<BMFPlanNode>? wayPointsArray, BMFDrivingPolicy? drivingPolicy = BMFDrivingPolicy.TIME_FIRST, BMFDrivingRequestTrafficType? drivingRequestTrafficType = BMFDrivingRequestTrafficType.NONE})
有参构造
BMFDrivingRoutePlanOption.fromMap(Map map)
map => BMFDrivingRoutePlanOption

Properties

drivingPolicy BMFDrivingPolicy?
驾车检索策略 默认使用BMFDrivingPolicy.TIME_FIRST
read / write
drivingRequestTrafficType BMFDrivingRequestTrafficType?
驾车检索获取路线每一个step的路况
read / write
from BMFPlanNode?
路线规划的起点
read / writeinherited
hashCode → int
The hash code for this object.
read-onlyinherited
id → String
getter方法 用于区分不同搜索结果
read-onlyinherited
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
to BMFPlanNode?
路线规划的终点
read / writeinherited
wayPointsArray ↔ List<BMFPlanNode>?
驾车途经点
read / write

Methods

fromMap(Map map) → dynamic
map -> dynamic
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, Object?>
model -> map
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited