How to change strokeColor between points when using DirectionsRenderer
问题 I'm using react-google-maps to render map in website. I have a problem about strokeColor for each line when using waypoints for DirectionsService. How to change strokeColor between them and how to callback after using DirectionsService . This is my source same example: https://tomchentw.github.io/react-google-maps/#directionsrenderer let DirectionsService = new google.maps.DirectionsService; var directionsDisplay = new google.maps.DirectionsRenderer; DirectionsService.route( { origin: new