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

Support multi-text symbols, or combine symbols #4436

Closed
dayAlone opened this issue Mar 16, 2017 · 4 comments
Closed

Support multi-text symbols, or combine symbols #4436

dayAlone opened this issue Mar 16, 2017 · 4 comments
Labels
cross-platform 📺 Requires coordination with Mapbox GL Native (style specification, rendering tests, etc.) feature 🍏

Comments

@dayAlone
Copy link

2017-03-16 8 03 25

In my project, I need to make Symbols like on the image. Now I create 2 layers:

  1. with label and icon
  2. with price

And in second layer set 'text-ignore-placement': true to show price and ignore overlapping with first layer. So, after this in some cases I have result like this:
2017-03-16 8 11 08

And now, I don't have any options to prevent this. If I will be able to put some array with texts to Symbol layer and style them separately it will be helpful in cases like this.

Or if I will be able to combine some layers to one for better calculation their boundaries for overlapping it will be helpful too.

@indus
Copy link
Contributor

indus commented Mar 16, 2017

Similar: #4366

@dayAlone
Copy link
Author

@indus Yes, similar, but not about icons :)

@anandthakker anandthakker added cross-platform 📺 Requires coordination with Mapbox GL Native (style specification, rendering tests, etc.) feature 🍏 labels Mar 16, 2017
@1ec5
Copy link
Contributor

1ec5 commented Mar 26, 2017

/cc @mapbox/gl

@jfirebaugh
Copy link
Contributor

Combining this with #4366 (I retitled it to generalize).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cross-platform 📺 Requires coordination with Mapbox GL Native (style specification, rendering tests, etc.) feature 🍏
Projects
None yet
Development

No branches or pull requests

5 participants