geocodezip, thanks for the link. It gave me an understanding of the problem....What I did was I made my table width and height 100%. I then made my first column div that has the panel 30% width and 100% height. Lastly I made my other div with just the map 100% for both width and height. When I click the panel view it forces the second div width of 100% to 70%.
Andrew Leach, I actually didn't realize thats what happens. It does remove the problem of having 1 id with the same "=map". Although I did solve my problem by using the panel idea you suggested. On Dec 16, 9:15 am, Andrew Leach <[email protected]> wrote: > On Dec 16, 2:26 pm,Schwimms<[email protected]> wrote: > > > In Case anyone wanted to know the answer to get two ID's equal to the > > same map: > > Which are the two ids which reference the same map? You create a map > in each of "map1" and "map2", and then destroy the reference to the > first when you do > var mapRef = new GMap2(document.getElementById("map2")); > within the loop. mapRef will only ever reference the last one. > > Andrew -- 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.
