MapRoute.BoundingBox Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.