computeCenterTransform
computeCenterTransform(
point,size,current,limits,nextZoom?):ViewportTransform
Defined in: src/components/primitives/viewport/viewportMath.ts:56
Compute a transform that centers point (world coordinates) in the
viewport, optionally setting a new zoom.
Parameters
Section titled “Parameters”Point2D
current
Section titled “current”limits
Section titled “limits”ZoomLimits
nextZoom?
Section titled “nextZoom?”number