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

    Interface HonuaMapServiceSourceSpecification

    A source backed by an Esri-compatible Map Service (dynamic map export).

    URL format: https://host/rest/services/{serviceId}/MapServer

    interface HonuaMapServiceSourceSpecification {
        attribution?: string;
        dpi?: number;
        format?: "png" | "jpg" | "png32" | "png24" | "gif";
        layers?: string;
        transparent?: boolean;
        type: "honua-map-service";
        url: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    attribution?: string

    Attribution string displayed on the map.

    dpi?: number

    Export DPI. Defaults to 96.

    format?: "png" | "jpg" | "png32" | "png24" | "gif"

    Image format.

    layers?: string

    Comma-separated layer IDs to include (e.g. "0,1,3").

    transparent?: boolean

    Whether the exported image has a transparent background.

    type: "honua-map-service"
    url: string

    Full URL to the service endpoint.