Is this client side? I assume you mean getting the location through an input field or Geolocation (http://www.w3schools.com/html/html5_geolocation.asp). Create an array of store locations and use google maps api to plot the nearest to your location (https://developers.google.com/maps/documentation/webservices/). Hopefully these links will get you started :)
How to implement Google Map nearest location based on current location
Hi,
I want to implement the Google Map nearest location based on current location in my project. Please help me if anyone knows about on this.
Example: In my city many icici banks are there, i want nearest icici bank location at my position.
Satya
Is this client side? I assume you mean getting the location through an input field or Geolocation (http://www.w3schools.com/html/html5_geolocation.asp). Create an array of store locations and use google maps api to plot the nearest to your location (https://developers.google.com/maps/documentation/webservices/). Hopefully these links will get you started :)
Hi Satya
You can perhaps make use of the Google Distance Matrix stuff here https://developers.google.com/maps/documentation/distancematrix/ as well?
/Jan
is working on a reply...