Packagecom.esri.ags.controls
Classpublic class ScaleBar
InheritanceScaleBar Inheritance mx.core.UIComponent
Implementscom.esri.ags.IMapAware

The Scale Bar control for the Map. By default the scale bar will be visible, but you can change this using the Map.scaleBarVisible property.

Sample image of the scalebar: Scalebar shows miles and km

See also

com.esri.ags.Map.scaleBarVisible


Public Methods
 MethodDefined by
  
Creates a new ScaleBar control.
ScaleBar
Styles
 StyleDescriptionDefined by
  
fillColor
Type: uint   Format: Color   CSS Inheritance: no
The color of the text and the bars. The default value is 0x000000 (black).
ScaleBar
  
outlineColor
Type: uint   Format: Color   CSS Inheritance: no
The color around the text and bars. The default value is 0xFFFFFF (white).
ScaleBar
Constructor detail
ScaleBar()constructor
public function ScaleBar()

Creates a new ScaleBar control.