Share via


Distance.FromMiles(Double) Method

Definition

Factory method to create a Distance from a value provided in miles.

public static Xamarin.Forms.Maps.Distance FromMiles (double miles);
static member FromMiles : double -> Xamarin.Forms.Maps.Distance

Parameters

miles
System.Double

A double value representing the distance, in miles, for the Distance to create.

Returns

Applies to