KNRouteConfiguration_FreightOption
INFO
This English reference is based on Directions SDK with UI 1.12.8-hotfix02 (as of 2026-07-24). For the latest version, see the Korean reference.
Freight-vehicle avoidance route settings. Setting information for the factors that affect the calculation of freight-vehicle avoidance routes. The set options are avoided when possible.
Example code — KNRouteConfiguration_FreightOption
kotlin
class KNRouteConfiguration_FreightOption : KNSerializableConstructor
Example code — Initialization
kotlin
// <init>
KNRouteConfiguration_FreightOption(aAvoidUTurn: Boolean, aAvoidLaneCnt: Integer, aAvoidWaterProtection: Boolean, aAvoidCityRestriction: KNFreightCarType)Properties
| Name | Description | Type |
|---|---|---|
avoidUTurn | Avoids U-turns (default: false ) | var avoidUTurn: Boolean |
avoidLaneCnt | Avoids roads with a limited number of round-trip lanes. Avoids roads with the set number of round-trip lanes or fewer. 0: no avoidance (default: 0 ) | var avoidLaneCnt: Int |
avoidWaterProtection | Avoids water supply protection zones (default: false ) | var avoidWaterProtection: Boolean |
avoidCityRestriction | Freight vehicle type for avoiding urban traffic restrictions. Avoids urban traffic-restricted zones for the set vehicle type (default: KNFreightCarType_NotFreight ) | var avoidCityRestriction: KNFreightCarType |