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

Better management of overlapping marker labels #540

Open
RyanTG opened this issue Mar 13, 2024 · 1 comment
Open

Better management of overlapping marker labels #540

RyanTG opened this issue Mar 13, 2024 · 1 comment

Comments

@RyanTG
Copy link
Collaborator

RyanTG commented Mar 13, 2024

Currently our markers have text within them that show the number of machines. Then, when zoomed at certain levels, there are also offset radial text labels with the venue name. The number labels can overlap (never hide markers); the floating labels do not overlap each other.

The floating labels, since they are a different symbolLayer than the number labels, do overlap the number labels. I would like the floating labels to not display unless they do not overlap a number label (or are dynamically offset).

How to achieve this!!!

@RyanTG
Copy link
Collaborator Author

RyanTG commented Mar 14, 2024

Potential: https://github.com/maplibre/maplibre-gl-js/issues/249#issuecomment-918321660

(intentionally not linking to it)

Perhaps changing the order of the symbollayers will help.

I’ll edit this comment if I find anything more.

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.

1 participant