Commit 24762fc7 authored by Calvin Metcalf's avatar Calvin Metcalf
Browse files

Proj4 passes

parent 5d70e398
Loading
Loading
Loading
Loading
+37 −37
Original line number Diff line number Diff line
@@ -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';
@@ -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;
    }
  }
@@ -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);
};

@@ -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 {
@@ -412,6 +413,5 @@ proj4.Class = function() {
    proj4.extend(extended, parent);
  }
  Class.prototype = extended;
      
  return Class;
};