FMKSearchAnalyser Class Reference
Inherits from | NSObject |
---|---|
Declared in | FMKSearchAnalyser.h |
delegate
实现了FMKSearchAnalyserDelegate协议的类指针
@property (nonatomic, weak) id<FMKSearchAnalyserDelegate> delegate
Declared In
FMKSearchAnalyser.h
– initWithMapID:
通过mapID初始化查询
- (instancetype)initWithMapID:(NSString *)mapID
Parameters
mapID |
蜂鸟mapID |
---|
Return Value
FMKSearchAnalyser类型对象
Discussion
Warning: 通过该接口初始化查询分析对象,地图数据必须通过ID下载保存在默认路径下,否则初始化失败
Declared In
FMKSearchAnalyser.h
– initWithDataPath:
通过地图数据初始化查询
- (instancetype)initWithDataPath:(NSString *)dataPath
Parameters
dataPath |
蜂鸟地图数据路径 |
---|
Return Value
FMKSearchAnalyser类型对象
Declared In
FMKSearchAnalyser.h
groupIDs
获取所有查询结果所在楼层
@property (nonatomic, readonly) NSArray *groupIDs
Declared In
FMKSearchAnalyser.h
groupNames
获取所有查询结果所在楼层名称
@property (nonatomic, readonly) NSArray *groupNames
Declared In
FMKSearchAnalyser.h
– getAllModelsWithGroupID:
查询所有模型信息
- (NSArray *)getAllModelsWithGroupID:(NSString *)groupID
Parameters
groupID |
楼层ID |
---|
Return Value
结果返回FMKModelSearchResult对象的数组
Declared In
FMKSearchAnalyser.h
– getAllFacilityWithGroupID:
查询所有公共设施信息
- (NSArray *)getAllFacilityWithGroupID:(NSString *)groupID
Parameters
groupID |
楼层号 |
---|
Return Value
结果返回FMKFacilitySearchResult对象的数组
Declared In
FMKSearchAnalyser.h
– executeFMKSearchRequestByFID:
通过FID进行查询 该查询必须设置查询FID
- (void)executeFMKSearchRequestByFID:(FMKSearchRequest *)searchRequest
Parameters
searchRequest |
FMKSearchRequest类型或子类的请求对象 |
---|
Declared In
FMKSearchAnalyser.h
– executeFMKSearchRequestByKeyWords:caseSensitive:
通过关键字进行查询 该查询必须设置查询关键字
- (void)executeFMKSearchRequestByKeyWords:(FMKSearchRequest *)searchRequest caseSensitive:(BOOL)caseSensitive
Parameters
searchRequest |
FMKSearchRequest类型或子类的请求对象 |
---|---|
caseSensitive |
是否开启大小写敏感 |
Discussion
Warning: 目前只能查询name字段,暂时无法查询英文ename字段,如需查询可以通过FMKModel.subNodes属性获取所有model,遍历model实现字符串匹配
Declared In
FMKSearchAnalyser.h
– executeFMKSearchRequestByKeyWords:
通过关键字进行查询 该查询必须设置查询关键字
- (void)executeFMKSearchRequestByKeyWords:(FMKSearchRequest *)searchRequest
Parameters
searchRequest |
FMKSearchRequest类型或子类的请求对象 |
---|
Declared In
FMKSearchAnalyser.h
– executeFMKSearchRequestByType:
通过类型进行查询 该查询必须设置查询类型
- (void)executeFMKSearchRequestByType:(FMKSearchRequest *)searchRequest
Parameters
searchRequest |
FMKSearchRequest类型或子类的请求对象 |
---|
Declared In
FMKSearchAnalyser.h
– executeFMKSearchRequestByRadius:
点周边查询 该查询必须设置查询半径和查询中心点坐标
- (void)executeFMKSearchRequestByRadius:(FMKSearchRequest *)searchRequest
Parameters
searchRequest |
查询请求 |
---|
Declared In
FMKSearchAnalyser.h
– executeFMKSearchRequestByMapPoints:
根据范围查询模型
- (void)executeFMKSearchRequestByMapPoints:(FMKExternalModelSearchRequest *)request
Parameters
request |
查询请求 |
---|
Declared In
FMKSearchAnalyser.h