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

ArrowButtonsGroup

open class ArrowButtonsGroup : FrameLayout, PanningControlsView

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

Constructors

<init>

ArrowButtonsGroup(context: Context!)

Default constructor that uses context to inflate this layout, init views and listeners for every arrow button.

ArrowButtonsGroup(context: Context!, attrs: AttributeSet!)

Custom constructor that uses context to inflate this layout, init views and listeners for every arrow button. This constructor also gives ability to provide custom set of attributes.

ArrowButtonsGroup(context: Context!, attrs: AttributeSet!, defStyleAttr: Int)

Custom constructor that uses context to inflate this layout, init views and listeners for every arrow button. This constructor also gives ability to provide custom set of attributes and a reference to default style resource.

Inherited 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

getView

open fun getView(): ArrowButtonsGroup

hide

open fun hide(): Unit

setArrowButtonsClickListener

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

Method to register on click listeners for group of arrow buttons.

setMargins

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

show

open fun show(): Unit