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

Better handling of line-gradient for step expression interpolation #9682

Closed
karimnaaji opened this issue May 12, 2020 · 1 comment
Closed
Assignees
Labels
cross-platform 📺 Requires coordination with Mapbox GL Native (style specification, rendering tests, etc.) feature 🍏

Comments

@karimnaaji
Copy link
Contributor

karimnaaji commented May 12, 2020

line-gradient with step should produce a harder transition at color boundaries than when using linear expression interpolators. This can be achieved by either using a larger texture size when rendering the gradient or changing the texture sampler interpolation type to NEAREST. We need to evaluate both approaches to fit nav requirements https://github.com/mapbox/mapbox-navigation-ios and https://mapbox/mapbox-navigation-android.

Screen Shot 2020-05-12 at 4 49 29 PM

@karimnaaji karimnaaji self-assigned this May 12, 2020
@mourner mourner added cross-platform 📺 Requires coordination with Mapbox GL Native (style specification, rendering tests, etc.) feature 🍏 labels May 25, 2020
@karimnaaji
Copy link
Contributor Author

Fixed in #9694

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

2 participants