drawing features while the layer is not in the map may cause problem, r=pgiraud (closes #2546)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10151 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -421,6 +421,7 @@ OpenLayers.Layer.Vector = OpenLayers.Class(OpenLayers.Layer, {
|
||||
* map - {<OpenLayers.Map>}
|
||||
*/
|
||||
removeMap: function(map) {
|
||||
this.drawn = false;
|
||||
if(this.strategies) {
|
||||
var strategy, i, len;
|
||||
for(i=0, len=this.strategies.length; i<len; i++) {
|
||||
|
||||
Reference in New Issue
Block a user