HTML5 Geolocation with Google Maps


/ Published in: JavaScript
Save to your folder(s)

HTML5 geolocation using the new HTML5 geolocation API, JavaScript and Google Maps. HTML5 geolocation detection is included. This will work in almost every modern browser except IE, but if your browser does not support it, it will tell you so. It will also provide a message to the user if they decline to share their location with the browser. This example uses jQuery.

URL: http://diveintohtml5.org/geolocation.html

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.