You are right sorry ;-)
These are the 2 functions
GEvent.addListener(marker, 'mouseover', function() {
document.getElementById("prova").innerHTML = html;
});
GEvent.addListener(marker, 'click', function() {
document.getElementById("prova").innerHTML = "";
});
The first populate the div when i click on a marker,the second will
empty the div but only if i click on a marker!how can i do the same
thing by clicking anywhere on the map?
Thank you again :-)
On 5 Gen, 20:05, Rossko <[email protected]> wrote:
> > This is what i'have done!but this works only if i click on any marker!
>
> Show us what you've done, then your time won't be wasted
> further.http://groups.google.com/group/google-maps-api/browse_thread/thread/6...
> although my guess would be that you haven't added a _map_ click
> listener at all
--
You received this message because you are subscribed to the Google Groups
"Google Maps API V2" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-maps-api?hl=en.