-
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
Stops vs Literal value: Icon size is different for same value. #7066
Comments
Your JSFiddle doesn't seem to work — I see no icons on the map there. |
@mourner https://jsfiddle.net/bewithjonam/Lf1prz26/12/ If I am not wrong, the issue happens only on decimal icon-sizes. And the previous image that i used from the sprite was very small. |
I think the same problem causes my issue: #7017 |
Yes, this has the same underlying cause as #7017: to minimize vertex buffer memory, data-driven @ChrisLoer @ansis Should we just switch |
|
I removed the jsfiddle accidently. Here is an equivalent one: http://jsfiddle.net/bewithjonam/41g8jwco/ |
Is it possible to use 256 instead of 10? |
Symbol layer with
are rendering images at different size.
jsfiddlejsfiddle explaining the issue. In the fiddle I render a iconat size 0.27 and then after 2 seconds I set the same size using stops.
Expected Behavior
It should render with the same size
Actual Behavior
When using stops, it is rendering smaller than when given a literal value
The text was updated successfully, but these errors were encountered: