[OpenLayers-Users] Re: WMSGetFeatureInfo + xy mouse coordinates,
can this be done?
jasonHo
sk1 at sk1consulting.com
Wed Mar 2 11:22:45 EST 2011
With GeoServer you can use buffer in vendorParams when making the Control:
var yourControl = new OpenLayers.Control.WMSGetFeatureInfo({
url: '/geoserver/wms',
title: 'Identify features by clicking',
queryVisible: true,
layers: [ layer1, layer2, layer3 ],
vendorParams: {
buffer: 10 // geoserver buffer in pixels
},
eventListeners: { // stuff }
});
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Re-WMSGetFeatureInfo-xy-mouse-coordinates-can-this-be-done-tp6077238p6081589.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list