[OpenLayers-Users] OpenLayers.loadURL not working
Simo D
simone.dalmasso at gmail.com
Fri Jul 10 06:36:21 EDT 2009
Hi list, I'm using this function "OpenLayers.loadURL(url, '', this,
setResponse, setResponse);" to make an getFeatureInfo on geoserver. my url
variable is:
"var url = map.layers[2].getFullRequestString(
{
REQUEST: "GetFeatureInfo",
EXCEPTIONS: "application/vnd.ogc.se_xml",
BBOX: map.getExtent().toBBOX(),
X: e.xy.x,
Y: e.xy.y,
INFO_FORMAT: 'text/plain',
QUERY_LAYERS: map.layers[2].params.LAYERS,
FEATURE_COUNT: 1,
srs: 'EPSG:900913',
layers: 'layer',
styles: '',
WIDTH: map.size.w,
HEIGHT: map.size.h
},
"
The query returns an empty response (looking through firebug) but if I copy
che address in the browser bar, the response is ok.
Have you got any ideas?
Thanks in avdance.
Simone.
--
View this message in context: http://n2.nabble.com/OpenLayers.loadURL-not-working-tp3236300p3236300.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list