高德地图SDK(导航) V11.2.0501

Loading...
Searching...
No Matches
Instance Methods | Properties | List of all members
AMapNaviDriveManager(AMapLogistics) Category Reference

物流行业相关导航接口 More...

`#include <AMapNaviDriveManager+AMapLogistics.h>`

## Instance Methods
(BOOL) | - setAvoidRegions:vehicleInfo:
| 添加特定类型算路的避让区域和想走区域， 注意：避让区域的增多会使算路请求的RT时间增大，导航停止，结束，销毁时需要调用对应clearAvoidRegionsWithVehicleInfo:方法，避免避让区域等数据影响后续算路
(void) | - clearAvoidRegionsWithVehicleInfo:
| 删除特定车辆类型对应算路类型的避让区域

## Properties
BOOL | vehicleIgnoreRestriction
| 是否忽略交通限行规定，一般用于火警车辆等(车辆类型type需要为货车才生效) YES:忽略,NO:不忽略，默认NO
BOOL | hazardousChemicals
| 设置是否危化品车辆 true：危化品；false:非危化品 默认值false

## Detailed Description

物流行业相关导航接口

## Method Documentation

## ◆ clearAvoidRegionsWithVehicleInfo:

- (void) clearAvoidRegionsWithVehicleInfo: |  | (AMapNaviVehicleInfo *) | vehicleInfo |

删除特定车辆类型对应算路类型的避让区域

- Parameter vehicleInfo: 车辆类型
  Since
    10.0.520

## ◆ setAvoidRegions:vehicleInfo:

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

添加特定类型算路的避让区域和想走区域， 注意：避让区域的增多会使算路请求的RT时间增大，导航停止，结束，销毁时需要调用对应clearAvoidRegionsWithVehicleInfo:方法，避免避让区域等数据影响后续算路

Parameters

  avoidRegions | avoidRegions 避让的区域数组，每个避让区域最多包含16个点，避让区域最多支持100个,否则设置无效,直接return false
  vehicleInfo | 车辆信息，会根据车辆类型设置相应的算路类型的避让区域等

Returns
  参数校验是否成功，返回false时，参数校验失败，设置无效

Since
  10.0.520

## Property Documentation

## ◆ hazardousChemicals

- (BOOL) hazardousChemicals
| read write nonatomic assign

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

Since
  10.0.522

## ◆ vehicleIgnoreRestriction

- (BOOL) vehicleIgnoreRestriction
| read write nonatomic assign

是否忽略交通限行规定，一般用于火警车辆等(车辆类型type需要为货车才生效) YES:忽略,NO:不忽略，默认NO

Since
  10.0.520

The documentation for this category was generated from the following file:

- AMapNaviDriveManager+AMapLogistics.h

© 2017 高德信息技术有限公司 版权所有，保留所有权利。