I have a map in a Web Application that I don't load until after user input. I first load a "skeleton map" Where by I create all the overlays, but they are blank. After the user logs in I initiate a callback that clears the map, then adds populated overlays of the same name.
I do this because I find that If I simply add overlays that did not previously exist, it wont work. However, zoomlevels arent set in the layers, even though I set the zoom levels when I redraw and update, must I add blank layers to blank overlays, and set the zoom levels of these blank layers even though I am clearing them and replacing???