We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f958fca commit 353a88dCopy full SHA for 353a88d
src/traces/scattergeo/hover.js
@@ -20,7 +20,7 @@ module.exports = function hoverPoints(pointData, xval, yval) {
20
function distFn(d) {
21
var _lonlat = d.lonlat;
22
23
- if(_lonlat[0] === BADNUM) return Infinity;
+ if(!_lonlat || _lonlat[0] === BADNUM) return Infinity;
24
if(isLonLatOverEdges(_lonlat)) return Infinity;
25
26
var pt = project(_lonlat);
0 commit comments