KNHighwayRG_SA
INFO
This English reference is based on Directions SDK 1.12.8-hotfix02. For the latest version, see the Korean reference.
Provides highway service area (SA) information and the current location along the route.
Example code — KNHighwayRG_SA
kotlin
class KNHighwayRG_SA : KNHighwayRGConstructor
Example code — Initialization
kotlin
// <init>
KNHighwayRG_SA(rgIdx: Int, nodeName: String?, location: KNLocation, gasBrand: Byte, lpgBrand: Byte, repairExist: Boolean, atmExist: Boolean, foodExist: Boolean, elecChargerExist: Boolean)Properties
| Name | Description | Type |
|---|---|---|
nodeName | Name of the highway tollgate point | val nodeName: String? |
location | Current location information along the route | val location: KNLocation |
gasBrand | Gas station information (0: none, 1: SK Energy, 2: GS Caltex, 3: Hyundai Oilbank, 4: S-OIL, 6: unbranded gas station, 7: alddeul (discount) gas station) | val gasBrand: Byte |
lpgBrand | LPG station information (0: none, 1: SK Energy, 2: GS Caltex, 3: Hyundai Oilbank, 4: S-OIL, 6: unbranded gas station, 7: alddeul (discount) gas station) | val lpgBrand: Byte |
repairExist | Whether light vehicle maintenance service is available | val repairExist: Boolean |
atmExist | Whether an ATM (automated teller machine) is available | val atmExist: Boolean |
foodExist | Whether food and beverages are available | val foodExist: Boolean |
elecChargerExist | Whether an EV charging station is available | val elecChargerExist: Boolean |
gasStIds | List of gas station POI IDs | val gasStIds: List<String>? |
lpgStIds | List of LPG station POI IDs | val lpgStIds: List<String>? |
hydrogenStIds | List of hydrogen station POI IDs | val hydrogenStIds: List<String>? |
elecChargerStIds | List of EV charging station POI IDs | val elecChargerStIds: List<String>? |
Methods
highwayRGType
Provides information about highway interchanges, junctions, tollgates, service areas, and more. This is an overridden function that returns KNHighwayRGType.KNHighwayRGType_SA.
kotlin
fun highwayRGType(): KNHighwayRGType