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

Add alwaysVisible option to disable text collision #334

Merged
merged 2 commits into from
Mar 17, 2014
Merged

Conversation

mourner
Copy link
Member

@mourner mourner commented Mar 15, 2014

Closes #315. @ansis what do you think?

@mourner
Copy link
Member Author

mourner commented Mar 15, 2014

Maybe there's a better name for the option...

@ansis
Copy link
Contributor

ansis commented Mar 17, 2014

It looks like the features are still inserted into the tree and will block other features (without alwaysVisible) layer. Is this intentional?

@mourner
Copy link
Member Author

mourner commented Mar 17, 2014

@ansis yeah, pretty much — the main purpose is to disable the labels from hiding due to collision, but it's still nice not to collide other features with those.

@ansis
Copy link
Contributor

ansis commented Mar 17, 2014

It seems a bit odd, but merging.

ansis added a commit that referenced this pull request Mar 17, 2014
Add alwaysVisible option to disable text collision
@ansis ansis merged commit 2c1c8a1 into master Mar 17, 2014
@mourner mourner deleted the text-nocollide branch March 17, 2014 20:04
@mourner
Copy link
Member Author

mourner commented Mar 17, 2014

@ansis yeah, should be easy to revert if we get around @edenh's case in a different way.

bensleveritt pushed a commit to bensleveritt/mapbox-gl-js that referenced this pull request Oct 24, 2016
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

Successfully merging this pull request may close these issues.

Option to disable label collisions
2 participants