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 optional

ZoomSlider options

Name Type Description
top number | undefined optional

Position respect the upper edge of the map, in pixels. Default value 0.

position string | undefined optional

Horizontal position. Default value left.

Extends

Methods

Returns:
class

Obtain the control DOM element

Returns:
DOM Element

Returns the control name

Returns:
Control name

Hide the control

Change the ZoomSlider control position.

Name Type Description
position string

ZoomSlider position, 'left' or 'right'.

Shows the control