How to save esri map as image file

I am using Silverlight 3 and I am trying to take a screenshot of an esri map.

I managed to take a screenshot and save it as a file for silverlight controls, but when I try to access the image of the Esri map, I get a "Pixel access error" error. I heard that this is due to different domains (I'm trying to get a map image on the client side, and the map image is not available on the server side in the silverlight application).

So I'm trying to find a function from esri to save the map image as a file. Does anyone know how to do this? or any other way?

+3
source share
1 answer

I am using a script from the code gallery to print and export images on a map.

The script requires a bit of customization to make it work (plus you need to dig a bit into WCF and self-service), but it has been working fine for several months now. You can see it in action on our website .

+1
source

Source: https://habr.com/ru/post/1749040/


All Articles