Distance.FromKilometers(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 kilometers.
public static Xamarin.Forms.Maps.Distance FromKilometers (double kilometers);
static member FromKilometers : double -> Xamarin.Forms.Maps.Distance
Parameters
- kilometers
- System.Double
A double value representing the distance, in kilometers, for the Distance to create.