Skip to content

lowerGridSource

lowerGridSource(id, spec, path): GridLowering

Defined in: packages/core/src/emitter/lower-grid.ts:59

Lower one grid source: its declaration for the metadata stash, and the contract warning that says where it went.

ParameterTypeDescription
idstringThe source id (the stash key).
specObjThe source’s style half (type, url, encoding, geometry, range, units, nodata, attribution, bands). Runtime keys (cache, loading) are the caller’s to report, as on every source.
pathstringDotted path for the warning (sources.<id>).

GridLowering