@vertigis/viewer-spec
Version:
VertiGIS Viewer Specification
23 lines (22 loc) • 829 B
TypeScript
import type { SearchModelProperties as CommonSearchModelProperties } from "../common/SearchModelProperties.js";
import type { ComponentModelProperties } from "./ComponentModelProperties.js";
/**
* @inheritdoc
*/
export interface SearchModelProperties extends CommonSearchModelProperties, ComponentModelProperties {
/**
* By default the search area will be expanded to try and return the
* specified maxResults. Set to true to disable this behavior.
*/
disableSearchAreaExpansion?: boolean;
/**
* This setting is used to indicate if the geocoder should be used by the
* search.
*/
geocoderEnabled?: boolean;
/**
* The maximum number of suggestions to show based on the user's input.
* Setting this to 0 will disable suggestions.
*/
maxSuggestions?: number;
}