Merge pull request #24339 from osechet/openlayers/issue-24337

[openlayers] Fix typo for ol.proj.Units type
This commit is contained in:
Arthur Ozga
2018-03-16 13:32:26 -07:00
committed by GitHub
2 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -7545,7 +7545,7 @@ export namespace proj {
* Projection units: `'degrees'`, `'ft'`, `'m'`, `'pixels'`, `'tile-pixels'` or
* `'us-ft'`.
*/
type Units = "degress" | "ft" | "m" | "pixels" | "tile-pixels" | "us-ft";
type Units = "degrees" | "ft" | "m" | "pixels" | "tile-pixels" | "us-ft";
/**
* Meters per unit lookup table.
+7
View File
@@ -636,6 +636,13 @@ projection.setGetPointResolution(getPointResolutionFn);
projection.setGlobal(booleanValue);
projection.setWorldExtent(extent);
units = 'degrees';
units = 'ft';
units = 'm';
units = 'pixels';
units = 'tile-pixels';
units = 'us-ft';
//
// ol.Map
//