openlayers/ol3 — pull request #520 by elemoine (2013-04-09 18:26:01+00:00)
Title: The view does not know about the map

Currently View2D has methods that take an `ol.Map` as their first arguments. These methods then call `withFrozenRendering`, `requestRenderFrame`, and `addPreRenderFunction` on the map.

Instead, the view should not know about the map, and should not have anything to do with rendering. This PR suggests moving functions from View2D to the base interaction class, keeping the constraints in View2D. The constraints are indeed also used by the Zoom control.

This PR is part of a larger work related to cleaning up View2D and its API.