Skip to content

five-on-it / apps/client/src/ui/minimap-data / MinimapMarkers

Interface: MinimapMarkers ​

Defined in: apps/client/src/ui/minimap-data.ts:199

The moving layer of the minimap.

Properties ​

cameras? ​

optional cameras?: object[]

Defined in: apps/client/src/ui/minimap-data.ts:211

The security cameras: where they look and how far, whether they watch.

halfAngle ​

halfAngle: number

on ​

on: boolean

range ​

range: number

x ​

x: number

yaw ​

yaw: number

z ​

z: number


flash? ​

optional flash?: boolean

Defined in: apps/client/src/ui/minimap-data.ts:209

Which half of the police lights' flash it is: blue (true) or red.


frame? ​

optional frame?: object

Defined in: apps/client/src/ui/minimap-data.ts:221

The phone's camera frame while its page is out: from where, which way, how far and how wide.

halfAngle ​

halfAngle: number

range ​

range: number

x ​

x: number

yaw ​

yaw: number

z ​

z: number


me ​

me: { x: number; yaw: number; z: number; } | undefined

Defined in: apps/client/src/ui/minimap-data.ts:201

The player: position and heading (rad, 0 faces +z).


others ​

others: Marker[]

Defined in: apps/client/src/ui/minimap-data.ts:203

Everyone else.


party? ​

optional party?: readonly object[]

Defined in: apps/client/src/ui/minimap-data.ts:219

The other members of the player's party, wherever they are (from the mission's tracker).


police? ​

optional police?: readonly object[]

Defined in: apps/client/src/ui/minimap-data.ts:231

The police's marks (their tells, GAME_DESIGN §12): a roadblock ahead and a rolling block forming (flashing), a camera that has the player (pulsing), and with the police scanner every unit after them, the drone, the helicopter, the rooftop snipers, the police boats, the SWAT van and the police dog; at eight stars the swarm's drones and the robots near them; with a scout drone up, the units within its reach.


pulse? ​

optional pulse?: boolean

Defined in: apps/client/src/ui/minimap-data.ts:239

Which half of a pulse it is, for the camera's mark: bright (true) or dim.


race? ​

optional race?: boolean

Defined in: apps/client/src/ui/minimap-data.ts:213

A race under way: the target is its next gate, and an arrow at the map's edge points the way to it.


route? ​

optional route?: readonly object[]

Defined in: apps/client/src/ui/minimap-data.ts:217

The route line to the target over the roads, from the player.


sight? ​

optional sight?: number

Defined in: apps/client/src/ui/minimap-data.ts:223

The share of their sight the guards keep for the player now, the dark and the weather's (@foi/ai's visibilityAt; 1 by a clear day).


target? ​

optional target?: MapTarget

Defined in: apps/client/src/ui/minimap-data.ts:205

Where the mission tracker says to go: a point and how close counts (m), a polygon zone's outline.


targets? ​

optional targets?: readonly MapTarget[]

Defined in: apps/client/src/ui/minimap-data.ts:215

Every target of the mission's objectives under way (a parallel group's), each drawn as a ring.


waypoint? ​

optional waypoint?: object

Defined in: apps/client/src/ui/minimap-data.ts:207

The phone's waypoint (the map app's or a mission's).

x ​

x: number

z ​

z: number