You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it be better to draw the line and the tile separately, don't change the width of the line until the tile refreshes? This can avoid recalculation on the line during zooming.
Currently the width of the debug lines depends on the zoom.
馃 Expected Behavior
Lines should always have the same pixel-width on the screen.
馃槸 Current Behavior
The width changes.
馃拋 Possible Solution
Multiply the line width in the debug shader with a scaling factor:
https://github.com/maxammann/maplibre-rs/blob/07bddd2a8c42f0cb906586f01eaaefb94dc34f7a/maplibre/src/render/shaders/tile.vertex.wgsl#L31
The text was updated successfully, but these errors were encountered: