MRDirectionsSource Class Reference

Inherits from NSObject
Declared in MRDirectionsRequest.h

Overview

Describes the source of a route.

+ sourceWithCurrentLocation

Creates and returns a source that indicates the current users location.

+ (instancetype)sourceWithCurrentLocation

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