NavigationRouteLine

constructor(route: NavigationRoute, identifier: String?)

Parameters

route

a directions route

identifier

an optional identifier for the directions route which can be used to influence color of the route when it is an alternative route.