My problem is that I want to save MAP state (including zoom level, static layers, custom overlays like markers) when navigate among different pages of web application?
Suppose we are working run-time on web page where map is displayed.
We add some Markers, Layers, and drawing like geofence, and set some zoom level.
I want to save current state of map so when i navigate from other page or open this page again; its state should be save.
Should I have to save information of every thing that I worked on MAP?? like I have to save map zoom level state; i have to save map layers (custom or static), I have to save current context ???
Is there any easiest way to save single Map object at user session level or permanent persistence.???
How to save MAP state?
Hi Zuhaib,
Thanks for your input, but I am sorry to say because the Map Control inherits from Panel control and it use the Page Session level not the Application Session level, which means it should not be able to be shared with multi pages.
So, a workaround might be saving the map information like zoom level, static layers, custom overlays into Application Session, and when back to the map page, assign them to the map if they exist in session.
Best Regards
Summer