sdk-maps-ui-extensions / com.tomtom.online.sdk.map.ui.logo / LogoView

LogoView

interface LogoView

Interface for manipulating TomTom logo on the map.

Functions

applyDefaultLogo

abstract fun applyDefaultLogo(): Unit

Change TomTom logo to default colors. Recommended usage is for styles with bright colors (e.g. base style).

applyInvertedLogo

abstract fun applyInvertedLogo(): Unit

Change TomTom logo to inverted mode. Recommended usage is for styles with dark colors (e.g. night style).

restoreDefaultGravity

abstract fun restoreDefaultGravity(): Unit

Restore gravity to default value.

restoreDefaultMargins

abstract fun restoreDefaultMargins(): Unit

Restore margins to default value.

setGravity

abstract fun setGravity(gravity: Int): Unit

Apply new gravity to logo.

setMargins

abstract fun setMargins(left: Int, top: Int, right: Int, bottom: Int): Unit

Sets the margins of the logo in PX.