Replies: 1 comment 1 reply
-
Do I understand correctly that you are unhappy with to the pixelated look when showing the parent tile? Would you rather have a blank area on the map when panning / zooming in rather than show cached parent tiles? I.e. the question is what to show while all the current zoom level tiles load? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When working with TiledLayer, I observed that deck.gl will somehow remember what it previously rendered for a portion of the map and render that until new information is available.
Since I don't know how to explain this properly, I created a small gif that should show the behavior. I'm zooming into the map and then move around the map. At some point you can see, that deck.gl shows tiles of the previous, lower zoom level until the new data has been loaded.
Why is this happening? Is there some configuration for this?
I saw that there is the
refinementStrategy
(-> 'never'
) that seems to work quite good, but I also have this behavior when working with multiple TileLayers that are hidden using thevisible
property. E.g. a layer that is only shown until zoom 10 (visible: zoom <= 10
) and a layer that is shown above (visible: zoom > 10
). When zooming in from say 9 to 12 and then moving around the map, I can see artifacts from the<=10
-layer.Is there some sort of view cache that includes layers that have previously been visible for a given viewport? Is there someway to disable that cache?
Note: I produced the behavior on the TileLayer API reference page by throttling my connection to 3G using the browser dev tools.
Beta Was this translation helpful? Give feedback.
All reactions