jeudi 26 février 2015

Using Event listeners with ngMap


I'm using Allenhwkim's wonderful ngMap in a project. I know that I need to use Maps Javascript v3 API to manipulate the map, which is going well except that I can't get any event listeners, e.g., $google.maps.event.addListener(markers[i], 'click', function()... to work


Specifically, I'm trying to create an onClick event on my markers. Here's an example: http://ift.tt/1Evr9jj


Here, I try to use an ng-click attribute on a marker directive. Still, I get nothing. http://ift.tt/1LLIch0





Aucun commentaire:

Enregistrer un commentaire