NetworkMap: Add support for destroy() to properly destroy map and cleanup DOM.