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

Feature with icon and no title is not rendered on symbol layer #6357

Closed
Etienne-io opened this issue Mar 17, 2018 · 2 comments
Closed

Feature with icon and no title is not rendered on symbol layer #6357

Etienne-io opened this issue Mar 17, 2018 · 2 comments

Comments

@Etienne-io
Copy link

Etienne-io commented Mar 17, 2018

mapbox-gl-js version: latest

Steps to Trigger Behavior

  1. Add a geojson source with a feature that have icon but no title property (or title: ' ' or title: ' ')
  2. Add a symbol layer for that source

Expected Behavior

Display a symbol without label

Actual Behavior

Nothing displayed.

If I add the property 'text-optional' on the layer, the icon is displayed properly but as it effects all the data of the layer, I can't use it.

Exemples :
No title with 'text-optional' property
image

No title without 'text-optional' property
image

'_' as title with 'text-optional' property
image

'_' as title without 'text-optional' property
image

@pathmapper
Copy link
Contributor

Hi @emerciercontexeo, your issue sounds like it is a duplicate of #6160 which has been fixed in #6164.

@Etienne-io
Copy link
Author

Didn't found it before, thanks for reporting, I close the issue

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

No branches or pull requests

2 participants