[Mapbender-commits] r4288 - branches/2.6/http/javascripts
trunk/mapbender/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Fri Jul 3 05:01:45 EDT 2009
Author: verenadiewald
Date: 2009-07-03 05:01:44 -0400 (Fri, 03 Jul 2009)
New Revision: 4288
Modified:
branches/2.6/http/javascripts/wms.js
trunk/mapbender/http/javascripts/wms.js
Log:
add FEATURE_COUNT to wms featureInfo request if var mb_feature_count is set
Modified: branches/2.6/http/javascripts/wms.js
===================================================================
--- branches/2.6/http/javascripts/wms.js 2009-07-02 18:00:11 UTC (rev 4287)
+++ branches/2.6/http/javascripts/wms.js 2009-07-03 09:01:44 UTC (rev 4288)
@@ -216,6 +216,9 @@
rq += "&EXCEPTIONS=application/vnd.ogc.se_xml";
rq += "&X=" + clickPoint.x;
rq += "&Y=" + clickPoint.y;
+ if(mb_feature_count > 0){
+ rq += "&FEATURE_COUNT="+mb_feature_count;
+ }
return rq;
};
Modified: trunk/mapbender/http/javascripts/wms.js
===================================================================
--- trunk/mapbender/http/javascripts/wms.js 2009-07-02 18:00:11 UTC (rev 4287)
+++ trunk/mapbender/http/javascripts/wms.js 2009-07-03 09:01:44 UTC (rev 4288)
@@ -216,6 +216,9 @@
rq += "&EXCEPTIONS=application/vnd.ogc.se_xml";
rq += "&X=" + clickPoint.x;
rq += "&Y=" + clickPoint.y;
+ if(mb_feature_count > 0){
+ rq += "&FEATURE_COUNT="+mb_feature_count;
+ }
return rq;
};
More information about the Mapbender_commits
mailing list