@honua/sdk-js
    Preparing search index...

    Interface HonuaWmsFeatureInfoResponse<T>

    Decoded GetFeatureInfo response. features carries the canonical typed-feature shape when the wire response was JSON; non-JSON content is exposed through bytes so the protocol escape hatch still owns the raw payload.

    interface HonuaWmsFeatureInfoResponse<T = Record<string, unknown>> {
        bytes?: Uint8Array<ArrayBufferLike>;
        contentType: string;
        features?: readonly HonuaTypedFeature<T>[];
    }

    Type Parameters

    • T = Record<string, unknown>
    Index

    Properties

    bytes?: Uint8Array<ArrayBufferLike>

    Raw bytes for non-JSON info formats (text/plain, html, …).

    contentType: string
    features?: readonly HonuaTypedFeature<T>[]

    Decoded features when infoFormat was application/json.