To work with most browsers you will probably have to dynamically set the width of the map <div>
see functions getWWidth(), setDivSize(), and resizeAndCenterMap() in http://www.lanerealty.com.au/Map.html Here I have two divs - one for the map and one for directions. The latter is fixed width hidden/showing, with the former fitting the remaining available space. Enter 'Nerang' into the town field of the form below the map and click 'Get Directions' to see the transition. Change the size of the window to also see it in action. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
