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"
        | "png24"
        | "png32"
        | "gif";
    layers?: string;
    transparent?: boolean;
    type: "honua-map-service";
    url: string;
}

Hierarchy (view full)

Properties

attribution?: string

Attribution string displayed on the map.

dpi?: number

Export DPI. Defaults to 96.

format?:
    | "png"
    | "jpg"
    | "png24"
    | "png32"
    | "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
url: string

Full URL to the service endpoint.