only add features to the unrendererdFeatures array when they were not drawn due to lack of geometry. r=erilem (closes #3235)"
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11853 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -810,7 +810,9 @@ OpenLayers.Layer.Vector = OpenLayers.Class(OpenLayers.Layer, {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!this.renderer.drawFeature(feature, style)) {
|
var drawn = this.renderer.drawFeature(feature, style);
|
||||||
|
//TODO remove the check for null when we get rid of Renderer.SVG
|
||||||
|
if (drawn === false || drawn === null) {
|
||||||
this.unrenderedFeatures[feature.id] = feature;
|
this.unrenderedFeatures[feature.id] = feature;
|
||||||
} else {
|
} else {
|
||||||
delete this.unrenderedFeatures[feature.id];
|
delete this.unrenderedFeatures[feature.id];
|
||||||
|
|||||||
Reference in New Issue
Block a user