KNGuide_Location
INFO
This English reference is based on Directions SDK 1.12.8-hotfix02. For the latest version, see the Korean reference.
Provides GPS information and location information along the route.
Example code — KNGuide_Location
kotlin
data class KNGuide_LocationConstructor
Example code — Initialization
kotlin
// <init>
KNGuide_Location(gpsOrigin: KNGPSData, gpsMatched: KNGPSData, location: KNLocation?, locationForSecondaryRoute: KNLocation?)Properties
| Name | Description | Type |
|---|---|---|
gpsOrigin | Raw GPS data | var gpsOrigin: KNGPSData |
gpsMatched | Matched GPS data (if there is no route: same as gpsOrigin ) | var gpsMatched: KNGPSData |
location | Location information along the route (if there is no route: null ) | var location: KNLocation? |
locationForPrimaryRoute | Location information along the route currently being guided (if there is no route: null ) | val locationForPrimaryRoute: KNLocation? |
locationForSecondaryRoute | Location information along the alternative route (if there is no route: null ) | var locationForSecondaryRoute: KNLocation? |