IITC.statusbar.map

Map status module - handles map status information

Methods

static getData() → {Object}

Gets current map status data including portal levels, map loading progress, and active requests.

Returns:
Object -

Structured object containing:

  • portalLevels: Information about visible portal levels and link lengths
  • mapStatus: Current map loading status and progress
  • requests: Active and failed request counts

static render(data) → {string}

Renders HTML for map status based on the provided data.

Parameters:
Name Type Description
data Object

Map status data from getData()

Returns:
string -

HTML string representing the current map status

static update()

Updates map status information in the UI and mobile app (if applicable). Throttles updates to the next event loop for better performance.

Fires:
  • app.event:setMapStatus - When in app mode
  • app.event:setProgress - When in app mode