Updating raster tile source #1407
-
Currently this library supports updating the tiles prop for vector tile sources: #1196 Can it also support it for "raster" type tiles sources? I need to figure out how I can dynamically update my raster based tile source. Everything I have tried so far has ended up in various errors like: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I was able to workaround this issue by wrapping the source + layer in a component and assigning a dynamic key to that component that changes whenever I need the source data to refresh. Not ideal solution though, so I'm going to open an issue and maybe we can build this functionality together! |
Beta Was this translation helpful? Give feedback.
I was able to workaround this issue by wrapping the source + layer in a component and assigning a dynamic key to that component that changes whenever I need the source data to refresh. Not ideal solution though, so I'm going to open an issue and maybe we can build this functionality together!