This is a migrated thread and some comments may be shown as answers.

Stroke Width and Color

2 Answers 41 Views
Map
This is a migrated thread and some comments may be shown as answers.
Matt
Top achievements
Rank 1
Matt asked on 09 Jun 2015, 06:22 PM
If I add a Polygon to my map's shapes I can set it's fill color, but how can I access the stroke to set the width and color.  In particular, what if I'm adding a MultiLineString instead of a Polygon.  I need to make it wider than a single pixel, and I'd like to be able to make it something other than white as well.

2 Answers, 1 is accepted

Sort by
0
Matt
Top achievements
Rank 1
answered on 09 Jun 2015, 06:29 PM
Figured it out.
0
T. Tsonev
Telerik team
answered on 11 Jun 2015, 03:30 PM
Hi,

Glad to hear you've managed to get this working. This is controlled by the style.stroke option in case anyone is wondering.

Regards,
T. Tsonev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Map
Asked by
Matt
Top achievements
Rank 1
Answers by
Matt
Top achievements
Rank 1
T. Tsonev
Telerik team
Share this question
or