-
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 fontsize as function for placement #317
Labels
Comments
@ansis why does the text look pretty much the same size while having the font size value halved? |
Oh, I get it now — placement is done once for a round zoom and only considers max font size in the scale range. |
Pretty high priority now it seems, although I'm not sure how to approach this. @ansis thoughts? |
Done with #361 |
bensleveritt
pushed a commit
to bensleveritt/mapbox-gl-js
that referenced
this issue
Oct 24, 2016
Adds MultiPolygon, MultiLineString and MultiPoint supprt
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If the fontsize increases a lot as you zoom in, then just using the largest fontsize during placement isn't good enough. It adds too much padding around labels and reduces density.
placement with
"fontSize": 40
placement with
"fontSize": 20
The text was updated successfully, but these errors were encountered: