Waze Map Editor JavaScript SDK
    Preparing search index...

    Interface Camera

    interface Camera {
        direction: RestrictionSegmentDirection | null;
        geometry: Point;
        id: number;
        lockRank: number | null;
        modificationData: ModificationMetadata;
        segmentId: number | null;
        subTypes: PermanentHazardSubType[];
        type: "CAMERA";
        types: CameraType[];
    }

    Hierarchy (View Summary)

    Index
    direction: RestrictionSegmentDirection | null

    The direction of the permanent hazard.

    geometry: Point

    The GeoJSON Point representation of the camera's location.

    id: number

    The id of the permanent hazard.

    lockRank: number | null

    The rank of the permanent hazard.

    modificationData: ModificationMetadata

    The modification metadata of the permanent hazard.

    segmentId: number | null

    The id of the segment the permanent hazard is on.

    The sub types of the permanent hazard.

    type: "CAMERA"

    The type of the permanent hazard.

    types: CameraType[]

    Use subTypes instead for consistency across all hazards.