[Mapbender-commits] r6600 - trunk/mapbender/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Tue Jul 13 10:50:15 EDT 2010
Author: kmq
Date: 2010-07-13 14:50:15 +0000 (Tue, 13 Jul 2010)
New Revision: 6600
Modified:
trunk/mapbender/http/javascripts/geometry.js
Log:
Modified: trunk/mapbender/http/javascripts/geometry.js
===================================================================
--- trunk/mapbender/http/javascripts/geometry.js 2010-07-13 14:27:03 UTC (rev 6599)
+++ trunk/mapbender/http/javascripts/geometry.js 2010-07-13 14:50:15 UTC (rev 6600)
@@ -1899,6 +1899,7 @@
var drawCircle = function(x, y, diameter, color) {
if (typeof Raphael !== "undefined") {
var c = canvas.circle(x, y, diameter/2);
+ node = c.node;
c.attr({
"fill": color,
"stroke": color,
@@ -1910,6 +1911,7 @@
canvas.setColor(color);
canvas.drawEllipse(x-diameter/2,y-diameter/2,diameter,diameter);
}
+ return node;
};
/**
More information about the Mapbender_commits
mailing list