Live Map Technology

The Live Threat Map allows administrators to visualize player positions and risk levels in real-time via the Dashboard.

How it Works

The Live Map is built using Leaflet JS and a custom GTA V coordinate projection system.

  1. Telemetry: Clients send `(x, y, z)` coordinates every few seconds (variable rate based on risk score).
  2. Projection: The API translates game coordinates to Leaflet map tiles.
  3. WebSocket: Updates are pushed to the web dashboard instantly via `socket.io`.

Performance Note

The Live Map is optimized to handle hundreds of players with minimal browser lag. Markers for low-risk players are updated less frequently to save bandwidth.