Class: Logo

cercaliagl.control/Logo


Class for internal purposes. It shows map attributions.

new Logo()

Extends

Methods

Returns cercalia Map object

Returns:
Cercalia map.

getClass(){string} inherited

Get class name.

Returns:
Class name.

getElement(){Element} inherited

Get control HTML Element

Returns:
HTML Element

Get control id.

Returns:
Id.

getMap(){module:maplibre-gl~Map} inherited

Returns mapboxgl Map object

getName(){string|null} inherited

Get control name. Null if control has not defined name.

Returns:
Class name.

Hide control.

restoreDefault()

setAttribution(content)

Change attribution content

Name Type Description
content string

Content in HTML string

Show control.