Jan, The marker arrow is actually 24 images (one for each rotation set on 15 degree increments). I named them like boat-0.png, boat-15.png, ..., boat-345.png and put them in a single folder. Then, I take the heading (from the position report) and calculate the nearest 15 degree increment to build the image name for the marker. I had looked high and low for a way to just rotate the image and couldn't find one, so that's how I solved it.
The Slider came from the GWT incubator. I copied the specific class(es) I wanted (I think it was called SliderBar) so I wouldn't have to include the entire jar. So, the slider is a single component, but I did change the CSS a bit to make it look nicer and fit better with my UI. HTH, Chad www.milamade.com On Oct 26, 1:55 am, Jan <[email protected]> wrote: > Hi Chad, > > thanks for your answers. You pretty much got me out of trouble.. :-) > > But there are still one or two questions: > > - Your marker (arrow) change his angle adjustement. How did you do > that? Because i didn't found a possibility to set the angle.. > > - What kind of Elements are used in your Tim Slide bar? Are this > special animation elements of gwt, or normal java buttons and > scrollbar? How do i find them in GWT? > > Thanks for your answers. > > Jan > > On 11 Okt., 23:55, Chad <[email protected]> wrote: > > > > > > > > > Jan, > > > You can do it all with GWT. You can see a partial example of it here: > > >http://www.dtrac.us/hmr.html > > > I say partial because that page is setup for a race that takes place > > in the future so there aren't any position reports to show yet. But, > > even without that, you can see how the time line and animation works. > > There is a time line (slider control) that can be manipulated > > manually. There is a spinner control to allow user control over the > > speed (forwards and backwards). There are also overlays that can be > > turned on and off (and zoomed into). And the main race course can be > > zoomed to (target images). We will also be tracking Marco Nannini in > > the Route du Rhum next month. You can see the tracking page for his > > race on his site: > > >http://www.marconannini.com/tracking > > > You'll notice the sites look very similar. The fact is, I did this > > data driven. This way, I can just add a few rows to a few tables to > > create a new event. It also supports multiple devices (boats, cars, > > people, whatever) in a single event. It's not hard to do. Brian pretty > > much hit it on the head when he said to use an array and a timer. Mine > > was a little more complex since I keep the slider, the polyline, and > > the position reports all in sync. > > > Have fun, > > Chadwww.milamade.com > > > On Oct 9, 7:53 am, Jan <[email protected]> wrote: > > > > Hi all, > > > > For an actual project, we need to evaluate movements of motor-ships. > > > The position datas are sent from a gps router on the ships and are > > > saved in a database on our server. One of our goals is to show the > > > driven way of one or more ships between a specified time as an > > > animation. Our Application is written in Java with GWT. What we have > > > already is, that the driven way get's drafted like a normal route in > > > google maps. What we want is, to show for example all ship movements > > > for one day in fast motion. > > > > My actual problem is, how to animate the driven way. Is it possible to > > > do the animation in GWT, or do we need to use javascript? > > > > I hope, someone can give me some ideas. > > > > Thanks a lot. > > > > Jan -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
