Packagecom.esri.aws.awx.map.layers
Classpublic class MapImageGroupLayer
InheritanceMapImageGroupLayer Inheritance com.esri.aws.awx.map.layers.BaseMapLayer
Implementscom.esri.aws.osgi.framework.IServiceListener, ILayerVisibility
SubclassesThematicGroupLayer

MapImageGroupLayer is a group layer that retrieves raster maps from ArcWeb Services Map Image data sources. These can include your own uploaded data. Requires MapImageActivator in Framework.

See also

com.esri.aws.services.MapImageActivator
MapImage data sources
Live Sample
com.esri.aws.awx.events.LayerVisibilityEvent


Public Properties
 PropertyDefined by
  dataSource : String
The map data source.
MapImageGroupLayer
  layerVisibilities : Array
[write-only] Write only property for setting the LayerVisibility if you know the layer names.
MapImageGroupLayer
  legendUrl : String
[read-only] The map legend URL.
MapImageGroupLayer
  mapImageFormat : String
The image format of the map.
MapImageGroupLayer
  mapLegend : MapLegend
If set, the map legend URL will be available in legendUrl property.
MapImageGroupLayer
  mapStyle : String
Style sheet used in the map.
MapImageGroupLayer
  returnLayerVisibilities : Boolean
If true, the LayerVisibilities will be requested with the map request.
MapImageGroupLayer
Public Methods
 MethodDefined by
  
Creates a new MapImageGroupLayer
MapImageGroupLayer
  
Getting layer visibilities can be an asynchronous process, so it requires a responder.
MapImageGroupLayer
Property detail
dataSourceproperty
dataSource:String  [read-write]

The map data source. The name of the Map Image data source. Required. See Map Image data sources for valid values (use the name in parenthesis.)

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

Implementation
    public function get dataSource():String
    public function set dataSource(value:String):void
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
legendUrlproperty 
legendUrl:String  [read-only]

The map legend URL. Returned if mapLegend is true.

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

Implementation
    public function get legendUrl():String
mapImageFormatproperty 
mapImageFormat:String  [read-write]

The image format of the map. Valid values are "jpg", "gif", "png", "png8", "svg", or "swf".

The default value is png8.

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

Implementation
    public function get mapImageFormat():String
    public function set mapImageFormat(value:String):void
mapLegendproperty 
mapLegend:MapLegend  [read-write]

If set, the map legend URL will be available in legendUrl property.

Implementation
    public function get mapLegend():MapLegend
    public function set mapLegend(value:MapLegend):void
mapStyleproperty 
mapStyle:String  [read-write]

Style sheet used in the map.

Style sheets are specific to a data source. Default value is "neutral". Valid values are "classicEuropean", "coolSteel", "grayScale", "neutral", and "tangerine". You can set a style for the following data sources: ArcWeb:AND.Roads.World uses "neutral", "grayScale", or "tangerine"; ArcWeb:TA.Streets.EU uses "neutral", "grayScale", "tangerine", or "classicEuropean"; ArcWeb:TA.Streets.US uses "neutral", "coolSteel", "grayScale", "tangerine", or "classicEuropean"; and ArcWeb:TA.Streets.NA uses "neutral", "grayScale", or "tangerine".

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

Implementation
    public function get mapStyle():String
    public function set mapStyle(value:String):void
returnLayerVisibilitiesproperty 
returnLayerVisibilities:Boolean  [read-write]

If true, the LayerVisibilities will be requested with the map request. If set to false, the getLayerVisibilities method will return an empty ArrayCollection.

The default value is false.

Implementation
    public function get returnLayerVisibilities():Boolean
    public function set returnLayerVisibilities(value:Boolean):void
Constructor detail
MapImageGroupLayer()constructor
public function MapImageGroupLayer()

Creates a new MapImageGroupLayer

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.