svn commit: r414 - trunk/mapbender/http/javascripts/wfs.js
christoph at osgeo.org
christoph at osgeo.org
Mon Jun 12 06:13:27 EDT 2006
Author: christoph
Date: 2006-06-12 10:13:27+0000
New Revision: 414
Modified:
trunk/mapbender/http/javascripts/wfs.js
Log:
bug fix: wfs search no longer returns redundant results
Modified: trunk/mapbender/http/javascripts/wfs.js
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/javascripts/wfs.js?view=diff&rev=414&p1=trunk/mapbender/http/javascripts/wfs.js&p2=trunk/mapbender/http/javascripts/wfs.js&r1=413&r2=414
==============================================================================
--- trunk/mapbender/http/javascripts/wfs.js (original)
+++ trunk/mapbender/http/javascripts/wfs.js 2006-06-12 10:13:27+0000
@@ -212,18 +212,20 @@
}
else alert("EPSG mismatch. Invalid WFS result. Press OK to continue.");
}
- }
- if (wfsResultToDigitizeModule == false) {
- mb_wfs_listMember(current_wfs_name);
- }
- else {
- if (mb_wfs_fetch.count()>0) {
- tab_open(digiFrame);
+ if (wfsResultToDigitizeModule == false) {
+ mb_wfs_listMember(current_wfs_name);
}
- for (var i = 0 ; i < mb_wfs_fetch.count() ; i ++) {
- parent.window.frames[digiFrame].appendGeometry(mb_wfs_fetch.get(i));
+ else {
+ if (mb_wfs_fetch.count()>0) {
+ tab_open(digiFrame);
+
+ for (var i = 0 ; i < mb_wfs_fetch.count() ; i ++) {
+ parent.window.frames[digiFrame].appendGeometry(mb_wfs_fetch.get(i));
+ }
+ }
}
}
+// alert(mb_wfs_fetch.count());
}
function mb_wfs_reset(){
More information about the Mapbender_commits
mailing list