View Single Post

  #2 (permalink)  
Old 09-08-2004
Gryffyn Gryffyn is offline
Junior Member
White Belt
 
Join Date: May 2004
Posts: 9
Ok, so you're generating a map and saving it as an image somewhere.

When you say that you want to convert lat/long to X,Y coords, are you talking about X,Y coords within the map you generated I assume?

You can get the location object of the lat/long you have with the GetLocation method:
http://msdn.microsoft.com/library/de...etLocation.asp

Then you might look into the LocationToX and LocationToY methods:
http://msdn.microsoft.com/library/de...ocationToX.asp
http://msdn.microsoft.com/library/de...ocationToY.asp


This should give you the X,Y coords of the locations you have visible on your map.

Did that helps?

-TG
Reply With Quote