MCPcopy Index your code
hub / github.com/plotly/plotly.js / syncCb

Function syncCb

src/plots/geo/zoom.js:90–95  ·  view source on GitHub ↗
(set)

Source from the content-addressed store, hash-verified

88 }
89
90 function syncCb(set) {
91 var center = projection.invert(geo.midPt);
92
93 set('center.lon', center[0]);
94 set('center.lat', center[1]);
95 }
96
97 function handleZoomend() {
98 d3.select(this).style(zoomendStyle);

Callers

nothing calls this directly

Calls 1

setFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…