UNPKG
jqvmap
Version:
latest (1.5.1)
1.5.1
1.5.0
1.0.1
1.0.0
jQuery Vector Map Library
jqvmap.com
manifestinteractive/jqvmap
jqvmap
/
src
/
JQVMap
/
unhighlight.js
9 lines
(8 loc)
•
236 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
JQVMap.prototype.unhighlight =
function
(cc, path)
{ cc = cc.toLowerCase();
path
=
path
|| jQuery(
'#'
+ this.getCountryId(cc))[
0
];
path
.setOpacity(
1
);
if
(
path
.currentFillColor) {
path
.setFill(
path
.currentFillColor); } };