LocationRectangle Constructor (GeoCoordinate, Double, Double)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Initializes a new instance of the LocationRectangle class with the specified Center, Width and Height.
Namespace: Microsoft.Phone.Maps.Controls
Assembly: Microsoft.Phone.Maps (in Microsoft.Phone.Maps.dll)
Syntax
Public Sub New ( _
center As GeoCoordinate, _
width As Double, _
height As Double _
)
public LocationRectangle(
GeoCoordinate center,
double width,
double height
)
Parameters
- center
Type: System.Device.Location..::.GeoCoordinate
The Center for the LocationRectangle.
- width
Type: System..::.Double
The Width to use for the LocationRectangle.
- height
Type: System..::.Double
The Height to use for the LocationRectangle.
Version Information
Windows Phone OS
Supported in: 8.1, 8.0