UNPKG

@vertigis/viewer-spec

Version:

VertiGIS Viewer Specification

23 lines (22 loc) 759 B
import type { Action } from "@vertigis/arcgis-extensions/support/Action"; import type { ItemRef } from "../common/ItemRef.js"; import type { ComponentModelProperties } from "./ComponentModelProperties.js"; /** * Properties for a query component. */ export interface QueryBuilderModelProperties extends ComponentModelProperties { /** * The maximum number of query results to return. */ maxResults?: number; /** * The command to execute when the user executes a query. It will get an * instance of `QueryArgs` passed in as context. */ onQuery?: Action; /** * A menu of actions used to help create geometries to use as a custom * spatial filter. (MenuModel). */ spatialFilterActions?: ItemRef; }