0

Hopefully a fairly straightforward question...

I have my GeoExt map displayed in a window on my page using a Ext.Window(...) object. The page in the background that the map is displayed on needs to do a server round trip when a form on the page is submitted. Is there a way for the window and map to maintain its state (ie, window size and position & maps current cooridnates, zoom level etc etc).

Thanks for reading!

1 Answer 1

0

Sorted it:

Ext.state.Manager.setProvider(new Ext.state.CookieProvider());

and in the window add:

stateId: "themap"

Next question coming soon ;)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.