openlayers/ol3 — pull request #2887 by tschaub (2014-10-27 16:36:05+00:00)
Title: Explicitly pass coordinate dimension before transforming

An `ol.Coordinate` may have more than 2 dimensions. In cases where it does, the `ol.proj.transform` function needs to pass the number of dimensions to the underlying transform function (which works on flat coordinate arrays).

Fixes #2879.