ThinkGeo.com    |     Documentation    |     Premium Support

Display lat/long in Degrees, minutes

Hi,


How can i convert the latitude and longitude in degree minutes ?


That's the values located at the bottom right corner when the mouse position is enabled.


Thanks!


 



Kwong,  
  
 Thanks for your post! 
  
 You can use the GetDegreesMinutesSecondsStringFromDecimalDegrees() Method to return you Degrees, Minutes, and Seconds from your DecimalDegree values.

But i would like the mouse position to be displayed in that converted form at the bottom right when the user point at the map. 
  
 How should i achieve that ?  
  
 

Kwong, 
  
   Currently we do not support showing the X & Y in degrees, minutes and seconds however we can enhance it to provide that functionality.  This is now entered in our issue tracking system and may be included in the next beta build in a few weeks.   
  
 David

Kwong, 
  
   One other note:  The issue number is MS3-4902 and I have added notes to update the discussion forum thread when the item is complete and in the next beta build.  No guarantee that it will be in there as I am not part of the prioritizing process. 
  
 David

Also, 
  
 Normally we display coordinates in (lat,long) format but Mapsuite seems to switch it around! 
  
 I wonder why. Is there a way to change it ?

Kwong, 
  
 We display the X and then the Y coordinate.  That correlates to longitude then latitude.  X = Longitude and Y = Latitude.  So when people say “Lat/Long” they are saying “Y/X”.  When we display the X & Y we use X and then Y.  Confusing isn’t it??  I will add to the issue to allow us to switch the order. 
  
 David

 
 Yes, i understand that but the end user might think in (lat,long) 
  
 Thanks!

Would the next release include this feature ?

The new release will have this feature to show long & lat and it will be out on Monday.  I do not think you can swap them though.  I will need to check on that. 
  
 David 
 

Kwong, 
  
 The new beta release is posted online with the option Map1.MousePosition.MousePositionType. 
  
 David

Noticed that but there’s no way to switch it around.

Kwong,


As I mentioned earlier we were not able to add that switch piece yet. It will go in on the next beta release. At this point since we just released one I don’t know when that will be but I guess in 2-3 weeks.
David