provide accuracy in geolocation

This commit is contained in:
Mourner 2010-11-11 12:37:12 +02:00
parent 32ac1f28fe
commit 7e0b87fbb5

View File

@ -30,7 +30,8 @@ L.Map.include({
this.fire('locationfound', {
latlng: new L.LatLng(lat, lng),
bounds: bounds
bounds: bounds,
accuracy: pos.coords.accuracy
});
}
});