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 00232af commit e569d43Copy full SHA for e569d43
src/components/drawing/index.js
@@ -1775,6 +1775,7 @@ function getMarkerAngle(d, trace) {
1775
}
1776
1777
if(trace._geo) {
1778
+ if(!d.latlon) return null;
1779
var lon = d.lonlat[0];
1780
var lat = d.lonlat[1];
1781
src/plots/geo/geo.js
@@ -553,6 +553,7 @@ proto.makeFramework = function() {
553
554
// sane lonlat to px
555
_this.project = function(v) {
556
+ if(!v) return [null, null];
557
var px = _this.projection(v);
558
return px ?
559
[px[0] - _this.xaxis._offset, px[1] - _this.yaxis._offset] :
0 commit comments