Andrew, I am using ASP.net and they do have controls to allow for hiding the sidebar, it is called a collapsible panel and I will test that tonight. My only worry is the map resizing correctly. I have the div set to 100% for width and height. I hope that this will work....
If I still have trouble I will jump on a free hosting place. On Dec 15, 4:45 am, Andrew Leach <[email protected]> wrote: > On Dec 15, 2:02 am,Schwimms<[email protected]> wrote: > > > I don't have a site to post. Sorry. > > Ralph's given a link for some free hosting which he can provide. > > > What I am trying to do is give a user the option of two views. 1 of > > just the map, and 1 of the map and a sidebar. > > It strikes me that an easier way to do that would be to provide a > button to do things with the sidebar: hide it and expand the map, or > reduce the map and show it. You could even still update the sidebar if > necessary while it's hidden by altering its innerHTML. > > I don't know of any examples doing that though; but finding code for > setting styles to hide a div or to change the size of another should > be fairly easy with a Google search. To get the map to resize > correctly you need .checkResize(). > > 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.
