iOS高德地图SDK(搜索)  V7.9.0
AMapDistanceSearchRequest Class Reference

距离查询请求(since 6.1.0) More...

#import <AMapSearchObj.h>

Inheritance diagram for AMapDistanceSearchRequest:
AMapSearchObject

Properties

NSArray< AMapGeoPoint * > * origins
 起点坐标数组,最多支持100个点。 More...
 
AMapGeoPointdestination
 终点坐标 More...
 
AMapDistanceSearchType type
 路径计算的类型,当type为导航距离时,会考虑路况,故在不同时间请求返回结果可能不同; More...
 
NSInteger strategy
 驾车距离测量策略,参考驾车路径规划。仅当type为AMapDistanceSearchTypeDrive时有效,默认4 More...
 
BOOL requireExtension
 是否返回扩展信息,默认为 NO (since 7.6.0) More...
 

Additional Inherited Members

- Instance Methods inherited from AMapSearchObject
(NSString *) - formattedDescription
 返回格式化的描述信息。通用数据结构和response类型有效。 More...
 

Detailed Description

距离查询请求(since 6.1.0)

Property Documentation

◆ destination

- (AMapGeoPoint*) destination
readwritenonatomicstrong

终点坐标

◆ origins

- (NSArray<AMapGeoPoint *>*) origins
readwritenonatomicstrong

起点坐标数组,最多支持100个点。

◆ requireExtension

- (BOOL) requireExtension
readwritenonatomicassign

是否返回扩展信息,默认为 NO (since 7.6.0)

◆ strategy

- (NSInteger) strategy
readwritenonatomicassign

驾车距离测量策略,参考驾车路径规划。仅当type为AMapDistanceSearchTypeDrive时有效,默认4

◆ type

- (AMapDistanceSearchType) type
readwritenonatomicassign

路径计算的类型,当type为导航距离时,会考虑路况,故在不同时间请求返回结果可能不同;


The documentation for this class was generated from the following file:
© 2017 高德信息技术有限公司 版权所有,保留所有权利。