Jump to content

Show nearby locations


bryan choo

Recommended Posts

Maybe this would come with the geomaps add on, but it does not have to!

 

  • Sometimes ppl have already gathered at one place but don't know where to go next.
  • It would be great if we can suggest places to users based on their location.
  • The current search function is kinda limited as it's just a keyword based search.

 

Use HTML5 Geolocation (supported by most smart phones) so people can easily identify nearby listings.

 

something like

 

<script>

var x=document.getElementById("demo");

function getLocation()

 {

 if (navigator.geolocation)

   {

   navigator.geolocation.getCurrentPosition(showPosition);

   }

 else{x.innerHTML="Geolocation is not supported by this browser.";}

 }

function showNearby(position)

 {

blablabla

 }

</script>

 

The trend keeps moving towards smart phones so i think implementing this sooner than later would be good!

Link to comment
  • 3 weeks later...
×
×
  • Create New...