Get Current Building Info
To get the current selected building basic info on Mapxus map:
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.buildingafterrenderCompleteor after a building-switching action.
Sample web page:

