Geolocate users with Mootools

Thursday, March 4, 2010
I want to tell You about a Mootools class called Locate.

You can find It directly in the MooForge here; It helps you to use the geolocation feature of those browsers who support it.

It's pretty fast:

var location = new Locate({
onLocate: function(position){
// Do stuff with the position data

Well done, Christopher Beloch. :)

0 commenti:

Post a Comment

Eat this!