MCPcopy Create free account
hub / github.com/facebook/Rapid / transformEase

Method transformEase

modules/core/MapSystem.js:823–823  ·  view source on GitHub ↗
(t2, duration = 250)

Source from the content-addressed store, hash-verified

821
822 // convenience methods for the above, but with easing
823 transformEase(t2, duration = 250) { return this.transform(t2, duration); }
824 centerZoomEase(loc2, z2, duration = 250) { return this.setMapParams(loc2, z2, undefined, duration); }
825 centerEase(loc2, duration = 250) { return this.setMapParams(loc2, undefined, undefined, duration); }
826 zoomEase(z2, duration = 250) { return this.setMapParams(undefined, z2, undefined, duration); }

Callers 5

initAsyncMethod · 0.95
_keydownMethod · 0.80
_clickMethod · 0.80
zoomToMethod · 0.80
resetBearingMethod · 0.80

Calls 1

transformMethod · 0.95

Tested by

no test coverage detected