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

[ios] fixes #5128 selected property to MGLAnnotationView #5283

Closed
wants to merge 1 commit into from

Conversation

frederoni
Copy link
Contributor

@frederoni frederoni commented Jun 8, 2016

Fixes #5128
Simply added selected property to MGLAnnotationView and hooked it up.
Also notice the small change in selectAnnotation:animated: to make deselection animatable.

@frederoni frederoni added iOS Mapbox Maps SDK for iOS ⚠️ DO NOT MERGE Work in progress, proof of concept, or on hold annotations Annotations on iOS and macOS or markers on Android labels Jun 8, 2016
@@ -41,6 +41,12 @@ NS_ASSUME_NONNULL_BEGIN
@property (nonatomic, assign, getter=isFlat) BOOL flat;

/**
Defaults to NO. Becomes YES when clicked on in the map view.
Copy link
Contributor

Choose a reason for hiding this comment

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

On iOS, we say "tap" instead of "click".

@frederoni frederoni closed this Jun 9, 2016
@frederoni frederoni deleted the 5128-select-annotation-view branch June 9, 2016 09:10
@frederoni
Copy link
Contributor Author

frederoni commented Jun 9, 2016

continues in #5297

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 ⚠️ DO NOT MERGE Work in progress, proof of concept, or on hold iOS Mapbox Maps SDK for iOS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants