Hello, After looking at this example of how to do directions to and directions from on your own page http://econym.org.uk/gmap/example_map4c.htm , I wondered why the developer chose to open a new infoWindow when the "to here" and "from here" links are clicked in the original infoWindow.
So, I decided to try and keep one single infoWindow and add the content I wanted directly to that infoWindow itself. basically create 3 divs with different content in each. All divs would be in the infoWindow from the start, but based on what I want to be shown I would set the style.display for the div to either "block" or "none". As you all know this a a very common thing to do. The outer div (container) will grow and shrink depending on the amount of space the div set to "block" requires. I punched that simple javascript code out thinking my map markers would work just how I imagined...exaclty how they work on the real google maps when you want directions to or from a marker. I was surprised to find however, that the window does not grow to allow room for the larger size div when it is set to "block"! Instead, the window stays the exact same size and any content contained in that div just runs out of the window container! Anyone know of a solution to this problem?? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" 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-API?hl=en -~----------~----~----~----~------~----~------~--~---
