Xasun
Xasun

Reputation: 277

Hide shadow on infowindow in Google Map API V3

I want to hide the shadow on infowindow in Google Map API V3. I try to access the Floatshadow pane but I don't know how to do it.

Upvotes: 5

Views: 6865

Answers (3)

Chris Broadfoot
Chris Broadfoot

Reputation: 5112

Try something like the InfoBubble library. It's not possible to do this within the API itself.

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

edit: As of v3.11, info windows don't have shadows by default.

Upvotes: 4

Erik
Erik

Reputation: 131

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

Upvotes: 13

Carsten Jonstrup
Carsten Jonstrup

Reputation: 41

Try this.

Attach a event listener to your infoWindow

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

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

});

Upvotes: 1

Related Questions