BMFWalkingStep class
此类表示步行路线中的一个路段
- Inheritance
-
- Object
- BMFRouteStep
- BMFWalkingStep
Constructors
-
BMFWalkingStep({int? distance, int? duration, List<
BMFCoordinate> ? points, int? pointsCount, String? name, int? direction, BMFRouteNode? entrace, String? entraceInstruction, BMFRouteNode? exit, String? exitInstruction, String? instruction}) - 有参构造
- BMFWalkingStep.fromMap(Map map)
- map => BMFWalkingStep
Properties
- direction ↔ int?
-
该路段起点方向值
read / write
- distance ↔ int?
-
路段长度 单位: 米
read / writeinherited
- duration ↔ int?
-
路段耗时 单位: 秒
read / writeinherited
- entrace ↔ BMFRouteNode?
-
路段入口信息
read / write
- entraceInstruction ↔ String?
-
获取该路段入口指示信息
read / write
- exit ↔ BMFRouteNode?
-
路段出口信息
read / write
- exitInstruction ↔ String?
-
获取该路段出口指示信息
read / write
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- instruction ↔ String?
-
获取该路段指示信息
read / write
- name ↔ String?
-
路段道路名称
read / writeinherited
-
points
↔ List<
BMFCoordinate> ? -
路段所经过的坐标集合
read / writeinherited
- pointsCount ↔ int?
-
路段所经过的地理坐标集合内点的个数
read / writeinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
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