I'll try to make this short and understandable.
I am trying to get the CORRECT lat/long points from a rendered image in a picturebox using the ConvertToLatLong function. As you mouse over (or click ) the X and Y of the picture box are passed into the "convert" function which then gives you the lat/long correspning to that point.
1. If I create a brand new MapView, choose a centerpoint and don't set any MapOptions I get the correct results.
BUT...
2. If I set scale (or height & width) I get whacked out results. The same goes for zooming or panning (even after #1 above). So for example when my program first comes up I would like to see the US. So I create a new MapView and set the height and width at like 4000. I click on an area like Buffalo, NY which should give me (lat/long of 40s/-70s) and I get things in the (17s/-108s)
I have tried a NUMBER of different work arounds and I have read the documentation over and over. I just don't understand why it is messed up.
One thing I can say is if I run #1 and then zoom out say (3x) - I get the view of the US. My CenterPoints in both #1 and #1-zoom3 are the same,, my scale, height, width and ESPECIALLY Bounding Rectangle are all VERY different, BUT the only thing I have adjusted is the Zoom.
I hope someone can help me out. If I have not been clear, please let me know.
Thanks in advance.
Daryl