in src/ZoomContainer.js [200:229]
_updateZoomProps(props) {
let propsToUse = props;
if (!propsToUse) propsToUse = this.props;
const {
extent,
scaleExtent,
translateExtent,
clickDistance,
duration,
interpolate,
constrain,
filter,
touchable,
wheelDelta,
} = propsToUse;
if (Array.isArray(extent)) this.zoom.extent(extent);
if (Array.isArray(scaleExtent)) this.zoom.scaleExtent(scaleExtent);
if (Array.isArray(translateExtent))
this.zoom.translateExtent(translateExtent);
if (clickDistance !== null && isFinite(clickDistance))
this.zoom.clickDistance(clickDistance);
if (duration !== null && isFinite(duration)) this.zoom.duration(duration);
if (isFunction(interpolate)) this.zoom.interpolate(interpolate);
if (isFunction(constrain)) this.zoom.constrain(constrain);
if (isFunction(filter)) this.zoom.filter(filter);
if (isFunction(touchable)) this.zoom.touchable(touchable);
if (isFunction(wheelDelta)) this.zoom.wheelDelta(wheelDelta);
}