When we search route through Google Map web site, like this route:
Google Map will draw the route with nice style, something like as transparent light blue.
Now I want to simulate that style, something like,
new google.maps.Polyline({
path: routePath,
strokeColor: "#0000ff",
strokeOpacity: 0.69,
strokeWeight: 4
});
But I found it is quite difficult to simulate Google’s own style. Anyone has similar experience and help? Thank you.
I found this in the code:
so reasonable options would appear to be