diff options
author | Justin R. Miller <incanus@codesorcery.net> | 2015-04-02 17:12:05 -0700 |
---|---|---|
committer | Justin R. Miller <incanus@codesorcery.net> | 2015-04-02 17:12:05 -0700 |
commit | dbd22ae61aebc18c62b29a8692a3d2c83395358a (patch) | |
tree | 8b984b5a41a57b2cc99bc10d5eb3497ddc3f5e15 | |
parent | 9a416c449cbcb1fc6f7b10ebef9fa14e8fb446ed (diff) | |
download | qtlocation-mapboxgl-dbd22ae61aebc18c62b29a8692a3d2c83395358a.tar.gz |
reverting to title/subtitle setters for user location
-rw-r--r-- | include/mbgl/ios/MGLUserLocation.h | 8 | ||||
-rw-r--r-- | platform/ios/MGLUserLocation.m | 7 |
2 files changed, 8 insertions, 7 deletions
diff --git a/include/mbgl/ios/MGLUserLocation.h b/include/mbgl/ios/MGLUserLocation.h index 4d981f6d10..1bff512223 100644 --- a/include/mbgl/ios/MGLUserLocation.h +++ b/include/mbgl/ios/MGLUserLocation.h @@ -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 diff --git a/platform/ios/MGLUserLocation.m b/platform/ios/MGLUserLocation.m index 056f0a4470..acc3de75b5 100644 --- a/platform/ios/MGLUserLocation.m +++ b/platform/ios/MGLUserLocation.m @@ -2,13 +2,6 @@ #import "MGLMapView.h" -@interface MGLUserLocation () - -@property (nonatomic, copy) NSString *title; -@property (nonatomic, copy) NSString *subtitle; - -@end - @implementation MGLUserLocation - (instancetype)init |