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
17@interface AMapPOISearchBaseRequestV1 : AMapSearchObject
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
35@interface AMapPOIIDSearchRequestV1 : AMapPOISearchBaseRequestV1
37@property (nonatomic, copy) NSString *uid;
38@end
39
41@interface AMapPOIKeywordsSearchRequestV1 : AMapPOISearchBaseRequestV1
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
54@interface AMapPOIAroundSearchRequestV1 : AMapPOISearchBaseRequestV1
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
69@interface AMapPOIPolygonSearchRequestV1 : AMapPOISearchBaseRequestV1
71@property (nonatomic, copy) NSString *keywords;
73@property (nonatomic, copy) AMapGeoPolygon *polygon;
74@end
75
77@interface AMapPOISearchResponseV1 : AMapSearchObject
79@property (nonatomic, assign) NSInteger count;
81@property (nonatomic, strong) AMapSuggestion *suggestion;
83@property (nonatomic, strong) NSArray<AMapPOI *> *pois;
84@end
AMapCommonObj.h
AMapSearchObj.h
AMapGeoPoint
经纬度, description中格式为 <经度,纬度>
Definition AMapCommonObj.h:30
AMapGeoPolygon
多边形, 当传入两个点的时候，当做矩形处理:左下-右上两个顶点；其他情况视为多边形，几个点即为几边型。
Definition AMapCommonObj.h:45
AMapPOIAroundSearchRequestV1
POI周边搜索
Definition AMapSearchObjV1.h:55
AMapPOIIDSearchRequestV1
POI ID搜索请求
Definition AMapSearchObjV1.h:36
AMapPOIKeywordsSearchRequestV1
POI关键字搜索
Definition AMapSearchObjV1.h:42
AMapPOIPolygonSearchRequestV1
POI多边形搜索
Definition AMapSearchObjV1.h:70
AMapPOISearchBaseRequestV1
POI搜索请求基类
Definition AMapSearchObjV1.h:18
AMapPOISearchBaseRequestV1::requireExtension
BOOL requireExtension
是否返回扩展信息，默认为 NO。
Definition AMapSearchObjV1.h:29
AMapPOISearchBaseRequestV1::types
NSString * types
类型，多个类型用“|”分割 可选值:文本分类、分类代码
Definition AMapSearchObjV1.h:19
AMapPOISearchBaseRequestV1::building
NSString * building
建筑物POI编号，传入建筑物POI之后，则只在该建筑物之内进行搜索（since 4.5.0）
Definition AMapSearchObjV1.h:27
AMapPOISearchBaseRequestV1::sortrule
NSInteger sortrule
排序规则, 0-距离排序；1-综合排序, 默认0
Definition AMapSearchObjV1.h:21
AMapPOISearchBaseRequestV1::offset
NSInteger offset
每页记录数, 范围1-25, [default = 20]
Definition AMapSearchObjV1.h:23
AMapPOISearchBaseRequestV1::requireSubPOIs
BOOL requireSubPOIs
是否返回子POI，默认为 NO。
Definition AMapSearchObjV1.h:31
AMapPOISearchBaseRequestV1::page
NSInteger page
当前页数, 范围1-100, [default = 1]
Definition AMapSearchObjV1.h:25
AMapPOISearchResponseV1
POI搜索返回
Definition AMapSearchObjV1.h:78
AMapSearchObject
搜索SDK基础类, 通用数据结构和response支持copy和coding（since 4.4.1）。
Definition AMapCommonObj.h:17
AMapSuggestion
建议信息
Definition AMapCommonObj.h:72
© 2017 高德信息技术有限公司 版权所有，保留所有权利。