five-on-it / apps/client/src/ui/minimap-draw / labelCandidates
Function: labelCandidates()
labelCandidates(
map,markers,proj,measure,width,height,garage?):LabelCandidate[]
Defined in: apps/client/src/ui/minimap-draw.ts:438
The labels a map would write, before decluttering: the districts' titles where they lie, the boxes kept clear round the player, the waypoint and the mission's targets, the streets' names (map-labels.ts) and, given garage (the word for one), a label under each garage's pin.
Parameters
map
markers
MinimapMarkers | undefined
proj
measure
(text) => number
width
number
height
number
garage?
string