Hi Yako, > Because those point features are represented by big symbols and I want the > user to be able to select the feature by clicking anywhere on the symbol and > not having to find the center.
Knowing the size of the symbol (I think you discussed this with Jody earlier ?) you could use that to set the threshold distance that I referred to. It's just another suggestion for how you might approach this problem but of course only you can judge what is best, both for you as the developer and for the user. > The other problem is that, features (i.e. like cars) can move during two > rendering. Ah, that's interesting. I didn't realize the renderings were snapshots of a dynamic system (sorry, I haven't read all of the previous discussion). I guess the first thing I'd try is to record the positions of the features at each rendering in some simple data structure. So each feature has lastPos and curPos and it is lastPos that you query with respect to the mouse click. Are you using a spatial index ? Michael ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
