OfflineMapMatchingEngineFactory

public class OfflineMapMatchingEngineFactory

The factory provides a public API for creating an instance of MapMatchingEngine for offline mode.

Important

This is a Public Preview API. It may be changed or removed at any time.
  • Creates the offline engine with the given data store.

    Throws

    An error if an instance of MapMatchingEngine cannot be created.

    Declaration

    Swift

    public class func create(dataStore: NDSStore) throws -> MapMatchingEngine

    Parameters

    dataStore

    An NDSStore which provides access to the offline map.

    Return Value

    An instance of MapMatchingEngine.