VMELocation

class VMELocation(position: VMEPosition, bearing: Double, accuracy: Double)

VMELocation object incorporates the position within the map as well as values indicating the accuracy of the measurements and the bearing in which the location is moving.

Return

A new VMELocation object.

Since

1.2

Parameters

position

The position of the location. The position is represented graphically within the map.

bearing

The bearing of the location, measured in degrees. A bearing of 0 degrees indicates North. The bearing is used to orient the camera when location tracker is enabled. Negative values will be ignored.

accuracy

The radius of uncertainty for the location, measured in meters. The accuracy is represented graphically within the map. Negative values will be ignored.

Constructors

Link copied to clipboard
fun VMELocation(location: VMELocation)
Link copied to clipboard
fun VMELocation(position: VMEPosition, bearing: Double, accuracy: Double)

Instantiate a new instance of VMELocation

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Compares this location to the specified object.

Link copied to clipboard
open override fun hashCode(): Int

Properties

Link copied to clipboard
val accuracy: Double

The radius of uncertainty for the location, measured in meters. The accuracy is represented graphically within the map. Negative values will be ignored.

Link copied to clipboard
val bearing: Double

The bearing of the location, measured in degrees. A bearing of 0 degrees indicates North. The bearing is used to orient the camera when location tracker is enabled. Negative values will be ignored.

Link copied to clipboard
val position: VMEPosition

The position within the scene of this object