I followed the solution provided here for richmarker.js
After implementing it, when I use
my_rich_marker.addListener('click', function(event) {
console.log(event); //undefined
}
What I am trying to achieve is to access event.latLng
of the richmarker within the onclick function similar to how it works with a regular marker.