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-allow-overlap is ignored when symbol-placement= line-center #9715

Open
kikonejacob opened this issue May 22, 2020 · 3 comments
Open

text-allow-overlap is ignored when symbol-placement= line-center #9715

kikonejacob opened this issue May 22, 2020 · 3 comments
Labels
bug 🐞 needs investigation 🔍 Issues that require further research (e.g. it's not clear whether it's GL JS or something else)

Comments

@kikonejacob
Copy link

kikonejacob commented May 22, 2020

When I set the following for symbol layer, the label still disappears when text collide or when zoomed out.

{
    "symbol-placement": "line-center",

    "text-allow-overlap": true
}

mapbox-gl-js version: v1.10.1

browser: Chrome 83

Steps to Trigger Behavior

Link to Demonstration

https://codepen.io/tallema/pen/KKdLpGZ?editors=0010

Expected Behavior

The text will show at each zoom level

Actual Behavior

Text disappears at for lower zoom levels

@sgolbabaei
Copy link
Contributor

Thank you for your opening this ticket. To help the maintainers and community understand and address the problem accurately can you please provide a minimal, complete, verifiable demonstration of the issue. We recommend using https://jsbin.com. Please include information about the browser version and operating system used.

@kikonejacob
Copy link
Author

@mourner Can you reopen this issue?
I added a link to demonstrate the issue in code pen
https://codepen.io/tallema/pen/KKdLpGZ?editors=0010

@mourner mourner reopened this May 26, 2020
@mourner mourner added bug 🐞 needs investigation 🔍 Issues that require further research (e.g. it's not clear whether it's GL JS or something else) and removed needs information 🙏 labels May 26, 2020
@kikonejacob
Copy link
Author

kikonejacob commented May 26, 2020

May-26-2020 11-19-42

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐞 needs investigation 🔍 Issues that require further research (e.g. it's not clear whether it's GL JS or something else)
Projects
None yet
Development

No branches or pull requests

3 participants