Adding a RegularPolygon handler for drawing squares, triangles, circles, etc. Demo in the regular-polygon.html example. Also adding a createRegularPolygon class method to the Polygon geometry class. Thanks to crschmidt for all the tests and help getting this in (closes #828).
git-svn-id: http://svn.openlayers.org/trunk/openlayers@4205 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -119,6 +119,7 @@
|
||||
"OpenLayers/Handler/Polygon.js",
|
||||
"OpenLayers/Handler/Feature.js",
|
||||
"OpenLayers/Handler/Drag.js",
|
||||
"OpenLayers/Handler/RegularPolygon.js",
|
||||
"OpenLayers/Handler/Box.js",
|
||||
"OpenLayers/Handler/MouseWheel.js",
|
||||
"OpenLayers/Handler/Keyboard.js",
|
||||
|
||||
Reference in New Issue
Block a user