I have a website where I want to integrate a GWT canvas in the main layer. When I resize the browser window, I want the canvas "visible area" to resize accordingly, BUT not it's content. Somehow like in google maps where I just can see portions of what has been drawn.
canvas.setSize(..)
canvas.setCoordinateSpaceHeight(..);
canvas.setCoordinateSpaceWidth(..);
What do I have to set in order to
- always resize the canvas according to the browser window
- not having it's content resized?