google maps api v3 polyline default options?
google-maps, google-maps-api-3
Solution
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/
- You can look at http://www.colorpicker.com/ to check colors and play with `strokeColor` yourself.
Problem
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?