[OpenLayers-Trac] [OpenLayers] #3301: Square Polygons Snapped to 90 should be BBOXes not Diamonds

OpenLayers trac-20090302 at openlayers.org
Mon May 16 09:12:40 EDT 2011


#3301: Square Polygons Snapped to 90 should be BBOXes not Diamonds
------------------------------------+---------------------------------------
 Reporter:  flavour                 |       Owner:  tschaub     
     Type:  feature                 |      Status:  new         
 Priority:  minor                   |   Milestone:  2.12 Release
Component:  Handler.RegularPolygon  |     Version:  2.10        
 Keywords:                          |       State:              
------------------------------------+---------------------------------------
 If I set the RegularPolygon to be a Square SNapped at 90 degrees I would
 expect a BBOX not a Diamond (a BBOX is much easier to calculate
 intersections).
 Patch attached to catch this case.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/3301>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list