How can i get routing between two points in google maps api using lat long?

  directions, google-maps, javascript

I have two preset points point1(lat1,long1), point2(lat2,long2).
How can i draw directions between the two points when the page loads, not i until select them or click on a button. Using Google maps API?

Source: Ask Javascript Questions

LEAVE A COMMENT