Loading...
Searching...
No Matches
com.navigine.idl.java.internal.MapObjectPickResultBinding Class Reference
+ Inheritance diagram for com.navigine.idl.java.internal.MapObjectPickResultBinding:

Public Member Functions

GlobalPoint getPoint ()
 WGS84 location of the picked map object GlobalPoint.
 
Integer getSublocationId ()
 Floor the picked object is attached to, or null for the outdoor map.
 
MapObject getMapObject ()
 Picked map object MapObject.
 

Protected Member Functions

 MapObjectPickResultBinding (NativeObject nativeObject)
 

Detailed Description

Definition at line 12 of file MapObjectPickResultBinding.java.

Constructor & Destructor Documentation

◆ MapObjectPickResultBinding()

com.navigine.idl.java.internal.MapObjectPickResultBinding.MapObjectPickResultBinding ( NativeObject nativeObject)
inlineprotected

Invoked only from native code.

Definition at line 19 of file MapObjectPickResultBinding.java.

Member Function Documentation

◆ getMapObject()

MapObject com.navigine.idl.java.internal.MapObjectPickResultBinding.getMapObject ( )
inline

Picked map object MapObject.

Returns

Java code snippet:

MapObject mapObject = mapObjectPickResult.getMapObject();
System.out.println(" Object type: " + mapObject.getClass().getSimpleName());

Kotlin code snippet:

val mapObject = mapObjectPickResult.mapObject
println(" Object type: ${mapObject::class.simpleName}")

Reimplemented from com.navigine.idl.java.MapObjectPickResult.

Definition at line 41 of file MapObjectPickResultBinding.java.

◆ getPoint()

GlobalPoint com.navigine.idl.java.internal.MapObjectPickResultBinding.getPoint ( )
inline

WGS84 location of the picked map object GlobalPoint.

Returns

Java code snippet:

LocationPoint point = mapObjectPickResult.getPoint();
System.out.println("Map object picked at screen position (" + screenPosition.x + ", " + screenPosition.y + ")");
System.out.println(" Object location: (" + point.getX() + ", " + point.getY() + ")");

Kotlin code snippet:

val point = mapObjectPickResult.point
println("Map object picked at screen position (${screenPosition.x}, ${screenPosition.y})")
println(" Object location: (${point.x}, ${point.y})")

Reimplemented from com.navigine.idl.java.MapObjectPickResult.

Definition at line 27 of file MapObjectPickResultBinding.java.

◆ getSublocationId()

Integer com.navigine.idl.java.internal.MapObjectPickResultBinding.getSublocationId ( )
inline

Floor the picked object is attached to, or null for the outdoor map.

Returns

Reimplemented from com.navigine.idl.java.MapObjectPickResult.

Definition at line 34 of file MapObjectPickResultBinding.java.


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