Is there any way access sourceCache._reloadTile of mapbox-gl-js?
#2292
Unanswered
Sonono1103
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm using symbol layer (points) and hide / show them.
Sometimes the points are not disappear even through data length is 0.
This is the part of my code. pointJson is react state. Sometimes pointJson array length is 0 but the points are still there.
I think this is because of cache issue. So, I tried to do below solution of mapbox-gl-js, but I can't access
map.style.sourceCaches.Is there any way to solve this?
mapbox/mapbox-gl-js#2633 (comment)
Beta Was this translation helpful? Give feedback.
All reactions