Google Chrome getting navigator.geolocation
Just when I was writing an article about geolocation and bemoaned the fact that only Firefox on the Desktop supports the “W3C geolocation API“:http://dev.w3.org/geo/api/spec-source.html (Safari only as the mobile version) there is a new beta out that stepped up and filled that hole.
Following the link on “ReadWriteWeb”:http://www.readwriteweb.com/archives/google_chrome_becomes_location_aware.php to the “Chrome Developer Blog”:http://googlechromereleases.blogspot.com/2010/03/dev-channel-update.html I downloaded the beta for Mac and tried it out.
The result, using the “GeoPlanet Explorer”:http://isithackday.com/geoplanet-explorer/geodrilldown.php shows that navigator.geolocation works:
In order to enable geolocation on Chrome you need to start it from the Terminal – for example in OSX:
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --enable-geolocation
Good times ahead. Now ship it, Google!
Tags: chrome, geoawareness, geolocation, Google, w3c



March 4th, 2010 at 11:59 pm
RT @codepo8: Google Chrome beta with geolocation: [link to post] – works brilliantly – YAY just in time for #bonnierhackday next week
– Posted using Chat Catcher
March 5th, 2010 at 12:33 am
RT @codepo8: Google Chrome beta with geolocation: [link to post] // I assumed it was already in there!
– Posted using Chat Catcher
March 5th, 2010 at 12:34 am
Google sabe donde estas RT @dalmaer:@codepo8:Google Chrome beta with geolocation: [link to post] // I assumed it was already in there!
– Posted using Chat Catcher
March 5th, 2010 at 12:35 am
In order to enable geolocation on Chrome, see [link to post] by @codepo8
– Posted using Chat Catcher
March 5th, 2010 at 10:20 am
Oooh. navigator.geolocation in Chrome (almost) : [link to post] Good stuff, now other browsers get on with it please.
– Posted using Chat Catcher