-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Polygon stroke width #324
Comments
My first thought would be to draw the polygon both as a fill and then as a line, but cannot seem to get that to work. |
Correct, this is static right now.
Flagging this as a feature request. |
@ekelleyv that is correct. To draw the polygon as a line:
|
@edenh Fantastic! That worked. Although I believe you meant just On an only slightly related note, how do I avoid the line drawing at the edge of the vector tile? I am creating custom vector tiles using Great work on mapbox-gl, btw. |
@ekelleyv To prevent border lines, we're using a buffered clipping, so that the vector tile actually contains a bit more data around the vector tile's clipping rect. |
Tracking this in mapbox/mapbox-gl-style-spec#223. |
From what I see there is no way to have a polygon (fill) stroke larger than the 1px border (because it uses the 1px strip from antialiasing I assume?). Am I missing a straightforward way to do this? It would be a very nice feature to have.
The text was updated successfully, but these errors were encountered: