LocationRectangle.CreateBoundingRectangle Method (IEnumerable<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.
Assembly: Microsoft.Phone.Maps (in Microsoft.Phone.Maps.dll)
public static LocationRectangle CreateBoundingRectangle( IEnumerable<GeoCoordinate> locations )
Parameters
- locations
- Type: System.Collections.Generic.IEnumerable<GeoCoordinate>
The list of coordinates for the LocationRectangle.
Return Value
Type: Microsoft.Phone.Maps.Controls.LocationRectangleThe LocationRectangle that was created with the specified geographical coordinates.
Show: