BMFOpenRouteOption class
调起客户端路线参数
- Implemented types
-
- BMFModel
Constructors
-
BMFOpenRouteOption({@required BMFCoordinate startCoord,
String startName, @required BMFCoordinate endCoord, String endName, @required BMFOpenRouteType routeType, BMFOpenTransitPolicy transitPolicy: BMFOpenTransitPolicy.RECOMMAND, String appScheme, bool isSupportWeb: true} ) - BMFOpenRouteOption 构造方法
Properties
- appScheme ↔ String
-
指定返回自定义scheme (ios)
read / write
- endCoord ↔ BMFCoordinate
-
路线终点, 经纬度坐标
read / write
- endName ↔ String
-
路线终点名称
read / write
- isSupportWeb ↔ bool
-
调起百度地图客户端失败后,是否支持调起web地图,默认:true
read / write
- routeType ↔ BMFOpenRouteType
-
调起路线类型
read / write
- startCoord ↔ BMFCoordinate
-
路线起点, 经纬度坐标
read / write
- startName ↔ String
-
路线起点名称
read / write
- transitPolicy ↔ BMFOpenTransitPolicy
-
交通路线策略 默认T: RANSIT_RECOMMAND
异常值时: 强制使用RECOMMAND
调起百度地图公共交通路线时必填参数
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
fromMap(
Map map ) → dynamic -
map -> dynamic
override
-
toMap(
) → Map< String, Object> -
model -> map
override
-
noSuchMethod(
Invocation invocation ) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other ) → bool -
The equality operator. [...]
inherited