I have feedback from users that they would like the title property of my app's Google Map Markers to be clickable so they don't need to zoom in on the pin. I can't find anything in the documentation that suggests how I might do this.
By way of the code:
var myLatlng = new google.maps.LatLng(-25.363882,131.044922);
var mapOptions = {
zoom: 4,
center: myLatlng
}
var map = new google.maps.Map(document.getElementById("map"), mapOptions);
var marker = new google.maps.Marker({
position: myLatlng,
title:"Hello World!" // THIS IS WHAT I WANT TO ADD AN EVENT LISTENER TO
});
marker.setMap(map);