susanemcg/datadocs — pull request #1 by bowman224 (2013-11-24 01:56:24+00:00)
Title: Add ability to get geolocation data and store it on a DataDoc

This stuff should probably go in its own file and be combined with the DataDoc stuff in a build process, but for now it's just in the main datadoc.js file. Maybe over-engineered haha - wasn't quite sure the scope of how detailed you wanted location information. But this basically adds the ability to pull in native browser geolocation information, which is latitude, longitude. And it also adds in an optional way to get other info from that position, like zipcode, city, state, country by using the Google Maps API.