Skip to content

Commit

Permalink
mapdestroy now removes layerParent from the page
Browse files Browse the repository at this point in the history
  • Loading branch information
tmcw committed Sep 28, 2011
1 parent b70e476 commit 756950d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -775,6 +775,7 @@
for (var i = 0; i < this.eventHandlers.length; i++) {
this.eventHandlers[i].remove();
}
this.parent.removeChild(this.layerParent);
MM.removeEvent(window, 'resize', this.windowResize());
return this;
}
Expand Down

0 comments on commit 756950d

Please sign in to comment.