It's possible to change the default close img of infoWindows ? More, can cha开发者_运维问答nge de complete infoWindows design changing the main style ? infoWindow
Thanks.
You can use these libraries http://code.google.com/p/google-maps-utility-library-v3/wiki/Libraries
I just did it like this:
// Add listener to window on DOM ready to replace close icon with something else.
google.maps.event.addListener(infoWindow,'domready',function(){
var newImage = $('<img src="path/to/img"/>');
$(".gm-style-iw").next("div").html( newImage );
});
精彩评论