AMapURLSearch.h 1012 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. //
  2. // AMapURLSearch.h
  3. // AMapFoundation
  4. //
  5. // Created by xiaoming han on 15/10/28.
  6. // Copyright © 2015年 Amap. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #import "AMapURLSearchConfig.h"
  10. ///调起高德地图URL进行搜索,若是调起失败,可使用`+ (void)getLatestAMapApp;`方法获取最新版高德地图app.
  11. @interface AMapURLSearch : NSObject
  12. /**
  13. * @brief 打开高德地图AppStore页面
  14. */
  15. + (void)getLatestAMapApp;
  16. /**
  17. * @brief 调起高德地图app驾车导航.
  18. * @param config 配置参数.
  19. * @return 是否成功.若为YES则成功调起,若为NO则无法调起.
  20. */
  21. + (BOOL)openAMapNavigation:(AMapNaviConfig *)config;
  22. /**
  23. * @brief 调起高德地图app进行路径规划.
  24. * @param config 配置参数.
  25. * @return 是否成功.
  26. */
  27. + (BOOL)openAMapRouteSearch:(AMapRouteConfig *)config;
  28. /**
  29. * @brief 调起高德地图app进行POI搜索.
  30. * @param config 配置参数.
  31. * @return 是否成功.
  32. */
  33. + (BOOL)openAMapPOISearch:(AMapPOIConfig *)config;
  34. @end