GetFeatureInfo requests should take EXCEPTIONS parameter from the WMS layer

This commit is contained in:
Bart van den Eijnden
2012-03-05 09:56:31 +01:00
parent cf9cc27279
commit 6204fe50c6
2 changed files with 4 additions and 1 deletions

View File

@@ -341,6 +341,7 @@ OpenLayers.Control.WMSGetFeatureInfo = OpenLayers.Class(OpenLayers.Control, {
service: "WMS",
version: firstLayer.params.VERSION,
request: "GetFeatureInfo",
exceptions: firstLayer.params.EXCEPTIONS,
bbox: this.map.getExtent().toBBOX(null,
firstLayer.reverseAxisOrder()),
feature_count: this.maxFeatures,