require(["esri/layers/MapImage"], function(MapImage) { /* code goes here */ });Description
(Added at v1.0)
Represents the data object for the dynamically generated map. This is returned after a successful export operation on
ArcGISDynamicMapServiceLayerand
Geoprocessor.getResultImagein the callback and in the event result. The MapImage class can also be used to create a geo-referenced image file for use with the
MapImageLayer.
SamplesSearch for
samplesthat use this class.
Constructors PropertiesConstructor Details
Creates a new Map Image object.
Parameters: <Object
> options Required An object that defines the map image options. options
properties: <Extent
> extent Optional Specfiy an extent for the image. <String
> href Optional Specify the url of the image. Sample:
require([ "esri/layers/MapImage", ... ], function(MapImage, ... ) { var mi = new MapImage({ 'extent': { 'xmin': -8864908, 'ymin': 3885443, 'xmax': -8762763, 'ymax': 3976997, 'spatialReference': { 'wkid': 3857 }}, 'href': imageURL }); ... });
Property Details
Requested image height in pixels.
URL to returned image. The image format must be of a type supported by the HTML img tag.
Known values: gif | jpg | png | bmp
Scale of requested dynamic map.
Requested image width in pixels.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4