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.
|
Method Summary |
void |
setBottomInUnits(java.lang.String units)
In refers to ..?zoomed in?... |
void |
setBottomOutUnits(java.lang.String units)
Out refers to ..?zoomed out?... |
void |
setTopInUnits(java.lang.String units)
In refers to ..?zoomed in?... |
void |
setTopOutUnits(java.lang.String units)
Out refers to ..?zoomed out?... |
| 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(java.lang.String units)
- In refers to ..?zoomed in?...
- Parameters:
units - - Index into OpenLayers.INCHES_PER_UNIT hashtable,
default is m.
setTopOutUnits
public void setTopOutUnits(java.lang.String units)
- Out refers to ..?zoomed out?...
- Parameters:
units - - Index into OpenLayers.INCHES_PER_UNIT hashtable,
default is km.
setBottomInUnits
public void setBottomInUnits(java.lang.String units)
- In refers to ..?zoomed in?...
- Parameters:
units - - Index into OpenLayers.INCHES_PER_UNIT hashtable,
default is mi.
setBottomOutUnits
public void setBottomOutUnits(java.lang.String units)
- Out refers to ..?zoomed out?...
- Parameters:
units - - Index into OpenLayers.INCHES_PER_UNIT hashtable,
default is ft.