> Anyone knows how to change the tolerance for selection? > > I just added a SelectFeature control into my map, but the selection > tolerance seems a little low. I cannot implement selection unless where I > click is extremely close to the feature. WMS Layer or vector? With vector layers, its a good idea to have a second selectFeature setup with hover to hightlight only set. That way it hilights when you are over it, then a click will select. For WMS/WFS, use WFS protocol and DWITHIN filter (if your server supports it - otherwise BBOX or Intersects) and control the size of the select explicitly from that. -- Phil Scadden, Senior Scientist GNS Science Ltd 764 Cumberland St, Private Bag 1930, Dunedin, New Zealand Ph +64 3 4799663, fax +64 3 477 5232
Notice: This email and any attachments are confidential. If received in error please destroy and immediately notify us. Do not copy or disclose the contents. _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
