This topic has not yet been rated - Rate this topic

LocationRectangle.CreateBoundingRectangle Method (GeoCoordinate[])

April 12, 2014

Creates a LocationRectangle that covers all the specified geographical coordinates.

Namespace:  Microsoft.Phone.Maps.Controls
Assembly:  Microsoft.Phone.Maps (in Microsoft.Phone.Maps.dll)
public static LocationRectangle CreateBoundingRectangle(
	params GeoCoordinate[] locations


Type: System.Device.Location.GeoCoordinate []
The coordinates for the LocationRectangle.

Return Value

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

Windows Phone OS

Supported in: 8.1, 8.0

© 2014 Microsoft. All rights reserved.