Re: [OpenMap Users] Issue with animation + layer

From: Andrea Ballatore <andrea.ballatore_at_ucd.ie>
Date: Mon, 29 Jun 2009 15:51:03 +0100

Isn't that function called automatically by the Layer repaint()?
I wouldn't know the parameters...

Mulone

Melvin, Derek R wrote:
> Hello Mulone,
>
> I am sure that you have already tried this and I have not tested it, but
> have you tried calling the layer's repaint method and not the
> JComponent's?
>
> http://openmap.bbn.com/doc/api/com/bbn/openmap/Layer.html#repaint(long,%
> 20int,%20int,%20int,%20int)
>
>
> Derek Melvin
>
>
> -----Original Message-----
> From: owner-openmap-users_at_bbn.com [mailto:owner-openmap-users_at_bbn.com]
> On Behalf Of Mulone
> Sent: Saturday, June 27, 2009 7:39 PM
> To: openmap-users_at_bbn.com
> Subject: [OpenMap Users] Issue with animation + layer
>
>
> Hi everybody,
> Thanks to your help I managed to set up a GPS simulator in my
> application using a Socket and a simple client/server threads. I created
> a simple layer to display the user position and their movements and I
> update the ByteRasterLocation representing the user position with the
> function updateUserPosition. For some reason when I call this function
> the position gets updated correctly, but the ByteRasterLocation
> disappears until I pan or I zoom. I tried to call repaint() and other
> functions but nothing seems to sort it out. I'm sure it's just a simple
> call to be added to the updateUserPosition, but I don't know which and
> where.
>
> LayerCode (don't worry, it's pretty short): http://tinyurl.com/nyqjyg
>
> Thanks for any hints,
> Mulone
> --
> View this message in context:
> http://www.nabble.com/Issue-with-animation-%2B-layer-tp24238108p24238108
> .html
> Sent from the OpenMap mailing list archive at Nabble.com.
>
> --
> [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"]
>


-- 
Andrea Ballatore - PhD Student
School of Computer Science and Informatics
University College Dublin
Belfield, Dublin 4, Ireland
office: ground floor - room A0.08
phone: +353 1 716 2944
skype: andrea_blltr
email: andrea.ballatore_at_ucd.ie
--
[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 Mon Jun 29 2009 - 11:52:03 EDT

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:09 EDT