Skip to content

spatial-monorepo


spatial-monorepo / ui/src / IndoorSearchProps

Interface: IndoorSearchProps

Defined in: packages/ui/src/IndoorSearch.tsx:77

Properties

className?

optional className?: 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?

optional onSelect?: (feature) => void

Defined in: packages/ui/src/IndoorSearch.tsx:87

Called when the user selects a result.

Parameters

feature

IndoorSearchFeature

Returns

void


placeholder?

optional placeholder?: 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'].

Released under commercial licensing.