import { FireMapTileV1 } from "./FireMapTileV1"; import { FireMapUpdateV1 } from "./FireMapUpdateV1"; import { IFireMapClientV1 } from "./IFireMapClientV1"; import { IFireMapListenerV1 } from "./IFireMapListenerV1"; import { LocationV1 } from "./LocationV1"; export declare class FireMapMockClientV1 implements IFireMapClientV1 { private _listeners; private _fireMapTilesBlocks; private _appendLoc; private composeFilter; addListener(listener: IFireMapListenerV1): Promise; removeListener(listener: IFireMapListenerV1): Promise; getTiles(correlationId: string, from: LocationV1, to: LocationV1, zoom: number): Promise; updateTiles(correlationId: string, updates: FireMapUpdateV1[]): Promise; /** * Check if we can set state for current block * Update strategy: * 1) set clear if all child clear too * 2) set smoke if not child with fire state * 3) set fire always * * @param childBlocks child fire map blocks * @param type type of update * @returns can update */ private canUpdateBlock; private getLocator; private locatorToPolar; /** * Calculates the positions of the extreme corners of the locator * * @param loc QTH locator * @param locatorSym symbol position inside locator (locator zoom) * @param invertAngles flag for returns left bottom and right top angles * @returns location array [from, to] (left top and right bottom) */ private getLocatorCoordinates; private createBlocks; private calcCenterCoordinates; private tilesBlocksToTiles; }