mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-03-02 04:32:55 +00:00
* [@types/ol] Update to openlayers 5.3 * [@types/ol] fix case sensitive * [@types/ol] fix case sensitive
12 lines
581 B
TypeScript
12 lines
581 B
TypeScript
import { Coordinate } from 'ol/coordinate';
|
|
import Event from 'ol/events/Event';
|
|
import PriorityQueue from 'ol/structs/PriorityQueue';
|
|
import Tile from 'ol/Tile';
|
|
export type PriorityFunction = ((param0: Tile, param1: string, param2: Coordinate, param3: number) => number);
|
|
export default class TileQueue extends PriorityQueue<any> {
|
|
constructor(tilePriorityFunction: PriorityFunction, tileChangeCallback: (() => void));
|
|
protected handleTileChange(event: Event): void;
|
|
getTilesLoading(): number;
|
|
loadMoreTiles(maxTotalLoading: number, maxNewLoads: number): void;
|
|
}
|