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

[ios] Added centerOffset to MGLAnnotationView - #5062

Merged
1ec5 merged 2 commits into
mapbox:masterfrom
frederoni:5059-center-offset-annotation-view
May 18, 2016
Merged

1ec5 merged 2 commits into
mapbox:masterfrom
frederoni:5059-center-offset-annotation-view

Conversation

@frederoni

Copy link
Copy Markdown
Contributor

closes #5059

Comment thread platform/ios/CHANGELOG.md Outdated
- Removed unused SVG files from the SDK’s resource bundle. ([#4641](https://github.com/mapbox/mapbox-gl-native/pull/4641))
- Deprecated `-[MGLMapView emptyMemoryCache]`. ([#4725](https://github.com/mapbox/mapbox-gl-native/pull/4725))
- Added `MGLCoordinateInCoordinateBounds()`, a function that tests whether or not a coordinate is in a given bounds. ([#5053](https://github.com/mapbox/mapbox-gl-native/pull/5053))
- An MGLAnnotationView can be repositioned by changing its `centerOffset` property. ([#5059](https://github.com/mapbox/mapbox-gl-native/issues/5059))

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Let's mention that this offset is relative to the coordinate property, so people don't think you set this property to completely move the annotation. (You'd set MGLAnnotation.coordinate in that case.)

@1ec5
1ec5 merged commit e8ea748 into mapbox:master May 18, 2016
@1ec5 1ec5 added iOS Mapbox Maps SDK for iOS annotations Annotations on iOS and macOS or markers on Android labels May 18, 2016
@1ec5 1ec5 added this to the ios-v3.3.0 milestone May 18, 2016
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 iOS Mapbox Maps SDK for iOS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add centerOffset property to MGLAnnotationView

2 participants