-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Support property functions for icon-image #4304
Comments
Attempted to upgrade from 0.31 to 0.33, getting the same type of exceptions on other properties as well, such as "line-width". |
The error is correct; |
I guess we didn't have a tracking issue for |
Hey everyone,
We've been using mapbox-gl for a bit now and rely on
icon-image
property functionality to draw our symbols based on a property value. Theproperty
tag has worked on versions 0.22.0 to 0.31.0. Since 0.32.0 this functionality seems to be removed. I've looked around and can't find anything that says it was removed. I know the docs say that data driven styling doesn't work for this tag, but it has worked for many versions.mapbox-gl-js version:
0.22.0 -> 0.31.0 works
0.32.0 + broken
Browser/OS version:
Chrome Version 56.0.2924.87 on Mac OS X 10.11.6
Steps to Trigger Behavior
icon-image
with aproperty
The above example results in
layout.icon-image: property functions not supported
since 0.32.xExpected Behavior
Using
property
foricon-image
functions as it has for many versions.Actual Behavior
Using
property
foricon-image
results inlayout.icon-image: property functions not supported
since 0.32.xThe text was updated successfully, but these errors were encountered: