javascript - Is it possible to open multiple infoWindows for one marker in google maps api? -


i working on project, , want infowindows this:

enter image description here

how possible , library recommend?

in google maps v3 possible creating custom event listeners , modifying autocentering. examples can found here: http://you.arenot.me/2010/06/29/google-maps-api-v3-0-multiple-markers-multiple-infowindows/

several infowindows 1 marker (not tested):

var infowindow = new google.maps.infowindow(); var infowindow2 = new google.maps.infowindow(); var marker = new google.maps.marker({   position:latlng,   map: map });  google.maps.event.addlistener(marker, 'click', function(content){   return function(){     infowindow.setcontent(content);     infowindow.open(map, this);     infowindow2.setcontent(content+'222');     infowindow2.open(map, this);   } }(content)); 

Comments