Appearance
Interface: SelectOptions
Options for selectEntity. All fields are optional; omitting all is equivalent to selecting without zoom/building changes.
Properties
| Property | Type | Description |
|---|---|---|
actionType? | ActionTypes | Action type for routing integration. |
buildingId? | number | Building ID to scope the selection (for property-level entities, use -1). |
changeFloor? | boolean | When 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? | boolean | When 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? | number | Zoom to entity. Preferably between 10 and 24. |