five-on-it / apps/client/src/ui/FullMap / FullMapProps
Interface: FullMapProps
Defined in: apps/client/src/ui/FullMap.tsx:39
Props of the full map.
Properties
dispatch?
optionaldispatch?:DispatchProps
Defined in: apps/client/src/ui/FullMap.tsx:51
The Dispatcher's orders (P2): a click places the kind picked instead of the waypoint.
map
map:
MinimapData|undefined
Defined in: apps/client/src/ui/FullMap.tsx:41
The static layer.
markers
markers:
MinimapMarkers|undefined
Defined in: apps/client/src/ui/FullMap.tsx:43
The moving layer.
onClear
onClear: () =>
void
Defined in: apps/client/src/ui/FullMap.tsx:47
Clear waypoint.
Returns
void
onClose
onClose: () =>
void
Defined in: apps/client/src/ui/FullMap.tsx:49
Close (Esc and the key do the same).
Returns
void
onWaypoint
onWaypoint: (
x,z) =>void
Defined in: apps/client/src/ui/FullMap.tsx:45
A click on the map: the waypoint goes there (m).
Parameters
x
number
z
number
Returns
void