Waze Map Editor JavaScript SDK
    Preparing search index...

    Interface RoadClosure

    interface RoadClosure {
        description: null | string;
        endDate: null | string;
        id: string;
        isForward: boolean;
        isPermanent: boolean;
        modificationData: ModificationMetadata;
        segmentId: number;
        startDate: null | string;
        status: ClosureStatus;
        trafficEventId: null | string;
    }
    Index

    Properties

    description: null | string

    The description of the closure.

    endDate: null | string

    The end date and time of the closure in the timezone of the closure location.

    id: string
    isForward: boolean

    A flag to indicate the closure's direction on the segment. isForward = true means that the closure is on segment from A -> B direction, isForward = false means that the closure is on segment from B -> A direction.

    isPermanent: boolean

    A flag to indicate if the closure should be auto finished when traffic is detected in the road. When true, the closure will remain active until the end date, even if traffic is detected on the road.

    modificationData: ModificationMetadata
    segmentId: number

    The id of the segment that the closure is on.

    startDate: null | string

    The start date and time of the closure in the timezone of the closure location.

    The status of the closure.

    trafficEventId: null | string

    The id of the traffic event associated with the closure.