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

Enable variable placement with allowed text overlap #8620

Merged
merged 1 commit into from
Aug 12, 2019

Conversation

pozdnyakov
Copy link
Contributor

The engine is trying to place the text first, and allows collision only if there is no position without a collision.

Fixes: #8527

@chloekraw chloekraw added this to the release-queso milestone Aug 12, 2019
Copy link
Contributor

@ansis ansis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like this checks for collision in the case where there is one anchor and overlap is allowed. Do you think it would be worth implementing this so that it doesn't start doing placement in these cases? I'm wondering if this might be a significant performance change for maps with a ton of overlapping markers.

Copy link
Contributor

@ansis ansis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ignore the previous comment! This change only affects symbols using the variable anchor property.

@pozdnyakov pozdnyakov merged commit 14ccaa8 into master Aug 12, 2019
@pozdnyakov pozdnyakov deleted the mikhail_variable_text_overlap branch August 12, 2019 18:00
@pozdnyakov
Copy link
Contributor Author

@ansis thanks for review!

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.

Enable variable label placement when {text|icon}-allow-overlap properties are set to true
3 participants