setViewpointGeometry method
Zooms and pans the map view to the extent of the provided geometry with additional padding.
Parameters:
boundingGeometry— The geometry to zoom to.paddingInDiPs— The minimum amount of padding around the bounding geometry in pixels.
Return Value: A Future.