Box
Map
Vue

border

Configures the label borders.

Type:

Object

color

Colors the label borders.

Type:

String

Default Value: '#d3d3d3'

This property supports the following colors:

NOTE
Make the label borders visible by setting the label.border.visible property to true.

dashStyle

Sets the label border dash style.

Type:

String

Default Value: 'solid'
Accepted Values: 'dash' | 'dot' | 'longDash' | 'solid'

The following dash styles are available:

  • solid
    The border is a solid, continuous line.

  • longDash
    The border is displayed using long dashes.

  • dash
    The border is displayed using dashes.

  • dot
    The border is displayed using dots.

  • Any combination of 'longDash', 'dash' and 'dot'
    The border is displayed by repeating the specified combination. For instance, 'dashdotdash'.

visible

Shows the label borders.

Type:

Boolean

Default Value: false

width

Specifies the label border width.

Type:

Number

Default Value: 1