Waze Map Editor JavaScript SDK
    Preparing search index...

    Interface BaseRestriction

    Base restriction contract shared by turn and segment restrictions.

    interface BaseRestriction {
        defaultType: null | RESTRICTION_TYPE;
        description: null | string;
        driveProfiles: DriveProfiles;
        editable: boolean;
        isExpired: boolean;
        timeFrames: TimeFrame[];
    }

    Hierarchy (View Summary)

    Index

    Properties

    defaultType: null | RESTRICTION_TYPE

    Default restriction type.

    description: null | string

    Free text description of the restriction.

    driveProfiles: DriveProfiles

    Drive profiles overriding the default restriction per restriction type.

    editable: boolean

    Whether the restriction is editable by the current user.

    isExpired: boolean

    Whether the restriction has expired based on its time frames.

    timeFrames: TimeFrame[]

    Array of time frames indicating when the restriction applies.