The label RoutingModule gives a waypoint when WaypointLabelConfig.title is not a function: the POI name, else the free-form address, else none.
// "Home" at the finish, the default label elsewhereroutingModule.applyConfig({ waypoints: { label: { title: (waypoint) => waypoint.properties.indexType === 'finish' ? 'Home' : (buildWaypointTitle(waypoint) ?? ''), }, },}); Copy
// "Home" at the finish, the default label elsewhereroutingModule.applyConfig({ waypoints: { label: { title: (waypoint) => waypoint.properties.indexType === 'finish' ? 'Home' : (buildWaypointTitle(waypoint) ?? ''), }, },});
The label RoutingModule gives a waypoint when WaypointLabelConfig.title is not a function: the POI name, else the free-form address, else none.