Is this problem with 4.5.4?
On Tuesday, August 19, 2003, at 07:28 AM, Gubler, Rüdiger wrote:
>
> Hello,
>
> ich have a problem with the FilterSupport.
>
> I have data like this:
>
> <<Selection.bmp>>
>
> The green and blue line should represent the map-data.
> The red square is the searcharea i use with the
> filtersupport.
>
> Now i get the green and blue objects from the filter but i
> expect only the blue one.
>
> Whats wrong?
>
> Here is my code from my own class extending OMGraphicList:
>
> public List findAllClosest(Point ul, Point lr)
> {
> FilterSupport filter;
> Rectangle rect;
> OMGraphicList omgl;
>
> filter = new FilterSupport(this);
> rect = new Rectangle(
> (int) ul.getX(),
> (int) ul.getY(),
> (int) (lr.getX() - ul.getX()),
> (int) (lr.getY() - ul.getY()));
> omgl = (OMGraphicList) filter.filter(rect);
> filter.resetFiltering();
>
> return omgl.getTargets();
> }
>
>
>
> Yours Ruediger
> <Selection.bmp>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, BBN Technologies, dietrick@bbn.com
10 Moulton Street, Cambridge, MA 02138
617-873-3031 [fax]-2794
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-- [To unsubscribe to this list send an email to "majdart@bbn.com" with the following text in the BODY of the message "unsubscribe openmap-users"]Received on Tue Aug 19 13:55:19 2003
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:36 EDT