Class: Zoom

cercalia.Control.Zoom

new cercalia.Control.Zoom(options)

Zoom Control buttons. Buttons: Zoom In and Zoom Out

Name Type Description
options optional
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 Zoom control position.

Name Type Description
position string

ZoomSlider position, 'left' or 'right'.

Shows the control