AMapURLSearchConfig.h 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. //
  2. // MAMapURLSearchConfig.h
  3. // MAMapKitNew
  4. //
  5. // Created by xiaoming han on 15/5/25.
  6. // Copyright (c) 2015年 xiaoming han. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import <CoreLocation/CoreLocation.h>
  10. #import "AMapURLSearchType.h"
  11. ///导航配置信息
  12. @interface AMapNaviConfig : NSObject
  13. ///应用返回的Scheme
  14. @property (nonatomic, copy) NSString *appScheme;
  15. ///应用名称
  16. @property (nonatomic, copy) NSString *appName;
  17. ///终点
  18. @property (nonatomic, assign) CLLocationCoordinate2D destination;
  19. ///导航策略
  20. @property (nonatomic, assign) AMapDrivingStrategy strategy;
  21. @end
  22. #pragma mark -
  23. ///路径搜索配置信息
  24. @interface AMapRouteConfig : NSObject
  25. ///应用返回的Scheme
  26. @property (nonatomic, copy) NSString *appScheme;
  27. ///应用名称
  28. @property (nonatomic, copy) NSString *appName;
  29. ///起点坐标
  30. @property (nonatomic, assign) CLLocationCoordinate2D startCoordinate;
  31. ///终点坐标
  32. @property (nonatomic, assign) CLLocationCoordinate2D destinationCoordinate;
  33. ///驾车策略
  34. @property (nonatomic, assign) AMapDrivingStrategy drivingStrategy;
  35. ///公交策略
  36. @property (nonatomic, assign) AMapTransitStrategy transitStrategy;
  37. ///路径规划类型
  38. @property (nonatomic, assign) AMapRouteSearchType routeType;
  39. @end
  40. #pragma mark -
  41. ///POI搜索配置信息
  42. @interface AMapPOIConfig : NSObject
  43. ///应用返回的Scheme
  44. @property (nonatomic, copy) NSString *appScheme;
  45. ///应用名称
  46. @property (nonatomic, copy) NSString *appName;
  47. ///搜索关键字
  48. @property (nonatomic, copy) NSString *keywords;
  49. ///左上角坐标
  50. @property (nonatomic, assign) CLLocationCoordinate2D leftTopCoordinate;
  51. ///右下角坐标
  52. @property (nonatomic, assign) CLLocationCoordinate2D rightBottomCoordinate;
  53. @end