getFirstZoneWithAreas

fun getFirstZoneWithAreas(areas: Set<VehicleArea>): VehicleZone<A>?

Returns the first supported VehicleZone that contains the given set of VehicleAreas. It can contain other areas as well, but it must contain the areas from the given set.

Return

The first VehicleZone that the given areas is part of; null otherwise.

Parameters

areas

The set of VehicleAreas to get the zone for.