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

Option to disable label collisions #315

Closed
edenh opened this issue Feb 26, 2014 · 3 comments · Fixed by #334
Closed

Option to disable label collisions #315

edenh opened this issue Feb 26, 2014 · 3 comments · Fixed by #334

Comments

@edenh
Copy link
Contributor

edenh commented Feb 26, 2014

If there isn't one already, it would be nice to have a way to disable label collisions. There are times when you want labels to remain always visible, like poi text labels.

@mourner
Copy link
Member

mourner commented Feb 26, 2014

According to this commit 51abc44 this can be done by removing size of a poi bucket.

@edenh
Copy link
Contributor Author

edenh commented Mar 1, 2014

Adding size to a point bucket solves this issue, but it does not seem to work for labels (text buckets) drawn on points.

@ansis
Copy link
Contributor

ansis commented Mar 17, 2014

@edenh I think in most of the cases you're thinking of you don't actually want overlap. Its just that the placement sometimes unnecessarily hides labels. If you could ticket specific cases where you want this, we might be able to implement fixes.

bensleveritt pushed a commit to bensleveritt/mapbox-gl-js that referenced this issue Oct 24, 2016
Ensure keybindings option is enforced
lucaswoj pushed a commit that referenced this issue Jan 11, 2017
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 a pull request may close this issue.

3 participants