rotation and getimage

3083
1
09-14-2010 08:47 AM
MannusEtten
New Contributor
the rest api has the function getimage for exporting a map to file. we use this function for adding a map to a pdf-file.

we build a silverlight-application for the customer. In this application we build the export-to-pdf function and we have a control to rotate the map. The customer can rotate the map in the silverlight-application.

Now we want to export the rotated map to a file. But the rest-api doesn't have some property like "rotation"... How?

How does the rest-api return correct values for an identify if you rotate the map in Silverlight?
0 Kudos
1 Reply
dotMorten_esri
Esri Notable Contributor
The Silverlight control doesn't "rotate" the map at the service level. All it does is applying a rotate transform to the control. Since Silverlight handles all this using it's core transformation system, the coordinates, identify etc automatically gets handled and converted.
If you want to do rotate in your pdf, you would have to insert the image rotated into the PDF. Depending on the PDF library you are using this may or may not be possible.
0 Kudos