Methods # getIconZoomRange() Get union zoom range for icon+badge (icon view model shows when either is in range). # hasContextSwitch(leg) → {boolean} Checks if the given leg represents a context switch. Parameters: Name Type Description leg Leg The route leg to check for context switch. Returns: Returns true if the leg is a context switch, false otherwise. Type: boolean