123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727 |
- #import <Foundation/Foundation.h>
- #import "AMapCommonObj.h"
- typedef NS_ENUM(NSInteger, AMapRoutePOISearchType)
- {
- AMapRoutePOISearchTypeGasStation = 0,
- AMapRoutePOISearchTypeMaintenanceStation = 1,
- AMapRoutePOISearchTypeATM = 2,
- AMapRoutePOISearchTypeToilet = 3,
- AMapRoutePOISearchTypeGasAirStation = 4,
- AMapRoutePOISearchTypeParkStation = 5,
- };
- typedef NS_ENUM(NSInteger, AMapWeatherType)
- {
- AMapWeatherTypeLive = 1,
- AMapWeatherTypeForecast
- };
- typedef NS_ENUM(NSInteger, AMapCloudSortType)
- {
- AMapCloudSortTypeDESC = 0,
- AMapCloudSortTypeASC = 1
- };
- typedef NS_ENUM(NSInteger, AMapNearbySearchType)
- {
- AMapNearbySearchTypeLiner = 0,
- AMapNearbySearchTypeDriving = 1,
- };
- typedef NS_ENUM(NSInteger, AMapTruckSizeType)
- {
- AMapTruckSizeTypeMini = 1,
- AMapTruckSizeTypeLight = 2,
- AMapTruckSizeTypeMedium = 3,
- AMapTruckSizeTypeHeavy = 4,
- };
- typedef NS_ENUM(NSInteger, AMapDrivingRouteExcludeType)
- {
- AMapDrivingRouteExcludeTypeNone = 0,
- AMapDrivingRouteExcludeTypeToll = 1,
- AMapDrivingRouteExcludeTypeMotorway = 2,
- AMapDrivingRouteExcludeTypeFerry = 3,
- };
- typedef NS_ENUM(NSInteger, AMapDistanceSearchType)
- {
- AMapDistanceSearchTypeStraight = 0,
- AMapDistanceSearchTypeDrive = 1,
- AMapDistanceSearchTypeWalk = 3,
- };
- #pragma mark - AMapPOISearchBaseRequest
- @interface AMapPOISearchBaseRequest : AMapSearchObject
- @property (nonatomic, copy) NSString *types;
- @property (nonatomic, assign) NSInteger sortrule;
- @property (nonatomic, assign) NSInteger offset;
- @property (nonatomic, assign) NSInteger page;
- @property (nonatomic, copy) NSString *building;
- @property (nonatomic, assign) BOOL requireExtension;
- @property (nonatomic, assign) BOOL requireSubPOIs;
- @end
- @interface AMapPOIIDSearchRequest : AMapPOISearchBaseRequest
- @property (nonatomic, copy) NSString *uid;
- @end
- @interface AMapPOIKeywordsSearchRequest : AMapPOISearchBaseRequest
- @property (nonatomic, copy) NSString *keywords;
- @property (nonatomic, copy) NSString *city;
- @property (nonatomic, assign) BOOL cityLimit;
- @property (nonatomic, strong) AMapGeoPoint *location;
- @end
- @interface AMapPOIAroundSearchRequest : AMapPOISearchBaseRequest
- @property (nonatomic, copy) NSString *keywords;
- @property (nonatomic, copy) AMapGeoPoint *location;
- @property (nonatomic, assign) NSInteger radius;
- @property (nonatomic, copy) NSString *city;
- @property (nonatomic, assign) BOOL special;
- @end
- @interface AMapPOIPolygonSearchRequest : AMapPOISearchBaseRequest
- @property (nonatomic, copy) NSString *keywords;
- @property (nonatomic, copy) AMapGeoPolygon *polygon;
- @end
- @interface AMapPOISearchResponse : AMapSearchObject
- @property (nonatomic, assign) NSInteger count;
- @property (nonatomic, strong) AMapSuggestion *suggestion;
- @property (nonatomic, strong) NSArray<AMapPOI *> *pois;
- @end
- #pragma mark - AMapPOIRouteSearchRequest
- @interface AMapRoutePOISearchRequest : AMapSearchObject
- @property (nonatomic, copy) AMapGeoPoint *origin;
- @property (nonatomic, copy) AMapGeoPoint *destination;
- @property (nonatomic, assign) AMapRoutePOISearchType searchType;
- @property (nonatomic, assign) NSInteger strategy;
- @property (nonatomic, assign) NSInteger range;
- @property (nonatomic, strong) NSString *polylineStr;
- @property (nonatomic, strong) NSArray<AMapGeoPoint*> *polyline;
- @end
- @interface AMapRoutePOISearchResponse : AMapSearchObject
- @property (nonatomic, assign) NSInteger count;
- @property (nonatomic, strong) NSArray<AMapRoutePOI *> *pois;
- @end
- #pragma mark - AMapInputTipsSearchRequest
- @interface AMapInputTipsSearchRequest : AMapSearchObject
- @property (nonatomic, copy) NSString *keywords;
- @property (nonatomic, copy) NSString *city;
- @property (nonatomic, copy) NSString *types;
- @property (nonatomic, assign) BOOL cityLimit;
- @property (nonatomic, copy) NSString *location;
- @end
- @interface AMapInputTipsSearchResponse : AMapSearchObject
- @property (nonatomic, assign) NSInteger count;
- @property (nonatomic, strong) NSArray<AMapTip *> *tips;
- @end
- #pragma mark - AMapGeocodeSearchRequest
- @interface AMapGeocodeSearchRequest : AMapSearchObject
- @property (nonatomic, copy) NSString *address;
- @property (nonatomic, copy) NSString *city;
- @property (nonatomic, copy) NSString *country;
- @end
- @interface AMapGeocodeSearchResponse : AMapSearchObject
- @property (nonatomic, assign) NSInteger count;
- @property (nonatomic, strong) NSArray<AMapGeocode *> *geocodes;
- @end
- #pragma mark - AMapReGeocodeSearchRequest
- @interface AMapReGeocodeSearchRequest : AMapSearchObject
- @property (nonatomic, assign) BOOL requireExtension;
- @property (nonatomic, copy) AMapGeoPoint *location;
- @property (nonatomic, assign) NSInteger radius;
- @property (nonatomic, copy) NSString *poitype;
- @property (nonatomic, copy) NSString *mode;
- @end
- @interface AMapReGeocodeSearchResponse : AMapSearchObject
- @property (nonatomic, strong) AMapReGeocode *regeocode;
- @end
- #pragma mark - AMapBusStopSearchRequest
- @interface AMapBusStopSearchRequest : AMapSearchObject
- @property (nonatomic, copy) NSString *keywords;
- @property (nonatomic, copy) NSString *city;
- @property (nonatomic, assign) NSInteger offset;
- @property (nonatomic, assign) NSInteger page;
- @end
- @interface AMapBusStopSearchResponse : AMapSearchObject
- @property (nonatomic, assign) NSInteger count;
- @property (nonatomic, strong) AMapSuggestion *suggestion;
- @property (nonatomic, strong) NSArray<AMapBusStop *> *busstops;
- @end
- #pragma mark - AMapBusLineSearchRequest
- @interface AMapBusLineBaseSearchRequest : AMapSearchObject
- @property (nonatomic, copy) NSString *city;
- @property (nonatomic, assign) BOOL requireExtension;
- @property (nonatomic, assign) NSInteger offset;
- @property (nonatomic, assign) NSInteger page;
- @end
- @interface AMapBusLineNameSearchRequest : AMapBusLineBaseSearchRequest
- @property (nonatomic, copy) NSString *keywords;
- @end
- @interface AMapBusLineIDSearchRequest : AMapBusLineBaseSearchRequest
- @property (nonatomic, copy) NSString *uid;
- @end
- @interface AMapBusLineSearchResponse : AMapSearchObject
- @property (nonatomic, assign) NSInteger count;
- @property (nonatomic, strong) AMapSuggestion *suggestion;
- @property (nonatomic, strong) NSArray<AMapBusLine *> *buslines;
- @end
- #pragma mark - AMapDistrictSearchRequest
- @interface AMapDistrictSearchRequest : AMapSearchObject
- @property (nonatomic, copy) NSString *keywords;
- @property (nonatomic, assign) BOOL requireExtension;
- @property (nonatomic, assign) BOOL showBusinessArea __attribute__((deprecated("已废弃, from 5.3.0")));;
- @property (nonatomic, assign) NSInteger offset;
- @property (nonatomic, assign) NSInteger page;
- @property (nonatomic, assign) NSInteger subdistrict;
- @end
- @interface AMapDistrictSearchResponse : AMapSearchObject
- @property (nonatomic, assign) NSInteger count;
- @property (nonatomic, strong) NSArray<AMapDistrict *> *districts;
- @end
- #pragma mark - AMapRouteSearchBaseRequest
- @interface AMapRouteSearchBaseRequest : AMapSearchObject
- @property (nonatomic, copy) AMapGeoPoint *origin;
- @property (nonatomic, copy) AMapGeoPoint *destination;
- @end
- #pragma mark - AMapDrivingRouteSearchRequest
- @interface AMapDrivingRouteSearchRequest : AMapRouteSearchBaseRequest
- @property (nonatomic, assign) NSInteger strategy;
- @property (nonatomic, copy) NSArray<AMapGeoPoint *> *waypoints;
- @property (nonatomic, copy) NSArray<AMapGeoPolygon *> *avoidpolygons;
- @property (nonatomic, copy) NSString *avoidroad;
- @property (nonatomic, copy) NSString *originId;
- @property (nonatomic, copy) NSString *destinationId;
- @property (nonatomic, copy) NSString *origintype;
- @property (nonatomic, copy) NSString *destinationtype;
- @property (nonatomic, assign) BOOL requireExtension;
- @property (nonatomic, copy) NSString *plateProvince;
- @property (nonatomic, copy) NSString *plateNumber;
- @property (nonatomic, assign) NSInteger ferry;
- @property (nonatomic, assign) NSInteger cartype;
- @property (nonatomic, assign) AMapDrivingRouteExcludeType exclude;
- @end
- #pragma mark - AMapWalkingRouteSearchRequest
- @interface AMapWalkingRouteSearchRequest : AMapRouteSearchBaseRequest
- @property (nonatomic, assign) NSInteger multipath __attribute__((deprecated("已废弃, from 5.0.0")));
- @end
- #pragma mark - AMapTransitRouteSearchRequest
- @interface AMapTransitRouteSearchRequest : AMapRouteSearchBaseRequest
- @property (nonatomic, assign) NSInteger strategy;
- @property (nonatomic, copy) NSString *city;
- @property (nonatomic, copy) NSString *destinationCity;
- @property (nonatomic, assign) BOOL nightflag;
- @property (nonatomic, assign) BOOL requireExtension;
- @end
- #pragma mark - AMapRidingRouteSearchRequest
- @interface AMapRidingRouteSearchRequest : AMapRouteSearchBaseRequest
- @property (nonatomic, assign) NSInteger type __attribute__((deprecated("已废弃, from 5.0.0")));
- @property (nonatomic, assign) BOOL requireExtension;
- @end
- @interface AMapRouteSearchResponse : AMapSearchObject
- @property (nonatomic, assign) NSInteger count;
- @property (nonatomic, strong) AMapRoute *route;
- @end
- @interface AMapRidingRouteSearchResponse : AMapRouteSearchResponse
- @end
- #pragma mark - AMapTruckRouteSearchRequest
- @interface AMapTruckRouteSearchRequest : AMapRouteSearchBaseRequest
- @property (nonatomic, assign) NSInteger strategy;
- @property (nonatomic, copy) NSArray<AMapGeoPoint *> *waypoints;
- @property (nonatomic, copy) NSString *originId;
- @property (nonatomic, copy) NSString *destinationId;
- @property (nonatomic, copy) NSString *origintype;
- @property (nonatomic, copy) NSString *destinationtype;
- @property (nonatomic, copy) NSString *plateProvince;
- @property (nonatomic, copy) NSString *plateNumber;
- @property (nonatomic, assign) AMapTruckSizeType size;
- @property (nonatomic, assign) CGFloat height;
- @property (nonatomic, assign) CGFloat width;
- @property (nonatomic, assign) CGFloat load;
- @property (nonatomic, assign) CGFloat weight;
- @property (nonatomic, assign) NSInteger axis;
- @property (nonatomic, assign) BOOL requireExtension;
- @end
- #pragma mark - AMapDistanceSearchRequest
- @interface AMapDistanceSearchRequest : AMapSearchObject
- @property (nonatomic, strong) NSArray<AMapGeoPoint *> *origins;
- @property (nonatomic, strong) AMapGeoPoint *destination;
- @property (nonatomic, assign) AMapDistanceSearchType type;
- @property (nonatomic, assign) NSInteger strategy;
- @property (nonatomic, assign) BOOL requireExtension;
- @end
- @interface AMapDistanceSearchResponse : AMapSearchObject
- @property (nonatomic, strong) NSArray<AMapDistanceResult *> *results;
- @end
- #pragma mark - AMapWeatherSearchRequest
- @interface AMapWeatherSearchRequest : AMapSearchObject
- @property (nonatomic, copy) NSString *city;
- @property (nonatomic, assign) AMapWeatherType type;
- @end
- @interface AMapWeatherSearchResponse : AMapSearchObject
- @property (nonatomic, strong) NSArray<AMapLocalWeatherLive *> *lives;
- @property (nonatomic, strong) NSArray<AMapLocalWeatherForecast *> *forecasts;
- @end
- #pragma mark - AMapNearbySearchRequest
- @interface AMapNearbySearchRequest : AMapSearchObject
- @property (nonatomic, copy) AMapGeoPoint *center;
- @property (nonatomic, assign) NSInteger radius;
- @property (nonatomic, assign) AMapNearbySearchType searchType;
- @property (nonatomic, assign) NSInteger timeRange;
- @property (nonatomic, assign) NSInteger limit;
- @end
- @interface AMapNearbySearchResponse : AMapSearchObject
- @property (nonatomic, assign) NSInteger count;
- @property (nonatomic, strong) NSArray<AMapNearbyUserInfo *> *infos;
- @end
- #pragma mark - AMapCloudSearchBaseRequest
- @interface AMapCloudSearchBaseRequest : AMapSearchObject
- @property (nonatomic, copy) NSString *tableID;
- @property (nonatomic, strong) NSArray<NSString *> *filter;
- @property (nonatomic, copy) NSString *sortFields;
- @property (nonatomic, assign) AMapCloudSortType sortType;
- @property (nonatomic, assign) NSInteger offset;
- @property (nonatomic, assign) NSInteger page;
- @end
- #pragma mark - AMapCloudPlaceAroundSearchRequest
- @interface AMapCloudPOIAroundSearchRequest : AMapCloudSearchBaseRequest
- @property (nonatomic, copy) AMapGeoPoint *center;
- @property (nonatomic, assign) NSInteger radius;
- @property (nonatomic, copy) NSString *keywords;
- @end
- @interface AMapCloudPOIPolygonSearchRequest : AMapCloudSearchBaseRequest
- @property (nonatomic, copy) AMapGeoPolygon *polygon;
- @property (nonatomic, copy) NSString *keywords;
- @end
- @interface AMapCloudPOIIDSearchRequest : AMapCloudSearchBaseRequest
- @property (nonatomic, assign) NSInteger uid;
- @end
- @interface AMapCloudPOILocalSearchRequest : AMapCloudSearchBaseRequest
- @property (nonatomic, copy) NSString *keywords;
- @property (nonatomic, copy) NSString *city;
- @end
- @interface AMapCloudPOISearchResponse : AMapSearchObject
- @property (nonatomic, assign) NSInteger count;
- @property (nonatomic, strong) NSArray<AMapCloudPOI *> *POIs;
- @end
- #pragma mark - AMapShareSearchBaseRequest
- @interface AMapShareSearchBaseRequest : AMapSearchObject
- @end
- @interface AMapLocationShareSearchRequest : AMapShareSearchBaseRequest
- @property (nonatomic, copy) AMapGeoPoint *location;
- @property (nonatomic, copy) NSString *name;
- @end
- @interface AMapPOIShareSearchRequest : AMapShareSearchBaseRequest
- @property (nonatomic, copy) NSString *uid;
- @property (nonatomic, copy) AMapGeoPoint *location;
- @property (nonatomic, copy) NSString *name;
- @property (nonatomic, copy) NSString *address;
- @end
- @interface AMapRouteShareSearchRequest : AMapShareSearchBaseRequest
- @property (nonatomic, assign) NSInteger strategy;
- @property (nonatomic, assign) NSInteger type;
- @property (nonatomic, copy) AMapGeoPoint *startCoordinate;
- @property (nonatomic, copy) AMapGeoPoint *destinationCoordinate;
- @property (nonatomic, copy) NSString *startName;
- @property (nonatomic, copy) NSString *destinationName;
- @end
- @interface AMapNavigationShareSearchRequest : AMapShareSearchBaseRequest
- @property (nonatomic, assign) NSInteger strategy;
- @property (nonatomic, copy) AMapGeoPoint *startCoordinate;
- @property (nonatomic, copy) AMapGeoPoint *destinationCoordinate;
- @end
- @interface AMapShareSearchResponse : AMapSearchObject
- @property (nonatomic, copy) NSString *shareURL;
- @end
- @interface AMapFutureRouteSearchRequest : AMapRouteSearchBaseRequest
- @property (nonatomic, copy) NSString *beginTime;
- @property (nonatomic, assign) NSInteger interval;
- @property (nonatomic, assign) NSInteger timeCount;
- @property (nonatomic, assign) NSInteger strategy;
- @property (nonatomic, copy) NSString *originId;
- @property (nonatomic, copy) NSString *destinationId;
- @property (nonatomic, copy) NSString *origintype;
- @property (nonatomic, copy) NSString *destinationtype;
- @property (nonatomic, copy) NSString *parentId;
- @property (nonatomic, copy) NSString *plateProvince;
- @property (nonatomic, copy) NSString *plateNumber;
- @property (nonatomic, assign) NSInteger cartype;
- @end
- @interface AMapFutureRouteSearchResponse : AMapSearchObject
- @property (nonatomic, strong) NSArray<AMapPath *> *paths;
- @property (nonatomic, strong) NSArray<AMapFutureTimeInfo *> *timeInfos;
- @end
|