AnsweredAssumed Answered

How to reuse map object

Question asked by stofo1989 on Aug 29, 2013
Latest reply on Aug 30, 2013 by zj_zou
Hi,

i am new in the arcgis technology and i can't find solution to my problem.
I am creating a single page js application with at least 2 screens (ajax). User can switch between them as much as he likes.
There is a map on the second screen which is initialized every time when user switch to this screen (my problem).

I dont want to initialize this map every time the second screen is loaded, instead i want to keep map in memory and put it in html right away so the user doesnt need to wait for map initialization.

I have map stored in global variable, but i dont know how to insert it to some div container.

Sorry for my english.

Thanks.

Outcomes