Longitude and latitude from Google maps

Do you need to know the coordinates of somewhere in the world? Open up Google Maps at maps.google.com, find the spot you want and make sure it’s centred in the map, then run this simple JavaScript command in the address bar of your browser…

javascript:void(prompt('Latitude : Longitude', gApplication.getMap().getCenter().lat() + ' : ' + gApplication.getMap().getCenter().lng()));

The latitude and longitude will pop up on you screen for you to copy and paste…

Leave a comment

Your email address will not be published. Required fields are marked *