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

text-overlap and icon-overlap #251

Open
wipfli opened this issue Mar 10, 2022 · 0 comments
Open

text-overlap and icon-overlap #251

wipfli opened this issue Mar 10, 2022 · 0 comments

Comments

@wipfli
Copy link
Member

wipfli commented Mar 10, 2022

maplibre/maplibre-gl-js#347 added text-overlap and icon-overlap which deprecated the booleans text-allow-overlap and icon-allow-overlap. The new properties take three possible values

never: same as -allow-overlap false
always: same as -allow-overlap true
cooperative: the overlap mode of the previously-placed symbol is checked. The placement is accepted if the previously-placed symbol is also using -overlap: 'cooperative' or -overlap: 'always'. If the previously-placed symbol is using -overlap: 'never', the new symbol's placement is rejected.

Thanks @drwestco (Azure Maps) for the implementation in GL JS!

@wipfli wipfli changed the title [parity] text-overlap and icon-overlap text-overlap and icon-overlap Mar 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants