Function: transformBounds()
transformBounds(
project,left,bottom,right,top,options?):Bounds
Defined in: transform-bounds.ts:19
Transform boundary densifying the edges to account for nonlinear transformations along these edges and extracting the outermost bounds.
Parameters
project
function that maps (x, y) in source CRS to (x, y) in target CRS
left
number
min X in source CRS
bottom
number
min Y in source CRS
right
number
max X in source CRS
top
number
max Y in source CRS
options?
densifyPts?
number
number of intermediate points along each edge (default 21)
Returns
[minX, minY, maxX, maxY] in the target CRS