Finding longitude and latitude on Google maps

Sunday, June 10, 2007

Google maps does not show the longitude and latitude of a place by default. I remember wasting a lot of time finding these data for an application of mine. This small javascript code can solve the purpose!

javascript:void(prompt('', gApplication.getMap().getCenter()));

This code when copy-pasted in the location bar of browser and executed, pops up a window showing the longitude and latitude.

Posted by anurag at 3:22 AM  

0 comments:

Post a Comment