I am writing a canvas (and later a webgl) mapping component that renders data fully on the client.
You can see a very early prototype at
http://gwtvectormaps.appspot.com/
What strikes me is a huge difference in performance between Firefox and Chrome. Normalyl I'd attribute the difference to Firefox being slow, but the case is not that clear. On my PC it takes 75ms to render a frame on FF and 35ms, both numbers are more than adequate, so the problem lies somewhere else. I suspect it's the time between generation of a native Javascript event and it's capture by GWT code. On Chrome this time is not perceivable, but on FF it takes some 1000ms.
Initially I wrapped the canvas into FocusWidet, but due to the sluggish performance, I'm attaching event handlers directly to canvas. This has reduced the latency somewhat, but I only get around 1fps on FF. Anyone had / solved this issue?
thanks
Pawel
I used FF 14.a01 nightly 64bit, Chromium canary 20.0.1111.1 canary