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/04-get-map-information/03-get-current-venue-info.md.
MapxusDeveloper Platform
Products
Positioning APIAccess real-time indoor coordinates and contextual signals.API
UI SDKProduction-ready indoor map interfaces and UI components.AndroidiOS

Get Current Venue Info

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

map.renderComplete(function() {
	console.log(map.venue ? map.venue.properties : null);
});

Returns MapGeoJSONFeature

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

  • id
  • name
  • name:en
  • name:zh-Hans
  • name:zh-Hant
  • venue
  • label_center
  • building_ids
  • default_displayed_building
  • default_displayed_ordinal
  • addr:housenumber
  • addr:street
  • addr:street:en
  • addr:street:zh-Hans
  • addr:street:zh-Hant

Special Note: Read map.venue after renderComplete or after a venue-switching action.

Map.venue API

Sample web page: