On Sep 18, 10:38 am, David Cato <[email protected]> wrote: > Use marker.setImage() to change the marker image in your mouseover and > mouseout handlers.
Thank you David. Using setImage the mouseover and mouseout events are working for the markers. With the sidebar the mouseover is working but not the mouseout. Here is my example: http://www.peterbertelsen.com/map-test/custom-tool-tip-c.html The code for the sidebar is as follows: function mymouseover(i) { showTooltip(gmarkers[i]); gmarkers[i].setImage('colour108.png'); } function mymouseout() { tooltip.style.visibility="hidden"; gmarkers[i].setImage('colour086.png'); } It's as if gmarkers[i] is recognized in the 1st function but not the 2nd. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
