FWIW, the "latitude and longitude, but also your altitude, heading, and speed" is the standard set of GPS data.<p>Also, some of the relevant Javascript is here: <a href="http://static.ak.fbcdn.net/rsrc.php/z3RA8/hash/273u6o5s.js" rel="nofollow">http://static.ak.fbcdn.net/rsrc.php/z3RA8/hash/273u6o5s.js</a>