Fix typecast in ol.Proj4jsProjection

This commit is contained in:
Tom Payne
2013-01-07 13:10:18 +01:00
parent 3f08995cfb
commit 5cfae7b3bc

View File

@@ -87,7 +87,7 @@ ol.Projection.prototype.getUnits = function() {
*/
ol.Proj4jsProjection = function(code, proj4jsProj) {
var units = /** @type {ol.ProjectionUnits} */ proj4jsProj.units;
var units = /** @type {ol.ProjectionUnits} */ (proj4jsProj.units);
goog.base(this, code, units, null);