Home > @magiclane/maps-sdk > Debug > checkTrafficAlongRoutes

Debug.checkTrafficAlongRoutes() method

Initiate a check for traffic conditions along all routes.

Signature:

static checkTrafficAlongRoutes(): boolean;

Returns:

boolean

True if traffic conditions suggest a change in the route, false otherwise