| Package | com.esri.ags.layers |
| Class | public class ArcGISImageServiceLayer |
| Inheritance | ArcGISImageServiceLayer DynamicMapServiceLayer Layer mx.core.UIComponent |
See also
| Property | Defined by | ||
|---|---|---|---|
| bandCount : Number [read-only]
Number of bands in ArcGISImageServiceLayer.
| ArcGISImageServiceLayer | ||
| bandIds : Array
If there are multiple bands, you can either specify a single band to export, or you can change the
band combination (red, green, blue) by specifying the band number, for example, [2, 1, 3].
| ArcGISImageServiceLayer | ||
| compressionQuality : Number
Controls how much loss the image will be subjected to by the compression algorithm.
| ArcGISImageServiceLayer | ||
| copyright : String [read-only]
Map copyright as defined by the map service.
| ArcGISImageServiceLayer | ||
| description : String [read-only]
Map description as defined by the map service.
| ArcGISImageServiceLayer | ||
| disableClientCaching : Boolean
If true, adds a timestamp parameter ("_ts") to the REST request to prevent the request from
being loaded from the browser's cache.
| ArcGISImageServiceLayer | ||
| imageFormat : String
The output image type.
| ArcGISImageServiceLayer | ||
| initialExtent : Extent
[read-only]
Initial extent as defined by the image service.
| ArcGISImageServiceLayer | ||
| interpolation : String
The resampling process of extrapolating the pixel values while transforming the raster dataset when it undergoes warping or when it changes coordinate space.
| ArcGISImageServiceLayer | ||
![]() | isInScaleRange : Boolean
Returns true if the current scale of the map is between the maximum and minimum scale of the layer [added in version 1.3].
| Layer | |
![]() | loaded : Boolean
When the layer is loaded, the value becomes "true" and layer properties can be accessed.
| Layer | |
![]() | map : Map
A reference to the Map this layer is in.
| Layer | |
| maxBandValues : Array [read-only]
Contains array of Numbers where each index represents a single band.
| ArcGISImageServiceLayer | ||
| maxPixelSize : Number [read-only]
The maximum pixel size.
| ArcGISImageServiceLayer | ||
![]() | maxScale : Number = 0
The maximum scale of the layer [added in version 1.3].
| Layer | |
| meanBandValues : Array [read-only]
Contains array of Numbers where each index represents a single band.
| ArcGISImageServiceLayer | ||
| minBandValues : Array [read-only]
Contains array of Numbers where each index represents a single band.
| ArcGISImageServiceLayer | ||
| minPixelSize : Number [read-only]
The minimum pixel size.
| ArcGISImageServiceLayer | ||
![]() | minScale : Number = 0
The minimum scale of the layer [added in version 1.3].
| Layer | |
| pixelSizeX : Number [read-only]
Size of pixel in X direction.
| ArcGISImageServiceLayer | ||
| pixelSizeY : Number [read-only]
Size of pixel in Y direction.
| ArcGISImageServiceLayer | ||
| pixelType : String [read-only]
The pixel type, also known as data type, pertains to the type of values stored in the raster, such as signed integer, unsigned integer, or floating point.
| ArcGISImageServiceLayer | ||
| proxyURL : String
The URL to proxy the request through.
| ArcGISImageServiceLayer | ||
| requestTimeout : Number = -1
The request timeout in seconds.
| ArcGISImageServiceLayer | ||
| serviceDataType : String [read-only]
| ArcGISImageServiceLayer | ||
| serviceDescription : String [read-only]
Map service description as defined by the map service.
| ArcGISImageServiceLayer | ||
| spatialReference : SpatialReference
[read-only]
The spatial reference of the image service.
| ArcGISImageServiceLayer | ||
| stdvBandValues : Array [read-only]
Contains array of Numbers where each index represents a single band.
| ArcGISImageServiceLayer | ||
| token : String
Token for accessing a secure ArcGIS Image service.
| ArcGISImageServiceLayer | ||
| units : String
The units of the layer.
| ArcGISImageServiceLayer | ||
| url : String
URL endpoint of an image service.
| ArcGISImageServiceLayer | ||
| Method | Defined by | ||
|---|---|---|---|
|
ArcGISImageServiceLayer(url:String = null, proxyURL:String = null, token:String = null)
Creates a new ArcGISImageServiceLayer.
| ArcGISImageServiceLayer | ||
|
exportMapImage(imageServiceParameters:ImageServiceParameters = null, responder:IResponder = null):void
Exports a map image using values from the layer as defaults.
| ArcGISImageServiceLayer | ||
![]() |
refresh():void
Causes the layer to redraw or reload its content.
| Layer | |
| Event | Summary | Defined by | ||
|---|---|---|---|---|
![]() | Dispatched when the download of the map image is complete. | DynamicMapServiceLayer | ||
![]() | Dispatched when an input/output error occurs when downloading the map image. | DynamicMapServiceLayer | ||
![]() | Fires after layer properties for the layer are successfully populated. | Layer | ||
![]() | Fires if the layer is unable to load. | Layer | ||
| Dispatched when the map image export is completed. | ArcGISImageServiceLayer | |||
| bandCount | property |
bandCount:Number [read-only]Number of bands in ArcGISImageServiceLayer.
This property can be used as the source for data binding.
Implementation public function get bandCount():Number
| bandIds | property |
bandIds:Array [read-write]If there are multiple bands, you can either specify a single band to export, or you can change the band combination (red, green, blue) by specifying the band number, for example, [2, 1, 3].
This property can be used as the source for data binding.
Implementation public function get bandIds():Array
public function set bandIds(value:Array):void
| compressionQuality | property |
compressionQuality:Number [read-write]Controls how much loss the image will be subjected to by the compression algorithm. Valid value ranges of compression quality are from 0 to 100.
The default value is undefined.
This property can be used as the source for data binding.
Implementation public function get compressionQuality():Number
public function set compressionQuality(value:Number):void
| copyright | property |
copyright:String [read-only]Map copyright as defined by the map service.
This property can be used as the source for data binding.
Implementation public function get copyright():String
| description | property |
description:String [read-only]Map description as defined by the map service.
This property can be used as the source for data binding.
Implementation public function get description():String
| disableClientCaching | property |
disableClientCaching:Boolean [read-write]If true, adds a timestamp parameter ("_ts") to the REST request to prevent the request from being loaded from the browser's cache.
The default value is false.
This property can be used as the source for data binding.
Implementation public function get disableClientCaching():Boolean
public function set disableClientCaching(value:Boolean):void
| imageFormat | property |
imageFormat:String [read-write]The output image type. Valid types are: png8 | png24 | png32 | jpg | gif.
The default value is png8.
This property can be used as the source for data binding.
Implementation public function get imageFormat():String
public function set imageFormat(value:String):void
| initialExtent | property |
initialExtent:Extent [read-only]Initial extent as defined by the image service. Used for the map if it's the first layer in the map and map doesn't have an extent specified.
This property can be used as the source for data binding.
Implementation public function get initialExtent():Extent
| interpolation | property |
interpolation:String [read-write]The resampling process of extrapolating the pixel values while transforming the raster dataset when it undergoes warping or when it changes coordinate space. Valid values are: RSP_BilinearInterpolation | RSP_CubicConvolution | RSP_Majority | RSP_NearestNeighbor
This property can be used as the source for data binding.
Implementation public function get interpolation():String
public function set interpolation(value:String):void
| maxBandValues | property |
maxBandValues:Array [read-only]Contains array of Numbers where each index represents a single band.
This property can be used as the source for data binding.
Implementation public function get maxBandValues():Array
See also
| maxPixelSize | property |
maxPixelSize:Number [read-only]The maximum pixel size.
This property can be used as the source for data binding.
Implementation public function get maxPixelSize():Number
| meanBandValues | property |
meanBandValues:Array [read-only]Contains array of Numbers where each index represents a single band.
This property can be used as the source for data binding.
Implementation public function get meanBandValues():Array
See also
| minBandValues | property |
minBandValues:Array [read-only]Contains array of Numbers where each index represents a single band.
This property can be used as the source for data binding.
Implementation public function get minBandValues():Array
See also
| minPixelSize | property |
minPixelSize:Number [read-only]The minimum pixel size.
This property can be used as the source for data binding.
Implementation public function get minPixelSize():Number
| pixelSizeX | property |
pixelSizeX:Number [read-only]Size of pixel in X direction.
This property can be used as the source for data binding.
Implementation public function get pixelSizeX():Number
See also
| pixelSizeY | property |
pixelSizeY:Number [read-only]Size of pixel in Y direction.
This property can be used as the source for data binding.
Implementation public function get pixelSizeY():Number
See also
| pixelType | property |
pixelType:String [read-only]The pixel type, also known as data type, pertains to the type of values stored in the raster, such as signed integer, unsigned integer, or floating point.
This property can be used as the source for data binding.
Implementation public function get pixelType():String
| proxyURL | property |
proxyURL:String [read-write]The URL to proxy the request through.
This property can be used as the source for data binding.
Implementation public function get proxyURL():String
public function set proxyURL(value:String):void
| requestTimeout | property |
public var requestTimeout:Number = -1The request timeout in seconds. A value less than or equal to zero prevents request timeout.
| serviceDataType | property |
serviceDataType:String [read-only]
This property can be used as the source for data binding.
Implementation public function get serviceDataType():String
| serviceDescription | property |
serviceDescription:String [read-only]Map service description as defined by the map service.
This property can be used as the source for data binding.
Implementation public function get serviceDescription():String
| spatialReference | property |
spatialReference:SpatialReference [read-only]The spatial reference of the image service.
This property can be used as the source for data binding.
Implementation public function get spatialReference():SpatialReference
| stdvBandValues | property |
stdvBandValues:Array [read-only]Contains array of Numbers where each index represents a single band.
This property can be used as the source for data binding.
Implementation public function get stdvBandValues():Array
See also
| token | property |
public var token:StringToken for accessing a secure ArcGIS Image service.
| units | property |
units:String [read-write]The units of the layer. If the layer is the basemap, the map is in these units.
The default value is UNKNOWN_UNITS.
This property can be used as the source for data binding.
Implementation public function get units():String
public function set units(value:String):void
See also
| url | property |
url:String [read-write]URL endpoint of an image service. To obtain the URL, use ArcGIS Services Directory.
This property can be used as the source for data binding.
Implementation public function get url():String
public function set url(value:String):void
| ArcGISImageServiceLayer | () | constructor |
public function ArcGISImageServiceLayer(url:String = null, proxyURL:String = null, token:String = null)Creates a new ArcGISImageServiceLayer.
Parametersurl:String (default = null) — URL to the ArcGIS Server REST resource that represents an image service.
|
|
proxyURL:String (default = null) — The URL to proxy the request through.
|
|
token:String (default = null) — Token for accessing a secure ArcGIS Image service.
|
| exportMapImage | () | method |
public function exportMapImage(imageServiceParameters:ImageServiceParameters = null, responder:IResponder = null):voidExports a map image using values from the layer as defaults. On completion, MapImage is returned. The mapImageExport event is also fired.
ParametersimageServiceParameters:ImageServiceParameters (default = null) — Input parameters to use when exporting the map image.
Non-null properties override the layer's values.
|
|
responder:IResponder (default = null) — IResponder to pass the MapImage result to.
|
See also
| mapImageExport | event |
com.esri.ags.events.MapImageEvent
com.esri.ags.events.MapImageEvent.EXPORT
Dispatched when the map image export is completed.
Defines the value of the type property of a mapImageExport event object.