OpenSpace.Control.OverviewMap

A small overview map control with OpenSpace styling.

Example

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();

Inherits from

  • <OpenLayers.Control.OverviewMap>
Summary
OpenSpace.Control.OverviewMapA small overview map control with OpenSpace styling.
Constructor
OpenSpace.Control.OverviewMapConstructs a new OpenSpace.Control.OverviewMap
Functions
drawRender the control in the browser.
isSuitableOverviewDetermines if the overview map is suitable given the extent and resolution of the main map.

Constructor

OpenSpace.Control.OverviewMap

Constructs a new OpenSpace.Control.OverviewMap

Parameters

options{Object} options to override OpenSpace.DEFAULT_OVERVIEW_MAPOPTIONS

Functions

draw

draw: function()

Render the control in the browser.

isSuitableOverview

Determines if the overview map is suitable given the extent and resolution of the main map.

draw: function()
Render the control in the browser.
Close