[Mapbender-commits] r1032 - trunk/mapbender/conf

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Jan 24 08:13:40 EST 2007


Author: christoph
Date: 2007-01-24 08:13:40 -0500 (Wed, 24 Jan 2007)
New Revision: 1032

Added:
   trunk/mapbender/conf/digitize_default.conf
Log:
default digitization configuration file

Added: trunk/mapbender/conf/digitize_default.conf
===================================================================
--- trunk/mapbender/conf/digitize_default.conf	2007-01-24 13:13:01 UTC (rev 1031)
+++ trunk/mapbender/conf/digitize_default.conf	2007-01-24 13:13:40 UTC (rev 1032)
@@ -0,0 +1,43 @@
+function addButtonDig(id, isOn, src, titleOff, titleOn, x, y) {
+	buttonDig_id.push(id);
+	buttonDig_on.push(isOn);
+	buttonDig_src.push(src);
+	buttonDig_title_off.push(titleOff);
+	buttonDig_title_on.push(titleOn);
+	buttonDig_x.push(x);
+	buttonDig_y.push(y);
+}
+
+var buttonDig_imgdir = "../img/button_digitize/";
+var buttonDig_id = new Array();
+var buttonDig_on = new Array();
+var buttonDig_src = new Array();
+var buttonDig_title_off = new Array();
+var buttonDig_title_on = new Array();
+var buttonDig_x = new Array();
+var buttonDig_y = new Array();
+
+addButtonDig("Point", 1, "point_off.png", "add point", "finish editing", 0, 0);
+addButtonDig("Line", 1, "line_off.png", "add line", "finish editing", 25, 0);
+addButtonDig("Polygon", 1, "polygon_off.png", "add polygon", "close polygon", 50, 0);
+addButtonDig("dragBasePoint", 1, "move_node_off.png", "move basepoint", "move basepoint", 75, 0);
+addButtonDig("setBasePoint", 1, "new_node_off.png", "insert basepoint", "insert basepoint", 100, 0);
+addButtonDig("delBasePoint", 1, "delete_node_off.png", "delete basepoint", "delete basepoint", 125, 0);
+
+var buttonDig_wfs_src = "geomInfo.png";
+var buttonDig_wfs_title = "save / update / delete";
+var buttonDig_remove_src = "geomRemove.png";
+var buttonDig_remove_title = "remove from workspace";
+
+var closePolygon_title = "click the first basepoint to close the polygon";
+
+var dotDistance = 7;
+var geomList_x = 20;
+var geomList_y = 50;
+var linepointColor = "#ffff00";
+var mod_digitize_elName = "digitize";
+var snappingColor = "#ff0000";
+var snappingTolerance = 12;
+
+var nonTransactionalEditable = true;
+var nonTransactionalColor = "#bedada";
\ No newline at end of file



More information about the Mapbender_commits mailing list