Packagecom.esri.aws.awx.map.layers
Classpublic class VectorGroupLayer
InheritanceVectorGroupLayer Inheritance com.esri.aws.awx.map.layers.BaseMapLayer
Implementscom.esri.aws.awx.utils.ISvgExportAware, com.esri.aws.osgi.framework.IServiceListener, ILayerVisibility, mx.rpc.IResponder

VectorGroupLayer is a group layer that retrieves vector maps from an ArcWeb Services REST map data source. No Activator is needed.

See also

http://www.arcwebservices.com/v2006/awxlab/Content/grouplayers.htm
VectorGroupLayer data sources


Public Properties
 PropertyDefined by
  autoLoadLayerVisibilities : Boolean
If true, the LayerVisibilities will automatically be downloaded before the first map is downloaded.
VectorGroupLayer
  dataSource : String
The map data source.
VectorGroupLayer
  graticuleAlpha : Number
The graticule alpha.
VectorGroupLayer
  graticuleColor : String
The graticule color.
VectorGroupLayer
  graticuleDistance : Number
The distance in degrees between two adjacent latitudes or two adjacent longitudes on the map.
VectorGroupLayer
  graticuleWidth : int
The pixel width of the graticule.
VectorGroupLayer
  layerVisibilities : Array
[write-only] Write only property for setting the LayerVisibility if you know the layer names.
VectorGroupLayer
  mapStyle : String
Style sheet used in the map.
VectorGroupLayer
  showGraticule : Boolean
Whether to display a graticule on the vector group layer.
VectorGroupLayer
Public Methods
 MethodDefined by
  
VectorGroupLayer(dataSourceValue:String = "bam")
Creates a new VectorGroupLayer.
VectorGroupLayer
  
Getting layer visibilities can be an asynchronous process, so it requires a responder.
VectorGroupLayer
Property detail
autoLoadLayerVisibilitiesproperty
autoLoadLayerVisibilities:Boolean  [read-write]

If true, the LayerVisibilities will automatically be downloaded before the first map is downloaded.

The default value is false.

Implementation
    public function get autoLoadLayerVisibilities():Boolean
    public function set autoLoadLayerVisibilities(value:Boolean):void
dataSourceproperty 
public var dataSource:String

The map data source. See Vector Group Layer data sources for a complete list of supported data sources.

This property can be used as the source for data binding.

graticuleAlphaproperty 
public var graticuleAlpha:Number

The graticule alpha.

The default value is 0.77.

This property can be used as the source for data binding.

graticuleColorproperty 
public var graticuleColor:String

The graticule color.

The default value is 0000FF.

This property can be used as the source for data binding.

graticuleDistanceproperty 
public var graticuleDistance:Number

The distance in degrees between two adjacent latitudes or two adjacent longitudes on the map. Values can range from 1 to 30.

The default value is 5.

This property can be used as the source for data binding.

graticuleWidthproperty 
public var graticuleWidth:int

The pixel width of the graticule. Values can range from 1 to 10.

The default value is 1.

This property can be used as the source for data binding.

layerVisibilitiesproperty 
layerVisibilities:Array  [write-only]

Write only property for setting the LayerVisibility if you know the layer names.

Implementation
    public function set layerVisibilities(value:Array):void
mapStyleproperty 
public var mapStyle:String

Style sheet used in the map.

Style sheets are specific to a data source. The default style for a data source is nt (Neutral). Other options are ce (Classic European), cs (Cool Steel), gs (Gray Scale), or tg (Tangerine). You can set a style for the following data sources: ArcWeb:AND.Roads.World uses nt, gs, or tg; ArcWeb:TA.Streets.EU uses nt, gs, tg, or ce; ArcWeb:TA.Streets.US uses nt, cs, gs, tg, or ce; and ArcWeb:TA.Streets.NA uses nt, gs, or tg.

This property can be used as the source for data binding.

showGraticuleproperty 
public var showGraticule:Boolean

Whether to display a graticule on the vector group layer.

The default value is false.

This property can be used as the source for data binding.

Constructor detail
VectorGroupLayer()constructor
public function VectorGroupLayer(dataSourceValue:String = "bam")

Creates a new VectorGroupLayer. The default data source is 'bam' (Best Available Map).

Parameters
dataSourceValue:String (default = "bam")
Method detail
getLayerVisibilities()method
public function getLayerVisibilities(responder:IResponder):void

Getting layer visibilities can be an asynchronous process, so it requires a responder. An ArrayCollection of LayerVisibility objects will be returned. Changes to the returned ArrayCollection can then be detected by listening to the ArrayCollection's CollectionEvent.COLLECTION_CHANGE event.

Parameters
responder:IResponder — the responder to be called with the LayerVisibilities.