I’m learning the Google Maps API and I was wondering whether I can use a jQuery click event in place of google.maps.event.addListener(marker, ‘click’, function(){}); to open an infoWindow or what are my options? Just finding out what’s possible.
Share
You should be able to use jQuery’s
.bind()method to get what you want.You would have to make a jquery object out of
google.maps.Markerand then call.bind('click',function(){})on ithttp://api.jquery.com/bind/