Loading...
Searching...
No Matches

Class is useed to handle information in PickListener. More...

#include <com/navigine/idl/objc/NCMapObjectPickResult.h>

Inherits NSObject.

Properties

NCLocationPointpoint
 Location of the picked map object LocationPoint.
 
NCMapObjectmapObject
 Picked map object MapObject.
 

Detailed Description

Class is useed to handle information in PickListener.

Referenced from PickListener.

Definition at line 21 of file NCMapObjectPickResult.h.

Property Documentation

◆ mapObject

- (NCMapObject*) mapObject
readnonatomicassign

Picked map object MapObject.

Swift code snippet:

let mapObject = result.mapObject
print(" Object type: \‍(type(of: mapObject))")

Objective C code snippet:

NCMapObject *mapObject = mapObjectPickResult.mapObject;
NSLog(@" Object type: %@", NSStringFromClass([mapObject class]));

Definition at line 51 of file NCMapObjectPickResult.h.

◆ point

- (NCLocationPoint*) point
readnonatomicassign

Location of the picked map object LocationPoint.

Swift code snippet:

let point = result.point
print("Map object picked at screen position (\‍(screenPosition.x), \‍(screenPosition.y))")
print(" Object location: (\‍(point.x), \‍(point.y))")

Objective C code snippet:

NCLocationPoint *point = mapObjectPickResult.point;
NSLog(@"Map object picked at screen position (%.1f, %.1f)", screenPosition.x, screenPosition.y);
NSLog(@" Object location: (%.1f, %.1f)", point.x, point.y);

Definition at line 36 of file NCMapObjectPickResult.h.


The documentation for this class was generated from the following file: