addLabel method

void addLabel(
  1. RenderInfo<Renderinstruction> element
)

Adds a potential clashing renderinfo for label-rendering. Clashes will be sorted out and the non-clashing elements will be drawn into the ui if specified so that the labels can rotate with the map OR rendered into the tile.

Implementation

void addLabel(RenderInfo element) {
  _labels.renderInfos.add(element);
}