Share via


Distance.FromKilometers(Double) Method

Definition

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.

Returns

Applies to