Skip to content

Update TomTom Maps SDK to 2.7.2 - #21

Merged
wf9a5m75 merged 1 commit into
developfrom
chore/tomtom-2.7.2
Nov 12, 2026
Merged

wf9a5m75 merged 1 commit into
developfrom
chore/tomtom-2.7.2

Conversation

@wf9a5m75

Copy link
Copy Markdown
Contributor

Summary

  • tomtomMaps from 2.6.3 to 2.7.2. 2.7.3 is not on the public TomTom Maven repository (401), 2.7.2 is the newest one there.
  • 2.7 makes MapOptions.initialCameraOptions required. TomTomMapView passes a minimum-zoom camera at the target position and still moves to the real camera once the view is attached.

Why not pass the real camera

With the real camera as the initial one, the existing moveCamera after attach changes nothing, and with renderToTexture = true the first frame is never drawn: the map stays black until the user pans. Starting from a different camera makes that move redraw, which is how 2.6.3 behaved (it started from its own default camera).

Verification (Pixel 5a, sample-app)

  • 2.6.3: map shown.
  • 2.7.2 with the real camera as initial: black until a swipe.
  • 2.7.2 with renderToTexture = false: map shown (confirms it is the texture path).
  • 2.7.2 with this change: map shown at launch and after rotating to landscape.
  • assembleRelease and testDebugUnitTest pass.

2.7 makes MapOptions.initialCameraOptions required. Pass a minimum-zoom camera at the target position and keep moving to the real camera after the view attaches: handing over the real camera up front leaves that moveCamera with nothing to change, and with renderToTexture the first frame is then never drawn (black map on a Pixel 5a).
@wf9a5m75
wf9a5m75 merged commit 7441c7e 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