OptionalapplyActive HonuaClient; used for protocol adapter binding.
OptionaldisableDisable the default /ogc/styles StyleRef resolver. When true and no
resolveStyleRef callback is supplied, style refs without an
inline body are left unresolved (composition then errors on them).
OptionalonListener registered on the runtime before the first
source-ready / package-loaded emissions so callers can observe
the initial lifecycle without race-binding through
runtime.on(...). Equivalent to calling runtime.on(listener)
immediately after construction. Subsequent events (updatePackage,
disposed, …) also flow through this listener.
OptionalpopupOptional popup factory; required only if the caller calls runtime.bindPopup.
OptionalpopupOptional popup renderer; defaults to an unstyled <dl> of feature properties.
OptionalresolveResolver passed to createDataset for adapters the built-in set
(geoservices-*, ogc-features) does not cover — typically the
WFS/WMS/OData/tile-layer adapters contributed by #24–#28.
OptionalresolveOut-of-band style-ref body resolver. Only called when the ref has no
inline body. When omitted, the runtime defaults to resolving
styleRefs.styleId against the server's OGC API – Styles surface
(GET /ogc/styles/{styleId}, content-negotiated MapLibre) via
createOgcStyleRefResolver, so the JS identifier matches the
server's canonical styleId. Pass a callback to override that path
(back-compat), or set disableDefaultStyleRefResolver to skip it.
OptionalresolveOut-of-band theme resolver. Only called when pkg.theme is absent and pkg.themeId is set.
OptionalskipSkip client.checkCompatibility() — useful in tests and conformance fixtures.
OptionalsourcePer-source binding error policy. Defaults to "tolerant": a single
source failing to bind (resolver throws, toHonuaSourceSpec throws,
dataset.source(id) throws) does not abort the whole package load.
Failed sources surface via source-error events and the
HonuaRuntimeTelemetry.error hook; remaining sources continue
to render. Pass "fail-fast" to reject the load on any per-source
binding failure (the historical single-source behaviour).
OptionalstyleMapLibre style-spec validation mode used by runtime source/layer
mutation helpers. Defaults to "strict"; pass "warning-only" to
keep diagnostics non-fatal, or "renderer-deferred" to skip SDK
style-spec checks and let the renderer report invalid style values.
OptionaltelemetryTelemetry collector; wired through the HonuaClient interceptor chain.
When true, apply
pkg.initialViewto the map immediately after load. Defaults totrue.