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
Switching between 2d and 3d modes (to get rid of the parallax effect) with enableAltitude/setOptions, Broken redraw in 2d is fixable with forceRenderOnMoving.
But there's an unsolvable with drawAltitude - when you use compound markers, i.e. symbol: [ {..}, {..} ] with different markerDy, it draws SEVERAL vertical lines, one for each marker.
I CANNOT use separate layers, because Z-sorting doesn't work across layers, and I need Z-sorting for markers.
It would be great to disable altitude by symbol, because separating markers into different layers cause all sorts of issues (weird overlap, etc. as depth sorting doesn't work across layers).
It draws two altitude lines for the marker. I think it should allow customizing altitude display (and color) for each symbol.
I thought maybe options could be callable, so we could use dynamic colors, but it doesn't work this way.
Also it may be useful to customize altitude drawing for lineString, I need only the last point. It is fixable with multiple layers, because Z-sorting doesn't matter for lines, but it would need an extra layer for endpoints only.
Upd. OK I realized I can do that with just 1 extra layer because I don't really need to sort lines by depth. Closing.
The text was updated successfully, but these errors were encountered:
joric
changed the title
Disable altitude for 2d (parallax mode)
Selectively disable drawAltitude for compound markers
May 13, 2024
First of all, I've managed to solve a bunch of problems already.
sortByDistanceToCamera: true
, still doesn't sort across layers).enableAltitude
/setOptions
, Broken redraw in 2d is fixable withforceRenderOnMoving
.But there's an unsolvable with drawAltitude - when you use compound markers, i.e. symbol: [ {..}, {..} ] with different markerDy, it draws SEVERAL vertical lines, one for each marker.
I CANNOT use separate layers, because Z-sorting doesn't work across layers, and I need Z-sorting for markers.
It would be great to disable altitude by symbol, because separating markers into different layers cause all sorts of issues (weird overlap, etc. as depth sorting doesn't work across layers).
Example: https://joric.github.io/supraland/3d
It draws two altitude lines for the marker. I think it should allow customizing altitude display (and color) for each symbol.
I thought maybe options could be callable, so we could use dynamic colors, but it doesn't work this way.
Also it may be useful to customize altitude drawing for lineString, I need only the last point. It is fixable with multiple layers, because Z-sorting doesn't matter for lines, but it would need an extra layer for endpoints only.
Upd. OK I realized I can do that with just 1 extra layer because I don't really need to sort lines by depth. Closing.
The text was updated successfully, but these errors were encountered: