Loading...
Searching...
No Matches
MapObjectPickResult Class Referenceabstract

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

Inherits Finalizable.

Public Attributes

GlobalPoint get point
 WGS84 location of the picked map object GlobalPoint.
 
int get sublocationId
 Floor the picked object is attached to, or null for the outdoor map.
 
MapObject get mapObject
 Picked map object MapObject.
 

Detailed Description

Class is used to handle information in PickListener.

Referenced from PickListener.

Definition at line 24 of file map_object_pick_result.dart.

Member Data Documentation

◆ mapObject

MapObject get MapObjectPickResult.mapObject

Picked map object MapObject.

Dart code snippet:

MapObject mapObject = mapObjectPickResult.mapObject;
print(" Object type: ${mapObject.runtimeType}");

Definition at line 52 of file map_object_pick_result.dart.

◆ point

GlobalPoint get MapObjectPickResult.point

WGS84 location of the picked map object GlobalPoint.

Dart code snippet:

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

Definition at line 37 of file map_object_pick_result.dart.

◆ sublocationId

int get MapObjectPickResult.sublocationId

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

Definition at line 41 of file map_object_pick_result.dart.


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