Waze Map Editor JavaScript SDK
    Preparing search index...

    Interface SchoolZone

    interface SchoolZone {
        direction: null | RestrictionSegmentDirection;
        excludedRoadTypes: null | RoadTypeId[];
        geometry: Point | Polygon;
        id: number;
        lockRank: null | number;
        modificationData: ModificationMetadata;
        name: null | string;
        scheduleId: null | string;
        segmentId: null | number;
        speedLimit: null | number;
        subTypes: PermanentHazardSubType[];
        type: "SCHOOL_ZONE";
    }

    Hierarchy (View Summary)

    Index

    Properties

    direction: null | RestrictionSegmentDirection

    The direction of the permanent hazard.

    excludedRoadTypes: null | RoadTypeId[]

    The excluded road types of the school zone.

    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.

    name: null | string

    The name of the school zone.

    scheduleId: null | string

    The id of the schedule of the school zone.

    segmentId: null | number

    The id of the segment the permanent hazard is on.

    speedLimit: null | number

    The speed limit of the school zone.

    The sub types of the permanent hazard.

    type: "SCHOOL_ZONE"

    The type of the permanent hazard.