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

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -