Simplify ol.proj.addCoordinateTransforms
Equivalent projections do not need to be handled here, and the forward and inverse functions can be function arguments instead of being nested in an object literal.
This commit is contained in:
+5
-2
@@ -5,9 +5,12 @@
|
||||
|
||||
|
||||
/**
|
||||
* @type {Function}
|
||||
* @param {...*} var_args
|
||||
* @return {undefined|Array.<number>|Object.<{
|
||||
* forward: function(Array.<number>): Array.<number>,
|
||||
* inverse: function(Array.<number>): Array.<number>}>}
|
||||
*/
|
||||
var proj4 = function() {};
|
||||
var proj4 = function(var_args) {};
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user