MRDirectionsDestination Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | MRDirectionsRequest.h |
+ destinationWithCurrentLocation
Creates and returns a destination that indicates the current users location.
+ (instancetype)destinationWithCurrentLocationDeclared In
MRDirectionsRequest.h
+ destinationWithFriend:
Creates and returns a destination that indicates a friend.
+ (instancetype)destinationWithFriend:(MRFriend *)friend_Parameters
friend_ |
a friend to be used as a destination. |
|---|
Declared In
MRDirectionsRequest.h
+ destinationWithTag:
Creates and returns a destination that indicates a tag.
+ (instancetype)destinationWithTag:(MRTag *)tagParameters
tag |
a tag to be used as a destination. |
|---|
Declared In
MRDirectionsRequest.h
+ destinationWithPlacemarkKey:
Creates and returns a destination derived from a placemark key.
+ (instancetype)destinationWithPlacemarkKey:(MREditorKey *)placemarkKeyParameters
placemarkKey |
the key of a placemark to be used as a destination. |
|---|
Declared In
MRDirectionsRequest.h
+ destinationWithPlacemarkKeys:
Creates and returns a destination derived from an array of placemark keys.
+ (instancetype)destinationWithPlacemarkKeys:(NSArray<MREditorKey*> *)placemarkKeysParameters
placemarkKeys |
an array of placemark MREditorKey to be used as a destination. The closest of these to the DirectionsSource will be used. |
|---|
Declared In
MRDirectionsRequest.h
+ destinationWithMapKey:withPoint:
Creates and returns a destination derived from a point on a map.
+ (instancetype)destinationWithMapKey:(MREditorKey *)mapKey withPoint:(CGPoint)pointParameters
mapKey |
the MREditorKey of the map to which the point belongs. |
|---|---|
point |
the point. |
Declared In
MRDirectionsRequest.h
+ destinationWithPlacemarkType:
Creates and returns a destination derived from a type of placemark.
+ (instancetype)destinationWithPlacemarkType:(NSString *)placemarkTypeParameters
placemarkType |
the type of placemark to get directions to, the nearest placemark of this type to the DirectionsSource will be used. |
|---|
Declared In
MRDirectionsRequest.h