GetImageAsync

2484
1
Jump to solution
08-20-2015 07:54 AM
MarkCederholm
Regular Contributor II

Is there an example of calling GetImageAsync on an ArcGISDynamicMapServiceLayer?  I'm stumped as to how to get a reference to an ImageParameters object.  In the JavaScript API there's a constructor for it.

Update:  I was able to work around it by making the REST call directly.  I would have liked a simpler solution.

0 Kudos
1 Solution

Accepted Solutions
dotMorten_esri
Esri Frequent Contributor

GetImageAsync is an implementation detail that dynamic layers must implement for the MapView to render the layer. The method is not meant to be called directly (it's marked protected so it's not even possible to call it from the outside).

View solution in original post

0 Kudos
1 Reply
dotMorten_esri
Esri Frequent Contributor

GetImageAsync is an implementation detail that dynamic layers must implement for the MapView to render the layer. The method is not meant to be called directly (it's marked protected so it's not even possible to call it from the outside).

0 Kudos