Dear OpenMappers,
I am still on the steep end of the OM learning curve and I think I missing
out on the "bigger picture".
I have built a few layers that I have been able to display my objects on,
however, I did this by instantiating the objects, which are displayed by
association with a OMGraphic that has the same (lat,lon) as the App objs.
The mistake that I believe I have done, is to instantiate these objects and
OMGraphics by calling a "buildObjs()" method from inside the constructor for
the layer. The layer constructor is invoked from the properties file call
(i.e. like in the OpenMap app). Should I be instantiating these objects
from a mapHandler instead?
The reason I am asking is that I don't know how to update the positions of
those objects on the layer, since I do not have an instantiated object that
represents my layer class. I guess my basic question is:
How do I update the position values of objects that are displayed on a
layer? ( are there any simple examples of updating the positions of objects
that are displayed on a layer out there?)
Thanks for your help,
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