// * 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)!! addButtonDig("Point", 1, "point_off.png", "", "", 0, 0); addButtonDig("Line", 1, "line_off.png", "", "", 28, 0); addButtonDig("Polygon", 1, "polygon_off.png", "", "", 56, 0); addButtonDig("dragBasePoint", 1, "move_node_off.png", "", "", 84, 0); addButtonDig("setBasePoint", 1, "new_node_off.png", "", "", 112, 0); addButtonDig("delBasePoint", 1, "delete_node_off.png", "", "", 140, 0); addButtonDig("clear", 1, "del_off.png", "", "", 168, 0); addButtonDig("digitizeSplit", 1, "splitPolygon_off.png", "", "", 0, 28); addButtonDig("digitizeDifference", 1, "punchPolygon_off.png", "", "", 28, 28); addButtonDig("digitizeMerge", 1, "mergePolygons_off.png", "", "", 56, 28); //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 buttonDig_clone_src = "geomClone.png"; var dotDistance = 7; var linepointColor = "#ffff00"; var mod_digitize_elName = "digitize"; var snappingColor = "#ff0000"; var snappingTolerance = 12; var geomHighlightColour = "#ff0000"; 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 addCloneGeometryButton = false; var wfsWindowWidth = 400; var wfsWindowHeight = 300; // deprecated! check wfs_default.conf to configure this behaviour //var spatialRequestResultToDigitize = 1; var featuresMustHaveUniqueId = false; var openMetadataEditorAfterNewGeometryHasBeenCreated = false;