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

less tile reloading for style switches #83

Closed
ansis opened this issue Sep 16, 2013 · 1 comment
Closed

less tile reloading for style switches #83

ansis opened this issue Sep 16, 2013 · 1 comment
Labels
performance ⚡ Speed, stability, CPU usage, memory usage, or power usage

Comments

@ansis
Copy link
Contributor

ansis commented Sep 16, 2013

Some style changes (linecap, linejoin) require re-encoding geometries. Currently, map.switchStyle reloads all tiles. It should detect if a style change requires re-encoding. Or maybe re-encoding can be avoided with a different approach to linecap rendering.

Also, the mru cache needs to be cleared if geometry encodings change.

@ansis
Copy link
Contributor Author

ansis commented Dec 4, 2013

The approach to switching styles changed. This isn't necessary anymore.

@ansis ansis closed this as completed Dec 4, 2013
bensleveritt pushed a commit to bensleveritt/mapbox-gl-js that referenced this issue Oct 24, 2016
Drawing and editting refactor - closes mapbox#77 and mapbox#21
lucaswoj pushed a commit that referenced this issue Jan 11, 2017
re-add text-translate and icon-translate as style props
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance ⚡ Speed, stability, CPU usage, memory usage, or power usage
Projects
None yet
Development

No branches or pull requests

1 participant