They control whether a route appears selected (highlighted) or deselected (dimmed).
showRoutes selects the route at selectedIndex, the first by default, and only selectRoute
changes the selection after that.
Remarks
Style states:
selected: Primary route with full color saturation and emphasis
deselected: Alternative routes shown dimmed/grayed out
Example
// Main selected route constselectedStyle: RouteStateProps = { routeState:'selected' };
// Alternative route constalternativeStyle: RouteStateProps = { routeState:'deselected' };
The props of a displayed route's visual style.
They control whether a route appears selected (highlighted) or deselected (dimmed).
showRoutesselects the route atselectedIndex, the first by default, and onlyselectRoutechanges the selection after that.Remarks
Style states:
selected: Primary route with full color saturation and emphasisdeselected: Alternative routes shown dimmed/grayed outExample