This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
14 changed files
with
913 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#import "MGLAnnotation.h" | ||
|
||
@interface MGLUserLocation : NSObject <MGLAnnotation> | ||
|
||
@property (nonatomic, readonly) CLLocationCoordinate2D coordinate; | ||
|
||
/** @name Determining the User’s Position */ | ||
|
||
/** The current location of the device. (read-only) | ||
* | ||
* This property contains `nil` if the map view is not currently showing the user location or if the user’s location has not yet been determined. */ | ||
@property (nonatomic, readonly) CLLocation *location; | ||
|
||
/** A Boolean value indicating whether the user’s location is currently being updated. (read-only) */ | ||
@property (nonatomic, readonly, getter=isUpdating) BOOL updating; // FIXME | ||
|
||
/** The heading of the user location. (read-only) | ||
* | ||
* This property is `nil` if the user location tracking mode is not `RMUserTrackingModeFollowWithHeading`. */ | ||
@property (nonatomic, readonly) CLHeading *heading; | ||
|
||
@property (nonatomic, copy) NSString *title; | ||
|
||
@property (nonatomic, copy) NSString *subtitle; | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.