Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Use center property (instead of frame) when repositioning annotation views #11817

Merged
merged 1 commit into from
May 4, 2018

Conversation

julianrex
Copy link
Contributor

This addresses #11756.

Copy link
Contributor

@fabian-guerra fabian-guerra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍🏼


### Annotations
* Fixed an issue where selecting an onscreen annotation could move the map unintentionally. ([#11731](https://github.com/mapbox/mapbox-gl-native/pull/11731))
* Fixed an issue where annotation views could become distorted if `rotatesToMatchCamera` is `YES`. ([#11756](https://github.com/mapbox/mapbox-gl-native/issues/11756))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this blurb refer to ([#11817](https://github.com/mapbox/mapbox-gl-native/pull/11817)) instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good question - do we normally refer to the source ticket or the PR in the change log?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We always refer to the PR that fixed the issue.

@friedbunny friedbunny added this to the ios-v4.0.1 milestone May 2, 2018
@friedbunny
Copy link
Contributor

friedbunny commented May 2, 2018

@julianrex awesome, this definitely does fix the issue. In manual testing I don’t see any evidence of the side-effects I was worried might exist, but it would be good to add a regression test for #11756.

… annotation views (when adding back into queue).
@julianrex julianrex force-pushed the jrex-11756-distorted-annotation-view branch from 59d89d6 to 13985d5 Compare May 3, 2018 23:09
@julianrex
Copy link
Contributor Author

julianrex commented May 3, 2018

That's why I added that flag to that ios-sdk-examples example as a simple test for this. But I think we can do better as an integration test, where we can be more precise.

@julianrex julianrex merged commit 1b9c8b5 into release-boba May 4, 2018
@julianrex julianrex deleted the jrex-11756-distorted-annotation-view branch May 4, 2018 00:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
annotations Annotations on iOS and macOS or markers on Android bug iOS Mapbox Maps SDK for iOS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants