[OpenLayers-Trac] Re: [OpenLayers] #3442: Fix
OpenLayers.Renderer.Canvas.drawFeature
method in case if feature's bounds are empty
OpenLayers
trac-20090302 at openlayers.org
Wed Aug 3 10:19:19 EDT 2011
#3442: Fix OpenLayers.Renderer.Canvas.drawFeature method in case if feature's
bounds are empty
-----------------------------+----------------------------------------------
Reporter: arublev | Owner: crschmidt
Type: bug | Status: new
Priority: major | Milestone: 2.11 Release
Component: Renderer.Canvas | Version: 2.11 RC1
Keywords: | State: Commit
-----------------------------+----------------------------------------------
Changes (by erilem):
* state: Review => Commit
Comment:
For clarity I'd rather do
{{{
rendered = (style.display !== "none") && !!bounds &&
bounds.intersectsBounds(this.extent);
}}}
With that we make it explicit what element we need to cast to a boolean.
Please commit with the statement you like most.
--
Ticket URL: <http://trac.openlayers.org/ticket/3442#comment:6>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list