Hide shadow on infowindow in Google Map API V3

I want to hide the shadow from infowindow in Google Map API V3. I am trying to access the Floatshadow panel, but I do not know how to do this.

+5
source share
3 answers

Try something like the InfoBubble library. This cannot be done in the API itself.

http://google-maps-utility-library-v3.googlecode.com/svn/trunk/infobubble/

edit: Starting from version v3.11, info windows do not have shadows by default.

+4
source
<style type="text/css">
img[src*="iws3.png"] {
    display: none;
}
</style>
+13
source

.

infoWindow

google.maps.event.addListener(InfoWindow, "domready", function() {   

  setTimeout(function(){$("img[src$='iws3.png']").hide();},80);

});
+1

All Articles