[OpenLayers-Trac] Re: [OpenLayers] #2876: VML rendering issue with polygons with zero area interior rings

OpenLayers trac-20090302 at openlayers.org
Thu Oct 14 20:34:27 EDT 2010


#2876: VML rendering issue with polygons with zero area interior rings
--------------------------+-------------------------------------------------
 Reporter:  tschaub       |       Owner:  ahocevar    
     Type:  feature       |      Status:  new         
 Priority:  minor         |   Milestone:  2.11 Release
Component:  Renderer.VML  |     Version:  SVN         
 Keywords:                |       State:  Commit      
--------------------------+-------------------------------------------------
Changes (by tschaub):

  * owner:  tschaub => ahocevar
  * status:  assigned => new
  * state:  Review => Commit


Comment:

 I'm good with either patch.  In summary, the first method ensures we don't
 encounter the VML rendering issue, but adds a getArea calculation when
 rendering polygons with interior rings.  The second patch avoids the VML
 rendering issue unless a polygon has three or more spatially distinct
 points and no area, but the typical rendering cost is lower.

 Thanks for digging into this and tracking down a solution Andreas.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/2876#comment:5>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list