org.gwtopenmaps.openlayers.client.control
Class ScaleLineOptions

java.lang.Object
  extended by org.gwtopenmaps.openlayers.client.util.JSObjectWrapper
      extended by org.gwtopenmaps.openlayers.client.OpenLayersObjectWrapper
          extended by org.gwtopenmaps.openlayers.client.OpenLayersEObjectWrapper
              extended by org.gwtopenmaps.openlayers.client.control.ControlOptions
                  extended by 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

Field Summary
 
Fields inherited from class org.gwtopenmaps.openlayers.client.OpenLayersEObjectWrapper
eventListeners
 
Constructor Summary
ScaleLineOptions()
           
 
Method Summary
 void setBottomInUnits(String units)
          In refers to ..?zoomed in?...
 void setBottomOutUnits(String units)
          Out refers to ..?zoomed out?...
 void setTopInUnits(String units)
          In refers to ..?zoomed in?...
 void setTopOutUnits(String units)
          Out refers to ..?zoomed out?...
 
Methods inherited from class org.gwtopenmaps.openlayers.client.OpenLayersEObjectWrapper
getListeners, narrowToOpenLayersEObjectWrapper, removeListener
 
Methods inherited from class org.gwtopenmaps.openlayers.client.OpenLayersObjectWrapper
getClassName, getEvents, narrowToOpenLayersObjectWrapper
 
Methods inherited from class org.gwtopenmaps.openlayers.client.util.JSObjectWrapper
getJSObject, setJSObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScaleLineOptions

public ScaleLineOptions()
Method Detail

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.