OnWayNameChangedListener

interface OnWayNameChangedListener

A listener that can be added to the NavigationMapboxMap with addOnWayNameChangedListener.

This listener is triggered when a new way name is found along the route and it only triggers after updateWaynameQueryMap fires. This listener will be triggered regardless of the map way name visibility. (setWayNameActive). This is so you can hide our implementation of the way name UI and update your own if you'd like.

Functions

onWayNameChanged
Link copied to clipboard
abstract fun onWayNameChanged(wayName: String)
Triggered every time a new way name is found along the route.This will mainly be when transitioning steps, onto new roads.

Inheritors

NavigationViewWayNameListener
Link copied to clipboard
MapWayNameChangedListener
Link copied to clipboard