Waze Map Editor JavaScript SDK
    Preparing search index...

    Interface StandardPermanentHazard

    interface StandardPermanentHazard {
        direction: null | RestrictionSegmentDirection;
        geometry: Point | Polygon;
        id: number;
        lockRank: null | number;
        modificationData: ModificationMetadata;
        rank: null | number;
        segmentId: null | number;
        subTypes: PermanentHazardSubType[];
        type:
            | "DANGEROUS_CURVE"
            | "DANGEROUS_INTERSECTION"
            | "DANGEROUS_MERGE"
            | "RAILROAD_CROSSING"
            | "SPEED_BUMP"
            | "TOLL_BOOTH"
            | "TOPES"
            | "TRAFFIC_LIGHT"
            | "SIGN"
            | "RAISED_CROSSWALK"
            | "HIGHWAY_CROSSWALK"
            | "NARROW_BRIDGE"
            | "LANE_ENDING"
            | "SHOULDER_ENDING";
    }

    Hierarchy (View Summary)

    Index

    Properties

    direction: null | RestrictionSegmentDirection

    The direction of the permanent hazard.

    geometry: Point | Polygon

    The GeoJSON Point representation of the permanent hazard's location.

    id: number

    The id of the permanent hazard.

    lockRank: null | number

    The rank of the permanent hazard.

    modificationData: ModificationMetadata

    The modification metadata of the permanent hazard.

    rank: null | number

    The rank of the standard permanent hazard.

    segmentId: null | number

    The id of the segment the permanent hazard is on.

    The sub types of the permanent hazard.

    type:
        | "DANGEROUS_CURVE"
        | "DANGEROUS_INTERSECTION"
        | "DANGEROUS_MERGE"
        | "RAILROAD_CROSSING"
        | "SPEED_BUMP"
        | "TOLL_BOOTH"
        | "TOPES"
        | "TRAFFIC_LIGHT"
        | "SIGN"
        | "RAISED_CROSSWALK"
        | "HIGHWAY_CROSSWALK"
        | "NARROW_BRIDGE"
        | "LANE_ENDING"
        | "SHOULDER_ENDING"

    The type of the standard permanent hazard.