org.gwtopenmaps.openlayers.client.control
Class OverviewMap
java.lang.Object
org.gwtopenmaps.openlayers.client.util.JSObjectWrapper
org.gwtopenmaps.openlayers.client.OpenLayersObjectWrapper
org.gwtopenmaps.openlayers.client.OpenLayersEObjectWrapper
org.gwtopenmaps.openlayers.client.control.Control
org.gwtopenmaps.openlayers.client.control.OverviewMap
public class OverviewMap
- extends Control
- Author:
- Edwin Commandeur - Atlis EJS
Method Summary |
boolean |
getAutoPan()
Turn on autoPan |
Map |
getOverviewMap()
The overview map control has a reference to a Map instance,
which is the actual overview map. |
void |
setAutoPan(boolean autoPan)
Turn on autoPan |
Methods inherited from class org.gwtopenmaps.openlayers.client.control.Control |
activate, addControlActivateListener, addControlDeactivateListener, deactivate, disable, enable, getControlId, getLayer, getMap, getZIndex, isActive, narrowToControl, setAutoActivate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OverviewMap
protected OverviewMap(JSObject element)
OverviewMap
public OverviewMap()
OverviewMap
public OverviewMap(OverviewMapOptions options)
getOverviewMap
public Map getOverviewMap()
- The overview map control has a reference to a
Map
instance,
which is the actual overview map.
- Returns:
- map - instance of
Map
map will be null if the control is not added to any map yet
setAutoPan
public void setAutoPan(boolean autoPan)
- Turn on autoPan
- Parameters:
autoPan
-
getAutoPan
public boolean getAutoPan()
- Turn on autoPan
- Returns:
- autoPan
Copyright © 2011 sourceforge. All Rights Reserved.