import { LocationV1 } from "../data/version1"; /** * This is utility class that help works with coordinates and convert their to QTH locators */ export declare class FireMapUtil { private static _appendLoc; private static _locatorSym; static composeTileLocByZoom(loc: string, zoom: number): string; /** * Rounds the locator up to a specific zoom. * @param loc QTH locator * @param zoom zoom value */ static getLocByZoom(loc: string, zoom: number): string; /** * Convert lat, long to QTH locator * @param location QTH locator with 10 symbols */ static getLocator(location: LocationV1): string; /** * Calculates the positions of the extreme corners of the locator * * @param loc QTH locator * @param zoom 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) */ static getLocatorCoordinates(loc: string, zoom: number, invertAngles?: boolean): LocationV1[]; static locatorToPolar(loc: string): LocationV1; static calcCenterCoordinates(from: LocationV1, to: LocationV1): LocationV1; }