Search results

ZoomSettings API in JavaScript (ES5) Maps API control

Gets or sets the options to configure maps zooming operations.

Properties

color

string

Gets or sets the color for the toolbar in maps.

Defaults to null

doubleClickZoom

boolean

Enables or disables the double click zooming in maps.

Defaults to false

enable

boolean

Enables or disables the zooming operation in the maps.

Defaults to false

enablePanning

boolean

Enables or disables the panning operation in the maps.

Defaults to true

enableSelectionZooming

boolean

Enables or disables the selection zooming operation in the maps.

Defaults to true

highlightColor

string

Gets or sets the color for the zoom toolbar when the mouse has hovered on toolbar element in maps.

Defaults to null

horizontalAlignment

Alignment

Gets or sets the position type of toolbar when it is placed horizontally.

Defaults to Far

maxZoom

number

Gets or sets the maximum zooming value in maps.

Defaults to 10

minZoom

number

Gets or sets the minimum zooming value in maps.

Defaults to 1

mouseWheelZoom

boolean

Enables or disables the mouse wheel zooming in maps.

Defaults to true

pinchZooming

boolean

Enables or disables the pinch zooming in maps.

Defaults to true

resetToInitial

boolean

Enables or disables the zoom to set to the initial State.

Defaults to true

selectionColor

string

Gets or sets the color for the zooming toolbar when clicking the zooming toolbar in maps.

Defaults to null

shouldZoomInitially

boolean

Enables or disables the ability to zoom based on the marker position while rendering the maps.

Defaults to false

toolBarOrientation

Orientation

Gets or sets the orientation of the zoom toolbar.

Defaults to Horizontal

toolbarSettings

ZoomToolbarSettingsModel

Gets or sets the detailed options to customize the entire zoom toolbar.

toolbars

string[]

Gets or sets the items that are to be shown in the zooming toolbar of the maps. Zoom-in, zoom-out and reset buttons are displayed by default.

verticalAlignment

Alignment

Gets or sets the position type of toolbar when it is placed vertically.

Defaults to Near

zoomFactor

number

Gets or sets the factor of zoom to be displayed while rendering the maps.

Defaults to 1

zoomOnClick

boolean

Enables or disables the zooming on clicking the shapes in maps.

Defaults to false