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

Border of translucent polygon with fill-color or fill-pattern shows artifacts #5570

Closed
pathmapper opened this issue Oct 31, 2017 · 2 comments

Comments

@pathmapper
Copy link
Contributor

mapbox-gl-js version: current Studio

Steps to Trigger Behavior

  1. Upload the following SVG file to a sprite of a style in Mapbox Studio:
    bright_green_fill.svg.zip

  2. Use it as a fill pattern for a polygon.

Expected Behavior

The polygon border shows no artifacts.

Actual Behavior

The polygon border shows artifacts.

image

@pathmapper
Copy link
Contributor Author

This issue happens also with fill-color instead of fill-pattern:

https://jsfiddle.net/2p9qed2u/

image

@pathmapper pathmapper changed the title Border of polygon with fill pattern shows artifacts Border of translucent polygon with fill-color or fill-pattern shows artifacts Nov 10, 2017
@jfirebaugh
Copy link
Contributor

The current fill-outline-color implementation depends on a GL feature with limited platform support. We're tracking a different way to render fill outlines in #2080 -- in the meantime, if you have precise requirements for the rendering of fill outlines, we recommend using a separate line layer to draw the outline.

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