[Mapbender-commits] r2405 - branches/2.5/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Apr 23 09:21:04 EDT 2008


Author: verenadiewald
Date: 2008-04-23 09:21:04 -0400 (Wed, 23 Apr 2008)
New Revision: 2405

Modified:
   branches/2.5/http/javascripts/geometry.js
Log:
added snappingColor (given in digitize conf file)

Modified: branches/2.5/http/javascripts/geometry.js
===================================================================
--- branches/2.5/http/javascripts/geometry.js	2008-04-22 08:27:52 UTC (rev 2404)
+++ branches/2.5/http/javascripts/geometry.js	2008-04-23 13:21:04 UTC (rev 2405)
@@ -1486,7 +1486,7 @@
 		mG = new MultiGeometry(geomType.point);
 		mG.addGeometry();
 		mG.get(-1).addPoint(center);
-		highlight.add(mG);
+		highlight.add(mG,snappingColor);
 		highlight.paint();
 	};
 	this.getTolerance = function() {
@@ -1549,6 +1549,11 @@
 	/**
 	 * @private
 	 */
+	var snappingColor = aColor;
+	
+	/**
+	 * @private
+	 */
 	var lineWidth = 2;
 
 	/**



More information about the Mapbender_commits mailing list