BaiduMap_IOSSDK_v6.6.6_Docs 6.6.6

载入中...
搜索中...
未找到
BMKSuggestionSearchOption.h
浏览该文件的文档.
1/*
2 * BMKSuggestionSearchOption.h
3 * BMapKit
4 *
5 * Copyright 2014 Baidu Inc. All rights reserved.
6 *
7 */
8
9#import <Foundation/Foundation.h>
10#import <CoreLocation/CoreLocation.h>
11#import <BaiduMapAPI_Base/BMKTypes.h>
12
14@interface BMKSuggestionSearchOption : NSObject
15
17@property (nonatomic, copy) NSString *keyword;
19@property (nonatomic, copy) NSString *cityname;
21@property (nonatomic, assign) CLLocationCoordinate2D location;
23@property (nonatomic, assign) BOOL cityLimit;
25@property (nonatomic, assign) BOOL hotword;
28@property (nonatomic, assign) NSInteger filterDistance;
30@property (nonatomic, assign) CLLocationCoordinate2D leftBottom;
32@property (nonatomic, assign) CLLocationCoordinate2D rightTop;
34@property (nonatomic, assign) BMKInputLanguageType inputLanguageType;
36@property (nonatomic, assign) BMKLanguageType languageType;
37@end
38
39
BMKLanguageType
BMKLanguageType
语言类型枚举
Definition BMKTypes.h:28
BMKSuggestionSearchOption
sug检索信息类
Definition BMKSuggestionSearchOption.h:15
BMKSuggestionSearchOption::hotword
BOOL hotword
是否仅透出热词,默认：NO
Definition BMKSuggestionSearchOption.h:25
BMKSuggestionSearchOption::cityLimit
BOOL cityLimit
是否只返回指定城市检索结果（默认：NO）（提示：海外区域暂不支持设置cityLimit）
Definition BMKSuggestionSearchOption.h:23
BMKSuggestionSearchOption::keyword
NSString * keyword
搜索关键字，必选
Definition BMKSuggestionSearchOption.h:17
BMKSuggestionSearchOption::leftBottom
CLLocationCoordinate2D leftBottom
地图图区的范围（左下角），可选
Definition BMKSuggestionSearchOption.h:30
BMKSuggestionSearchOption::inputLanguageType
BMKInputLanguageType inputLanguageType
可选，参数输入的语言类型，默认 BMKInputLanguageTypeAuto；
Definition BMKSuggestionSearchOption.h:34
BMKSuggestionSearchOption::filterDistance
NSInteger filterDistance
Definition BMKSuggestionSearchOption.h:28
BMKSuggestionSearchOption::rightTop
CLLocationCoordinate2D rightTop
地图图区的范围（右上角），可选
Definition BMKSuggestionSearchOption.h:32
BMKSuggestionSearchOption::cityname
NSString * cityname
城市名，参数也可以传入citycode，必选
Definition BMKSuggestionSearchOption.h:19
BMKSuggestionSearchOption::location
CLLocationCoordinate2D location
指定位置，可选，注：会影响关键字不在设置城市范围内时的检索结果，故不建议使用。
Definition BMKSuggestionSearchOption.h:21
BMKSuggestionSearchOption::languageType
BMKLanguageType languageType
可选。语言类型，默认中文。
Definition BMKSuggestionSearchOption.h:36