AMapURLSearchType.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. //
  2. // MAMapURLSearchType.h
  3. // MAMapKitNew
  4. //
  5. // Created by xiaoming han on 15/5/25.
  6. // Copyright (c) 2015年 xiaoming han. All rights reserved.
  7. //
  8. ///驾车策略
  9. typedef NS_ENUM(NSInteger, AMapDrivingStrategy)
  10. {
  11. AMapDrivingStrategyFastest = 0, ///<速度最快
  12. AMapDrivingStrategyMinFare = 1, ///<避免收费
  13. AMapDrivingStrategyShortest = 2, ///<距离最短
  14. AMapDrivingStrategyNoHighways = 3, ///<不走高速
  15. AMapDrivingStrategyAvoidCongestion = 4, ///<躲避拥堵
  16. AMapDrivingStrategyAvoidHighwaysAndFare = 5, ///<不走高速且避免收费
  17. AMapDrivingStrategyAvoidHighwaysAndCongestion = 6, ///<不走高速且躲避拥堵
  18. AMapDrivingStrategyAvoidFareAndCongestion = 7, ///<躲避收费和拥堵
  19. AMapDrivingStrategyAvoidHighwaysAndFareAndCongestion = 8 ///<不走高速躲避收费和拥堵
  20. };
  21. ///公交策略
  22. typedef NS_ENUM(NSInteger, AMapTransitStrategy)
  23. {
  24. AMapTransitStrategyFastest = 0,///<最快捷
  25. AMapTransitStrategyMinFare = 1,///<最经济
  26. AMapTransitStrategyMinTransfer = 2,///<最少换乘
  27. AMapTransitStrategyMinWalk = 3,///<最少步行
  28. AMapTransitStrategyMostComfortable = 4,///<最舒适
  29. AMapTransitStrategyAvoidSubway = 5,///<不乘地铁
  30. };
  31. ///路径规划类型
  32. typedef NS_ENUM(NSInteger, AMapRouteSearchType)
  33. {
  34. AMapRouteSearchTypeDriving = 0, ///<驾车
  35. AMapRouteSearchTypeTransit = 1, ///<公交
  36. AMapRouteSearchTypeWalking = 2, ///<步行
  37. };