Skip to content

five-on-it / apps/client/src/ui/map-labels / drawLabels

Function: drawLabels() ​

drawLabels(g, placed): void

Defined in: apps/client/src/ui/map-labels.ts:200

Writes the placed labels (all but the markers' boxes) on a canvas whose units are CSS px, each with its halo.

Parameters ​

g ​

CanvasRenderingContext2D

placed ​

readonly PlacedLabel[]

Returns ​

void