Check out a free preview of the full Introduction to HTML5 and CSS3 course:
The "HTML5 Geolocation" Lesson is part of the full, Introduction to HTML5 and CSS3 course featured in this preview video. Here's what you'd learn in this lesson:

HTML5 GEOLOCATION element allows you to use plugins to enhance web user experience ie: pointing you to nearest location of a BBQ joint. Grab the jQuery plugin at http://github.com/teleject/HTML5-GeoLocation-jQuery-Plugin Use microformat for addresses called hCard via http://microformats.org/code/hcard/creator to convert to a useful format. Then simply load each microformat address. Result is a GoogleMaps-enhanced geolocation feature – http://2010.incontrolconference.com/eats/ Goodbye XHTML! Additional recommended resources: Universal Design for Web Applications by Matt May and Wendy Chisholm, Bulletproof Ajax by Jeremy Keith, Designing with Progressive Enhancement by Filament Group and Microformats Made Simple by Emily Lewis.

Get Unlimited Access Now