Skip to content

feat: raise the pitch limit to 85° with a far limit of the visible ground - #2291

Open
greensopinion wants to merge 1 commit into
pitch-7-remove-tile-range-calculatorfrom
pitch-8-raise-pitch-limit
Open

greensopinion wants to merge 1 commit into
pitch-7-remove-tile-range-calculatorfrom
pitch-8-raise-pitch-limit

Conversation

@greensopinion

Copy link
Copy Markdown
Collaborator

MapOptions.pitchLimit is now 85. Above a pitch of about 71°, the visible
ground ends at a far limit, where the view ray is 89.25° from straight
down, as in MapLibre Native. Above it, ground layers draw nothing and the
background color shows, markers and polygon labels are not drawn, and
gestures act at the far limit directly below the pointer. The visible
bounds, tile cover and camera fits use the ground below the far limit.
Up to a pitch of about 71° nothing changes.

Depends on #2289.

I wrote this with Claude Code (Claude Opus 5.5). I directed the design,
reviewed the code, and tested it on a Mac and an iPhone 13, and measured
it on a Pixel 4a (5G).

MapOptions.pitchLimit is now 85. Above a pitch of about 71°, the visible
ground ends at a far limit, where the view ray is 89.25° from straight
down, as in MapLibre Native. Above it, ground layers draw nothing and the
background color shows, markers and polygon labels are not drawn, and
gestures act at the far limit directly below the pointer. The visible
bounds, tile cover and camera fits use the ground below the far limit.
Up to a pitch of about 71° nothing changes.

This branch has not been deployed

No deployments
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