Class: ZoomSlider

cercalia.Control.ZoomSlider

This control let you zoom in - out using the mouse scroll.
This control is not avaliable in the mobile version.

new cercalia.Control.ZoomSlider(options)

Name Type Description
options cercaliax.Control.ZoomSliderOptions | undefined optional

ZoomSlider options

Extends

Methods

getClass(){string} inherited

Returns:
class

getElement(){HTMLElement} inherited

Obtain the control DOM element

Returns:
DOM Element

Returns the control name

Returns:
Control name

Hide the control

setPosition(position)

Change the ZoomSlider control position.

Name Type Description
position string

ZoomSlider position, 'left' or 'right'.

Shows the control