combineExtents static method
Returns an Envelope representing the minimum extent that encloses both geometry1 and geometry2.
Supports true curves.
Parameters:
geometry1— A geometry object.geometry2— Another geometry object.
Return Value: The maximum extent of the two given geometries.