MMKDirections

Warning

This feature is available in the Full MapKit SDK version

class MMKDirections : NSObject

Summary

Instance methods

func createCarparksLayer(with mapWindow: MMKMapWindow) -> MMKCarparksLayer
Creates the carparks layer

func createDrivingRouter(withType type: MMKDrivingRouterType) -> MMKDrivingRouter
Creates a manager that builds driving routes

Properties

var isValid: Bool { get }
Tells if this object is valid or no

Instance methods

createCarparksLayer(with:)

func createCarparksLayer(with mapWindow: MMKMapWindow) -> MMKCarparksLayer

Creates the carparks layer.


createDrivingRouter(withType:)

func createDrivingRouter(withType type: MMKDrivingRouterType) -> MMKDrivingRouter

Creates a manager that builds driving routes.


Properties

isValid

var isValid: Bool { get }

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.