MapSpan.FromCenterAndRadius(Location, Distance) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new MapSpan from a center location and radius.
public:
static Microsoft::Maui::Maps::MapSpan ^ FromCenterAndRadius(Microsoft::Maui::Devices::Sensors::Location ^ center, Microsoft::Maui::Maps::Distance radius);
public static Microsoft.Maui.Maps.MapSpan FromCenterAndRadius(Microsoft.Maui.Devices.Sensors.Location center, Microsoft.Maui.Maps.Distance radius);
static member FromCenterAndRadius : Microsoft.Maui.Devices.Sensors.Location * Microsoft.Maui.Maps.Distance -> Microsoft.Maui.Maps.MapSpan
Public Shared Function FromCenterAndRadius (center As Location, radius As Distance) As MapSpan
Parameters
- center
- Location
The center location of the span.
- radius
- Distance
The radius of the span.
Returns
A new MapSpan instance.