VMELocation

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

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
constructor(position: VMEPosition, bearing: Double, accuracy: Double)

Instantiate a new instance of VMELocation

constructor(location: VMELocation)

Properties

Link copied to clipboard

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

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

The position within the scene of this object

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