Skip to content

Report camera fov and apply paddings - #20

Merged
wf9a5m75 merged 1 commit into
developfrom
feat/camera-paddings
Nov 12, 2026
Merged

wf9a5m75 merged 1 commit into
developfrom
feat/camera-paddings

Conversation

@wf9a5m75

Copy link
Copy Markdown
Contributor

Summary

This provider now

  • reports MapCameraPosition.fov for its engine, and
  • honours MapCameraPosition.paddings on move / animate: the target lands at the centre of the padded area, and the camera read back reports the target with the same paddings.

Depends on the core feat/camera-paddings PR (and, where noted, the provider's tilt fix PR).

fov 45 (measured); paddings emulated, recomputed after TomTom caps tilt (~42° at zoom 15). A constant 6 px shortfall remains.

Commits

  • Apply camera paddings and report fov on TomTom

setPadding is not used because it jumps when set. Paddings are emulated
by moving the camera center and undone on read. TomTom limits the tilt
by zoom (about 42 at zoom 15), so when the camera settles at a lower
tilt than requested the padded center is solved again for the actual
tilt. fov is 45 (no API; measured 45 on TB520FU in both orientations).
@wf9a5m75
wf9a5m75 merged commit af39dee into develop Nov 12, 2026
2 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