CreateBoundingRectangle Method (GeoCoordinate[])
Collapse the table of content
Expand the table of content

LocationRectangle.CreateBoundingRectangle Method (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)

public static LocationRectangle CreateBoundingRectangle(
	params GeoCoordinate[] locations
)

Parameters

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

Show:
© 2017 Microsoft