my application forming route uses google.map api , and i want to send this route to car or phone\\tablet, possibility by Google account(e-mail), via button using javascript; service.route
like this:
service.route({
origin: officeLocation,
destination: officeLocation,
waypoints: clientAdrArray,
travelMode: google.maps.TravelMode.DRIVING,
avoidTolls: true
}, function (response, status) {
if (status === google.maps.DirectionsStatus.OK) {
display.setDirections(response);
} else {
alert('ERROR: ' + status);
}
});
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.