> I've tried the same piece of code you provided before (even tried to > adapt it) but no success :(
you can move that code to your myclick function and it should work: function myclick(i) { for (var g = 0; g < gmarkers.length; g++) { gmarkers[g].hide(); } gmarkers[i].openInfoWindowHtml(htmls[i]); gmarkers[i].show(); //show marker on click } -- 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 google-maps-api@googlegroups.com. To unsubscribe from this group, send email to google-maps-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.