geocoder map question NOT ONCLICK

By Maurice - March 29, 2011

in the multi smaple of the geo coder instead of showing the popup on click can it be done on mouse over?
-------------------------------------------

Dropmonkey.nl

Re: [Maurice] geocoder map question NOT ONCLICK

By robin - March 30, 2011

Hey Maurice,

Yes it can! You'll need to change one line of code. Change:
google.maps.event.addListener(marker, 'click', function() {
To:
google.maps.event.addListener(marker, 'mouseover', function() {
In the multi example that is line 43.

Hope that helps,
Robin
Robin
Programmer
interactivetools.com