[Mapbender-commits] r8304 - branches/2.7/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Thu Apr 5 05:12:37 EDT 2012
Author: kmq
Date: 2012-04-05 02:12:37 -0700 (Thu, 05 Apr 2012)
New Revision: 8304
Modified:
branches/2.7/http/javascripts/mod_digitize_tab.php
Log:
removing debugging information
Modified: branches/2.7/http/javascripts/mod_digitize_tab.php
===================================================================
--- branches/2.7/http/javascripts/mod_digitize_tab.php 2012-04-05 09:10:13 UTC (rev 8303)
+++ branches/2.7/http/javascripts/mod_digitize_tab.php 2012-04-05 09:12:37 UTC (rev 8304)
@@ -770,15 +770,6 @@
var basepointPointIndex = null;
var basepointDragActive = false;
-var handleBasePointEnabled = true;
-var handleCounter=0;
-
-function disableHandleBasepoint(){
- //console.log("disablehandling basepoint "+ handleBasePointEnabled);
- //handleBasePointEnabled = true;
-
-}
-
function handleBasepoint(obj,memberIndex, geometryIndex, ringIndex, pointIndex){
if (!(
@@ -865,13 +856,6 @@
var k = basepointRingIndex;
var l = basepointPointIndex;
- console.log({
- "MemberIndex": i,
- "GeometryIndex": j,
- "RingIndex": k,
- "PointIndex": l
- });
-
if (k != undefined) {
d.delAllPointsLike(d.getPoint(i, j, k, l));
}
@@ -1708,8 +1692,6 @@
}
if(isMoveOrInsertOrDelete) {
smPArray[smPArray.length] = "onmouseover='window.frames[\""+mod_digitize_elName+"\"].handleBasepoint(this,"+i+","+j+","+k+")' ;";
-
- smPArray[smPArray.length] += " onmouseout='window.frames[\""+mod_digitize_elName+"\"].disableHandleBasepoint()';";
}
smPArray[smPArray.length] = ">";
if (isPolygon || isLine) {
@@ -1762,7 +1744,6 @@
}
if (isMoveOrInsertOrDelete) {
smPArray[smPArray.length] = " onmouseover='window.frames[\"" + mod_digitize_elName + "\"].handleBasepoint(this," + i + "," + j + "," + l + "," + m + ")' ;";
- smPArray[smPArray.length] += " onmouseout='window.frames[\""+mod_digitize_elName+"\"].disableHandleBasepoint()';";
}
smPArray[smPArray.length] = "></div>";
lastPaintedPoint = currentPointMap;
More information about the Mapbender_commits
mailing list