Waze Map Editor JavaScript SDK
    Preparing search index...

    Interface SchoolZone

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

    Hierarchy (View Summary)

    Index
    direction: RestrictionSegmentDirection | null

    The direction of the permanent hazard.

    excludedRoadTypes: RoadTypeId[] | null

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

    The rank of the permanent hazard.

    modificationData: ModificationMetadata

    The modification metadata of the permanent hazard.

    name: string | null

    The name of the school zone.

    scheduleId: string | null

    The id of the schedule of the school zone.

    segmentId: number | null

    The id of the segment the permanent hazard is on.

    speedLimit: number | null

    The speed limit of the school zone.

    The sub types of the permanent hazard.

    type: "SCHOOL_ZONE"

    The type of the permanent hazard.