Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

strokeWidth doesn't work when using type: 'polygon' #435

Closed
fab1an opened this issue Oct 4, 2016 · 1 comment
Closed

strokeWidth doesn't work when using type: 'polygon' #435

fab1an opened this issue Oct 4, 2016 · 1 comment

Comments

@fab1an
Copy link
Contributor

fab1an commented Oct 4, 2016

Documentation says strokeWidth should affect polygon and polyline but it works only for the latter.

(Android)

@Oblongmana
Copy link

+1 to this issue, but also on iOS!

I believe this may actually be an error in the documentation rather than a bug? Diving down a horrible rabbit hole of issues across multiple repos leads me to believe it may not be supported in the underlying library, but I'm having difficulty digesting it at 2am.

Other github issues I came across that might (?) be relevant:
mapbox/mapbox-gl-native#324
mapbox/mapbox-gl-style-spec#223
mapbox/mapbox-gl-native#1737
mapbox/mapbox-gl-native#837

Once I'm conscious again tomorrow, I'm likely going to attempt the approach of adding a separate polyline annotation for each polygon. Hopefully doesn't negatively impact performance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants