A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developers.arcgis.com/javascript/3/jsapi/mapimage-amd.html below:

MapImage | API Reference | ArcGIS API for JavaScript 3.46

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

ArcGISDynamicMapServiceLayer

and

Geoprocessor.getResultImage

in 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

.

Samples

Search for

samples

that use this class.

Constructors Properties

Constructor 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