We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c227d15 commit ebdfdadCopy full SHA for ebdfdad
src/plots/geo/geo.js
@@ -89,7 +89,7 @@ proto.plot = function(geoCalcData, fullLayout, promises) {
89
var mouse = d3.mouse(this),
90
lonlat = _this.projection.invert(mouse);
91
92
- if(isNaN(lonlat[0]) || isNaN(lonlat[1])) return;
+ if(!lonlat || isNaN(lonlat[0]) || isNaN(lonlat[1])) return;
93
94
var evt = {
95
target: true,
0 commit comments