Open choneyse opened 5 years ago
No parameters appear to be getting passed to the callback handler for a pushpin clickeEvent
i.e. addHandler: { type: 'click', callback: this.onMapPinClicked }
Since no event is being passed to the callback, can't identify which pin was clicked.
@choneyse, I was having the same problem. I was able to move further by doing this:
pushPinAddHandler: { type: 'click', callback: () => { this.pushPinClick(data); } }
No parameters appear to be getting passed to the callback handler for a pushpin clickeEvent
i.e. addHandler: { type: 'click', callback: this.onMapPinClicked }
Since no event is being passed to the callback, can't identify which pin was clicked.