Dear OpenMappers--
I am trying to update some location (OMGraphic) objects on a map. The setup
is as follows:
1. I invoke OpenMap, which uses the properties file to create a
LocationLayer and a Handler for our objects
2. I then instantiate our OMGraphic objects in classes outside of the
LocationLayer and Handlers.
3. I then want to get access to the Layer so that we can add our objects to
the associated OMGraphicList -- a member of our LocationLayer
Item 3 is what I cannot figure out. I know that I can go from the Handler
to the Layer using the getLayer() method, but I don't know how to access the
Handler (since the properties file and Open Map take care of that behind the
scenes).
Due to design reasons, I would prefer NOT to instantiate the OMGraphic
objects inside the Handler.
I guess, the bottom line is that I want to get to the OMGraphicsList object
inside my LocationLayer from ANY object....
Thank you for your help (again :) )
-ed
-- [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"]
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:33 EDT