google.maps.event.addListener(mapmarker, "click"'click', function(event) { }
lo que quieras hacer va dentro
google.maps.event.addListener(map, "click", function(event) {}
google.maps.event.addListener(marker, 'click', function() { }