reverting to title/subtitle setters for user location

This commit is contained in:
Justin R. Miller
2015-04-02 17:12:05 -07:00
parent 9a416c449c
commit dbd22ae61a
2 changed files with 8 additions and 7 deletions

View File

@@ -18,4 +18,12 @@
* This property is `nil` if the user location tracking mode is not `MGLUserTrackingModeFollowWithHeading`. */
@property (nonatomic, readonly) CLHeading *heading;
/** @name Accessing the User Annotation Text */
/** The title to display for the user location annotation. */
@property (nonatomic, copy) NSString *title;
/** The subtitle to display for the user location annotation. */
@property (nonatomic, copy) NSString *subtitle;
@end

View File

@@ -2,13 +2,6 @@
#import "MGLMapView.h"
@interface MGLUserLocation ()
@property (nonatomic, copy) NSString *title;
@property (nonatomic, copy) NSString *subtitle;
@end
@implementation MGLUserLocation
- (instancetype)init