import { Bounds } from '../features/Bounds'; import { Point } from '../features/Point'; import { Unit } from '../features/Unit'; import { Pixel } from './Pixel'; /** * Grid Tile */ export declare class GridTile { /** * Tile width */ private width; /** * Tile height */ private height; /** * Zoom level */ private zoom; /** * Bounds */ private bounds?; /** * Create a tile * * @param width * tile width * @param height * tile height * @param x * x coordinate * @param y * y coordinate * @param zoom * zoom level * @return tile */ static tile(width: number, height: number, x: number, y: number, zoom: number): GridTile; /** * Create a tile * * @param width * tile width * @param height * tile height * @param bounds * tile bounds * @return tile */ static tileWithBounds(width: number, height: number, bounds: Bounds): GridTile; /** * Get the tile width * * @return tile width */ getWidth(): number; /** * Get the tile height * * @return tile height */ getHeight(): number; /** * Get the zoom level * * @return zoom level */ getZoom(): number; /** * Get the bounds in the optional units * * @param unit * units * @return bounds in units */ getBounds(unit?: Unit): Bounds | undefined; /** * Get the bounds in degrees * * @return bounds in degrees */ getBoundsDegrees(): Bounds | undefined; /** * Get the bounds in meters * * @return bounds in meters */ getBoundsMeters(): Bounds | undefined; /** * Get the point pixel location in the tile * * @param point * point * @return pixel */ getPixel(point: Point): Pixel; /** * Get the longitude in meters x pixel location in the tile * * @param longitude * longitude in meters * @return x pixel */ getXPixel(longitude: number): number; /** * Get the latitude (in meters) y pixel location in the tile * * @param latitude * latitude in meters * @return y pixel */ getYPixel(latitude: number): number; } //# sourceMappingURL=GridTile.d.ts.map