I like the idea to search for users by proximity according to coordinates
If I could add to this request:
It would be really great if it was possible to include a feature where the browser asks to pull your coordinates and then updates your geolocation: So if users where using your site from a mobile device.
<div>
<input type="text" id="lat_field" name="latitude" />
<input type="text" id="long_field" name="longitude" />
</div>
<script>
navigator.geolocation.getCurrentPosition(
function(pos) {
$("#lat_field").val(pos.coords.latitude);
$("#long_field").val(pos.coords.longitude);
}
);
</script>
IDEAS:
(1)
www.mobilehtml5.com/post/371921120/tutor...html5-app-the-basics
(2) Use API from:
simplegeo.com/
GET geolocation from the browser! Please
thanks to anyone