문제

I have searched through the web and have read all related questions on Stackoverflow regarding google maps api but I'm kinda overwhelmed and can't choose which one.

What I want to do is:

User get's on my page and I get his location than I display him 3-4 different locations of some shops near the user.

I already have the locations of the shops I just want to display the fastest way from the user to the shop.

Which google api should I choose?

Thanks for your time.

도움이 되었습니까?

해결책

Use this: Google maps directions service

You can find working sample under that link.

for user location use this:

user geolocation

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top