OYMInstructionAdapter Class Reference
Inherits from | NSObject |
---|---|
Declared in | OYMInstructionAdapter.h OYMInstructionAdapter.m |
+ getStringForInstruction:
This method provides a human readable string for each instruction available.
+ (NSString *)getStringForInstruction:(OYMInstruction *)inst
Parameters
inst |
Instruction to be processed |
---|
Return Value
The instruction string according to the object
Declared In
OYMInstructionAdapter.h
+ getDistanceString:
This method provides a human readable string for a specified distance.
+ (NSString *)getDistanceString:(int)dist
Parameters
dist |
Instruction distance |
---|
Return Value
The distance string according to the object
Declared In
OYMInstructionAdapter.h
+ getImageForInstruction:
This method provides a default image for each instruction.
+ (UIImage *)getImageForInstruction:(OYMInstruction *)inst
Parameters
inst |
Instruction to be processed |
---|
Return Value
The image to be used
Declared In
OYMInstructionAdapter.h
+ getMapImageForInstruction:
This method provides a default image to be added as marker for each instruction.
+ (UIImage *)getMapImageForInstruction:(OYMInstruction *)inst
Parameters
inst |
Instruction to be processed |
---|
Return Value
The map image to be used
Declared In
OYMInstructionAdapter.h