JustFly1984 / react-google-maps-api

React Google Maps API
MIT License
1.76k stars 426 forks source link

how can i change direction color ? #3197

Open limonh045 opened 1 year ago

limonh045 commented 1 year ago

I am using this package but i didn't able to change direction color, there are one default color blue

Yrll21 commented 1 year ago

<DirectionsRenderer /> component have an options props that calls the google.maps.DirectionsRendererOptions interface. And this includes poplylineOptions property that you can use to change the rendered direction color.