Skip to content

fix(ios): adjust camera when padding changes#24

Merged
lodev09 merged 3 commits intomainfrom
fix/ios-camera-follow-padding
Jan 31, 2026
Merged

fix(ios): adjust camera when padding changes#24
lodev09 merged 3 commits intomainfrom
fix/ios-camera-follow-padding

Conversation

@lodev09
Copy link
Collaborator

@lodev09 lodev09 commented Jan 31, 2026

Summary

Fixes Apple Maps camera behavior when padding changes to match Google Maps. The visual center now stays stable when padding is updated.

Also fixes zoom drift issue when calling moveCamera - switched from region-based to camera-based zoom API to avoid MKMapView adjusting zoom due to layoutMargins.

Type of Change

  • Bug fix

Test Plan

  • Tested on iOS with Apple Maps
  • Verified padding changes keep visual center stable
  • Verified moveCamera no longer causes zoom drift
  • Verified initial zoom matches expected level

Checklist

  • iOS
  • Android
  • Web

@lodev09 lodev09 merged commit 442aea4 into main Jan 31, 2026
3 checks passed
@lodev09 lodev09 deleted the fix/ios-camera-follow-padding branch January 31, 2026 17:52
@lodev09
Copy link
Collaborator Author

lodev09 commented Jan 31, 2026

🚀 This pull request is included in v0.2.0-alpha.20. See Release 0.2.0-alpha.20 for release notes.

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