[Mapbender-commits] r3233 - branches/digi_mvc_dev

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Nov 12 09:14:18 EST 2008


Author: christoph
Date: 2008-11-12 09:14:18 -0500 (Wed, 12 Nov 2008)
New Revision: 3233

Added:
   branches/digi_mvc_dev/digitize_default.conf
Log:


Added: branches/digi_mvc_dev/digitize_default.conf
===================================================================
--- branches/digi_mvc_dev/digitize_default.conf	                        (rev 0)
+++ branches/digi_mvc_dev/digitize_default.conf	2008-11-12 14:14:18 UTC (rev 3233)
@@ -0,0 +1,123 @@
+// * List of buttons for digitizing within the tabulator 'Digitize'. 
+// * Set the first 1 in row to 0 to disable digitizing for a certain 
+//   kind of digitizing (e.g. point, line, or polygon)
+// * Do not change the ID (first entry)!!
+
+var digitizeButtonArray = [
+	{
+		name:"Point", 
+		status:1, 
+		imgOff:"point_off.png", 
+		top:0, 
+		left:0
+	},
+	{
+		name:"Line", 
+		status:1, 
+		imgOff:"line_off.png", 
+		top:0, 
+		left:28
+	},
+	{
+		name:"Polygon", 
+		status:1, 
+		imgOff:"polygon_off.png", 
+		top:0, 
+		left:56
+	},
+	{
+		name:"dragBasePoint", 
+		status:1, 
+		imgOff:"move_node_off.png", 
+		top:0, 
+		left:84
+	},
+	{
+		name:"setBasePoint", 
+		status:1, 
+		imgOff:"new_node_off.png", 
+		top:0, 
+		left:112
+	},
+	{
+		name:"delBasePoint", 
+		status:1, 
+		imgOff:"delete_node_off.png", 
+		top:0, 
+		left:140
+	},
+	{
+		name:"clear", 
+		status:1, 
+		imgOff:"del_off.png", 
+		top:0, 
+		left:168
+	},
+	{
+		name:"digitizeDifference", 
+		status:1, 
+		imgOff:"point_off.png", 
+		top:28, 
+		left:0
+	},
+	{
+		name:"digitizeSplit", 
+		status:1, 
+		imgOff:"splitPolygon_off.png", 
+		top:28, 
+		left:28
+	},
+	{
+		name:"digitizeMerge", 
+		status:1, 
+		imgOff:"mergePolygons_off.png", 
+		top:28, 
+		left:56
+	}
+];
+
+//definition of directory of digitize buttons
+buttonDig_imgdir = "../img/button_digitize/";
+
+var buttonDig_wfs_src = "geomInfo.png";
+var buttonDig_remove_src = "geomRemove.png";
+var buttonDig_removeDb_src = "geomRemoveDb.png";
+
+var dotDistance = 7;
+var linepointColor = "#ffff00";
+var mod_digitize_elName = "digitize";
+var snappingColor = "#ff0000";
+var snappingTolerance = 12;
+
+var snappingHighlightZIndex = 120;
+var digitizeTransactionalZIndex = 80;
+var digitizeNonTransactionalZIndex = 20;
+// see also "generalHighlightZIndex" in wfs_default.conf
+
+//
+// measuring
+//
+var measureTagName = "dependentDiv";
+var measureTagTarget = "";
+
+//style is ignored when tag already exists
+var measureTagStyle = {
+	position:"absolute", 
+	top:"530px", 
+	left:"250px", 
+	width:"5000px", 
+	height:"30px", 
+	zIndex:"1"
+}; 
+var measureNumberOfDigits = 3;
+
+var showSaveButtonForExistingGeometries = false;
+
+var nonTransactionalEditable = false;
+var nonTransactionalColor = "#ff66cc"; 
+var nonTransactionalLineWidth = 2; 
+
+var wfsWindowWidth = 400;
+var wfsWindowHeight = 300;
+
+var spatialRequestResultToDigitize = 1;
\ No newline at end of file



More information about the Mapbender_commits mailing list