sdk-maps-ui-extensions / com.tomtom.online.sdk.map.ui.zoom / ZoomButtonsGroup

ZoomButtonsGroup

open class ZoomButtonsGroup : FrameLayout, ZoomingControlsView

Group of buttons that contains zoom in and zoom out button.

Constructors

<init>

ZoomButtonsGroup(context: Context!)

Default constructor that uses context to inflate this group and initialize both zoom buttons with their click listeners. At default visibility of this group is hidden, so call ZoomButtonsGroup#show().

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

Custom constructor that uses context to inflate this group and initialize both zoom buttons with their click listeners. Also it gives ability to provide custom set of attributes. At default visibility of this group is hidden, so call ZoomButtonsGroup#show().

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

Custom constructor that uses context to inflate this group and initialize both zoom buttons with their click listeners. Also it gives ability to provide custom set of attributes and a reference to default style resource. At default visibility of this group is hidden, so call ZoomButtonsGroup#show().

Functions

getView

open fun getView(): ZoomButtonsGroup

hide

open fun hide(): Unit

setMargins

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

setZoomButtonsClickListener

open fun setZoomButtonsClickListener(zoomClickListener: ZoomButtonsClickListener!): Unit

show

open fun show(): Unit