fix for #855 - set marker as not 'drawn' when removed from the markers layer. thanks for the great patch and tests, Eric L.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@3784 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2007-07-23 14:48:39 +00:00
parent 454d77842e
commit d75f7c139f
2 changed files with 20 additions and 1 deletions

View File

@@ -102,6 +102,7 @@ OpenLayers.Layer.Markers = OpenLayers.Class(OpenLayers.Layer, {
if ((marker.icon != null) && (marker.icon.imageDiv != null) &&
(marker.icon.imageDiv.parentNode == this.div) ) {
this.div.removeChild(marker.icon.imageDiv);
marker.drawn = false;
}
},