scripts/aiv_ui.js
/**
     * @function hideUnhideMapMan - event listener binding function for hiding mapman donut centres
     * @param {object} AIVObj - reference to the AIV namespace object
     */
@function hideUnhideMapMan - event listener binding function for hiding mapman donut centres
@param {object} AIVObj - reference to the AIV namespace object
@function hideUnhideMapMan - event listener binding function for hiding mapman donut centres @param { object } AIVObj - reference to the AIV namespace object
function hideUnhideMapMan(AIVObj) {
        document.getElementById('hideMapManDiv').addEventListener('click', function(event){
            AIVObj.hideMapMan($("#hideMapManEye").hasClass('fa-eye'));
            $("#hideMapManEye").toggleClass('fa-eye fa-eye-slash');
        });
    }
function hideUnhideMapMan ( AIVObj ) { document . getElementById ( 'hideMapManDiv' ) . addEventListener ( 'click' , function ( event ) { AIVObj . hideMapMan ( $ ( "#hideMapManEye" ) . hasClass ( 'fa-eye' ) ) ; $ ( "#hideMapManEye" ) . toggleClass ( 'fa-eye fa-eye-slash' ) ; } ) ; }
@function hideUnhideMapMan - event listener binding function for hiding mapman donut centres
 @param {object} AIVObj - reference to the AIV namespace object
@function hideUnhideMapMan - event listener binding function for hiding mapman donut centres @param { object } AIVObj - reference to the AIV namespace object