Class: CustomControl

cercalia.Control.CustomControl

new cercalia.Control.CustomControl(option)

Name Type Description
option cercaliax.Control.CustomControlOptions

This class let you create a custom control in the tools topbar. You can add several controls. It's necessary specify a name for obtaining the control reference using the getControlsByName function of the cercalia.Map class.

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

Shows the control