How do I unload MapWidget resources?

2008-12-29 Thread byhisdeeds
I am using the latest gwt maps MapWidget within a Dialog and want to know how to unload the resources when I hide the dialog, as I don't see any GUnload() function in the documentation. John --~--~-~--~~~---~--~~ You received this message because you are

Re: How do I unload MapWidget resources?

2008-12-29 Thread Eric Ayers
The GUnload method is called implicitly via a handler. Iinstalled when the MapWidget is created. The GUnload method gets called when the window is closed. If you like, you can explicitly invoke it by creating your own JSNI method as follows: private static native void nativeUnload() /*-{