Closed hamishfagg closed 3 years ago
Thanks for noticing that, I apparently forgot to apply the properties on the shapes when they are created. I will push a fix soon!
I just published a v1.8.1 where this issue should be fixed. Let me know if you still face any problem, and feel free to reopen this issue if necessary.
Describe the bug I can't get an expression like
['get', 'color']
to get a line's color from a property.To Reproduce Using the LineLayerOnReady sample as a starting point,
Edit the line definition to read like this:
Change LineLayerOptions to this:
Expected behavior Line color should come from the property specified
Screenshots Errors in the browser console:
Desktop (please complete the following information):