LabelGroupOptions | MapGL | 2GIS Documentation
MapGL JS API

LabelGroupOptions

Options for a label group.

Properties
number

An elevation of a label group in meters.

undefinedstring

A color of a label's font.

undefinednumber

A size of a label's font.

string

An identifier of a label group to add.

LabelImage"default"

Image settings for labels' text background.

undefinedfalsetrue

Interactivity of a label group. The label group isn't interactive by default.

LabelOptions[]

An array of labels to add on the map

undefinednumber

A maximum display styleZoom of a label group.

undefinednumber

A minimum display styleZoom of a label group.