Distance.FromMiles(Double) 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.
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.