-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Slow calls: Map.setFilter, Map.setPaintProperty, Map.setLayoutProperty #7235
Comments
Can you also share some examples of style values that are slow to validate? Perhaps we could improve validation performance in addition to providing a way to disable it. |
I'll try to isolate configuration. I need time |
I’m attaching several files with the styles used, although I’m not sure they will be helpful. Some context to understand the files:
|
I'm not sure if this issue is active or not but I believe it causes an issue on my end from another angle. When the above tab is open in chrome the CPU starts working and never stops which causes severe performance issues on the site. It's not noticeable on strong machines but is when using old PCs or weak mobile devices. Let me know how I can help. |
@HarelM I am not sure, but think it is not the same problem. I used options validate in a forked example: This issue was fixed in series of releases and finished in #8189 |
@gorshkov-leonid Thanks for the info and quick response! I have opened a new issue: #8253 |
mapbox-gl-js version: 0.47.0
Question
Hello, we have got few critical problems with performance of
Map.setFilter
,Map.setPaintProperty
,Map.setLayoutProperty
.Do you have plans to provide the ability of validation disabling ?
Links to related documentation
The text was updated successfully, but these errors were encountered: