Loading src/Proj4.js +37 −37 Original line number Diff line number Diff line Loading @@ -306,7 +306,8 @@ proj4.adjust_axis = function(crs, denorm, point) { v= xin; t= 'x'; } else if (i===1) { v= yin; t= 'y'; v= yin; t= 'y'; } else { v= zin; t= 'z'; Loading Loading @@ -335,7 +336,7 @@ proj4.adjust_axis = function(crs, denorm, point) { } break; default : alert("ERROR: unknow axis ("+crs.axis[i]+") - check definition of "+crs.projName); //console.log("ERROR: unknow axis ("+crs.axis[i]+") - check definition of "+crs.projName); return null; } } Loading @@ -347,7 +348,7 @@ proj4.adjust_axis = function(crs, denorm, point) { * An internal method to report errors back to user. * Override this in applications to report error messages or throw exceptions. */ proj4.reportError = function(msg) { proj4.reportError = function(/*msg*/) { //console.log(msg); }; Loading Loading @@ -402,7 +403,7 @@ proj4.Class = function() { var extended = {}; var parent,i; for(i=0; i<arguments.length; ++i) { if(typeof arguments[i] == "function") { if(typeof arguments[i] === "function") { // get the prototype of the superclass parent = arguments[i].prototype; } else { Loading @@ -412,6 +413,5 @@ proj4.Class = function() { proj4.extend(extended, parent); } Class.prototype = extended; return Class; }; Loading
src/Proj4.js +37 −37 Original line number Diff line number Diff line Loading @@ -306,7 +306,8 @@ proj4.adjust_axis = function(crs, denorm, point) { v= xin; t= 'x'; } else if (i===1) { v= yin; t= 'y'; v= yin; t= 'y'; } else { v= zin; t= 'z'; Loading Loading @@ -335,7 +336,7 @@ proj4.adjust_axis = function(crs, denorm, point) { } break; default : alert("ERROR: unknow axis ("+crs.axis[i]+") - check definition of "+crs.projName); //console.log("ERROR: unknow axis ("+crs.axis[i]+") - check definition of "+crs.projName); return null; } } Loading @@ -347,7 +348,7 @@ proj4.adjust_axis = function(crs, denorm, point) { * An internal method to report errors back to user. * Override this in applications to report error messages or throw exceptions. */ proj4.reportError = function(msg) { proj4.reportError = function(/*msg*/) { //console.log(msg); }; Loading Loading @@ -402,7 +403,7 @@ proj4.Class = function() { var extended = {}; var parent,i; for(i=0; i<arguments.length; ++i) { if(typeof arguments[i] == "function") { if(typeof arguments[i] === "function") { // get the prototype of the superclass parent = arguments[i].prototype; } else { Loading @@ -412,6 +413,5 @@ proj4.Class = function() { proj4.extend(extended, parent); } Class.prototype = extended; return Class; };