Last active
December 20, 2015 19:29
-
-
Save mrtnbroder/6183473 to your computer and use it in GitHub Desktop.
why?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// this happens when the view get's removed | |
if ($.MapWrapper != null) { // Alloy <View id="Wrapper">, wraps the map | |
$.MapWrapper.remove($.MapView); // the map <View ns="ns="Ti.Map" id="MapView"> | |
$.MapWrapper = $.MapView = null; | |
$.destroy(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment