Udostępnij za pośrednictwem


MapRouteLeg.BoundingBox Property

Definition

Gets the bounding box that contains the route leg.

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

Property Value

The bounding box that contains the route leg.

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