From b5b1cd3c9db0013c554bdf1553cf5d7cf6459e65 Mon Sep 17 00:00:00 2001 From: crschmidt Date: Sun, 16 Dec 2007 20:00:20 +0000 Subject: [PATCH] Fix a couple minor mis-spelings in OpenLayers.Geometry.Polygon.createRegularPolygon (Closes #1214) git-svn-id: http://svn.openlayers.org/trunk/openlayers@5439 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Geometry/Polygon.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/OpenLayers/Geometry/Polygon.js b/lib/OpenLayers/Geometry/Polygon.js index 199f3aa95e..2b7c21ef9d 100644 --- a/lib/OpenLayers/Geometry/Polygon.js +++ b/lib/OpenLayers/Geometry/Polygon.js @@ -76,10 +76,10 @@ OpenLayers.Geometry.Polygon.createRegularPolygon = function(origin, radius, side if(rotation) { angle += (rotation / 180) * Math.PI; } - var rotateAngle, x, y; + var rotatedAngle, x, y; var points = []; for(var i=0; i