Share via


MapRoute.BoundingBox Property

Definition

Gets the bounding box that contains the route.

public:
 property GeoboundingBox ^ BoundingBox { GeoboundingBox ^ get(); };
GeoboundingBox BoundingBox();
public GeoboundingBox BoundingBox { get; }
var geoboundingBox = mapRoute.boundingBox;
Public ReadOnly Property BoundingBox As GeoboundingBox

Property Value

The bounding box that contains the route.

Remarks

If you want to display this bounding box in the MapControl, use one of the overloads of the TrySetViewAsync method that accepts a GeoboundingBox as input.

Applies to

See also