问题
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.
回答1:
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.
回答2:
<style type="text/css">
img[src*="iws3.png"] {
display: none;
}
</style>
回答3:
Try this.
Attach a event listener to your infoWindow
google.maps.event.addListener(InfoWindow, "domready", function() {
setTimeout(function(){$("img[src$='iws3.png']").hide();},80);
});
来源:https://stackoverflow.com/questions/4166042/hide-shadow-on-infowindow-in-google-map-api-v3