On Nov 25, 9:54 am, Emre Avsar <[email protected]> wrote:
>
> i had a createMarker-method which created markers in the method and
> did a map.addOverlay(marker); directly in the method.
>
> Now i want to add a onmouseover-event... The problem is, when i paste
> the mouseover-code:
>
> GEvent.addListener(marker,"mouseover", function() {
>         marker.openInfoWindowHtml(littleHtml);
> });
>
> Then my map only show me on mouseover the last created marker...
> Again: the method creates the markers and doesn't return a marker...

See Mike's tutorial. He uses a click to open the infoWindow, but the
coding is similar to what you require.

Your code snippet isn't very helpful.

Andrew

--

You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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.


Reply via email to