iOS高德地图SDK(搜索) V9.8.0
Loading...
Searching...
No Matches
AMapSearchObjV1.h
Go to the documentation of this file.
1//
2// AMapSearchObjV1.h
3// AMapSearchKit
4//
5// Created by xiaoming han on 15/7/22.
6// Copyright (c) 2015年 Amap. All rights reserved.
7//
8
9/* 该文件定义了搜索请求和返回对象。*/
10
11#import <Foundation/Foundation.h>
12#import "AMapCommonObj.h"
13#import "AMapSearchObj.h"
14#pragma mark - AMapPOISearchBaseRequestV1
15
19@property (nonatomic, copy) NSString *types;
21@property (nonatomic, assign) NSInteger sortrule;
23@property (nonatomic, assign) NSInteger offset;
25@property (nonatomic, assign) NSInteger page;
27@property (nonatomic, copy) NSString *building;
29@property (nonatomic, assign) BOOL requireExtension;
31@property (nonatomic, assign) BOOL requireSubPOIs;
32@end
33
37@property (nonatomic, copy) NSString *uid;
38@end
39
43@property (nonatomic, copy) NSString *keywords;
45@property (nonatomic, copy) NSString *city;
47@property (nonatomic, assign) BOOL cityLimit;
49@property (nonatomic, strong) AMapGeoPoint *location;
50
51@end
52
56@property (nonatomic, copy) NSString *keywords;
58@property (nonatomic, copy) AMapGeoPoint *location;
60@property (nonatomic, assign) NSInteger radius;
62@property (nonatomic, copy) NSString *city;
64@property (nonatomic, assign) BOOL special;
65
66@end
67
71@property (nonatomic, copy) NSString *keywords;
73@property (nonatomic, copy) AMapGeoPolygon *polygon;
74@end
75
79@property (nonatomic, assign) NSInteger count;
81@property (nonatomic, strong) AMapSuggestion *suggestion;
83@property (nonatomic, strong) NSArray<AMapPOI *> *pois;
84@end
经纬度, description中格式为 <经度,纬度>
Definition AMapCommonObj.h:30
多边形, 当传入两个点的时候,当做矩形处理:左下-右上两个顶点;其他情况视为多边形,几个点即为几边型。
Definition AMapCommonObj.h:45
POI周边搜索
Definition AMapSearchObjV1.h:55
POI ID搜索请求
Definition AMapSearchObjV1.h:36
POI关键字搜索
Definition AMapSearchObjV1.h:42
POI多边形搜索
Definition AMapSearchObjV1.h:70
POI搜索请求基类
Definition AMapSearchObjV1.h:18
BOOL requireExtension
是否返回扩展信息,默认为 NO。
Definition AMapSearchObjV1.h:29
NSString * types
类型,多个类型用“|”分割 可选值:文本分类、分类代码
Definition AMapSearchObjV1.h:19
NSString * building
建筑物POI编号,传入建筑物POI之后,则只在该建筑物之内进行搜索(since 4.5.0)
Definition AMapSearchObjV1.h:27
NSInteger sortrule
排序规则, 0-距离排序;1-综合排序, 默认0
Definition AMapSearchObjV1.h:21
NSInteger offset
每页记录数, 范围1-25, [default = 20]
Definition AMapSearchObjV1.h:23
BOOL requireSubPOIs
是否返回子POI,默认为 NO。
Definition AMapSearchObjV1.h:31
NSInteger page
当前页数, 范围1-100, [default = 1]
Definition AMapSearchObjV1.h:25
POI搜索返回
Definition AMapSearchObjV1.h:78
搜索SDK基础类, 通用数据结构和response支持copy和coding(since 4.4.1)。
Definition AMapCommonObj.h:17
建议信息
Definition AMapCommonObj.h:72
© 2017 高德信息技术有限公司 版权所有,保留所有权利。