Interface HonuaMapPackageDependency

An external capability the package needs in order to render. Declarative only — nothing in the SDK installs or resolves these; hosts use them to report a fidelity gap before rendering rather than after.

interface HonuaMapPackageDependency {
    kind?:
        | "plugin"
        | "protocol"
        | "renderer"
        | "basemap"
        | "font"
        | "sdk"
        | "sprite";
    name: string;
    optional?: boolean;
    versionRange?: string;
}

Properties

kind?:
    | "plugin"
    | "protocol"
    | "renderer"
    | "basemap"
    | "font"
    | "sdk"
    | "sprite"
name: string

Dependency name, e.g. maplibre-gl, @honua/sdk-js, pmtiles.

optional?: boolean

Whether the package still renders (degraded) without it.

versionRange?: string

semver range the package was authored against.