Hierarchy

  • PriorityQueue<any>
    • TileQueue

Constructors

  • Parameters

    • tilePriorityFunction: PriorityFunction

      Tile priority function.

    • tileChangeCallback: (() => unknown)

      Function called on each tile change event.

        • (): unknown
        • Returns unknown

    Returns TileQueue

Methods

  • FIXME empty description for jsdoc

    Returns void

  • Remove and return the highest-priority element. O(log N).

    Returns any

    Element.

  • Parameters

    • element: any[]

      Element.

    Returns boolean

    The element was added to the queue.

  • Returns number

    Count.

  • Returns number

    Number of tiles loading.

  • Protected

    Parameters

    • event: BaseEvent

      Event.

    Returns void

  • Returns boolean

    Is empty.

  • Parameters

    • key: string

      Key.

    Returns boolean

    Is key queued.

  • Parameters

    • element: any

      Element.

    Returns boolean

    Is queued.

  • Parameters

    • maxTotalLoading: number

      Maximum number tiles to load simultaneously.

    • maxNewLoads: number

      Maximum number of new tiles to load.

    Returns void

  • FIXME empty description for jsdoc

    Returns void