Bound layer handle. Drops layers / styles from per-call requests and pre-fills the LAYER name. featureInfo() carries the same i, j, and bbox envelope as the service-level handle.

Constructors

Properties

client: HonuaClient
defaultStyleId: undefined | string
layerName: string
serviceId: string

Methods

  • Fetch a GetLegendGraphic image scoped to the bound layer + style. Mirrors HonuaWms.legend's gating: when options.capabilities is not supplied, the handle lazily loads them once via getWmsCapabilities and caches the promise. Throws HonuaCapabilityNotSupportedError("legend", "wms", serviceId) when the service does not advertise <GetLegendGraphic>.

    Parameters

    Returns Promise<HonuaWmsImageResponse>