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

Allow for 0px size sprites (while point remains visible) #1193

Closed
nvkelso opened this issue Dec 21, 2016 · 1 comment
Closed

Allow for 0px size sprites (while point remains visible) #1193

nvkelso opened this issue Dec 21, 2016 · 1 comment

Comments

@nvkelso
Copy link
Member

nvkelso commented Dec 21, 2016

This is needed so locality labels can initially have townspot icons (point with text attachment) and then have a 0px sized townspot sprite while retaining the text attachment).

Support for this was added in Tangram v0.11.5:

  • Optimize handling of 0px-size points/labels (assists in showing only the text portion when using a points-based style) 825c6d9 300d4cc
@matteblair
Copy link
Member

Upon initial inspection, this seems to "just work".

I'll look more closely and confirm that we aren't generating any problematic "NaN" values or something.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants