Class: DomLabelMapOptions
Меньше 1 минуты
Class: DomLabelMapOptions
Labels map options for creation.
Properties
horizontalAlignment?
optionalhorizontalAlignment?:LabelAlignment
Alignment for label container.
maxLabelPointsCount?
optionalmaxLabelPointsCount?:number
Max visible label points on the screen when maxVisibleLabelsCount is not Infinity.
maxVisibleLabelsCount?
optionalmaxVisibleLabelsCount?:number
Max visible labels on the screen.
name
name:
string
Name of the labels map.
render
render: (
container,value,color,elNum) =>void
Content render callback function.
Parameters
container
HTMLElement
value
any
color
string
elNum
number
Returns
void
updater?
optionalupdater?: (container,value,color,elNum) =>void
Content updater callback function.
Parameters
container
HTMLElement
value
any
color
string
elNum
number
Returns
void
verticalAlignment?
optionalverticalAlignment?:LabelAlignment
Alignment for label container.