{"id":391952,"date":"2010-03-05T04:00:00","date_gmt":"2010-03-05T08:00:00","guid":{"rendered":"tag:blogger.com,1999:blog-1652419620964346731.post-7287396233292153491"},"modified":"2010-03-05T04:00:00","modified_gmt":"2010-03-05T08:00:00","slug":"get-latitude-and-longitude-from-google-maps","status":"publish","type":"post","link":"https:\/\/mereja.media\/index\/391952","title":{"rendered":"Get latitude and longitude from Google Maps"},"content":{"rendered":"<p>So say you need to get the latitude and longitude from a <a href=\"http:\/\/maps.google.com\" >Google map<\/a> to post in some app or what not. Sure there apps or you can read though the url query string and look for the ll= section but i found that putting this little javascript code in the url makes it just a lot easier to find it. <\/p>\n<p>Now if you have Firefox installed and have a tab plugin that puts urls entered in the address bar to open in a new window this will not work, so just use another browser and it should work fine.<\/p>\n<p>This can be useful for Geocaching, which according to <a href=\"http:\/\/en.wikipedia.org\/wiki\/Geocaching\">Wikipedia<\/a> is,<em><strong> \u201can outdoor activity in which the participants use a Global Positioning System (GPS) receiver or other navigational techniques to hide and seek containers (called &quot;geocaches&quot; or &quot;caches&quot;) anywhere in the world. A typical cache is a small waterproof container (usually a tupperware or ammo box) containing a logbook. Larger containers can also contain items for trading, usually toys or trinkets of little value. Geocaching is most often described as a &quot;game of high-tech hide and seek&quot;, sharing many aspects with orienteering, treasure-hunting, and waymarking.\u201d<\/strong><\/em><\/p>\n<p>You could hide a cache, then using Google Maps and the javascript below, pinpoint the latitude and longitude of the cache. Kind of a neat trick right?<\/p>\n<p>&#160;<\/p>\n<p>Paste into URL: <\/p>\n<p><textarea style=\"width: 503px; height: 39px\" rows=\"rows\" cols=\"cols\">javascript:alert(window.gApplication.getMap().getCenter());<\/textarea><\/p>\n<p>Know of any other cool Google Maps tricks? Let us know in the comments.<\/p>\n<p align=\"right\">By <a href=\"http:\/\/makemeasammich.net\" >FreedomChicken<\/a><\/p>\n<div style=\"padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px\" id=\"scid:0767317B-992E-4b12-91E0-4F059A8CECA8:03a138cd-cc7d-4290-a467-b32171b3cb57\" class=\"wlWriterEditableSmartContent\">Technorati Tags: <a href=\"http:\/\/technorati.com\/tags\/google+maps\" rel=\"tag\">google maps<\/a>,<a href=\"http:\/\/technorati.com\/tags\/how+to\" rel=\"tag\">how to<\/a>,<a href=\"http:\/\/technorati.com\/tags\/latitude\" rel=\"tag\">latitude<\/a>,<a href=\"http:\/\/technorati.com\/tags\/longitude\" rel=\"tag\">longitude<\/a><\/div>\n<div class=\"blogger-post-footer\"><Br \/><center><a href=\"http:\/\/www.anrdoezrs.net\/click-3773910-10438541?cm_mmc=CJ-_-2769020-_-3773910-_-Home_468x60-Anim_8-24-2006\" ><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.ftjcfx.com\/image-3773910-10438541\" width=\"468\" height=\"60\" alt=\"Great Deals @ Geeks.com!\" border=\"0\"\/><\/a><\/center><img width='1' height='1' src='https:\/\/blogger.googleusercontent.com\/tracker\/1652419620964346731-7287396233292153491?l=www.bauer-power.net' alt='' \/><\/div>\n<div class=\"feedflare\">\n<a href=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?a=jXbVBGYLw_8:kMIJL5xjLl8:yIl2AUoC8zA\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?d=yIl2AUoC8zA\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?a=jXbVBGYLw_8:kMIJL5xjLl8:dnMXMwOfBR0\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?d=dnMXMwOfBR0\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?a=jXbVBGYLw_8:kMIJL5xjLl8:V_sGLiPBpWU\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?i=jXbVBGYLw_8:kMIJL5xjLl8:V_sGLiPBpWU\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?a=jXbVBGYLw_8:kMIJL5xjLl8:gIN9vFwOqvQ\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?i=jXbVBGYLw_8:kMIJL5xjLl8:gIN9vFwOqvQ\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?a=jXbVBGYLw_8:kMIJL5xjLl8:YwkR-u9nhCs\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?d=YwkR-u9nhCs\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?a=jXbVBGYLw_8:kMIJL5xjLl8:F7zBnMyn0Lo\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?i=jXbVBGYLw_8:kMIJL5xjLl8:F7zBnMyn0Lo\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?a=jXbVBGYLw_8:kMIJL5xjLl8:wF9xT3WuBAs\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?i=jXbVBGYLw_8:kMIJL5xjLl8:wF9xT3WuBAs\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?a=jXbVBGYLw_8:kMIJL5xjLl8:jTJX5pvEcCQ\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?i=jXbVBGYLw_8:kMIJL5xjLl8:jTJX5pvEcCQ\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?a=jXbVBGYLw_8:kMIJL5xjLl8:TzevzKxY174\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?d=TzevzKxY174\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?a=jXbVBGYLw_8:kMIJL5xjLl8:qj6IDK7rITs\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?d=qj6IDK7rITs\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?a=jXbVBGYLw_8:kMIJL5xjLl8:7Q72WNTAKBA\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?d=7Q72WNTAKBA\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?a=jXbVBGYLw_8:kMIJL5xjLl8:nHK9nIK91uw\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?i=jXbVBGYLw_8:kMIJL5xjLl8:nHK9nIK91uw\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?a=jXbVBGYLw_8:kMIJL5xjLl8:tdI4wLSbWXI\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Bauer-power?i=jXbVBGYLw_8:kMIJL5xjLl8:tdI4wLSbWXI\" border=\"0\"><\/img><\/a>\n<\/div>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~r\/Bauer-power\/~4\/jXbVBGYLw_8\" height=\"1\" width=\"1\"\/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>So say you need to get the latitude and longitude from a Google map to post in some app or what not. Sure there apps or you can read though the url query string and look for the ll= section but i found that putting this little javascript code in the url makes it just [&hellip;]<\/p>\n","protected":false},"author":3078,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-391952","post","type-post","status-publish","format-standard","hentry","category-news"],"_links":{"self":[{"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/posts\/391952","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/users\/3078"}],"replies":[{"embeddable":true,"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/comments?post=391952"}],"version-history":[{"count":0,"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/posts\/391952\/revisions"}],"wp:attachment":[{"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/media?parent=391952"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/categories?post=391952"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/tags?post=391952"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}