getPosition

open fun getPosition(): GeoCoordinates

Returns the position of selected view object. The meaning of the location for a particular object depends on that object's type. Objects that don't have a location will return position with invalid value. The meaning of the location for certain view objects is as follows: MapView objects: Point - has location. SafetySpot - has location Circle - the center of the circle Container - no location Marker - has location LabeledMarker - has location Polygon - the first vertex Polyline - the first vertex Route - the first waypoint of the route

Return

The position of selected view object.