百度地图SDK for iOS v3.4.4 类参考
BMKShareUrlSearchOption.h
1 /*
2  * BMKShareUrlSearchOption.h
3  * BMapKit
4  *
5  * Copyright 2014 Baidu Inc. All rights reserved.
6  *
7  */
8 
9 #import <BaiduMapAPI_Base/BMKTypes.h>
11 @interface BMKPoiDetailShareURLOption : NSObject
12 {
13  NSString *_uid;
14 }
16 @property (nonatomic, strong) NSString *uid;
17 
18 @end
19 
21 @interface BMKLocationShareURLOption : NSObject {
22  NSString *_name;
23  NSString *_snippet;
24  CLLocationCoordinate2D _location;
25 }
27 @property (nonatomic, strong) NSString *name;
29 @property (nonatomic, strong) NSString *snippet;
31 @property (nonatomic, assign) CLLocationCoordinate2D location;
32 @end
33 
34 
36 typedef enum {
37  BMK_ROUTE_PLAN_SHARE_URL_TYPE_DRIVE = 0, //驾车路线规划短串分享
38  BMK_ROUTE_PLAN_SHARE_URL_TYPE_WALK = 1, //步行路线规划短串分享
39  BMK_ROUTE_PLAN_SHARE_URL_TYPE_RIDE = 2, //骑行路线规划短串分享
40  BMK_ROUTE_PLAN_SHARE_URL_TYPE_TRANSIT = 3, //公交路线规划短串分享
41 }BMKRoutePlanShareURLType;
42 
44 @interface BMKRoutePlanShareURLOption : NSObject
45 
47 @property (nonatomic, assign) BMKRoutePlanShareURLType routePlanType;
49 @property (nonatomic, strong) BMKPlanNode *from;
51 @property (nonatomic, strong) BMKPlanNode *to;
53 @property (nonatomic, assign) NSUInteger cityID;
55 @property (nonatomic, assign) NSUInteger routeIndex;
56 
57 @end
线路检索节点信息,一个路线检索节点可以通过经纬度坐标或城市名加地名确定
Definition: BMKTypes.h:140
BMKRoutePlanShareURLType routePlanType
路线规划短串分享类型
Definition: BMKShareUrlSearchOption.h:47
路线规划短串分享检索信息类
Definition: BMKShareUrlSearchOption.h:44
BMKPlanNode * to
终点,可通过关键字、坐标两种方式指定,使用关键字时必须指定to.cityID
Definition: BMKShareUrlSearchOption.h:51
BMKPlanNode * from
起点,可通过关键字、坐标两种方式指定,使用关键字时必须指定from.cityID
Definition: BMKShareUrlSearchOption.h:49
NSUInteger cityID
cityID,当进行公交路线规划短串分享且起终点通过关键字指定时,必须指定
Definition: BMKShareUrlSearchOption.h:53
反geo短串分享检索信息类
Definition: BMKShareUrlSearchOption.h:21
NSUInteger routeIndex
公交路线规划短串分享时使用,分享的是第几条线路
Definition: BMKShareUrlSearchOption.h:55
poi详情短串分享检索信息类
Definition: BMKShareUrlSearchOption.h:11