Returns the bounding rectangle of the geometry.
Usage | Returns |
---|---|
LineString.bounds(maxError, proj) | Geometry |
Argument | Type | Details |
---|---|---|
this: geometry | Geometry | Return the bounding box of this geometry. |
maxError | ErrorMargin, default: null | The maximum amount of error tolerated when performing any necessary reprojection. |
proj | Projection, default: null | If specified, the result will be in this projection. Otherwise it will be in WGS84. |
Examples
JavaScript
// Your example goes here!
Python
# Your example goes here!