BMFOpenRouteOption constructor

BMFOpenRouteOption(
  1. {@required BMFCoordinate startCoord,
  2. String startName,
  3. @required BMFCoordinate endCoord,
  4. String endName,
  5. @required BMFOpenRouteType routeType,
  6. BMFOpenTransitPolicy transitPolicy: BMFOpenTransitPolicy.RECOMMAND,
  7. String appScheme,
  8. bool isSupportWeb: true}
)

BMFOpenRouteOption 构造方法

Implementation

BMFOpenRouteOption(
    {@required this.startCoord,
    this.startName,
    @required this.endCoord,
    this.endName,
    @required this.routeType,
    this.transitPolicy = BMFOpenTransitPolicy.RECOMMAND,
    this.appScheme,
    this.isSupportWeb = true});