The advantages of the Geolocation API

bridgwatera | No Comments
| More

This is the second post by Mat Diss, founder, bemoko.com, a UK mobile Internet software company that is focused on new ways for web designers to construct better websites that can be delivered across all platforms.

In this blog, Mat, looks at the advantages of the Geolocation API...

The Geolocation API already brings with it the possibility for the user to share their location. By design, this is a user choice on a site-by-site basis - choosing to share their location when they feel they'll benefit and when they trust the service provider. This opens web sites up to the opportunity of location base services, such as finding people or places nearby, combined with mapping services this can all help to create a more pleasurable experience with a service provider - saving time and shoe wear.

You can locate a user by including the javascript below in your page

and then including a find me button like,

 

This example redirects the user to a new URL with the latitude and longitude populated, but you could equally do this with a AJAX call back.


Visit the demo site at: http://bemoko.com/html5demo/i
View Video file: bemoko html5.gelocation.wmv

Leave a comment

Subscribe to blog feed

About this Entry

This page contains a single entry by Adrian Bridgwater published on September 20, 2010 5:31 PM.

HTML 5.0 tutorial: the advantages of native media support for delivering video was the previous entry in this blog.

Oracle OpenWorld: paving the way for Solaris 11 is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.