Allow ol.proj.Projection units option to be a string

This commit is contained in:
Tom Payne
2014-02-06 22:42:36 +01:00
parent 37d5a4af65
commit b901fba742
2 changed files with 2 additions and 2 deletions

View File

@@ -77,7 +77,7 @@ ol.proj.Projection = function(options) {
* @private
* @type {ol.proj.Units}
*/
this.units_ = options.units;
this.units_ = /** @type {ol.proj.Units} */ (options.units);
/**
* @private