Select to view content in your preferred language

Export Map

1169
4
01-01-2013 05:26 AM
Labels (1)
TalShapiro
Emerging Contributor
Hello,

Is there a way to export a Map extent to a file (by size/resolution etc)?

Many thanks,
Tal
0 Kudos
4 Replies
AnttiKajanus1
Deactivated User
Hi,
There is no out-of-the-box functionality but you can create such file by yourself. You get all the needed information from the Map control and then write the needed information to the file.
0 Kudos
TalShapiro
Emerging Contributor
Hi,
I'd like to export the map extent to a png file in a certain size/resolution.
This could be achieved by using RenderTargetBitmap on the rendered map control, however this will require displaying the Map control in a temporary window with the desired size (which is not an option for me...).

Any ideas?
0 Kudos
AnttiKajanus1
Deactivated User
So you want to save some extent content from the one/many services without using a visible map control?

Have you checked PrintTask? If it doesn't work in your case, I think more information about the scenario and the structure of the content that you want to export would help.
0 Kudos
TalShapiro
Emerging Contributor
I'm looking for something similar to the Export Map operation is the REST API for a Map.
I'm developing an application which allows constructing a map from various types of layer of various sources ((Local)DynaimcMapServiceLayers, various TiledMapServiceLayers, GraphicsLayer, ElementLayers...).
I'd like to export the whole map to a png.
0 Kudos