OpenLayers JavaScript Mapping Library |
OpenLayers. Control. OverviewMapCreate an overview map to display the extent of your main map and provide additional navigation control. Create a new overview map with the OpenLayers.Control.OverviewMap constructor. Inerits fromSummary
ovmap{OpenLayers.Map} A reference to the overvew map itself. size{OpenLayers.Size} The overvew map size in pixels. Note that this is the size of the map itself - the element that contains the map (default class name olControlOverviewMapElement) may have padding or other style attributes added via CSS. layers{Array(OpenLayers.Layer)} Ordered list of layers in the overview map. If none are sent at construction, the base layer for the main map is used. OpenLayers. Control. OverviewMapCreate a new overview map Parameters
|
Deconstruct the control
destroy: function()