Search results

ZoomToolbarButtonSettings API in JavaScript Maps API control

Specifies the options to customize the buttons in the zoom toolbar.

Properties

borderColor

string

Gets or sets the color of the border of the button in the zoom toolbar.

Defaults to null

borderOpacity

number

Gets or sets the opacity of the border of the button in the zoom toolbar.

Defaults to 1

borderWidth

number

Gets or sets the width of the border of the button in the zoom toolbar.

Defaults to 1

color

string

Gets or sets the color of the icons inside the button.

Defaults to null

fill

string

Gets or sets the fill color of the button.

Defaults to ‘transparent’

highlightColor

string

Gets or sets the color for the button when the mouse has hovered on the same.

Defaults to null

opacity

number

Gets or sets the opacity of the button.

Defaults to 1

padding

number

Gets or sets the padding space between each button.

Defaults to 5

radius

number

Gets or sets the radius of the button. This property is used to modify the size of the button.

Defaults to 30

selectionColor

string

Gets or sets the color of the icons inside the button when selection is performed.

Defaults to null

toolbarItems

ToolbarItem[]

Gets or sets the items that should be displayed in the Maps zoom toolbar. By default, zoom-in, zoom-out, and reset buttons are visible. Other options include selection zoom and panning.

Defaults to ZoomIn