geojs 1.12.10 → 1.12.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/geo.js CHANGED
@@ -28099,7 +28099,7 @@ module.exports = _sceneObject;
28099
28099
  * @constant
28100
28100
  * @type {string}
28101
28101
  */
28102
- module.exports = "4353a25de740301aeb481c62d29e493abbbe7b9e";
28102
+ module.exports = "4aaa9a69bb5d4da14aa03fcdc6d92ff1d5f98a9e";
28103
28103
 
28104
28104
  /***/ }),
28105
28105
 
@@ -33773,13 +33773,13 @@ _transform.lookup = function (projection) {
33773
33773
  }
33774
33774
  code = parts[1];
33775
33775
  return $.ajax({
33776
- url: 'https://epsg.io/?q=' + code + '&format=json'
33776
+ url: 'https://epsg.io/' + encodeURIComponent(code) + '.proj4'
33777
33777
  }).done(function (data) {
33778
33778
  var result = (data.results || [])[0];
33779
- if (!result || !result.proj4) {
33779
+ if (!result) {
33780
33780
  return defer.reject(data).promise();
33781
33781
  }
33782
- proj4.defs(projection, result.proj4);
33782
+ proj4.defs(projection, result);
33783
33783
  return $.when(proj4.defs[projection]);
33784
33784
  });
33785
33785
  };
@@ -39972,7 +39972,7 @@ module.exports = _vectorFeature;
39972
39972
  * @constant
39973
39973
  * @type {string}
39974
39974
  */
39975
- module.exports = "1.12.10";
39975
+ module.exports = "1.12.11";
39976
39976
 
39977
39977
  /***/ }),
39978
39978
 
package/geo.lean.js CHANGED
@@ -25098,7 +25098,7 @@ module.exports = _sceneObject;
25098
25098
  * @constant
25099
25099
  * @type {string}
25100
25100
  */
25101
- module.exports = "4353a25de740301aeb481c62d29e493abbbe7b9e";
25101
+ module.exports = "4aaa9a69bb5d4da14aa03fcdc6d92ff1d5f98a9e";
25102
25102
 
25103
25103
  /***/ }),
25104
25104
 
@@ -30772,13 +30772,13 @@ _transform.lookup = function (projection) {
30772
30772
  }
30773
30773
  code = parts[1];
30774
30774
  return $.ajax({
30775
- url: 'https://epsg.io/?q=' + code + '&format=json'
30775
+ url: 'https://epsg.io/' + encodeURIComponent(code) + '.proj4'
30776
30776
  }).done(function (data) {
30777
30777
  var result = (data.results || [])[0];
30778
- if (!result || !result.proj4) {
30778
+ if (!result) {
30779
30779
  return defer.reject(data).promise();
30780
30780
  }
30781
- proj4.defs(projection, result.proj4);
30781
+ proj4.defs(projection, result);
30782
30782
  return $.when(proj4.defs[projection]);
30783
30783
  });
30784
30784
  };
@@ -36971,7 +36971,7 @@ module.exports = _vectorFeature;
36971
36971
  * @constant
36972
36972
  * @type {string}
36973
36973
  */
36974
- module.exports = "1.12.10";
36974
+ module.exports = "1.12.11";
36975
36975
 
36976
36976
  /***/ }),
36977
36977