I've been messing around with jQuery-UI's widget factory to create a google map widget.
The widget factory includes pre-built destroy
capabilities to remove a widget from an element. I'm interested to know whether there's a way to detach the original element from a Google Map without removing the element from the DOM.
Most of the searching I've done leads to how to remove markers and other layers from a Google Map, rather than removing the map from the DOM.