Hi Mulone,
Take a look at the com.bbn.openmap.graphicLoader package, you could
create something that extends AbstractGraphicLoader and pushes
OMGraphics to a layer. You just add your GraphicLoader and the
com.bbn.openmap.plugin.graphicLoader.GraphicLoaderConnector to the
openmap.components property (or MapHandler), and the layer is
created/set up automatically. Or you could just set a layer on the
graphicloader programmatically.
The AbstractGraphicLoader has a timer build-in. See AnimationTester for
an example.
- Don
Mulone wrote:
> Hi guys,
>
> I have a gps device and I'm able to get the coordinates from a serial port
> in Java.
> Now I have to set this coordinates to an object in my OM application and I
> have different solutions in mind.
> AFAIK the best one would be to create a separate thread polling the
> coordinates in an asynchronous way.
> What would you recommend from an architectural perspective?
>
> Many thanks to Don for all his useful hints!
>
> Mulone
>
--
[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 Jun 12 2009 - 09:00:36 EDT