provide accuracy in geolocation
This commit is contained in:
parent
32ac1f28fe
commit
7e0b87fbb5
@ -30,7 +30,8 @@ L.Map.include({
|
||||
|
||||
this.fire('locationfound', {
|
||||
latlng: new L.LatLng(lat, lng),
|
||||
bounds: bounds
|
||||
bounds: bounds,
|
||||
accuracy: pos.coords.accuracy
|
||||
});
|
||||
}
|
||||
});
|
Loading…
Reference in New Issue
Block a user