MRDirectionsSource Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | MRDirectionsRequest.h |
+ sourceWithCurrentLocation
Creates and returns a source that indicates the current users location.
+ (instancetype)sourceWithCurrentLocationDeclared 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 *)placemarkKeyParameters
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)pointParameters
mapKey |
the MREditorKey of the map to which the point belongs. |
|---|---|
point |
the point. |
Declared In
MRDirectionsRequest.h