I am using bing maps.
On the load of the map I have
Maps.Events.addHandler(_map, 'viewchangeend', displayEventInfo);
Which calls
function displayEventInfo() {
ListMapIntegration.displayEventInfo(e);
};
Which calls another js class which is:
ListMapIntegration = (function () {
function displayEventInfo(e) {
alert("map moved");
}
});
I am getting an error in chrome:
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!