You're right, the atPoint method intended behavior is to check whether a point in contained into a geometry bounding box. This was implemented a while ago as an simple way to simulate event handling in some cases, though it's far away from being perfect.
About 2 months ago, Tim Schaub proposed a real intersection method support [1]. It's still in progress and help on this would be much appreciated. Regards, Pierre [1] http://trac.openlayers.org/ticket/1072 On Dec 10, 2007 1:34 PM, Attila Csipa <[EMAIL PROTECTED]> wrote: > I have a question about this method, the description says "Determins whether > the feature intersects with the specified location.", however in my > experience this returns true if the given point is in the feature's _bounding > box_, not the feature itself. Is this the intended behaviour (a bit of > clarification of the description would help in that case), or is this > a 'todo' style item for which bbox matching is a quick hack ? I'm using the > latest svn release of openlayers. Sorry if this has come up earlier, I joined > the list fairly recently and found no reference to this on issue on google. > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users > _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
