BMFMassTransitSubStep class

此类表示公共交通路线中的一个路段

Inheritance

Constructors

BMFMassTransitSubStep({int distance, int duration, List<BMFCoordinate> points, int pointsCount, String name, BMFCoordinate entraceCoor, BMFCoordinate exitCoor, String instructions, BMFMassTransitType stepType, BMFBaseVehicleInfo vehicleInfo, List<BMFTrafficCondition> trafficConditions})
BMFMassTransitSubStep.fromMap(Map map)
map => BMFMassTransitSubStep

Properties

distance ↔ int
路段长度 单位: 米
read / write, inherited
duration ↔ int
路段耗时 单位: 秒
read / write, inherited
entraceCoor ↔ BMFCoordinate
路段入口经纬度
read / write
exitCoor ↔ BMFCoordinate
路段出口经纬度
read / write
hashCode → int
The hash code for this object. [...]
read-only, inherited
instructions ↔ String
路段说明
read / write
name ↔ String
路段道路名称 [...]
read / write, inherited
points ↔ List<BMFCoordinate>
路段所经过的坐标集合
read / write, inherited
pointsCount ↔ int
路段所经过的地理坐标集合内点的个数 [...]
read / write, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
stepType BMFMassTransitType
路段类型
read / write
trafficConditions ↔ List<BMFTrafficCondition>
路况,Android独有
read / write
vehicleInfo BMFBaseVehicleInfo
该路段交通工具信息 [...]
read / write

Methods

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

Operators

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