is New Route
Compares a new routeProgress geometry to a previousRouteProgress geometry to determine if the user is traversing along a new route. If the route geometries do not match, this returns true.
Return
true if the direction route geometries do not match up, otherwise, false
Since
0.7.0
Parameters
previous Route Progress
the past route progress with the directions route included
route Progress
the route progress with the directions route included
Compares a new routeProgress geometry to a previousRouteProgress geometry to determine if the user is traversing along a new route. If the route geometries do not match, this returns true.
Return
true if the direction route geometries do not match up, otherwise, false
Since
0.7.0
Parameters
previous Route Progress
the past route progress with the directions route included
directions Route
the current directions route