Use proj4.defs instead of proj4.Proj, to conform with the proj4js API

This commit is contained in:
Andreas Hocevar
2014-07-08 15:56:32 +02:00
parent 0c62469f50
commit 8b2277cdda
4 changed files with 15 additions and 42 deletions

View File

@@ -11,32 +11,8 @@ var proj4 = function() {};
/**
* @type {Object.<string, string>}
* @typedef {Object.<string, Object.<{axis: string,
* units: string,
* to_meter: number}>>}
*/
proj4.defs;
/**
* @constructor
* @param {Object|string} proj
*/
proj4.Proj = function(proj) {};
/**
* @type {string}
*/
proj4.Proj.prototype.axis;
/**
* @type {string}
*/
proj4.Proj.prototype.units;
/**
* @type {number}
*/
proj4.Proj.prototype.to_meter;
proj4.defs;