Add the Marker's event parameters to the event wrappers

This commit is contained in:
Khalil Laleh
2021-05-25 10:20:32 +04:30
parent 20eb553e50
commit eaaeaf238b

View File

@@ -113,8 +113,8 @@ export default buildComponent({
afterCreate(inst) { afterCreate(inst) {
events.forEach((event)=> { events.forEach((event)=> {
inst.addListener(event, ()=> { inst.addListener(event, (payload)=> {
this.$emit(event) this.$emit(event, payload)
}); });
}) })
if (this.$clusterPromise) { if (this.$clusterPromise) {