I searched the Internet high and low and could not find a tutorial or an example of using jQuery to fade InfoBox / InfoWindow on Google Maps, and not the contents of the actual window / window. Here is my code, I'm not sure what I'm doing wrong, but something seems wrong too.
google.maps.event.addListener(marker, 'mouseover', function() { ib.setContent(html); ib.open(map, marker); ib.setValues({type: "point", id: 2}) var idName = marker.get("id"); //I was trying to the id of the elements here var boxName = ib.get("id"); //to use in my jQuery jQuery(idName ).mouseover(function() { jQuery(boxName ).fadeIn('slow', function() { // Animation complete }); }); });
jquery google-maps fade infowindow
intheblue25
source share