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

0.23.0 breaks some fill layers that use fill-pattern #3107

Closed
dpieri opened this issue Aug 31, 2016 · 1 comment · Fixed by #3120
Closed

0.23.0 breaks some fill layers that use fill-pattern #3107

dpieri opened this issue Aug 31, 2016 · 1 comment · Fixed by #3120
Labels

Comments

@dpieri
Copy link

dpieri commented Aug 31, 2016

mapbox-gl-js version: 0.23.0

When using 0.22.1 and earlier, a fill layer with fill-outline-color and fill-color and fill-pattern specified will render the pattern, but not the color or outline (as is expected based on my reading of the style spec).

As of 0.23.0 the same layer will now be rendered with no pattern and no color.

To further complicate things, the issue described above does not surface if you use a hex color instead of hsla(). If you use a hex then the pattern renders as expected.

Examples

0.22.1 + hsla(), pattern does render: http://jsbin.com/xujowiqeno/1/edit?html,output

0.23.0 + hsla(), pattern does not render: http://jsbin.com/zifoxutavo/1/edit?html,output

0.23.0 + hex(), pattern does render: http://jsbin.com/mozefaxura/1/edit?html,output

Expected Behavior

Pattern renders.

Actual Behavior

Pattern does not render.

@lucaswoj
Copy link
Contributor

This bug was introduced by #3061. Fix coming shortly.

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

Successfully merging a pull request may close this issue.

3 participants