5

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.

skaffman
  • 398,947
  • 96
  • 818
  • 769
Xasun
  • 267
  • 4
  • 16

3 Answers3

13
<style type="text/css">
img[src*="iws3.png"] {
    display: none;
}
</style>
Erik
  • 131
  • 1
  • 3
4

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.

Chris Broadfoot
  • 5,082
  • 1
  • 29
  • 37
1

Try this.

Attach a event listener to your infoWindow

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

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

});
axel22
  • 32,045
  • 9
  • 125
  • 137