Don't render features with no geometry. This gives us similar behavior in IE
and FF. There is probably more to this, but we can solve those issues as they come up: going with this one as is for now. (Closes #1111) git-svn-id: http://svn.openlayers.org/trunk/openlayers@6023 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -141,7 +141,9 @@ OpenLayers.Renderer = OpenLayers.Class({
|
||||
if(style == null) {
|
||||
style = feature.style;
|
||||
}
|
||||
this.drawGeometry(feature.geometry, style, feature.id);
|
||||
if (feature.geometry) {
|
||||
this.drawGeometry(feature.geometry, style, feature.id);
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user