php - How should I create route on with google maps API? -


problem

hi, new google maps api. want achieve results showed in below image. reading docs in google maps api v3 couldn't figure out library should use draw route, show km(distance) ran user or start , end point marker.

any leading docs or demo/tutorial provided google or developer related topic great. in advance.

map image

google maps

read https://developers.google.com/maps/documentation/javascript/directions

and search

distance.value

to display km


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -