openlayers/openlayers — pull request #1267 by fbuchinger (2014-03-05 09:19:09+00:00)
Title: support for projectionless maps was broken

We had to monkey-patch Layer.setMap(), because we were using a projectionless layer {projection:null, units: 'm'}, where the map only knows the units of the layer. According to the docs, this should work, but we were getting a JS error in .setMap()/Line 639, because OpenLayers tries to extract the units from the projection object.