UNPKG

maplibre-gl

Version:

BSD licensed community fork of mapbox-gl, a WebGL interactive maps library

8 lines (7 loc) 314 B
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;