Finding Longitude & Latitude From Google Maps

This is a really simple problem to solve. Simply navigate to the map position you want the Google Maps longitude and latitude for. Make sure your focal point is at the center of the map frame. Into your browser’s address field type and enter the following string:

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

The quote marks after “prompt(” should be two single apostrophe marks. You should get a Javascript popup window showing you the data you need in the correct format for use with Google Maps API. Make sure you signup for your free API Key, which provides unlimited access to Google Maps for specified domains/directories.

Leave a Reply