Re: findIndexOfClosest in OMGraphicList

From: Don Dietrick <dietrick@bbn.com>
Date: Fri Jul 19 2002 - 15:33:05 EDT

Hi Shawn,

It was a bug, and is fixed. Thanks for the report,

- Don

On Tuesday, July 9, 2002, at 08:42 AM, Shawn Oakey wrote:

> Hi
>
> I have an application that uses an OMGraphicList and I need to know the
> index
> of the OMGraphic closest to the where the mouse pointer clicked. To do
> this I
> was using the findIndexOfClosest method. This worked fine when I was
> using
> version 4.4.2 but when I switched to version 4.5 it seems to always
> choose
> the first OMGraphic in the list except when the OMGraphics are really
> close
> together on the map then it will sometimes choose something else. The
> findClosest method still appears to work properly but I would really
> like to
> have the correct index rather then the correct object. Both methods were
> using a limit argument of 4.
>
> I compiled the code using Java version "1.3.1_01" running on Mandrake
> Linux
> release 8.1
>
> Has anyone else had a similar problem?
>
> Shawn
>
> --
> [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"]
>
>

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
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 Fri Jul 19 15:34:44 2002

This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:33 EDT