visualization-tools

Home > @visualization-tools/cartesian-2d > ICartesian2dPlotRange > updateBounds

ICartesian2dPlotRange.updateBounds() method

Signature:

updateBounds(bounds: IReadonlyRange2d<TArray>, maxZoom: number): void;

Parameters

Parameter Type Description
bounds IReadonlyRange2d<TArray> Defines the max extent of the plot, will be modified.
maxZoom number The max bounds will be divided by this value to determine the maximum zoom.

Returns:

void