OYMInstruction Class Reference

Inherits from NSObject
Conforms to OYMJsonProtocol
Declared in OYMInstruction.h
OYMInstruction.m

Overview

This class defines an instruction to be used in the routing

Other Methods

  distance

Distance from the start point

@property double distance

Declared In

OYMInstruction.h

  instruction

Instruction to apply at that distance

@property InstructionType instruction

Declared In

OYMInstruction.h

  props

Values retrieved for the instruction

@property (nonatomic, strong) NSDictionary *props

Declared In

OYMInstruction.h

– initInstructionWithDistance:type:props:

Instruction constructor.

- (id)initInstructionWithDistance:(double)distance type:(InstructionType)instruction props:(NSDictionary *)props

Parameters

distance

Distance from the start point

instruction

Instruction to apply at that distance

props

Hashmap including extra values to complete the instruction

Declared In

OYMInstruction.h

Other Methods

– initWithJson:

This method is currently not supported.

- (instancetype)initWithJson:(NSString *)json

Declared In

OYMInstruction.m