Dynamical active image areas and event handling in GWT
I'm using Google web toolkit for some project mapping seismic activity of some land area. The request f开发者_开发知识库rom users is to create a map which marked points. When user will click on some point, more detailed information is shown.
So, I need to be able to draw some particular areas on a common image. Areas should be dynamically drawn (size and color based on last monitoring figures), and active: when user hover a mouse or click to the area, more detailed information is shown.
Please see the example of image: http://polansky.eu/images/p07-b.jpg
I tried many ways how to draw dynamically or overlay image, and to bind handlers, but nothing was successful. Any ideas please?
Check these projects out:
gwt-g2d
GWT Widget Library (demo)
gwt-canvas
gwt-incubator GWTCanvas (demo)
Not sure if all of the mentioned projects suit your needs but I guess they'll help as a starting point.
精彩评论