Class: Zoom

cercalia.Control.Zoom

new cercalia.Control.Zoom(options)

Zoom Control buttons. Buttons: Zoom In and Zoom Out

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

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 Zoom control position.

Name Type Description
position string

ZoomSlider position, 'left' or 'right'.

Shows the control