Sign up for newsletters or to my RSS feeds to receive updates automatically blog!

How to get latitude and longitude of a location



Google Images: St Peter's Square Thanks to a simple trick you can get with Google Maps data on longitude and latitude of any location.
The procedure is very simple: first of all you have to access Google Maps and search for the location by entering its address in the search box, once the map is centered on 'address tried, be careful not to scorrerla in any direction and glued on browser's address bar the following call javascript:

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

Once given sending, a box containing the latitude and longitude of the site!
Warning: If you are using Internet Explorer is likely to default the command javascript to display coordinates blocked and you may receive a message that there needs to confirm the reliability of the site: in this case do not hesitate to give the ok.

Subscribe my RSS feeds Did you like this article? Subscribe now RSS feeds!



4 Comments'

RSS feed of the comments of this post. TrackBack URI

  1. Excellent, simple and efficient : D

    Thank you

    Remarks by Cristiano - June 19, 2007 #

  2. I agree with remarks by Cristiano
    Utilissimo for those who use Gmap
    Thanks

    Comment by claudio - March 8, 2008 #

  3. fantastic!
    thank you :-D

    Comment by wanilla - March 27, 2008 #

  4. Congratulations!
    Thank you! It 'very useful!

    Comment by Byrgy - August 25, 2008 #

Leave a comment

XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


Valid XHTML and CSS. ^ Top


Close
Send e-mail