This is the documentation of version 1.0.0-rc.4. Go to the latest version, 1.0.0-rc.5.
TomTom Maps for JavaScript
    Preparing search index...

    Variable SELECTED_ROUTE_FILTERConst

    SELECTED_ROUTE_FILTER: ExpressionSpecification = ...

    The layer filter that keeps the selected route's features, so a layer draws only that route.