For AI agents: the complete documentation index is available at /core-sdk/map/web/llms.txt, the full documentation bundle is available at /core-sdk/map/web/llms-full.txt, and this page is available as Markdown at /core-sdk/map/web/v10/06-building-search/02-search-by-ids.md.
MapxusDeveloper Platform
Products
Positioning APIAccess real-time indoor coordinates and contextual signals.API
UI SDKProduction-ready indoor map interfaces and UI components.AndroidiOS

Search by Building ID(s)

// Sample Usage
const service = new MapxusMap.BuildingsService();
const ids = ['elements_hk_dc005f', 'k11_hk_59f074']; // or 'elements_hk_dc005f'
service.searchByIds(ids);

Parameters

ParameterTypeDescription
idsstring or string[]id[s] of buildings

Special Note: The number of IDs cannot exceed 10. If you need to request more than 10 buildings, please make multiple requests.

Returns TPromiseBuildings IBuilding:

  • address
  • bbox
  • city?
  • country
  • description
  • labelCenter
  • name
  • region
  • type
  • buildingId
  • buildingName
  • buildingOutlineId
  • defaultFloor?
  • floors
  • groundFloor
  • isPrivate
  • organization
  • venueId
  • venueName

Sample web page: