sdk-maps-ui-extensions / com.tomtom.online.sdk.map.ui.arrowbuttons / PanningControlsView

PanningControlsView

interface PanningControlsView : MapComponentView

The complex view which groups buttons of the map panning control.

Types

ArrowButtonsClickListener

interface ArrowButtonsClickListener

Listener listener to react on when user will click on one of the panning buttons (up/down/left/right).

Properties

DEFAULT_PANNING_DURATION

static val DEFAULT_PANNING_DURATION: Long

DEFAULT_PANNING_OFFSET

static val DEFAULT_PANNING_OFFSET: Double

PANNING_OFFSET

static val PANNING_OFFSET: Double

Functions

setArrowButtonsClickListener

abstract fun setArrowButtonsClickListener(arrowsClickListener: PanningControlsView.ArrowButtonsClickListener!): Unit

Sets the listener to react on when user will click on one of the panning buttons (up/down/left/right).

Inherited Functions

getView

abstract fun getView(): View!

The Android's View which is used by the Map Component.

hide

abstract fun hide(): Unit

Hides the ui component.

setMargins

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

Sets the margins of the ui component in PX.

show

abstract fun show(): Unit

Shows the ui component.

Inheritors

ArrowButtonsGroup

open class ArrowButtonsGroup : FrameLayout, PanningControlsView

Group of arrow buttons used to control camera position. This class contains arrow buttons for every direction.