Adding multiple addListener events to a Google Map form with geocoding
问题 I have created a Google Map form that lets users enter an address into a text field and geocode the entry. This then puts a marker on a map. This works fine, but I want to add an additional addListener so when the user clicks the map it will add another pin where they click. For some reason my 'click' addListener is not working. How would I have multiple add Listeners like that? I attached my current code: function initialize() { var mapOptions = { center: new google.maps.LatLng(40.7,-74.0),