Files
Projekt-Visualisierung/node_modules/maplibre-gl/src/data/extent_bounds.ts
2026-04-15 17:08:39 +02:00

8 lines
314 B
TypeScript

import Point from '@mapbox/point-geometry';
import {Bounds, type ReadOnlyBounds} from '../geo/bounds';
import {EXTENT} from './extent';
/**
* The bounding box covering the entire extent of a tile.
*/
export const EXTENT_BOUNDS = Bounds.fromPoints([new Point(0, 0), new Point(EXTENT, EXTENT)]) as ReadOnlyBounds;