I have multiple pins rendering in google maps. When user clicks in any of the pins I want to be able to trigger the _activeRoute action. For some reason when I do the below nothing happens.
action:{
_activeRoute:fuction(){
console.log('hello world');
},
google.maps.event.addListener(marker, 'click', function(mapService) {
this.sendAction('_activeRoute');
});
}
Aucun commentaire:
Enregistrer un commentaire