Re: [OpenMap Users] Problems with filtersupport

From: Don Dietrick <dietrick_at_bbn.com>
Date: Fri, 5 Nov 2004 08:18:53 -0500

Sounds like you should call filter.resetFiltering() when the projection
changes, although I'm not sure why A would be returned from the second
filter call if it has also been re-generated with the new projection
(when you pan).

- Don

On Nov 3, 2004, at 12:09 PM, Peter Solderitsch wrote:

>
> All,
>
> Whenever I call filter(Shape) on a FilterSupport attached to my
> OMGraphicHandlerLayer subclass, I always get graphics returned as
> passing the filter that should only have passed on my original
> projection (the projection in place when OpenMap is instantiated).
>
> For instance:
>
> Assume that Graphic "A" is at screen position (x, y) when OpenMap
> starts.
>
> I then navigate to a different point in the map, such that Graphic A is
> not even on the screen any more.
>
> I call filter(Shape), where my Shape includes the point (x,y), and
> Graphic "A" is still returned as if it was at that screen point.
>
> This is causing me MAJOR headaches.
>
> I even tried calling (on my layer) getList().generate(getProjection(),
> true) prior to making the filter() call, on the off chance that the
> off-screen graphics weren't being updated with new bounds locations and
> thus being returned incorrectly, but that didn't seem to help anything.
>
>
> Is there something obvious that I might be doing wrong here?
>
> Thanks,
> -Peter
> --
> [To unsubscribe to this list send an email to "majdart_at_bbn.com"
> with the following text in the BODY of the message "unsubscribe
> openmap-users"]
>
>


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick_at_bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Fri Nov 05 2004 - 08:19:22 EST

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:06 EDT