geojs 1.10.13 → 1.10.14

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.lean.js CHANGED
@@ -17423,6 +17423,15 @@ var mapInteractor = function mapInteractor(args) {
17423
17423
  input: 'rotate',
17424
17424
  owner: 'geo.mapInteractor',
17425
17425
  name: 'touch zoom and rotate'
17426
+ }, {
17427
+ action: geo_action.pan,
17428
+ input: 'middle',
17429
+ modifiers: {
17430
+ shift: false,
17431
+ ctrl: false
17432
+ },
17433
+ owner: 'geo.mapInteractor',
17434
+ name: 'button pan'
17426
17435
  }],
17427
17436
  click: {
17428
17437
  enabled: true,
@@ -24894,7 +24903,7 @@ module.exports = sceneObject;
24894
24903
  * @constant
24895
24904
  * @type {string}
24896
24905
  */
24897
- module.exports = "3965f128094d5c5479272bde5f7e83479e925310";
24906
+ module.exports = "74bcf5a55546c18bebd75c1826a0fa8079e7b374";
24898
24907
 
24899
24908
  /***/ }),
24900
24909
 
@@ -36772,7 +36781,7 @@ module.exports = vectorFeature;
36772
36781
  * @constant
36773
36782
  * @type {string}
36774
36783
  */
36775
- module.exports = "1.10.13";
36784
+ module.exports = "1.10.14";
36776
36785
 
36777
36786
  /***/ }),
36778
36787
 
@@ -42600,9 +42609,7 @@ module.exports = function () {
42600
42609
  if (typeof globalThis === "object") {
42601
42610
  return globalThis;
42602
42611
  }
42603
-
42604
42612
  var g;
42605
-
42606
42613
  try {
42607
42614
  // This works if eval is allowed (see CSP)
42608
42615
  // eslint-disable-next-line no-new-func
@@ -42611,19 +42618,18 @@ module.exports = function () {
42611
42618
  // This works if the window reference is available
42612
42619
  if (typeof window === "object") {
42613
42620
  return window;
42614
- } // This works if the self reference is available
42615
-
42621
+ }
42616
42622
 
42623
+ // This works if the self reference is available
42617
42624
  if (typeof self === "object") {
42618
42625
  return self;
42619
- } // This works if the global reference is available
42620
-
42626
+ }
42621
42627
 
42628
+ // This works if the global reference is available
42622
42629
  if (typeof __webpack_require__.g !== "undefined") {
42623
42630
  return __webpack_require__.g;
42624
42631
  }
42625
42632
  }
42626
-
42627
42633
  return g;
42628
42634
  }();
42629
42635
 
@@ -74336,6 +74342,13 @@ Ellipsoid_exports.clrk80 = {
74336
74342
  ellipseName: "Clarke 1880 mod."
74337
74343
  };
74338
74344
 
74345
+ Ellipsoid_exports.clrk80ign = {
74346
+ a: 6378249.2,
74347
+ b: 6356515,
74348
+ rf: 293.4660213,
74349
+ ellipseName: "Clarke 1880 (IGN)"
74350
+ };
74351
+
74339
74352
  Ellipsoid_exports.clrk58 = {
74340
74353
  a: 6378293.645208759,
74341
74354
  rf: 294.2606763692654,
@@ -81814,24 +81827,19 @@ var update = _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js
81814
81827
 
81815
81828
 
81816
81829
  var stylesInDOM = [];
81817
-
81818
81830
  function getIndexByIdentifier(identifier) {
81819
81831
  var result = -1;
81820
-
81821
81832
  for (var i = 0; i < stylesInDOM.length; i++) {
81822
81833
  if (stylesInDOM[i].identifier === identifier) {
81823
81834
  result = i;
81824
81835
  break;
81825
81836
  }
81826
81837
  }
81827
-
81828
81838
  return result;
81829
81839
  }
81830
-
81831
81840
  function modulesToDom(list, options) {
81832
81841
  var idCountMap = {};
81833
81842
  var identifiers = [];
81834
-
81835
81843
  for (var i = 0; i < list.length; i++) {
81836
81844
  var item = list[i];
81837
81845
  var id = options.base ? item[0] + options.base : item[0];
@@ -81846,7 +81854,6 @@ function modulesToDom(list, options) {
81846
81854
  supports: item[4],
81847
81855
  layer: item[5]
81848
81856
  };
81849
-
81850
81857
  if (indexByIdentifier !== -1) {
81851
81858
  stylesInDOM[indexByIdentifier].references++;
81852
81859
  stylesInDOM[indexByIdentifier].updater(obj);
@@ -81859,59 +81866,45 @@ function modulesToDom(list, options) {
81859
81866
  references: 1
81860
81867
  });
81861
81868
  }
81862
-
81863
81869
  identifiers.push(identifier);
81864
81870
  }
81865
-
81866
81871
  return identifiers;
81867
81872
  }
81868
-
81869
81873
  function addElementStyle(obj, options) {
81870
81874
  var api = options.domAPI(options);
81871
81875
  api.update(obj);
81872
-
81873
81876
  var updater = function updater(newObj) {
81874
81877
  if (newObj) {
81875
81878
  if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {
81876
81879
  return;
81877
81880
  }
81878
-
81879
81881
  api.update(obj = newObj);
81880
81882
  } else {
81881
81883
  api.remove();
81882
81884
  }
81883
81885
  };
81884
-
81885
81886
  return updater;
81886
81887
  }
81887
-
81888
81888
  module.exports = function (list, options) {
81889
81889
  options = options || {};
81890
81890
  list = list || [];
81891
81891
  var lastIdentifiers = modulesToDom(list, options);
81892
81892
  return function update(newList) {
81893
81893
  newList = newList || [];
81894
-
81895
81894
  for (var i = 0; i < lastIdentifiers.length; i++) {
81896
81895
  var identifier = lastIdentifiers[i];
81897
81896
  var index = getIndexByIdentifier(identifier);
81898
81897
  stylesInDOM[index].references--;
81899
81898
  }
81900
-
81901
81899
  var newLastIdentifiers = modulesToDom(newList, options);
81902
-
81903
81900
  for (var _i = 0; _i < lastIdentifiers.length; _i++) {
81904
81901
  var _identifier = lastIdentifiers[_i];
81905
-
81906
81902
  var _index = getIndexByIdentifier(_identifier);
81907
-
81908
81903
  if (stylesInDOM[_index].references === 0) {
81909
81904
  stylesInDOM[_index].updater();
81910
-
81911
81905
  stylesInDOM.splice(_index, 1);
81912
81906
  }
81913
81907
  }
81914
-
81915
81908
  lastIdentifiers = newLastIdentifiers;
81916
81909
  };
81917
81910
  };
@@ -81925,12 +81918,13 @@ module.exports = function (list, options) {
81925
81918
 
81926
81919
 
81927
81920
  var memo = {};
81928
- /* istanbul ignore next */
81929
81921
 
81922
+ /* istanbul ignore next */
81930
81923
  function getTarget(target) {
81931
81924
  if (typeof memo[target] === "undefined") {
81932
- var styleTarget = document.querySelector(target); // Special case to return head of iframe instead of iframe itself
81925
+ var styleTarget = document.querySelector(target);
81933
81926
 
81927
+ // Special case to return head of iframe instead of iframe itself
81934
81928
  if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {
81935
81929
  try {
81936
81930
  // This will throw an exception if access to iframe is blocked
@@ -81941,25 +81935,19 @@ function getTarget(target) {
81941
81935
  styleTarget = null;
81942
81936
  }
81943
81937
  }
81944
-
81945
81938
  memo[target] = styleTarget;
81946
81939
  }
81947
-
81948
81940
  return memo[target];
81949
81941
  }
81950
- /* istanbul ignore next */
81951
-
81952
81942
 
81943
+ /* istanbul ignore next */
81953
81944
  function insertBySelector(insert, style) {
81954
81945
  var target = getTarget(insert);
81955
-
81956
81946
  if (!target) {
81957
81947
  throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");
81958
81948
  }
81959
-
81960
81949
  target.appendChild(style);
81961
81950
  }
81962
-
81963
81951
  module.exports = insertBySelector;
81964
81952
 
81965
81953
  /***/ }),
@@ -81977,7 +81965,6 @@ function insertStyleElement(options) {
81977
81965
  options.insert(element, options.options);
81978
81966
  return element;
81979
81967
  }
81980
-
81981
81968
  module.exports = insertStyleElement;
81982
81969
 
81983
81970
  /***/ }),
@@ -81991,12 +81978,10 @@ module.exports = insertStyleElement;
81991
81978
  /* istanbul ignore next */
81992
81979
  function setAttributesWithoutAttributes(styleElement) {
81993
81980
  var nonce = true ? __webpack_require__.nc : 0;
81994
-
81995
81981
  if (nonce) {
81996
81982
  styleElement.setAttribute("nonce", nonce);
81997
81983
  }
81998
81984
  }
81999
-
82000
81985
  module.exports = setAttributesWithoutAttributes;
82001
81986
 
82002
81987
  /***/ }),
@@ -82010,59 +81995,51 @@ module.exports = setAttributesWithoutAttributes;
82010
81995
  /* istanbul ignore next */
82011
81996
  function apply(styleElement, options, obj) {
82012
81997
  var css = "";
82013
-
82014
81998
  if (obj.supports) {
82015
81999
  css += "@supports (".concat(obj.supports, ") {");
82016
82000
  }
82017
-
82018
82001
  if (obj.media) {
82019
82002
  css += "@media ".concat(obj.media, " {");
82020
82003
  }
82021
-
82022
82004
  var needLayer = typeof obj.layer !== "undefined";
82023
-
82024
82005
  if (needLayer) {
82025
82006
  css += "@layer".concat(obj.layer.length > 0 ? " ".concat(obj.layer) : "", " {");
82026
82007
  }
82027
-
82028
82008
  css += obj.css;
82029
-
82030
82009
  if (needLayer) {
82031
82010
  css += "}";
82032
82011
  }
82033
-
82034
82012
  if (obj.media) {
82035
82013
  css += "}";
82036
82014
  }
82037
-
82038
82015
  if (obj.supports) {
82039
82016
  css += "}";
82040
82017
  }
82041
-
82042
82018
  var sourceMap = obj.sourceMap;
82043
-
82044
82019
  if (sourceMap && typeof btoa !== "undefined") {
82045
82020
  css += "\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), " */");
82046
- } // For old IE
82021
+ }
82047
82022
 
82023
+ // For old IE
82048
82024
  /* istanbul ignore if */
82049
-
82050
-
82051
82025
  options.styleTagTransform(css, styleElement, options.options);
82052
82026
  }
82053
-
82054
82027
  function removeStyleElement(styleElement) {
82055
82028
  // istanbul ignore if
82056
82029
  if (styleElement.parentNode === null) {
82057
82030
  return false;
82058
82031
  }
82059
-
82060
82032
  styleElement.parentNode.removeChild(styleElement);
82061
82033
  }
82062
- /* istanbul ignore next */
82063
-
82064
82034
 
82035
+ /* istanbul ignore next */
82065
82036
  function domAPI(options) {
82037
+ if (typeof document === "undefined") {
82038
+ return {
82039
+ update: function update() {},
82040
+ remove: function remove() {}
82041
+ };
82042
+ }
82066
82043
  var styleElement = options.insertStyleElement(options);
82067
82044
  return {
82068
82045
  update: function update(obj) {
@@ -82073,7 +82050,6 @@ function domAPI(options) {
82073
82050
  }
82074
82051
  };
82075
82052
  }
82076
-
82077
82053
  module.exports = domAPI;
82078
82054
 
82079
82055
  /***/ }),
@@ -82092,11 +82068,9 @@ function styleTagTransform(css, styleElement) {
82092
82068
  while (styleElement.firstChild) {
82093
82069
  styleElement.removeChild(styleElement.firstChild);
82094
82070
  }
82095
-
82096
82071
  styleElement.appendChild(document.createTextNode(css));
82097
82072
  }
82098
82073
  }
82099
-
82100
82074
  module.exports = styleTagTransform;
82101
82075
 
82102
82076
  /***/ }),