Hi All
Can somebody help me with some explanation? ??
I???m working on a Silverlight usercontrol for printing. The user selects paper size, orientation, resolution and output scale, then clicks in the map and then I???ve made a class that takes the parameters and creates a BitmapImage using the mapserver/?export feature. That works fine.(the export part of the code.. not the image returned ??) The thing I just can understand I how the Map.resolution works, and how to calculate the extends of the export bounding box based on the position of the mouse.
I???ve found an example on how to calculate the Scale of the current view.-
From the API documentation
Map scale = 1 : (96dpi * 39.37 inches/meter * (Map.Resolution * 1))
Why the 39.37 ??
And when I click in the map I get example 206,602 how can I make that an point I can use to the export ex 55212.21545,625879.15455 ?? I???m having trouble understanding the way the map uses the Map resolution .. Can anybody give point me to some sort of explanation ? 🙂