Optional
fillThe 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
iconModifier 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
strokeThe 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
strokeModifier 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
textThe 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)
.
Styling options for addSelection and addHover.
Since
2021.0