I am using bing maps.
On the load of the map I have
Code:
Maps.Events.addHandler(_map, 'viewchangeend', displayEventInfo);
Which calls
Code:
function displayEventInfo() {
    	ListMapIntegration.displayEventInfo(e);
    };
Which calls another js class which is:
Code:
ListMapIntegration = (function () {
	
	function displayEventInfo(e) {
        alert("map moved");
    }
});
I am getting an error in chrome:
Code:
Uncaught TypeError: Object function () {
	
	function displayEventInfo(e) {
        alert("map moved");
    }
} has no method 'displayEventInfo'
I am not sure how to describe this problem. Please let me know if there is anything I else I can provide''

Thanks!