Wednesday, July 20, 2011

How to get Latitude and Longitude of a location

  • Open maps.google.com.
  • Point the position, which latitude and longitude require.
  • Place the below JS code in address bar of your browser.
javascript:void(prompt('',gApplication.getMap().getCenter()));
  • A popup alert will show you the latitude and longitude of the selected location.

No comments:

Post a Comment