On line 467 of jquery.vmap.js, regionClickEvent is undefined.
This issue is solved by creating regionClickEvent a few lines above the if statement that checks against it.
465. var regionClickEvent = $.Event("regionClick.jqvmap");
466. jQuery(params.container).trigger(regionClickEvent, [code, mapData.pathes[code].name]);
467. if (!regionClickEvent.isDefaultPrevented()) {
468. if (map.selectedRegions.indexOf(code) !== -1) {
469. map.deselect(code, path);
470. } else {
471. map.select(code, path);
472. }
473. }
On line 467 of jquery.vmap.js, regionClickEvent is undefined.
This issue is solved by creating regionClickEvent a few lines above the if statement that checks against it.