Commit Graph

8 Commits

Author SHA1 Message Date
oterral b2819a2332 Add some tests for drawing polygons 2014-01-22 09:59:04 +01:00
Tom Payne 8e372f8db0 Don't automatically orient rings in ol.geom.MultiPolygon 2014-01-21 16:11:52 +01:00
Tom Payne ff73f080b3 Don't automatically orient rings in ol.geom.Polygon 2014-01-21 16:07:26 +01:00
Éric Lemoine 9d6d0e03c2 Configure draw interaction with a vector source 2014-01-20 16:09:48 +01:00
oterral 049ceb2ada Add tests for draw interaction events 2014-01-14 17:38:11 +01:00
oterral 80962b0bf9 Add draw interaction tests 2014-01-10 14:02:36 +01:00
Tom Payne 4e65fefc00 Move vector code out of the way 2013-11-20 11:39:21 +01:00
Tim Schaub 05b9922861 Tests for draw interaction
The tests revealed that polygons can be drawn with counter-clockwise exterior ring order.  In the polygon constructor, we enforce clockwise winding for exterior rings.  So after drawing, we pass polygon coordinates back to the constructor before adding feature to the target layer.
2013-11-12 16:06:42 -07:00