Use degrees instead of radians for geometry.rotate method (closes #948).

git-svn-id: http://svn.openlayers.org/trunk/openlayers@4127 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Tim Schaub
2007-08-30 17:10:26 +00:00
parent b78aec44c9
commit be4180fd75
6 changed files with 13 additions and 12 deletions

View File

@@ -159,7 +159,7 @@
// rotate a quarter turn around the origin
var origin = new OpenLayers.Geometry.Point(0, 0);
var angle = Math.PI / 2;
var angle = 90;
ring.rotate(angle, origin);