1 min readMar 2, 2016
This worked perfectly. One thing however. How can I pass the marker back to the function so it can do something with the marker data?
I tried:
marker.addListener(‘click’, (res) => {
this.zone.run(() => {
this.showDetails(res);
});
});
But I’m getting a weird object and not the marke.r