This example shows how you to use Ogma layers to handle canvas, draw on it and automatically synchronize it with the view. Click on the canvas to draw, zoom, and drag to move the view or some object.