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

OpenLayers trac-20090302 at openlayers.org
Wed Oct 13 11:20:03 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:  Review      
--------------------------+-------------------------------------------------
Changes (by ahocevar):

  * state:  => Review
  * version:  2.10 => SVN


Comment:

 Unfortunately a fix that involves an expensive area calculation, but we
 only need to do that if we have interior rings: VML renders polygons with
 sub-paths that have no area incorrectly when the stroke-width is greater
 than 1. The solution is to not close sub-paths that have a zero area.

 Added tests, tests pass in IE8, example polygon renders fine. Thanks for
 any review.

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


More information about the Trac mailing list