FollowPositionPreferences

Follow position with route preferences

Constructors

Link copied to clipboard
constructor(address: Long, isRef: Boolean)

Properties

Link copied to clipboard

Accuracy circle visibility

Link copied to clipboard

Address of native referenced object. nullptr if not referencing any native allocated object. Note native allocation will happen only once.

Link copied to clipboard

The follow position camera focus in viewport coordinates ( between 0.f = left / top and 1.f = right / bottom ).

Link copied to clipboard

Map rotation mode in follow position.

Link copied to clipboard

The map view perspective in follow position mode

Link copied to clipboard

The time interval before starting a a turn presentation in seconds. -1 means using SDK default value

Link copied to clipboard

Allows manually exiting follow position via touch handler events.

Link copied to clipboard

Touch handler distance to object adjust limits

Link copied to clipboard

Touch handler horizontal angle adjust limits.

Link copied to clipboard

Set manually adjusted follow position changes (via touch handler) persistent from one follow position session to another Default value is false

Link copied to clipboard

Touch handler horizontal angle adjust limits.

Link copied to clipboard

The vertical angle

Link copied to clipboard

Zoom level in follow position mode.

Functions

Link copied to clipboard
fun finalize()

Overrides finalize that garbage collector will call when needed.

Link copied to clipboard

True if keeps a reference to a C++ SDK object False if keeps a C++ SDK object

Link copied to clipboard

Check if position tracking object rotation follows map rotation.

Link copied to clipboard
operator fun not(): Boolean

Checks if this object is valid.

Link copied to clipboard
fun release()

Releases the native referenced value of this object if:

Link copied to clipboard
fun setMapRotationMode(mode: EFollowPositionMapRotationMode, angle: Double = 0.0, objectFollowMap: Boolean = true)

Set map rotation mode in follow position

Link copied to clipboard
fun setPerspective(perspective: EMapViewPerspective, animation: Animation? = null)

Set the map view perspective in follow position mode.

Link copied to clipboard
external fun setViewAngle(value: Double, animated: Boolean = false)

Set the vertical angle

Link copied to clipboard
external fun setZoomLevel(zoomLevel: Int, duration: Int = 0): Int

Set a zoom level in follow position mode