Andrea Aime-4 wrote:
Hmm, I thought this problem was fixed before 1.6.5 was released?
Cc'ing people that should know more than me about this.
It's actually just a matter of an error in the OpenLayers preview,
it's issuing a GetMap instead of a GetFeatureInfo.
Cheers
Andrea
--
Andrea Aime
OpenGeo -
http://opengeo.orgExpert service straight from the developers.
Thanks for the quick response, Andrea, but where does this happen? Here is the JavaScript source for the click function on the OL client:
// support GetFeatureInfo
map.events.register('click', map, function (e) {
document.getElementById('nodelist').innerHTML = "Loading... please wait...";
var url = map.layers[0].getFullRequestString(
{
request: "GetFeatureInfo",
EXCEPTIONS: "application/vnd.ogc.se_xml",
BBOX: map.getExtent().toBBOX(),
X: e.xy.x,
Y: e.xy.y,
INFO_FORMAT: 'text/html',
QUERY_LAYERS: map.layers[0].params.LAYERS,
FEATURE_COUNT: 50,
WIDTH: map.size.w,
HEIGHT: map.size.h
},
"
http://localhost:8080/geoserver/wms"
);
OpenLayers.loadURL(url, '', this, setHTML, setHTML);
OpenLayers.Event.stop(e);
});