setShowRouteHandler

abstract fun setShowRouteHandler(handler: () -> Unit?)

Sets the handler to be invoked when the user taps the "Show Route" button. The handler will only be active when not in free roam mode.

Parameters

handler

Callback to show the route on the map, or null to remove the handler.