[Mapbender-commits] r1140 - trunk/mapbender/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Fri Feb 23 06:58:17 EST 2007
Author: christoph
Date: 2007-02-23 06:58:17 -0500 (Fri, 23 Feb 2007)
New Revision: 1140
Modified:
trunk/mapbender/http/javascripts/mod_wfs_SpatialRequest.php
Log:
change in snapping interace
Modified: trunk/mapbender/http/javascripts/mod_wfs_SpatialRequest.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_wfs_SpatialRequest.php 2007-02-23 11:57:10 UTC (rev 1139)
+++ trunk/mapbender/http/javascripts/mod_wfs_SpatialRequest.php 2007-02-23 11:58:17 UTC (rev 1140)
@@ -242,7 +242,7 @@
mod_wfs_spatialRequest_geometry.addPoint(realWorldPos);
if (mod_wfs_spatialRequest_geometry.count() == 1) {
- s.add(mod_wfs_spatialRequest_geometry, 0);
+ s.add(mod_wfs_spatialRequest_geometry.get(0));
}
if (s.isSnapped() && mod_wfs_spatialRequest_geometry.count() >= 3 && mod_wfs_spatialRequest_geometry.get(-1).equals(mod_wfs_spatialRequest_geometry.get(0))) {
mod_wfs_spatialRequest_geometry.close();
@@ -454,7 +454,7 @@
mb_get_geom(url, filter, i, w_[i]);
}
}
- highlight = new Highlight(mb_wfs_targets, highlight_tag_id, "position:absolute; top:0px; left:0px; z-index:"+generalHighlightZIndex, generalHighlightLineWidth);
+// highlight = new Highlight(mb_wfs_targets, highlight_tag_id, {"position":"absolute", "top":"0px", "left":"0px", "z-index":generalHighlightZIndex}, generalHighlightLineWidth);
return true;
}
More information about the Mapbender_commits
mailing list