Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Oct 6, 2022. It is now read-only.

Commit 67d3b72

Browse files
committed
(cleanup) use _isClipped in getProjection
1 parent 6da8292 commit 67d3b72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plots/geo/geo2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ function getProjection(geoLayout) {
512512

513513
var projection = d3.geo[constants.projNames[projType]]();
514514

515-
var clipAngle = constants.lonaxisSpan[projType] ?
515+
var clipAngle = geoLayout._isClipped ?
516516
constants.lonaxisSpan[projType] / 2 :
517517
null;
518518

0 commit comments

Comments
 (0)