LocationRectangle.CreateBoundingRectangle Method (IEnumerable<(Of <(GeoCoordinate>)>))

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Creates a LocationRectangle that covers all the specified geographical coordinates.

Namespace:  Microsoft.Phone.Maps.Controls
Assembly:  Microsoft.Phone.Maps (in Microsoft.Phone.Maps.dll)

Syntax

Public Shared Function CreateBoundingRectangle ( _
    locations As IEnumerable(Of GeoCoordinate) _
) As LocationRectangle
public static LocationRectangle CreateBoundingRectangle(
    IEnumerable<GeoCoordinate> locations
)

Parameters

Return Value

Type: Microsoft.Phone.Maps.Controls..::.LocationRectangle
The LocationRectangle that was created with the specified geographical coordinates.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0

See Also

Reference

LocationRectangle Class

CreateBoundingRectangle Overload

Microsoft.Phone.Maps.Controls Namespace