Interface ILeafletViewportState

Viewport state of the leaflet

interface ILeafletViewportState {
    percentInView: {
        start: number;
        end: number;
    };
    offerGuids: string[];
    chapterGuids: string[];
}

Properties

percentInView: {
    start: number;
    end: number;
}

The percentage of the viewport that the offers are in

offerGuids: string[]

The GUIDs of the offers in view

chapterGuids: string[]

The GUIDs of the chapters in view