ifish/Ifish/BMKMap3.3.0/BaiduMapAPI_Search.framework/Headers/BMKRouteSearchOption.h

84 lines
2.9 KiB
Objective-C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
* BMKPoiSearchOption.h
* BMapKit
*
* Copyright 2013 Baidu Inc. All rights reserved.
*
*/
#import <BaiduMapAPI_Base/BMKTypes.h>
#import "BMKRouteSearchType.h"
/// 路线查询基础信息类
@interface BMKBaseRoutePlanOption : NSObject
{
BMKPlanNode *_from;
BMKPlanNode *_to;
}
///检索的起点可通过关键字、坐标两种方式指定。cityName和cityID同时指定时优先使用cityID
@property (nonatomic, strong) BMKPlanNode *from;
///检索的终点可通过关键字、坐标两种方式指定。cityName和cityID同时指定时优先使用cityID
@property (nonatomic, strong) BMKPlanNode *to;
@end
/// 步行查询基础信息类
@interface BMKWalkingRoutePlanOption : BMKBaseRoutePlanOption
{
}
@end
/// 驾车查询基础信息类
@interface BMKDrivingRoutePlanOption : BMKBaseRoutePlanOption
{
NSArray* _wayPointsArray;
BMKDrivingPolicy _drivingPolicy;
}
@property (nonatomic, strong) NSArray *wayPointsArray;
///驾车检索策略默认使用BMK_DRIVING_TIME_FIRST
@property (nonatomic) BMKDrivingPolicy drivingPolicy;
///驾车检索获取路线每一个step的路况默认使用BMK_DRIVING_REQUEST_TRAFFICE_TYPE_NONE
@property (nonatomic) BMKDrivingRequestTrafficType drivingRequestTrafficType;
@end
/// 公交查询基础信息类
@interface BMKTransitRoutePlanOption : BMKBaseRoutePlanOption
{
NSString* _city;
BMKTransitPolicy _transitPolicy;
}
///城市名,用于在哪个城市内进行检索
@property (nonatomic, strong) NSString *city;
///公交检索策略默认使用BMK_TRANSIT_TIME_FIRST
@property (nonatomic) BMKTransitPolicy transitPolicy;
@end
/// 公共交通路线查询基础信息类(支持市内和跨城)(注起终点城市不支持cityId)
@interface BMKMassTransitRoutePlanOption : BMKBaseRoutePlanOption
///分页索引可选默认为0(从0开始)
@property (nonatomic, assign) NSUInteger pageIndex;
///分页数量可选默认为10取值范围[1,10]
@property (nonatomic, assign) NSUInteger pageCapacity;
///市内公交换乘策略策略可选默认使用BMK_MASS_TRANSIT_INCITY_RECOMMEND
@property (nonatomic, assign) BMKMassTransitIncityPolicy incityPolicy;
///跨城公交换乘策略可选默认使用BMK_MASS_TRANSIT_INTERCITY_TIME_FIRST
@property (nonatomic, assign) BMKMassTransitIntercityPolicy intercityPolicy;
///跨城交通方式策略可选默认使用BMK_MASS_TRANSIT_INTERCITY_TRANS_TRAIN_FIRST
@property (nonatomic, assign) BMKMassTransitIntercityTransPolicy intercityTransPolicy;
@end
/// 骑行查询基础信息类
@interface BMKRidingRoutePlanOption : BMKBaseRoutePlanOption
@end
/// 室内路线规划查询基础信息类
@interface BMKIndoorRoutePlanOption : NSObject
///检索的起点
@property (nonatomic, strong) BMKIndoorPlanNode *from;
///检索的终点
@property (nonatomic, strong) BMKIndoorPlanNode *to;
@end