YMKDirections

Важно

This feature is available in the Full MapKit SDK version

@interface YMKDirections : NSObject

Summary

Instance methods

- (nonnull YMKCarparksLayer *)createCarparksLayerWithMapWindow:
    (nonnull YMKMapWindow *)mapWindow;

Creates the carparks layer

- (nonnull YMKDrivingRouter *)createDrivingRouterWithType:
    (YMKDrivingRouterType)type;

Creates a manager that builds driving routes

Properties

@property (nonatomic, readonly, getter=isValid) BOOL valid;
Tells if this object is valid or no

Instance methods

createCarparksLayerWithMapWindow:

- (nonnull YMKCarparksLayer *)createCarparksLayerWithMapWindow:
    (nonnull YMKMapWindow *)mapWindow;

Creates the carparks layer.


createDrivingRouterWithType:

- (nonnull YMKDrivingRouter *)createDrivingRouterWithType:
    (YMKDrivingRouterType)type;

Creates a manager that builds driving routes.


Properties

valid

@property (nonatomic, readonly, getter=isValid) BOOL valid;

Tells if this object is valid or no. Any method called on an invalid object will throw an exception. The object becomes invalid only on UI thread, and only when its implementation depends on objects already destroyed by now. Please refer to general docs about the interface for details on its invalidation.


Предыдущая
Следующая