I am using this code to get directions between two points. Is it possible to change the color of the route from blue? I am not using polyline in my code.
Thanx in advance :)
I am using this code to get directions between two points. Is it possible to change the color of the route from blue? I am not using polyline in my code.
Thanx in advance :)
you can change the color by changing the stroke color :) as simple as that
You can specify the color of the line when you create the DirectionsRenderer, using the optional DirectionsRendererOptions struct.
This works for me, simply changing the line where the DirectionsRenderer object is created: