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

Data-Driven Styling Slow Compared to Filters #3805

Closed
jasonpepper opened this issue Dec 14, 2016 · 1 comment
Closed

Data-Driven Styling Slow Compared to Filters #3805

jasonpepper opened this issue Dec 14, 2016 · 1 comment

Comments

@jasonpepper
Copy link
Contributor

Using data driven styling to color vector-tile points where the point id is the category on which the points are colored is far slower when compared to using filters to achieve the coloring.

https://jsbin.com/xebisuk/edit?js,output

using MapBox GL v0.28.0

@mourner
Copy link
Member

mourner commented Dec 14, 2016

Currently stops-based function evaluation time grows linearly with the number of stops. Tracking possible performance improvement over mapbox/mapbox-gl-function#31

@mourner mourner closed this as completed Dec 14, 2016
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