Skip to content

five-on-it / apps/client/src/ui/FullMap / FullMapProps

Interface: FullMapProps ​

Defined in: apps/client/src/ui/FullMap.tsx:31

Props of the full map.

Properties ​

map ​

map: MinimapData | undefined

Defined in: apps/client/src/ui/FullMap.tsx:33

The static layer.


markers ​

markers: MinimapMarkers | undefined

Defined in: apps/client/src/ui/FullMap.tsx:35

The moving layer.


onClear ​

onClear: () => void

Defined in: apps/client/src/ui/FullMap.tsx:39

Clear waypoint.

Returns ​

void


onClose ​

onClose: () => void

Defined in: apps/client/src/ui/FullMap.tsx:41

Close (Esc and the key do the same).

Returns ​

void


onWaypoint ​

onWaypoint: (x, z) => void

Defined in: apps/client/src/ui/FullMap.tsx:37

A click on the map: the waypoint goes there (m).

Parameters ​

x ​

number

z ​

number

Returns ​

void