MVTLayer update url every n minutes #8992
-
Hi, So I have a MVTLayer added to the deck.gl map. This URL serves data from a URL that updates every 1 minute. So, technically, I need to update the layer's URL every minute to pass a timestamp to the URL parameters. I was wondering if there are any best practices for such a thing? Is it better to hide older layers and add new layers or replace the existing layer? Thank you! |
Beta Was this translation helpful? Give feedback.
Answered by
Pessimistress
Jul 1, 2024
Replies: 1 comment 1 reply
-
You can just change the |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
am2222
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can just change the
data
prop of your existing MVTLayer.