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 f4efddf

Browse files
committed
lint + TODO
1 parent 735caaf commit f4efddf

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/plots/geo/geo2.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,10 @@ proto.updateFx = function(fullLayout, geoLayout) {
340340
_this.updateProjection(fullLayout, view);
341341
_this.updateFx(fullLayout, geoLayout);
342342
_this.render();
343+
344+
// TODO call sync !!!
345+
//
346+
//
343347
}
344348

345349
function invert(lonlat) {

src/plots/geo/zoom.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ function zoomScoped(geo, projection) {
8383
}
8484

8585
function syncCb(set) {
86-
var bounds = geo.bounds;
8786
var center = projection.invert(geo.midPt);
8887

8988
set('center.lon', center[0]);
@@ -163,7 +162,6 @@ function zoomNonClipped(geo, projection) {
163162

164163
function syncCb(set) {
165164
var rotate = projection.rotate();
166-
var bounds = geo.bounds;
167165
var center = projection.invert(geo.midPt);
168166

169167
set('projection.rotation.lon', -rotate[0]);

0 commit comments

Comments
 (0)