sdk-maps / com.tomtom.online.sdk.map / BaseBalloonViewAdapter / getBalloonOffset

getBalloonOffset

@NonNull open fun getBalloonOffset(marker: Marker!): Point

Overrides BalloonViewAdapter.getBalloonOffset

Specify the position of the balloon relatively to the marker (anchoring). By default it is above the marker icon. It can be overrided to change the default anchoring position.

Parameters

marker - Marker!:

Return
Point: the position of balloon attached to the marker

See Also
Marker#getAnchor()Marker#getIconHeight()Marker#getIconWidth()