second patch to fix #549. this time, instead of just clearing out everything in the div, it removes only what it added.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@2858 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -228,7 +228,10 @@ OpenLayers.Map.prototype = {
|
||||
}
|
||||
this.controls = null;
|
||||
}
|
||||
this.div.innerHTML = "";
|
||||
if (this.viewPortDiv) {
|
||||
this.div.removeChild(this.viewPortDiv);
|
||||
}
|
||||
this.viewPortDiv = null;
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user