addRouteClickListener

Registers RouteClickListener that will be notified about any route being clicked. The clicked Route becomes a parameter of the RouteClickListener.onRouteClick callback.

Parameters

listener

The RouteClickListener to add.

Throws

if listener is already added.