[Mapbender-commits] r4694 - trunk/mapbender/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Fri Sep 25 06:48:45 EDT 2009
Author: christoph
Date: 2009-09-25 06:48:45 -0400 (Fri, 25 Sep 2009)
New Revision: 4694
Modified:
trunk/mapbender/http/javascripts/mod_digitize_tab.php
Log:
Modified: trunk/mapbender/http/javascripts/mod_digitize_tab.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_digitize_tab.php 2009-09-25 10:47:39 UTC (rev 4693)
+++ trunk/mapbender/http/javascripts/mod_digitize_tab.php 2009-09-25 10:48:45 UTC (rev 4694)
@@ -225,9 +225,7 @@
function appendGeometryArray(obj) {
executeDigitizePreFunctions();
- for (i=0; i<obj.count(); i++) {
- d.addCopy(obj.get(i));
- }
+ d.union(obj);
executeDigitizeSubFunctions();
}
@@ -1532,8 +1530,9 @@
)
);
var isPoint = (geom.geomType == parent.geomType.point && wfsConf[attr]['element'][elementIndex]['element_type'] == 'PointPropertyType');
+ var isMultiPoint = (geom.geomType == parent.geomType.point && wfsConf[attr]['element'][elementIndex]['element_type'] == 'MultiPointPropertyType');
// alert(isMultiPolygon + " " + isPolygon + " " + isMultiLine + " " + isLine + " " + isPoint);
- if (isMultiPolygon || isPolygon || isMultiLine || isLine || isPoint || wfsConf[attr]['element'][elementIndex]['element_type'] == 'GeometryPropertyType') {
+ if (isMultiPolygon || isPolygon || isMultiLine || isLine || isMultiPoint || isPoint || wfsConf[attr]['element'][elementIndex]['element_type'] == 'GeometryPropertyType') {
wfsConfIndices.push(attr);
}
@@ -1602,6 +1601,8 @@
wfsWindow = open("", "wfsattributes", "width="+wfsWindowWidth+", height="+wfsWindowHeight+", resizable, dependent=yes, scrollbars=yes");
wfsWindow.document.open("text/html");
wfsWindow.focus();
+
+ wfsWindow.focus();
var str = "";
var strStyle = "";
More information about the Mapbender_commits
mailing list