| Package | com.esri.aws.awx.map.layers |
| Class | public class VectorGroupLayer |
| Inheritance | VectorGroupLayer com.esri.aws.awx.map.layers.BaseMapLayer |
| Implements | com.esri.aws.awx.utils.ISvgExportAware, com.esri.aws.osgi.framework.IServiceListener, ILayerVisibility, mx.rpc.IResponder |
See also
| Property | Defined 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 | ||
| Method | Defined by | ||
|---|---|---|---|
|
VectorGroupLayer(dataSourceValue:String = "bam")
Creates a new VectorGroupLayer.
| VectorGroupLayer | ||
|
getLayerVisibilities(responder:IResponder):void
Getting layer visibilities can be an asynchronous process, so it requires a responder.
| VectorGroupLayer | ||
| autoLoadLayerVisibilities | property |
autoLoadLayerVisibilities:Boolean [read-write]If true, the LayerVisibilities will automatically be downloaded before the first map is downloaded.
The default value is false.
public function get autoLoadLayerVisibilities():Boolean
public function set autoLoadLayerVisibilities(value:Boolean):void
| dataSource | property |
public var dataSource:StringThe 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.
| graticuleAlpha | property |
public var graticuleAlpha:NumberThe graticule alpha.
The default value is 0.77.
This property can be used as the source for data binding.
| graticuleColor | property |
public var graticuleColor:StringThe graticule color.
The default value is 0000FF.
This property can be used as the source for data binding.
| graticuleDistance | property |
public var graticuleDistance:NumberThe 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.
| graticuleWidth | property |
public var graticuleWidth:intThe 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.
| layerVisibilities | property |
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
| mapStyle | property |
public var mapStyle:StringStyle 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.
| showGraticule | property |
public var showGraticule:BooleanWhether 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.
| VectorGroupLayer | () | constructor |
public function VectorGroupLayer(dataSourceValue:String = "bam")Creates a new VectorGroupLayer. The default data source is 'bam' (Best Available Map).
ParametersdataSourceValue:String (default = "bam") |
| getLayerVisibilities | () | method |
public function getLayerVisibilities(responder:IResponder):voidGetting 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.
Parametersresponder:IResponder — the responder to be called with the LayerVisibilities.
|