Skip to content

fix(snapshotter): add withLogo support and Android bounds parity#4154

Open
jackashton wants to merge 1 commit intornmapbox:mainfrom
jackashton:fix/snapshotter-with-logo-and-bounds
Open

fix(snapshotter): add withLogo support and Android bounds parity#4154
jackashton wants to merge 1 commit intornmapbox:mainfrom
jackashton:fix/snapshotter-with-logo-and-bounds

Conversation

@jackashton
Copy link

@jackashton jackashton commented Feb 17, 2026

Summary

  • Add withLogo option support to iOS and Android snapshot modules
  • Add bounds support to Android to match existing iOS implementation

Problem

The withLogo option exists in TypeScript types but was ignored by native code. The bounds option worked on iOS but not Android.

Solution

iOS: Set mapSnapshotOptions.showsLogo from the withLogo option

Android:

  • Pass SnapshotOverlayOptions(showLogo) to Snapshotter
  • Add bounds support via snapshotter.cameraForCoordinates()

Test Plan

  • Updated TakeSnapshot example to demonstrate:

    • withLogo: true (shows logo)
    • withLogo: false (hides logo)
    • bounds option (alternative to centerCoordinate)
  • iOS tested

  • Android tested

@jackashton jackashton requested a deployment to CI with Mapbox Tokens February 17, 2026 02:35 — with GitHub Actions Waiting
@jackashton jackashton requested a deployment to CI with Mapbox Tokens February 17, 2026 02:35 — with GitHub Actions Waiting
@jackashton jackashton requested a deployment to CI with Mapbox Tokens February 17, 2026 02:35 — with GitHub Actions Waiting
@jackashton jackashton changed the title feat(snapshotter): add withLogo support and Android bounds parity fix(snapshotter): add withLogo support and Android bounds parity Feb 17, 2026
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

Comments