Skip to content

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

Interface: MinimapMarkers ​

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

The moving layer of the minimap.

Properties ​

cameras? ​

optional cameras?: object[]

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

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:139

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:151

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:131

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


others ​

others: Marker[]

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

Everyone else.


party? ​

optional party?: readonly object[]

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

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


race? ​

optional race?: boolean

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

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:147

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:153

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?: object

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

Where the mission tracker says to go: a point and how close counts (m).

radius ​

radius: number

x ​

x: number

z ​

z: number


targets? ​

optional targets?: readonly object[]

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

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:137

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

x ​

x: number

z ​

z: number