Constructor
new BaselayerSwitcher(map, positionopt, baseLayers)
Creates an instance of BaselayerSwitcher.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
map |
Map | The map object. | ||
position |
string |
<optional> |
"bottom-left" | The position of the baselayer switcher on the map. |
baseLayers |
Object | The base layers for the switcher. |
- Source:
Extends
- UiElement
Methods
enableInfoButton()
Enables the info button of the baselayer switcher.
- Source:
update()
Updates the baselayer switcher.
- Source: