[Directions] directionsRequestErrorCallback is never called

Hello

In the documentation there is a callback we can pass to the DirectionsProvider for catching errors like the ZERO_RESULTS after searching for directions between two points.

But for some reason it is never called, despite having it set as 3rd parameter in the DirectionsProvider constructor.

I’m not 100% sure but there might be a typo in the locastore library

in getDirectionsFromOrToStore

it is searching for directionsRequestErrorCallback in ‘this’ yet the callback is located in ‘this.parent’

Is this a known issue or am I doing it wrong ?

Hello @Tucsky,

You’re right, this callback is never called. It’s a known issue.
We don’t have any public issue tracker but I will link your feedback to the issue and keep you inform right here when the product team fix it.

Thanks!

1 Like