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 cc1c2b0 commit 341963eCopy full SHA for 341963e
src/plots/geo/geo.js
@@ -506,7 +506,11 @@ proto.updateFx = function(fullLayout, geoLayout) {
506
}
507
508
bgRect.on('mousemove', function() {
509
- var lonlat = _this.projection.invert(d3.mouse(this));
+ var d3EventPosition = [
510
+ d3.event.offsetX,
511
+ d3.event.offsetY,
512
+ ];
513
+ var lonlat = _this.projection.invert(d3EventPosition);
514
515
if(!lonlat || isNaN(lonlat[0]) || isNaN(lonlat[1])) {
516
return dragElement.unhover(gd, d3.event);
0 commit comments