[OpenLayers-Users] obtain information about only some fields
fsalas
fsalas at geocuba.cu
Fri Nov 28 03:07:34 EST 2008
I need obtain information about only some fields of my layer and in this sentence not work as i like.
// support GetFeatureInfo
map.events.register('click', map, function (e) {document.getElementById('nodelist').innerHTML = "Cargando... por favor espere...";
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);
});
How I obtain the value of some fields?
Salas
___________________________________
Dpto de Sistemas Informáticos
Oficina Central Grupo Empresarial GEOCUBA
Este mensaje esta libre de virus.
Revisado por Kaspersky Antivirus
----------------------------------------------------------------------
Engine version: 4.0.1.14
Engine date: 2002/06/25
Definition count: 1275756
Definition date: 2008/11/28
MDAV version: 2.2.8
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20081128/25ba158d/attachment.html
More information about the Users
mailing list