[Users] Clearing state - how to do it?

Phil Scadden p.scadden at gns.cri.nz
Thu Dec 15 03:49:29 CET 2011


Mostly I am very happy with setting state with stateid. It means 
backbutton takes me into a map as it was etc etc. However, I have a case 
where I would like to explicitly clear state (I have effectively created 
complete new map content). While I do a map.zoomtoExtent as the new map 
is loaded, the mapPanel overrides that with values from state. Ideas on 
how to do that?
-- 
Phil Scadden, Senior Scientist GNS Science Ltd 764 Cumberland St, 
Private Bag 1930, Dunedin, New Zealand Ph +64 3 4799663, fax +64 3 477 5232

Notice: This email and any attachments are confidential. If received in error please destroy and immediately notify us. Do not copy or disclose the contents.



More information about the Users mailing list