OfflineRouteProjectionEngineFactory
public class OfflineRouteProjectionEngineFactory
Create the offline version of RouteProjectionEngine
Important
This is a Public Preview API. It may be changed or removed at any time.-
Creates the offline engine with a given map data store.
- dataStore: An
NDSStore
which provides access to the offline map. - options: Options used to configure projection parameters. Uses default route projection options, if not supplied.
Throws
An error ifNDSStore
is invalid.Declaration
Swift
public class func create( dataStore: NDSStore, options: RouteProjectionOptions = .init() ) throws -> RouteProjectionEngine
Return Value
An instance of
RouteProjectionEngine
- dataStore: An