new mapboxgl.supermap.LogoControl(options)
Logo.js, line 9
Name | Type | Description | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
logo options.
|
Example
(start code)
map.addControl(new mapboxgl.supermap.LogoControl(),'bottom-right');
(end)
Methods
-
onAdd(){HTMLElement}
Logo.js, line 41 -
Add the logo control.
Returns:
Type Description HTMLElement Return to the div that creates the logo.