Hi all,
Take this simple code
OMGraphic omg = list.selectClosest(e.getX(), e.getY(), 4);
if (omg != null) {
graphicIndex = list.indexOf(omg);
...
}
The strange thing is that graphicIndex sometimes will contain -1!
I observed this for the graphic list used in EsriPlugin
- with lists of EsriPolylines (not EsriPoints)
- only for new objects added to the list (using list.add(graphic) and
getModel().addBlankRecord();)
- only for OM4.6 beta (worked before)
Can anyone figure out what's wrong here?
Many thanks
-- Prof Dr Bart Jourquin F.U.Ca.M. - G.T.M. Chaussee de Binche, 151a B7000 Mons Belgium Tel. : +32 65 323293 Fax. : +32 65 315691 http://message.fucam.ac.be/~jourquin -- [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 Jun 27 06:30:47 2003
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:36 EDT