0

I need to find the nearest bus station using Google Maps JavaScript API v3. Currently I'm using the places service to get all of the nearest ones, however I need an option in my app to simply select the closest one. Is this possible without using more services?

Imagining that the central point is the user's current location, I need to find the closest marker based on that point.

enter image description here

Thanks

jskidd3
  • 4,188
  • 14
  • 59
  • 116

0 Answers0