RoutePlanParam class

Constructors

RoutePlanParam({required LatLng? from, required LatLng? to, int? mode = 0, List<LatLng>? passedByPoints, List<List<LatLng>>? avoidPolygons, String? avoidRoad})

Properties

avoidPolygons List<List<LatLng>>?
避让区域,可选,支持32个避让区域,每个区域最多可有16个顶点。如果是四边形则有4个坐标点,如果是五边形则有5个坐标点
final
avoidRoad String?
避让道路,只支持一条避让道路,避让区域和避让道路同时设置,只有避让道路生效
final
from LatLng?
起点
final
hashCode int
The hash code for this object.
no setteroverride
mode int?
计算路径的模式,可选,默认为速度优先=0
final
passedByPoints List<LatLng>?
途经点,可选
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
to LatLng?
终点
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toJsonString() String
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override