-
Name Type Description options
Zoom options.
Name Type Description className
string | undefined Class name
delta
number | undefined Delta zoom
duration
number | undefined Duration zoom
position
string | undefined Positions available:
bottom-right
,bottom-left
,top-right
,top-left
. Default:bottom-right
target
Element | undefined Target element
Extends
Methods
-
Returns
cercalia
Map objectReturns:
Cercalia map.
-
Get class name.
Returns:
Class name.
-
Get control HTML Element
Returns:
HTML Element
-
Get control id.
Returns:
Id.
-
Returns
mapboxgl
Map object -
Get control name. Null if control has not defined name.
Returns:
Class name.
-
Hide control.
-
Show control.