Ticket #3235 (closed feature: fixed)
Only add features to unrenderedFeatures when drawFeature returns false
|Reported by:||ahocevar||Owned by:||crschmidt|
Renderer::drawFeature returns undefined for features without a geometry, and false for features that were not rendered. Renderer.SVG::drawFeature returns null for features that were drawn incompletely (i.e. clipped because the extent exceeds the coordinate range). But Layer.Vector adds features to the unrenderedFeatures array for every falsish return from Renderer::drawFeature. Instead, it should only add features where drawFeature returns false or null. When we get rid of Renderer.SVG, we only need to check for false.