Kotaro
Kotaro

Reputation: 481

Can I set the stroke style in Google Maps Data Layers?

I am trying to find a way to change a stroke style of lines in Google Maps Data Layers. In this page, the examples shows how to create polygons, and change the stroke width and the fill color of the polygons. However, I cannot find the way to change the stroke style of contour lines to, say, dashed lines. Is it possible to change the stroke style?

Upvotes: 1

Views: 2637

Answers (1)

Yaniv
Yaniv

Reputation: 1001

You can see the full definition of the StyleOptions object literal here. Unfortunately although you can set stroke width, colour and opacity, there is no way to specify broken strokes per your question.

Upvotes: 2

Related Questions