lonboard icon indicating copy to clipboard operation
lonboard copied to clipboard

Incorrect rendering with high pixel displays

Open kylebarron opened this issue 1 month ago • 2 comments

deck.gl doesn't fill the entire div with very wide displays, leading to incorrect rendering... a sense of "floating".

You can tell it's not filling the entire width because the maplibre controls are on the right of the map.

https://github.com/user-attachments/assets/f3567482-cfcb-4c3e-b6fb-0564c784d940

When I reduce the width by opening the dev window, it displays correctly.

cc @vgeorge

kylebarron avatar Oct 31 '25 20:10 kylebarron

for what it's worth, this only seems to be happening (on my machine anyway) when calling viz . If i make a layer and then add it to a map and display the map, it shows as we'd expect

(I'm not a gamer, but i do have a 49" ultrawide monitor 🤓😅) Image

ATL2001 avatar Nov 04 '25 23:11 ATL2001

That probably has to do with the basemap then. In the latest main we default to interleaved rendering. You can test by creating a Map with basemap set to MaplibreBasemap(mode="interleaved")

I forget what the current default value is for Map

kylebarron avatar Nov 05 '25 00:11 kylebarron