Skip to content

Keep symbol visible if elevated symbol is line-of-sight - #8164

Open
birkskyum wants to merge 3 commits into
maplibre:symbol-elevationfrom
birkskyum:keep-visible-if-ground-is-occluded
Open

Keep symbol visible if elevated symbol is line-of-sight#8164
birkskyum wants to merge 3 commits into
maplibre:symbol-elevationfrom
birkskyum:keep-visible-if-ground-is-occluded

Conversation

@birkskyum

@birkskyum birkskyum commented Aug 13, 2026

Copy link
Copy Markdown
Member

I think elevated symbols should remain visible when their ground position is occluded, as long as the elevated symbol itself is still visible. With the current behavior, a terrain ridge can make an airborne symbol disappear even though it remains above the ridge and in the camera’s line of sight.

This PR changes that to make the symbol stay visible, which seems like the most intuitive behavior for either proposed symbol-height-anchor modes: ground or absolute, to avoid a lot of icon flickering.

Left - What's on the symbol-elevation branch right now.
Right - This PR

Screen.Recording.2026-08-13.at.19.26.35.mov

@birkskyum
birkskyum requested a review from HarelM August 13, 2026 17:34
@HarelM

HarelM commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator

Thanks! I think this PR makes sense. Let me finish up the style-spec changes, push them and then review and merge this.

@birkskyum

birkskyum commented Aug 13, 2026

Copy link
Copy Markdown
Member Author

I didn't really capture it in the above video, but the behavior of this PR is that the symbol can still be "behind" terrain, as one would expect it to. Like in the video here, teh "bird" is far away, and some nearby mountains block it.

Screen.Recording.2026-08-13.at.20.17.50.mov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants