EmitResult
Defined in: packages/core/src/emitter/project.ts:116
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
assets? | EmitAsset[] | Generated raster-asset descriptors (marker pins, pattern tiles) the style’s sprite references. Core describes; the CLI rasterizes and writes them beside the style (KTD3). Absent when the document generates none. | packages/core/src/emitter/project.ts:124 |
data? | EmitDataRef[] | FlatGeobuf / GeoParquet sources to convert (ml-cnv.3/.4). Core emits each as an empty GeoJSON source and describes the file here; the CLI reads it and inlines the features (mlym emit). A direct caller holds the same obligation. Absent when the document has none. | packages/core/src/emitter/project.ts:138 |
images? | EmitImageRef[] | Fetch-at-emit image refs (images:, marker icons — U6). Core describes; the CLI fetches each URL at compile time and merges the image into the document sprite next to the generated assets. Absent when the document declares none. | packages/core/src/emitter/project.ts:131 |
placements | LayerPlacement[] | Placement intent for the document’s own layers. Remarks Carried alongside the style rather than resolved into it, because before may name a layer the basemap supplies — which does not exist until the merge step. Ordering therefore resolves once, at whichever point the whole layer list is known: here when there is no basemap, at the merge otherwise. | packages/core/src/emitter/project.ts:148 |
style | Record<string, unknown> | - | packages/core/src/emitter/project.ts:117 |
warnings | EmitWarning[] | - | packages/core/src/emitter/project.ts:118 |