set the enableHighAccuracy to true in the getCurrentPosition method