five-on-it / apps/client/src/ui/minimap-draw / drawMarkers
Function: drawMarkers()
drawMarkers(
g,markers,proj,options):void
Defined in: apps/client/src/ui/minimap-draw.ts:294
Draws the moving layer on a canvas whose units are CSS px: the cones (the guards' and the cameras' always, the other NPCs' with cones), the phone's camera frame, the route line, everyone's dots, the mission's targets, the party, the waypoint, and the player's arrow; on the corner map, an arrow at its edge for the waypoint and a race's next gate off it.
Parameters
g
CanvasRenderingContext2D
markers
MinimapMarkers | undefined
proj
options
Returns
void