Loading lib/proj4js.js +6 −2 Original line number Diff line number Diff line Loading @@ -65,8 +65,12 @@ Proj4js = { * projected Cartesian (x,y), but should always have x,y properties. */ transform: function(source, dest, point) { if (!source.readyToUse || !dest.readyToUse) { this.reportError("Proj4js initialization for "+source.srsCode+" not yet complete"); if (!source.readyToUse) { this.reportError("Proj4js initialization for:"+source.srsCode+" not yet complete"); return point; } if (!dest.readyToUse) { this.reportError("Proj4js initialization for:"+dest.srsCode+" not yet complete"); return point; } Loading Loading
lib/proj4js.js +6 −2 Original line number Diff line number Diff line Loading @@ -65,8 +65,12 @@ Proj4js = { * projected Cartesian (x,y), but should always have x,y properties. */ transform: function(source, dest, point) { if (!source.readyToUse || !dest.readyToUse) { this.reportError("Proj4js initialization for "+source.srsCode+" not yet complete"); if (!source.readyToUse) { this.reportError("Proj4js initialization for:"+source.srsCode+" not yet complete"); return point; } if (!dest.readyToUse) { this.reportError("Proj4js initialization for:"+dest.srsCode+" not yet complete"); return point; } Loading