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

fill-extrusion-pattern not work on click event , a bug like #8273 #8460

Closed
longwind91 opened this issue Jul 11, 2019 · 3 comments
Closed

fill-extrusion-pattern not work on click event , a bug like #8273 #8460

longwind91 opened this issue Jul 11, 2019 · 3 comments
Labels
bug 🐞 needs investigation 🔍 Issues that require further research (e.g. it's not clear whether it's GL JS or something else)

Comments

@longwind91
Copy link

mapbox-gl-js version: 0.54.0

browser: chrome

Steps to Trigger Behavior
click map to excute setPaintProperty function, but it don't work, the property fill-extrusion-pattern not changed

Link to Demonstration
https://jsbin.com/rukoji/edit?html,css,js,output

Expected Behavior
change paint property, the fill-extrusion-pattern will be greenArrow

Actual Behavior
don't work, the fill-extrusion-pattern is still redArrow

@mourner mourner added bug 🐞 needs investigation 🔍 Issues that require further research (e.g. it's not clear whether it's GL JS or something else) labels Jul 11, 2019
@ryanhamley
Copy link
Contributor

#8273 is the previous bug report of a similar issue

@pathmapper
Copy link
Contributor

The above linked jsbin demonstration uses v1.0.0.

With v1.1.0 it works as expected (#8289 is available since v1.1.0-beta.1) :
https://jsbin.com/ketaqimece/edit?html,css,js,output

@longwind91
Copy link
Author

it can worsk with v1.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐞 needs investigation 🔍 Issues that require further research (e.g. it's not clear whether it's GL JS or something else)
Projects
None yet
Development

No branches or pull requests

4 participants