EmitImageRef
Defined in: packages/core/src/emitter/assets.ts:51
One image to fetch at compile time and merge into the document sprite
(U6, R9). Core describes — name, URL, flags — and the CLI fetches,
measures, and composites (KTD3’s split, extended to the network step:
fetching lives beside resolveBasemap, the pipeline’s one networked
stage). A programmatic consumer without the CLI receives everything
needed to resolve the refs itself.
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
name | string | Sprite entry name; layers reference it as mlym:<name>. | packages/core/src/emitter/assets.ts:53 |
pixelRatio? | number | Source density — 2 means the file’s pixels are @2x its CSS size. | packages/core/src/emitter/assets.ts:59 |
sdf? | boolean | Signed-distance-field icon (tintable via icon-color). | packages/core/src/emitter/assets.ts:57 |
url | string | Where to fetch the image at emit time. | packages/core/src/emitter/assets.ts:55 |