new OverviewMap(opt_options)
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
OverviewMap options.
|
Methods
-
getCollapsed(){boolean}
control/OverviewMap.js, line 555 -
Determine if the overview map is collapsed.
Returns:
The overview map is collapsed.
-
getCollapsible(){boolean}
control/OverviewMap.js, line 516 -
Return
true
if the overview map is collapsible,false
otherwise.Returns:
True if the widget is collapsible.
-
Return the overview map.
Returns:
Overview map.
-
setCollapsed(collapsed)
control/OverviewMap.js, line 543 -
Collapse or expand the overview map according to the passed parameter. Will not do anything if the overview map isn't collapsible or if the current collapsed state is already the one requested.
Name Type Description collapsed
boolean True if the widget is collapsed.
-
setCollapsible(collapsible)
control/OverviewMap.js, line 525 -
Set whether the overview map should be collapsible.
Name Type Description collapsible
boolean True if the widget is collapsible.
-
setMap()
control/OverviewMap.js, line 233 -