VMMSMapDirectionStep
@interface VMMSMapDirectionStep : NSObject
Model that represents a particular leg or step in a waypath.
Since
1.0-
Create a new VMMSMapDirection with a default direction indicator of kDirectionStraight
Declaration
Swift
- (instancetype)initWithInstructions:(NSString *)instructions andWaypathSegment:(VMMSWaypathSegment *)segment;
Parameters
instructions
the text that descripts this segment of the path
segment
the VMMSWaypathSegment that this step represents
Return Value
a new instance
-
Create a new VMMSMapDirection instance
Declaration
Swift
- (instancetype)initWithInstructions:(NSString *)instructions andWaypathSegment:(VMMSWaypathSegment *)segment andDirectionIndicator:(VMMSMapDirectionsIcon)indicator;
Parameters
instructions
the text that descripts this segment of the path
segment
the VMMSWaypathSegment that this step represents
indicator
the direction indicated by this step
Return Value
a new instance
-
The direction indicated by this step
Declaration
Swift
@property (assign, readwrite, nonatomic) VMMSMapDirectionsIcon directionIcon;
-
The text that descripts this segment of the path
Declaration
Swift
@property (readwrite, strong, nonatomic) NSString *instructions;
-
The VMMSWaypathSegment that this steps represents
Declaration
Swift
@property (readwrite, strong, nonatomic) VMMSWaypathSegment *segment;
-
A string representation of the length of this step, with the ‘ft’ appended
Declaration
Swift
@property (readonly, nonatomic) NSString *distance;
-
The length represented by this step, in FEET
Declaration
Swift
@property (readonly, nonatomic) int distanceRaw;