OpenSpace.Control.SmallMapControl

A simplified handler for pan and zoom events in the OpenSpace style.

Example

The following example shows how to add the small map control to the map:

var osMap = new OpenSpace.Map('map', { controls: [] });

osMap.addControl(new OpenSpace.Control.SmallMapControl());

Inherits from

Summary
OpenSpace.Control.SmallMapControlA simplified handler for pan and zoom events in the OpenSpace style.
Constructor
OpenSpace.Control.SmallMapControlConstructs a new OpenSpace.Control.SmallMapControl

Constructor

OpenSpace.Control.SmallMapControl

Constructs a new OpenSpace.Control.SmallMapControl

A handler for pan and zoom events.
Close