userOffRoute property

dynamic Function(LatLng?)? userOffRoute
final

This callback will called when the user is off route and response a LatLng object which contains all information about the location where user off route (user is off route when user is not follow the route)

Implementation

final Function(LatLng?)? userOffRoute;