MapsIndoors iOS SDK V3
Loading...
Searching...
No Matches
MPRouteLeg.h
Go to the documentation of this file.
1//
2// MPRouteLeg.h
3// MapsIndoors SDK for iOS
4//
5// Created by Daniel Nielsen on 12/2/13.
6// Copyright (c) 2017 MapsPeople A/S. All rights reserved.
7//
8
9#import "MPJSONModel.h"
10#import "MPLineGeometry.h"
11#import "MPRouteCoordinate.h"
12#import "MPRouteProperty.h"
13#import "MPRouteStep.h"
14
15
20
21
25@interface MPRouteLeg : MPJSONModel
26
30@property (nonatomic, strong, nullable) NSNumber<Optional>* distance;
31
35@property (nonatomic, strong, nullable) NSNumber<Optional>* duration;
39@property (nonatomic, strong, nullable) MPRouteCoordinate<Optional>* start_location;
43@property (nonatomic, strong, nullable) MPRouteCoordinate<Optional>* end_location;
47@property (nonatomic, strong, nullable) NSString<Optional>* start_address;
51@property (nonatomic, strong, nullable) NSString<Optional>* end_address;
55@property (nonatomic, strong, nullable) NSMutableArray<MPRouteStep*><MPRouteStep, Optional>* steps;
59@property (nonatomic) MPRouteLegType routeLegType;
60
61@end
MPRouteLegType
Definition MPRouteLeg.h:16
@ MPRouteLegTypeMapsIndoors
Definition MPRouteLeg.h:17
@ MPRouteLegTypeGoogle
Definition MPRouteLeg.h:18
Definition MPRouteCoordinate.h:15
Definition MPRouteLeg.h:26
NSMutableArray< MPRouteStep * >< MPRouteStep, Optional > * steps
Definition MPRouteLeg.h:55
NSNumber< Optional > * duration
Definition MPRouteLeg.h:35
NSString< Optional > * start_address
Definition MPRouteLeg.h:47
NSString< Optional > * end_address
Definition MPRouteLeg.h:51
MPRouteCoordinate< Optional > * end_location
Definition MPRouteLeg.h:43
MPRouteLegType routeLegType
Definition MPRouteLeg.h:59
MPRouteCoordinate< Optional > * start_location
Definition MPRouteLeg.h:39
NSNumber< Optional > * distance
Definition MPRouteLeg.h:30