I am developing an app with phonegap and because of the way it works with mobile framework, where everything / every page is on a single document, I'd like to be able to safely remove a google map from the DOM when I need to display another map for another purpose.
I believe doing something like $("selectorforGmap").empty()
is not the best practice.
Please advice.
Thanks