> For AI agents: the complete documentation index is available at /jp/core-sdk/map/web/llms.txt, the full documentation bundle is available at /jp/core-sdk/map/web/llms-full.txt.

# Get Current Building Info

To get the current selected building basic info on Mapxus map:

```js
map.renderComplete(function() {
	console.log(map.building ? map.building.properties : null);
});
```

**Returns** `MapGeoJSONFeature`

The building basic information is stored in `map.building.properties`. Common fields include:

- id
- name
- name:en
- name:zh-Hans
- name:zh-Hant
- ref:venue
- type
- building
- label\_center
- default\_displayed\_floor
- level\_ids
- level\_names
- ordinals

> **Special Note:** Read `map.building` after `renderComplete` or after a building-switching action.

[Map.building API][getter-building]

Sample web page:

<iframe src="https://map-service.mapxus.co.jp/bssww/getBuilding" width="100%" height="550px"></iframe>

[getter-building]: https://map-service.mapxus.co.jp/dpw/api/v1/api/digitalMap/web/10.2.1/classes/index.Map.html#building
