A small overview map control with OpenSpace styling.
The following example shows how to add the overview map control to the map:
var osMap = new OpenSpace.Map('map');
var control = new OpenSpace.Control.OverviewMap();
osMap.addControl(control);
control.maximizeControl();| OpenSpace. | A small overview map control with OpenSpace styling. |
| Constructor | |
| OpenSpace. | Constructs a new OpenSpace.Control.OverviewMap |
| Functions | |
| draw | Render the control in the browser. |
| isSuitableOverview | Determines if the overview map is suitable given the extent and resolution of the main map. |
Render the control in the browser.
draw: function()