KNPOI
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.
Provides location information.
Example code — KNPOI
kotlin
class KNPOI : Parcelable, KNSerializableConstructor
Example code — Initialization
kotlin
// <init>
KNPOI()
KNPOI(parcel: Parcel)
KNPOI(poi: KNPOI)
KNPOI(name: String, x: Int, y: Int, address: String? = null, poiId: String? = null, rpFlag: String? = null)
KNPOI(name: String, pos: IntPoint)
KNPOI(dic: JSONObject)Properties
| Name | Description | Type |
|---|---|---|
name | Place name | var name: String |
pos | Actual position of the information | var pos: IntPoint |
address | Address | var address: String? |
poiId | Point of interest (POI) ID | poiId: String? |
rpFlag | Route option | rpFlag: String? |
linkFilterType | Filter attribute that controls whether narrow roads (links) are included during route search | var linkFilterType: KNPOILinkFilterType |
Methods
setRpFlagType
Adds an attribute to the current RPFlag. If the attribute is already assigned, the current state is maintained.
kotlin
fun setRpFlagType(aRgFlagType: KNPOIRPFlagType): KNPOIParameters
| Name | Description |
|---|---|
aRgFlagType | Attribute to add |
resetRpFlagType
Removes an attribute from the current RPFlag. If the attribute is not already assigned, the current state is maintained.
kotlin
fun resetRpFlagType(aRgFlagType: KNPOIRPFlagType): KNPOIParameters
| Name | Description |
|---|---|
aRgFlagType | Attribute to remove |