js/jquery.mapael.js
function (elem) {
                // Starts with hidden elements
                elem.mapElem.attr({opacity: 0});
                if (elem.textElem) elem.textElem.attr({opacity: 0});
                // Set final element opacity
                self.setElementOpacity(
                    elem,
                    (elem.mapElem.originalAttrs.opacity !== undefined) ? elem.mapElem.originalAttrs.opacity : 1,
                    animDuration
                );
            }
function (elem) {
                // Starts with hidden elements
                elem.mapElem.attr({opacity: 0});
                if (elem.textElem) elem.textElem.attr({opacity: 0});
                // Set final element opacity
                self.setElementOpacity(
                    elem,
                    (elem.mapElem.originalAttrs.opacity !== undefined) ? elem.mapElem.originalAttrs.opacity : 1,
                    animDuration
                );
            }
function ( elem ) { // Starts with hidden elements elem . mapElem . attr ( { opacity : 0 } ) ; if ( elem . textElem ) elem . textElem . attr ( { opacity : 0 } ) ; // Set final element opacity self . setElementOpacity ( elem , ( elem . mapElem . originalAttrs . opacity !== undefined ) ? elem . mapElem . originalAttrs . opacity : 1 , animDuration ) ; }
This function show an element using animation Used for newPlots and newLinks
This function show an element using animation Used for newPlots and newLinks