separated setViewer as an entry point
only redraw canvas if change of orientation is sufficient
adapt to new API
removed debug
avoid race condition on calculation of POI ordinates