Options
All
  • Public
  • Public/Protected
  • All
Menu

Styling options for addSelection and addHover.

since

2021.0

Hierarchy

  • StyleMutationOptions

Overview

Properties

Optional fillColor

fillColor: string

The fill color that must be used for the selected feature.

The default value for addSelection is rgba(255,165,0,0.8).

The default value for addHover is rgba(0,165,255,0.8).

Optional iconScaleFactor

iconScaleFactor: number

Modifier for an icon's scale when it becomes selected.

The default value for addSelection is 2.

The default value for addHover is 1.5.

Optional strokeColor

strokeColor: string

The stroke color that must be used for the activated feature.

The default value for addSelection is rgb(255,140,0).

The default value for addHover is rgb(0,140,255).

Optional strokeWidthScaleFactor

strokeWidthScaleFactor: number

Modifier for a feature's stroke width when it becomes activated.

The default value for addSelection is 2.

The default value for addHover is 1.5.

Optional textHaloColor

textHaloColor: string

The color of the text halo for labels. Halos are not supported on IE9.

The default value for addSelection is rgb(255,140,0).

The default value for addHover is rgb(0,140,255).

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method