Loading lib/proj4js.js +1 −1 Original line number Diff line number Diff line Loading @@ -1536,7 +1536,7 @@ Proj4js.Point = Proj4js.Class({ this.x = x[0]; this.y = x[1]; this.z = x[2] || 0.0; } else if (typeof x == 'string') { } else if (typeof x == 'string' && typeof y == 'undefined') { var coords = x.split(','); this.x = parseFloat(coords[0]); this.y = parseFloat(coords[1]); Loading Loading
lib/proj4js.js +1 −1 Original line number Diff line number Diff line Loading @@ -1536,7 +1536,7 @@ Proj4js.Point = Proj4js.Class({ this.x = x[0]; this.y = x[1]; this.z = x[2] || 0.0; } else if (typeof x == 'string') { } else if (typeof x == 'string' && typeof y == 'undefined') { var coords = x.split(','); this.x = parseFloat(coords[0]); this.y = parseFloat(coords[1]); Loading