Skip to content

Interface: SelectOptions

Options for selectEntity. All fields are optional; omitting all is equivalent to selecting without zoom/building changes.

Properties

PropertyTypeDescription
actionType?ActionTypesAction type for routing integration.
buildingId?numberBuilding ID to scope the selection (for property-level entities, use -1).
changeFloor?booleanWhen false, the map will NOT switch to the entity's floor on selection. Default true (preserves legacy behavior — map jumps to the entity's floor). Useful when programmatically highlighting an entity on a different floor without disrupting the user's current view.
panTo?booleanWhen false, the map will NOT recentre the camera on the selected entity. Default true (preserves legacy camera pan). Useful when multiple entities are being selected in sequence (e.g. building a directory-list highlight) and the animated recentre would be visually disruptive.
zoomTo?numberZoom to entity. Preferably between 10 and 24.