Greetings, I'm hoping someone can help get me out of a jam. *My goal* I am trying to have two InfoWindows open at the same time and set the main box of the second InfoWindow's position relative to the first (I hope the terminology is passable).
*My situation* I have a custom clustering algorithm that figures out if two or more markers are within X number of pixels of each other. If they are then it sweeps them under a larger icon, which opens an (0) InfoWindow that lists their titles. When the user clicks the title another (1) InfoWindow opens. Everything is dandy, except the second window always overlaps the first, which means the user must close it to select the next marker in the list. I'd rather that they lay alongside each other, so that I can leave both open while the user browses. *Question in a nutshell* I have seen the InfoBox, but I'd rather keep my interface looking something like normal Google Maps, so essentially, I am asking, "Do I have to write a custom InfoWindow to prevent overlap?". *Simplified example on a map* This just shows two InfoWindows open with the second window (1) on top of the first (0): http://recalcitrant.us/simpleMap/simple_10192010.htm *Already tried* InfoWindow.pixelOffset is handy, but does not solve the problem as the anchor will move too. (Weren't these independent before?) Sorry, if this has been covered here before, I am having a very difficult time finding relevant information. Please note, I have scoured http://code.google.com/apis/maps/documentation/javascript/reference.html#InfoWindow for info, but I don't see the right property there. I don't mind building a custom infowindow using Google's parts, but this seems like a waste of resources. Thanks for any help. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
