how to draw a google maps waypoint with multi-colored polylines
问题 Hi I try to draw polylines with directions waypoints on google maps . I tried something like that. My draw I want to draw the routes with different colors like this. Google maps directions example ss I wrote this sample code . function initMap() { var directionsService = new google.maps.DirectionsService; var directionsDisplay = new google.maps.DirectionsRenderer; var map = new google.maps.Map(document.getElementById('map'), { zoom: 6, center: {lat: 41.85, lng: -87.65} }); directionsDisplay