jquery - Is there any option to remove google map(ver 3.20) infowindow close button. ? -
is there option remove google map(ver 3.20) infowindow close button.
according google.maps.infowindowoptions object specification it's not supported specify visibility of close button consider following options:
css:
.gm-style-iw + div { display: none; } example: jsfiddle
javascript:
google.maps.event.addlistener(infowindow, 'domready', function(){ $(".gm-style-iw").next("div").hide(); }); example: jsfiddle
has been tested against
3.21.*
Comments
Post a Comment