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
-
getName(){string} inherited
-
Returns the control name
Returns:
Control name
-
hide() inherited
-
Hide the control
-
setPosition(position)
-
Change the Zoom control position.
Name Type Description position
string ZoomSlider position, 'left' or 'right'.
-
show() inherited
-
Shows the control