MRDirectionsSource Class Reference
Inherits from | NSObject |
---|---|
Declared in | MRDirectionsRequest.h |
+ sourceWithCurrentLocation
Creates and returns a source that indicates the current users location.
+ (instancetype)sourceWithCurrentLocation
Declared In
MRDirectionsRequest.h
+ sourceForManualRouting
A view controller that allows the user to select a starting point from a searchable list of placemarks will be presented when directions are being calculated. Must be used with an MRDirections object that has been initialized with a non-nil presentingViewController.
+ (instancetype)sourceForManualRouting
Declared In
MRDirectionsRequest.h
+ sourceWithFriend:
Creates and returns a source that indicates a friend.
+ (instancetype)sourceWithFriend:(MRFriend *)friend_
Parameters
friend_ |
a friend to be used as a source. |
---|
Declared In
MRDirectionsRequest.h
+ sourceWithPlacemarkKey:
Creates and returns a source derived from a placemark key.
+ (instancetype)sourceWithPlacemarkKey:(MREditorKey *)placemarkKey
Parameters
placemarkKey |
the key of a placemark to be used as a source. |
---|
Declared In
MRDirectionsRequest.h
+ sourceWithMapKey:withPoint:
Creates and returns a source derived from a point on a map.
+ (instancetype)sourceWithMapKey:(MREditorKey *)mapKey withPoint:(CGPoint)point
Parameters
mapKey |
the MREditorKey of the map to which the point belongs. |
---|---|
point |
the point. |
Declared In
MRDirectionsRequest.h