Waze Map Editor JavaScript SDK
    Preparing search index...

    Interface Camera

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

    Hierarchy (View Summary)

    Index

    Properties

    direction: null | RestrictionSegmentDirection

    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: null | number

    The rank of the permanent hazard.

    modificationData: ModificationMetadata

    The modification metadata of the permanent hazard.

    segmentId: null | number

    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.