Using Longitude/Latitude as Waypoint
问题 I'm trying to use the longitude latitude as a waypoint in my google maps and cant seem to get it working. Here's how I have my values pushed waypts_mtlsheloc.push({ location: (45.658197,-73.636333), //I don't think I'm supposed to write this like that. But can't find the right way. stopover: true }) And then try to modify my line like this service.route({ origin: latlng_mtlsheloc[0], destination: latlng_mtlsheloc[latlng_mtlsheloc.length - 1], waypoints:waypts_mtlsheloc, travelMode: google