-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Mark -presentCalloutFromRect:inView:constrainedToView:animated: unavailable #11738
Mark -presentCalloutFromRect:inView:constrainedToView:animated: unavailable #11738
Conversation
…available (constrainedToRect variant supersedes)
/cc @jmkiley |
platform/ios/CHANGELOG.md
Outdated
@@ -52,6 +52,8 @@ The 4.0._x_ series of releases will be the last to support iOS 8. The minimum iO | |||
* The `MGLMapView.selectedAnnotations` property (backed by `-[MGLMapView setSelectedAnnotations:]`) now selects annotations that are off-screen. ([#9790](https://github.com/mapbox/mapbox-gl-native/issues/9790)) | |||
* The `animated` parameter to `-[MGLMapView selectAnnotation:animated:]` now controls whether the annotation and its callout are brought on-screen. If `animated` is `NO` then the annotation is selected if offscreen, but the map is not panned. Currently only point annotations are supported. Setting the `MGLMapView.selectedAnnotations` property now animates. ([#3249](https://github.com/mapbox/mapbox-gl-native/issues/3249)) | |||
* Fixed a crash when rapidly adding and removing annotations. ([#11551](https://github.com/mapbox/mapbox-gl-native/issues/11551), [#11575](https://github.com/mapbox/mapbox-gl-native/issues/11575)) | |||
* Marked protocol method `-[MGLCalloutView presentCalloutFromRect:inView:constrainedToView:animated:]` as unavailble. Please use `-[MGLCalloutView presentCalloutFromRect:inView:constrainedToRect:animated:]` instead (enabling moving off-screen annotations on-screen). |
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.
What do you think about the following blurb:
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.
This change is really about removing potential confusion; adding support for moving off-screen annotations came in an earlier release No it wasn't 😄. Let me tweak.
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.
Looks good, ‘cept for the changelog notes. When you merge, please be sure to prefix the commit with [ios]
.
Update: whoop, looks like you already got the changelog stuff while I was doddling with my review.
platform/ios/CHANGELOG.md
Outdated
@@ -52,6 +52,8 @@ The 4.0._x_ series of releases will be the last to support iOS 8. The minimum iO | |||
* The `MGLMapView.selectedAnnotations` property (backed by `-[MGLMapView setSelectedAnnotations:]`) now selects annotations that are off-screen. ([#9790](https://github.com/mapbox/mapbox-gl-native/issues/9790)) | |||
* The `animated` parameter to `-[MGLMapView selectAnnotation:animated:]` now controls whether the annotation and its callout are brought on-screen. If `animated` is `NO` then the annotation is selected if offscreen, but the map is not panned. Currently only point annotations are supported. Setting the `MGLMapView.selectedAnnotations` property now animates. ([#3249](https://github.com/mapbox/mapbox-gl-native/issues/3249)) | |||
* Fixed a crash when rapidly adding and removing annotations. ([#11551](https://github.com/mapbox/mapbox-gl-native/issues/11551), [#11575](https://github.com/mapbox/mapbox-gl-native/issues/11575)) | |||
* Marked protocol method `-[MGLCalloutView presentCalloutFromRect:inView:constrainedToView:animated:]` as unavailble. Please use `-[MGLCalloutView presentCalloutFromRect:inView:constrainedToRect:animated:]` instead (enabling moving off-screen annotations on-screen). |
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.
“unavailble” → unavailable
platform/ios/CHANGELOG.md
Outdated
@@ -52,6 +52,8 @@ The 4.0._x_ series of releases will be the last to support iOS 8. The minimum iO | |||
* The `MGLMapView.selectedAnnotations` property (backed by `-[MGLMapView setSelectedAnnotations:]`) now selects annotations that are off-screen. ([#9790](https://github.com/mapbox/mapbox-gl-native/issues/9790)) | |||
* The `animated` parameter to `-[MGLMapView selectAnnotation:animated:]` now controls whether the annotation and its callout are brought on-screen. If `animated` is `NO` then the annotation is selected if offscreen, but the map is not panned. Currently only point annotations are supported. Setting the `MGLMapView.selectedAnnotations` property now animates. ([#3249](https://github.com/mapbox/mapbox-gl-native/issues/3249)) | |||
* Fixed a crash when rapidly adding and removing annotations. ([#11551](https://github.com/mapbox/mapbox-gl-native/issues/11551), [#11575](https://github.com/mapbox/mapbox-gl-native/issues/11575)) | |||
* Marked protocol method `-[MGLCalloutView presentCalloutFromRect:inView:constrainedToView:animated:]` as unavailble. Please use `-[MGLCalloutView presentCalloutFromRect:inView:constrainedToRect:animated:]` instead (enabling moving off-screen annotations on-screen). |
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.
Link to this PR at the end of the line.
No description provided.