高德地图SDK(导航) V11.2.1501
Loading...
Searching...
No Matches
AMapNaviDriveManager(AMapLogistics) Category Reference

#include <AMapNaviDriveManager+AMapLogistics.h>

Instance Methods

(BOOL) - setAvoidRegions:vehicleInfo:
 添加特定类型算路的避让区域和想走区域, Add avoidance areas and desired areas for specific types of calculation routes, 注意:避让区域的增多会使算路请求的RT时间增大,导航停止,结束,销毁时需要调用对应clearAvoidRegionsWithVehicleInfo:方法,避免避让区域等数据影响后续算路 Attention: Increasing the number of avoidance areas will increase the RT time for calculating the route request. When navigation stops, ends, or is destroyed, the corresponding clearAvoidRegionsWithVehicleInfo: method needs to be called to avoid data such as avoidance areas affecting subsequent route calculations
 
(void) - clearAvoidRegionsWithVehicleInfo:
 删除特定车辆类型对应算路类型的避让区域 Delete the avoidance area corresponding to the calculation road type for a specific vehicle type
 

Properties

BOOL vehicleIgnoreRestriction
 是否忽略交通限行规定,一般用于火警车辆等(车辆类型type需要为货车才生效) Do you ignore traffic restrictions, which are generally used for fire trucks and other vehicles (the vehicle type needs to be a truck to take effect) YES:忽略,NO:不忽略,默认NO YES: Ignore, NO: Do not ignore, default NO
 
BOOL hazardousChemicals
 

Detailed Description

物流行业相关导航接口 Logistics industry related navigation interfaces

Method Documentation

◆ clearAvoidRegionsWithVehicleInfo:

- (void) clearAvoidRegionsWithVehicleInfo: (AMapNaviVehicleInfo *)  vehicleInfo

删除特定车辆类型对应算路类型的避让区域 Delete the avoidance area corresponding to the calculation road type for a specific vehicle type

  • Parameter vehicleInfo: 车辆类型 Vehicle Type
    Since
    10.0.520

◆ setAvoidRegions:vehicleInfo:

- (BOOL) setAvoidRegions: (nullable NSArray< NSArray< AMapNaviPoint * > * > *)  avoidRegions
vehicleInfo: (AMapNaviVehicleInfo *)  vehicleInfo 

添加特定类型算路的避让区域和想走区域, Add avoidance areas and desired areas for specific types of calculation routes, 注意:避让区域的增多会使算路请求的RT时间增大,导航停止,结束,销毁时需要调用对应clearAvoidRegionsWithVehicleInfo:方法,避免避让区域等数据影响后续算路 Attention: Increasing the number of avoidance areas will increase the RT time for calculating the route request. When navigation stops, ends, or is destroyed, the corresponding clearAvoidRegionsWithVehicleInfo: method needs to be called to avoid data such as avoidance areas affecting subsequent route calculations

Parameters
avoidRegionsavoidRegions 避让的区域数组,每个避让区域最多包含16个点,避让区域最多支持100个,否则设置无效,直接return false Avoidance area array, each avoidance area can contain up to 16 points, and the avoidance area supports up to 100 points. Otherwise, the setting is invalid, and return false directly
vehicleInfo车辆信息,会根据车辆类型设置相应的算路类型的避让区域等 Vehicle information will be set according to the vehicle type, including corresponding avoidance areas for calculating road types
Returns
参数校验是否成功,返回false时,参数校验失败,设置无效 Whether the parameter verification is successful. When false is returned, the parameter verification fails and the setting is invalid
Since
10.0.520

Property Documentation

◆ hazardousChemicals

- (BOOL) hazardousChemicals
readwritenonatomicassign

设置是否危化品车辆 true:危化品;false:非危化品 默认值false

Since
10.0.522 Set whether the hazardous chemical vehicle is true: hazardous chemicals; False: Non hazardous chemicals default value false @ since 10.0522

◆ vehicleIgnoreRestriction

- (BOOL) vehicleIgnoreRestriction
readwritenonatomicassign

是否忽略交通限行规定,一般用于火警车辆等(车辆类型type需要为货车才生效) Do you ignore traffic restrictions, which are generally used for fire trucks and other vehicles (the vehicle type needs to be a truck to take effect) YES:忽略,NO:不忽略,默认NO YES: Ignore, NO: Do not ignore, default NO

Since
10.0.520

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