Skip to main content

Type Alias: CutlineBboxProps

CutlineBboxProps = object

Defined in: cutline-bbox.ts:10

Props for the CutlineBbox shader module.

Properties

bbox

bbox: [number, number, number, number]

Defined in: cutline-bbox.ts:20

Axis-aligned bbox in EPSG:3857 meters, packed as [minX, minY, maxX, maxY]. This must be in the same coordinate space as the layer's mesh positions attribute — for COGLayer / RasterLayer's Web Mercator rendering path, that is raw 3857 meters.

Use lngLatToMercator to project a WGS84 lng/lat bbox once at bbox definition time.