Hi Rahul, You've already asked this question, and others, and been directed to the posting guidelines each time.
As Rossko said, you *need* to provide a link to your code, otherwise people can't help you. Please read the posting guidelines: http://groups.google.com/group/Google-Maps-API/web/suggested-posting-guidelines http://groups.google.com/group/google-maps-api/web/why-including-a-link-is-critical Cheers Chris On Thu, Oct 21, 2010 at 12:26 AM, rahul dongre <[email protected]>wrote: > Hi > > I want to trigger an marker event on mouse over event of a link, > Following is my code > > function createMarker(point,name,html) { > var marker = new GMarker(point,Icon); > GEvent.addListener(marker, "click", function() { > marker.openInfoWindowHtml(html); > }); > > // Switch icon on marker mouseover and mouseout > GEvent.addListener(marker, "mouseover", function() { > marker.setImage("marker.png"); > }); > GEvent.addListener(marker, "mouseout", function() { > marker.setImage("coldmarker.png"); > }); > gmarkers[i] = marker; > htmls[i] = html; > > > return marker; > } > > and link code is here > <a onmouseover="javascript:GEvent.trigger(markers[0],"mouseover");">Link > </a> > But it's not triggering the mouse over event. > > please Help. > > > > -- > Rahul Dongre > > > -- > 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]<google-maps-api%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-maps-api?hl=en. > -- 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.
