9#import <Foundation/Foundation.h>
10#import <UIKit/UIKit.h>
15#define kMPNotificationDirectionsRenderingStarted @"MP_DIRECTIONS_RENDERING_STARTED"
16#define kMPNotificationDirectionsRenderingStopped @"MP_DIRECTIONS_RENDERING_STOPPED"
18#pragma mark - DirectionsRendererContextualInfoSettings
35@property (nonatomic, nullable) NSArray<NSString*>*
types;
39@property (nonatomic, nullable) NSArray<NSString*>*
categories;
49#pragma mark - Directions Renderer Delegate
54@protocol MPDirectionsRendererDelegate <NSObject>
60- (void) floorDidChange: (nonnull NSNumber*)floor;
72#pragma mark - Directions Renderer
79@property (nonatomic, weak, nullable) id <MPDirectionsRendererDelegate> delegate;
83@property (nonatomic, strong, nullable) GMSMapView* map;
87@property (nonatomic, strong, nullable)
MPRoute* route;
91@property (nonatomic, strong, nullable) UIButton* nextRouteLegButton;
95@property (nonatomic, strong, nullable) UIButton* previousRouteLegButton;
99@property (nonatomic) NSInteger routeLegIndex;
103@property (nonatomic) NSInteger routeStepIndex;
107@property (nonatomic, strong, nullable) UIColor* solidColor;
111@property (nonatomic, strong, nullable) UIColor* backgroundColor;
115@property (nonatomic) BOOL fitBounds;
123@property (nonatomic) UIEdgeInsets edgeInsets;
127@property (nonatomic, readonly) BOOL isRenderingRoute;
131@property (nonatomic, strong, nullable) NSArray<UIImage*>* actionPointImages;
138- (void)animate:(NSTimeInterval)duration;
MPDirectionsRendererContextualInfoScope
Which information to show from the Location close to the end of a route leg.
Definition MPDirectionsRenderer.h:22
@ MPDirectionsRendererContextualInfoScopeIconAndName
Definition MPDirectionsRenderer.h:24
@ MPDirectionsRendererContextualInfoScopeIconOnly
Definition MPDirectionsRenderer.h:26
@ MPDirectionsRendererContextualInfoScopeNameOnly
Definition MPDirectionsRenderer.h:28
MPDirectionsRenderFit
Definition MPDirectionsRenderer.h:63
@ MPDirectionsRenderFitNorthBound
Definition MPDirectionsRenderer.h:69
@ MPDirectionsRenderFitIndoorPathUpwards
Definition MPDirectionsRenderer.h:67
@ MPDirectionsRenderFitIndoorPathFirstLineUpwards
Definition MPDirectionsRenderer.h:65
Settings for showing contextual info along the rendered route.
Definition MPDirectionsRenderer.h:33
MPDirectionsRendererContextualInfoScope contentScope
Which content should be used. Default is IconAndName.
Definition MPDirectionsRenderer.h:45
double maxDistance
The maximum distance in meters allowed for using text and icon from a Location. Leave blank for a def...
Definition MPDirectionsRenderer.h:42
NSArray< NSString * > * types
Definition MPDirectionsRenderer.h:35
NSArray< NSString * > * categories
Definition MPDirectionsRenderer.h:39
Definition MPDirectionsRenderer.h:78