MapsIndoors iOS SDK V3
Loading...
Searching...
No Matches
MPRoute.h
Go to the documentation of this file.
1//
2// MPRoute.h
3// MapsIndoors SDK for iOS
4//
5// Created by Daniel Nielsen on 8/9/13.
6// Copyright (c) 2017 MapsPeople A/S. All rights reserved.
7//
8
9#import "MPJSONModel.h"
10#import "MPEncodedPolyline.h"
11#import "MPRouteProperty.h"
12#import "MPRouteCoordinate.h"
13#import "MPRouteBounds.h"
14#import "MPPoint.h"
15#import "MPRouteLeg.h"
16
17
25 NSInteger legIndex;
29 NSInteger stepIndex;
30};
32
36@protocol MPRouteLeg
37@end
38
42@interface MPRoute : MPJSONModel
43
44@property (nonatomic, strong, nullable) NSString<Optional>* copyrights;
48@property (nonatomic, strong, nullable) NSMutableArray<MPRouteLeg*><MPRouteLeg,Optional>* legs;
49
50@property (nonatomic, strong, nullable) MPEncodedPolyline<Optional>* overview_polyline;
54@property (nonatomic, strong, nullable) NSString<Optional>* summary;
58@property (nonatomic, strong, nullable) NSArray<Optional>* warnings;
62@property (nonatomic, strong, nullable) MPRouteBounds<Optional>* bounds;
66@property (nonatomic, strong, nullable) NSNumber<Optional>* distance;
70@property (nonatomic, strong, nullable) NSNumber<Optional>* duration;
74@property (nonatomic, strong, nullable) NSArray<NSString*><Optional>* restrictions;
75
79- (MPRouteSegmentPath)findNearestRouteSegmentPathFromPoint:(nonnull MPPoint*)point floor: (nonnull NSNumber*) floorIndex;
80@end
Definition MPEncodedPolyline.h:11
Definition MPPoint.h:23
Definition MPRouteBounds.h:16
Definition MPRoute.h:43
MPRouteBounds< Optional > * bounds
Definition MPRoute.h:62
NSArray< NSString * >< Optional > * restrictions
Definition MPRoute.h:74
NSNumber< Optional > * duration
Definition MPRoute.h:70
NSMutableArray< MPRouteLeg * >< MPRouteLeg, Optional > * legs
Definition MPRoute.h:48
MPEncodedPolyline< Optional > * overview_polyline
Definition MPRoute.h:50
NSString< Optional > * summary
Definition MPRoute.h:54
NSString< Optional > * copyrights
Definition MPRoute.h:44
NSNumber< Optional > * distance
Definition MPRoute.h:66
NSArray< Optional > * warnings
Definition MPRoute.h:58
Definition MPRouteLeg.h:26
Definition MPRoute.h:21
NSInteger stepIndex
Definition MPRoute.h:29
NSInteger legIndex
Definition MPRoute.h:25