sdk-maps / com.tomtom.online.sdk.map / MarkerAnchor

MarkerAnchor

class MarkerAnchor : Serializable

The anchor property of the marker.

Enum Values

Center

Left

Right

Top

Bottom

TopLeft

TopRight

BottomLeft

BottomRight

Properties

xIconOffset

var xIconOffset: Float

Defines the icon offset in the x axis.

yIconOffset

var yIconOffset: Float

Defines the icon offset in the y axis.

Functions

getIconOffset

fun getIconOffset(): PointF!

Returns the icon offset in the x and y axis for the given MarkerAnchor value.