Array of search method descriptions. Only searches configured here can be used.
OptionalafterIf given, this component will be rendered in the last line of every single
search result. It will be forwarded its search result feature as prop
feature of type GeoJSON.Feature, and the focus state of the result as
prop focus of type boolean.
OptionalcategoryAn object defining properties for a category. The searchMethod's AddressSearchPluginOptions.categoryId | addressSearch.categoryId is used as identifier.
A service without categoryId default to the AddressSearchPluginOptions.categoryId | addressSearch.categoryId
"default".
OptionalcustomAn object with named search functions added to the existing set of configurable search methods.
OptionalcustomAn object that maps categoryIds to functions.
These functions are then called inplace of the default selectResult
implementation. This allows overriding selection behaviour.
Use '' as the key for categoryless results.
OptionaldisplayOptionalfocusWhether the focus should switch to the first result after a successful search.
OptionalgroupAn object defining properties for a group.
The searchMethod's groupId is used as identifier.
All services without groupId fall back to the key "defaultGroup".
OptionallayoutOptionalminMinimal input length before the search starts.
OptionalwaitTime passed in milliseconds before another search is started.
The configuration allows defining and grouping services. Grouped services can be requested in a search at the same time, and one group of searches can be active at a time. When multiple searches are in a group, they may be extended with category information to make the results easier to browse.
Remarks
In categoryProperties and groupProperties, id strings called groupId and categoryId are used. These are arbitrary strings you can introduce and reuse to group or categorize elements together.