org.gwtopenmaps.openlayers.client.control
Class ScaleLineOptions
java.lang.Object
org.gwtopenmaps.openlayers.client.util.JSObjectWrapper
org.gwtopenmaps.openlayers.client.OpenLayersObjectWrapper
org.gwtopenmaps.openlayers.client.OpenLayersEObjectWrapper
org.gwtopenmaps.openlayers.client.control.ControlOptions
org.gwtopenmaps.openlayers.client.control.ScaleLineOptions
public class ScaleLineOptions
- extends ControlOptions
Set topInUnits and topOutUnits to an empty String to hide top units and
set bottomInUnits and bottomOutUnits to an empty String to hide bottom units.
- Author:
- Edwin Commandeur - Atlis EJS
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScaleLineOptions
public ScaleLineOptions()
setTopInUnits
public void setTopInUnits(String units)
- In refers to ..?zoomed in?...
- Parameters:
units
- - Index into OpenLayers.INCHES_PER_UNIT hashtable,
default is m.
setTopOutUnits
public void setTopOutUnits(String units)
- Out refers to ..?zoomed out?...
- Parameters:
units
- - Index into OpenLayers.INCHES_PER_UNIT hashtable,
default is km.
setBottomInUnits
public void setBottomInUnits(String units)
- In refers to ..?zoomed in?...
- Parameters:
units
- - Index into OpenLayers.INCHES_PER_UNIT hashtable,
default is mi.
setBottomOutUnits
public void setBottomOutUnits(String units)
- Out refers to ..?zoomed out?...
- Parameters:
units
- - Index into OpenLayers.INCHES_PER_UNIT hashtable,
default is ft.
Copyright © 2011 sourceforge. All Rights Reserved.