Interface HonuaFeatureServiceSourceSpecification

A source backed by an Esri-compatible Feature Service layer.

URL format: https://host/rest/services/{serviceId}/FeatureServer/{layerId}

interface HonuaFeatureServiceSourceSpecification {
    attribution?: string;
    definitionExpression?: string;
    outFields?: string[];
    outSR?: number;
    returnGeometry?: boolean;
    type: "honua-feature-service";
    url: string;
}

Hierarchy (view full)

Properties

attribution?: string

Attribution string displayed on the map.

definitionExpression?: string

Server-side WHERE clause applied to all queries.

outFields?: string[]

Fields to include in query responses. Defaults to all (["*"]).

outSR?: number

Output spatial reference WKID (e.g. 4326, 3857).

returnGeometry?: boolean

Whether queries return geometry. Defaults to true.

type
url: string

Full URL to the service endpoint.