TTMatcher

Objective-C

@interface TTMatcher : NSObject

Swift

class TTMatcher : NSObject

Public Preview

This is under Public Preview and subject to change by the end of 2020.12. More information is available at: https://developer.tomtom.com/public-preview

Base class TTMatcher that describes the base API for map/routing matching. Map/routing matching snaps an inaccurate GPS probe to the given route. The reference route can be set manually or can be obtained from the map tiles, depending on the use case.

  • Matching with match data set

    Declaration

    Objective-C

    - (instancetype _Nonnull)initWithMatchDataSet:(id<TTMatching> _Nonnull)matching;

    Parameters

    matching

    id

    Return Value

    TTMatcher

  • Snaps current location to the nearest route. The route can be set manually or can be obtained from the map tiles, depending on the use case.

    Declaration

    Objective-C

    - (void)setMatcherLocation:(TTMatcherLocation *_Nonnull)location;

    Swift

    func setMatcherLocation(_ location: TTMatcherLocation)

    Parameters

    location

    TTMatcherLocation