spatial-monorepo / ui/src / IndoorSearchProps
Interface: IndoorSearchProps
Defined in: packages/ui/src/IndoorSearch.tsx:77
Properties
className?
optionalclassName?:string
Defined in: packages/ui/src/IndoorSearch.tsx:89
Optional CSS class on the root element.
features
features:
IndoorSearchFeature[]
Defined in: packages/ui/src/IndoorSearch.tsx:79
GeoJSON features to search over (typically the current floor).
map
map:
Map$1| {fitBounds: (bounds,opts?) =>void; }
Defined in: packages/ui/src/IndoorSearch.tsx:83
MapLibre map instance used for fitBounds on selection.
onSelect?
optionalonSelect?: (feature) =>void
Defined in: packages/ui/src/IndoorSearch.tsx:87
Called when the user selects a result.
Parameters
feature
Returns
void
placeholder?
optionalplaceholder?:string
Defined in: packages/ui/src/IndoorSearch.tsx:85
Placeholder text for the search input.
searchKeys
searchKeys:
string[]
Defined in: packages/ui/src/IndoorSearch.tsx:81
Property keys to search across, e.g. ['name', 'ref', 'room'].
