sdk-maps / com.tomtom.online.sdk.map.driving / ChevronScreenPosition

ChevronScreenPosition

data class ChevronScreenPosition

Parameters describing a custom position for the Chevron. The values show the proportional position of the chevron in the context of the map view.

(0.0, 0.0) - top-left corner of the map

(1.0, 1.0) - bottom-right corner of the map

(0.5, 0.5) - center the map

Constructors

<init>

ChevronScreenPosition(x: Double, y: Double)

Parameters describing a custom position for the Chevron. The values show the proportional position of the chevron in the context of the map view.

Properties

x

val x: Double

The horizontal position of the Chevron.

y

val y: Double

The vertical position of the Chevron.