File "highlight.js"
Full Path: /home/cananyalcin/public_html/vendors/jqvmap/src/JQVMap/highlight.js
File size: 448 bytes
MIME-type: text/plain
Charset: utf-8
JQVMap.prototype.highlight = function (cc, path) {
path = path || jQuery('#' + this.getCountryId(cc))[0];
if (this.hoverOpacity) {
path.setOpacity(this.hoverOpacity);
} else if (this.hoverColors && (cc in this.hoverColors)) {
path.currentFillColor = path.getFill() + '';
path.setFill(this.hoverColors[cc]);
} else if (this.hoverColor) {
path.currentFillColor = path.getFill() + '';
path.setFill(this.hoverColor);
}
};