MapsIndoors iOS SDK V3
Loading...
Searching...
No Matches
MPRouteStep.h
Go to the documentation of this file.
1//
2// MPRouteAction.h
3// Indoor
4//
5// Created by Daniel Nielsen on 12/2/13.
6// Copyright (c) 2017 MapsPeople A/S. All rights reserved.
7//
8
9#define kSTRAIGHT_MANEUVER @"Straight"
10#define kLEFT_UP_MANEUVER @"Left"
11#define kLEFT_DOWN_MANEUVER @"LeftDown"
12#define kLEFT_MANEUVER @"Left"
13#define kRIGHT_UP_MANEUVER @"RightUp"
14#define kRIGHT_DOWN_MANEUVER @"RightDown"
15#define kRIGHT_MANEUVER @"Right"
16#define kU_TURN_MANEUVER @"UTurn"
17#define kDOWN_MANEUVER @"Down"
18#define kUP_MANEUVER @"Up"
19#define kSTART_MANEUVER @"Start"
20#define kDESTINATION_MANEUVER @"Destination"
21
29
30
42
43#import "MPJSONModel.h"
44#import "MPPoint.h"
45#import "MPRouteProperty.h"
46#import "MPRouteCoordinate.h"
47#import "MPEncodedPolyline.h"
48#import "MPTransitDetails.h"
49#import "MPDefines.h"
50
52@end
53
54@protocol MPRouteStep
55@end
56
57
61@interface MPRouteStep : MPJSONModel
62
63
67@property (nonatomic, strong, nullable) NSString<Optional>* travel_mode;
71@property (nonatomic, strong, nullable) MPRouteCoordinate<Optional>* end_location;
75@property (nonatomic, strong, nullable) MPRouteCoordinate<Optional>* start_location;
79@property (nonatomic, strong, nullable) NSNumber<Optional>* distance;
83@property (nonatomic, strong, nullable) NSNumber<Optional>* duration;
96@property (nonatomic, strong, nullable) NSString<Optional>* maneuver;
100@property (nonatomic, strong, nullable) MPEncodedPolyline<Optional>* polyline;
104@property (nonatomic, strong, nullable) NSMutableArray<MPRouteCoordinate*><MPRouteCoordinate,Optional>* geometry;
108@property (nonatomic, strong, nullable) NSString<Optional>* html_instructions;
112@property _Nullable MPHighwayType highway;
116@property (nonatomic, strong, nullable) NSString<Optional>* routeContext;
120@property (nonatomic, strong, nullable) NSMutableArray<MPRouteStep*><MPRouteStep, Optional>* steps;
124@property (nonatomic, strong, nullable) MPTransitDetails<Optional>* transit_details;
125
126- (nullable MPPoint*)getActionPoint;
127- (nullable NSNumber*)getStartFloorName;
128- (nullable MPPoint *)getStartPoint;
129- (nullable MPPoint *)getEndPoint;
130
131@end
MPRouteActionDirection
Definition MPRouteStep.h:31
@ LEFT_DIRECTION
Definition MPRouteStep.h:32
@ RIGHT_OBTUSE_DIRECTION
Definition MPRouteStep.h:37
@ U_TURN_DIRECTION
Definition MPRouteStep.h:38
@ RIGHT_DIRECTION
Definition MPRouteStep.h:33
@ LEFT_OBTUSE_DIRECTION
Definition MPRouteStep.h:36
@ DOWN_DIRECTION
Definition MPRouteStep.h:40
@ UP_DIRECTION
Definition MPRouteStep.h:39
@ RIGHT_SHARP_DIRECTION
Definition MPRouteStep.h:35
@ LEFT_SHARP_DIRECTION
Definition MPRouteStep.h:34
MPRouteActionType
Definition MPRouteStep.h:22
@ DESTINATION_ACTION
Definition MPRouteStep.h:26
@ TURN_ACTION
Definition MPRouteStep.h:24
@ STRAIGHT_COMPASS_HEADING_ACTION
Definition MPRouteStep.h:23
@ START_ACTION
Definition MPRouteStep.h:27
@ Z_LEVEL_ACTION
Definition MPRouteStep.h:25
Definition MPEncodedPolyline.h:11
Definition MPPoint.h:23
Definition MPRouteCoordinate.h:15
Definition MPRouteStep.h:62
NSMutableArray< MPRouteStep * >< MPRouteStep, Optional > * steps
Definition MPRouteStep.h:120
nullable MPPoint * getActionPoint()
NSNumber< Optional > * duration
Definition MPRouteStep.h:83
MPRouteCoordinate< Optional > * start_location
Definition MPRouteStep.h:75
_Nullable MPHighwayType highway
Definition MPRouteStep.h:112
MPEncodedPolyline< Optional > * polyline
Definition MPRouteStep.h:100
MPRouteCoordinate< Optional > * end_location
Definition MPRouteStep.h:71
NSString< Optional > * travel_mode
Definition MPRouteStep.h:67
NSMutableArray< MPRouteCoordinate * >< MPRouteCoordinate, Optional > * geometry
Definition MPRouteStep.h:104
NSNumber< Optional > * distance
Definition MPRouteStep.h:79
nullable MPPoint * getStartPoint()
nullable MPPoint * getEndPoint()
NSString< Optional > * routeContext
Definition MPRouteStep.h:116
MPTransitDetails< Optional > * transit_details
Definition MPRouteStep.h:124
NSString< Optional > * maneuver
Definition MPRouteStep.h:96
nullable NSNumber * getStartFloorName()
NSString< Optional > * html_instructions
Definition MPRouteStep.h:108
Definition MPTransitDetails.h:19