Loading lib/proj4js.js +2 −2 Original line number Diff line number Diff line Loading @@ -75,8 +75,8 @@ Proj4js = { } // Workaround for Spherical Mercator if ((source.srsProjNumber =="900913" && dest.datumCode != "WGS84") || (dest.srsProjNumber == "900913" && source.datumCode != "WGS84")) { if ((source.srsProjNumber =="900913" && dest.datumCode != "WGS84" && !dest.datum_params) || (dest.srsProjNumber == "900913" && source.datumCode != "WGS84" && !source.datum_params)) { var wgs84 = Proj4js.WGS84; this.transform(source, wgs84, point); source = wgs84; Loading Loading
lib/proj4js.js +2 −2 Original line number Diff line number Diff line Loading @@ -75,8 +75,8 @@ Proj4js = { } // Workaround for Spherical Mercator if ((source.srsProjNumber =="900913" && dest.datumCode != "WGS84") || (dest.srsProjNumber == "900913" && source.datumCode != "WGS84")) { if ((source.srsProjNumber =="900913" && dest.datumCode != "WGS84" && !dest.datum_params) || (dest.srsProjNumber == "900913" && source.datumCode != "WGS84" && !source.datum_params)) { var wgs84 = Proj4js.WGS84; this.transform(source, wgs84, point); source = wgs84; Loading