I am working on A Web app which is using GOOGLE MAPS API v3.
I am drawing a poly-line
which connects with Google Way Points poly-line
.
I want my poly-line to be of the same color and weight as that of Way Points poly-line
.
But I am not able to figure out what is the color code and stroke weight of that default Google way points Blue-greenish line?
I couldn't find anywhere about default stroke options so, I played a bit myself, it is very close to defaults I think:
directionsDisplay = new google.maps.DirectionsRenderer({
polylineOptions: {
strokeColor: '#0088FF',
strokeWeight: 6,
strokeOpacity: 0.6
}
});
DEMO Fiddle with added above parameters into Google's example: http://jsfiddle.net/z9hJd/
strokeColor
yourself.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With