KNPOI
INFO
This English reference is based on Directions SDK 1.12.12. For the latest version, see the Korean reference.
- Inherits from: NSObject
- Declared in: KNPOI.h
Provides location information.
Properties
| Name | Description | Type |
|---|---|---|
name | Name of the place | @property (nonatomic, readonly) NSString *name |
pos | Actual position of the information | @property (nonatomic, readonly) IntPoint pos |
address | Address | @property (nonatomic, readonly) NSString *address |
Initializers
initWithName:x:y
Creates a POI instance from latitude and longitude.
objc
- (id) initWithName: (NSString *) aName
x: (SInt32) aX
y: (SInt32) aYinitWithName:pos
Creates a POI instance from an actual location.
objc
- (id) initWithName: (NSString *) aName
pos: (IntPoint) aPosinitWithName:x:y:address
Creates a POI instance from latitude, longitude, and an Address.
objc
- (id) initWithName: (NSString *) aName
x: (SInt32) aX
y: (SInt32) aY
address: (NSString *) aAddressinitWithName:pos:address
Creates a POI instance from an actual location and an Address.
objc
- (id) initWithName: (NSString *) aName
pos: (IntPoint) aPos
address: (NSString *) aAddressMethods
setRpFlagType
Adds an attribute to the current RPFlag. If the attribute is already assigned, the current state is maintained.
objc
- (KNPOI *) setRpFlagType: (KNPOIRPFlagType) aRgFlagTypeParameters
| 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.
objc
- (KNPOI *) resetRpFlagType: (KNPOIRPFlagType) aRgFlagTypeParameters
| Name | Description |
|---|---|
aRgFlagType | Attribute to remove |