8000
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 353a88d commit 00232afCopy full SHA for 00232af
src/plots/geo/geo.js
@@ -625,6 +625,8 @@ proto._render = function() {
625
var k;
626
627
function translatePoints(d) {
628
+ if(!d.lonlat) return null;
629
+
630
var lonlatPx = projection(d.lonlat);
631
return lonlatPx ?
632
strTranslate(lonlatPx[0], lonlatPx[1]) :
@@ -685,6 +687,8 @@ function getProjection(geoLayout) {
685
687
}
686
688
689
projection.isLonLatOverEdges = function(lonlat) {
690
+ if(!lonlat) return false;
691
692
if(projection(lonlat) === null) {
693
return true;
694
0 commit comments