-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Use contentInset for visibleCoordinateBounds #14135
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While you’re at it, the macOS implementation of MGLMapView.visibleCoordinateBounds
also needs the same fix:
mapbox-gl-native/platform/macos/src/MGLMapView.mm
Lines 1285 to 1287 in 41b25e2
- (MGLCoordinateBounds)visibleCoordinateBounds { | |
return [self convertRect:self.bounds toCoordinateBoundsFromView:self]; | |
} |
Any idea why these tests are failing? Is there something else I need to do before this gets merged? |
Thanks for your patience, @TimWatson. iOSThe Though your change seems confined, I’d be worried that it will have knock-on effects — in order to merge this, we’ll need to be confident that it’s well tested and has no unforeseen consequences. To run the iOS Maps SDK’s tests locally, see these instructions. macOSThe macOS build is failing because
To make changes to the macOS project, run |
Thanks @friedbunny I fixed the issues with macOS |
There’s been a fair bit of work done on this recently (#14664, #14795, #14813, etc.) — is this still valid, @fabian-guerra @astojilj? |
This pull request has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions. |
Fix for #14134