iOS高德地图SDK(搜索) V9.8.0

Loading...
Searching...
No Matches
AMapSearchObj.h
Go to the documentation of this file.
1//
2// AMapSearchObj.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
15 typedef NS_ENUM(NSInteger, AMapRoutePOISearchType)
16{
17 AMapRoutePOISearchTypeGasStation = 0,
18 AMapRoutePOISearchTypeMaintenanceStation = 1,
19 AMapRoutePOISearchTypeATM = 2,
20 AMapRoutePOISearchTypeToilet = 3,
21 AMapRoutePOISearchTypeGasAirStation = 4,
22 AMapRoutePOISearchTypeParkStation = 5,
23 AMapRoutePOISearchTypeChargingPile = 6,
24 AMapRoutePOISearchTypeFood = 7,
25 AMapRoutePOISearchTypeHotel = 8,
26};
27
29 typedef NS_ENUM(NSInteger, AMapWeatherType)
30{
31 AMapWeatherTypeLive = 1,
32 AMapWeatherTypeForecast
33};
34
36 typedef NS_ENUM(NSInteger, AMapCloudSortType)
37{
38 AMapCloudSortTypeDESC = 0,
39 AMapCloudSortTypeASC = 1
40};
41
43 typedef NS_ENUM(NSInteger, AMapNearbySearchType)
44{
45 AMapNearbySearchTypeLiner = 0,
46 AMapNearbySearchTypeDriving = 1,
47};
48
50 typedef NS_ENUM(NSInteger, AMapTruckSizeType)
51{
52 AMapTruckSizeTypeMini = 1,
53 AMapTruckSizeTypeLight = 2,
54 AMapTruckSizeTypeMedium = 3,
55 AMapTruckSizeTypeHeavy = 4,
56};
57
59 typedef NS_ENUM(NSInteger, AMapDrivingRouteExcludeType)
60{
61 AMapDrivingRouteExcludeTypeNone = 0,
62 AMapDrivingRouteExcludeTypeToll = 1,
63 AMapDrivingRouteExcludeTypeMotorway = 2,
64 AMapDrivingRouteExcludeTypeFerry = 3,
65};
66
68 typedef NS_OPTIONS(NSUInteger, AMapDrivingRouteShowFieldType)
69{
70 AMapDrivingRouteShowFieldTypeNone = 1 << 0,
71 AMapDrivingRouteShowFieldTypeCost = 1 << 1,
72 AMapDrivingRouteShowFieldTypeTmcs = 1 << 2,
73 AMapDrivingRouteShowFieldTypeNavi = 1 << 3,
74 AMapDrivingRouteShowFieldTypeCities = 1 << 4,
75 AMapDrivingRouteShowFieldTypePolyline = 1 << 5,
76 AMapDrivingRouteShowFieldTypeNewEnergy = 1 << 6,
77 AMapDrivingRouteShowFieldTypeAll = ~0UL,
78};
79
81 typedef NS_OPTIONS(NSUInteger, AMapWalkingRouteShowFieldType)
82{
83 AMapWalkingRouteShowFieldTypeNone = 0 << 0,
84 AMapWalkingRouteShowFieldTypeCost = 1 << 0,
85 AMapWalkingRouteShowFieldTypeNavi = 1 << 1,
86 AMapWalkingRouteShowFieldTypePolyline = 1 << 2,
87 AMapWalkingRouteShowFieldTypeAll = ~0UL,
88};
89
91 typedef NS_OPTIONS(NSUInteger, AMapTransitRouteShowFieldsType)
92{
93 AMapTransitRouteShowFieldsTypeNone = 1 << 0,
94 AMapTransitRouteShowFieldsTypeCost = 1 << 1,
95 AMapTransitRouteShowFieldsTypeNavi = 1 << 2,
96 AMapTransitRouteShowFieldsTypePolyline = 1 << 3,
97 AMapTransitRouteShowFieldsTypeAll = ~0UL,
98};
99
101 typedef NS_OPTIONS(NSUInteger, AMapRidingRouteShowFieldsType)
102{
103 AMapRidingRouteShowFieldsTypeNone = 1 << 0,
104 AMapRidingRouteShowFieldsTypeCost = 1 << 1,
105 AMapRidingRouteShowFieldsTypeNavi = 1 << 2,
106 AMapRidingRouteShowFieldsTypePolyline = 1 << 3,
107 AMapRidingRouteShowFieldsTypeAll = ~0UL,
108};
109
111 typedef NS_OPTIONS(NSUInteger, AMapPOISearchShowFieldsType)
112{
113 AMapPOISearchShowFieldsTypeNone = 1 << 0,
114 AMapPOISearchShowFieldsTypeChildren = 1 << 1,
115 AMapPOISearchShowFieldsTypeBusiness = 1 << 2,
116 AMapPOISearchShowFieldsTypeIndoor = 1 << 3,
117 AMapPOISearchShowFieldsTypeNavi = 1 << 4,
118 AMapPOISearchShowFieldsTypePhotos = 1 << 5,
119 AMapPOISearchShowFieldsTypeAll = ~0UL,
120};
121
123 typedef NS_ENUM(NSInteger, AMapDistanceSearchType)
124{
125 AMapDistanceSearchTypeStraight = 0,
126 AMapDistanceSearchTypeDrive = 1,
127 AMapDistanceSearchTypeWalk = 3,
128};
129
130#pragma mark - AMapPOISearchBaseRequest
131
133@interface AMapPOISearchBaseRequest : AMapSearchObject
135@property (nonatomic, copy) NSString *types;
137@property (nonatomic, assign) NSInteger sortrule;
139@property (nonatomic, assign) NSInteger offset;
141@property (nonatomic, assign) NSInteger page;
143@property (nonatomic, assign) AMapPOISearchShowFieldsType showFieldsType;
144@end
145
147@interface AMapPOIIDSearchRequest : AMapPOISearchBaseRequest
149@property (nonatomic, copy) NSString *uid;
150@end
151
152#pragma mark - AMapVisualSearchRequest
153
155@interface AMapVisualSearchRequest : AMapSearchObject
157@property (nonatomic, copy) NSString *pic;
159@property (nonatomic, copy) AMapGeoPoint *location;
161@property (nonatomic, assign) CGFloat angle;
163@property (nonatomic, copy) NSString *adiu;
164@property (nonatomic, copy) NSString *apiKey;
165
166@end
167
169@interface AMapPOIKeywordsSearchRequest : AMapPOISearchBaseRequest
171@property (nonatomic, copy) NSString *keywords;
173@property (nonatomic, copy) NSString *city;
175@property (nonatomic, assign) BOOL cityLimit;
177@property (nonatomic, strong) AMapGeoPoint *location;
178
179@end
180
182@interface AMapPOIAroundSearchRequest : AMapPOISearchBaseRequest
184@property (nonatomic, copy) NSString *keywords;
186@property (nonatomic, copy) AMapGeoPoint *location;
188@property (nonatomic, assign) NSInteger radius;
190@property (nonatomic, copy) NSString *city;
191@end
192
194@interface AMapPOIPolygonSearchRequest : AMapPOISearchBaseRequest
196@property (nonatomic, copy) NSString *keywords;
198@property (nonatomic, copy) AMapGeoPolygon *polygon;
199@end
200
202@interface AMapPOISearchResponse : AMapSearchObject
204@property (nonatomic, assign) NSInteger count;
206@property (nonatomic, strong) AMapSuggestion *suggestion;
208@property (nonatomic, strong) NSArray<AMapPOI *> *pois;
209@end
210
212@interface AMapVisualPOI : AMapPOI
214@property (nonatomic, copy) NSString *bizType;
216@property (nonatomic, copy) NSString *alias;
218@property (nonatomic, copy) NSString *tag;
220@property (nonatomic, strong) NSArray<AMapTopListItem *> *topList;
222@property (nonatomic, copy) NSString *featuredReviews;
223@end
224
226@interface AMapVisualSearchResponse : AMapSearchObject
228@property (nonatomic, copy) NSString *category;
230@property (nonatomic, strong) NSArray<AMapVisualPOI *> *pois;
231@end
232
233#pragma mark - AMapPOIRouteSearchRequest
235@interface AMapRoutePOISearchRequest : AMapSearchObject
237@property (nonatomic, copy) AMapGeoPoint *origin;
239@property (nonatomic, copy) AMapGeoPoint *destination;
241@property (nonatomic, assign) AMapRoutePOISearchType searchType;
243@property (nonatomic, assign) NSInteger strategy;
245@property (nonatomic, assign) NSInteger range;
247@property (nonatomic, strong) NSString *polylineStr;
249@property (nonatomic, strong) NSArray<AMapGeoPoint*> *polyline;
250
251@end
252
254@interface AMapRoutePOISearchResponse : AMapSearchObject
256@property (nonatomic, assign) NSInteger count;
258@property (nonatomic, strong) NSArray<AMapRoutePOI *> *pois;
259@end
260
261#pragma mark - AMapInputTipsSearchRequest
262
264@interface AMapInputTipsSearchRequest : AMapSearchObject
266@property (nonatomic, copy) NSString *keywords;
268@property (nonatomic, copy) NSString *city;
270@property (nonatomic, copy) NSString *types;
272@property (nonatomic, assign) BOOL cityLimit;
274@property (nonatomic, copy) NSString *location;
275@end
276
278@interface AMapInputTipsSearchResponse : AMapSearchObject
280@property (nonatomic, assign) NSInteger count;
282@property (nonatomic, strong) NSArray<AMapTip *> *tips;
283@end
284
285#pragma mark - AMapGeocodeSearchRequest
286
288@interface AMapGeocodeSearchRequest : AMapSearchObject
290@property (nonatomic, copy) NSString *address;
292@property (nonatomic, copy) NSString *city;
294@property (nonatomic, copy) NSString *country;
295@end
296
298@interface AMapGeocodeSearchResponse : AMapSearchObject
300@property (nonatomic, assign) NSInteger count;
302@property (nonatomic, strong) NSArray<AMapGeocode *> *geocodes;
303@end
304
305
306#pragma mark - AMapReGeocodeSearchRequest
307
309@interface AMapReGeocodeSearchRequest : AMapSearchObject
311@property (nonatomic, assign) BOOL requireExtension;
313@property (nonatomic, copy) AMapGeoPoint *location;
315@property (nonatomic, assign) NSInteger radius;
317@property (nonatomic, copy) NSString *poitype;
319@property (nonatomic, copy) NSString *mode;
320
321@end
322
324@interface AMapReGeocodeSearchResponse : AMapSearchObject
326@property (nonatomic, strong) AMapReGeocode *regeocode;
327@end
328
329#pragma mark - AMapBusStopSearchRequest
330
332@interface AMapBusStopSearchRequest : AMapSearchObject
334@property (nonatomic, copy) NSString *keywords;
336@property (nonatomic, copy) NSString *city;
338@property (nonatomic, assign) NSInteger offset;
340@property (nonatomic, assign) NSInteger page;
341@end
342
344@interface AMapBusStopSearchResponse : AMapSearchObject
346@property (nonatomic, assign) NSInteger count;
348@property (nonatomic, strong) AMapSuggestion *suggestion;
350@property (nonatomic, strong) NSArray<AMapBusStop *> *busstops;
351@end
352
353#pragma mark - AMapBusLineSearchRequest
354
356@interface AMapBusLineBaseSearchRequest : AMapSearchObject
358@property (nonatomic, copy) NSString *city;
360@property (nonatomic, assign) BOOL requireExtension;
362@property (nonatomic, assign) NSInteger offset;
364@property (nonatomic, assign) NSInteger page;
365@end
366
368@interface AMapBusLineNameSearchRequest : AMapBusLineBaseSearchRequest
370@property (nonatomic, copy) NSString *keywords;
371@end
372
374@interface AMapBusLineIDSearchRequest : AMapBusLineBaseSearchRequest
376@property (nonatomic, copy) NSString *uid;
377@end
378
380@interface AMapBusLineSearchResponse : AMapSearchObject
382@property (nonatomic, assign) NSInteger count;
384@property (nonatomic, strong) AMapSuggestion *suggestion;
386@property (nonatomic, strong) NSArray<AMapBusLine *> *buslines;
387@end
388
389#pragma mark - AMapDistrictSearchRequest
391@interface AMapDistrictSearchRequest : AMapSearchObject
393@property (nonatomic, copy) NSString *keywords;
395@property (nonatomic, assign) BOOL requireExtension;
397@property (nonatomic, assign) BOOL showBusinessArea __attribute__((deprecated("已废弃, from 5.3.0")));;
399@property (nonatomic, assign) NSInteger offset;
401@property (nonatomic, assign) NSInteger page;
403@property (nonatomic, assign) NSInteger subdistrict;
404
405@end
406
408@interface AMapDistrictSearchResponse : AMapSearchObject
410@property (nonatomic, assign) NSInteger count;
412@property (nonatomic, strong) NSArray<AMapDistrict *> *districts;
413@end
414
415#pragma mark - AMapRouteSearchBaseRequest
416
418@interface AMapRouteSearchBaseRequest : AMapSearchObject
420@property (nonatomic, copy) AMapGeoPoint *origin;
422@property (nonatomic, copy) AMapGeoPoint *destination;
423@end
424
425#pragma mark - AMapDrivingCalRouteSearchRequest
426
428@interface AMapDrivingCalRouteSearchRequest : AMapRouteSearchBaseRequest
446@property (nonatomic, assign) NSInteger strategy;
448@property (nonatomic, copy) NSArray<AMapGeoPoint *> *waypoints;
450@property (nonatomic, copy) NSArray<AMapGeoPolygon *> *avoidpolygons;
452@property (nonatomic, copy) NSString *avoidroad;
454@property (nonatomic, copy) NSString *originId;
456@property (nonatomic, copy) NSString *destinationId;
458@property (nonatomic, copy) NSString *origintype;
460@property (nonatomic, copy) NSString *destinationtype;
462@property (nonatomic, copy) NSString *plate;
464@property (nonatomic, assign) NSInteger ferry;
471@property (nonatomic, assign) NSInteger cartype;
473@property (nonatomic, assign) AMapDrivingRouteShowFieldType showFieldType;
474
475@end
476
477#pragma mark - AMapDrivingRouteSearchRequest
478
480@interface AMapDrivingRouteSearchRequest : AMapRouteSearchBaseRequest
481
499@property (nonatomic, assign) NSInteger strategy;
501@property (nonatomic, copy) NSArray<AMapGeoPoint *> *waypoints;
503@property (nonatomic, copy) NSArray<AMapGeoPolygon *> *avoidpolygons;
505@property (nonatomic, copy) NSString *avoidroad;
507@property (nonatomic, copy) NSString *originId;
509@property (nonatomic, copy) NSString *destinationId;
511@property (nonatomic, copy) NSString *origintype;
513@property (nonatomic, copy) NSString *destinationtype;
515@property (nonatomic, assign) BOOL requireExtension;
517@property (nonatomic, copy) NSString *plateProvince;
519@property (nonatomic, copy) NSString *plateNumber;
521@property (nonatomic, assign) NSInteger ferry;
528@property (nonatomic, assign) NSInteger cartype;
530@property (nonatomic, assign) AMapDrivingRouteExcludeType exclude;
531
532@end
533
534#pragma mark - AMapWalkingRouteSearchRequest
535
537@interface AMapWalkingRouteSearchRequest : AMapRouteSearchBaseRequest
539@property (nonatomic, assign) NSInteger multipath __attribute__((deprecated("已废弃, from 5.0.0")));
540
542@property (nonatomic, assign) NSInteger isindoor;
544@property (nonatomic, assign) NSInteger alternativeRoute;
546@property (nonatomic, assign) AMapWalkingRouteShowFieldType showFieldsType;
547@end
548
549#pragma mark - AMapTransitRouteSearchRequest
550
552@interface AMapTransitRouteSearchRequest : AMapRouteSearchBaseRequest
554/*
555 0：推荐模式，综合权重，同高德APP默认
556 1：最经济模式，票价最低
557 2：最少换乘模式，换乘次数少
558 3：最少步行模式，尽可能减少步行距离
559 4：最舒适模式，尽可能乘坐空调车
560 5：不乘地铁模式，不乘坐地铁路线
561 6：地铁图模式，起终点都是地铁站（地铁图模式下originpoi及destinationpoi为必填项）
562 7：地铁优先模式，步行距离不超过4KM
563 8：时间短模式，方案花费总时间最少
564 */
565@property (nonatomic, assign) NSInteger strategy;
567@property (nonatomic, copy) NSString *city;
569@property (nonatomic, copy) NSString *destinationCity;
571@property (nonatomic, assign) BOOL nightflag;
573@property (nonatomic, copy) NSString *originPOI;
575@property (nonatomic, copy) NSString *destinationPOI;
577@property (nonatomic, copy) NSString *adcode;
579@property (nonatomic, copy) NSString *destinationAdcode;
581@property (nonatomic, assign) NSInteger alternativeRoute;
583@property (nonatomic, assign) BOOL multiExport;
585@property (nonatomic, assign) NSInteger maxTrans;
587@property (nonatomic, copy) NSString *date;
589@property (nonatomic, copy) NSString *time;
591@property (nonatomic, assign) AMapTransitRouteShowFieldsType showFieldsType;
592@end
593
594#pragma mark - AMapRidingRouteSearchRequest
595
597@interface AMapRidingRouteSearchRequest : AMapRouteSearchBaseRequest
599@property (nonatomic, assign) NSInteger alternativeRoute;
601@property (nonatomic, assign) AMapRidingRouteShowFieldsType showFieldsType;
602@end
603
605@interface AMapRouteSearchResponse : AMapSearchObject
607@property (nonatomic, assign) NSInteger count;
609@property (nonatomic, strong) AMapRoute *route;
610@end
611
613@interface AMapRidingRouteSearchResponse : AMapRouteSearchResponse
614@end
615
616#pragma mark - AMapTruckRouteSearchRequest
617
619@interface AMapTruckRouteSearchRequest : AMapRouteSearchBaseRequest
620
633@property (nonatomic, assign) NSInteger strategy;
635@property (nonatomic, copy) NSArray<AMapGeoPoint *> *waypoints;
637@property (nonatomic, copy) NSString *originId;
639@property (nonatomic, copy) NSString *destinationId;
641@property (nonatomic, copy) NSString *origintype;
643@property (nonatomic, copy) NSString *destinationtype;
645@property (nonatomic, copy) NSString *plateProvince;
647@property (nonatomic, copy) NSString *plateNumber;
649@property (nonatomic, assign) AMapTruckSizeType size;
651@property (nonatomic, assign) CGFloat height;
653@property (nonatomic, assign) CGFloat width;
655@property (nonatomic, assign) CGFloat load;
657@property (nonatomic, assign) CGFloat weight;
659@property (nonatomic, assign) NSInteger axis;
661@property (nonatomic, assign) BOOL requireExtension;
662@end
663
664#pragma mark - AMapDistanceSearchRequest
665
667@interface AMapDistanceSearchRequest : AMapSearchObject
669@property (nonatomic, strong) NSArray<AMapGeoPoint *> *origins;
671@property (nonatomic, strong) AMapGeoPoint *destination;
673@property (nonatomic, assign) AMapDistanceSearchType type;
675@property (nonatomic, assign) NSInteger strategy;
677@property (nonatomic, assign) BOOL requireExtension;
678@end
679
681@interface AMapDistanceSearchResponse : AMapSearchObject
683@property (nonatomic, strong) NSArray<AMapDistanceResult *> *results;
684
685@end
686
687#pragma mark - AMapWeatherSearchRequest
688
690@interface AMapWeatherSearchRequest : AMapSearchObject
692@property (nonatomic, copy) NSString *city;
694@property (nonatomic, assign) AMapWeatherType type;
695@end
696
698@interface AMapWeatherSearchResponse : AMapSearchObject
700@property (nonatomic, strong) NSArray<AMapLocalWeatherLive *> *lives;
702@property (nonatomic, strong) NSArray<AMapLocalWeatherForecast *> *forecasts;
703
704@end
705
706#pragma mark - AMapNearbySearchRequest
708@interface AMapNearbySearchRequest : AMapSearchObject
710@property (nonatomic, copy) AMapGeoPoint *center;
712@property (nonatomic, assign) NSInteger radius;
714@property (nonatomic, assign) AMapNearbySearchType searchType;
716@property (nonatomic, assign) NSInteger timeRange;
718@property (nonatomic, assign) NSInteger limit;
719@end
720
722@interface AMapNearbySearchResponse : AMapSearchObject
724@property (nonatomic, assign) NSInteger count;
726@property (nonatomic, strong) NSArray<AMapNearbyUserInfo *> *infos;
727@end
728
729#pragma mark - AMapCloudSearchBaseRequest
730
732@interface AMapCloudSearchBaseRequest : AMapSearchObject
734@property (nonatomic, copy) NSString *tableID;
736@property (nonatomic, strong) NSArray<NSString *> *filter;
738@property (nonatomic, copy) NSString *sortFields;
740@property (nonatomic, assign) AMapCloudSortType sortType;
742@property (nonatomic, assign) NSInteger offset;
744@property (nonatomic, assign) NSInteger page;
745@end
746
747#pragma mark - AMapCloudPlaceAroundSearchRequest
748
750@interface AMapCloudPOIAroundSearchRequest : AMapCloudSearchBaseRequest
752@property (nonatomic, copy) AMapGeoPoint *center;
754@property (nonatomic, assign) NSInteger radius;
756@property (nonatomic, copy) NSString *keywords;
757@end
758
760@interface AMapCloudPOIPolygonSearchRequest : AMapCloudSearchBaseRequest
762@property (nonatomic, copy) AMapGeoPolygon *polygon;
764@property (nonatomic, copy) NSString *keywords;
765@end
766
768@interface AMapCloudPOIIDSearchRequest : AMapCloudSearchBaseRequest
770@property (nonatomic, assign) NSInteger uid;
771@end
772
774@interface AMapCloudPOILocalSearchRequest : AMapCloudSearchBaseRequest
776@property (nonatomic, copy) NSString *keywords;
778@property (nonatomic, copy) NSString *city;
779@end
780
782@interface AMapCloudPOISearchResponse : AMapSearchObject
784@property (nonatomic, assign) NSInteger count;
786@property (nonatomic, strong) NSArray<AMapCloudPOI *> *POIs;
787
788@end
789
790#pragma mark - AMapShareSearchBaseRequest
791
793@interface AMapShareSearchBaseRequest : AMapSearchObject
794@end
795
797@interface AMapLocationShareSearchRequest : AMapShareSearchBaseRequest
799@property (nonatomic, copy) AMapGeoPoint *location;
801@property (nonatomic, copy) NSString *name;
802@end
803
805@interface AMapPOIShareSearchRequest : AMapShareSearchBaseRequest
807@property (nonatomic, copy) NSString *uid;
809@property (nonatomic, copy) AMapGeoPoint *location;
811@property (nonatomic, copy) NSString *name;
813@property (nonatomic, copy) NSString *address;
814@end
815
817@interface AMapRouteShareSearchRequest : AMapShareSearchBaseRequest
819@property (nonatomic, assign) NSInteger strategy;
821@property (nonatomic, assign) NSInteger type;
823@property (nonatomic, copy) AMapGeoPoint *startCoordinate;
825@property (nonatomic, copy) AMapGeoPoint *destinationCoordinate;
827@property (nonatomic, copy) NSString *startName;
829@property (nonatomic, copy) NSString *destinationName;
830@end
831
833@interface AMapNavigationShareSearchRequest : AMapShareSearchBaseRequest
834
836@property (nonatomic, assign) NSInteger strategy;
838@property (nonatomic, copy) AMapGeoPoint *startCoordinate;
840@property (nonatomic, copy) AMapGeoPoint *destinationCoordinate;
841@end
842
844@interface AMapShareSearchResponse : AMapSearchObject
846@property (nonatomic, copy) NSString *shareURL;
847@end
848
850@interface AMapFutureRouteSearchRequest : AMapRouteSearchBaseRequest
852@property (nonatomic, copy) NSString *beginTime;
854@property (nonatomic, assign) NSInteger interval;
856@property (nonatomic, assign) NSInteger timeCount;
871@property (nonatomic, assign) NSInteger strategy;
873@property (nonatomic, copy) NSString *originId;
875@property (nonatomic, copy) NSString *destinationId;
877@property (nonatomic, copy) NSString *origintype;
879@property (nonatomic, copy) NSString *destinationtype;
881@property (nonatomic, copy) NSString *parentId;
882
884//@property (nonatomic, assign) BOOL requireExtension;
886@property (nonatomic, copy) NSString *plateProvince;
888@property (nonatomic, copy) NSString *plateNumber;
895@property (nonatomic, assign) NSInteger cartype;
896@end
897
899@interface AMapFutureRouteSearchResponse : AMapSearchObject
901@property (nonatomic, strong) NSArray<AMapPath *> *paths;
903@property (nonatomic, strong) NSArray<AMapFutureTimeInfo *> *timeInfos;
904@end
905
907@interface AMapChargeStationSearchRequest : AMapSearchObject
908@end
909
911@interface AMapChargeStationSearchResponse : AMapSearchObject
912@end
AMapCommonObj.h
AMapRidingRouteShowFieldsType
AMapRidingRouteShowFieldsType
Definition AMapSearchObj.h:102
AMapRidingRouteShowFieldsTypeNone
@ AMapRidingRouteShowFieldsTypeNone
不返回扩展信息
Definition AMapSearchObj.h:103
AMapRidingRouteShowFieldsTypeAll
@ AMapRidingRouteShowFieldsTypeAll
返回所有扩展信息
Definition AMapSearchObj.h:107
AMapRidingRouteShowFieldsTypePolyline
@ AMapRidingRouteShowFieldsTypePolyline
返回分路段坐标点串，两点间用“,”分隔
Definition AMapSearchObj.h:106
AMapRidingRouteShowFieldsTypeNavi
@ AMapRidingRouteShowFieldsTypeNavi
返回详细导航动作指令
Definition AMapSearchObj.h:105
AMapRidingRouteShowFieldsTypeCost
@ AMapRidingRouteShowFieldsTypeCost
返回方案所需时间及费用成本
Definition AMapSearchObj.h:104
AMapWalkingRouteShowFieldType
AMapWalkingRouteShowFieldType
Definition AMapSearchObj.h:82
AMapWalkingRouteShowFieldTypeNone
@ AMapWalkingRouteShowFieldTypeNone
不返回扩展信息
Definition AMapSearchObj.h:83
AMapWalkingRouteShowFieldTypeAll
@ AMapWalkingRouteShowFieldTypeAll
返回所有扩展信息
Definition AMapSearchObj.h:87
AMapWalkingRouteShowFieldTypePolyline
@ AMapWalkingRouteShowFieldTypePolyline
返回分路段坐标点串，两点间用“,”分隔
Definition AMapSearchObj.h:86
AMapWalkingRouteShowFieldTypeCost
@ AMapWalkingRouteShowFieldTypeCost
返回方案所需时间及费用成本
Definition AMapSearchObj.h:84
AMapWalkingRouteShowFieldTypeNavi
@ AMapWalkingRouteShowFieldTypeNavi
返回详细导航动作指令
Definition AMapSearchObj.h:85
AMapDistanceSearchType
AMapDistanceSearchType
Definition AMapSearchObj.h:124
AMapDistanceSearchTypeWalk
@ AMapDistanceSearchTypeWalk
步行导航距离
Definition AMapSearchObj.h:127
AMapDistanceSearchTypeStraight
@ AMapDistanceSearchTypeStraight
直线距离
Definition AMapSearchObj.h:125
AMapDistanceSearchTypeDrive
@ AMapDistanceSearchTypeDrive
驾车导航距离
Definition AMapSearchObj.h:126
AMapWeatherType
AMapWeatherType
Definition AMapSearchObj.h:30
AMapWeatherTypeLive
@ AMapWeatherTypeLive
实时
Definition AMapSearchObj.h:31
AMapWeatherTypeForecast
@ AMapWeatherTypeForecast
预报
Definition AMapSearchObj.h:32
AMapDrivingRouteShowFieldType
AMapDrivingRouteShowFieldType
Definition AMapSearchObj.h:69
AMapDrivingRouteShowFieldTypeAll
@ AMapDrivingRouteShowFieldTypeAll
返回所有扩展信息
Definition AMapSearchObj.h:77
AMapDrivingRouteShowFieldTypePolyline
@ AMapDrivingRouteShowFieldTypePolyline
返回分段路坐标点串，两点间用“,”分隔
Definition AMapSearchObj.h:75
AMapDrivingRouteShowFieldTypeTmcs
@ AMapDrivingRouteShowFieldTypeTmcs
返回分段路况详情
Definition AMapSearchObj.h:72
AMapDrivingRouteShowFieldTypeNewEnergy
@ AMapDrivingRouteShowFieldTypeNewEnergy
返回分段路坐标点串，两点间用“,”分隔
Definition AMapSearchObj.h:76
AMapDrivingRouteShowFieldTypeNone
@ AMapDrivingRouteShowFieldTypeNone
不返回扩展信息
Definition AMapSearchObj.h:70
AMapDrivingRouteShowFieldTypeCost
@ AMapDrivingRouteShowFieldTypeCost
返回方案所需时间及费用成本
Definition AMapSearchObj.h:71
AMapDrivingRouteShowFieldTypeCities
@ AMapDrivingRouteShowFieldTypeCities
返回分段途径城市信息
Definition AMapSearchObj.h:74
AMapDrivingRouteShowFieldTypeNavi
@ AMapDrivingRouteShowFieldTypeNavi
返回详细导航动作指令
Definition AMapSearchObj.h:73
AMapTruckSizeType
AMapTruckSizeType
Definition AMapSearchObj.h:51
AMapTruckSizeTypeMini
@ AMapTruckSizeTypeMini
微型车
Definition AMapSearchObj.h:52
AMapTruckSizeTypeHeavy
@ AMapTruckSizeTypeHeavy
重型车
Definition AMapSearchObj.h:55
AMapTruckSizeTypeMedium
@ AMapTruckSizeTypeMedium
中型车
Definition AMapSearchObj.h:54
AMapTruckSizeTypeLight
@ AMapTruckSizeTypeLight
轻型车
Definition AMapSearchObj.h:53
AMapPOISearchShowFieldsType
AMapPOISearchShowFieldsType
Definition AMapSearchObj.h:112
AMapPOISearchShowFieldsTypeNavi
@ AMapPOISearchShowFieldsTypeNavi
返回导航位置相关信息
Definition AMapSearchObj.h:117
AMapPOISearchShowFieldsTypePhotos
@ AMapPOISearchShowFieldsTypePhotos
返回poi图片相关信息
Definition AMapSearchObj.h:118
AMapPOISearchShowFieldsTypeNone
@ AMapPOISearchShowFieldsTypeNone
不返回扩展信息
Definition AMapSearchObj.h:113
AMapPOISearchShowFieldsTypeBusiness
@ AMapPOISearchShowFieldsTypeBusiness
返回商业信息
Definition AMapSearchObj.h:115
AMapPOISearchShowFieldsTypeChildren
@ AMapPOISearchShowFieldsTypeChildren
返回子POI信息
Definition AMapSearchObj.h:114
AMapPOISearchShowFieldsTypeAll
@ AMapPOISearchShowFieldsTypeAll
返回所有扩展信息
Definition AMapSearchObj.h:119
AMapPOISearchShowFieldsTypeIndoor
@ AMapPOISearchShowFieldsTypeIndoor
返回室内相关信息
Definition AMapSearchObj.h:116
AMapTransitRouteShowFieldsType
AMapTransitRouteShowFieldsType
Definition AMapSearchObj.h:92
AMapTransitRouteShowFieldsTypePolyline
@ AMapTransitRouteShowFieldsTypePolyline
返回分路段坐标点串，两点间用“,”分隔
Definition AMapSearchObj.h:96
AMapTransitRouteShowFieldsTypeAll
@ AMapTransitRouteShowFieldsTypeAll
返回所有扩展信息
Definition AMapSearchObj.h:97
AMapTransitRouteShowFieldsTypeCost
@ AMapTransitRouteShowFieldsTypeCost
返回方案所需时间及费用成本
Definition AMapSearchObj.h:94
AMapTransitRouteShowFieldsTypeNavi
@ AMapTransitRouteShowFieldsTypeNavi
返回详细导航动作指令
Definition AMapSearchObj.h:95
AMapTransitRouteShowFieldsTypeNone
@ AMapTransitRouteShowFieldsTypeNone
不返回扩展信息
Definition AMapSearchObj.h:93
AMapRoutePOISearchType
AMapRoutePOISearchType
Definition AMapSearchObj.h:16
AMapRoutePOISearchTypeGasStation
@ AMapRoutePOISearchTypeGasStation
加油站
Definition AMapSearchObj.h:17
AMapRoutePOISearchTypeChargingPile
@ AMapRoutePOISearchTypeChargingPile
充电桩
Definition AMapSearchObj.h:23
AMapRoutePOISearchTypeMaintenanceStation
@ AMapRoutePOISearchTypeMaintenanceStation
维修站
Definition AMapSearchObj.h:18
AMapRoutePOISearchTypeParkStation
@ AMapRoutePOISearchTypeParkStation
服务区
Definition AMapSearchObj.h:22
AMapRoutePOISearchTypeFood
@ AMapRoutePOISearchTypeFood
美食
Definition AMapSearchObj.h:24
AMapRoutePOISearchTypeATM
@ AMapRoutePOISearchTypeATM
ATM.
Definition AMapSearchObj.h:19
AMapRoutePOISearchTypeHotel
@ AMapRoutePOISearchTypeHotel
酒店
Definition AMapSearchObj.h:25
AMapRoutePOISearchTypeToilet
@ AMapRoutePOISearchTypeToilet
厕所
Definition AMapSearchObj.h:20
AMapRoutePOISearchTypeGasAirStation
@ AMapRoutePOISearchTypeGasAirStation
加气站
Definition AMapSearchObj.h:21
AMapNearbySearchType
AMapNearbySearchType
Definition AMapSearchObj.h:44
AMapNearbySearchTypeLiner
@ AMapNearbySearchTypeLiner
直线距离
Definition AMapSearchObj.h:45
AMapNearbySearchTypeDriving
@ AMapNearbySearchTypeDriving
驾车行驶距离
Definition AMapSearchObj.h:46
AMapCloudSortType
AMapCloudSortType
Definition AMapSearchObj.h:37
AMapCloudSortTypeDESC
@ AMapCloudSortTypeDESC
降序
Definition AMapSearchObj.h:38
AMapCloudSortTypeASC
@ AMapCloudSortTypeASC
升序
Definition AMapSearchObj.h:39
AMapDrivingRouteExcludeType
AMapDrivingRouteExcludeType
Definition AMapSearchObj.h:60
AMapDrivingRouteExcludeTypeMotorway
@ AMapDrivingRouteExcludeTypeMotorway
高速路
Definition AMapSearchObj.h:63
AMapDrivingRouteExcludeTypeNone
@ AMapDrivingRouteExcludeTypeNone
不规避
Definition AMapSearchObj.h:61
AMapDrivingRouteExcludeTypeToll
@ AMapDrivingRouteExcludeTypeToll
收费道路
Definition AMapSearchObj.h:62
AMapDrivingRouteExcludeTypeFerry
@ AMapDrivingRouteExcludeTypeFerry
渡船
Definition AMapSearchObj.h:64
AMapBusLineBaseSearchRequest
公交线路查询请求基类，不可直接调用
Definition AMapSearchObj.h:357
AMapBusLineIDSearchRequest
公交站线路根据ID请求
Definition AMapSearchObj.h:375
AMapBusLineNameSearchRequest
公交站线路根据名字请求
Definition AMapSearchObj.h:369
AMapBusLineSearchResponse
公交站线路返回
Definition AMapSearchObj.h:381
AMapBusStopSearchRequest
公交站点请求
Definition AMapSearchObj.h:333
AMapBusStopSearchResponse
公交站点返回
Definition AMapSearchObj.h:345
AMapChargeStationSearchRequest
充电站搜索（since 9.7.0）
Definition AMapSearchObj.h:908
AMapChargeStationSearchResponse
充电站搜索（since 9.7.0）
Definition AMapSearchObj.h:912
AMapCloudPOIAroundSearchRequest
企业地图周边搜请求
Definition AMapSearchObj.h:751
AMapCloudPOIIDSearchRequest
企业地图ID查询请求
Definition AMapSearchObj.h:769
AMapCloudPOILocalSearchRequest
企业地图本地查询请求
Definition AMapSearchObj.h:775
AMapCloudPOIPolygonSearchRequest
企业地图polygon区域查询请求
Definition AMapSearchObj.h:761
AMapCloudPOISearchResponse
企业地图搜索返回
Definition AMapSearchObj.h:783
AMapCloudSearchBaseRequest
企业地图搜索请求基类
Definition AMapSearchObj.h:733
AMapDistanceSearchRequest
距离查询请求（since 6.1.0）
Definition AMapSearchObj.h:668
AMapDistanceSearchResponse
距离查询结果（since 6.1.0）
Definition AMapSearchObj.h:682
AMapDistrictSearchRequest
行政区划查询请求
Definition AMapSearchObj.h:392
AMapDistrictSearchResponse
行政区划响应
Definition AMapSearchObj.h:409
AMapDrivingCalRouteSearchRequest
驾车路径规划2.0
Definition AMapSearchObj.h:429
AMapDrivingRouteSearchRequest
驾车路径规划
Definition AMapSearchObj.h:481
AMapFutureRouteSearchRequest
未来路线规划（since 6.9.0）
Definition AMapSearchObj.h:851
AMapFutureRouteSearchResponse
未来路线规划（since 6.9.0）
Definition AMapSearchObj.h:900
AMapGeoPoint
经纬度, description中格式为 <经度,纬度>
Definition AMapCommonObj.h:30
AMapGeoPolygon
多边形, 当传入两个点的时候，当做矩形处理:左下-右上两个顶点；其他情况视为多边形，几个点即为几边型。
Definition AMapCommonObj.h:45
AMapGeocodeSearchRequest
地理编码请求
Definition AMapSearchObj.h:289
AMapGeocodeSearchResponse
地理编码返回
Definition AMapSearchObj.h:299
AMapInputTipsSearchRequest
搜索提示请求
Definition AMapSearchObj.h:265
AMapInputTipsSearchResponse
搜索提示返回
Definition AMapSearchObj.h:279
AMapLocationShareSearchRequest
位置短串分享请求
Definition AMapSearchObj.h:798
AMapNearbySearchRequest
附近搜索请求
Definition AMapSearchObj.h:709
AMapNearbySearchResponse
附近搜索返回
Definition AMapSearchObj.h:723
AMapPOIAroundSearchRequest
POI周边搜索
Definition AMapSearchObj.h:183
AMapPOI
POI.
Definition AMapCommonObj.h:196
AMapPOIIDSearchRequest
POI ID搜索请求
Definition AMapSearchObj.h:148
AMapPOIKeywordsSearchRequest
POI关键字搜索
Definition AMapSearchObj.h:170
AMapPOIPolygonSearchRequest
POI多边形搜索
Definition AMapSearchObj.h:195
AMapPOISearchBaseRequest
POI搜索请求基类
Definition AMapSearchObj.h:134
AMapPOISearchBaseRequest::page
NSInteger page
当前页数, 范围1-100, [default = 1]
Definition AMapSearchObj.h:141
AMapPOISearchBaseRequest::offset
NSInteger offset
每页记录数, 范围1-25, [default = 10]
Definition AMapSearchObj.h:139
AMapPOISearchBaseRequest::types
NSString * types
类型，多个类型用“|”分割 可选值:文本分类、分类代码
Definition AMapSearchObj.h:135
AMapPOISearchBaseRequest::showFieldsType
AMapPOISearchShowFieldsType showFieldsType
设置需要返回的扩展信息，默认为AMapPOISearchShowFieldsTypeNone，只返回基础信息字段
Definition AMapSearchObj.h:143
AMapPOISearchBaseRequest::sortrule
NSInteger sortrule
排序规则, 0-距离排序；1-综合排序, 默认0
Definition AMapSearchObj.h:137
AMapPOISearchResponse
POI搜索返回
Definition AMapSearchObj.h:203
AMapPOIShareSearchRequest
兴趣点短串分享请求
Definition AMapSearchObj.h:806
AMapReGeocode
逆地理编码
Definition AMapCommonObj.h:367
AMapReGeocodeSearchRequest
逆地理编码请求
Definition AMapSearchObj.h:310
AMapReGeocodeSearchResponse
逆地理编码返回
Definition AMapSearchObj.h:325
AMapRidingRouteSearchRequest
骑行路径规划
Definition AMapSearchObj.h:598
AMapRidingRouteSearchResponse
骑行路径规划返回
Definition AMapSearchObj.h:614
AMapRoute
路径规划信息
Definition AMapCommonObj.h:752
AMapRoutePOISearchRequest
沿途搜索, 注意起点和终点不能相距太远(大概70公里)，否则可能搜索结果为空
Definition AMapSearchObj.h:236
AMapRoutePOISearchResponse
沿途搜索返回
Definition AMapSearchObj.h:255
AMapRouteSearchBaseRequest
路径规划基础类，不可直接调用
Definition AMapSearchObj.h:419
AMapRouteSearchResponse
路径规划返回
Definition AMapSearchObj.h:606
AMapRouteShareSearchRequest
路径规划短串分享请求
Definition AMapSearchObj.h:818
AMapSearchObject
搜索SDK基础类, 通用数据结构和response支持copy和coding（since 4.4.1）。
Definition AMapCommonObj.h:17
AMapShareSearchBaseRequest
短串分享搜索请求基类, 请使用具体的子类。
Definition AMapSearchObj.h:794
AMapShareSearchResponse
导航短串分享响应
Definition AMapSearchObj.h:845
AMapSuggestion
建议信息
Definition AMapCommonObj.h:72
AMapTransitRouteSearchRequest
公交路径规划
Definition AMapSearchObj.h:553
AMapTruckRouteSearchRequest
货车路径规划（since 6.1.0）
Definition AMapSearchObj.h:620
AMapVisualPOI
视觉识别POI，在AMapPOI基础上扩展视觉识别接口特有的字段
Definition AMapSearchObj.h:213
AMapVisualSearchRequest
视觉图片搜索请求 (since 9.7.0)
Definition AMapSearchObj.h:156
AMapVisualSearchResponse
视觉图片搜索返回 (since 9.7.0)
Definition AMapSearchObj.h:227
AMapWalkingRouteSearchRequest
步行路径规划
Definition AMapSearchObj.h:538
AMapWeatherSearchRequest
天气查询请求
Definition AMapSearchObj.h:691
AMapWeatherSearchResponse
天气查询返回
Definition AMapSearchObj.h:699
© 2017 高德信息技术有限公司 版权所有，保留所有权利。