[mapguide-trac] #754: Polygon features are drawn wrong when not completely in the window

MapGuide Open Source trac_mapguide at osgeo.org
Fri Nov 7 14:26:45 EST 2008


#754: Polygon features are drawn wrong when not completely in the window
------------------------------+---------------------------------------------
   Reporter:  waltweltonlair  |       Owner:  waltweltonlair
       Type:  defect          |      Status:  new           
   Priority:  high            |   Milestone:  2.1           
  Component:  General         |     Version:  2.0.2         
   Severity:  minor           |    Keywords:                
External_id:  1102648.01      |  
------------------------------+---------------------------------------------
 With the new stylization, feature geometry is clipped to the edge of the
 visible window.  This results in some rendering quirks.  Two examples:

  * Consider a polyline drawn using a thick line style (see the attached
 file polylineImage).  If you pan the view so that a portion of the
 polyline is slightly beyond the visible extent, then that portion is
 clipped and nothing is drawn (see the attached file polylineImageClipped).
 The expected behavior is that you would still see the clipped portion
 because of the line thickness.

  * Consider a polygon drawn using a thick edge style (see the attached
 file polygonImage).  If you pan the view so that a portion of the polygon
 is far beyond the edge of the visible extent, then that portion is clipped
 and replaced with one or more lines which follow the edge of the visible
 extent (added to keep the polygon closed).  The thick line style is
 applied to these clipping lines, and results in an incorrect
 representation of the polygon's boundary (see the attached file
 polygonImageClipped).

-- 
Ticket URL: <https://trac.osgeo.org/mapguide/ticket/754>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list