Watch the first few minutes on us! If you'd like to watch the entire video and hundreds more like it, download code samples, access offline videos and skills assessments, and use the discussion forums, log in or purchase a subscription.
HTML5’s geolocation API allows you to build apps like Urban Spoon that factor in the user’s location. It has methods for getting a one-time fix on the user’s location, and for tracking changes in the user’s location in real time. Learn how to use this API to build location-aware apps that run on any HTML5 platform, including desktop devices that lack GPS receivers and cellular radio hardware.