globe.gl 2.39.0 → 2.39.1

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/dist/globe.gl.js CHANGED
@@ -1,4 +1,4 @@
1
- // Version 2.39.0 globe.gl - https://github.com/vasturiano/globe.gl
1
+ // Version 2.39.1 globe.gl - https://github.com/vasturiano/globe.gl
2
2
  (function (global, factory) {
3
3
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
4
4
  typeof define === 'function' && define.amd ? define(factory) :
@@ -135217,7 +135217,14 @@ var<${access}> ${name} : ${structName};`;
135217
135217
  var isBackground = function isBackground(o) {
135218
135218
  return !o;
135219
135219
  }; // || o.__globeObjType === 'globe' || o.__globeObjType === 'atmosphere';
135220
- return isBackground(aObj) - isBackground(bObj);
135220
+
135221
+ // Ignore merged geometry objects that don't have interaction per point
135222
+ var isMergedGeometries = function isMergedGeometries(o) {
135223
+ return o && ['points', 'hexBinPoints'].some(function (t) {
135224
+ return t === o.__globeObjType;
135225
+ }) && Array.isArray(o.__data);
135226
+ };
135227
+ return isBackground(aObj) - isBackground(bObj) || isMergedGeometries(aObj) - isMergedGeometries(bObj);
135221
135228
  }).tooltipContent(function (obj, intersection) {
135222
135229
  var objAccessors = {
135223
135230
  point: state.pointLabel,