From d54440b0e94723c8eb938b7396cd1e1cf75529d4 Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Wed, 15 Apr 2009 23:44:29 +0000 Subject: [PATCH] Touching up WMSGetFeatureInfo. Requests are now sent out with correct case on request parameter. Requests are only sent out if there are layers to query. The control has a single format with configurable options. Requests can be made in cases where layer url differs from control url. The control url property is optional. In cases where it is not provided, the url of the first eligible layer will be used. Tests pass and example works (for the first time) in IE as well. git-svn-id: http://svn.openlayers.org/trunk/openlayers@9300 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- examples/getfeatureinfo-control.html | 96 +++++--- lib/OpenLayers/Control/WMSGetFeatureInfo.js | 259 ++++++++++++-------- lib/OpenLayers/Format/WMSGetFeatureInfo.js | 18 +- tests/Control/WMSGetFeatureInfo.html | 160 +++++++++--- 4 files changed, 354 insertions(+), 179 deletions(-) diff --git a/examples/getfeatureinfo-control.html b/examples/getfeatureinfo-control.html index 2645351d1e..000a6a13da 100644 --- a/examples/getfeatureinfo-control.html +++ b/examples/getfeatureinfo-control.html @@ -5,39 +5,75 @@