Rename _ol_proj_Units_ to Units

This commit is contained in:
Tim Schaub
2018-01-08 09:56:43 -07:00
parent a18f0590f6
commit a04144c3c2
10 changed files with 28 additions and 28 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
/**
* @module ol/proj/Projection
*/
import _ol_proj_Units_ from '../proj/Units.js';
import Units from '../proj/Units.js';
/**
* @classdesc
@@ -153,7 +153,7 @@ _ol_proj_Projection_.prototype.getUnits = function() {
* @api
*/
_ol_proj_Projection_.prototype.getMetersPerUnit = function() {
return this.metersPerUnit_ || _ol_proj_Units_.METERS_PER_UNIT[this.units_];
return this.metersPerUnit_ || Units.METERS_PER_UNIT[this.units_];
};