@Override
    public boolean equals(Object obj) {
        if (this == obj) return true;
        if (obj == null || getClass() != obj.getClass()) return false;
        MarkerLabel other = (MarkerLabel) obj;
        return Objects.equals(className, other.className) && Objects.equals(color, other.color) && Objects.equals(fontFamily, other.fontFamily)
                    && Objects.equals(fontSize, other.fontSize) && Objects.equals(fontWeight, other.fontWeight) && Objects.equals(text, other.text);
    }
The font weight of the label text (equivalent to the CSS font-weight property).
primefaces/src/main/java/org/primefaces/model/map/MarkerLabel.java