new Overview( [options])
Parameters:
Name | Type | Argument | Description | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
<optional> |
Control options. Properties
|
Extends
Methods
-
calcExtent_()
-
Calculate the extent of the map and draw it on the overview
-
getOverviewMap()
-
Get overview map
Returns:
- Type
- ol.Map
-
setMap(map)
-
Set the map instance the control associated with.
Parameters:
Name Type Description map
ol.Map The map instance.
-
setPosition(align)
-
Set overview map position
Parameters:
Name Type Description align
top | bottom-left | right -
toggleMap()
-
Toggle overview map