Google Chrome getting navigator.geolocation
Thursday, March 4th, 2010 at 11:41 pmJust when I was writing an article about geolocation and bemoaned the fact that only Firefox on the Desktop supports the W3C geolocation API (Safari only as the mobile version) there is a new beta out that stepped up and filled that hole.
Following the link on ReadWriteWeb to the Chrome Developer Blog I downloaded the beta for Mac and tried it out.
The result, using the GeoPlanet Explorer 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