Skip to content

Pass the camera's field of view to the screen projection - #20

Merged
wf9a5m75 merged 1 commit into
developfrom
fix/longdo-screen-offset
Nov 12, 2026
Merged

wf9a5m75 merged 1 commit into
developfrom
fix/longdo-screen-offset

Conversation

@wf9a5m75

Copy link
Copy Markdown
Contributor

Summary

LongdoMapViewHolder.toScreenOffset / fromScreenOffset now pass the camera's fov to WebMercatorScreenProjection, so points on a tilted map land where the map draws them.

Depends on MapConductor/android-sdk-core fix/screen-projection-tilt; merge that first.

toScreenOffset / fromScreenOffsetSync ignored tilt, so InfoBubbles, marker animations and tile-marker hit tests drifted on a tilted map (up to 114 px from the engine's own project() at tilt 60 near the centre, 247 px at a padded centre). With the fov they match the engine within 0.4 px at tilt 0/30/60 and bearing 0/±90 on the TB520FU. Needs android-sdk-core fix/screen-projection-tilt.
@wf9a5m75
wf9a5m75 merged commit 70aada5 into develop Nov 12, 2026
2 of 3 checks passed
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.

1 participant